Martino Facchin
f15ddeb846
Update rsyntaxtextarea to 3.0.2
...
The name is misleading since 3.0.2 had been officially released (but the filename is totally wrong).
The jar comes from https://netcologne.dl.sourceforge.net/project/rsyntaxtextarea/rsyntaxtextarea/3.0.2/rsyntaxtextarea-3.0.2.zip
Fixes #7861
2019-01-18 09:51:46 +01:00
Cristian Maglie
f5f8b7f29c
Renamed wrong named variable
2019-01-14 16:53:47 +01:00
Martino Facchin
2efd090e81
Remove last editor window after saving its properties
...
Only OSX needs the "app" to stay open after handleQuit and to remove the editor windows when called.
Fixes #8337
2019-01-02 10:24:53 +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
d7963f04c5
Add scroller to INCOMPATIBLE examples menu
...
You need A LOT of libraries to trigger this :)
2018-11-30 11:54:57 +01:00
Martino Facchin
4d26ec85e6
Make "Export compiled binary" comply with specifications
2018-11-27 15:09:10 +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
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
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
3f79d129bb
Refactor: Removed code duplication in Export(App)Handlers
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
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
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
Cristian Maglie
ddbe80b3fa
Update library list model after a round of library_index.json update
2018-09-06 11:57:21 +02:00
Cristian Maglie
3dfe85916c
Preserve boards.txt custom menu order.
...
Fix #7955
2018-09-04 10:31:36 +02:00
PaulStoffregen
4ccf9bbd90
Show a helpful message when no Port is selected
2018-09-03 16:39:39 +02:00
Cristian Maglie
5f9ff25b3c
Added missing update to jssc lib
2018-09-03 13:29:42 +02:00
Martino Facchin
6080907ba3
Update jscc to 2.8.0-arduino2 (aarch64 support)
2018-08-28 17:53:04 +02:00
Martino Facchin
2f3a561c61
Fix rebuild being triggered on every menu open()
...
Fixes #7924
JRE 8u161 made JMenu.insert() MUCH slower on OSX.
This exposed a bug lurking there for years; in fact the menu entries were rebuilt every time since JMenu.getComponent() returns an empty list.
The correct function is JMenu.getMenuComponents().
In the meantime, also remove sketchbookMenu and examplesMenu being deleted on board change; only their content needs to be updated, not the container itself.
2018-08-27 16:22:42 +02:00
Martino Facchin
49cd9b57dd
Fix check for wrong submenu
2018-08-27 16:20:20 +02:00
Cristian Maglie
d97147826e
Serial monitor timestamp: add the arrow ' -> ' to the timestamp format
...
This saves another "append" call while streaming.
2018-08-23 10:46:32 +02:00
Cristian Maglie
986d67f1d9
Serial monitor timestamp: cache newline status
...
This saves an access to the Document object (as well as a bunch
temporary object allocations).
2018-08-23 10:46:32 +02:00
Cristian Maglie
8128525e83
Improve performance on serial monitor 'Show timestamp'
...
This patch dramatically reduce pressure on heap memory:
- use a StringTokenizer instead of the very slow String.split(...)
method to decode newlines. This avoid allocation/deallocation of
big strings array and use of regexp.
- pre allocate as many object as possible to avoid new allocation
while streaming data.
- the "timestamp" string is calculated only once per iteration.
- use StringBuilder instead of inline temporary strings (that are,
again, allocated and deallocated on each iteration)
2018-08-23 10:46:32 +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
4700cc3d27
Transformed some ActionListener anonumous class into lambdas
...
No code change
2018-08-15 17:23:04 +02:00
Cristian Maglie
2988136f97
Added alternative key binding for "Increase Font Size"
...
This commits adds the "CTRL SHIFT =" as key to increase font size.
The old shortcut "CTRL +" is still active, but it's not always
possible to produce it if the keyboard layout doesn't have the + key
on the base layer.
This add the possibility to compose "CTRL +" when the keyboard has
the "+" available as "SHIFT =", that seems to be very common in
many layouts.
Fix #6806
2018-08-15 17:22:47 +02:00
Cristian Maglie
1a576dd468
Fixed wrong keybinding for "Increase Font Size"
...
See https://github.com/arduino/Arduino/issues/6806#issuecomment-335044967
2018-08-15 00:11:41 +02:00
Cristian Maglie
60146b3d7d
Fixed unused import warnings
2018-08-14 22:01:04 +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
Jose Juan Juarez Monsivais
9d904dad31
Fixed the bug that doesn't updates the title when an example sketch is saved
2018-08-10 10:50:43 +02:00
Martino Facchin
f2b9328d30
Fix build by restoring onIndexesUpdated override
2018-07-19 10:08:32 +02:00
Martino Facchin
0ee0fcc018
[Lib manager] Fix only member being rendered incorrectly if filter active and update/install
2018-07-18 14:31:17 +02:00
Martino Facchin
fa51a39b58
Fix SerialMonitor and SerialPlotter lifecycles
...
Fixes #7683
When the selected serial port is busy both monitors now avoid displaying a useless window, cleaning the status area once the open succeeds.
2018-06-12 10:41:45 +02:00
Cristian Maglie
a76588cf5d
Added newline at the end of --version output
...
See #7549
2018-05-22 17:48:29 +02:00