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

1482 Commits

Author SHA1 Message Date
Cristian Maglie
61f11f60e1 Factored out logic to retrieve editor placement
The check for "resolution-changed" is performed when an editor
location is retrieved from preferences. This commit rationalize
access to PreferencesData and prepares for the next improvement.
2016-01-22 18:06:09 +01:00
Cristian Maglie
f5f478ced6 Factored out method to save sketch location 2016-01-22 18:06:08 +01:00
Cristian Maglie
c98c18089d Save window position when closing app from "x" button or Alt+F4
Fix #4404
Fix #4218
2016-01-22 18:06:08 +01:00
Cristian Maglie
2c089044c8 Small cosmetics 2016-01-22 18:06:08 +01:00
Matthijs Kooijman
3d47995915 Remove unused imports
This silences some java warnings.
2016-01-21 17:18:55 +01:00
Cristian Maglie
9e5dc5ce3b Merge branch 'renaming' of https://github.com/matthijskooijman/Arduino 2016-01-19 13:53:50 +01:00
Hasso Tepper
d05b375810 Fix some incorrect I18n.format()/tr() usage 2016-01-18 09:47:05 +02:00
Cristian Maglie
870171a69e Fix bug in serial plotter for negative values
Fix #4365
Fix #4292
2016-01-08 12:16:09 +01:00
Cristian Maglie
232f434ca8 Updated translations for translators 2016-01-05 12:54:17 +01:00
Cristian Maglie
d1455a070d Added Thai language 2016-01-05 12:25:18 +01:00
Hasso Tepper
d2277fc1c7 Convert message to single string to ease a translation 2016-01-04 20:08:03 +02:00
Hasso Tepper
531248a474 Make editor statusline text translatable 2016-01-03 23:41:40 +02:00
Cristian Maglie
16c4701802 Rename Contributed*TableCell to Contributed*TableCellJPanel 2015-12-29 16:01:34 +01:00
Cristian Maglie
a7e22e1958 Some minor cosmetics 2015-12-29 16:01:34 +01:00
Cristian Maglie
2b9483b6e6 Extract ContributionIndexTableModel as outer class 2015-12-29 16:01:34 +01:00
Cristian Maglie
d598f0cfa7 Removed unused LibraryManagerUI.getContribModel() method 2015-12-29 16:01:34 +01:00
Cristian Maglie
91f18dff24 Factored out ContributedLibraryTableCell.update(...) method 2015-12-29 16:01:34 +01:00
Cristian Maglie
71eb3c3ab2 Removed useless DESCRIPTION_COL constant 2015-12-29 16:01:34 +01:00
Cristian Maglie
47fcf318b1 Removed unused parameters in *TableCell.update(..) method 2015-12-29 16:01:33 +01:00
Cristian Maglie
76068c92b4 *TableCellEditor now extends JPanel 2015-12-29 16:01:33 +01:00
Cristian Maglie
015f658d1e Factored out TableCell setEnable() code 2015-12-29 16:01:33 +01:00
Cristian Maglie
c1387ed316 Removed weird hack for refreshing table cells 2015-12-29 16:01:33 +01:00
Cristian Maglie
4725584a49 ContributedPlatformCell* now follows swing cell model abstraction
This commit completes the refactoring
2015-12-29 16:01:33 +01:00
Cristian Maglie
6370a74632 Split TableCellRenderes from TableCellEditors
This rationalization helps to better follow the swing abstractions
of table models and increase separation of concerns.

(WIP: ContributedPlatforms needs a similar refactoring that will be
done in the next commits)
2015-12-29 16:01:33 +01:00
Cristian Maglie
fd04767269 Renamed ContributedLibraryTableCell to ContributedLibraryTableCellRenderer
This is in preparation for the next refactoring.
2015-12-29 16:01:33 +01:00
Cristian Maglie
ed30cd7b58 Removed ContributedLibraryTableCell.Cell dependency from upper editorValue field 2015-12-29 16:01:33 +01:00
Cristian Maglie
268ae81759 Removed useless parentTable field in ContributedLibraryTableCell 2015-12-29 16:01:33 +01:00
Cristian Maglie
926a8c9101 Correct implementation of ContributedLibraryTableCell
getTableCellRendererComponent() interface requires to return independent
Component objects used for "stamping" the table element.
2015-12-29 16:01:33 +01:00
Matthijs Kooijman
7949e7e81f Randomize temporary sketch copy directory name
When a sketch has unsaved changes, a temporary copy of the sketch is
made with those changes applied. This copy is then passed to
arduino-builder.

Previously, the name of this directory contained a hash of the main
sketch filename, so the same directory would be used between builds. Now
that this directory is deleted after every build, it can just use a
randomized directory name, which is what this commit does.

Addtionally, the prefix used for generating the name is changed from
"arduino_" to "arduino_modified_sketch_" to make it slightly clearer
what the directory is for (just in case it somehow survives the build,
or a user sees it during the build).
2015-12-28 15:28:58 +01:00
Matthijs Kooijman
1029e0b78d Delete temporary sketch copy after build
When a sketch has unsaved changes, a temporary copy of the sketch is
made with those changes applied. This copy is then passed to
arduino-builder.

Previously, this temporary copy was kept around and only deleted when
the IDE was closed. However, all files were written to it again on every
build, so keeping the old files around did not serve any real purpose.

When a file was renamed in the IDE, the original name would still be
present in the temporary copy, and could cause linker errors because
both were compiled.

This commit makes sure the temporary copy is deleted after every build,
instead of at IDE exit, which fixes this problem with renames.

When a file is deleted from the sketch, the file would also be deleted
from the temporary copy, presumably to fix this same problem for
deletes (but renames were forgotten). With this commit, this special
handling for deleting files is no longer needed, so it is removed.

This fixes #4335
2015-12-28 15:19:55 +01:00
Cristian Maglie
480f2fa0d3 Merge branch 'issue3502-indent' of https://github.com/damellis/Arduino
Fix #3502
2015-12-23 12:14:28 +01:00
David A. Mellis
07903b8585 Use new IncreaseIndentAction for Edit > Increase Indent.
This simplifies the code a bit and fixes a small bug that would cause the cursor to fail to move with the text being indented.
2015-12-21 16:42:40 -08:00
David A. Mellis
05be1480d4 Fix issue #3502: behavior of Cmd+[ and Cmd+] on Mac OS X. 2015-12-21 16:41:12 -08:00
Cristian Maglie
2b4883f755 Merge branch 'keys' of https://github.com/matthijskooijman/Arduino into matthijskooijman-keys 2015-12-21 18:58:21 +01:00
Cristian Maglie
fa4876b7b1 Fixed unit-test UploaderFactoryTest
It was broken after merging #4107
2015-12-21 15:19:22 +01:00
Martino Facchin
767867bacb Revert "Moved -Dawt.useSystemAAFontSettings=on out of java code, where, apparently,"
Fonts on Windows became ugly, reverting whole the commit since it brings no visible changes to Linux and OSX

This reverts commit 6c5e584454.
2015-12-16 10:02:37 +01:00
Federico Fissore
6c5e584454 Moved -Dawt.useSystemAAFontSettings=on out of java code, where, apparently,
has no effect
2015-12-14 10:03:16 +01:00
Matthijs Kooijman
7eea624dfa Remove EditorListener class
It did not contain any actual code anymore, so it can be removed, along
with the infrastructure for setting it up.
2015-12-11 19:31:16 +01:00
Matthijs Kooijman
ac66a9c64a Change workaround for ctrl-slash handling in RSyntaxTextArea
Previously, there was a handler on the text area that consumed most
KEY_TYPED events with control pressed. This was added a long time ago to
fix a problem with ctrl-slash doing both the toggle comment action and
inserting a /. Further investigation shows that with RSyntaxTextArea
this problem is still present, but is caused by a weird binding on the
slash key that Arduino is not even using. Removing that binding is a
cleaner workaround for this problem, so this commit switches to that
workaround.

Ideally this would be fixed in RSyntaxTextArea, see
https://github.com/bobbylight/RSyntaxTextArea/issues/157
2015-12-11 19:31:16 +01:00
Matthijs Kooijman
f06820713e Make ctrl-tab and ctrl-shift-tab work again
In the previous commit, these bindings were moved to EditorTab and
registered in a cleaner way, but this move also allows more components
to hijack these keystrokes and prevent them from reaching EditorTab.

This commit makes the keybindings work again, by preventing other
components from handling the keys. In particular:
 - JSplitPane had a binding to switch between its two panes, which is
   now removed after creating the JSplitPane.
 - The default focus traversal manager in Swing uses these keys to
   traverse focus (in addition to the the normal tab and shift-tab
   keys). By removing these keys from the set of "focus traversal keys"
   defined for the window, this should be prevented when the focus is on
   any component inside the window.
 - JTextPane didn't respond to the previous modification of the
   window-default focus traversal keys, since it defines its own set (to
   only contain ctrl-tab and ctrl-shift-tab, but not tab and shift-tab,
   for undocumented reasons). To fix this, focus traversal is simply
   disabled on the JTextPane, since this wasn't really being used
   anyway.

There was some code in SketchTextArea that tried to modify the focus
traversal keys for just the text area, which is now removed. This code
wasn't really useful, since focus traversal is disabled for the text
area already. Also, the code contained a bug where it would not actually
set the new set of keys for the backward focus traversal.

Closes #195
2015-12-11 19:31:16 +01:00
Matthijs Kooijman
fc4b2028fa Move ctrl-tab and ctrl-shift-tab handling into EditorHeader
Previously, EditorListener handled these keys, by registering a handler
in the text area. This meant that they would only work while the text
area was focused. By registering the keys as WHEN_IN_FOCUSED_WINDOW
bindings, they can always be handled, and EditorHeader seems like a more
appropriate place.

Note that this does not currently work (so this commit breaks these
keys), since these keys are also handled in a few different places as
well, preventing these newly added keybindings to take effect. This will
be fixed in the next commit.

One additional change is that previously, these keybindings did not work
when the text area was readonly. This was probably a remnant from when
EditorListener took care of a lot of other editing keybindings, but
this does not make much sense anymore now.

Finally, with the old bindings, ctrl-shift-tab did not (seem to) work.
What happened is that the binding for ctrl-tab did not check the shift
state, so both bindings would fire on ctrl-shift-tab, switching forward
and back again, making it seem the keys did not work. The Swing
keybinding mechanism that is now used for these bindings checks the
complete keystroke, including all modifier keys, so this problem is
fixed by this change.

References #195
2015-12-11 19:31:16 +01:00
Matthijs Kooijman
e98285f900 Remove duplicate ctrl+alt+left/right handling
These key combinations were registered as accelerator keystrokes in the
tab bar popup menu, but also handled by EditorListener. This was
probably added in an attempt to work around the broken accelerator keys
on the tab bar popup menus, but in practice this only meant that the
shortcut would sometimes (and now that the accelerator keys are fixed,
always) switch tabs *twice*. Removing the handling from EditorListener
helps to fix this.

References: #4228
2015-12-11 19:31:16 +01:00
Matthijs Kooijman
a3ba935a57 Slightly simplify EditorHeader tab selection menu items
Previously, this would use a single ActionListener object, and pass the
filename of the file to switch to in the action command. This means that
whenever switching the filename needs to be looked up. This commit
instead uses a lambda to capture the index of the tab to switch to for
every tab (so it uses a different ActionListener for each tab).
2015-12-11 19:31:16 +01:00
Matthijs Kooijman
2f5375d523 Fix accelerator keybindings for the tab menu
Some items in this menu had accelerator keys (shortcuts) defined.
Normally, this automatically takes care of registering such keybindings
when the menu item is added to a menu. However, this requires adding the
item (indirectly) to a menubar, which is again added to a window. Since
the tab menu is just a separate popup menu, this did not work.

It seems an attempt was made to fix this by adding the popup menu to the
EditorHeader JComponent, which indeed made the keybindings work.
However, this is a hack at best, and as soon as the popup menu was
opened, it would be moved to another container and again detached when
the menu was closed, breaking the keyboard shortcuts again (re-adding
the popup menu turned out not to work either, then the menu would
actually be drawn on top of the tab bar).

To properly fix this, keybindings for the menu items are added to the
EditorHeader itself. By looking at the existing accelerator keystroke
property of the actions, there is no need to duplicate the keystrokes
themselves, and the displayed value will always match the actually bound
value. To simplify this, some methods are added to the Keys helper
class, which will likely come in handy in other places as well.
2015-12-11 19:31:15 +01:00
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
98d5ff79eb Upgrading arduino-builder to 1.3.7, which changes the way messages are sent
back to the IDE. Instead of having just stdour and stderr, stdout only is
used, but each message has a log level: info, warn, debug, error
Plain stdout/stderr are still used by child processes
2015-12-11 14:25:13 +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
d5a0476948 Installing tools from packager (eg: arduino) in packager folder, thus avoiding
tools duplication and disk space wasting. Fixes #4193
2015-11-20 17:15:53 +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
9729b1b069 Windows: in case Shell Folders entry is missing, attempts to discover Documents folder using User Shell Folders. See #4124 2015-11-18 15:55:26 +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
Federico Fissore
0102a58122 "static" makes sense for constants and few other things. Avoid it if you don't have a specific reason for using it. 2015-10-26 15:49:31 +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
2ae36940c6 Fixed parsing for SystemProfiler on Macosx El Capitan
Should alleviate #3928
2015-10-20 23:36:56 +02:00
Cristian Maglie
28ad89d694 Make SystemProfilerParser.extractVIDAndPID() static
There is no need to instantiate a SystemProfilerParser object
each time extractVIDAndPID is invoked.

Added also `synchronized` keword to avoid reentrance problems
if the method is being used in multiple threads.
2015-10-20 23:34:27 +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
Cristian Maglie
361388e5d7 Fixed eclipse classhpath 2015-09-23 14:50:28 +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
Federico Fissore
5b84aef301 Build path is now a function of sketch path. This allows to recycle previously
compiled files even when working with different sketches at the same time. In
such cases, recompiling is way faster
2015-09-18 10:47:23 +02:00
Federico Fissore
c3c59f2359 New editor: restored EOL markers. Fixes #3817 2015-09-18 09:18:40 +02:00
Federico Fissore
a295fbbc36 Code cleanup 2015-09-17 16:52:22 +02:00
Federico Fissore
01735420ee If may happen that the boardPort param given to setBoardPort is still null 2015-09-17 16:52:11 +02:00
Federico Fissore
94d1829b87 If a token is of some COMMENT_* type, don't use keywords. Fixes #3532 2015-09-17 14:28:03 +02:00
Federico Fissore
9c850c36e1 MacOSX: restored CTRL+A=begin of line and CTRL+E=end of line. Fixes #3800 2015-09-17 14:04:28 +02:00
Federico Fissore
57ed2b2416 Updating splashscreen text ONLY if visible. Fixes #3808 2015-09-17 13:18:35 +02:00
Federico Fissore
682a5ec331 Faster recompilation of unsaved sketches 2015-09-16 14:51:37 +02:00
Federico Fissore
e5ddd0be3b New compiler 2015-09-14 15:21:15 +02:00
Federico Fissore
81c7156edb Forgot to update windows config*.xml files 2015-09-14 15:14:46 +02:00
Federico Fissore
cb25bc906d Upgraded rsyntaxtextarea to 2.5.8
Removed useless ecj.jar
2015-09-14 13:18:37 +02:00
Federico Fissore
96e0ee2a67 Editor is now able to find a commented line even if // was not written at its beginning. Fixes #3513 2015-09-08 17:41:33 +02:00
Federico Fissore
4cb72ceb9b Code cleanup
SerialPlotter now uses min/2 and max*2 instead of plain min and max
Ticks works also when min == max
Fixes #3767
2015-09-08 16:36:51 +02:00
Federico Fissore
649bc6d778 MacOSX: Home/End key preference was coded backwards. Fixed. See #3715 2015-08-28 09:47:16 +02:00
Federico Fissore
d304c45dd1 Clearing state of editor.status when hitting one of new/rename/delete context menu entries. Fixes #3720 2015-08-24 10:20:40 +02:00
Federico Fissore
fa78f718ce Editor on MacOSX: editor.keys.home_and_end_beginning_end_of_doc, when set to true, makes HOME and END keys go to the beginning and end of the line. Fixes #3715 2015-08-24 09:25:21 +02:00
Federico Fissore
36e43713c2 Deleted I18NTest. It's been disabled for a long time and it was not really useful 2015-08-21 12:31:58 +02:00
Federico Fissore
5e518b9929 Added missing license headers 2015-08-21 08:41:50 +02:00
Federico Fissore
17032ec543 Added proxy PAC file support functions 2015-08-21 08:41:50 +02:00
Federico Fissore
0c7e0d6bb4 CustomProxySelector: auto proxy (PAC) needs login info too 2015-08-21 08:41:50 +02:00
Federico Fissore
708da3bd86 Introducing CustomProxySelector 2015-08-21 08:41:50 +02:00
Federico Fissore
d884a2d14f Preferences: proxy settings are back again (GUI and key/value pairs storage only) 2015-08-21 08:41:50 +02:00
Federico Fissore
985244ab19 Sketch: read-only files were overwritten in case of successful "save as". Fixes #3678 2015-08-17 09:13:56 +02:00
Federico Fissore
e45f07d507 Added missing license headers 2015-08-13 11:33:35 +02:00
Federico Fissore
26a3c7cd4a Got rid of ANTLR: we never used it 2015-08-10 09:35:47 +02:00
Federico Fissore
4d93232789 Verify / Compile -> Verify/Compile. Fixes #3514 2015-08-06 16:11:30 +02:00
Federico Fissore
70fbb8b08e "Nope" is not a nice title for an error dialog 2015-08-06 15:48:14 +02:00
Federico Fissore
7daf13e73a Serial methods reference is located into a different folder. Work around this difference in order to make in editor help work as expected 2015-08-06 14:48:23 +02:00
Federico Fissore
582992caff "Library Manager" wasn't translated 2015-08-06 14:27:47 +02:00
Federico Fissore
5b0ad4fada Switched to I18N.tr method (_ is deprecated) 2015-08-06 10:27:51 +02:00
Federico Fissore
a43757d5c3 Update notification: UX feedback 2015-08-06 10:27:51 +02:00
Federico Fissore
0bb7fd7e8b Cancelling ContributionsSelfCheck will prevent indexes from being updated.
Opening boards/libs manager when NotificationPopup is shown will close it
2015-08-06 10:27:51 +02:00
Federico Fissore
2daf330c09 LibraryInstaller and ContributionInstaller are now singletons: members of Base, they get passed to dependents, thus allowing a synchronized method execution, needed to avoid race conditions when accessing files 2015-08-06 10:27:51 +02:00
Federico Fissore
dc93bb93d0 ProgressListener is now a method arg (was an instance arg) 2015-08-06 10:27:51 +02:00
Federico Fissore
b3baa27435 ContributionInstaller.onProgress is now a collaborator: ProgressListener 2015-08-06 10:27:51 +02:00
Federico Fissore
c61c39f5d9 Canceling self check timer when opening boards/libs manager 2015-08-06 10:27:51 +02:00
Federico Fissore
f9612bcdbd Updatable boards support and libraries notification 2015-08-06 10:27:51 +02:00
Federico Fissore
b68cf12758 Boards manager: when filtering result using text field, consider both core name AND supported boards names 2015-08-05 17:33:55 +02:00
Federico Fissore
59dfede5ac Libraries with a .development file in their root are flagged as "OnDevelopment".
This allows users to edit and save those libraries examples: they won't be flagged as read-only any more
2015-08-05 16:26:21 +02:00
Federico Fissore
52fd3845ca Working on how sketches are marked readonly.
Initial refactorings: stopped using static members (static is evil)
2015-08-05 16:01:10 +02:00
Federico Fissore
cb292d6114 Got rid of Guava lib: java 8 has its features builtin 2015-08-05 12:09:24 +02:00
Federico Fissore
50cacc1756 Got rid of Java 8 warnings about _ as a method name 2015-08-05 09:12:40 +02:00
Federico Fissore
28e8eb41cc Removed old app/format folder and its contents 2015-07-09 12:51:54 +02:00
Federico Fissore
2c05841588 EditorStatus rewritten: less shared state, shorter and cleaner code. Also fixes #666 2015-07-09 12:02:59 +02:00
Federico Fissore
a906f23287 Base: removed dead code 2015-07-08 17:44:57 +02:00
Federico Fissore
09e2fedf52 Commit a9d10e069d may have caused issues when using IDE CLI 2015-07-08 17:35:24 +02:00
Federico Fissore
110a6e20d4 MacOSX: removed old Quaqua references 2015-07-08 17:21:24 +02:00
Federico Fissore
a9d10e069d Editor: force setting text area content in event dispatcher thread 2015-07-08 16:43:58 +02:00
Federico Fissore
f61cbb48b0 Code cleanup 2015-07-08 16:22:28 +02:00