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

1600 Commits

Author SHA1 Message Date
Martino Facchin
3e65cfc9e7 update arduino-builder to 1.4.1 2018-09-10 11:32:27 +02:00
Cristian Maglie
27eca6b3d9 Regression: fixed wrong BUILTIN_AS_LAST comparator
This bug has been introduced with b3d01d8281

Fix #7973
2018-09-07 15:03:25 +02:00
Cristian Maglie
4baa0ad3c5 update changelog 2018-09-06 16:01:18 +02:00
Gianluca Varisco
de53d3d0aa Update appdata.xml - release 1.8.6
This commit adds release 1.8.6 (2018-08-23) in appdata.xml
2018-09-06 14:04:03 +02:00
PaulStoffregen
d9ae0b1231 Change default Port from COM1 to nothing selected 2018-09-03 16:39:39 +02:00
PaulStoffregen
8fee5ee6a2 Java now requires MacOSX 10.8 Mountain Lion or later 2018-08-31 02:02:10 -07:00
Martino Facchin
52031a80da Add build targets for aarch64 2018-08-28 17:55:00 +02:00
Martino Facchin
e8146f8de4 fix arch-bits field 2018-08-28 17:54:54 +02:00
Martino Facchin
b99d55ba92 Add missing tools checksums 2018-08-28 17:54:40 +02:00
Martino Facchin
6080907ba3 Update jscc to 2.8.0-arduino2 (aarch64 support) 2018-08-28 17:53:04 +02:00
Stephen Warren
c1ea76914b AArch64 support
This patch will require a little rework before it gets submitted.

1) I don't know if the Arduino team will simply edit the existing binary
dependencies in place and hence NOT change the filename like I have below
(libastylej-2.05.1-3.zip -> libastylej-2.05.1-4.zip), or will indeed
upload to new a filename.

2) Since the Arduino team will build and distribute all the binaries, the
SHA values in the patch below will have to be recalculated once the actual
files are available. The values below are for my locally built versions.
2018-08-28 17:51:14 +02:00
Cristian Maglie
97f11945c6 Update revision log 2018-08-23 10:47:39 +02:00
Martino Facchin
eb48ee5492 Update builtin libraries 2018-08-22 17:26:23 +02:00
Cristian Maglie
ad623137a1 Update revisions log 2018-08-22 14:25:42 +02:00
Martino Facchin
0885c6147e
Merge pull request #7649 from per1234/boolean-bool
Replace boolean type with bool in examples
2018-08-20 17:31:54 +02:00
Cristian Maglie
99fe051c4a Added preferences.txt option to disable preferences save
Fix #5668
2018-08-13 20:19:25 +02:00
Cosimo Cecchi
677e0508d4 appdata: add OARS 1.1 content rating tags
See https://hughsie.github.io/oars/
2018-08-10 10:52:25 +02:00
Cosimo Cecchi
c4d471fe80 appdata: add releases tag 2018-08-10 10:52:25 +02:00
Cosimo Cecchi
b692d89116 appdata: add project_license tag
Use LGPL-2.1 as per the license.txt file.
2018-08-10 10:52:25 +02:00
Martino Facchin
b1b609e610
Fix ant distrib with revision.check=enforce
The regex code was adding an EOL after the actual AVR core version
2018-07-11 16:53:18 +02:00
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