aboutsummaryrefslogtreecommitdiffstats
path: root/source/lang
Commit message (Collapse)AuthorAgeFilesLines
* Rewrote Print class.Marti Bolivar2011-02-242-22/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | The old Print class couldn't print uint64 values, and featured hand-hacked functionality better handled by snprintf(). Redid it using snprintf(), using "[u]int[8,16,32,64]" types for more clarity, and eliminated some private methods in favor of auxiliary functions in Print.cpp. Breaking compatibility with original implementation in three ways: - Print::print(double) is now accurate to 6 digits, rather than 2; this is consistent with the default behavior of the %f format specifier, and if you're using floating point, it's slow enough that you probably want the increased accuracy. - The only bases you can print a number to are 2, 8, 10, and 16. 8, 10, and 16 already have format specifiers, and 2 is an important special case; others complicate matters unnecessarily. - Printing numbers in bases other than 10 treats them as unsigned quantities (i.e., won't print '-' characters). This is more consistent with C++'s behavior for hexadecimal and octal literals (e.g., 0xFFFFFFFF has type uint32). Updated HardwareSerial and USBSerial class documentation to reflect the new behavior.
* docs fixesMarti Bolivar2011-02-162-8/+23
|
* Fixed docs bug where we say "long" when we mean "long long"Marti Bolivar2011-02-0920-148/+161
|
* Documentation bugfixesMarti Bolivar2011-02-083-21/+39
|
* removed flush() from SerialUSB docs.Marti Bolivar2010-12-211-6/+0
|
* Finalized 0.0.9 documentation.Marti Bolivar2010-12-1520-199/+789
|
* cleaning up previous commits.Marti Bolivar2010-12-0390-6714/+0
| | | | | | note that addition of new files under docs/source/lang/api and docs/source/lang/cpp which were just copies of files in docs/source/lang/ imply that change history is lost to git.
* docs, now with styleHanna Mendes Levitin2010-12-0192-0/+6738
|
* New documentation content is done. Next step is to theme.Marti Bolivar2010-11-294-15/+23
|
* Finished converting the Arduino docsMarti Bolivar2010-11-2987-1148/+1534
|
* reorganized all the arduino/ docs into a lang/ subdirectory sinceMarti Bolivar2010-11-28100-0/+6891
they're properly CC attributed now.