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

4729 Commits

Author SHA1 Message Date
Avishay Orpaz
f48df59b8a Allow the serial monitor to stay opened during upload, disabling it 2015-05-21 12:40:08 -05:00
Federico Fissore
94b16a550e Faster library list downloading by downloading gzipped version 2015-05-21 17:02:21 +02:00
Federico Fissore
365b0bdc94 Closing streams using IOUtils.closeQuietly
Fixed badly handled stream found in the meanwhile
2015-05-21 16:50:49 +02:00
Federico Fissore
a5ad02f818 Removed old AutoFormat class, useless since we switched to AStyle 2015-05-21 16:46:39 +02:00
Federico Fissore
9ddb72b519 Moved DownloadableContribution and DownloadableContributionDownloader to parent package 2015-05-21 15:37:58 +02:00
Federico Fissore
309ddbd7c7 Update revisions.txt 2015-05-21 13:47:39 +02:00
Federico Fissore
202f70a782 Test files should not be modified 2015-05-21 13:47:39 +02:00
Federico Fissore
2e1696f9f4 Merge pull request #3203 from agdl/SerialEventFix
Added missing function call to serialEvent example
2015-05-21 12:50:59 +02:00
Federico Fissore
17598368ac Updated MenuScroller with latest from https://tips4java.wordpress.com/2009/02/01/menu-scroller/
Reviewed its getMaximumItems method (now getMaximumDrawableMenuItems) so that it returns a 1/3rd less the max number, avoiding a bad crash on linuxes. Fixes #3174
2015-05-21 11:31:18 +02:00
Federico Fissore
d8b6619de0 Update revisions.txt 2015-05-21 10:31:30 +02:00
Federico Fissore
37adee2553 Merge pull request #3194 from ffissore/windows-jna
Got rid on JNA
2015-05-21 10:25:54 +02:00
Arturo Guadalupi
4648330a7f Fix for serialEvent example
In the example is stated that the function is run between one loop and the next, but actually the call to the function was missing.
The comment also state that the response can be delayed using a delay in the loop,so I think that the way it should be is so by only
adding a call to the function serialEvent as first operation in the loop. I so added this call.
2015-05-21 10:15:55 +02:00
Federico Fissore
67b65ddd77 Restored background color when switching off "external editor" flag in preferences. Fixes #3197 2015-05-21 09:37:35 +02:00
Federico Fissore
e8eb06aa17 Update revisions.txt 2015-05-20 18:09:09 +02:00
Federico Fissore
0363702807 When exporting compiled binary of an example (readonly) sketch, users are forced to save it into their sketchbook. Fixes #3127 2015-05-20 18:04:02 +02:00
Federico Fissore
9166828bfe Due to website configuration changes, every url starting with http://arduino.cc has been changed to http://www.arduino.cc. Fixes #3191 2015-05-20 17:10:06 +02:00
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