1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-22 11:52:14 +01:00

855 Commits

Author SHA1 Message Date
Martino Facchin
e35c67b6a9 Avoid using incomplete tmp file for board manager jsons
Fixes https://github.com/arduino/Arduino/issues/6628
2018-05-02 17:35:29 +02:00
Martino Facchin
80915600c9 Make board disappear via ttl instead then reachability
Thanks @kurtgo for the hint
Solves #6832
2018-05-02 16:27:03 +02:00
Martino Facchin
3e50aee4cf Save file line by line taking care of OS EOL
Fixes https://github.com/arduino/Arduino/issues/6736
2018-05-02 16:24:33 +02:00
Martino Facchin
8363831dd4 fix NPE if CLI upload is used 2018-05-02 16:20:01 +02:00
Martino Facchin
52c829fb0d Wrap the discoverers into separate threads
Fixes #6350 (the regression was introduced with b2241dadf8f7777564bc5595265caa53a1fec399 )
Thanks git-bisect :)
2018-05-02 16:20:01 +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
Cristian Maglie
b70a7d088e Hi-DPI: tentative auto DPI detection for Linux
See #6472 #4376
2018-05-02 15:52:13 +02:00
Martino Facchin
c4f5cafd33 Moving a sketch to another folder should move all files
Fixes #6402
2018-05-02 15:52:13 +02:00
Martino Facchin
73f40ac32e Only rescan libraries folders when really needed
Scanning libraries is an heavy task if the sketchbook becomes huge;
This patch targets two points:

- remove the rescan() after setLibrariesFolders(), which already performs a rescan
- call setLibrariesFolders() only when the folder list has changed
  - This ensures that no scan is performed when changing board in the same architecture

Could mitigate #6350
2018-05-02 15:52:13 +02:00
Cristian Maglie
3d3bb385ad Output column info from compiler error when available 2018-01-25 15:58:02 +01:00
Cristian Maglie
472d0b8ef6 Removed unused import 2018-01-03 14:50:55 +01:00
Cristian Maglie
676f64325f Removed debugging leftovers 2018-01-03 14:36:07 +01:00
Cristian Maglie
4b374dc16d lint: Use generic List instead of ArrayList where possible 2017-11-07 15:38:57 +01:00
Cristian Maglie
f0e5bab51c Started 1.8.6 and updated changelog 2017-10-16 13:02:46 +02:00
Cristian Maglie
81997612b2 Updated source translations
Fix #6815
2017-10-13 10:51:08 +02:00
Cristian Maglie
61c77c922a Updated translations 2017-09-28 16:22:14 +02:00
Cristian Maglie
369b23a7d2 Refactored function to get status of menus in MacOSX 2017-09-28 12:57:56 +02:00
Martino Facchin
a2b5f661b8 Fix macOS 10.13 missing menubar
The global bar is being used if locale is English and About() menu is present
2017-09-27 17:43:52 +02:00
Cristian Maglie
7c27d09c6f Added check for negative font size in preferences.
This should allow to automatically recover situations like
https://github.com/arduino/Arduino/issues/6359#issuecomment-324247440

See #6359
2017-08-28 18:01:30 +02:00
Cristian Maglie
5bbb9054d4 Starting 1.8.5 2017-08-28 13:04:57 +02:00
Cristian Maglie
5c3f474c0e Updated translations 2017-08-18 15:17:48 +02:00
Cristian Maglie
4545283ae7 Sketch names starting with a digit are now allowed
Fix #6592
2017-08-18 15:11:24 +02:00
Martino Facchin
144213fb8a Merge pull request #6388 from matthijskooijman/fix-renaming-new-files
Fix renaming of newly added files
2017-08-01 11:45:29 +02:00
per1234
7c039c484b Starting IDE 1.8.4
Fixes https://github.com/arduino/Arduino/issues/6554
2017-07-26 08:17:44 -07:00
Cristian Maglie
101677bba2 Fixed NPE introduced in 125846f5
Fix #6552
2017-07-25 23:03:25 +02:00
Cristian Maglie
cbbac9dbda code makeup: use String.isEmpty() method 2017-07-18 13:02:13 +02:00
Cristian Maglie
93fc220c55 Fix simple java error in LIBRARY_INDEX_URL_GZ assignment
Being a final variable it must be assigned only once.
2017-07-18 13:01:03 +02:00
David Gauchard
125846f55d per-board generic option in config file boards.txt for disabling control of dtr+rts from IDE, allowing board specific use of these lines for example for reset or programming mode. Currently used by esp8266/Arduino. 2017-07-18 10:59:06 +02:00
Peter Gren
c7b412ca3f Fixed ignoring of LIBRARY_INDEX_URL of system property 2017-07-18 10:47:15 +02:00
Martino Facchin
cba0435367 Add missing translation string (cached core) 2017-06-23 17:00:49 +02:00
Matthijs Kooijman
beadf8fe63 Fix renaming of newly added files
Before 72f815bcf (Refactor file adding and renaming, and save as handling)
renaming a file would first save it and then rename it. Since that
commit, renaming an unsaved, newly added file would try to rename a
non-existing file on disk, causing an error message.

This is fixed by only moving the on-disk file if it exists, otherwise
just the in-memory filename is updated and the file will be written
during the next save.

Fixes: #6265
2017-06-16 21:58:11 +02:00
Cristian Maglie
a06fa27558 Added new translations 2017-05-30 17:48:00 +02:00
Cristian Maglie
8f53860607 Updated translations 2017-05-30 17:21:53 +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
bb41ad791f Use win32 ShellExecute API to open URL with default browser 2017-05-22 12:25:58 +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
00c1a3b3eb Renamed editor.auto_close_braces pref and set default value 2017-04-13 11:38:23 +02:00
Michael michael.sytko
d5a73dc419 added setting to show always file extensions 2017-04-10 14:24:26 +02:00
Martino Facchin
647a1b0aaa Starting IDE 1.8.3 2017-03-23 09:26:56 +01:00
Cristian Maglie
acf17ec305 Updates to translations 2017-03-22 13:27:36 +01:00
Cristian Maglie
674419a464 Fixed a bunch of trivial javac warnings 2017-03-22 12:12:46 +01:00
Cristian Maglie
b4a1a03eb5 Updated translations resources 2017-03-21 12:47:10 +01:00
Cristian Maglie
b81059f616 Updates to translations 2017-03-21 11:40:53 +01:00
Martino Facchin
5b6adec95f add preference checkbox for core cache 2017-03-20 17:31:38 +01:00
Martino Facchin
14b3f9b1d6 Merge pull request #6041 from delftswa2017/bug/data-folder
Fix "save as" operation for the data folder of a sketch
2017-03-16 09:46:23 +01:00
tomneutens
938df21778 Added a CompilerProgressListenerList to the EditorStatus class so you can add a listener for compiler progress from an external tool. To enable this the build method in the compiler class had to be changed 2017-03-15 19:32:53 +02:00
jeroenoverman
7714a41c0c Fix copy data folder when performing save as operation
Changed the location where the variable `folder` gets updated. The
function `getDataFolder()` uses this variable to return the data folder.
It was looking for the data folder of the original sketch in the folder
of the new created sketch.
Furthermore the data folder will now be created if it does not exist yet
in the new sketch before copying the files of the original sketch.
2017-03-07 17:14:00 +01:00
Cristian Maglie
241df10c85 Merge branch 'handle_UTF-8_serial' of https://github.com/aknrdureegaesr/Arduino 2017-02-20 16:12:50 +01:00