Skip to content

Commit 7aeb972

Browse files
author
Federico Fissore
committed
merging ide-1.5.x
2 parents f530539 + 7f7637c commit 7aeb972

File tree

15 files changed

+51
-38
lines changed

15 files changed

+51
-38
lines changed

app/lib/RXTXcomm.jar

0 Bytes
Binary file not shown.

app/src/processing/app/Base.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
* files and images, etc) that comes from that.
5353
*/
5454
public class Base {
55-
public static final int REVISION = 152;
55+
public static final int REVISION = 153;
5656
/** This might be replaced by main() if there's a lib/version.txt file. */
57-
static String VERSION_NAME = "0152";
57+
static String VERSION_NAME = "0153";
5858
/** Set true if this a proper release rather than a numbered revision. */
5959
static public boolean RELEASE = false;
6060

app/src/processing/app/Preferences.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,15 @@ static protected void init(String commandLinePrefs) {
302302

303303
// other things that have to be set explicitly for the defaults
304304
setColor("run.window.bgcolor", SystemColor.control);
305+
306+
fixPreferences();
307+
}
308+
309+
private static void fixPreferences() {
310+
String baud = get("serial.debug_rate");
311+
if ("14400".equals(baud) || "28800".equals(baud) || "38400".equals(baud)) {
312+
set("serial.debug_rate", "9600");
313+
}
305314
}
306315

307316

app/src/processing/app/Serial.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ public Serial(String iname, int irate,
159159
if (portId.getName().equals(iname)) {
160160
//System.out.println("looking for "+iname);
161161
port = (SerialPort)portId.open("serial madness", 2000);
162+
port.setDTR(true);
163+
port.setRTS(true);
162164
input = port.getInputStream();
163165
output = port.getOutputStream();
164166
port.setSerialPortParams(rate, databits, stopbits, parity);

app/src/processing/app/SerialMonitor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ public void actionPerformed(ActionEvent event) {
121121
lineEndings.setMaximumSize(lineEndings.getMinimumSize());
122122

123123
String[] serialRateStrings = {
124-
"300","1200","2400","4800","9600","14400",
125-
"19200","28800","38400","57600","115200"
124+
"300","1200","2400","4800","9600",
125+
"19200","57600","115200"
126126
};
127127

128128
serialRates = new JComboBox();

app/src/processing/app/syntax/PdeKeywords.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static private void getKeywords(InputStream input) throws Exception {
9999
//String htmlFilename = second.substring(tab + 1).trim();
100100
String coloring = pieces[1].trim();
101101

102-
if (coloring.length() > 0) {
102+
if (coloring.length() > 0 && Character.isDigit(coloring.charAt(coloring.length() - 1))) {
103103
// text will be KEYWORD or LITERAL
104104
boolean isKey = (coloring.charAt(0) == 'K');
105105
// KEYWORD1 -> 0, KEYWORD2 -> 1, etc

build/linux/dist/lib/librxtxSerial.so

100755100644
75.4 KB
Binary file not shown.
Binary file not shown.

build/shared/revisions.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11

2+
ARDUINO 1.5.3 BETA
3+
4+
[ide]
5+
* Removed useless baud rates from serial monitor
6+
7+
[arduino core]
8+
* sam: Fixed delayMicrosecond() when interrupts are disabled
9+
210
ARDUINO 1.5.2 BETA - 2013.02.06
311

412
[ide]

build/windows/dist/rxtxSerial.dll

-41.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)