aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/WString.cpp
AgeCommit message (Collapse)Author
2011-03-12Modifying 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-11Don'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-11Renaming append() back to concat().David A. Mellis
2011-03-11Removing 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-11Rewrite of the String class by Paul Stoffregen.David A. Mellis
http://www.pjrc.com/teensy/string_class_experimental.html
2011-03-01Renamed WProgram.h to Arduino.h.David A. Mellis
2010-12-11Changing String append to use realloc(); thanks to Paul Stoffregen.David A. Mellis
http://code.google.com/p/arduino/issues/detail?id=332
2010-12-03Replacing custom String.toInt() function with a call to atol().David A. Mellis
2010-11-29Redoing 448222e4b65e0cf44dfc0c494f7f76901f1fabea without all the extra files.David A. Mellis
Adds toInt() to String, WCharacter.h (from Wiring), and an SD Datalogger example.
2010-11-29Revert "added toInt() function to WString".David A. Mellis
This reverts commit 448222e4b65e0cf44dfc0c494f7f76901f1fabea.
2010-11-29added toInt() function to WStringTom Igoe
2010-08-28Changing 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-28Returning a reference to a dummy character for indices beyond the string ↵David A. Mellis
length (in operator[]).
2010-08-18Adding 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-27Reverting changes to String class and modifying to allow + and += to work on ↵David A. Mellis
more types.
2010-07-27removed append() from String libraryTom Igoe
2010-07-27checked in Xiaoyang Feng's changes to String libraryTom Igoe
2010-07-27Checked in Xiaoyang's changes to String libraryTom Igoe
2010-07-05whitespace.David A. Mellis
2010-07-04Modifying String from new/delete to malloc()/free(). Also #include'ing ↵David A. Mellis
WString.h from WProgram.h.
2010-07-04Adding WString.h and WString.cpp straight from Wiring (r. 726). Won't ↵David A. Mellis
actually work yet.