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
d02cdfdb07
If a contribution misses its checksum, consider it a development build: force re-downloading by deleting previously downloaded files and skip checksum verification
2015-07-02 15:04:10 +02:00
Federico Fissore
fef4e56044
Tools path unversioned properties are adjusted right before compiling.
...
This way, when multiple versions of, e.g., bossac are installed and
a platform uses bossac 1.5, core author will be able to specify just
tools.bossac.path={runtime.tools.bossac.path}
and the IDE will set it to right version of bossac
Fixes #3325
2015-07-01 17:11:25 +02:00
Federico Fissore
32cf196271
"Merge sketch with bootloader" and "save hex" should work flawlessly with cores that save binaries in both buildpath/sketch and plain buildpath
2015-07-01 15:23:17 +02:00
Federico Fissore
259fefecb2
Updating translations
2015-07-01 12:59:36 +02:00
Federico Fissore
f1bed21d1a
Pulling from transifex: waiting 3 seconds before retrying
2015-07-01 12:58:28 +02:00
Federico Fissore
8e2c3c777c
Compiler: #3435 introduced a bug: you needed to save a file for it to be copied to build path. Hence, restored previous "copy sketch file" logic, couples with a recursive one, used only for files external to the sketch (in subfolders)
2015-06-30 15:32:33 +02:00
Federico Fissore
9a01e30675
Compiler: don't filter out existing sketch files, overwrite them. Fixes #3440
2015-06-30 15:18:19 +02:00
Federico Fissore
4313f2ab42
Updating translations
2015-06-30 14:39:54 +02:00
Federico Fissore
d5253e1690
Transifex pull: made script more kind when networks fails
2015-06-30 14:39:03 +02:00
Federico Fissore
c4de750253
Added library version to "Using library X..." verbose notification
2015-06-30 10:41:32 +02:00
Federico Fissore
ecb4eaf861
Compiler: additional files with allowed extentions are recursively copied to build folder. Fixes #3080
2015-06-30 09:36:43 +02:00
Federico Fissore
a853372872
Compiler: fixed wrong check against non existent folder and a possible NPE
2015-06-29 15:32:32 +02:00
Federico Fissore
e097439eab
Compiler: sketch files get compiled into "sketch"
2015-06-29 15:11:45 +02:00
Federico Fissore
5a35be06da
Compiler: cores files get compiled under "core", libraries under "libraries". Fixes #2997
2015-06-29 15:11:45 +02:00
Federico Fissore
46058a5bf6
BaseNoGui.currentDirectory needs to be initialized before anything else
2015-06-29 15:10:42 +02:00
Federico Fissore
f169ef95aa
Windows: using BaseNoGui.getContentFile instead of directly using "user.dir" property
2015-06-29 14:47:19 +02:00
Federico Fissore
6e8e3a7bad
Falling back to "user.dir" in case "APP_DIR" is missing
2015-06-29 14:47:13 +02:00
Federico Fissore
b8b1dc2327
Dropping --curdir CLI argument support
2015-06-29 14:28:16 +02:00
Federico Fissore
85ae80b6f9
Introducing APP_DIR property. Allows the IDE to know its installation folder.
...
Also upgrading appbundler with a patched version: https://bitbucket.org/ffissore/appbundler It allows to know the current working directory
These two put together, we can now rely on APP_DIR when loading IDE resources while being sure current working directory is properly set, thus being much more friendly when run from CLI
Fixes #1493
2015-06-29 14:28:16 +02:00
Federico Fissore
16e18467dd
Updating translations
2015-06-26 13:18:01 +02:00
Federico Fissore
b844011c1d
saveHex must work with multiple recipe.output recipes
2015-06-26 12:24:15 +02:00
Cristian Maglie
c08d4fde5c
Using static import to reduce code bloat in Serial.java
2015-06-25 12:51:14 +02:00
Cristian Maglie
1f175e9f1a
Updated eclipse project files
2015-06-25 12:47:38 +02:00
Federico Fissore
ea55a2edc3
Windows: migrating from AppData\Roaming\Arduino15 to AppData\Local\Arduino15.
...
Migration occurs when NO preferences file location is provided (CLI only), when new location does not exist and when there is something to migrate. Fixes #2902
2015-06-25 11:36:43 +02:00
Federico Fissore
62e5e0186f
Code cleanup
2015-06-25 10:40:29 +02:00
Federico Fissore
ea92393569
CLI: fail if selected board does not exist. Fixes #3417
2015-06-25 10:40:28 +02:00
Federico Fissore
edd6999a86
Merge pull request #3410 from Chris--A/test_url
...
Fix missing trailing parameters when opening URL's (WIN)
2015-06-25 09:54:10 +02:00
Federico Fissore
ca6724ad96
Merge pull request #3415 from martinjos/legacy-lib-link-bug-3412
...
Handle duplicates of legacy libs correctly. (#3412 )
2015-06-25 09:29:31 +02:00
Federico Fissore
c5b1d866de
Code cleanup
2015-06-25 09:29:05 +02:00
Martin Sidaway
ba09c7511c
Handle duplicates of legacy libs correctly. ( #3412 )
2015-06-24 17:58:31 +01:00
Federico Fissore
98eb1a9ee2
Re-introducing JNA, used only on Windows and only to access Windows Registry. Should fix #3360
2015-06-23 12:46:58 +02:00
Federico Fissore
5d3e4c185e
Compiler: merge sketch must look for the bootloader file under runtime.platform.path, not build.platform.path. Fixes #3395
2015-06-22 11:56:56 +02:00
Chris--A
cac568f44c
Fix missing trailing parameters when opening URL's
2015-06-22 19:28:19 +10:00
Federico Fissore
978c8fc682
Compiler: don't merge if bootloader file is specified but missing. Print a warning instead. Fixes #3394
2015-06-22 11:11:09 +02:00
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