Federico Fissore
b6a4c8172f
Processing references removed in favour of Arduino
2014-10-08 18:36:25 +02:00
Federico Fissore
f60745485f
build.xml: tar autodetects archive type, removing "z" flag
2014-10-08 17:25:53 +02:00
Federico Fissore
f462191dba
build.xml: moved checksum into untar-unzip-checksum
2014-10-08 17:16:50 +02:00
Federico Fissore
00ecd5585d
build.xml: removed unzip-avr-toolchain and unzip-libastyle in favour of unzip
2014-10-08 17:10:47 +02:00
Federico Fissore
30d4c89ed3
build.xml: made untar-tool (and dependencies) easier to reuse
2014-10-08 15:50:32 +02:00
Federico Fissore
24be3773ea
build.xml: renamed unzip-tool to untar-tool
2014-10-08 14:22:34 +02:00
Federico Fissore
4b7eaf2ee7
build.xml: removed unzip-arm-toolchain
2014-10-08 14:10:54 +02:00
Cristian Maglie
d63350b506
Merge pull request #2345 from JChristensen/ephemeral
...
Change EthernetClient to use IANA recommended ephemeral port range
2014-10-08 13:08:09 +02:00
Federico Fissore
82b6e6e325
macosx: removing java.additional.jvmargs property used for proper tests execution
2014-10-07 13:46:51 +02:00
Federico Fissore
256e457dee
libastyle: updated zip
2014-10-07 13:28:57 +02:00
Federico Fissore
d757b67b9c
libastylej.zip now downloaded once for all archs and verified agains SHA checksum
2014-10-07 13:02:18 +02:00
Federico Fissore
70e4c35690
Upgrading to astyle 2.04: see changes at http://astyle.sourceforge.net/notes.html
2014-10-07 11:46:52 +02:00
JChristensen
c01172cd1b
Changed EthernetClient to use IANA recommended ephemeral port range, 49152-65535.
2014-10-05 22:41:39 -04:00
Federico Fissore
d002c3ee04
Fixed typos in MailboxReadMessage example
2014-10-02 15:32:18 +02:00
Cristian Maglie
3a1b7ea362
Merge branch 'master' into ide-1.5.x. Updated revision log.
...
Conflicts:
build/shared/examples/09.USB/Keyboard/KeyboardLogout/KeyboardLogout.ino
hardware/arduino/boards.txt
2014-10-01 13:59:32 +02:00
Cristian Maglie
3687289727
Merge pull request #2330 from spiritinlife/ide-1.5.x
...
Add #include "Print.h" in Server.h Ide 1.5.x
2014-10-01 13:29:29 +02:00
Cristian Maglie
ad0bedcbe3
Merge pull request #2329 from Unh0lyTigg/patch-1
...
Fix typo in KeyboardLogout.ino
2014-10-01 13:28:30 +02:00
Cristian Maglie
21939e6f89
[sam] Fixed compile error when using math functions
...
Fixes #2338
2014-09-30 17:34:25 +02:00
Federico Fissore
1b783fa48c
Formatter: cursor position is saved when invoking autoformat. Fixes #2293
2014-09-30 17:17:13 +02:00
George Chailazopoulos
2c289ace73
Add #include "Print.h" in Server.h
2014-09-26 22:59:02 +03:00
George Chailazopoulos
f5fe16bf2a
Add #include "Print.h" in Server.h
2014-09-26 22:58:19 +03:00
Robert Allen
d3f76e9558
Fix typo in KeyboardLogout.ino
...
Comment says ALT+s, code says ALT+l. This remedies that difference.
2014-09-26 12:51:10 -07:00
Cristian Maglie
170816181a
Merge pull request #2319 from cmaglie/ide-1.5.x-sam-portModeRegister
...
(Arduino Due/SAM) Removed macro digitalPinToTimer and added comment for portModeRegister
2014-09-26 13:24:41 +02:00
Fede85
f85a72847a
Ethernet: UdpNtpClient.ino now uses DNS to connect to the NTP server
2014-09-25 14:50:42 +02:00
Fede85
9a64c1bb1c
removed Xively and Cosm examples
2014-09-25 14:50:42 +02:00
Cristian Maglie
cd015f4c0b
Merge pull request #2316 from championswimmer/1.0.x-fixMaxMega
...
set correct max size for mega2560 (to address issue #2277 )
2014-09-23 11:43:59 +02:00
Cristian Maglie
974613a0a2
[sam] Fixed architecture specific macro digitalPinToTimer, added comment to uninplemented portModeRegister
...
Fix #1833
2014-09-22 00:38:02 +02:00
Arnav Gupta
4dd931a99a
set correct max size for mega2560 (to address issue #2277 )
...
Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
2014-09-21 17:10:06 +05:30
Cristian Maglie
0d86acc274
Update revision log
2014-09-20 19:47:29 +02:00
Arnav Gupta
15064ad96a
set correct max size for mega2560
...
Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
2014-09-20 03:09:54 +05:30
Cristian Maglie
7531a3571d
update revision log
2014-09-16 12:53:46 +02:00
Cristian Maglie
84518e442c
Fixed attribution rights for SAM delayMicroseconds function
2014-09-16 12:31:16 +02:00
Cristian Maglie
44bcd2040b
Merge branch 'master' into ide-1.5.x
...
Conflicts:
app/src/processing/app/Base.java
build/build.xml
todo.txt
2014-09-16 12:19:39 +02:00
Cristian Maglie
90bd172f30
Updated revision log. Version upped to 1.0.6.
2014-09-16 12:16:06 +02:00
Cristian Maglie
88b487f480
Removed todo.txt (leftover) and updated build.xml accordingly
2014-09-16 12:14:03 +02:00
Cristian Maglie
5f67650b80
Fixed trivial include error introduced in previous commit 2e3e539b... oops...
2014-09-12 16:58:05 +02:00
Cristian Maglie
8018a26e3d
Merge pull request #2299 from cmaglie/ide-1.5.x-spi-updates
...
Missing SPI Transaction API methods on Due (SAM3X)
2014-09-12 14:07:03 +02:00
Cristian Maglie
2e3e539b71
Added license to USBAPI.h
...
Close #1847
2014-09-12 12:27:39 +02:00
Cristian Maglie
69e37647a6
Ported #1397 to SAM.
2014-09-12 12:06:00 +02:00
Cristian Maglie
3d222cc372
Merge pull request #1937 from matthijskooijman/stringindex
...
String index fixes and cleanups
2014-09-12 11:56:12 +02:00
Cristian Maglie
6a5b82f062
[sam] Implementation of SPI multibyte transfer
2014-09-11 17:50:00 +02:00
Cristian Maglie
5f88564b2b
[sam] Simplified formula for SPI speed
2014-09-11 13:57:08 +02:00
Cristian Maglie
848dd39313
[sam] SPI library: added SPI_HAS_EXTENDED_CS_PIN_HANDLING flag
...
This allows to check if SPI provides extended API to allow automatic
CS pin handling.
2014-09-11 13:57:07 +02:00
Cristian Maglie
11cf45d6d6
Fix indent and small cosmetic changes
2014-09-10 18:22:02 +02:00
Matthijs Kooijman
04dba1e46f
Fix off-by-one in String::substring
...
When checking the `left` argument, it previously allowed having
left == len. However, this means the substring starts one past the last
character in the string and should return the empty string. In practice,
this already worked correctly, because buffer[len] contains the trailing
nul, so it would (re)assign the empty string to `out`.
However, fixing this check makes it a bit more logical, and prevents a
fairly unlikely out-of-buffer write (to address 0x0) when calling
substring on an invalidated String:
String bar = (char*)NULL;
bar.substring(0, 0);
2014-09-10 13:42:06 +02:00
Cristian Maglie
6f9674288b
Merge pull request #2279 from cmaglie/fix-leo-upload-osx10.9.4
...
Fix for upload problems on Arduino Leonardo (and derivatives) on OSX 10.9
2014-09-10 12:58:10 +02:00
Matthijs Kooijman
86015f441e
Simplify String::remove(unsigned int)
...
Previously, this method calculated the length of the string from the
given index onwards. However, the other remove() method called already
contains code for this calculation, which is used when the count passed
in is too big. This means we can just pass in a very big count that is
guaranteed to point past the end of the string, shrinking the remove
method by a few bytes.
2014-09-10 12:33:25 +02:00
Matthijs Kooijman
2068f88a21
Fix bounds check in String::remove()
...
Previously, if you passed in a very big index and/or count, the
`index + count` could overflow, making the count be used as-is instead
of being truncated (causing the string to be updated wrongly and
potentially writing to arbitrary memory locations).
We can rewrite the comparison to use `len - index` instead. Since we
know that index < len, we are sure this subtraction does not overflow,
regardless of what values of index and count we pass in.
As an added bonus, the `len - index` value already needed be calculated
inside the if, so this saves a few instructions in the generated code.
To illustrate this problem, consider this code:
String foo = "foo";
Serial.println(foo.length()); // Prints 3
foo.remove(1, 65535); // Should remove all but first character
Serial.println(foo.length()); // Prints 4 without this patch
Not shown in this is example is that some arbitrary memory is written
as well.
2014-09-10 12:33:25 +02:00
Matthijs Kooijman
2b90124e3d
Remove unneeded check in String::remove(unsigned int)
...
This check already happens in the remove(unsigned int, unsigned int)
method that is caled, so there is no need to also check this here.
2014-09-10 12:33:24 +02:00
Cristian Maglie
82e04ba325
Merge pull request #2284 from cmaglie/ide-1.5.x-cxx-abi-compat
...
Correct implementation of gcc specific internal functions (take 2)
2014-09-08 19:14:04 +02:00