Cristian Maglie
550b6adcfc
Merged various bugfix / improvements to String class.
...
Merge branch 'master' into ide-1.5.x
2013-06-06 19:54:58 +02:00
Cristian Maglie
db286ac0c1
Added support for Flash string on String class.
2013-06-06 16:33:20 +02:00
Cristian Maglie
2719777a48
String class: removed deep copy on substring method.
...
Small code cleanup.
2013-06-06 16:33:20 +02:00
Tevin Zhang
c8a79d0d0c
add String.toFloat
2013-06-06 16:19:34 +02:00
Ryan Esteves
6bef2ada06
Added remove methods to WString
2013-06-05 14:08:59 -04:00
Cristian Maglie
eb40f35b2d
Added const modifier to String.c_str()
2013-05-06 18:10:29 +02:00
Cristian Maglie
8673113e43
Added c_str() method to String class.
2013-05-06 08:57:06 +02:00
Adam Dunlap
c40ab91c41
Fix issue 866
...
Fix issue 866 by adding a const qualifier to what the F macro casts to.
2012-08-16 20:59:33 -07:00
Zach Eveland
3524f2ff0b
Revert "Merge branch 'master' of github.com:arduino/Arduino into 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-10-27 11:45:13 -04:00
David A. Mellis
5e721df32a
Fixing warnings (David H. Lynch Jr).
2011-03-03 22:56:20 -05:00
David A. Mellis
4a90c4bd40
Redoing 448222e4b65e0cf44dfc0c494f7f76901f1fabea without all the extra files.
...
Adds toInt() to String, WCharacter.h (from Wiring), and an SD Datalogger example.
2010-11-29 15:20:30 -05:00
David A. Mellis
80c5173bfd
Revert "added toInt() function to WString".
...
This reverts commit 448222e4b65e0cf44dfc0c494f7f76901f1fabea.
2010-11-29 15:14:10 -05:00
Tom Igoe
15f51fc1f8
added toInt() function to WString
2010-11-29 11:31:00 -05:00
David A. Mellis
4bbd4f7448
Changing String::toCharArray() and getBytes() to accept a buffer, rather 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 10:23:54 +00:00
David A. Mellis
14831247bc
Adding some basic error checking to the String class (i.e. checking for a non-null buffer before modifying its contents).
2010-08-18 21:39:28 +00:00
David A. Mellis
fddeda1717
No longer requiring WProgram.h for Print / Stream classes (replaced Arduino-specific type names in String).
2010-08-06 01:23:19 +00:00
Tom Igoe
58f043e0f3
added more String examples
2010-07-27 22:59:18 +00:00
David A. Mellis
e871ae5236
Reverting changes to String class and modifying to allow + and += to work on more types.
2010-07-27 14:20:56 +00:00
Tom Igoe
8eea4576c4
removed append() from String library
2010-07-27 10:18:04 +00:00
Tom Igoe
58f5b67b71
checked in Xiaoyang Feng's changes to String library
2010-07-27 10:09:09 +00:00
Tom Igoe
82fefa76ac
Checked in Xiaoyang's changes to String library
2010-07-27 10:06:49 +00:00
David A. Mellis
2c32369685
Adding support for printing Strings to the Print class.
2010-07-04 23:22:34 +00:00
David A. Mellis
50bfce889e
Modifying String from new/delete to malloc()/free(). Also #include'ing WString.h from WProgram.h.
2010-07-04 16:36:52 +00:00
David A. Mellis
0c09741c72
Adding WString.h and WString.cpp straight from Wiring (r. 726). Won't actually work yet.
2010-07-04 16:27:23 +00:00