26ac897598
Fix indentation in the manpage
2014-08-19 09:16:46 +02:00
c0ab536b7b
Add Base.selectSerialPort
...
This method takes care of setting the serial.port preference to the
given value, as well as deriving the serial.port.file preference. This
should prevent duplicate code in the future.
Note that a second copy of this code lives in SerialUploader, but that
doesn't write to the global Preferences but a local prefs map. Since the
global Preferences are currently static, there is no way to share code
between these two copies.
2014-08-19 09:16:46 +02:00
7548591d51
Improve commandline handling control flow
...
This uses a switch on the action value, which makes it more clear what
code runs when. No actual behaviour is changed, most of the changes in
this commit are indentation changes.
2014-08-19 09:16:46 +02:00
f3565a1bda
Invert decision on when to show the GUI
...
Previously, the code showed an error when the given action was not
upload or verify. This is now reversed: the GUI is shown when the action
is "GUI" (which is the default when no action specified). Since the
action enum only contains these three values, there is no change in
behaviour, but this makes it easier to add new actions later.
2014-08-19 09:16:46 +02:00
6a09ee5eb6
Use an "action" enum when processing commandline arguments
...
Previously, two separate booleans (doUpload and doVerify) were used.
However, since it always makes sense to specify only one of them, it
makes more sense to keep a single action enum variable, which slightly
simplifies the code (especially when more actions are added later).
Additionally, an error is now shown when both --verify and --upload are
specified on the commandline.
2014-08-19 09:16:46 +02:00
11cfe2b81e
Updated eclipse project classpath
2014-08-18 16:09:03 +02:00
7f2350f714
Merge branch 'master' into ide-1.5.x
2014-08-08 15:44:41 +02:00
1bbcb2f9d4
Added replacement stub for cstdlib atexit() funciton.
...
This is an empty stub to simply allow use of complex types with a
non global static lifetime. For more complex handling the function
'atexit' can be redefined in user code.
For more information see:
https://github.com/arduino/Arduino/pull/2229
https://github.com/arduino/Arduino/issues/1919
2014-08-08 15:38:57 +02:00
a6c80364da
FileUtils: added function to recursively find files with given extension
2014-08-08 15:01:53 +02:00
7819374955
Removed unused variables
2014-08-08 15:01:53 +02:00
60f8a897ed
Updated revision log
2014-08-08 14:35:39 +02:00
1824ba1d3b
Merge pull request #2223 from PaulStoffregen/ide-1.5.x
...
SPI Transactions
2014-08-08 12:59:51 +02:00
dcc1020a6e
Better check for programmers configuration when uploading using programmer
2014-08-06 15:20:53 +02:00
8ae1d36a00
Update revision log
2014-08-06 10:21:30 +02:00
daa7e7dcc9
Fix interrupt masking on Arduino Due
2014-08-01 16:44:47 -07:00
ef06410d16
Add SPI_HAS_TRANSACTION symbol for Arduino Due
2014-08-01 13:00:29 -07:00
f7a565de1a
Use SPI transactions and SPISettings in SD library
2014-08-01 12:19:51 -07:00
a0f5a2ee4c
Use SPI transaction in Ethernet W5100 init
2014-08-01 11:52:09 -07:00
8aaca2fbb6
Use SPI transactions in Ethernet library
2014-08-01 06:34:34 -07:00
53924e9d58
Move Ethernet socket level stuff to utility/socket.cpp
2014-08-01 06:03:38 -07:00
abb37e202f
SPI Transactions for Arduino Due
2014-08-01 05:57:13 -07:00
3d5ef6d5d9
SPI Transactions for AVR
2014-08-01 05:38:27 -07:00
378fa904c5
Merge pull request #2215 from temboo/ide-1.5.x-temboo
...
Updated Temboo library
2014-08-01 12:48:06 +02:00
d80e774717
Updated Temboo library
2014-07-31 13:36:34 -07:00
7ce32946a9
Minor changes (libraries descriptions).
2014-07-30 12:32:45 +02:00
1a167b7a6f
Allow to run empty recipes in platform.txt
2014-07-28 18:40:53 +02:00
66c6d49325
Merge branch 'find-replace-fixes' into ide-1.5.x
2014-07-25 12:36:46 +02:00
e0e300ca8d
Merge remote-tracking branch 'arduino/master' into ide-1.5.x
2014-07-25 12:33:16 +02:00
82401c84bb
Fix indent and typos on FindReplace.java
2014-07-25 12:10:42 +02:00
cd75cc24a2
Fix search and replace #2106
2014-07-25 12:01:43 +02:00
6efbecd3cc
Do not replace textbox in Find/Replace dialog if no text is selected
...
See #2070
2014-07-25 11:56:08 +02:00
13321e3c1b
Change layout in Find/Replace dialog to render correctly on Linux
...
see #2070
2014-07-25 11:38:34 +02:00
064fc45ba5
Merge branch 'feature/Search_and_replace_improved_dialog' of github.com:eried/Arduino into eried-feature/Search_and_replace_improved_dialog
2014-07-25 11:34:54 +02:00
e71bbf6011
Merge pull request #2195 from pmjdebruijn/duplicate-example
...
SPI: remove duplicate BarometricPressureSensor example
2014-07-24 14:53:48 +02:00
fd94e184a5
Merge remote-tracking branch 'arduino/master' into ide-1.5.x
2014-07-24 14:46:05 +02:00
163b60ee29
Merge pull request #2206 from amulya349/master
...
Fix of a bug #2199
2014-07-24 14:40:52 +02:00
8131af93dd
Fixed wrong return value in FileIO::size()
...
Fixes #2203
2014-07-24 12:19:13 +02:00
97dc72ce05
Fix of a spelling mistake
2014-07-23 01:17:31 +05:30
865594d132
Fix of a bug
2014-07-23 01:03:44 +05:30
fa72cb764c
Merge pull request #2201 from Fede85/ide-1.5.x_lib-description
...
fixed some broken links in library.properties files
2014-07-22 11:16:12 +02:00
878911c1d4
fixed some broken links in library.properties files
2014-07-21 18:42:27 +02:00
6200ec2039
Merge pull request #2194 from Fede85/ide-1.5.x_lib-description
...
Ide 1.5.x lib description
2014-07-21 12:16:20 +02:00
2c10bbe84c
SPI: remove duplicate BarometricPressureSensor example
2014-07-19 12:53:13 +02:00
dbd9b77b49
Merge pull request #2190 from ribbons/compiler-warnings
...
Fix two compiler warnings generated by updated toolchain
2014-07-19 09:35:58 +02:00
e5c7cb9de1
Merge pull request #2193 from PaulStoffregen/ide-1.5.x
...
Add availableForWrite() to HardwareSerial
2014-07-19 09:27:28 +02:00
dd77375fe9
missing paragraph field in library.properties
2014-07-18 20:08:01 +02:00
b02e85ceb2
modified sentences in library.properties files
2014-07-18 19:41:34 +02:00
33cec73f26
Add availableForWrite() to HardwareSerial
2014-07-18 07:01:26 -07:00
61a3558946
Cast empty string to char* to fix compiler warning
...
Stream::find(char *target) passes an empty terminator string to
Stream::findUntil(char *target, char *terminator) which caused a compiler
warning with the updated toolchain, so cast it to a char*.
2014-07-17 16:51:35 +01:00
569c75246d
Remove unused variable from ethernet socket utils
...
Remove the variable 'status' as this had a value assigned (from readSnSR),
but it was never used.
2014-07-17 16:49:10 +01:00