aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
AgeCommit message (Collapse)Author
2013-12-27Use reinterpret_cast to cast __FlashStringHelper to const char*Kristian Lauszus
2013-12-24Remove unneeded casts in Print::write(const String&)Matthijs Kooijman
Now that Print::write(const char*) is also available, these casts are no longer needed.
2013-12-24Add uint8_t* versions of methods in StreamMatthijs Kooijman
The new functions just call their char* equivalents, but this allows reading bytes into a buffer of uint8_t as well as chars.
2013-12-24Add Print::write(const char *, size_t)Matthijs Kooijman
The new function just calls Print::write(const uint8_t *, size_t), but this allows writing out a buffer of chars (without having to learn about casts).
2013-12-23Print.print optimization. Closes #1760Federico Fissore
2013-12-06remove all Changes besides operator==ntruchsess
2013-11-27add localPort to EthernetClient, simplify operator==ntruchsess
2013-11-26add operator==, remoteIP and remotePort to EthernetClientntruchsess
2013-10-31Using NOT_AN_INTERRUPT defined constantCristian Maglie
2013-09-30Merge branch 'master' into ide-1.5.xCristian Maglie
2013-09-10Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discoveryCristian Maglie
Conflicts: build/shared/revisions.txt
2013-09-09Fixed HardwareSerial bug introduced in 1.5.3.Cristian Maglie
Fixes #1568
2013-09-06Merge remote-tracking branch 'arduino/ide-1.5.x' into dev-ide-1.5.x-discoveryFederico Fissore
2013-09-03Fixed String class regression after f80c6c5f35cddcf4761a3c97feb8504425e9d27dCristian Maglie
This should make explicit String-from-integer constructor working again: int a = 10; String(a, 4);
2013-09-02USB CDC two argument begin()Paul Brook
Add two argument form of Serial_::begin Signed-off-by: Paul Brook <paul@nowt.org>
2013-09-02USB serial baud arg typePaul Brook
Make USB Serial_::begin() function take an unsigned long argument for consistency with HardwareSerial. Signed-off-by: Paul Brook <paul@nowt.org>
2013-08-23Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discoveryCristian Maglie
Conflicts: app/src/processing/app/Preferences.java app/src/processing/app/debug/Uploader.java
2013-08-20Removed unused flags from String (free 1 byte of SRAM)Cristian Maglie
2013-07-31Merge branch 'master' into ide-1.5.xCristian Maglie
2013-07-31Merge branch 'issue1366' of github.com:Lauszus/Arduino into Lauszus-issue1366Cristian Maglie
2013-07-30Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discoveryCristian Maglie
Conflicts: hardware/arduino/avr/cores/arduino/USBCore.cpp
2013-07-27Move buffers into USB CDC (look #947 and #1369 for reference)Cristian Maglie
2013-07-26Fixed compile problem for Leonardo after ↵Cristian Maglie
0bd6a2d20fb9664255b20e0db11dd4586ebe9007
2013-07-26Make private members of HardwareSerial protectedMatthijs Kooijman
This allows users to create subclasses. Closes: #947
2013-07-26Move buffers into HardwareSerialMatthijs Kooijman
This removes the need for doing an extra pointer dereference on every access to the buffers, shrinking the code by around 100 bytes. The members for these buffers must be public for now, since the interrupt handlers also need to access them. These can later be made private again. Furthermore, the struct ring_buffer was removed. This allows the all head and tail pointers to be put into the HardwareSerial struct before the actual buffers, so the pointers all end up in the first 32 bytes of the struct that can be accessed using a single instruction (ldd). References: #947
2013-07-26Use uint8_t for HardwareSerial ringbuffer pointersMatthijs Kooijman
Since the buffers aren't bigger than 64 bytes, these values can be smaller. This saves a few bytes of ram, but also saves around 50 bytes of program space, since the values can now be loaded using a single instruction. To prevent problems when people manually increase the buffer size, a compile-time check is added. Closes: #1078
2013-07-17Remove hardcoded product names (all provided for in boards.txt)Angus Gratton
2013-07-17Fix whitespace (tabify), oopsAngus Gratton
2013-07-17Allow USB product and manufacturer strings to be supplied in boards.txtAngus Gratton
2013-07-04Refactored YunClient and YunServer classes.Cristian Maglie
Added YunClient.connect() methods.
2013-06-28Merge remote-tracking branch 'arduino/ide-1.5.x' into dev-ide-1.5.x-discoveryFederico Fissore
2013-06-28String: fixed number of whitespaces in concat() methodsCristian Maglie
2013-06-25Merge remote-tracking branch 'arduino/ide-1.5.x' into ide-1.5.x-discoveryFederico Fissore
2013-06-21String: changed default to 2 decimal digitsCristian Maglie
2013-06-07Merge branch 'ide-1.5.x' into ide-1.5.x-discoveryCristian Maglie
2013-06-06Fixed buffer overflow on String class (Paul Stoffregen)Cristian Maglie
2013-06-06Merged various bugfix / improvements to String class.Cristian Maglie
Merge branch 'master' into ide-1.5.x
2013-06-06Added support for Flash string on String class.Cristian Maglie
2013-06-06String class: removed deep copy on substring method.Cristian Maglie
Small code cleanup.
2013-06-06add String.toFloatTevin Zhang
2013-06-05Added remove methods to WStringRyan Esteves
2013-06-01Merge branch 'merge-1.0.5' into ide-1.5.x-discoveryCristian Maglie
2013-05-29Merged 1.0.5Cristian Maglie
2013-05-23Etheris references renamed Yun without accent to avoid encoding issuesFederico Fissore
2013-05-16right etheris valuesFederico Fissore
2013-05-13Added support to INT6 on Leonardo.Fede85
Fixes #988
2013-05-11Merged 1.0.5Cristian Maglie
Still missing: - updates to WiFi lib for sam. - updates to examples of Ehternet and WiFi for sam. Merge remote-tracking branch 'arduino/master' into ide-1.5.x Conflicts: app/src/processing/app/Base.java app/src/processing/app/Editor.java app/src/processing/app/helpers/FileUtils.java app/src/processing/app/i18n/Resources_fr.po app/src/processing/app/i18n/Resources_fr.properties build/shared/revisions.txt hardware/arduino/avr/libraries/Ethernet/examples/DnsWebClient/DnsWebClient.ino hardware/arduino/avr/libraries/WiFi/examples/WifiChatServer/WifiChatServer.ino hardware/arduino/avr/libraries/WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino hardware/arduino/avr/libraries/WiFi/examples/WifiPachubeClientString/WifiPachubeClientString.ino hardware/arduino/avr/libraries/WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino hardware/arduino/avr/libraries/WiFi/examples/WifiUdpSendReceiveString/WifiUdpSendReceiveString.ino hardware/arduino/avr/libraries/WiFi/examples/WifiWebClient/WifiWebClient.ino hardware/arduino/avr/libraries/WiFi/examples/WifiWebClientRepeating/WifiWebClientRepeating.ino hardware/arduino/avr/libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino libraries/WiFi/examples/WiFiChatServer/WiFiChatServer.ino libraries/WiFi/examples/WiFiPachubeClient/WiFiPachubeClient.ino libraries/WiFi/examples/WiFiPachubeClientString/WiFiPachubeClientString.ino libraries/WiFi/examples/WiFiTwitterClient/WiFiTwitterClient.ino libraries/WiFi/examples/WiFiUdpSendReceiveString/WiFiUdpSendReceiveString.ino libraries/WiFi/examples/WiFiWebClient/WiFiWebClient.ino libraries/WiFi/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino libraries/WiFi/examples/WiFiWebServer/WiFiWebServer.ino libraries/WiFi/examples/WifiChatServer/WifiChatServer.ino libraries/WiFi/examples/WifiPachubeClient/WifiPachubeClient.ino libraries/WiFi/examples/WifiPachubeClientString/WifiPachubeClientString.ino libraries/WiFi/examples/WifiTwitterClient/WifiTwitterClient.ino libraries/WiFi/examples/WifiUdpSendReceiveString/WifiUdpSendReceiveString.ino libraries/WiFi/examples/WifiWebClient/WifiWebClient.ino libraries/WiFi/examples/WifiWebClientRepeating/WifiWebClientRepeating.ino libraries/WiFi/examples/WifiWebServer/WifiWebServer.ino
2013-05-06Added const modifier to String.c_str()Cristian Maglie
2013-05-06Added c_str() method to String class.Cristian Maglie
2013-05-06Stream "_timeout" field and related methods are now protected instead of ↵Cristian Maglie
private. This allows better optimization on classes that extends Stream without losing timeout capabilities.