Matthijs Kooijman
957331299b
Use Actions to simplify the EditorHeader popup menu building
...
Instead of defining JMenuItems, setting accelerator keys, and attaching
an ActionListener inline, this first defines a list of actions (with a
name, optional accelerator key and using a lambda as the action
listener). Then menu items are added, that simply refer to the
previously defined actions.
The actions are defined in a inner class named Actions, of which one
instance is created. This allows grouping the actions together inside
the `actions` attribute, and allows external access to the actions (in
case the same action is present in multiple menus, or otherwise
performed from other places). This might not be the best way to expose
these actions, and perhaps they should be moved elsewhere, but for now
this seems like a good start.
This adds new helper classes SimpleAction, to allow more consisely
defining Action instances, and a new class Keys, to allow consisely
defining keyboard shortcuts.
2015-12-11 19:31:15 +01:00
Matthijs Kooijman
8c176e7429
Remove some old, commented out code
2015-12-11 16:16:01 +01:00
Matthijs Kooijman
f9e1dbd484
Remove unused method
2015-12-11 16:16:01 +01:00
Federico Fissore
66117a5cc0
Burn Bootloader was run in the UI thread, avoiding intermediate messages to be printed to IDE console
2015-12-03 11:09:50 +01:00
Federico Fissore
321f589b0f
Reduced "scroll down" timer of ConsoleOutputStream back to 100ms
2015-12-02 16:41:15 +01:00
Federico Fissore
f9c80816aa
Halved "scroll down" timer of ConsoleOutputStream
2015-12-01 16:39:17 +01:00
Federico Fissore
e224698ecf
Files weren't deleted from temp unsaved sketch folder. Fixes #4233
2015-11-30 10:17:29 +01:00
Federico Fissore
aaebb0a4d6
Stored some regexps in static finals, given names to threads, and slightly
...
optimized ConsoleOutputStream
2015-11-27 15:07:44 +01:00
Federico Fissore
6855e91883
Fixed various Board/Library managers glitches, in particular when removing/upgrading
2015-11-24 16:14:16 +01:00
Federico Fissore
4f3415279c
Boards manager: when upgrading, first remove, then install
2015-11-24 10:54:29 +01:00
Federico Fissore
7dd6e8f57d
Windows: proper, non blurry, icon displayed. Fixes #3473
2015-11-24 09:53:27 +01:00
Federico Fissore
ceef83dbb9
Libraries that contain type "Arduino" are now listed at the top. Fixes #4195
2015-11-23 16:15:37 +01:00
Federico Fissore
bfeb994974
Moved ContributedLibraryReleases out of LibrariesIndexTableModel and introduced its own special comparator. Will help with #4195
2015-11-23 16:06:32 +01:00
Federico Fissore
7e9f19c43b
MacOSX: faster startup, fixed double clicking on a .ino file. Fixes #4057
2015-11-20 11:02:52 +01:00
Federico Fissore
1862827c25
Portable folder can now be set to any arbitrary path, not just subfolders
...
of "portable". Fixes #4103
2015-11-19 13:43:49 +01:00
Federico Fissore
20ddeb0fe3
Updated translations
2015-11-18 17:27:51 +01:00
Federico Fissore
b450a2743e
Allowing boards/libs types and categories to be translated. Fixes #3646
2015-11-18 17:27:35 +01:00
Federico Fissore
846b8216c8
Merge pull request #4022 from henningpohl/multiplot
...
Added functionality to plot multiple signals at the same time
2015-11-18 14:28:05 +01:00
Federico Fissore
d0bd09c8d3
Saving caret position when using external editor, attempting to restore it on window activation. Fixes #4155
2015-11-17 17:27:34 +01:00
Federico Fissore
1328f3a9e2
Library and Boards Managers were using old copies of library/boards indeces. thus making the UI show old data. Fixes #4139 #3904 #3795
2015-11-17 12:24:28 +01:00
Martino Facchin
10e8480d3d
Increase SerialMonitor reopening timeout to 10 seconds
2015-11-13 16:59:50 +01:00
Cristian Maglie
ab61ab92fd
Removed superfluous @SuppressWarnings
2015-11-13 14:52:36 +01:00
Federico Fissore
375146cd91
Increasing Recent files list from 5 to 10 elements. Fixes #4131
2015-11-11 10:20:57 +01:00
Federico Fissore
2e80ee5bbd
Testing translation for proper formatting. This test will fail when a
...
translation uses wrong syntax, thus avoiding any future issue similar to #4095
2015-11-06 17:24:26 +01:00
Federico Fissore
53987f9db9
Windows: msvc*.dll are not found when loading AStyle.dll. Forcing load.
...
Fixes #4076
2015-11-06 13:41:59 +01:00
Federico Fissore
77c3d3eaa8
Carriage return is not properly handled by EditorConsole, better replace it with a new line
2015-11-03 13:17:26 +01:00
Federico Fissore
152aa595ec
Updated splash screen
2015-11-03 13:09:30 +01:00
Federico Fissore
31e8706cf4
Update notification popup was not sticking to bottom left corner when windows was resized. Fixes #4068
2015-11-03 09:03:32 +01:00
Henning Pohl
7d78a9c07e
Also allow tabs as value delimiters
2015-11-02 13:12:11 +01:00
Federico Fissore
320dcef67e
FindReplace: setting default button each time the window is made visible, because Find button was let unselected with subsequent Edit>Find clicks on Windows. Fixes #3959
2015-11-02 12:44:35 +01:00
Federico Fissore
f5c3136b34
'Partner' libs moved above 'Contributed'. Fixes #4060
2015-11-02 12:13:52 +01:00
Federico Fissore
e5252e3031
Slightly improved how EditorConsole works
2015-10-30 15:31:58 +01:00
Federico Fissore
648625deb5
Revised DiscourseFormat to handle multiline comments. Also cleaned up code. Fixes #3970
2015-10-28 15:12:52 +01:00
Federico Fissore
3d3fc08993
Made findreplace dialog NOT resizable
2015-10-28 11:19:13 +01:00
Federico Fissore
97ed162618
It was impossible to save a sketch with its default name. Fixed
2015-10-28 10:48:49 +01:00
Federico Fissore
421508268c
Removing highlight when autoformatting. Fixes #3988 .
...
Current highlighting logic is a bit buggy: see https://github.com/bobbylight/RSyntaxTextArea/issues/150 .
2015-10-26 19:41:09 +01:00
Henning Pohl
fe96ab9f44
Added functionality to plot multiple signals at the same time
2015-10-23 18:18:42 +02:00
Cristian Maglie
9f5efe210a
Removed a bunch of unused variables
2015-10-20 18:38:34 +02:00
Cristian Maglie
869137469c
Silence unused warning in I18N class
2015-10-20 18:37:59 +02:00
Cristian Maglie
2eaa6ff937
Removed unused imports
2015-10-20 18:29:40 +02:00
Federico Fissore
9af0eee338
Fail to save sketch if user attempts to save it with the same name of one of its tabs, excluding the first. Fixes #3914
2015-10-07 15:17:28 +02:00
Paul Stoffregen
3f1b23bf61
Merge pull request #3847 from PaulStoffregen/keywords_per_platform
...
Allow per-platform keywords.txt
2015-09-28 05:11:14 -07:00
Federico Fissore
fd79bfe8c9
Implemented Go to Line menu and shortcut CTRL+L. Fixes #976
2015-09-25 16:13:42 +02:00
Federico Fissore
befd7d42be
OSX: attempting to draw a black dot in the upper left red button. Fixes #3816
2015-09-24 16:44:07 +02:00
PaulStoffregen
46cfb7f2d4
Allow per-platform keywords.txt
2015-09-23 05:43:14 -07:00
Federico Fissore
dbefad28e1
Examples from some libs have been retired
2015-09-22 09:10:29 +02:00
Federico Fissore
de8fcc9eb0
Examples menu: added group title. Fixes #3725
2015-09-21 15:31:22 +02:00
Federico Fissore
6128dace42
Removed some old code, including PdePreprocessor and OldCompiler
2015-09-21 15:20:31 +02:00
Federico Fissore
4f2621bd31
Updated translations. Some new languages graduated
2015-09-21 11:07:36 +02:00
Federico Fissore
53408063a4
Boards support and Library update check can be disabled from File > Preferences
2015-09-18 16:41:26 +02:00