Federico Fissore
987cad2633
Added core "post install" and "pre uninstall" script support.
...
If a core has a post/pre install/uninstall script, it will be execute at the appropriate time IF:
1) source (package_*_index) is trusted (GPG signed)
2) or users have explicitly added line "contributions.trust.all=true" to their preferences.txt
Some minor refactor and clean up while I was at it
2015-07-03 16:35:08 +02:00
Federico Fissore
e15ba64ee2
New console: replaces previous EditorConsoleStream with one that's faster and doesn't discard end chars.
...
See #2798
2015-06-29 16:18:40 +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
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
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
e9d66015a4
Windows: reg query uses different separators on xp, fooling parser. Fixed
2015-06-04 11:44:56 +02:00
Federico Fissore
c84fb7fc90
Removed a handful of static methods delegates
2015-05-28 15:25:44 +02:00
Federico Fissore
a3eae13e5d
Missing call to BaseNoGui.getPlatform().init() in tests
2015-05-26 14:53:15 +02:00
Federico Fissore
5faa1c9866
Removed Preferences.init: no one used it
2015-05-25 14:43:32 +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
202f70a782
Test files should not be modified
2015-05-21 13:47:39 +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
Federico Fissore
f13fe9a4f7
LibraryManagerUI: library types order fixed
2015-05-19 13:13:49 +02:00
Federico Fissore
03283bb098
Avoid referring directly to RSyntaxTextArea, at least in the names
2015-05-12 16:20:54 +02:00
Federico Fissore
96b7c5ec6b
MacOSX: fixed some failing tests
2015-05-12 15:23:22 +02:00
Federico Fissore
5bc6cee118
Added missing licenses/copyrights
2015-05-07 17:30:05 +02:00
Federico Fissore
f8aecd0f9c
Autoformat was generating two undo action, the first one being an empty editor. Tested and fixed
2015-05-07 17:15:51 +02:00
Federico Fissore
c0a1ffa27a
Fixed failing PdeKeywords test
...
Autoformat was not saving caret position any more. Fixed
2015-05-07 17:15:51 +02:00
Federico Fissore
9ebe916fac
Restoring keyword.txt loading and parsing. Added token type identifiers and related style in theme.txt
2015-05-07 17:15:50 +02:00
Federico Fissore
58cd233aee
New editor: addede missing license headers on new files
2015-05-07 17:15:50 +02:00
ricardo.jl.rufino
725dffa69e
updated tests for new Textarea
2015-05-07 17:15:49 +02:00
ricardo.jl.rufino
2e497c6c47
removing files from the old editor
2015-05-07 17:15:49 +02:00
Federico Fissore
9b58812d1d
Preparing the ground for rewriting Preferences GUI code (and hopefully fixing the tiny-pref-window bug on macosx)
2015-05-05 10:02:12 +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
2d65814451
Added missing license header to tests
2015-04-30 11:26:15 +02:00
Federico Fissore
dabd6e4903
Tests weren't deleting temporary files: fixed
2015-04-15 11:00:23 +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
9521d54bee
Windows: added listComPorts test case
2015-04-10 15:31:11 +02:00
Federico Fissore
29cb42eb50
Bundled core is again inside the hardware folder.
...
Fixed a handful of glitches when dealing with multiple installed cores
2015-03-31 17:42:41 +02:00
Federico Fissore
e646ca2525
ContributionInstaller OS check: MacOSX now uses real arch rather than JVM one
2015-03-27 14:51:18 +01:00
Federico Fissore
17d3729426
Package names refactoring: contributions is the main package, libs and cores are subpackages
2015-03-27 14:51:16 +01:00
Federico Fissore
64e6edde96
Added HostDependentDownloadableContributionTest
2015-03-27 14:51:13 +01:00
Federico Fissore
e5e5880a15
HostDependentDownloadableContribution better handles Macosx
2015-03-27 14:51:13 +01:00
Cristian Maglie
100dd21bd0
Added Contributed Platforms.
...
- TargetPackage / TargetPlatform / TargetBoard are now interfaces
- Contributions installed are detected during init time
- Tools must be referenced through "path" property (automatically set
by the IDE to the contributed tool path)
2015-03-27 14:51:09 +01:00
Federico Fissore
155abfe280
MacOSX: Fest is not working well with java7+, needs a cheat
2015-03-26 15:16:44 +01:00
Federico Fissore
6d2aa17051
Compound edits weren't part of the undo/redo dance
2015-02-27 15:51:58 +01:00
Cristian Maglie
5ff4c9f8dc
Temporary disabled DefaultTargetTest under certain conditions
2015-01-14 18:42:19 +01:00
Cristian Maglie
60309fe8b8
Fixed test
2015-01-14 17:18:43 +01:00
Cristian Maglie
29d2ab72e2
Fixed a bunch of simple warnings in java code
2015-01-13 23:16:50 +01:00
Cristian Maglie
7b2ed12ad7
Temporarily disabled I18N test
2014-11-13 16:34:25 +01:00
Claudio Indellicati
1974d77abe
Added new command line options.
...
--buildpath
--nouploadport
--useprogrammer
2014-11-13 16:23:46 +01:00
Claudio Indellicati
83c61376e0
Split UploaderAndMonitorFactory in two distinct classes.
2014-11-13 16:23:44 +01:00
Claudio Indellicati
c666274bf9
Moved libraries and importToLibraryTable (and related methods) from Base to BaseNoGui (work in progress).
2014-11-13 16:23:41 +01:00
Cristian Maglie
e76de57f6b
Fixed parsing of dependency files (.d) to improve sketch build speed
...
Close #2255
2014-10-31 11:39:36 +01:00
Federico Fissore
1b783fa48c
Formatter: cursor position is saved when invoking autoformat. Fixes #2293
2014-09-30 17:17:13 +02:00