Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-15 | Make some operators in IPAddress const | Matthijs Kooijman | |
These functions do not modify the IPAddress object, but were not marked as const. This meant that you could not do: void set_ip(const IPAddress& ip) { uint32_t copy = ip; } Since calling operator uint32_t() on ip would discard the constness of the reference. | |||
2014-01-06 | Removed = char from #define. See ↵ | Federico Fissore | |
https://github.com/arduino/Arduino/issues/1792#issuecomment-31650586 | |||
2014-01-06 | Added new EULER constant. Fixes #1792 | Federico Fissore | |
2014-01-01 | Improved portability of String class (maniacbug) | Cristian Maglie | |
2013-12-31 | Merge branch 'cast' of github.com:Lauszus/Arduino into Lauszus-cast | Cristian Maglie | |
Conflicts: hardware/arduino/avr/cores/arduino/Print.cpp | |||
2013-12-31 | Use PGM_P instead of prog_char | Matthijs Kooijman | |
On later versions of avr-libc, prog_char is deprecated. In 0acebeeff48 the one occurence of prog_char was replaced by "char PROGMEM", which is not entirely correct (PROGMEM is supposed to be an attribute on a variable, not on a type, even though this is how things work in older libc versions). However, in 1130fede3a2 a few new occurences of prog_char are introduced, which break compilation on newer libc versions again. This commit changes all these pointer types to use the PGM_P macro from <avr/pgmspace.h>. This macro is just "const char *" in newer libc versions and "const prog_char *" in older versions, so it should always work. References #795 | |||
2013-12-27 | Use reinterpret_cast to cast __FlashStringHelper to const char* | Kristian Lauszus | |
2013-12-24 | Remove unneeded casts in Print::write(const String&) | Matthijs Kooijman | |
Now that Print::write(const char*) is also available, these casts are no longer needed. | |||
2013-12-24 | Add uint8_t* versions of methods in Stream | Matthijs Kooijman | |
The new functions just call their char* equivalents, but this allows reading bytes into a buffer of uint8_t as well as chars. | |||
2013-12-24 | Add Print::write(const char *, size_t) | Matthijs Kooijman | |
The new function just calls Print::write(const uint8_t *, size_t), but this allows writing out a buffer of chars (without having to learn about casts). | |||
2013-12-23 | Print.print optimization. Closes #1760 | Federico Fissore | |
2013-10-31 | Using NOT_AN_INTERRUPT defined constant | Cristian Maglie | |
2013-09-30 | Merge branch 'master' into ide-1.5.x | Cristian Maglie | |
2013-09-10 | Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discovery | Cristian Maglie | |
Conflicts: build/shared/revisions.txt | |||
2013-09-09 | Fixed HardwareSerial bug introduced in 1.5.3. | Cristian Maglie | |
Fixes #1568 | |||
2013-09-06 | Merge remote-tracking branch 'arduino/ide-1.5.x' into dev-ide-1.5.x-discovery | Federico Fissore | |
2013-09-03 | Fixed String class regression after f80c6c5f35cddcf4761a3c97feb8504425e9d27d | Cristian Maglie | |
This should make explicit String-from-integer constructor working again: int a = 10; String(a, 4); | |||
2013-09-02 | USB CDC two argument begin() | Paul Brook | |
Add two argument form of Serial_::begin Signed-off-by: Paul Brook <paul@nowt.org> | |||
2013-09-02 | USB serial baud arg type | Paul Brook | |
Make USB Serial_::begin() function take an unsigned long argument for consistency with HardwareSerial. Signed-off-by: Paul Brook <paul@nowt.org> | |||
2013-08-23 | Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discovery | Cristian Maglie | |
Conflicts: app/src/processing/app/Preferences.java app/src/processing/app/debug/Uploader.java | |||
2013-08-22 | Merged robot core | Cristian Maglie | |
2013-08-20 | Removed unused flags from String (free 1 byte of SRAM) | Cristian Maglie | |
2013-07-31 | Merge branch 'master' into ide-1.5.x | Cristian Maglie | |
2013-07-31 | Merge branch 'issue1366' of github.com:Lauszus/Arduino into Lauszus-issue1366 | Cristian Maglie | |
2013-07-30 | Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discovery | Cristian Maglie | |
Conflicts: hardware/arduino/avr/cores/arduino/USBCore.cpp | |||
2013-07-30 | Applied USB CDC updates to robot's core. | Cristian Maglie | |
2013-07-27 | Move buffers into USB CDC (look #947 and #1369 for reference) | Cristian Maglie | |
2013-07-26 | Applied HardwareSerial updates to robot's core. | Cristian Maglie | |
2013-07-26 | Fixed compile problem for Leonardo after ↵ | Cristian Maglie | |
0bd6a2d20fb9664255b20e0db11dd4586ebe9007 | |||
2013-07-26 | Make private members of HardwareSerial protected | Matthijs Kooijman | |
This allows users to create subclasses. Closes: #947 | |||
2013-07-26 | Move buffers into HardwareSerial | Matthijs Kooijman | |
This removes the need for doing an extra pointer dereference on every access to the buffers, shrinking the code by around 100 bytes. The members for these buffers must be public for now, since the interrupt handlers also need to access them. These can later be made private again. Furthermore, the struct ring_buffer was removed. This allows the all head and tail pointers to be put into the HardwareSerial struct before the actual buffers, so the pointers all end up in the first 32 bytes of the struct that can be accessed using a single instruction (ldd). References: #947 | |||
2013-07-26 | Use uint8_t for HardwareSerial ringbuffer pointers | Matthijs Kooijman | |
Since the buffers aren't bigger than 64 bytes, these values can be smaller. This saves a few bytes of ram, but also saves around 50 bytes of program space, since the values can now be loaded using a single instruction. To prevent problems when people manually increase the buffer size, a compile-time check is added. Closes: #1078 | |||
2013-07-17 | Remove hardcoded product names (all provided for in boards.txt) | Angus Gratton | |
2013-07-17 | Fix whitespace (tabify), oops | Angus Gratton | |
2013-07-17 | Allow USB product and manufacturer strings to be supplied in boards.txt | Angus Gratton | |
2013-07-04 | Refactored YunClient and YunServer classes. | Cristian Maglie | |
Added YunClient.connect() methods. | |||
2013-06-28 | Merge remote-tracking branch 'arduino/ide-1.5.x' into dev-ide-1.5.x-discovery | Federico Fissore | |
2013-06-28 | String: fixed number of whitespaces in concat() methods | Cristian Maglie | |
2013-06-25 | Merge remote-tracking branch 'arduino/ide-1.5.x' into ide-1.5.x-discovery | Federico Fissore | |
2013-06-21 | String: changed default to 2 decimal digits | Cristian Maglie | |
2013-06-07 | Merge branch 'ide-1.5.x' into ide-1.5.x-discovery | Cristian Maglie | |
2013-06-06 | Fixed buffer overflow on String class (Paul Stoffregen) | Cristian Maglie | |
2013-06-06 | Merged various bugfix / improvements to String class. | Cristian Maglie | |
Merge branch 'master' into ide-1.5.x | |||
2013-06-06 | Added support for Flash string on String class. | Cristian Maglie | |
2013-06-06 | String class: removed deep copy on substring method. | Cristian Maglie | |
Small code cleanup. | |||
2013-06-06 | add String.toFloat | Tevin Zhang | |
2013-06-05 | Added remove methods to WString | Ryan Esteves | |
2013-06-01 | Merge branch 'merge-1.0.5' into ide-1.5.x-discovery | Cristian Maglie | |
2013-05-29 | Merged 1.0.5 | Cristian Maglie | |
2013-05-23 | Etheris references renamed Yun without accent to avoid encoding issues | Federico Fissore | |