Federico Fissore
c287450d72
Added missing translations
2015-03-10 08:52:42 +01:00
Federico Fissore
39d1dfc999
Added warning for uncertified boards
2015-03-10 08:52:41 +01:00
Cristian Maglie
ba8eadeeb5
Split IDE into 2 projects.
...
BEWARE: HIGHLY EXPERIMENTAL BRANCH
2014-11-13 16:34:24 +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
f2d92bbd0f
Removed dependency from Preferences in a bunch of classes.
2014-11-13 16:23:43 +01:00
Claudio Indellicati
1c37189599
Removed unused parameter (base).
2014-11-13 16:23:42 +01:00
Claudio Indellicati
a43d207e4f
Removed dependency from Base in the uploaders.
2014-11-13 16:23:42 +01:00
Claudio Indellicati
4c1b187313
Moved platform (and related methods) from Base to BaseNoGui (work in progress).
2014-11-13 16:23:41 +01:00
Claudio Indellicati
7776ffac4f
Moved packages, currentDirectory and portableFolder (and related methods) from Base to BaseNoGui (work in progress).
2014-11-13 16:23:41 +01:00
Cristian Maglie
50f89d9665
Refactored OS detection subroutine.
...
Moved from Base into a specific utility class OSUtils.
Removed unused platform constants.
2014-11-13 16:23:40 +01:00
Matthijs Kooijman
d4ca6ce127
Allow setting a line timeout in MessageSiphon
...
Previously, the MessageSiphon class would read characters from an
InputStream and then push them to the passed MessageConsumer one line at
a time.
Now, you can specify a line timeout. Normally, messages are still
processed line by line, but if no line ending is received within the
specified timeout (counting from the first character in the line), then
the incomplete line is passed on as a message, without waiting for the
line ending.
This feature is used for the uploader command output. In particular,
this allows the avrdude progress bar to be shown in the IDE as expected,
character by character (previously, the entire progress bar would be
buffered, making it show up completely at the end of the upload).
2014-10-30 12:36:06 +01:00
Federico Fissore
1b783fa48c
Formatter: cursor position is saved when invoking autoformat. Fixes #2293
2014-09-30 17:17:13 +02:00
Cristian Maglie
aa776b30ba
Fix for upload problems on Arduino Leonardo (and derivatives) with OSX 10.9.4
2014-09-01 12:16:41 +02:00
Cristian Maglie
dcc1020a6e
Better check for programmers configuration when uploading using programmer
2014-08-06 15:20:53 +02:00
Cristian Maglie
1a167b7a6f
Allow to run empty recipes in platform.txt
2014-07-28 18:40:53 +02:00
David A. Mellis
fcd633686f
Don't wrap a RunnerException in a redundant RunnerException.
2014-06-11 12:21:52 -04:00
David A. Mellis
b5fe1b1eb5
Proceed with upload even if port can't be found. (Issue #1791 )
2014-06-11 12:07:46 -04:00
Cristian Maglie
f50ec335fe
Removing the magic baudrate is no longer needed with JSSC
...
Fixes #1203 .
The original patch was introduced to workaround a problem with ArduinoISP reported
in #995 . After some debugging it seems caused by a glitch in RXTX library,
more discussion here: https://github.com/arduino/Arduino/issues/1203
2014-03-16 12:17:25 +01:00
Federico Fissore
f3619c3123
Closes #277 . Cores files intentionally left out of the commit as they require a different approach and have a different history
2014-02-21 16:21:32 +01:00
Cristian Maglie
f91670e0d0
Fixed JSSC upload problem with Arduino Due on MacOSX
...
JSSC, on unix based systems like linux and MacOSX, when listing serial ports
tries to open each port to ensure its existence. While this check works well for
linux ports /dev/ttyS0..31, it leads to unexpected behaviuors on MacOSX in
particular with USB-CDC virtual serial ports.
This patch disable the check and keep it enabled only for linux ttySxx ports.
This adds also tty.* and cu.* to the list of available serial ports on MacOSX.
2014-02-20 14:48:28 +01:00
Cristian Maglie
4a7cee4b3c
Fixed upload on Arduino Leonardo (and derivatives) with JSSC on Mac.
...
See #1633
2013-11-28 17:27:13 +01:00
Federico Fissore
f334e673a5
removing RXTX, switching to JSSC
2013-11-28 17:27:13 +01:00
Federico Fissore
54253ee5c3
Improved error message when unable to connect to the board via SSH
2013-10-16 17:04:07 +02:00
Federico Fissore
9898fd7ae6
Added support to openssh config file
2013-10-15 17:17:16 +02:00
Federico Fissore
56bdebb8d7
Introducing Artistic Style: new IDE autoformatter
2013-10-14 18:11:30 +02:00
Cristian Maglie
ea8c14421a
Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discovery
...
Conflicts:
app/src/processing/app/Preferences.java
app/src/processing/app/debug/Uploader.java
2013-08-23 15:59:24 +02:00
Federico Fissore
94ed153f39
Re-added licence header to cc.arduino classes
2013-07-23 12:11:13 +02:00
Federico Fissore
6af672ff6c
Added licence header to cc.arduino classes
2013-07-22 17:47:54 +02:00
Federico Fissore
652168cb03
Zeroconf services may have multiple IP addresses: let's consider them all
2013-07-22 10:25:25 +02:00
Federico Fissore
def612e7b7
NetworkDiscovery: InetAddress.isReachable() is unreliable, let's open a socket
2013-07-19 15:17:27 +02:00
Federico Fissore
dec06c0423
Merge remote-tracking branch 'arduino/ide-1.5.x' into dev-ide-1.5.x-discovery
2013-07-17 19:39:42 +02:00
Cristian Maglie
008818868c
Merge branch 'ide-1.5.x' into dev-ide-1.5.x-discovery
...
Conflicts:
app/src/cc/arduino/packages/uploaders/SerialUploader.java
app/src/processing/app/Editor.java
app/src/processing/app/Sketch.java
app/src/processing/app/debug/Uploader.java
2013-07-14 12:01:03 +02:00
Federico Fissore
f648715621
Introducing uploader "warnings", a first attempt to give users more feedback with complex uploads
2013-07-10 09:44:49 +02:00
Federico Fissore
39c032b490
cleanup
2013-07-10 09:42:27 +02:00
Federico Fissore
7b7f26f9d2
NetworkDiscovery: a duplicate board is identified by its IP address only
2013-07-08 14:18:09 +02:00
Federico Fissore
172007b475
renamed two lua scripts
2013-07-05 13:50:00 +02:00
Federico Fissore
2165ecaa07
Avoiding duplicate boards in port menu
2013-06-28 15:29:39 +02:00
Federico Fissore
f41dc69c08
Refactored Uploader.stringContainsOneOf and StringMatchers.wildcardMatch into StringUitils
...
SSHUploader: filtered out some platform specific files
2013-06-28 15:29:39 +02:00
Federico Fissore
92ee034964
Faster implementation of scp copy of www folder contents
2013-06-28 15:29:39 +02:00
Federico Fissore
0d07ff9b41
First (slow) implementation of "copy everything from sketch www folder to yun's www/sketch folder, if available"
2013-06-28 15:29:39 +02:00
Federico Fissore
67cb6047de
Added source folder to Uploader.uploadUsingPreferences
...
Cleaned up Uploader.message
Better SSH output streams consuming
Introduced generic SCP.scpFile method and refactored SCP.scpHexToBoard
2013-06-28 15:29:38 +02:00
Cristian Maglie
9f84ae1d64
Workaround for IDE crash when uploading on Leonardo (and derivatives) on Linux
2013-06-28 09:50:51 +02:00
Federico Fissore
1f7ad71218
IDE network discovery now reacts to new networks: it monitors available IP addresses and, when one is added, it starts listening to bonjours coming from it
2013-06-25 16:13:14 +02:00
Federico Fissore
cca59f7e91
NetworkDiscovery is a bit more responsive when boards go OFFLINE
2013-06-14 16:43:05 +02:00
Federico Fissore
ae222c10e7
HTTPUploader is now SSHUploader
...
running avrdude with ssh, thus recovering incremental output
2013-06-13 13:01:21 +02:00
Federico Fissore
d28c656d7d
httpuploader actually uses scp to move the sketch on the board
2013-06-11 17:33:04 +02:00
Federico Fissore
21203cbe1b
introducing jsch. now network monitor uses SSH to trigger a telnet session at yun side
2013-06-11 15:02:10 +02:00
Federico Fissore
f791329ddc
extremely ugly hack to fix bad behaviour of java6 when dealing with SSL
2013-06-10 09:11:21 +02:00
Federico Fissore
137da0326d
found a bug in java6, fixed removing a https protocol from the list
...
see http://stackoverflow.com/questions/15589880/how-to-make-java-6-which-fails-ssl-connection-with-ssl-peer-shut-down-incorrec
2013-06-10 09:11:21 +02:00