Federico Fissore
f6546aea45
Windows: got rid on JNA, thus no more UnsatisfiedLinkError (at least when accessing native OS functions). Fixes #3190
2015-05-20 16:33:33 +02:00
Federico Fissore
026210564d
Several File.list() calls missed check for null return value. Fixed
2015-05-20 16:32:27 +02:00
Federico Fissore
0b4a4fb0b5
No need to use static variables
2015-05-20 11:42:44 +02:00
Chris--A
b2f8b9b6c1
IDE: prevent multiple bad name notifications.
...
This patch will prevent the IDE from informing the user about a bad
sketch folder name multiple times.
Now the user is informed once at start up only, or once when it is
detected during a rescan of the folders.
2015-05-20 11:35:46 +02:00
Federico Fissore
281fc68304
Merge pull request #3185 from ffissore/board-port-cut-off
...
Cut off board/port name when greater than 50
2015-05-20 11:34:06 +02:00
Federico Fissore
d44c4ec5b0
Update revisions.txt
2015-05-20 11:03:03 +02:00
Cristian Maglie
977ccc6910
Added missing license on samd's pgmspace.h
...
Fixes #3145
2015-05-19 20:01:50 +02:00
Federico Fissore
8ee35d0c52
Cut off board/port name at 50 instead of 16. Fixes #3104
2015-05-19 19:47:51 +02:00
Federico Fissore
57dcf07244
Merge pull request #3186 from Chris--A/allow_headers
...
Added support for .hh and .hpp libraries
2015-05-19 17:47:24 +02:00
Chris--A
af812a551b
Added support for .hh and .hpp libraries
2015-05-20 01:36:11 +10:00
Federico Fissore
11476df7f7
Fixed goto keyword color. Fixes #3182
2015-05-19 16:36:32 +02:00
Federico Fissore
e7fc9a1bd2
Windows: addind -Djna.nosys=true to launcher options. Closes #2301
2015-05-19 16:26:39 +02:00
Federico Fissore
9191442aea
Libraries: fixed incorrect handling of null types
2015-05-19 16:26:03 +02:00
Federico Fissore
f13fe9a4f7
LibraryManagerUI: library types order fixed
2015-05-19 13:13:49 +02:00
Federico Fissore
1d6e710eac
Rewritten library menu generation; libraries are now grouped by their type. Fixes #2879
2015-05-19 12:57:06 +02:00
Federico Fissore
42b07f0337
Libraries bundled with cores will take the type of that core, instead of relying on an undocumented 'types' property. Fixes #2875
2015-05-19 12:24:11 +02:00
Federico Fissore
65e0d8b547
New editor on MacOSX: CMD+E uses selection to find next entry. Fixes #3147
2015-05-18 17:12:43 +02:00
Federico Fissore
d71f2738c4
Preferences: added tooltip about additional boards manager urls. Fixes #3092
2015-05-18 16:56:13 +02:00
Federico Fissore
4c3de26631
Don't export sketch if the underlying core does not support it. Fixes #3171
2015-05-18 13:34:29 +02:00
Federico Fissore
19aa7edf1d
Merge pull request #3167 from Chris--A/no-spawn
...
Build: Remove spawn from exec command (Windows)
2015-05-18 12:47:36 +02:00
Federico Fissore
d08ef896df
Merge pull request #3180 from Chris--A/keywords_update
...
Updated keywords.txt
2015-05-18 11:43:17 +02:00
Federico Fissore
3cababb442
RSyntaxTextArea: using a modified version, tracked at https://github.com/arduino/RSyntaxTextArea . Fixes #3099
2015-05-18 10:35:24 +02:00
Chris--A
223db048ff
Updated keywords.txt
...
This commit fixes some highlighting issues due to multiple keyword
entries.
The missing C++ keywords have been added.
A set of standard fixed sized integers has been added also: uint8_t,
int32_t,...
2015-05-18 17:51:55 +10:00
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
Chris--A
00f36e7b26
Remove spawn from exec command
2015-05-15 16:59:42 +10: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