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

307 Commits

Author SHA1 Message Date
Federico Fissore
bd93add964 Update translations 2015-08-07 17:30:12 +02:00
Federico Fissore
ae857efa78 Updating translations 2015-08-06 14:27:57 +02:00
Federico Fissore
64bf90fec4 Translations: fixed a nasty bug that prevented new translations to be included 2015-08-06 13:19:08 +02:00
Federico Fissore
2daf330c09 LibraryInstaller and ContributionInstaller are now singletons: members of Base, they get passed to dependents, thus allowing a synchronized method execution, needed to avoid race conditions when accessing files 2015-08-06 10:27:51 +02:00
Federico Fissore
dc93bb93d0 ProgressListener is now a method arg (was an instance arg) 2015-08-06 10:27:51 +02:00
Federico Fissore
b3baa27435 ContributionInstaller.onProgress is now a collaborator: ProgressListener 2015-08-06 10:27:51 +02:00
Federico Fissore
c61c39f5d9 Canceling self check timer when opening boards/libs manager 2015-08-06 10:27:51 +02:00
Federico Fissore
f9612bcdbd Updatable boards support and libraries notification 2015-08-06 10:27:51 +02:00
Federico Fissore
59dfede5ac Libraries with a .development file in their root are flagged as "OnDevelopment".
This allows users to edit and save those libraries examples: they won't be flagged as read-only any more
2015-08-05 16:26:21 +02:00
Federico Fissore
52fd3845ca Working on how sketches are marked readonly.
Initial refactorings: stopped using static members (static is evil)
2015-08-05 16:01:10 +02:00
Federico Fissore
cb292d6114 Got rid of Guava lib: java 8 has its features builtin 2015-08-05 12:09:24 +02:00
Federico Fissore
50cacc1756 Got rid of Java 8 warnings about _ as a method name 2015-08-05 09:12:40 +02:00
Federico Fissore
5dd73a1828 Updating translations 2015-08-05 09:07:59 +02:00
Federico Fissore
ce595ce818 Updating translations 2015-07-10 12:31:43 +02:00
Federico Fissore
5d388e1646 Cleanup and java8 goodness 2015-07-09 15:20:38 +02:00
Federico Fissore
43f33d8220 Tools marked as installed but missing (as when you want to use a system installed avr-gcc) sets to "" the final build preference. Fixes #3074 2015-07-09 15:16:19 +02:00
Federico Fissore
444babdcb8 Merge pull request #3483 from sandeepmistry/issue-2911
Hide stack trace when the SerialUploader cannot find the selected board
2015-07-09 09:25:41 +02:00
Chris--A
7f061ccb0c This adds 'hh' and 'hpp' as valid sketch files.
For completeness a sketch should allow the same extensions as a
library. These missing sketch extensions have already been enabled for
libraries in #3186.
2015-07-09 04:23:33 +10:00
Federico Fissore
0ad73ebed3 Boards manager, nightly core support: missing negation on String.empty() made check report an opposite result 2015-07-08 14:46:48 +02:00
Federico Fissore
03a66b1035 Applying code inspection suggestions 2015-07-08 14:46:44 +02:00
Federico Fissore
dae6e4fff7 Dropping Guava predicates in favour of java.util.function.Predicate 2015-07-08 14:20:25 +02:00
Federico Fissore
bf3fc880ac Compiler: compiled sketch discovery was missing merged sketch 2015-07-07 17:15:39 +02:00
Sandeep Mistry
40c8c067b6 Hide stack trace when the SerialUploader cannot find the selected board (#2911) 2015-07-04 09:47:46 -04:00
Federico Fissore
14586afcf5 Fixed possible NPE 2015-07-03 18:09:56 +02:00
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