1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-03 14:24:15 +01:00
Commit Graph

736 Commits

Author SHA1 Message Date
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
Cristian Maglie
d52e75ff38 Merge branch 'osx-app-bundler' into ide-1.5.x
Conflicts:
	build/build.xml
2014-06-27 16:08:20 +02:00
Cristian Maglie
403c96f1cc Merge remote-tracking branch 'arduino/master' into ide-1.5.x 2014-06-27 13:53:26 +02:00
Cristian Maglie
370648a532 Merge branch 'ide-1.5.7' into ide-1.5.x 2014-06-27 13:44:18 +02:00
Cristian Maglie
a798c79dab Updates to revision log 2014-06-25 16:02:00 +02:00
Cristian Maglie
c2e5f67ea6 Updated arm gcc to version 4.8.3-2014q1 2014-06-25 11:59:47 +02:00
Cristian Maglie
4df2c8982a Updated arm gcc to 4.8.3 2014-06-25 11:57:49 +02:00
Cristian Maglie
3a4381955e Updated arm gcc to 4.7.4 2014-06-25 11:56:50 +02:00
Cristian Maglie
6b5a99b7b5 Version bumped to 1.5.7. Updated revision log. 2014-06-25 11:21:15 +02:00
Federico Fissore
792e7fd7df Toolchain update 2014-06-25 10:14:34 +02:00
Federico Fissore
7f3e488310 Updated toolchains 2014-06-25 10:14:34 +02:00
Cristian Maglie
578cac41dc Added 'unzip-tool' target in build.xml 2014-06-25 10:14:34 +02:00
Federico Fissore
c778de0211 Toolchains updated: avrdude 6.0.1 replaces 5.11 2014-06-25 10:14:34 +02:00
Federico Fissore
febf6735ab New toolchain: macosx fix 2014-06-25 10:14:34 +02:00
Federico Fissore
98c3080d2a New toolchain: gcc 4.8.1, avr-libc 1.8.0, binutils 2.23.2 2014-06-25 10:14:34 +02:00
Federico Fissore
4ebf88b1b2 Toolchains updated, sha1sum updates follow 2014-06-25 10:12:40 +02:00
Federico Fissore
ca06ef91c7 Toolchains updated, sha1sum updates follow 2014-06-25 10:12:40 +02:00
Federico Fissore
879bacdcb0 Updated avr toolchain for macosx: should be compatible with macosx 10.6+ (was 10.7+) 2014-06-25 10:12:40 +02:00
Federico Fissore
3b74226f0d Fixed MacOSX AVR toolchain .zip checksum 2014-06-25 10:12:40 +02:00
Federico Fissore
20bf747c08 Added missing DLLs 2014-06-25 10:12:40 +02:00
Federico Fissore
5a015b3eec New common AVR toolchain 2014-06-25 10:12:39 +02:00
Cristian Maglie
39a6693f2a Fixed arm toolchain unzip and factored paths in build.xml 2014-05-30 13:07:33 +02:00
Federico Fissore
c387f87329 Corrected typos: Yun -> Yún 2014-05-30 12:17:09 +02:00
Cristian Maglie
ab1ee51d68 MacOSX: switched to appbundler for building distribution files (Haavar Valeur)
See #1665
2014-05-29 12:28:42 +02:00