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

6837 Commits

Author SHA1 Message Date
Cristian Maglie
3ed68c5d71 No need to make copy of list when caling BaseNoGui.librariesIndexer.getInstalledLibraries() 2018-01-03 15:04:44 +01:00
Cristian Maglie
472d0b8ef6 Removed unused import 2018-01-03 14:50:55 +01:00
Cristian Maglie
676f64325f Removed debugging leftovers 2018-01-03 14:36:07 +01:00
Waldo Costa
72754d8dad
deleted repeated lines in sketch description
"This example is written for a network using WPA encryption. For
 WEP or WPA, change the Wifi.begin() call accordingly."
2017-11-19 17:39:01 -02:00
Martino Facchin
cd9a15ebd1
Merge pull request #6913 from coreyknapp/master
Improve accessibility in the Preferences dialog
2017-11-13 10:46:18 +01:00
Corey Knapp
9891a6ba21 Improve accessibility in the Preferences dialog
This commit makes the Preferences dialog more usable by accessibility devices like screen readers.

Previously, a screen reader would only read the content of the text boxes. By using JLabel's setLabelFor() feature (and in some extreme cases, setAccessibleName()), a screen reader will know that a label is assigned to a text field. For example, instead of just reading "12", it will now read "Editor font size: 12".
2017-11-10 07:57:38 -05:00
Cristian Maglie
4b374dc16d lint: Use generic List instead of ArrayList where possible 2017-11-07 15:38:57 +01:00
Flavio Monteiro
a3f59fae91 Display the keyboard shortcut tip on both "Manage Libraries..."
This commit adds the Menu+Shift+I shortcut to the remaining menu entry in Base.java.

When the shortcut is called, the menu entry from Base.java is the one that will be called.
2017-10-30 11:04:26 +01:00
Flavio Monteiro
f8621b0421 Add Menu+Shift+I shortcut to the Library Manager
Please note that this commit actually adds the shortcut to its menu
entry under the "Tools" menu.

As a side effect, the shortcut tip is only shown in this entry and not
on the another one.

Menu usually means the Ctrl key on most modern systems.
2017-10-30 11:04:26 +01:00
Flavio Monteiro
d860c907bb Show "Manage Libraries" item in the Tools menu too
This duplicates the entry, so now "Manage Libraries..." is available
in both under the "Tools" menu and inside the "Sketch" -> "Include
Library" menu.

The reasons for this change are:
  - It makes sense for the entry to be there
  - It makes easier for the user to click on the entry

Aditionally, I added a comment about a issue I found with the
newJMenuItemShift function on Xubuntu 17.04 regarding the Ctrl+Shift+K
shortcut.
2017-10-30 11:04:26 +01:00
Flavio Monteiro
4a80f50d28 Trim trailing spaces from Editor.java 2017-10-30 11:04:26 +01:00
Flavio Monteiro
bafd66ba4f Fix comment of the ctrlAlt() helper function 2017-10-30 11:04:26 +01:00
Cristian Maglie
3447175d1d update revision log 2017-10-30 10:54:04 +01:00
Sandeep Mistry
7e2f7981f5 Use version 0.9.2 of the WiFi101 firmware updater 2017-10-20 14:23:44 +02:00
Cristian Maglie
6d7d461619 Update revision log 2017-10-20 13:17:09 +02:00
Cristian Maglie
48384a7ad0 tests: added some missing null checks 2017-10-20 13:17:09 +02:00
Brett Hagman
eed9e7069f Fix keyword loading to use any whitespace as separator
Instead of forcing keywords.txt to use tabs, let library developers use spaces too.
2017-10-16 18:19:35 +02:00
Martino Facchin
0460dc4941 Add accelerator for scrollable menus
Press A when on a scrollable menu for a 6x acceleration
2017-10-16 18:19:35 +02:00
Martino Facchin
bfea2724ba Add scroller for programmers menu 2017-10-16 18:19:35 +02:00
Martino Facchin
ffa13ed733 Keep "Board Manager" entry always on top of its menu 2017-10-16 18:19:35 +02:00
Cristian Maglie
f0e5bab51c Started 1.8.6 and updated changelog 2017-10-16 13:02:46 +02:00
Cristian Maglie
81997612b2 Updated source translations
Fix #6815
2017-10-13 10:51:08 +02:00
ReAlUA
ba04ed2f7f Correct grammatical gender for Ukrainian in Ukrainian 2017-10-11 11:55:45 +02:00
ReAlUA
190eb8f9b1 IDE: call translation function for lastLibType
In menu Sketch/Include Library/ library types (Arduino|Recommended|Contributed) are not translated into selected «Editor language» although types are translated in .po files.
2017-10-11 11:55:45 +02:00
Cristian Maglie
e69ce9cde3 Update changelog 2017-10-02 12:39:06 +02:00
Cristian Maglie
433fbeb29c Update changelog 2017-09-28 16:43:01 +02:00
Cristian Maglie
61c77c922a Updated translations 2017-09-28 16:22:14 +02:00
Martino Facchin
b175fa71a0 Revert "Update appbundler"
This reverts commit 0c325b4ff6.
The 10.13 workaround seems to work also without this update AND it was causing a regression on testCommandLineBuildWithRelativePath (cwd() was not being exported)
2017-09-28 15:39:29 +02:00
Cristian Maglie
d0f8037f6d Added exception printout while building 2017-09-28 13:13:29 +02:00
Cristian Maglie
369b23a7d2 Refactored function to get status of menus in MacOSX 2017-09-28 12:57:56 +02:00
Martino Facchin
59a57a9312 Use classic close() handle when macOS 10.13 workaround is on 2017-09-28 09:25:46 +02:00
Martino Facchin
0c325b4ff6 Update appbundler
This fixes the locale not being set correctly in some cases, and forces CFBundleDevelopmentRegion to en to overcome High Sierra Java bug

Patch:
```
diff -r 97eb6c13cf33 appbundler/src/com/oracle/appbundler/AppBundlerTask.java
--- a/appbundler/src/com/oracle/appbundler/AppBundlerTask.java  Wed Aug 02 12:06:27 2017 +0200
+++ b/appbundler/src/com/oracle/appbundler/AppBundlerTask.java  Thu Sep 21 16:13:04 2017 +0200
@@ -601,7 +601,7 @@
             xout.writeCharacters("\n");

             // Write bundle properties
-            writeProperty(xout, "CFBundleDevelopmentRegion", "English");
+            writeProperty(xout, "CFBundleDevelopmentRegion", "en");
             writeProperty(xout, "CFBundleExecutable", executableName);
             writeProperty(xout, "CFBundleIconFile", (icon == null) ? DEFAULT_ICON_NAME : icon.getName());
             writeProperty(xout, "CFBundleIdentifier", identifier);
```
2017-09-27 17:54:49 +02:00
Martino Facchin
b400e164ce remove useScreenMenuBar switches from Info.plist 2017-09-27 17:44:38 +02:00
Martino Facchin
a2b5f661b8 Fix macOS 10.13 missing menubar
The global bar is being used if locale is English and About() menu is present
2017-09-27 17:43:52 +02:00
Cristian Maglie
7c27d09c6f Added check for negative font size in preferences.
This should allow to automatically recover situations like
https://github.com/arduino/Arduino/issues/6359#issuecomment-324247440

See #6359
2017-08-28 18:01:30 +02:00
Cristian Maglie
5427f94b9d Do not allow negative font resize
Fix #6359 (again)
2017-08-28 17:57:21 +02:00
Cristian Maglie
fcd88e6a43 IDE: "New/rename tab" now allow numbers as first char
Fix #6656
Related to #6592 and 4545283ae7
2017-08-28 14:35:49 +02:00
Cristian Maglie
5bbb9054d4 Starting 1.8.5 2017-08-28 13:04:57 +02:00
Martino Facchin
39bb83d32a Update bundled avr core to 1.6.20 2017-08-18 15:58:02 +02:00
Cristian Maglie
ec2481ce2b Update revisions log 2017-08-18 15:44:48 +02:00
Martino Facchin
328296a2c5 Only reapply serial monitor last location if it fits the screen
There could be a couple of edge cases in this approach (for example, if someone wants to keep the serial monitor window only half visible).
However, it should be at least safe (no serial monitors on the second screen) if the Window Manager acts correctly (by moving all the windows on the second monitor to the primary on detach).
2017-08-18 15:25:11 +02:00
Martino Facchin
8292989e2d Separate screen dimensions storing from recent sketches 2017-08-18 15:25:11 +02:00
per1234
60c169ce91 Remove unused file from toneMultiple example
pitches.h is not used by this sketch so its presence will only cause confusion.
2017-08-18 15:19:20 +02:00
Cristian Maglie
5c3f474c0e Updated translations 2017-08-18 15:17:48 +02:00
Cristian Maglie
4545283ae7 Sketch names starting with a digit are now allowed
Fix #6592
2017-08-18 15:11:24 +02:00
Cristian Maglie
495c29c44b Updated Robot libraries
See #4040
2017-08-18 13:10:57 +02:00
Martino Facchin
275051fdcf Merge pull request #6623 from per1234/fix-toneMultiple
Fix incorrect comment in toneMultiple example
2017-08-17 09:45:24 +02:00
per1234
86c5ca8547 Fix incorrect comment in toneMultiple example
The comment about the note duration didn't match the code.
2017-08-16 15:44:30 -07:00
Cristian Maglie
5a72323185 Removed stale file 2017-08-16 11:22:02 +02:00
Martino Facchin
6067e2d07e Update LiquidCrystal to 1.0.7 2017-08-10 10:34:36 +02:00