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

6707 Commits

Author SHA1 Message Date
Martino Facchin
c4f5cafd33 Moving a sketch to another folder should move all files
Fixes #6402
2018-05-02 15:52:13 +02:00
Martino Facchin
73f40ac32e Only rescan libraries folders when really needed
Scanning libraries is an heavy task if the sketchbook becomes huge;
This patch targets two points:

- remove the rescan() after setLibrariesFolders(), which already performs a rescan
- call setLibrariesFolders() only when the folder list has changed
  - This ensures that no scan is performed when changing board in the same architecture

Could mitigate #6350
2018-05-02 15:52:13 +02:00
Cristian Maglie
1fd794dfdb Cache editor tools (don't create new instance for each menu item) 2018-05-02 15:26:14 +02:00
Cristian Maglie
a15abacc7f Added setting for autoformat before saving (editor.autoformat_currentfile_before_saving) 2018-05-02 15:26:14 +02:00
Cristian Maglie
8e0d668344 Serial Monitor: added "show timestamp" checkbox 2018-05-02 15:26:14 +02:00
Martino Facchin
6023459dad Revert "Update DigitalPotControl.ino"
This reverts commit f7a395fbdb.
2018-05-02 15:26:14 +02:00
SimonePDA
c7925653a2
Merge pull request #6945 from waldooo/patch-1
Repeated lines in sketch description
2018-04-29 14:33:48 +02:00
Kristoffer Engdahl
378736e688
Merge pull request #7404 from arduino/SimonePDA-patch-1
Update DigitalPotControl.ino
2018-04-03 12:29:20 +02:00
SimonePDA
f7a395fbdb
Update DigitalPotControl.ino
Fixing SPI communication with a delay as pointe out in #6395
2018-04-02 19:18:50 +02:00
Martino Facchin
6b4a3a6d9e
Merge pull request #7330 from per1234/nano-bootloader-release-notes
Add note to revisions.txt regarding new default Nano bootloader
2018-03-16 09:07:14 +01:00
per1234
ec179e5af6 Add note to revisions.txt regarding new default Nano bootloader 2018-03-15 12:36:10 -07:00
Martino Facchin
662d66594d Merge branch 'master' of github.com:arduino/Arduino 2018-03-02 12:05:33 +01:00
Cristian Maglie
0175a4ee94 Revert "Fix keyword loading to use any whitespace as separator"
This reverts commit eed9e7069f.
See #6693
2018-02-19 12:58:01 +01:00
Martino Facchin
8b718a4163 Publish avr core 1.6.21 (maintenance release) 2018-02-19 12:47:22 +01:00
Martino Facchin
1cf34c8250 Add menu for Nano with Optiboot bootloader
Since we are now factory flashing obtiboot, 115200 is the new default upload speed. Adding a new entry to CPU menu is more explicit than adding an "upload speed" menu, and the bootloader path can be updated too.

Fixes https://github.com/arduino/Arduino/issues/4492
2018-02-19 12:19:21 +01:00
Cristian Maglie
3d3bb385ad Output column info from compiler error when available 2018-01-25 15:58:02 +01:00
Rotzbua
b10063a5fe update link http -> https 2018-01-25 15:51:55 +01:00
Rotzbua
22d2360392 update playground link 2018-01-25 15:51:28 +01:00
Cristian Maglie
8ffbe05437 Sligthly simplified buildImportMenu loop 2018-01-18 11:46:49 +01:00
Cristian Maglie
534d62653c Removed deprecated method Base.getLibraries() 2018-01-03 15:17:20 +01:00
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