Commit Graph

4689 Commits

Author SHA1 Message Date
Federico Fissore d008d9de81 Merge pull request #3141 from cmaglie/fix-recursive-delete
Fix for FileUtils.recursiveDelete() when dealing with symbolic links
2015-05-15 16:50:22 +02:00
Federico Fissore 670ad374ef New editor on MacOSX: since CMD+J is known as "jump to selection" and the editor has no such feature, CMD+J is disabled on mac. See #3098 2015-05-15 16:42:45 +02:00
Federico Fissore d3b3dbb299 Old Preferences class remains for backwards compatibility as a delegate for PreferencesData 2015-05-15 15:52:58 +02:00
Federico Fissore 7816ee3f10 New Preferences window: renders fine on every OS and it's easier to adapt using NetBeans as visual editor. Fixes #3140 2015-05-15 15:52:52 +02:00
Cristian Maglie 40c0741d07 Merge pull request #3135 from ish6614/patch-2
Updated cursor.ino
2015-05-15 12:42:12 +02:00
Cristian Maglie 971bd77058 Removed redundant call to File.deleteIfExists()
file is already checked for being not null, no need to check again.
2015-05-14 19:36:37 +02:00
Cristian Maglie 956ddda98e Removed buggy redundant check in FileUtils.deleteIfExists()
The documentation for File.delete() says that the method return true
if the the file is successfully deleted, otherwise false is returned.
An exception is thrown only when the file is not accessible (for
permission problem).

Removing the extra check solves another problem, for example in a
folder with the following situation:

    linkToFileA -> FileA
    FileA

if we remove FileA, we remain with a broken link that can't be removed
using FileUtils.deleteIfExists() because calling File.exists() on a
broken link returns *false*. This commit solve this problem.
2015-05-14 19:18:24 +02:00
Federico Fissore d57681c442 Restored current line/current selected lines display on lower left of the IDE. Fixes #3134 2015-05-14 15:55:49 +02:00
Ish Gupta c3d3016049 Updated cursor.ino
Previous commit broke the actual functionality. The code was confusing and worked until the previous commit.
The changes make it logically and functionally correct.
2015-05-14 18:30:17 +05:30
Federico Fissore 54da4d6d37 New editor on MacOSX: restored CMD+E for finding selected text 2015-05-14 14:53:12 +02:00
Federico Fissore 5c7a0aa572 New editor on MacOSX: CMD+UP/DOWN moves cursor to start or end of sketch. See #3098 2015-05-14 14:53:12 +02:00
Federico Fissore 176d366549 New editor on MacOSX: CMD+BACKSPACE deletes current line until cursor position, ALT+BACKSPACE deletes previous word. See #3098 2015-05-14 14:53:12 +02:00
Federico Fissore 28e02572bc ArduinoIDE is in the default package. Removed 2015-05-14 14:53:12 +02:00
Federico Fissore c14d4fa8b4 Merge pull request #3109 from agdl/fix_i2cexamples
Fix for #2969 (I2C reserved addresses)
2015-05-14 14:07:43 +02:00
Federico Fissore 01d63f2dd1 Merge pull request #3130 from PaulStoffregen/uncategorized-warning
Fix Uncategorized warning message
2015-05-14 14:07:00 +02:00
Arturo Guadalupi 5199b0f6d3 Fixes #2969:
This fixes the Wire examples that uses I2C reserved address (from 0 to 7) substituting them with 8 that is the first one available and that can be used.

I also modified the wire reference
http://www.arduino.cc/en/reference/wire
according to this fact.
2015-05-14 11:27:00 +02:00
PaulStoffregen 0210c6b53a Fix Uncategorized warning message 2015-05-13 14:00:30 -07:00
Federico Fissore 765519a562 New editor: ALT+ BACKSPACE deletes next word (OSX only). See #3098 2015-05-13 17:39:43 +02:00
Federico Fissore 91da999cb0 New editor: ALT+ UP/DOWN move current line only if "editor.advanced" (hidden pref) is true. Fixes #3101 2015-05-13 17:12:26 +02:00
Federico Fissore 2d24d074e3 New editor: mark occurrences enable when "editor.advanced" (hidden pref) is true. Fixes #3102 2015-05-13 17:07:58 +02:00
Federico Fissore 02e94f1879 Update revisions.txt 2015-05-13 16:57:53 +02:00
Federico Fissore 6789cfe223 New modal dialog for adding additional boards manager url: with a wide text area, inputing is much easier 2015-05-13 16:24:37 +02:00
Federico Fissore 74ace6674a Better naming and use of File constructor (avoids hardcoding system dependent path separator) 2015-05-13 10:21:57 +02:00
Federico Fissore 90a533b82c Using FileUtils.copyFile instead of dealing with raw streams 2015-05-13 10:16:09 +02:00
Federico Fissore 166c1aa7bb New editor: restored CTRL+K (open sketch folder). Fixes #3103 2015-05-12 17:41:16 +02:00
Federico Fissore 03283bb098 Avoid referring directly to RSyntaxTextArea, at least in the names 2015-05-12 16:20:54 +02:00
Federico Fissore 96b7c5ec6b MacOSX: fixed some failing tests 2015-05-12 15:23:22 +02:00
Nico d2595129c5 RX and TX Serial buffer sizes can now be defined independently
Fixes #2597
2015-05-12 15:09:48 +02:00
Federico Fissore 40cd971f61 Windows: JVM is packaged with "build" (was previously packed later, with "dist") 2015-05-12 12:09:36 +02:00
Federico Fissore 7c5c1741f0 GNU/Linux: removing jayatana from JAVA_TOOL_OPTIONS, if present. Fixes #3081 2015-05-12 10:48:53 +02:00
Federico Fissore 154d23ce11 Update revisions.txt 2015-05-12 10:17:18 +02:00
Federico Fissore fe94d6aa6d Adding keywords. Closes #2213 2015-05-11 17:37:05 +02:00
Federico Fissore 334e75254f Restoring left empty space on the editor 2015-05-11 17:07:09 +02:00
Federico Fissore 050a642edf Disabled port type fake menu entry. Fixes #3113 2015-05-11 10:58:22 +02:00
Federico Fissore e8c4980c4e Added BaseNoGui.VERSION_NAME_LONG: it includes "Hourly Build DATE" in case of a hourly build 2015-05-11 10:48:52 +02:00
Martino Facchin 4688a7a23f Merge pull request #3111 from facchinm/test-watchdog-sam-2
Add watchdog routines for Due
2015-05-08 14:35:36 +02:00
Martino Facchin 7f8cba667d Due watchdog: change flags to effectively reset board 2015-05-08 14:16:12 +02:00
Bob Cousins d2c510d166 Add Due watchdog functions; modified according to feedback supplied 2015-05-08 14:16:12 +02:00
Bob Cousins 4725d75054 Add watchdog routines for Due. 2015-05-08 14:16:12 +02:00
newbie15 fe52e7f04f Added a note about non-standard row offsets in LiquidCrystal.cpp
In my case I had to change it to make my 16x4 LCD work properly

Fixes #1333
2015-05-08 12:35:04 +02:00
Federico Fissore 36cfd0af28 Windows: launch4j urls changed to generic host downloads.sourceforge.net instead of switch.dl.sourceforge.net 2015-05-08 10:34:40 +02:00
Federico Fissore b32d3553c6 Windows: this launch4j conf SHOULD force using only the bundled JVM 2015-05-08 10:19:24 +02:00
Federico Fissore 5064af486f Added .editorconfig files http://editorconfig.org/ 2015-05-08 10:18:43 +02:00
Federico Fissore f17cc834cf Code folding is disabled by default. Fixes #3105 2015-05-07 20:40:50 +02:00
Federico Fissore 5bc6cee118 Added missing licenses/copyrights 2015-05-07 17:30:05 +02:00
Federico Fissore 8efe0a90cf Update revisions.txt 2015-05-07 17:16:33 +02:00
Federico Fissore 0598d38a04 Code folding was not visible when line numbers were disabled. Fixed 2015-05-07 17:15:51 +02:00
Federico Fissore 2981059251 PdeKeywords must be read before consulting command line args 2015-05-07 17:15:51 +02:00
ricardo.jl.rufino 21c7715f02 hyperlinks enabled by default on comment 2015-05-07 17:15:51 +02:00
Federico Fissore eb42243475 Ensure hyperlinks are coloured using theme.txt colour
Enabling [CTRL,CMD]+click to open hyperlinks
2015-05-07 17:15:51 +02:00