Federico Fissore
c5b1d866de
Code cleanup
2015-06-25 09:29:05 +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
f16bbaa91d
SSHUploader: if verbose, prints the actual command run on the remote board
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
4813e573c2
Fixed typo
2015-06-16 10:52: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
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
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
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
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
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
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
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
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
96b7c5ec6b
MacOSX: fixed some failing tests
2015-05-12 15:23:22 +02:00
Federico Fissore
d0d9aa82d1
Merge pull request #3017 from cmaglie/programmer-pref-override
...
programmer.txt definitions must have priority over platforms.txt tools definitions
2015-05-06 15:49:33 +02:00
Federico Fissore
03a43370b7
Added missing license headers to files added with the last commits
2015-05-05 14:29:15 +02:00
Federico Fissore
de95ef6c41
Predicates: extracting anonymous inner classes for better reuse
2015-05-05 11:56:56 +02:00
Federico Fissore
7e7a9d0fe8
Disabling uncertified boards warning even in java code, for good measure
2015-05-05 09:17:50 +02:00
Federico Fissore
060ec30e1c
GPGSignatureVerification: better error handling when reading signature
2015-05-05 08:49:01 +02:00
Federico Fissore
cd49d29e52
Lots of unclosed input and output streams now properly closed. They were preventing Boards Manager from working on Windows
2015-05-04 15:44:34 +02:00
Federico Fissore
19bb40cbb1
ContributionInstaller: downloadIndex -> download
2015-05-04 12:54:12 +02:00
Federico Fissore
a214564952
Boards Manager: platforms listed in non-signed package index files goes under "Contributed" category
2015-05-04 12:05:50 +02:00
Federico Fissore
cddfa2891e
Boards Manager: package index file with name starting with "test_package_" are preserved
2015-05-04 12:05:50 +02:00
Federico Fissore
ecf432fadc
Boards Manager: downloading additional files as specified in preference 'boardsmanager.additional.urls'
2015-05-04 12:05:50 +02:00
Federico Fissore
cf1879f948
Introducing GPG signature verification when loading main package_index file
2015-05-04 12:05:50 +02:00
Federico Fissore
804480ce53
ContributionIndexer now loads and merges content of files named package_SOMETHING_index.json
2015-05-04 12:05:49 +02:00
Cristian Maglie
a7e6a39f4e
programmer.txt has now priority over platforms.txt tools definitions
...
This allows properties defined in programmers.txt to override generic
configurations in platform.txt where needed, for example in the
following configuration:
programmers.txt:
myprog.name=My New Programmer
[...]
myprog.program.tool=avrdude
myprog.config.path={runtime.platform.path}/myprog_avrdude.conf
[...]
platform.txt:
tools.avrdude.path={runtime.tools.avrdude.path}
tools.avrdude.cmd.path={path}/bin/avrdude
tools.avrdude.config.path={path}/etc/avrdude.conf
[...]
tools.avrdude.upload.pattern="{cmd.path}" "-C{config.path}" {upload.verbose} -p{build.mcu} -c{upload.protocol} -P{serial.port} -b{upload.speed} -D "-Uflash:w:{build.path}/{build.project_name}.hex:i"
the generic tools.avrdude.config.path value
{path}/etc/avrdude.conf
is replaced by the more specific myprog.config.path used in "myprog" programmer
{runtime.plaform.path}/myprog_avrdude.conf
2015-04-22 14:33:20 +02:00
Federico Fissore
96c4576962
Added --preserve-temp-files command line option
2015-04-15 11:00:01 +02:00
Federico Fissore
3465fcf97b
File.deleteOnExit is not recursive. Replaced by DeleteFilesOnShutdown shutdown hook. Fixes #2971
2015-04-15 10:21:37 +02:00
Federico Fissore
eacddd6120
Block discovery threads until packages is not null, otherwise boards discovered during startup will miss model name
2015-04-13 15:36:17 +02:00
Federico Fissore
350adb99cb
Also SerialDiscovery was affected by bug found at 40535dfc5560e2bbdb2c9479d7b6b43ad3ae4234. Fixes #2892
2015-04-13 13:38:55 +02:00
Federico Fissore
40535dfc55
NetworkDiscovery was silently failing because packages werenìt ready yet. Fixes #2837
2015-04-13 13:29:05 +02:00
Federico Fissore
7d0ffe92b2
Lib/Board Manager CRC check is now case insensitive. Fixes #2953
2015-04-10 09:52:31 +02:00
Federico Fissore
3c67e74382
Library Manager: better error message
2015-04-09 16:04:56 +02:00
Federico Fissore
b35ab60ea2
Library Manager: some lib names end with numbers, hence separate version with 'version'
2015-04-09 15:56:15 +02:00
Federico Fissore
f0cc644d8f
Library installer: made messages play nicer with i18n
2015-04-09 15:30:40 +02:00
Kristian Sloth Lauszus
26ae4d13b8
Don't throw exception if library is already installed
2015-04-09 14:56:24 +02:00
Kristian Sloth Lauszus
ada7b41063
Print library name when installing library via library manager
2015-04-09 14:47:58 +02:00