1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00
Commit Graph

6880 Commits

Author SHA1 Message Date
Martino Facchin
4b6b8f0c52 update arduino-builder to 1.4.2 2018-12-19 18:04:05 +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
30e1466590
Merge pull request #8289 from arduino/compiler-log-charset-issue
Fixed incorrect encoding of compiler log
2018-12-11 14:04:55 +01:00
Gianluca Varisco
0b68856999 Fixed incorrect encoding of compiler log
This commit fixes #8212 by passing '-Dfile.encoding=UTF8' to the
arduino.l4j.ini file (windows launcher).

This property define the file encoding that is required.
2018-12-11 13:49:58 +01:00
Martino Facchin
3f2635717a Enable bundled JRE for ARM64
Experimental, should allow ARM64 build to become more or less official from the next version.
The bundled JRE is AdoptOpenJDK's 8u191 (https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u191-b12/OpenJDK8U-jre_aarch64_linux_hotspot_8u191b12.tar.gz) which we are actively evaluating to replace Oracle's.
2018-12-06 15:12:00 +01:00
Martino Facchin
56f0e96912 Starting 1.8.9 2018-12-06 15:12:00 +01:00
Martino Facchin
41f30a0791 [Linux] Add 1.8.8 to appdata.xml 2018-12-06 15:11:31 +01:00
Martino Facchin
5f9c230146 Update WiFi101Updater to 0.10.4 2018-12-06 11:18:28 +01:00
Cristian Maglie
a5f6a407e8 Updated Servo lib to version 1.1.3 2018-12-05 12:36:10 +01:00
Cristian Maglie
f4eb249010 Updated SD lib to version 1.2.3 2018-12-05 12:23:53 +01:00
Cristian Maglie
09158c6d7f updated translations 2018-12-05 12:17:48 +01:00
Cristian Maglie
073458d1bb Update revision log 2018-12-05 12:03:57 +01:00
Martino Facchin
d7963f04c5 Add scroller to INCOMPATIBLE examples menu
You need A LOT of libraries to trigger this :)
2018-11-30 11:54:57 +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
Martino Facchin
4d26ec85e6 Make "Export compiled binary" comply with specifications 2018-11-27 15:09:10 +01:00
Cristian Maglie
210d3b3613 Updated translations 2018-11-23 16:03:38 +01:00
Martino Facchin
c311a94e7b
Merge pull request #8023 from facchinm/new_behaviour_osx_close
[macOS] Modify behaviour when last editor gets closed
2018-11-23 12:41:01 +01:00
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