Commit Graph

3960 Commits

Author SHA1 Message Date
Cristian Maglie 6ec9f5b23e Merge branch 'ide-1.5.x' of github.com:dpslwk/Arduino into dpslwk-ide-1.5.x 2014-11-07 18:07:38 +01:00
Cristian Maglie 52b685a7a5 Merge remote-tracking branch 'ide-1.5.x-avrdude' into ide-1.5.x 2014-11-05 19:49:53 +01:00
Cristian Maglie b0d6f42755 Merge branch 'ide-1.5.x-lcd' of github.com:matthijskooijman/Arduino 2014-11-05 17:28:30 +01:00
Cristian Maglie ca5e30a255 Fixed Robot_Control example R06_Wheel_Calibration
Fixes #2217
2014-11-05 15:18:50 +01:00
dpslwk b8623a4338 (Mac OSX) Improve Quick look and syntax highlighting under OSX
An exported UTI declaration means that the type is available for use by all other parties.
By adding an this declaration for ino files, it allows Quick Look to display file content and
external editors (like Xcode) to automatically syntax highlight .ino files as C++
2014-11-04 14:24:18 +00:00
Cristian Maglie b4f2af4f9d Merge remote-tracking branch 'ide-1.5.x-core.a-rebuild' into ide-1.5.x 2014-11-02 11:52:57 +01:00
Matthijs Kooijman b78339238d Don't recompile core.a if none of the .o files changed
Before, core.a would be rebuilt on every build, even when none of the
core .o files changed. Now, the timestamps are checked against the
timestamp on core.a first, skipping the build if nothing changed.

Because this uses the current list of .o files, there is a corner case
when a source file is deleted, but no other source file is modified. In
that case, core.a is not rebuilt, even though it should be. However,
this is such a narrow and unrealistic case, that it should pose a real
problem.

This fixes part of #1991
2014-10-31 17:48:29 +01:00
Cristian Maglie 841b26473b Merge pull request #2395 from cmaglie/fix-makedep-unescape
Fixed parsing of dependency files (.d) to improve sketch build speed
2014-10-31 16:18:08 +01:00
Matthijs Kooijman 87c87c2897 Delete core.a when building it fails
This prevents a half-finished core.a file from lingering around.
Currently, this should not make a difference since core.a is rebuilt
every time, but this prepares for skipping this build step if possible.
2014-10-31 15:43:42 +01:00
Matthijs Kooijman 57bdacc93c Remove core.a before rebuilding it
Before, the ar command was just ran for all .o files that should end up
in core.a, which should replace any old code in core.a. However, it
seems that in the unlikely event that functions or entire source files
are deleted, they might linger in the core.a file.
2014-10-31 15:43:07 +01:00
Cristian Maglie e76de57f6b Fixed parsing of dependency files (.d) to improve sketch build speed
Close #2255
2014-10-31 11:39:36 +01:00
Matthijs Kooijman cd9a9e3fd7 Reduce avrdude verbosity
Previously, when verbose uploads were enabled, avrdude was run with four
-v options, causing it to dump all raw bytes exchanged with the
bootloader. This floods the console so much that meaningful output
mostly disappears.

Most users probably want to enable verbose mode just to see what avrdude
command is ran. Furthermore, users that benefit from the raw bytes
dumped are perfectly capable of either running avrdude manually, or
modifying platform.txt. Given that, running avrdude with just one  -v
should be plenty.

This fixes #891.
2014-10-30 12:36:06 +01:00
Matthijs Kooijman d4ca6ce127 Allow setting a line timeout in MessageSiphon
Previously, the MessageSiphon class would read characters from an
InputStream and then push them to the passed MessageConsumer one line at
a time.

Now, you can specify a line timeout. Normally, messages are still
processed line by line, but if no line ending is received within the
specified timeout (counting from the first character in the line), then
the incomplete line is passed on as a message, without waiting for the
line ending.

This feature is used for the uploader command output. In particular,
this allows the avrdude progress bar to be shown in the IDE as expected,
character by character (previously, the entire progress bar would be
buffered, making it show up completely at the end of the upload).
2014-10-30 12:36:06 +01:00
Cristian Maglie b032f748f1 Ehternet: added packed attribute on DHCP message struct 2014-10-28 17:56:28 +01:00
Cristian Maglie 79fde3a636 Ethernet: fixed upcast of byte-pointer 2014-10-28 17:55:52 +01:00
Federico Fissore c1cca1fe54 build.xml: restored -z flag in tar creation 2014-10-24 14:42:28 +02:00
Cristian Maglie d1714a9fb8 [sam] Added -MMD flag to tell compiler to produce dependencies files
Now a full rebuild of the sketch is triggered only if needed.
2014-10-22 13:36:14 +02:00
Cristian Maglie 0824abfee5 Merge branch 'master' into ide-1.5.x
Conflicts:
	hardware/arduino/cores/arduino/HardwareSerial.cpp
	hardware/arduino/cores/robot/Arduino.h
2014-10-21 17:47:59 +02:00
Cristian Maglie 54a6d644b6 Updated revision log 2014-10-21 17:40:48 +02:00
Cristian Maglie 62cf4b6b55 Revert "Match return value to type in available()"
This reverts commit f40e471354.
Added an hint for the buffer sizes.

See #2057
Fixes #2367
2014-10-21 17:18:26 +02:00
Cristian Maglie 58b6fd4789 Fixed missing NOT_AN_INTERRUPT constant in digitalPinToInterrupt()
Fixes #2379
2014-10-21 16:55:37 +02:00
Federico Fissore 549e1d8469 Merge pull request #2360 from sngl/ide-1.5.x-TFT-PImage-close
Added close method to PImage
2014-10-13 15:15:52 +02:00
sngl 622d837e38 Added close method to PImage 2014-10-13 15:09:16 +02:00
Cristian Maglie 2a912bab62 Merge branch 'master' into ide-1.5.x
Conflicts:
	app/src/processing/app/Base.java
2014-10-10 00:14:22 +02:00
Cristian Maglie ed5ad426dd Upped version to 1.0.7. Update revision log. 2014-10-10 00:08:41 +02:00
Cristian Maglie afc368b01f GSM: Backported library from IDE 1.5.x
Fixes #2343
2014-10-10 00:02:18 +02:00
Cristian Maglie 35d616f050 Updated 'master' translations 2014-10-09 10:13:00 +02:00
Cristian Maglie bf6663bc9f Merge pull request #2348 from arduino/ide-1.5.x-build-xml-refactor
ant build.xml refactor
2014-10-09 09:31:33 +02:00
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