Commit Graph

1373 Commits

Author SHA1 Message Date
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
Federico Fissore 3cf1204833 Keywords: added preprocessor directives. Fixes #3480 2015-07-08 16:21:31 +02:00
Federico Fissore 03a66b1035 Applying code inspection suggestions 2015-07-08 14:46:44 +02:00
Federico Fissore dae6e4fff7 Dropping Guava predicates in favour of java.util.function.Predicate 2015-07-08 14:20:25 +02:00
Federico Fissore ad1062455d Boards/Libs Manager: added Updatable filter. Shows Boards/Libs that can be updated 2015-07-08 12:43:25 +02:00
Federico Fissore 1af21b2233 Fixed error when redoing/undoing auto format 2015-07-06 14:35:18 +02:00
Federico Fissore e22463032f Editor: triple click select whole line, new line included. Fixes #3469 2015-07-06 10:08:43 +02:00
Federico Fissore b0587d1091 Updated rsyntaxtextarea 2015-07-06 09:25:52 +02:00
Federico Fissore 987cad2633 Added core "post install" and "pre uninstall" script support.
If a core has a post/pre install/uninstall script, it will be execute at the appropriate time IF:
1) source (package_*_index) is trusted (GPG signed)
2) or users have explicitly added line "contributions.trust.all=true" to their preferences.txt
Some minor refactor and clean up while I was at it
2015-07-03 16:35:08 +02:00
Federico Fissore 7cc7d47e61 Code cleanup 2015-07-03 11:59:25 +02:00