Commit Graph

759 Commits

Author SHA1 Message Date
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
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
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
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 0d86acc274 Update revision log 2014-09-20 19:47:29 +02:00
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 b50cfb9f06 Merge pull request #2260 from arduino/ide-1.5.x-autobuild-pr
Automatically build pull requests
2014-08-26 10:01:50 +02:00
Federico Fissore a62dcc2804 PR Autobuild: removed useless final echos 2014-08-25 18:19:05 +02:00
Federico Fissore b12e659c7c PR Autobuild: fixed artifact name 2014-08-25 18:18:03 +02:00
Federico Fissore a5ea0a9d01 Script used by the Jenkins Github Pull Request Builder plugin 2014-08-25 18:00:25 +02:00
Cristian Maglie ec1310e1bd Removed --no-op from CLI. Preferences now not-saved by default.
See https://github.com/arduino/Arduino/pull/2000 for details.

Close #2000
2014-08-22 15:39:33 +02:00
Matthijs Kooijman cc773fb1e0 Take into account --curdir for all relative paths
In a lot of places, (potentially) relative paths were passed to File
without any processing, making them be resolved without taking into
account --curdir. By passing them through Base.absoluteFile instead,
these paths are resolved relative to the working directory before
starting arduino (at least on Linux, which is currently the only
platform supporting --curdir).

This applies --curdir to the --preferences-file option and the
build.path, settings.path, sketchbook.path preferences.

For example, this now works as expected:

  arduino --pref build.path=build_dir --verify Blink.ino
2014-08-19 09:16:49 +02:00
Matthijs Kooijman e494f39255 Add --get-pref option
This allows reading specific preferences from the commandline.
2014-08-19 09:16:47 +02:00
Matthijs Kooijman f745fff50b Add --noop option
This option causes the IDE to process its commandline arguments and then
quit. This allows setting preferences uses --pref, without having to
also load the GUI or compile a sketch.
2014-08-19 09:16:47 +02:00
Matthijs Kooijman 4452eb3850 Add --no-save-prefs option
This allows setting preferences for the current run only, without
remembering them for the next run. This is especially useful when
combined with --verify or --upload.
2014-08-19 09:16:47 +02:00
Matthijs Kooijman e0c599d733 Error when passing --verbose without --verify or --upload
Since the handling of these options defaults to non-verbose (instead of
the current preference), they make no sense when starting the IDE
normally. Previously, these options would just be ignored in this case,
now an error is shown.
2014-08-19 09:16:47 +02:00
Matthijs Kooijman d3e2208c01 Process some commandline arguments earlier
Previously, the --board and --port arguments were stored in a variable
first and only processed later. Now, the arguments are processed right
away.

This does mean that the arguments are processed when the GUI is not yet
initialized, which caused problems with calling onBoardOrPortChange and
friends from selectBoard. However, since the GUI is not initialized,
there is no real reason to call them either - if we just set the
preferences to the right values, the GUI will be initialized correctly
later. For this reason, selectBoard no longer calls the GUI update
methods. Instead, those are called from the GUI code when the board is
changed through the menu instead (e.g., after calling selectBoard).

This commit slightly changes behaviour. Previously, --board and --port
only worked in combination with --verify and --upload, but were ignored
when just starting the IDE. Now, these are processed regardless of the
other options present.

Additionally, this commit causes all changed preferences to be saved.
Previously, only changes with --pref were saved, --board and --port
options were only active for the current run. This was caused because
the saving of the preferences happened as a side effect of loading the
file in the Editor, but only the --pref option was processed at that
time.

Note that the --verbose options are still only active for the current
run and are only valid combined with --verify or --upload (since they
default to non-verbose instead of the current preference).
2014-08-19 09:16:47 +02:00
Matthijs Kooijman 7301b37c7e Added history section to the manpage
This describes the versions where various options were introduced or
changed.
2014-08-19 09:16:46 +02:00
Matthijs Kooijman 26ac897598 Fix indentation in the manpage 2014-08-19 09:16:46 +02:00
Cristian Maglie 7f2350f714 Merge branch 'master' into ide-1.5.x 2014-08-08 15:44:41 +02:00
Christopher Andrews 1bbcb2f9d4 Added replacement stub for cstdlib atexit() funciton.
This is an empty stub to simply allow use of complex types with a
non global static lifetime. For more complex handling the function
'atexit' can be redefined in user code.

For more information see:

https://github.com/arduino/Arduino/pull/2229
https://github.com/arduino/Arduino/issues/1919
2014-08-08 15:38:57 +02:00
Cristian Maglie 60f8a897ed Updated revision log 2014-08-08 14:35:39 +02:00
Cristian Maglie 8ae1d36a00 Update revision log 2014-08-06 10:21:30 +02:00
Cristian Maglie 66c6d49325 Merge branch 'find-replace-fixes' into ide-1.5.x 2014-07-25 12:36:46 +02:00
Cristian Maglie 8131af93dd Fixed wrong return value in FileIO::size()
Fixes #2203
2014-07-24 12:19:13 +02:00
PaulStoffregen 33cec73f26 Add availableForWrite() to HardwareSerial 2014-07-18 07:01:26 -07:00
Cristian Maglie 5de6192dae Updated revision log 2014-07-06 01:41:54 +02:00
Cristian Maglie 807f509a6e Updated revision log 2014-07-04 18:25:17 +02:00
Cristian Maglie f346092818 Revert appbundler until we figure out how to support OSX 10.6 2014-07-04 14:06:57 +02:00
Cristian Maglie f9cdc5ea00 Update revision log 2014-07-02 16:10:07 +02:00
Cristian Maglie 1a7a921f14 Merge branch 'master' into HEAD
Conflicts:
	build/shared/examples/03.Analog/Smoothing/Smoothing.ino
2014-07-02 16:05:23 +02:00
Cristian Maglie faa08454cd Fixed Smoothing example
"index" variable name create conflicts with Arduino Due where "index" is
a reserved word for Posix C.
2014-07-02 15:44:26 +02:00
Cristian Maglie 5f1173e7e3 Update revision log 2014-07-02 15:04:33 +02:00
Fede85 8e48cef584 added support for the ArduinoISP 2014-07-02 15:03:12 +02:00
Cristian Maglie 2a71073c32 Re-enabled serial port detection on Windows
Fixes #1573
2014-07-02 13:20:16 +02:00
Cristian Maglie 81a5352811 Merge branch 'master' into ide-1.5.x 2014-07-01 19:07:55 +02:00
Cristian Maglie 494d3de97d Fixed permission on wifishield upgrade script. 2014-07-01 19:05:03 +02:00
Cristian Maglie c2c122b079 Merge branch 'master' into matthijskooijman-ide-1.5.x-timer-variant
Conflicts:
	app/src/processing/app/debug/Compiler.java
	hardware/arduino/sam/cores/arduino/main.cpp
2014-07-01 18:34:46 +02:00
Cristian Maglie 668559fc6f Updated revision log 2014-07-01 18:27:03 +02:00
Cristian Maglie 3332d28e54 Merge branch 'master' into ide-1.5.x 2014-06-30 18:26:56 +02:00
Cristian Maglie f73209728d Updated revision log 2014-06-30 18:24:42 +02:00
Cristian Maglie 9f46428505 Fixed checksum for gcc-arm-none-eabi-4.8.3-2014q1-windows.tar.gz 2014-06-27 16:56:18 +02:00