Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2012-01-02 | Fixing warnings (unsigned comparisons to 0). (maniacbug) | David A. Mellis | |
2011-10-25 | Bug fix in replace(). | David A. Mellis | |
http://code.google.com/p/arduino/issues/detail?id=694 | |||
2011-10-10 | Fixing more warnings (Paul Stoffregen). | David A. Mellis | |
2011-03-31 | Restoring concatenation of built-in types with String. | David A. Mellis | |
2011-03-26 | String: removing implicit numeric conversions and new approach to "if (s)". | David A. Mellis | |
This makes explicit the String constructors that take numeric types and chars and removes the versions of concat() and operator=() and operator+() that accept numberic types. It also replaces the operator bool() with a operator that converts to a function pointer. This allows for uses like "if (s)" but not "s + 123". See: http://www.artima.com/cppsource/safebool.html. This allowed removing the disambiguating operator+() functions and relying solely on StringSumHelper and anonymous temporaries once again. Also, now treating unsigned char's like int when constructing Strings from them, i.e. String(byte(65)) is now "65" not "A". This is consistent with the new behavior of Serial.print(byte). | |||
2011-03-19 | Return an invalid string (not a partial one) when operator+() fails. | David A. Mellis | |
2011-03-18 | Starting to distinguish between empty strings and invalid (null) ones. | David A. Mellis | |
2011-03-13 | Moving move() to __GXX_EXPERIMENTAL_CXX0X__ only, adding operator bool(). | David A. Mellis | |
2011-03-12 | Modifying String.concat() to return success or failure, not this. | David A. Mellis | |
Which means you can't chain multiple concat() calls together, but you can check if they succeeded or not. | |||
2011-03-11 | Don't return the string when modifying its value. | David A. Mellis | |
Changing toLowerCase(), toUpperCase(), trim() and replace() to return void instead of a reference to the string that's just been changed. That way, it's clear that the functions modify the string they've been called on. | |||
2011-03-11 | Renaming append() back to concat(). | David A. Mellis | |
2011-03-11 | Removing F("string") syntax for now. | David A. Mellis | |
We should probably add something like this back in later, but I want to do one thing at a time. This removes the __FlashStringHelper class as well. | |||
2011-03-11 | Rewrite of the String class by Paul Stoffregen. | David A. Mellis | |
http://www.pjrc.com/teensy/string_class_experimental.html | |||
2011-03-01 | Renamed WProgram.h to Arduino.h. | David A. Mellis | |
2010-12-11 | Changing String append to use realloc(); thanks to Paul Stoffregen. | David A. Mellis | |
http://code.google.com/p/arduino/issues/detail?id=332 | |||
2010-12-03 | Replacing custom String.toInt() function with a call to atol(). | 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-28 | Returning a reference to a dummy character for indices beyond the string ↵ | David A. Mellis | |
length (in operator[]). | |||
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-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-05 | whitespace. | 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. |