Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-20 | Removed extra whitespaces in WString.h | Cristian Maglie | |
2016-04-20 | Removed C++11 dependency for `begin()` and `end()` | Christopher Andrews | |
As I was not able to base the return types of `begin()` & `end()` off the c_str() function, I have changed the source so the features can be used by C++98 code, while still allowing ranged loops in C++11. | |||
2016-04-20 | Updated String library to use C++11 iterators. | Christopher Andrews | |
This will allow using the String library in a ranged for loop: ```C++ String s = "Hi, this is a test"; for( char c : s ) Serial.print( c ); ``` | |||
2015-07-16 | Check for __cplusplus >= 201103L as well as __GXX_EXPERIMENTAL_CXX0X__ | Matthijs Kooijman | |
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. | |||
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-08-20 | Removed unused flags from String (free 1 byte of SRAM) | Cristian Maglie | |
2013-06-21 | String: changed default to 2 decimal digits | 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-05-06 | Added const modifier to String.c_str() | Cristian Maglie | |
2013-05-06 | Added c_str() method to String class. | Cristian Maglie | |
2012-08-16 | Fix issue 866 | Adam Dunlap | |
Fix issue 866 by adding a const qualifier to what the F macro casts to. | |||
2011-10-27 | Revert "Merge branch 'master' of github.com:arduino/Arduino into ↵ | Zach Eveland | |
diskloader_reboot" This reverts commit df9835efafd13685251749bc210c0b96a18a96a5, reversing changes made to ec45af8bfa9222a807c075dd1db4b5aa798bba03. Conflicts: hardware/arduino/variants/mega/pins_arduino.h libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino | |||
2011-03-03 | Fixing warnings (David H. Lynch Jr). | David A. Mellis | |
2010-11-29 | Redoing 448222e4b65e0cf44dfc0c494f7f76901f1fabea without all the extra files. | David A. Mellis | |
Adds toInt() to String, WCharacter.h (from Wiring), and an SD Datalogger example. | |||
2010-11-29 | Revert "added toInt() function to WString". | David A. Mellis | |
This reverts commit 448222e4b65e0cf44dfc0c494f7f76901f1fabea. | |||
2010-11-29 | added toInt() function to WString | Tom Igoe | |
2010-08-28 | Changing String::toCharArray() and getBytes() to accept a buffer, rather ↵ | David A. Mellis | |
than return one. That way they don't expose the internal representation of the String class, allowing future optimization. Thanks to Paul Stoffregen. | |||
2010-08-18 | Adding some basic error checking to the String class (i.e. checking for a ↵ | David A. Mellis | |
non-null buffer before modifying its contents). | |||
2010-08-06 | No longer requiring WProgram.h for Print / Stream classes (replaced ↵ | David A. Mellis | |
Arduino-specific type names in String). | |||
2010-07-27 | added more String examples | Tom Igoe | |
2010-07-27 | Reverting changes to String class and modifying to allow + and += to work on ↵ | David A. Mellis | |
more types. | |||
2010-07-27 | removed append() from String library | Tom Igoe | |
2010-07-27 | checked in Xiaoyang Feng's changes to String library | Tom Igoe | |
2010-07-27 | Checked in Xiaoyang's changes to String library | Tom Igoe | |
2010-07-04 | Adding support for printing Strings to the Print class. | David A. Mellis | |
2010-07-04 | Modifying String from new/delete to malloc()/free(). Also #include'ing ↵ | David A. Mellis | |
WString.h from WProgram.h. | |||
2010-07-04 | Adding WString.h and WString.cpp straight from Wiring (r. 726). Won't ↵ | David A. Mellis | |
actually work yet. |