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

248 Commits

Author SHA1 Message Date
Federico Fissore
8e76fb87dc An empty string could still be returned when a non empty string is required. Related to #3381 2015-06-22 11:00:50 +02:00
Federico Fissore
a49f1b264a Added default fallback values to serial parameters used in Serial constructor. Fixes #3381 2015-06-22 10:35:28 +02:00
Federico Fissore
380b147dae Code cleanup 2015-06-22 09:24:43 +02:00
Federico Fissore
6558afa21d Libraries: if missing header files, a lib doesn't even get listed. Fixes #3374 2015-06-22 09:19:11 +02:00
Federico Fissore
9089fecbe4 Windows: working on reg query encoding issue #3360. German encoding is Cp852 2015-06-19 17:44:28 +02:00
Federico Fissore
f16bbaa91d SSHUploader: if verbose, prints the actual command run on the remote board 2015-06-19 17:44:28 +02:00
Federico Fissore
9165af4751 By omitting curly braces, your code won't run faster. Your colleague will run slower. 2015-06-19 17:44:28 +02:00
Federico Fissore
fbb61ffd3c Code cleanup 2015-06-18 15:43:14 +02:00
Federico Fissore
88e8019419 Extending remote upload. Sketch merge with bootloader is done by the IDE (using "noblink" bootloader if board definition provides one). If platform provides a "remote" upload tool, that tool is used, otherwise falls back to hardcoded "run-avrdude" 2015-06-18 15:43:10 +02:00
Federico Fissore
8c60054af0 Windows: ListComPortsParser was reporting the same VID/PID for both COM12 and COM1. Fixes #3333 2015-06-18 09:23:29 +02:00
Federico Fissore
80fa3451be Updating translations 2015-06-17 16:52:41 +02:00
Federico Fissore
7d5442b059 Serial class clean up 2015-06-17 12:31:04 +02:00
Federico Fissore
c4e1458b1d Providing a more meaningful error message when attempting to open serial monitor and linux user misses permission on device. Fixes #2100 2015-06-17 12:26:50 +02:00
Federico Fissore
ad8046dab5 Starting 1.6.6 2015-06-16 12:45:05 +02:00
Federico Fissore
4813e573c2 Fixed typo 2015-06-16 10:52:08 +02:00
Federico Fissore
91df9b1901 Switching to Java 8 2015-06-16 09:33:48 +02:00
Federico Fissore
64fcc716c9 MacOSX: SystemProfilerParser nows claims to have found the device even if the name is not exactly the same 2015-06-12 14:21:08 +02:00
Federico Fissore
54971e451f SerialUploader: actualUploadPort may still be null, in that case fall back to userSelectedUploadPort 2015-06-12 14:21:08 +02:00
Federico Fissore
c138628c00 When ports "move", they move in mysterious ways. Watching them closely so we don't miss the catch 2015-06-12 14:21:08 +02:00
Federico Fissore
a755dd7694 SerialBoardsLister now waits indefinitely before starting. BaseNoGui.packages
will eventually be set to at least an empty HashMap, even if no hardware is
present. Fixes #3311
2015-06-12 09:55:33 +02:00
Federico Fissore
2f4485d06b Added missing license headers, added missing blank line between license header
and package declaration, organized imports
2015-06-12 09:55:25 +02:00
Federico Fissore
3153d0b5d8 Fixed typo. Fixes #3323 2015-06-12 08:41:36 +02:00
Federico Fissore
0a6577f85c If parsing a core fails, don't crash but report a warning. Fixes #3307 2015-06-10 15:42:47 +02:00
Federico Fissore
fec9fb4d0e Tab deletion confirmation now shows the complete file name IF it's not a .ino. Fixes #2350 2015-06-08 15:32:15 +02:00
Federico Fissore
bef09e4d03 MacOSX: Platform cleanup 2015-06-08 15:05:10 +02:00
Federico Fissore
ccd7fdc0a3 By using syntax like file://./docs/index.html, editor will open file index.html stored in folder SKETCH_FOLDER/docs/. Fixes #224 2015-06-08 15:05:07 +02:00
Federico Fissore
84d10a8ea0 Some CLI args are parsed before initializing packages. --board argument is parsed after. Fixes #3261 2015-06-05 17:18:50 +02:00
Federico Fissore
0cb6b48e24 Boards/Lib managers: use system proxy settings (got rid of our proxy settings
in File > Preferences)
2015-06-04 13:34:44 +02:00
Federico Fissore
e9d66015a4 Windows: reg query uses different separators on xp, fooling parser. Fixed 2015-06-04 11:44:56 +02:00
Federico Fissore
bede6967d5 Installation folder check both at startup and when user attempts to change
sketchbook location. Fixes #2719
2015-06-03 17:46:01 +02:00
Federico Fissore
b0cb2c4e52 Added File > Recent menu: shows last 5 opened sketches, sorted in reverse chronological order 2015-06-01 17:08:10 +02:00
Federico Fissore
e55d4145d0 SerialMonitor suspend/resume: dealing with boards that change serial port
between uploads. Fixes #3255
Fixed a missing status management, leading IDE to believe Serial Monitor
was opened while it was not. See #3268
2015-06-01 12:14:30 +02:00
Federico Fissore
740a14e638 UploadFactory: removed duplication 2015-06-01 12:08:43 +02:00
Federico Fissore
935becec64 Command line --get-pref may be used without name of the target pref.
If pref name is missing, all prefs are printed on stdout.
Should fix/mitigate #2982
2015-05-29 15:16:51 +02:00
Federico Fissore
a48906e0c2 ContributedPlatform.toString() is used as item in dropdown, so it should print only its version 2015-05-29 15:12:32 +02:00
Federico Fissore
5933a7e8d3 Changing order of boards in boards menu: built-in first, boards manager second,
sketchbook hardware folder third. Each group if sorted by alpha, case
insensitive. Fixes #2650
2015-05-29 14:22:45 +02:00
Federico Fissore
1b7574a8b9 Boards Manager: contributions MAY miss tools, but we missed to consider this case. Fixes #3248 2015-05-29 14:22:45 +02:00
Federico Fissore
b11d54e503 Compiler: adding hooks (custom recipes) between the main phases. New hooks are:
hooks.sketch.prebuild, hooks.sketch.postbuild, hooks.libraries.prebuild,
hooks.libraries.postbuild, hooks.core.prebuild, hooks.core.postbuild,
hooks.linking.prelink, hooks.linking.postlink, hooks.objcopy.preobjcopy,
hooks.objcopy.postobjcopy, hooks.savehex.presavehex, hooks.savehex.postsavehex
2015-05-28 17:28:24 +02:00
PaulStoffregen
c1002e247f Add build symbols for compile time and sketch path 2015-05-28 17:28:24 +02:00
Federico Fissore
4748e9df5e Avoid warning about SCCS folders in libraries, just ignore them. Fixes #3237 2015-05-27 11:26:00 +02:00
Federico Fissore
56e0349287 Allowing editing .S files. Fixes #1616 and #3059 2015-05-26 12:04:12 +02:00
Federico Fissore
8a1e6c8a9b CollectStdOutExecutor and CollectStdOutStdErrExecutor were plain wrong, were losing data and were blocking compilation. Fixes #3124 and #3115 2015-05-25 16:34:25 +02:00
Federico Fissore
ab7b7351f5 Removed lots of calls to BaseNoGui.getPlatform(): static is evil 2015-05-22 15:58:47 +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
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
9ddb72b519 Moved DownloadableContribution and DownloadableContributionDownloader to parent package 2015-05-21 15:37:58 +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
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