Matthijs Kooijman
7fd6244621
Enable C11 support
...
This uses the gnu11 standard, which is C11 with GNU extensions.
Previously, gnu89 was being used, which is pretty ancient by now. C99
brings some important improvements, some of which were already available
and used even without this option. C11 is more recent and brings more
minor improvements. Most notable feature is the static_assert statement,
allowing checking invariants at compiletime using the full C
expressions.
2015-07-16 13:06:10 +02:00
Matthijs Kooijman
ebeb7843d2
Check for __cplusplus >= 201103L as well as __GXX_EXPERIMENTAL_CXX0X__
...
Gcc 4.8 defines __cplusplus as 201103L, so we can check for that now. It
still also defines __GXX_EXPERIMENTAL_CXX0X__, but this could help on
other compilers, or if gcc ever decides to stop defining the
experimental macro.
2015-07-16 13:06:10 +02:00
Matthijs Kooijman
ddf4d878fd
Enable C++11 support
...
This uses the gnu++11 standard, which is C++11 with GNU extensions.
C++11 should be full compatible with the previously used C++98
standards, so all pre-existing sketches should continue to work.
2015-07-16 13:06:09 +02:00
Matthijs Kooijman
770a695c85
Explicitely specify C and C++ standards to use
...
This does not change anything, it just makes the defaults explicit.
2015-07-16 13:06:09 +02:00
Cristian Maglie
c28e6b20c4
WiFi lib version bump to 1.2.5
2015-07-14 23:40:40 +02:00
Cristian Maglie
6e9e514a2d
Ethernet lib version bump to 1.1.0
2015-07-14 23:39:03 +02:00
Martyn Ranyard
94af627772
Bootloaders: wrong #ifdefs, should be defined() not just tested (i.e. noteq 0)
...
Close #126
2015-07-14 16:16:31 +02:00
Cristian Maglie
94fcb02e0f
Removed typos in EthernetClient.cpp
2015-07-14 15:56:48 +02:00
Alasdair Allan
e5805926d0
Added Multicast UDP support
...
Fix #1531
2015-07-14 15:56:25 +02:00
Martyn Ranyard
59b5311cdf
Bootloaders: adds support for 328-nonp chips
2015-07-14 12:55:22 +02:00
Martyn Ranyard
3831c9c519
-O2 in new avr-gcc makes too big a bootloader to fit on 328(and 328p)
2015-07-14 12:37:36 +02:00
Martyn Ranyard
8f5ca0a943
Fixed EEPE flag check.
...
Here, using the flag itself makes the bootloader build where it currently does not for the 328 amongst others
2015-07-14 12:28:13 +02:00
Cristian Maglie
da243c9e09
Merge branch 'PR_18Wifi' of https://github.com/facchinm/Arduino
2015-07-14 10:16:55 +02:00
Cristian Maglie
a33c93b194
Ethernet: fixed wrong handling of timeouts in DHCP
...
The signed math doesn't handle correctly cases where the lease
time is set to infinity (0xFFFFFFFF).
Fixes #2571
Fixes #2601
Fixes #2642
Fixes #985
2015-07-14 09:57:01 +02:00
Cristian Maglie
50dff341f2
Ethernet: fix calculation of T2 in DHCP
2015-07-14 09:57:01 +02:00
Cristian Maglie
2b089e6b58
Ehternet: removed useless _lastCheck field in DHCP
...
it seems that _lastCheck, besides the name, was simply used as flag
to detect if _secTimeout is initialized. Now the check is removed
and _secTimeout is initalized in the proper place.
2015-07-14 09:57:01 +02:00
Federico Fissore
ce595ce818
Updating translations
2015-07-10 12:31:43 +02:00
Martino Facchin
1fb0f84c46
WiFi: move init from constructor to method
...
Zero SPI library is not responding correctly when invoked before main()
AVR compatibility ok
fixes arduino/ArduinoCore-samd#18
2015-07-10 12:05:55 +02:00
Martino Facchin
27bc345ff8
Merge pull request #3490 from facchinm/PR3123
...
Merging PR3123
2015-07-09 13:45:19 +00:00
Martino Facchin
e75d029c81
Ethernet: add getSocketNumber to keywords
2015-07-09 15:42:45 +02:00
Aberto Panu
c5f0815f27
Add EthernetClient getSocketNumber() function
2015-07-09 15:42:26 +02:00
Federico Fissore
5d388e1646
Cleanup and java8 goodness
2015-07-09 15:20:38 +02:00
Federico Fissore
43f33d8220
Tools marked as installed but missing (as when you want to use a system installed avr-gcc) sets to "" the final build preference. Fixes #3074
2015-07-09 15:16:19 +02:00
Martino Facchin
2f3914eb97
LiquidCrystal: bumb version to 1.0.3
...
fix compatibility with Galileo and Edison
2015-07-09 15:04:26 +02:00
Federico Fissore
8f4c08af86
Added missing conditionals in keywords.txt. Fixes #966
2015-07-09 13:13:22 +02:00
Federico Fissore
28e8eb41cc
Removed old app/format folder and its contents
2015-07-09 12:51:54 +02:00
Federico Fissore
2c05841588
EditorStatus rewritten: less shared state, shorter and cleaner code. Also fixes #666
2015-07-09 12:02:59 +02:00
Federico Fissore
444babdcb8
Merge pull request #3483 from sandeepmistry/issue-2911
...
Hide stack trace when the SerialUploader cannot find the selected board
2015-07-09 09:25:41 +02:00
Federico Fissore
0ec9431fc3
Merge pull request #3485 from Chris--A/fix_sketch_file_types
...
This adds 'hh' and 'hpp' as valid sketch files.
2015-07-09 09:17:55 +02:00
Chris--A
7f061ccb0c
This adds 'hh' and 'hpp' as valid sketch files.
...
For completeness a sketch should allow the same extensions as a
library. These missing sketch extensions have already been enabled for
libraries in #3186 .
2015-07-09 04:23:33 +10:00
Federico Fissore
a906f23287
Base: removed dead code
2015-07-08 17:44:57 +02:00
Federico Fissore
09e2fedf52
Commit a9d10e069d
may have caused issues when using IDE CLI
2015-07-08 17:35:24 +02:00
Federico Fissore
110a6e20d4
MacOSX: removed old Quaqua references
2015-07-08 17:21:24 +02:00
Federico Fissore
a9d10e069d
Editor: force setting text area content in event dispatcher thread
2015-07-08 16:43:58 +02:00
Federico Fissore
f61cbb48b0
Code cleanup
2015-07-08 16:22:28 +02:00
Federico Fissore
3cf1204833
Keywords: added preprocessor directives. Fixes #3480
2015-07-08 16:21:31 +02:00
Federico Fissore
0ad73ebed3
Boards manager, nightly core support: missing negation on String.empty() made check report an opposite result
2015-07-08 14:46:48 +02:00
Federico Fissore
03a66b1035
Applying code inspection suggestions
2015-07-08 14:46:44 +02:00
Federico Fissore
dae6e4fff7
Dropping Guava predicates in favour of java.util.function.Predicate
2015-07-08 14:20:25 +02:00
Federico Fissore
ad1062455d
Boards/Libs Manager: added Updatable filter. Shows Boards/Libs that can be updated
2015-07-08 12:43:25 +02:00
Federico Fissore
fe3fa56a15
Yun bootloader without blink
2015-07-07 17:15:42 +02:00
Federico Fissore
bf3fc880ac
Compiler: compiled sketch discovery was missing merged sketch
2015-07-07 17:15:39 +02:00
Federico Fissore
974fef1000
Serial plotter: added comment to ReadAnalogVoltage. See #3451
2015-07-07 09:04:00 +02:00
Federico Fissore
d9b3a86e84
Serial plotter: added comment to AnalogReadSerial. Fixes #3451
2015-07-06 15:27:07 +02:00
Federico Fissore
5e98cd8528
Examples: mass code format. See example_formatter.conf
2015-07-06 15:19:05 +02:00
Federico Fissore
1af21b2233
Fixed error when redoing/undoing auto format
2015-07-06 14:35:18 +02:00
Federico Fissore
0d857e7e20
libastyle update was wrong. here is right one
2015-07-06 13:31:15 +02:00
Federico Fissore
3158139e76
Updated revisions.txt
2015-07-06 12:48:06 +02:00
Federico Fissore
9f1b95dadd
Windows: IDE startup feels faster
2015-07-06 12:48:06 +02:00
Federico Fissore
9f50313038
Upgraded libastyle to 2.05.1
2015-07-06 12:48:06 +02:00