1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-12 23:08:52 +01:00
Commit Graph

5901 Commits

Author SHA1 Message Date
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
Federico Fissore
f702f1a4e7 Updated translations 2015-12-11 17:35:04 +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
78ddbdbfb3 Updating arduino-builder to 1.3.8 2015-12-11 14:34:54 +01:00
Federico Fissore
be2d4c6a52 Merge pull request #4288 from arduino/builder-log-levels
arduino-builder uses log levels
2015-12-11 14:26:37 +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
NicoHood
bab9b6c4f7 Added HID_REPORT_TYPE definitions 2015-12-10 10:30:04 +01:00
Federico Fissore
ff13b303d4 Forgot to remove old arduino-builder SHAs 2015-12-04 14:14:15 +01:00
Federico Fissore
580bcb5003 Updating arduino-builder to 1.3.6 2015-12-04 14:03:54 +01:00
Federico Fissore
9a39e5e6ac Some configuration may totally miss network interfaces, even localhost. Fixes #4249 2015-12-04 09:55:32 +01:00
Federico Fissore
a2848716a0 Added -Dportable=true param to ant. You can build your own portable version of
the IDE
2015-12-03 16:34:25 +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
91245e2164 Updating arduino-builder to 1.3.5 2015-12-03 09:54:30 +01:00
Federico Fissore
37d2ec3154 Updating arduino-builder to 1.3.4 2015-12-02 16:41:15 +01:00
Federico Fissore
321f589b0f Reduced "scroll down" timer of ConsoleOutputStream back to 100ms 2015-12-02 16:41:15 +01:00
agdl
309c8c1fe8 Added missing keyword analogWriteResolution 2015-12-02 09:34:43 +01:00
Federico Fissore
f9c80816aa Halved "scroll down" timer of ConsoleOutputStream 2015-12-01 16:39:17 +01:00
Federico Fissore
1e074cce42 Whoops, a debuggin call to "peek" was committed. Removed. 2015-12-01 15:23:51 +01:00
Federico Fissore
5fcf5e3eb7 Updated translations 2015-12-01 12:21:30 +01:00
Federico Fissore
46d1c89073 Windows: even old settings folder may be missing from the registry. Fixes #4124 2015-12-01 11:36:45 +01:00
Federico Fissore
49a0f768a1 Updating arduino-builder to 1.3.3 2015-12-01 10:21:40 +01:00
Federico Fissore
d9f9081f3c Updated translations 2015-11-30 14:02:17 +01:00
Martino Facchin
47bcf07f5e fix StringIndexOf example logic and wording 2015-11-30 13:23:57 +01:00
Federico Fissore
c5824fd586 Updating arduino-builder to 1.3.1 2015-11-30 11:32:27 +01:00
Cristian Maglie
463046d691 Merge branch 'remove-wire-keywords' of https://github.com/per1234/Arduino 2015-11-30 10:20:10 +01:00
Federico Fissore
e224698ecf Files weren't deleted from temp unsaved sketch folder. Fixes #4233 2015-11-30 10:17:29 +01:00
per1234
d21e054836 Remove unused keywords from Wire libraries keywords.txt
These functions have been replaced by read() and write() since Arduino
1.0.
2015-11-28 17:56:21 -08: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
agdl
53af4a7dea Removed old example 2015-11-27 14:40:31 +01:00
agdl
c009ac6e4c Modified example to not generate confusion
Only Arduino Mega was mentioned, but actually many boards have more than one Serial port
2015-11-27 14:36:48 +01:00
Arturo Guadalupi
8e6a30e00c Merge pull request #4220 from agdl/communicationExamples
Fixed processing code for Processing 3
2015-11-26 11:45:40 +01:00
agdl
3229e422a2 run autoformat in the example 2015-11-26 11:44:05 +01:00
Federico Fissore
89a36cad0a Updated translations 2015-11-26 11:38:03 +01:00
agdl
2f00c938a7 Fixed processing code for Processing 3
As pointed out in #4214 I changed the processing code to make it working wit Processing 3
2015-11-26 11:33:27 +01:00
Federico Fissore
553a022a24 Revert "Windows: patched launch4j to reduce the delay between pollings for the main"
This reverts commit c3fc56f845.
2015-11-26 11:05:58 +01:00
Federico Fissore
c3fc56f845 Windows: patched launch4j to reduce the delay between pollings for the main
window. Fixes #4215
2015-11-25 17:12:55 +01:00
Cristian Maglie
0dca80cad3 Merge branch 'per1234-eeprom_clear-add-pinmode' of https://github.com/per1234/Arduino 2015-11-25 15:58:06 +01:00
Federico Fissore
002bc4127f Updating arduino-builder to 1.3.0 2015-11-25 11:43:33 +01:00
Federico Fissore
1234e95470 Windows: updating launch4j to latest (3.8). An attempt to mitigate #4215 2015-11-25 10:15:16 +01:00
per1234
ffbcfa781f eeprom_clear example: Set pinMode of LED pin 2015-11-24 16:23:16 -08:00
Cristian Maglie
8f2514f7c1 Merge remote-tracking branch 'arduino/master' 2015-11-24 16:45:33 +01:00
Cristian Maglie
4c2af08bb2 Merge branch 'led_fix' of https://github.com/NicoHood/Arduino 2015-11-24 16:44:51 +01:00
Federico Fissore
7bd4c8ec41 Update revisions.txt 2015-11-24 16:38:54 +01:00
Cristian Maglie
1da7979984 Merge branch 'leonardo-usbserial' of https://github.com/cmaglie/Arduino 2015-11-24 16:34:27 +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
Sandeep Mistry
1b63cfa6a4 Cleanup some Stream compiler warnings from #3337 2015-11-23 16:45:29 -05:00
Sandeep Mistry
e7d5a19c7c Update revisions.txt for #3337 2015-11-23 15:58:59 -05:00