Martino Facchin
36da22c086
[macOS] Modify behaviour when last editor gets closed
...
Don't call System.exit() but trust the ThinkDifferent handler
Handle reopen only if no editor is visible
Don't dispose last closing editor (so its toolbars are still in active state)
2018-11-23 12:39:54 +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
Georges A
8309fb2428
typo: renamed showPrerefencesData to showPreferencesData
2018-11-21 12:04:58 +01:00
Sandeep Mistry
9818dcf20a
Update WiFi firmware updater to 0.10.3
2018-11-16 13:25:40 -05:00
Cristian Maglie
3e9a3ec743
Fixed CommandLineTest.testCommandLineVersion
2018-11-16 12:34:04 +01:00
Cristian Maglie
ff952fc053
Fixed VersionHelperTest
2018-11-16 12:33:38 +01:00
Cristian Maglie
c3c08e5d79
Added tests for AbstractTextMonitor "Show Timestamp" function
2018-11-16 11:11:35 +01:00
Cristian Maglie
4b7c7e886c
Replaced UpdateTextAreaAction with a lambda that performs a method call
...
The overhead is negligible and this design simplifies a lot the class
structure. More discussion here:
https://github.com/arduino/Arduino/pull/8088#issuecomment-433727423
2018-11-16 11:11:35 +01:00
nitram509
c2f324508f
Fix issue #8055 missing timestamps on serial monitor
2018-11-16 11:11:35 +01:00
Cristian Maglie
994ce8d21d
Added missing jars in launcher
...
Fix #8202
2018-11-15 21:49:46 +01:00
Cristian Maglie
b5bfe08bd2
Better error for 'no serial ports available'
...
See https://github.com/arduino/Arduino/pull/8194#issuecomment-438180384
2018-11-14 17:41:34 +01:00
Cristian Maglie
2647ce36ea
Editor: fixed port ordering in tools menu
2018-11-14 17:41:34 +01:00
Cristian Maglie
d5e0e59fcf
Editor: the serial port selection dialog now works
2018-11-14 17:41:34 +01:00
Cristian Maglie
12b38c5fcd
Nicer serial port selection dialog box
2018-11-14 17:41:34 +01:00
Cristian Maglie
fd1b598ea2
Show port on status bar only when selected
2018-11-14 17:41:34 +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
3f79d129bb
Refactor: Removed code duplication in Export(App)Handlers
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
Sandeep Mistry
df9c25692d
Only load Touch Bar images once
2018-11-14 17:14:50 +01:00
Sandeep Mistry
17a60f4e3d
Allow customization
2018-11-14 17:14:50 +01:00
Sandeep Mistry
d4d7062391
Add macOS Touch Bar support
2018-11-14 17:14:50 +01:00
Sandeep Mistry
f09bb9dfcd
Update WiFi firmware updater to 0.10.2
2018-11-13 12:55:04 -05: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
Martino Facchin
e1a5be7354
Cleanup IDE quit()
...
There were two different routines andling more or less the same operations.
Let the IDE call "real" quit when the last Editor windows is being closed.
2018-11-08 18:07:33 +01:00
Geert Roumen
799879e8ae
Made the Mangler file compile again
...
The .getCurrentTab() was missing, and for some reason it wouldn't compile with the isSelectionActive() , while I did find the file in https://github.com/arduino/Arduino/blob/master/app/src/processing/app/syntax/SketchTextArea.java . But at least people can compile it after these changes
2018-11-05 12:17:08 +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
52706f56a5
Add keywords for avr-libc math functions/macros
2018-11-05 11:45:46 +01:00
Martino Facchin
871fe6632b
Merge pull request #8166 from per1234/start-1_8_8
...
Start Arduino IDE 1.8.8
2018-11-05 09:47:19 +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
edb707378f
makeup: call I18n.format using static imports in Base class
2018-10-08 12:56:22 +02:00
Cristian Maglie
6a1c1f4df9
Invalid use of toString in Optional<Version>
...
It should be used on the actual Version.
Fix #8034
2018-10-08 11:53:33 +02:00
Martino Facchin
d3cb01424f
Provide actual string to findPlatform for Optional<Version>
...
Fix https://github.com/arduino/Arduino/issues/8034
2018-10-08 09:53:36 +02:00
Martino Facchin
187cfb2d44
Update WiFi firmware updater to 0.10.0
...
Adds support for NINA based boards (Beta)
2018-10-05 10:30:27 +02:00
Cristian Maglie
8ba209a64d
Improved PreferencesMap toString output
2018-09-28 01:42:41 +02:00
Martino Facchin
617430a72f
Update liblistSerials to 1.4.2
2018-09-17 11:39:00 +02:00
Cristian Maglie
6da3e5fe20
Updated translations
2018-09-11 16:22:10 +02:00
Matthijs Kooijman
c18f679f34
Add instructions for migrating commits to ArduinoCore-avr
2018-09-10 17:37:17 +02:00
Polymetric
ae8ddd6499
Create README in hardware folder
...
The contents of the `hardware/` folder were moved, but it wasn't obvious
straight away from looking at the repository. This makes it immediately
obvious for anyone looking for something in this folder.
2018-09-10 17:37:17 +02:00
Cristian Maglie
354c769471
update revision log
2018-09-10 15:53:15 +02:00
Cristian Maglie
9c4d52c50a
Release 1.8.7
2018-09-10 14:45:54 +02:00
Martino Facchin
e42faa6b93
Update bundled avr core to 1.6.23
2018-09-10 12:03:36 +02:00
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