Cristian Maglie
4ae740ad66
PluggableDiscovery: BoardPort.label sanity check in the correct place
2019-01-23 13:51:41 +01:00
Cristian Maglie
4c188c9374
PluggableDiscovery: Factored out method to umarshal BoardPort from JSON
2019-01-23 13:51:41 +01:00
Cristian Maglie
8e9f0cfd76
PluggableDiscovery: added a 'port' field in json messages
...
The new format of 'add' and 'remove' actions is changed from:
{
"eventType": "add",
"address": "/dev/ttyACM0",
"label": "/dev/ttyACM0",
"prefs": {
"vendorId": "0x2341"
"productId": "0x0043",
"serialNumber": "85235353137351018160",
},
"identificationPrefs": {
"vid": "0x2341"
"pid": "0x0043",
},
"protocol": "serial",
"protocolLabel": "Serial Port"
}
to:
{
"eventType": "add",
"port": {
"address": "/dev/ttyACM0",
"label": "/dev/ttyACM0",
"prefs": {
"vendorId": "0x2341"
"productId": "0x0043",
"serialNumber": "85235353137351018160",
},
"identificationPrefs": {
"vid": "0x2341"
"pid": "0x0043",
},
"protocol": "serial",
"protocolLabel": "Serial Port"
}
}
2019-01-23 13:51:41 +01:00
Cristian Maglie
7186213034
Slightly changed pluggable discovery json parsing
...
The json input is now parsed into a JsonTree that can probed for the
'eventType' node value so we can understand the type of message to
decode to.
2019-01-23 13:51:41 +01:00
Cristian Maglie
349af4b5cf
Added BoardPort.protocolLabel and simplified port menu rendering
2019-01-23 13:51:41 +01:00
Cristian Maglie
c03a8bc175
Minor fix in indentation and style
2019-01-23 13:51:41 +01:00
Cristian Maglie
cfd3cf2b27
Use correctly the setBoardName() method in NetworkDiscovery
2019-01-23 13:51:41 +01:00
Cristian Maglie
9ba172b0db
Show BoardName.boardName field in 'Ports' menu
...
...instead of putting it into the 'label' field during discovery.
2019-01-23 13:51:41 +01:00
Cristian Maglie
ec4787a92b
Fixed board identification in BoardPort
2019-01-23 13:51:41 +01:00
Cristian Maglie
5bc96652e6
Slightly optimized method by removing redundant boolean flag
2019-01-23 13:51:41 +01:00
Cristian Maglie
80fb9a0b38
Optimized forceRefresh() method by removing redundant boolean paramater
2019-01-23 13:51:41 +01:00
Cristian Maglie
3ccb2d97e1
Merged SerialDiscovery and SerialBoardLister
...
They perform basically the same task, SerialDiscovery just used to proxy
the calls to SerialBoardLister
2019-01-23 13:51:41 +01:00
Cristian Maglie
8d6fa72667
Removing fixed fields in BoardPort
2019-01-23 13:51:41 +01:00
PaulStoffregen
d7143d6859
Add BoardPort identificationPrefs and searchMatchingBoard
2019-01-23 13:51:41 +01:00
PaulStoffregen
05092bf17f
Move BoardPort fixed fields into prefs
2019-01-23 13:51:41 +01:00
PaulStoffregen
e029acc699
Add PluggableDiscoveryMessage for BoardPort change metadata
2019-01-23 13:51:41 +01:00
PaulStoffregen
b6066573b9
PluggableDiscovery check for START_SYNC not supported
2019-01-23 13:51:41 +01:00
PaulStoffregen
5ba56abc80
Initial PluggableDiscovery using BoardPort for JSON
2019-01-23 13:51:41 +01:00
PaulStoffregen
f5bf6e5e7a
Add BoardPort copy constructor
2019-01-23 13:51:41 +01:00
Cristian Maglie
f81798badf
Pluggable discovery: search in platform.txt (WIP)
2019-01-23 13:51:41 +01:00
Martino Facchin
e9ecaa70f7
Check for containing folder existence before listing files
...
Fix #8389
2019-01-18 10:12:16 +01:00
Cristian Maglie
f52fc1fb5e
Slightly improved DownloadableContributionVersionComparator
2019-01-14 17:27:34 +01:00
Sandeep Mistry
b3b62d0c44
Only display touch bar on macOS 10.12 and higher ( #8281 )
2018-12-11 09:37:41 -05:00
Martino Facchin
56f0e96912
Starting 1.8.9
2018-12-06 15:12:00 +01:00
Cristian Maglie
09158c6d7f
updated translations
2018-12-05 12:17:48 +01:00
Cristian Maglie
503ebd6a48
Fixed possible NPE
2018-11-27 17:06:18 +01:00
Martino Facchin
ffba05fd31
Refactor port selection after 1200bps touch upload
...
New behaviour:
if upload failed or we are uploading through a "Programming" port (that does not disappear), leave the user selected port selected.
if upload succeded and we are using 1200bps touch, wait for the first port that reappears, and if nothing reappears after the timeout select the bootloader port.
Fixes #https://github.com/arduino/Arduino/issues/3495
2018-11-27 16:54:21 +01:00
Cristian Maglie
210d3b3613
Updated translations
2018-11-23 16:03:38 +01:00
Martino Facchin
c1d9c588b5
Merge pull request #8184 from facchinm/kill_programmer_at_exit
...
Kill active programmer if still alive after closing last IDE window
2018-11-23 12:07:13 +01:00
Cristian Maglie
cede26883e
Fix 'Select port on upload' error message
2018-11-14 17:41:34 +01:00
Cristian Maglie
2397e1e8c2
Added StringReplacer.checkIfRequiredKeyIsMissingOrExcept helper method
2018-11-14 17:41:34 +01:00
Cristian Maglie
5428420e0a
Refactor: removed useless parameter from StringReplacer.formatAndSplit
2018-11-14 17:41:34 +01:00
Cristian Maglie
0a0d3c88e0
Refactor: simplified bool prefs retrieval
2018-11-14 17:41:34 +01:00
Cristian Maglie
7adeef1ee3
Refactor: simplified TargetBoard retrieve
2018-11-14 17:41:34 +01:00
Cristian Maglie
b6132e8532
Removed dead-code in comments
2018-11-14 17:41:34 +01:00
Martino Facchin
b71a4969af
Kill active programmer if still alive after closing last IDE window
...
Fixes https://github.com/arduino/Arduino/issues/7498
2018-11-08 18:08:58 +01:00
Cristian Maglie
afc0e0240e
Override desktop check when setting look and feel on linux
...
The swing UIManager class detects the correct look and feel settings by
looking inside the `sun.desktop` system property, here's the extract of
the JDK:
String desktop = AccessController.doPrivileged(new GetPropertyAction("sun.desktop"));
Toolkit toolkit = Toolkit.getDefaultToolkit();
if ("gnome".equals(desktop) &&
toolkit instanceof SunToolkit &&
((SunToolkit) toolkit).isNativeGTKAvailable()) {
// May be set on Linux and Solaris boxs.
return "com.sun.java.swing.plaf.gtk.GTKLookAndFeel";
}
Since we want always the GTK look and feel (even if the desktop is not
strictly a GNOME desktop) we force the `sun.desktop` property always to
`gnome`.
2018-11-05 11:46:49 +01:00
Cristian Maglie
045877094b
Fix LookAndFeel loader
...
Fix #8119
Close #8122
2018-11-05 11:46:49 +01:00
per1234
5217912d58
Start Arduino IDE 1.8.8
2018-11-03 06:56:41 -07:00
Cristian Maglie
db2dd8f003
Download indexes using https instead of http
2018-10-24 16:20:04 +02:00
Cristian Maglie
b7728beb52
Updated translation strings
2018-10-08 12:57:25 +02:00
Cristian Maglie
8ba209a64d
Improved PreferencesMap toString output
2018-09-28 01:42:41 +02:00
Cristian Maglie
6da3e5fe20
Updated translations
2018-09-11 16:22:10 +02:00
Cristian Maglie
9c4d52c50a
Release 1.8.7
2018-09-10 14:45:54 +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
0951efb711
Updated i18n resources with new strings
2018-09-06 16:01:19 +02:00
Cristian Maglie
2fa42dc08e
Updated translations
2018-09-06 16:01:19 +02:00
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
PaulStoffregen
e6bf0f24eb
Delete leftover comments & question
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
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
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
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
Cristian Maglie
4f1ff2a42f
Update translations
2018-08-23 10:47:39 +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
Cristian Maglie
4b59dbae24
Removed unused function
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
Cristian Maglie
3a3bc5be84
Ignore empty "includes" field in library.properties
...
This allows to avoid empty include lines like:
#include <>
for libraries declaring:
includes=
in their library.properties file.
Fix #7854
2018-08-08 14:49:49 +02:00
Cristian Maglie
1db3aabaab
Added collector to LibraryList
2018-05-27 13:38:14 +02: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
Cristian Maglie
60021c1e63
Library search now works also for headers (.h) provided by libraries
...
Fixes #7604
2018-05-22 16:28:52 +02:00
Cristian Maglie
d4a12205fa
Highlight 'fatal' errors during build
...
Fix #7614
2018-05-21 17:01:16 +02:00
Cristian Maglie
901d8c77fe
Fixed UpdatableLibrarieyTest
2018-05-21 12:04:01 +02:00
Cristian Maglie
8dd9a3e999
If a language resource is missing, fallback to system default
2018-05-21 11:28:36 +02:00
Cristian Maglie
a64d1cbeb1
Fixed Override warning
2018-05-21 11:28:09 +02:00
Cristian Maglie
b4efa5589b
Moved cc.arduino.i18n.Language* classes in arduino-core project
2018-05-21 11:27:53 +02:00
Cristian Maglie
b70e876c0c
Removed et_EE localization.
...
Fix #4747
2018-05-21 10:43:19 +02:00
Cristian Maglie
ada9e50b64
Updated translations
2018-05-21 10:39:59 +02:00
Martino Facchin
2d6e974b12
Removed useless classpaths from eclipse project file
2018-05-21 10:25:53 +02:00
Cristian Maglie
77ec25de61
Fixed NPE when setting Types field in core-libraries
...
The core libraries may come from platforms installed inside the
"sketchbook/hardware" directory. Those platforms are not indexed
and doesn't have a category field to propagate in the core-libraries.
2018-05-21 10:00:47 +02:00
Cristian Maglie
3bce82092e
Command line: added more verbosity and made output coherent
2018-05-17 09:14:25 +02:00
Cristian Maglie
246cf6edd8
Added installed lib priority comparator
...
This clearly defines the usage priority for installed libraries.
2018-05-17 09:14:25 +02:00
Cristian Maglie
9f15b0d7ab
Removed TypePredicate
2018-05-17 09:14:25 +02:00
Cristian Maglie
ac570c50bd
UserLibrary: ensure that types field is always not-null
2018-05-17 09:14:25 +02:00
Cristian Maglie
20bc297151
Removed LibraryWithName predicate
2018-05-17 09:14:25 +02:00
Cristian Maglie
43c22686de
Removed IsLibraryInstalledInsideCore predicate
2018-05-17 09:14:25 +02:00
Cristian Maglie
b3d01d8281
Moved install-related fields out of DownloadableContribution
...
Those fields have a slightly different meaning on each object that
extends DownloadableContribution and having them grouped in
DownloadableContribution only increase confusion in change of a
(very) tiny code reuse.
Moreover:
- the `readOnly` field has been renamed to `builtIn`
- predicates have been replaced by lambdas
- DownloadableContributionBuiltInAtTheBottomComparator has been replaced
with a singleton instance
2018-05-17 09:14:25 +02:00
Cristian Maglie
ac6d3c1aff
Core and ref-Core libraries are not handled by the library manager.
2018-05-17 09:14:25 +02:00
Cristian Maglie
926b73b538
Unified method for selection of IDE_BUNDLED libraries
...
Libraries installed in the sketchbook have priority over the
bundled.
2018-05-17 09:14:25 +02:00
Cristian Maglie
b03a9af19a
ContributedLibraryReleases: removed getLibrary() method
...
this method is now useless
2018-05-17 09:14:25 +02:00
Cristian Maglie
8c6e39735d
Refactored ContributedLibraryReleases
...
Mostly simplified and improved readability.
2018-05-17 09:14:25 +02:00
Cristian Maglie
5cc66e9715
Moved ContributedLibraryReleases in arduino-core
2018-05-17 09:14:25 +02:00
Cristian Maglie
d5d9b217a1
Removed unused method BaseNoGui.getUserLibs()
2018-05-17 09:14:25 +02:00
Cristian Maglie
62882e0a4d
Fixed LibrariesIndex.getInstalled(..) method
2018-05-17 09:14:25 +02:00
Cristian Maglie
31de5b61c1
Slightly simplified scanLibrary method
2018-05-17 09:14:25 +02:00
Cristian Maglie
2374d9d1bd
Introducing UserLibraryFolder
...
This class allows to attach a Location property to a folder
path, this way we directly know if a library is in the sketchbook,
core, referenced-core or bundled in the IDE.
This simplify a lot of logic in the IDE.
2018-05-17 09:14:25 +02:00
Cristian Maglie
e896595214
UserLibrary doesn't extend ContributedLibrary anymore
...
ContributedLibrary is used to decode library_index.json and it's
intended to keep data coming only from the index.
Now, when the library_index is synced with the filesystem, the
metadata about installed libraries are kept in a separate list
to not mess up with the main index.
2018-05-17 09:14:25 +02:00
Cristian Maglie
482b905a62
Using Optional<T> semantics for 'replacedLib' in LibraryInstaller
...
Optional<T> helps to not forget to check about nullness where it is
needed.
This commit should be equivalent and shouln't fix any bug, BTW the
Optional<T> semantic turns out to be useful in the next commits.
Possibly all nullable values will be replaced by Optional in the
future.
2018-05-17 09:14:25 +02:00
Cristian Maglie
f111905da6
Removed a lot of useless equals overrides.
...
Those introduces a very convoluted logic that is needed only in
two cases. Moreover those are better handled by directly checking
the object.
2018-05-17 09:14:25 +02:00
Cristian Maglie
cd3639a574
Print error if library.index is not parsed. Update index only after successful parsing.
2018-05-17 09:14:25 +02:00
Cristian Maglie
d285b7fdc9
Improved VersionComparator API
2018-05-17 09:14:25 +02:00
Cristian Maglie
bf1b523854
Removed installedLibrariesWithDuplicates since it's no more used
2018-05-17 09:14:25 +02:00
Cristian Maglie
8bb20e0402
Made UserLibrary.toString() more concise
2018-05-17 09:14:25 +02:00
Martino Facchin
7bef3d549b
[Win] Move recoverDefaultSketchbookFolder after init() stage
...
Solves #7097 ; the user will be prompted if default sketchbook folder doesn't exist.
If needed, the exception will be thrown by getDefaultSketchbookFolder() as in Linux/OSX implementations.
2018-05-10 10:54:54 +02:00
Cristian Maglie
2160bd3245
Removed useless entries in arduino-core/.classpath
2018-05-08 16:40:44 +02:00
Cristian Maglie
c81de4fead
Win: Removed DPI detection debug output
2018-05-03 15:50:10 +02:00
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 b2241dadf8
)
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