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

1580 Commits

Author SHA1 Message Date
Martino Facchin
ee1967cd53 update arduino-builder to 1.4.0 2018-06-12 10:41:45 +02:00
per1234
8b11b58753 Replace boolean type with bool in examples
This is part of a move to encourage use of the standard bool type over Arduino's non-standard boolean type alias.
2018-05-30 04:30:13 -07:00
Yohsuke FURUTA
24029c5ace CLI: Add --version to CLI option (#7549)
* CLI: Add --version to CLI option

I added to get the Arduino IDE version from the command line
It will allow to check easily if the new Arduino is already installed.

This feature makes it easier to build external systems linked to specific versions of Arduino.

1. I added `--version` action, which shows version name and exit
  1. Currently, VERSION_NAME_LONG (like `1.8.5`, `1.9.0-beta`, `1.8.6 Hourly Build XXX`, etc...) is used. Because I want to know its version number and stable/beta/hourly.
  2. Finish with `0`. Because it is `SUCCESSFLLY FINISHED`.
2. Updated man page.

* Split "parse" and "action".
Move print action to probably suitable place.

This commit will fix the behavior of multiple actions about --version.

* add testcase
2018-05-22 17:46:11 +02:00
Martino Facchin
bc19d7b57e Copy package_index_bundled to distrib hardware folder 2018-05-15 10:39:11 +02:00
Martino Facchin
8ae47f3b5d Add updated toolchain for ARM host 2018-05-10 13:02:27 +02:00
Martino Facchin
eb05bee7b0 Fix AVR GCC for Windows package name 2018-05-09 18:33:15 +02:00
Martino Facchin
b86a79ced8 Update avr core to 1.6.22 + package_index_bundled 2018-05-09 16:57:25 +02:00
Martino Facchin
5ba035ac8b Update avr toolchain 2018-05-09 16:36:08 +02:00
Martino Facchin
8bab7cead6 Download the bundled core as any other tool 2018-05-09 16:09:29 +02:00
Matthijs Kooijman
98bd18ee8d Let serial monitor send newline by default
The serial.line_ending value was not present in the default
preferences file, so the default was implicitly 0, meaning "No line
ending". Since users often do not realize that they can even choose a
line ending, and "no line ending" is only rarely useful, it seems better
to default to sending a newline. Using both CR & NL would be more
consistent with Stream.println on the Arduino side, but just sending a
newline is probably easier to parse on the Arduino side.
2018-05-09 15:56:11 +02:00
Cristian Maglie
a5aea72cc6 Win: Removed JNA debug output 2018-05-03 15:50:10 +02:00
Arturo Rinaldi
31a26cb2fa adding arduino-linux-setup.sh script 2018-05-02 16:22:21 +02:00
Martino Facchin
921dd272ad Update jackson to 2.9.5
Fixes CVE-2018-7489
2018-05-02 16:14:03 +02:00
Martino Facchin
4562b4ba44 Update jmdns to 3.5.3 2018-05-02 16:12:32 +02:00
Martino Facchin
506a4c835a Update arduinoOTA to 1.2.1
Should solve https://github.com/arduino/Arduino/issues/6649
2018-05-02 15:52:13 +02:00
per1234
ec179e5af6 Add note to revisions.txt regarding new default Nano bootloader 2018-03-15 12:36:10 -07:00
Cristian Maglie
0175a4ee94 Revert "Fix keyword loading to use any whitespace as separator"
This reverts commit eed9e7069f.
See #6693
2018-02-19 12:58:01 +01:00
Cristian Maglie
3447175d1d update revision log 2017-10-30 10:54:04 +01:00
Sandeep Mistry
7e2f7981f5 Use version 0.9.2 of the WiFi101 firmware updater 2017-10-20 14:23:44 +02:00
Cristian Maglie
6d7d461619 Update revision log 2017-10-20 13:17:09 +02:00
Cristian Maglie
f0e5bab51c Started 1.8.6 and updated changelog 2017-10-16 13:02:46 +02:00
Cristian Maglie
e69ce9cde3 Update changelog 2017-10-02 12:39:06 +02:00
Cristian Maglie
433fbeb29c Update changelog 2017-09-28 16:43:01 +02:00
Martino Facchin
b175fa71a0 Revert "Update appbundler"
This reverts commit 0c325b4ff6.
The 10.13 workaround seems to work also without this update AND it was causing a regression on testCommandLineBuildWithRelativePath (cwd() was not being exported)
2017-09-28 15:39:29 +02:00
Cristian Maglie
d0f8037f6d Added exception printout while building 2017-09-28 13:13:29 +02:00
Martino Facchin
0c325b4ff6 Update appbundler
This fixes the locale not being set correctly in some cases, and forces CFBundleDevelopmentRegion to en to overcome High Sierra Java bug

Patch:
```
diff -r 97eb6c13cf33 appbundler/src/com/oracle/appbundler/AppBundlerTask.java
--- a/appbundler/src/com/oracle/appbundler/AppBundlerTask.java  Wed Aug 02 12:06:27 2017 +0200
+++ b/appbundler/src/com/oracle/appbundler/AppBundlerTask.java  Thu Sep 21 16:13:04 2017 +0200
@@ -601,7 +601,7 @@
             xout.writeCharacters("\n");

             // Write bundle properties
-            writeProperty(xout, "CFBundleDevelopmentRegion", "English");
+            writeProperty(xout, "CFBundleDevelopmentRegion", "en");
             writeProperty(xout, "CFBundleExecutable", executableName);
             writeProperty(xout, "CFBundleIconFile", (icon == null) ? DEFAULT_ICON_NAME : icon.getName());
             writeProperty(xout, "CFBundleIdentifier", identifier);
```
2017-09-27 17:54:49 +02:00
Martino Facchin
b400e164ce remove useScreenMenuBar switches from Info.plist 2017-09-27 17:44:38 +02:00
Cristian Maglie
5bbb9054d4 Starting 1.8.5 2017-08-28 13:04:57 +02:00
Cristian Maglie
ec2481ce2b Update revisions log 2017-08-18 15:44:48 +02:00
per1234
60c169ce91 Remove unused file from toneMultiple example
pitches.h is not used by this sketch so its presence will only cause confusion.
2017-08-18 15:19:20 +02:00
Cristian Maglie
4545283ae7 Sketch names starting with a digit are now allowed
Fix #6592
2017-08-18 15:11:24 +02:00
Cristian Maglie
495c29c44b Updated Robot libraries
See #4040
2017-08-18 13:10:57 +02:00
Martino Facchin
275051fdcf Merge pull request #6623 from per1234/fix-toneMultiple
Fix incorrect comment in toneMultiple example
2017-08-17 09:45:24 +02:00
per1234
86c5ca8547 Fix incorrect comment in toneMultiple example
The comment about the note duration didn't match the code.
2017-08-16 15:44:30 -07:00
Cristian Maglie
5a72323185 Removed stale file 2017-08-16 11:22:02 +02:00
Martino Facchin
6067e2d07e Update LiquidCrystal to 1.0.7 2017-08-10 10:34:36 +02:00
Martino Facchin
aae5fa77aa Update revisions.txt 2017-08-01 12:04:25 +02:00
Martino Facchin
4d675d126e Merge pull request #6558 from herrold/master
XFCE's Launcher wants the .desktop file to be +x as well
2017-08-01 11:43:55 +02:00
R P Herrold
1c23d5b020 reverse attempt to do permission bits inside the install phase, and
add this to the build specification /.xml instead
2017-07-27 11:03:27 -04:00
Cristian Maglie
93217c40c7 CLI: fixed missing "runtime.platform.path"
This happens when the CLI is runned without the `--board` option.

Fix #6463
2017-07-27 15:56:24 +02:00
R P Herrold
89ff576419 XFCE's Launcher wants the .desktop file to be +x as well
-- add a --mode 755 for it
2017-07-26 18:28:19 -04:00
Martino Facchin
ba27ca6c76 Remove LiquidCrystal from main repo
Since there are no pending PRs or Issues, remove the folder and use https://github.com/arduino-libraries/LiquidCrystal as reference repo
2017-07-25 13:03:06 +02:00
Cristian Maglie
7baf84ee20 Forget checksum for an archive... oopps 2017-07-19 11:32:21 +02:00
Cristian Maglie
e15948227f Fixed wrong folder name for Adafruit Circuit Playground library
Fix #6462
2017-07-19 10:32:26 +02:00
Cristian Maglie
7d24d0e35b Update revision log 2017-07-18 14:03:26 +02:00
per1234
5f86bdd1b4 Use consistent format for Max/MSP patches included in the built-in example comments 2017-07-18 11:07:37 +02:00
per1234
abc9a8917d Use consistent formatting style for Processing code included in built-in example comments 2017-07-18 11:07:37 +02:00
per1234
18b5327da0 Use consistent line wrapping in built-in example comments 2017-07-18 11:07:37 +02:00
per1234
2570383db9 Use a consistent number of spaces after punctuation in the comments of the built-in examples 2017-07-18 11:07:37 +02:00
per1234
e3044a5f5a Make the formatting of opening comments of built-in examples consistent 2017-07-18 11:07:37 +02:00
per1234
eee3e5ba18 Auto Format all built-in examples
The only changes I left out are the Max/MSP patches because I don't know whether the indentation would break them.
2017-07-18 11:07:37 +02:00
per1234
8f48433f33 Indent all multi-line C style comments in built-in examples by at least two spaces
This is required for Auto Format compatibility because it has the undesirable effect of indenting only unindented contents of multi-lline comments, thus altering the relative indentation of the text.

The exception is the Max/MSP patches as I did not know whether indentation would break them.
2017-07-18 11:07:37 +02:00
per1234
499c424d59 Use Auto Format compatible bullet character in built-in example comment lists
Tools > Auto Format in the Arduino IDE removes asterisks from the start of every line in a C style comment, causing that character to be unsuitable for use as a bullet for lists in the example comments.
2017-07-18 11:07:37 +02:00
per1234
827a933eed Maintain a consistent number of newlines at end of built-in examples
A single newline at the end of the examples was most common so I fixed all examples that did not follow this convention.
2017-07-18 11:07:37 +02:00
per1234
e57c9625cf Fix typos in .txt files included with built-in examples 2017-07-18 11:07:37 +02:00
per1234
a71b40351f Fix typos in the comments of the built-in examples 2017-07-18 11:07:37 +02:00
Cristian Maglie
86c6103142 Update revision log 2017-07-18 11:06:00 +02:00
per1234
e180b7037d Add a note about ATmega32U4 incompatibility to SerialEvent example
serialEvent() does not work on the ATmega32U4 boards.

Reference: https://github.com/arduino/Arduino/issues/1031
2017-07-07 00:38:15 +02:00
per1234
c5d4e5fc0f Fix comparison between signed and unsigned warning in StringLength example
Fixes:
warning: comparison between signed and unsigned integer expressions
compiler warning.

Closes https://github.com/arduino/Arduino/issues/693 (in conjunction with https://github.com/arduino/Arduino/issues/6448)
2017-07-07 00:32:37 +02:00
per1234
352df2c15f Remove unused variable from StringAdditionOperator example
- Avoids confusing beginners who assume there must be some reason for this useless line of code.
- Fixes "warning: unused variable 'currentTime'" compiler warning.

Closes https://github.com/arduino/Arduino/issues/693
2017-07-07 00:30:13 +02:00
Cristian Maglie
cd798abd1b Releasing 1.8.3 2017-05-31 17:03:10 +02:00
Cristian Maglie
48d88f5dbd updated revisions 2017-05-31 15:41:20 +02:00
Cristian Maglie
b97e4a3480 Moving extras scripts out of root folder 2017-05-30 17:08:58 +02:00
Cristian Maglie
d65e6ffc3d Merge pull request #6331 from cmaglie/jssc-no-unpack
Two fix for future Windows compatibility
2017-05-30 15:58:10 +02:00
Cristian Maglie
e202d2e4cd Removed outdated 'bugs' section in manpage 2017-05-29 13:21:28 +02:00
Cristian Maglie
54264124b7 Updated paths to preferences.txt in manpage
Fix #6061
2017-05-29 12:58:57 +02:00
Cristian Maglie
229c32ccad Avoid dll unpacking within JSSC
This requires a custom build of JSSC.
https://github.com/scream3r/java-simple-serial-connector/pull/105
2017-05-18 15:36:17 +02:00
Cristian Maglie
e500c7c41f Enabling "external editor" now requires to save all sketches.
Fix #6196
2017-05-16 14:53:27 +02:00
Cristian Maglie
d4458c0caf Merge remote-tracking branch 'cmaglie/jna-3' 2017-04-26 12:49:35 +02:00
Cristian Maglie
7dcc1352a2 During windows build use "icacls" tool to change file attributes
Previously the ant call "chmod" was used, but this is a no-op on Windows,
so it would works only if the IDE is cross-built from a unix host.

This patch allows to build a distribution of the IDE also from a Windows host.
2017-04-21 15:47:39 +02:00
Cristian Maglie
18f18bf2cb JNA: try to avoid unzipping jnidispatch.dll from jar on Windows
Normally if JNA doesn't find the jnidispatch.dll it tries to extract
it from the jar into a temp folder and load from there.
This is being restriscted on Microsoft Apps for the app-store and this
commit prevents this behaviour.
2017-04-21 15:47:34 +02:00
Arturo Guadalupi
89e3c5290f Merge pull request #6176 from sandeepmistry/WiFi101-Updater-0.9.1
Use version 0.9.1 of the WiFi101 firmware updater
2017-04-14 10:12:17 +02:00
Cristian Maglie
00c1a3b3eb Renamed editor.auto_close_braces pref and set default value 2017-04-13 11:38:23 +02:00
bob
8ecbded312 add editor.autocomplete flag to disable automatic curly braces 2017-04-13 11:38:23 +02:00
Arturo Rinaldi
bd49219109 fixing RESOURCE_NAME for linux install.sh script 2017-04-11 13:12:10 +02:00
Sandeep Mistry
c418706039 Use version 0.9.1 of the WiFi101 firmware updater 2017-04-10 11:03:53 -04:00
Cristian Maglie
5f51e05900 Update revision log 2017-04-10 16:56:16 +02:00
Cristian Maglie
bd2f4acba7 update revision log 2017-04-10 14:43:55 +02:00
Martino Facchin
647a1b0aaa Starting IDE 1.8.3 2017-03-23 09:26:56 +01:00
Cristian Maglie
cc6c68e521 Releasing 1.8.2 2017-03-22 13:27:36 +01:00
Cristian Maglie
c70efd950f Fixed --save-prefs regression
Also removed deprecated Prefences.save() method.

Fix #6067
2017-03-22 13:13:06 +01:00
Martino Facchin
804d890ce2 Update revisions.txt 2017-03-21 17:07:45 +01:00
Martino Facchin
f163d5816a Update bundled Servo to 1.1.2 2017-03-21 15:00:58 +01:00
Martino Facchin
09378a5ba6 Update bundled libraries
- Firmata to 2.5.6
- Temboo to 1.2.1
- RobotControl to 1.0.3
2017-03-21 12:15:02 +01:00
jenkins
975fd420e1 Fix shasums for arduino-builder 1.3.25 2017-03-20 18:34:21 +01:00
Cristian Maglie
f483287585 Servo: library is now downloaded from his own repository 2017-03-20 17:36:08 +01:00
Martino Facchin
2efa09507a update arduino-builder to 1.3.25 2017-03-20 17:31:38 +01:00
Sandeep Mistry
99200cbbae Use version 0.9.0 of the WiFi101 firmware updater 2017-03-13 15:03:52 -04:00
Cristian Maglie
d3b3714802 Updated revision log 2017-03-08 11:48:27 +01:00
Sandeep Mistry
197fe6df9f Updated Firmata to version 2.5.5 2017-03-07 16:16:44 -05:00
Matthijs Kooijman
f5eb673f44 Update RSyntaxTextArea to 2.6.1
This imports the unmodified upstream version of RSTA from
http://repo1.maven.org/maven2/com/fifesoft/rsyntaxtextarea/2.6.1/rsyntaxtextarea-2.6.1.jar
since the Arduino-specific changes are no longer required.

This fixes #5888
2017-03-01 10:38:09 +01:00
Cristian Maglie
4d6385ab6d Serial monitor: input textfield is automatically selected
When the serial monitor window is focused again (not reopened but put
in background and selected again) the text input field is now
automatically focused.

Fix #5810
2017-02-17 10:57:20 +01:00
Martino Facchin
e9e24bd369 Merge pull request #5879 from facchinm/better-mdns
Update jmdns to 3.5.1
2017-02-10 18:36:14 +01:00
Martino Facchin
d6a42b88a1 Update arduinoOTA to 1.1.1 2017-02-08 17:50:04 +01:00
Martino Facchin
b931d63df5 Update avrdude to 6.3.0-arduino9 2017-02-08 17:50:04 +01:00
Martino Facchin
2d0ef4a07a Update avr-gcc to avr-gcc-4.9.2-atmel3.5.4-arduino2 2017-02-08 17:50:04 +01:00
Martino Facchin
cd729a964d Update revisions.txt 2017-02-08 15:10:32 +01:00
Martino Facchin
0b549ef3c9 Merge pull request #5892 from ximion/master
Make metainfo and .desktop files spec compliant
2017-02-08 12:47:07 +01:00
Cristian Maglie
057419b08b Fixed build (rename arduino-builer-arm to arduino-builder-linuxarm)
Fix #5945
2017-02-03 15:11:53 +01:00
Cristian Maglie
29613e2166 Update arduino-builder to 1.3.24 2017-02-02 11:36:43 +01:00