1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-13 23:48:46 +01:00
Commit Graph

7117 Commits

Author SHA1 Message Date
Cristian Maglie
0b4c4bbcf2 Immediately re-parse library_index.json after updating it 2018-09-06 11:57:21 +02:00
Cristian Maglie
34baa40953 Removed useless I18n reference in call to format 2018-09-06 11:57:21 +02:00
Cristian Maglie
fe424ae39b Do not fail if the data folder can't be read
Fix #7937
2018-09-06 11:57:21 +02:00
Cristian Maglie
fd28ded160 Get a better error message if the library_index.json can't be parsed
See #7937
2018-09-06 11:57:21 +02:00
Cristian Maglie
6ed7934ee1 Do not fail if library_index.json can't be parsed
Fix #7937
2018-09-06 11:57:21 +02:00
Cristian Maglie
3dfe85916c Preserve boards.txt custom menu order.
Fix #7955
2018-09-04 10:31:36 +02:00
PaulStoffregen
e6bf0f24eb Delete leftover comments & question 2018-09-03 16:39:39 +02:00
PaulStoffregen
d9ae0b1231 Change default Port from COM1 to nothing selected 2018-09-03 16:39:39 +02:00
PaulStoffregen
4ccf9bbd90 Show a helpful message when no Port is selected 2018-09-03 16:39:39 +02:00
Cristian Maglie
5f9ff25b3c Added missing update to jssc lib 2018-09-03 13:29:42 +02:00
Martino Facchin
72a3fe4128
Merge pull request #7957 from PaulStoffregen/mac_10.8_required
Java now requires MacOSX 10.8 Mountain Lion or later
2018-08-31 17:01:17 +02:00
PaulStoffregen
8fee5ee6a2 Java now requires MacOSX 10.8 Mountain Lion or later 2018-08-31 02:02:10 -07:00
Martino Facchin
0acda57a74 Add aarch64 tools package_index bundled 2018-08-28 17:55:02 +02: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
Martino Facchin
418e3def10 Add runtime tool with version to board preferences
If two vendors declare the same tool (name and version) and platform.txt requires {runtime.tool-version.path}, the tool is chosen randomly.
This patch completes 6f24fa6cec
2018-08-28 17:51:14 +02:00
Martino Facchin
bf42f26471
Merge pull request #7935 from facchinm/fix_osx_slow_menus
Fix OSX "slow" menus
2018-08-28 17:49:02 +02:00
Cristian Maglie
d2a251c066 Improved error message when no library headers are found 2018-08-28 16:07:35 +02:00
Cristian Maglie
f58f8d3c4b Fix NPE crash after installing a library with invalid version
Fix #7917
2018-08-28 16:07:35 +02:00
Cristian Maglie
86217a4fb4 Slightly refactored VersionComparator (WIP 2/3) 2018-08-28 16:07:35 +02:00
Cristian Maglie
3092e03bec VersionHelper.valueOf now returns an Optional (WIP 1/3)
This helps to avoid bugs similar to #7917
2018-08-28 16:07:35 +02:00
Martino Facchin
2f3a561c61 Fix rebuild being triggered on every menu open()
Fixes #7924

JRE 8u161 made JMenu.insert() MUCH slower on OSX.
This exposed a bug lurking there for years; in fact the menu entries were rebuilt every time since JMenu.getComponent() returns an empty list.
The correct function is JMenu.getMenuComponents().
In the meantime, also remove sketchbookMenu and examplesMenu being deleted on board change; only their content needs to be updated, not the container itself.
2018-08-27 16:22:42 +02:00
Martino Facchin
49cd9b57dd Fix check for wrong submenu 2018-08-27 16:20:20 +02:00
Cristian Maglie
97f11945c6 Update revision log 2018-08-23 10:47:39 +02:00
Cristian Maglie
4f1ff2a42f Update translations 2018-08-23 10:47:39 +02:00
Cristian Maglie
d97147826e Serial monitor timestamp: add the arrow ' -> ' to the timestamp format
This saves another "append" call while streaming.
2018-08-23 10:46:32 +02:00
Cristian Maglie
986d67f1d9 Serial monitor timestamp: cache newline status
This saves an access to the Document object (as well as a bunch
temporary object allocations).
2018-08-23 10:46:32 +02:00
Cristian Maglie
8128525e83 Improve performance on serial monitor 'Show timestamp'
This patch dramatically reduce pressure on heap memory:

- use a StringTokenizer instead of the very slow String.split(...)
  method to decode newlines. This avoid allocation/deallocation of
  big strings array and use of regexp.
- pre allocate as many object as possible to avoid new allocation
  while streaming data.
- the "timestamp" string is calculated only once per iteration.
- use StringBuilder instead of inline temporary strings (that are,
  again, allocated and deallocated on each iteration)
2018-08-23 10:46:32 +02:00
Cristian Maglie
13c3750ecf Revert "Moving a sketch to another folder should move all files"
This reverts commit c4f5cafd33.
2018-08-23 10:39:20 +02:00
Martino Facchin
067d7e9252 Delete builtin libraries sources
Ethernet has been replaced by Ethernet 2.0.0 and all the issues have been closed
The other libraries have been tagged on github.com/arduino-libraries , the developments should continue there
2018-08-22 17:26:23 +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
Martino Facchin
e518050b28
Merge pull request #7888 from cmaglie/fix-fontsize-keybindings
Fix "Increase Font Size" keybindings
2018-08-20 17:31:02 +02:00
Cristian Maglie
4700cc3d27 Transformed some ActionListener anonumous class into lambdas
No code change
2018-08-15 17:23:04 +02:00
Cristian Maglie
2988136f97 Added alternative key binding for "Increase Font Size"
This commits adds the "CTRL SHIFT =" as key to increase font size.
The old shortcut "CTRL +" is still active, but it's not always
possible to produce it if the keyboard layout doesn't have the + key
on the base layer.

This add the possibility to compose "CTRL +" when the keyboard has
the "+" available as "SHIFT =", that seems to be very common in
many layouts.

Fix #6806
2018-08-15 17:22:47 +02:00
Cristian Maglie
1a576dd468 Fixed wrong keybinding for "Increase Font Size"
See https://github.com/arduino/Arduino/issues/6806#issuecomment-335044967
2018-08-15 00:11:41 +02:00
Cristian Maglie
4b59dbae24 Removed unused function 2018-08-14 22:01:04 +02:00
Cristian Maglie
60146b3d7d Fixed unused import warnings 2018-08-14 22:01:04 +02:00
Cristian Maglie
2f6d2112cf Simplified overly complicated error handling in PApplet.createWriter 2018-08-13 20:19:25 +02:00
Cristian Maglie
9eeb79fed4 Do not crash if preferences.txt can't be written 2018-08-13 20:19:25 +02:00
Cristian Maglie
99fe051c4a Added preferences.txt option to disable preferences save
Fix #5668
2018-08-13 20:19:25 +02:00
Cristian Maglie
daefdc9d7d Updated translations 2018-08-10 11:17:38 +02:00
Cristian Maglie
8fd17d44a7 Fixed error message 2018-08-10 11:05:08 +02:00
Cristian Maglie
62511c0889 Fixed error message 2018-08-10 11:01:06 +02:00
Cristian Maglie
bd770ae949 Updated translations 2018-08-10 10:56:19 +02:00
per1234
19bfd2ada9 Correct messages re: sketch/library folder name restrictions
- Specify that library name error is about folder name.
  - We would normally expect "library name" to mean the "fancy name" (as defined by the library.properties name field).
- Specify exactly which characters are allowed.
- State that spaces are prohibited in sketch folder name.
- Remove outdated message about library folders not being allowed to start with a number.
  - This restriction was removed by 4545283ae7.
- State library folder name length restriction.
- Make sketch and library messages consistent with each other.
2018-08-10 10:53:15 +02:00