Commit Graph

21 Commits

Author SHA1 Message Date
Cristian Maglie 49b98959c5 Correctly handle "-snapshot" and "+build" in semantic versioning
This fix a regression introduced in:

048a8a61 (VersionHelper now correctly strip snapshot info)

actually neither 048a8a61 nor the version before are correct becuase:

048a8a61 - strips all the extra `-snapshot` and `+build`
previous - doesn't handle the case `x.y-snapshot`

Now both are handled correctly and a test has been added to verify this.

To be completely semver compliant we should deny versions in the
format `x.y`, but this will break all legacy version that have been
published until now, so this changed should be postponed for the next
major release of the IDE.

Fix #5251
2016-08-16 11:00:35 +02:00
Federico Fissore 98d5ff79eb Upgrading arduino-builder to 1.3.7, which changes the way messages are sent
back to the IDE. Instead of having just stdour and stderr, stdout only is
used, but each message has a log level: info, warn, debug, error
Plain stdout/stderr are still used by child processes
2015-12-11 14:25:13 +01:00
Federico Fissore 2e80ee5bbd Testing translation for proper formatting. This test will fail when a
translation uses wrong syntax, thus avoiding any future issue similar to #4095
2015-11-06 17:24:26 +01:00
Federico Fissore e5ddd0be3b New compiler 2015-09-14 15:21:15 +02:00
Federico Fissore 5e518b9929 Added missing license headers 2015-08-21 08:41:50 +02:00
Federico Fissore 17032ec543 Added proxy PAC file support functions 2015-08-21 08:41:50 +02:00
Federico Fissore 0c7e0d6bb4 CustomProxySelector: auto proxy (PAC) needs login info too 2015-08-21 08:41:50 +02:00
Federico Fissore 708da3bd86 Introducing CustomProxySelector 2015-08-21 08:41:50 +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 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 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 94b16a550e Faster library list downloading by downloading gzipped version 2015-05-21 17:02:21 +02:00
Federico Fissore 202f70a782 Test files should not be modified 2015-05-21 13:47:39 +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 f13fe9a4f7 LibraryManagerUI: library types order fixed 2015-05-19 13:13:49 +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 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