Commit Graph

589 Commits

Author SHA1 Message Date
Cristian Maglie da97506adf Started IDE 1.8.1 2016-12-24 00:14:33 +01:00
Martino Facchin d115f44a31 Update IDE version to 1.8.0 2016-12-21 16:12:44 +01:00
Martino Facchin e9709689de Add extra field to serial discovery targeting Tian board 2016-12-16 10:59:00 +01:00
Martino Facchin 8098196083 Kill programmer if upload takes more than 5 minutes
Fixes #5672
2016-12-15 18:57:21 +01:00
Cristian Maglie bd4c79fbac Updated translations 2016-12-15 17:36:32 +01:00
Martino Facchin 6dacb6b0bf Clear Modified flag on Save As...
Fixes #5550 (in the proper way this time)
2016-12-12 14:14:36 +01:00
Martino Facchin a93b45d9c8 Merge pull request #5573 from facchinm/fix_symlink_5478
Fix symlinks being replaced with files on save
2016-12-07 13:17:28 +01:00
Martino Facchin 1a97ec4481 Remove sketch size calculation from Java IDE
It is now performed by arduino-builder (>= 1.3.22)
2016-11-28 15:09:46 +01:00
Cristian Maglie 39c3e8bb8b Merge branch 'x11-fix' 2016-11-25 15:12:05 +01:00
Cristian Maglie c363777f06 Reduce verbosity during downloads in text-only mode 2016-11-25 15:10:38 +01:00
Cristian Maglie 8eae64181e Removed old prototype code from #2328 that is now in Base 2016-11-25 15:10:38 +01:00
Martino Facchin 2d1f49a077 Fix symlinks being replaced with files on save
Fixes #5478

Backported from Processing 0abee5af6a/app/src/processing/app/Util.java (L174)
2016-11-24 09:58:27 +01:00
Martino Facchin c209e33e97 Starting version 1.6.14 2016-11-23 10:48:13 +01:00
Cristian Maglie de65c3d89f Updated translations 2016-11-21 18:14:40 +01:00
Cristian Maglie 954941c0aa Updated string 2016-11-21 18:14:38 +01:00
Cristian Maglie 27d1b8d9a1 Merge branch 'windows-dpi-awareness' 2016-11-21 12:43:01 +01:00
Cristian Maglie 5b690b9b9e Win32: use legacy SHGetFolderPath if SHGetKnownFolderPath is not available
This ensure windows XP compatibility
2016-11-21 12:42:58 +01:00
Cristian Maglie 1f1092fb3a Removed debug messages in 39577072 2016-11-21 11:50:24 +01:00
Cristian Maglie 3957707218 Use Win10 API SetThreadDpiAwarenessContext to force DPI Awareness
This commit contains debug messages used for testing purposes.
2016-11-10 16:14:25 +02:00
Cristian Maglie 41092be596 Merge branch 'editor-refactor-fixup' 2016-11-09 14:25:45 +01:00
Cristian Maglie 650840381f Small cleanup, no code change 2016-11-07 14:51:25 +01:00
Cristian Maglie 5b4af28f47 Removed dead code 2016-11-07 14:47:33 +01:00
Cristian Maglie 5244daa5d1 Use the same Comparator to sort EditorTab and SketchFile 2016-11-07 12:13:30 +01:00
Cristian Maglie c35469ea81 Updated translations strings 2016-11-07 10:48:18 +01:00
Cristian Maglie 8c5b064956 Added error message if a referenced core is not found 2016-11-07 10:48:04 +01:00
Cristian Maglie 03225e787f Windows: Autodetection of display resolution 2016-11-04 10:23:49 +02:00
Cristian Maglie d63162b5a1 Added Platform.getSystemDPI() API 2016-11-04 10:23:48 +02:00
Cristian Maglie af70053218 Improved Plaftorm.openUrl(..) for Windows
If a local file is being opened, now the function tries to convert
the path into a URI. This seems to be a more reliable way to open file
on Windows 10 that has a more strict permission policy on cmd.exe.
2016-11-03 19:37:52 +02:00
Cristian Maglie 21ff728c59 Merge remote-tracking branch 'cmaglie/fix-win-paths' 2016-11-03 12:10:24 +01:00
Martino Facchin 12eb09f0b9 Fix NPE if referred core is nonexistent
Fixes #5502
2016-10-27 12:46:44 +02:00
Cristian Maglie 3af99c0847 Use Documents/ArduinoData when running as a Windows UWP
LocalAppData is restricted for Windows Apps, so we are forced to use
a document folder.
2016-10-19 16:28:21 +02:00
Cristian Maglie cb50ebc9c1 Slightly simplified argument passing to arduino-builder 2016-10-19 16:28:21 +02:00
Cristian Maglie 2856600463 Windows: Use Shell32 utility to determine known paths 2016-10-19 16:28:21 +02:00
Cristian Maglie cbf3cdcfbb Added Win32KnownFolders class 2016-10-19 16:28:21 +02:00
Cristian Maglie 7d9ec39ca9 Update jna.jar to 4.2.2 2016-10-19 16:28:20 +02:00
Cristian Maglie 31a9029c1d Updated i18n strings 2016-10-05 15:55:32 +02:00
Cristian Maglie 7883835b84 If an archive is corrupted (CRC error) retry the download
Previously the CRC error was quite annoying to recover because
the user needed to manually delete the corrupted file from the
staging folder (without knowing the exact path of the file to
remove).

Now the IDE tries autonomously to resolve the situation by
removing the file and downloading it again.

Fixes #5394 #4303
2016-10-05 12:56:40 +02:00
Cristian Maglie 653a05273d Check sanitaryName only on basename without extension
This regression originates from:

8725bb1e Clean up sketch loading

before this commit the sketch name sanitization was made on the sketch
name without the extension.
After 8725bb1e instead the name sanitization is made on the filename, so
including the ".ino" extension.

This lead to a weird corner case, caused by the limit of 63 characters
on the sketch name: before 8725bb1e it would be possible to save a sketch
with a name of exactly 63 characters, but after 8725bb1e this sketch will
suddenly becomes invalid becuase the 63 chars name + extension would exceed
the 63 characters limit.

This commit fix this regression.

Fix #5431
2016-10-03 17:00:08 +02:00
Martino Facchin 0a8e7a14f1 Make sure DiscoveryManager is not null when calling it
Solves #5413
2016-10-03 11:07:10 +02:00
Cristian Maglie ec2e9a642a Added all missing @Override annotations 2016-09-29 20:15:57 +02:00
Cristian Maglie 46dfd7603c Removed warning about accessing a non-accessible member of an enclosing type 2016-09-29 20:15:56 +02:00
Cristian Maglie bd7e76533a Removed redundant type specifiers for generics 2016-09-29 20:15:56 +02:00
Cristian Maglie 72a1d928b4 Removed useless cast 2016-09-29 20:15:56 +02:00
Cristian Maglie 4d579f7652 Removed extra semicolon 2016-09-29 20:15:56 +02:00
Cristian Maglie 53e456936d Silenced lint warnings in ContributedLibrary
Comparing strings with `==` operator triggers a lint4j warning.
This refactoring avoids the use of `thisVersion == otherVersion`.
2016-09-29 20:15:55 +02:00
Cristian Maglie 5c097c03c5 Fixed regression: trivial error on String comparison
Fix #5423

The regression has been introduced in:
72f815b Refactor file adding and renaming, and save as handling
2016-09-29 18:21:09 +02:00
Martino Facchin 69fd6debbd Starting version 1.6.13 2016-09-22 12:42:35 +02:00
Cristian Maglie e1c2d0dfcd Updated translations from transifex 2016-09-21 10:07:01 +02:00
Cristian Maglie 0ddc8e6300 Fixed wrong string check 2016-08-31 19:12:09 +02:00
Cristian Maglie 7d27c43ff2 Launch DiscoveryManager after populating indexes 2016-08-31 19:11:24 +02:00