Cristian Maglie
048a8a61d6
VersionHelper now correctly strip snapshot info
2016-08-05 18:09:42 +02:00
Cristian Maglie
f19bf5cf4c
Use plain exec methods on arduino-builder invocation
...
ApacheCommons do some command-line tweaking that doesnt fit well
with argument passing to arduino-builder, in particular for -prefs
arguments containing spaces.
2016-08-05 10:19:07 +02:00
Martino Facchin
6f24fa6cec
Pass runtime tools to arduino-builder
2016-08-02 15:15:59 +02:00
Cristian Maglie
2c6f6e76c4
Boards tools are resolved using informations from package_index.json
2016-08-02 12:12:00 +02:00
Cristian Maglie
8efed7f2d2
Add reference to packager in tools
2016-08-02 10:45:48 +02:00
Sandeep Mistry
1a6be715ab
Merge pull request #4794 from facchinm/upload_fail_handling
...
Handling gracefully upload failure
2016-07-20 10:18:57 -04:00
Sandeep Mistry
afe204f97f
Merge pull request #4828 from facchinm/issue_4762
...
Filter examples based on contributed libraries by architecture
2016-07-19 10:00:18 -04:00
Cristian Maglie
bca77163fb
Merge branch 'upload-without-verify' of https://github.com/gh-megabit/Arduino
2016-04-28 15:09:27 +02:00
gh-megabit
4b64ef74ba
Implement Do-Not-Verify-After-Upload preference for Serial Uploads
2016-04-15 21:15:34 +01:00
Martino Facchin
2ddbf01334
Do not drop serial ports with underscore in the name
...
solves #4857
2016-04-15 10:01:47 +02:00
Sandeep Mistry
c99ab12446
Add "runtime." prefix to "build_properties_custom.*" preferences
2016-04-13 09:03:03 -04:00
Cristian Maglie
2b18d1fba0
Merge remote-tracking branch 'arduino/master'
2016-04-08 20:17:26 +02:00
Cristian Maglie
95f5b52420
Added flag to allow ignoring signature check on package_index.json
2016-04-08 18:55:00 +02:00
Martino Facchin
643f8479e3
Restore serial.port.iserial field
...
uses 2893c2d64314f3fa298fffb5c90d8e27c8614d08
2016-04-08 17:58:01 +02:00
Martino Facchin
f6880fe617
Merge pull request #4792 from facchinm/solve_serial_windows
...
Rework serial ports handling
2016-04-06 18:03:45 +02:00
Martino Facchin
bf11c7f395
avoid queuing a lot of threads while waiting for platform
2016-04-06 17:52:24 +02:00
Martino Facchin
72c337d88d
avoid losing the sketch serial port on 1200bps touch
2016-04-06 17:51:48 +02:00
Martino Facchin
c28c854936
Filter examples based on contributed libraries by architecture
...
Solves #4762
2016-04-06 14:41:12 +02:00
Cristian Maglie
0c453355f4
Merge branch 'fix-annoying-popup'
2016-04-04 13:34:14 +02:00
Cristian Maglie
8d7ee63c70
Autoclose notification popup after 10 seconds.
2016-04-04 13:30:42 +02:00
Martino Facchin
0584b2c2bd
initialize the error string as empty (not null)
2016-04-01 12:07:15 +02:00
Martino Facchin
63de1cccfb
Avoid generating an exception if upload fails
...
The current method of reporting upload errors is based on an exoteric combination of exceptions which makes return error code useless
The Uploader.java message() implementation is too avrdude-dependant to allow easy portability since the upload tools are becoming a lot and very different
With this commit we try to avoid exceptions and only use the external uploader's exit code to decide the status bar message.
The message can be:
- the last line containing "error" string (any case) or
- the usual avrdude message parsing (to keep compatibility with translations)
Needs testing with all platform and all supported upload tools
2016-04-01 12:06:21 +02:00
Martino Facchin
8f524e14a5
fix exception if remote upload fails on newer ssh client
2016-04-01 12:05:57 +02:00
Martino Facchin
c5d88f09ae
add a flag to pause polling for serial port
2016-04-01 11:38:54 +02:00
Martino Facchin
ea405ea534
avoid NPE for synchronization issues on board list
2016-04-01 11:38:54 +02:00
Martino Facchin
ad74288e5a
Fix randomic NPE when pressing menus during operations
2016-04-01 11:38:54 +02:00
Martino Facchin
243fc68763
Rework Serial ports handling and add Board info menu
...
This commit introduces the concept of stateful board list (vs. original stateless) and board serial number.
The board is now an "entity" composed by the triplet port/vid/pid. These informations come from libListSerial "light" function. When the board list changes, it triggers a request for the additional infos to libListSerial. These information contains the serial number of the boards.
These brings a lighter and faster scanning process. Some logic has been introduced to handle a board with the S/N only exposed in the bootloader (like 32u4).
In this case the disappearing port acquires the bootloader's S/N
A menu (under Ports menu) shows the currently connected port info and can be used for bugreporting
2016-04-01 11:38:53 +02:00
Martino Facchin
6d5597b070
Avoid multiple concurrent compile/upload operations
...
Disable Compile/Run buttons as they get press, and reenable only on function exit.
The launched upload process has now a 2minutes timeout before being terminated forcefully.
10 second after pressing "Upload" the button comes pressable again, but this time the previous upload command gets killed explicitely
2016-04-01 11:38:52 +02:00
Martino Facchin
629509f302
Merge pull request #4515 from sandeepmistry/wait-for-upload-port-timeout-bump
...
Increase wait for upload port timeout to 5s on all platforms
2016-04-01 11:15:57 +02:00
Cristian Maglie
9a6bb8420d
Added string to translations resources
2016-03-17 13:09:27 +01:00
Sandeep Mistry
9dba7f0da0
Catch and report errors parsing contributed index files
2016-03-14 17:28:30 -04:00
Sandeep Mistry
7cb1399381
Apply extra 250ms after waitForUploadPort to all platforms
2016-03-10 09:44:24 -05:00
Sandeep Mistry
7a535d9c40
Add OS X specific delay after waiting for upload port, to prevent "Resource busy" errors on open
2016-03-10 09:37:27 -05:00
Sandeep Mistry
de412656ec
Increase wait for upload port timeout to 5s on all platforms
...
OS X 10.11 seems to be slower, increasing timeout to 5s on all
platforms to keep things simple.
2016-03-10 09:37:27 -05:00
Cristian Maglie
1f3c8b9f6c
Set correct user-agent when performing HTTP requests
2016-03-08 11:31:59 +01:00
Cristian Maglie
8d995d73f3
Show board name on generic "Error compiling" message
...
Close #4658
2016-03-07 19:26:32 +01:00
Cristian Maglie
6b4c018740
Merge branch 'java-warnings' of https://github.com/matthijskooijman/Arduino
2016-01-25 11:06:47 +01:00
Me No Dev
2893c2d643
Fix adding NULL value to the preferences when iserial is not defined
2016-01-25 09:52:43 +01:00
Matthijs Kooijman
3d47995915
Remove unused imports
...
This silences some java warnings.
2016-01-21 17:18:55 +01:00
Matthijs Kooijman
40e9aa17b3
Fix file descriptor leak when downloads are interrupted
...
This fixes a java warning.
2016-01-21 17:15:42 +01:00
Cristian Maglie
6398cde1c8
Added 'arm' architecture support in Boards Manager
...
This is a necessary step to fully support ARM builds of the Arduino IDE
See #3549
2016-01-19 18:05:41 +01:00
Hasso Tepper
d05b375810
Fix some incorrect I18n.format()/tr() usage
2016-01-18 09:47:05 +02:00
Martino Facchin
a1c79ce188
Merge pull request #4211 from facchinm/iserial_field
...
cross-platform jni implementation for serial port details discovery
2016-01-07 12:25:10 +00:00
Martino Facchin
2a677b4bcd
avoid NPE if serial port gets discovered too early
2016-01-07 12:41:56 +01:00
Martino Facchin
7e17b5c318
Move vid/pid resolving to cross platform jni lib
2016-01-07 12:41:51 +01:00
Hasso Tepper
503cbbd745
Use formatted i18n string to ease a translation
2016-01-04 20:09:18 +02:00
Martino Facchin
9d676a71c8
Specify SSH authentication methods
...
Solves upload to particularly configured SSH servers which wrongly chooses Kerberos auth method
2016-01-04 10:58:18 +01:00
Martino Facchin
3c16ac025a
Add iSerial to reported VID_PID string
...
serial.port.iserial holds the iSerial value
2016-01-04 10:58:18 +01:00
Cristian Maglie
cce61f6aad
Remove unnecessary rename in GZippedJsonDownloader
...
See #4361
2015-12-30 10:08:29 +01:00
Cristian Maglie
29912a0ac9
Remove temporary files when updating library_index.json
...
Fix #4272 #4332
2015-12-28 19:17:29 +01:00