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

4794 Commits

Author SHA1 Message Date
Cano
c4080efdb5 zero delay fix, ADC prescaler fix 2015-05-22 17:23:46 +02:00
Cano
219914ef22 delayMicroseconds(): added support for 1Mhz, 12Mhz and 24Mhz
1Mhz is a default clock speed on Atmega328, many users run it on the
internal 1Mhz clock to save battery power. Up until now
delayMicroseconds() function wasn't taking this frequencies into an
account.
2015-05-22 17:23:45 +02:00
Federico Fissore
ab7b7351f5 Removed lots of calls to BaseNoGui.getPlatform(): static is evil 2015-05-22 15:58:47 +02:00
Chris--A
c617562e74 Optimize printLn calls. 2015-05-22 23:00:07 +10:00
Federico Fissore
46e065b76d Update revisions.txt 2015-05-22 14:05:50 +02:00
Federico Fissore
9c02f932f6 Serial monitor: added 230400 and 250000 baud rates. Fixes #2796 and #341 2015-05-22 09:46:05 +02:00
Federico Fissore
76c5d99123 ZipFile and Socket are not Closable in java 1.6 2015-05-22 09:21:20 +02:00
Federico Fissore
181211eb40 Merge pull request #2742 from Wackerbarth/Issue_2180
Allow the serial monitor to stay opened during upload, disabling it
2015-05-22 09:01:47 +02:00
chromhelm
ed331a817a Fixed bug with flushing 2015-05-21 21:42:40 +02:00
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
Chris--A
0051eadd2a Modified randomSeed, now uses unsigned long. 2015-05-21 16:52:42 +10: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
Chris--A
36f320b6d5 Added String handling to SD class 2015-05-20 22:02:09 +10: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