Cristian Maglie
244a750bef
Merge branch 'wayoda-fix-find-dialog-layout' into ide-1.5.x
2015-01-13 23:30:22 +01:00
Cristian Maglie
fdbb45ec47
update revision log
2015-01-13 23:28:19 +01:00
Cristian Maglie
17115b0a9b
Fixed NPE when import menu are empty
2015-01-13 23:16:53 +01:00
Cristian Maglie
56b9f1cd6f
Fixed NPE when currently selected platform is no more installed.
...
BaseNoGui.getTargetBoard() now handles null TargetBoard.
Removed unused method Base.getTargetBoard()
2015-01-13 23:16:53 +01:00
Cristian Maglie
ec67b0d4be
Optimized FileUtils.recursiveDelete(File) function
2015-01-13 23:16:53 +01:00
Cristian Maglie
29d2ab72e2
Fixed a bunch of simple warnings in java code
2015-01-13 23:16:50 +01:00
Cristian Maglie
99715d22d9
Removed unused classes Commander.java and Webserver.java
2015-01-13 23:05:36 +01:00
Cristian Maglie
5e33ca4cd4
Merge pull request #2546 from zorzano/ide-1.5.x.GSM.1
...
Minor modifications aligning internal and Arduino versions
2015-01-09 14:06:10 +01:00
Javier Zorzano
2b14a9349c
Align types: int to unsigned int
...
Block send SMS until finished operation.
GSM3IO.h. Keeps most of board-dependant pins
Flush buffer after GPRS detach
Delete some references to HardwareSerial.h
Include OFF modem status
2015-01-08 18:36:41 +01:00
Cristian Maglie
e4c8f98941
Merge branch 'ide-1.5.x-linux-lzma' of git://github.com/ffissore/Arduino into ide-1.5.x
2015-01-08 15:32:51 +01:00
Cristian Maglie
92118494ed
Slighlty better layout for Search and Replace dialog.
...
See https://github.com/arduino/Arduino/pull/2540#issuecomment-69167281
2015-01-08 14:41:54 +01:00
Cristian Maglie
18fc1c9f45
Find/Replace dialog, added 10px of padding to match other dialogs
2015-01-07 16:02:12 +01:00
Cristian Maglie
78e098e3d7
Indent pass, no code change
2015-01-07 16:01:37 +01:00
wayoda
858bd455d7
Fix layout for Find-Replace dialog
2015-01-07 15:14:44 +01:00
Cristian Maglie
20ac20f629
Arduino custom type boolean is now mapped to bool type
...
Fixes #2151
Fixes #2147
2015-01-07 14:56:19 +01:00
Cristian Maglie
863cb417a6
Merge pull request #2485 from ffissore/ide-1.5.x-reenable-38400
...
Re enable 38400 baud rates
2015-01-06 17:39:44 +01:00
Cristian Maglie
0dbd35a70e
Merge remote-tracking branch 'arduino/ide-1.5.x' into ide-1.5.x
2015-01-06 15:24:17 +01:00
Cristian Maglie
91e6926cfc
Merge commit 'collin80-uart-fix' into ide-1.5.x
2015-01-06 15:21:57 +01:00
Cristian Maglie
37ea166e19
sam: refined UART/USART class inheritance
...
Let Usart inherit all methods from Uart.
2015-01-05 15:35:32 +01:00
Cristian Maglie
16d836108f
sam: fix code format and indent in UART/USART class
2015-01-05 15:34:09 +01:00
Federico Fissore
1c5ea40427
Linux: using lzma as compression algorithm, halves dist file size
2015-01-05 10:11:18 +01:00
Collin Kidder
cabfd8ed21
Fixed flush so that it actually is sure to flush all outstanding data.
2015-01-04 13:37:28 -05:00
Federico Fissore
0d9997b8cf
gitignore: ignoring all archives for win and mac
2015-01-02 14:08:21 +01:00
Collin Kidder
76280e8778
Correct an issue where write could send data out of order.
2014-12-31 08:42:26 -05:00
Cristian Maglie
ad9fc89fce
IDE: Removed unused stuff from Serial class
2014-12-24 18:57:46 +01:00
Collin Kidder
eff20deb27
Add ability to set interrupt priority for UART/USARTs.
2014-12-24 10:36:40 -05:00
Collin Kidder
2fedb00552
Switch all of the transmit interrupt code to UARTClass. Also, turn USARTClass into a stub because it did nothing differently from the UART code anyway. Now all serial ports use transmit interrupts.
2014-12-24 10:20:37 -05:00
Collin Kidder
bb341c6d92
Modifications to make serial transmit interrupt work more reliably. Also, added the availableForWrite function.
2014-12-23 22:37:58 -05:00
Collin Kidder
4eb05c303b
Change RingBuffer to have buffer size of 128 and also set its members volatile since they are all accessed and modified in interrupt handlers.
2014-12-23 22:36:35 -05:00
Cristian Maglie
ab92e42259
Merge branch 'master' into ide-1.5.x
...
Conflicts:
app/src/processing/app/Serial.java
app/src/processing/app/SerialMonitor.java
2014-12-23 16:41:38 +01:00
Cristian Maglie
8e0a311e87
SerialMonitor: limit buffering without autoscroll
...
When the "autoscroll" checkbox is deselected the buffer may continue
to grow up to twice of the maximum size.
This is a compromise to ensure a better user experience and, at the
same time, reduce the chance to lose data and get "holes" in the
serial stream.
See #2491
2014-12-23 14:11:45 +01:00
Cristian Maglie
63f5d26ae9
Improved Serial input processing.
...
Before this patch every byte received from Serial
invokes a String allocation, not really efficient.
Moreover a InputStreamReader is chained on the serial
InputStream to correctly convert bytes into UTF-8
characters.
2014-12-23 12:58:41 +01:00
Collin Kidder
065459c18f
Implement transmit buffering with interrupts for USART devices
2014-12-21 20:57:08 -05:00
Cristian Maglie
391d3380ee
Removed leftover debug print
2014-12-10 11:01:45 +01:00
Cristian Maglie
35848e09a8
Mitigated Serial Monitor resource exhaustion when the connected device sends a lot of data
...
Fixes #2233
2014-12-10 10:37:43 +01:00
Federico Fissore
588f9f1118
Ignoring GNOME .directory files
2014-12-09 10:51:39 +01:00
Federico Fissore
2f08fe4ecf
38400 baud rate had issues with RXTX and linux. With JSSC, it seems to be working fine again. Fixes #2296
2014-12-04 13:10:01 +01:00
Cristian Maglie
6c4f7dc293
Merge branch 'master' into ide-1.5.x
...
Conflicts:
hardware/arduino/cores/arduino/wiring.c
libraries/Ethernet/src/utility/util.h
libraries/Ethernet/src/utility/w5100.cpp
libraries/Ethernet/src/utility/w5100.h
libraries/Ethernet/util.h
libraries/Ethernet/utility/util.h
libraries/SPI/SPI.cpp
libraries/SPI/SPI.h
2014-12-02 22:35:17 +01:00
Cristian Maglie
1be99c3a1d
Merge pull request #2365 from cmaglie/ide-1.0.x-spi-transaction
...
[IDE 1.0.x (backport from 1.5.x)] SPI Transactions
2014-12-02 22:24:51 +01:00
Cristian Maglie
ae402c2907
Update revision log
2014-12-02 22:20:40 +01:00
PaulStoffregen
20ca43646a
Fix SPI transaction mismatch errors
2014-12-02 22:18:43 +01:00
Cristian Maglie
37115d03ef
Backported SD library from 1.5.x
2014-12-02 22:15:57 +01:00
Cristian Maglie
b9b0fcdadc
Backported Ethernet library from 1.5.x
2014-12-02 22:15:57 +01:00
Cristian Maglie
6ecb174c40
Backported 'yield()' hook from 1.5.x
2014-12-02 22:15:57 +01:00
Cristian Maglie
042fa0c3f2
Backported SPI Transcations from 1.5.x
2014-12-02 22:14:59 +01:00
Cristian Maglie
a9735bf91f
Fix atomicity issues in SPI::beginTransaction and SPI::endTransaction (Andrew Kroll)
...
Previously, it could happen that SPI::beginTransaction was
interrupted by an ISR, while it is changing the SPI_AVR_EIMSK
register or interruptSave variable (it seems that there is
a small window after changing SPI_AVR_EIMSK where an interrupt
might still occur). If this happens, interruptSave is overwritten
with an invalid value, permanently disabling the pin interrupts.
To prevent this, disable interrupts globally while changing
these values.
2014-11-25 15:56:11 +01:00
Cristian Maglie
84b6cc27a5
[avr] Made SPI.usingInterrupt() synchronized (Andrew Kroll)
2014-11-25 15:56:11 +01:00
Cristian Maglie
d9537cb7da
[avr] Added SPI.notUsingInterrupt() (Andrew Kroll)
2014-11-25 15:56:11 +01:00
Cristian Maglie
8344812ce8
[avr] Made SPI.begin() and SPI.end() synchronized (Andrew Kroll)
2014-11-25 15:49:17 +01:00
Cristian Maglie
53e25d8b55
[avr] Improved SPI speed on 16bit transfer.
...
From https://github.com/arduino/Arduino/pull/2376#issuecomment-59671152
Quoting Andrew Kroll:
[..this commit..] introduces a small delay that can prevent the wait
loop form iterating when running at the maximum speed. This gives
you a little more speed, even if it seems counter-intuitive. At
lower speeds, it is unnoticed. Watch the output on an oscilloscope
when running full SPI speed, and you should see closer back-to-back
writes.
Quoting Paul Stoffregen:
I did quite a bit of experimenting with the NOP addition. The one
that's in my copy gives about a 10% speedup on AVR.
2014-11-25 15:49:17 +01:00