Skip to content

Commit f78f18e

Browse files
author
jantje
committed
formatting set to standard jave with 150 line for linebreak and comments
1 parent 8f044b7 commit f78f18e

File tree

116 files changed

+18206
-18636
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+18206
-18636
lines changed

Eclipse update site/WebContent/Arduino eclipse plugin FAQ.htm

+14-543
Large diffs are not rendered by default.

Eclipse update site/WebContent/Arduino eclipse plugin FAQ.html

+556
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
<!DOCTYPE HTML>
3+
<html lang="en-US">
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta http-equiv="refresh" content="1;url='IDECompatibility.html'">
7+
<script type="text/javascript">
8+
window.location.href = "IDECompatibility.html"
9+
</script>
10+
<title>This page has been moved</title>
11+
</head>
12+
<body>
13+
<!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
14+
If you are not redirected automatically, follow the <a href='IDECompatibility.html'>IDECompatibility.html</a>
15+
</body>
16+
</html>

Eclipse update site/WebContent/Install.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h2>Detailed installation instructions</h2>
5050
3.8 ) open the workspace c:/Arduino <br>
5151
4) <b>Configure the plugin</b> <br>
5252
4.1) open the preferences (windows -&gt; preferences)<br>
53-
4.2) open the section Arduino-&gt;Arduino (in V1) Arduino (in V2). Fill it in like below (using the location of the Arduino IDE of your choice)<br>
53+
4.2) open the section Arduino-&gtArduino (in V1) Arduino (in V2). Fill it in like below (using the location of the Arduino IDE of your choice)<br>
5454
Add the location of your private libraries.<br>
5555
<img alt="" src="http://iloapp.baeyens.it/data/_gallery//public/1/134998877869708900_resized.png"><br>
5656
If you want to use the serial stuff check whether there is a compatible dll.<br>
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
<!DOCTYPE HTML>
3+
<html lang="en-US">
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta http-equiv="refresh" content="1;url='donate.html'">
7+
<script type="text/javascript">
8+
window.location.href = "donate.html"
9+
</script>
10+
<title>This page has been moved</title>
11+
</head>
12+
<body>
13+
<!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
14+
If you are not redirected automatically, follow the <a href='donate.html'>donate.html</a>
15+
</body>
16+
</html>

Eclipse update site/WebContent/donate.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
55
<title>Help Jantje with this plugin</title>
6-
<link href="MyStyle.css" rel="Stylesheet" type="text/css"></head>
6+
<link href="MyStyle.css" rel="Stylesheet" type="text/css">
77
<script type="text/javascript">
88

99
var _gaq = _gaq || [];

Eclipse update site/WebContent/index.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ <h1>Welcome to the Arduino eclipse plugin site</h1>
3232
and the plugin this Arduino IDE alternative is completely free and
3333
open source.</p>
3434
<h2>
35-
<font></font><br>
35+
<br>
3636
The plugin supports</h2>
3737
<ul>
3838
<li>Creation of an Arduino sketch</li>
3939
<li>Import of an Arduino or private Library</li>
4040
<li>Import of source code available on your system</li>
4141
<li>Integrated serial monitor</li>
4242
<li>Change the Arduino board</li>
43-
<li>Multiple hardwares (version 1.3)</li>
44-
<li>Support for the HalfKay boot loader (version 1.3)</li>
43+
<li>Multiple hardwares (version 2)</li>
44+
<li>Support for the HalfKay boot loader (version 2)</li>
4545
<li>Change the COM port</li>
4646
<li>Upload to the board</li>
4747
<li>Real time build</li>
@@ -72,7 +72,7 @@ <h2>Before continuing Note that :</h2>
7272
<li>There is a serial monitor in this project from 1.2.2 onwards. If you are using an earlier version
7373
or the included serial monitor does not work in your environment: Use the IDE one or any one of your choice</li>
7474
<li>There is USB search (the Arduino connects through USB) in the tool. </li>
75-
<li>Read the <a href="Arduino eclipse plugin FAQ.htm">faq</a> on the link between this tool and the WINAVR eclipse plugin.</li>
75+
<li>Read the <a href="Arduino eclipse plugin FAQ.html">faq</a> on the link between this tool and the WINAVR eclipse plugin.</li>
7676
<li>There is no out of the box support for debugging. Read this page on how to debug with the dragon board
7777
<a href=http://husks.wordpress.com/2012/03/29/hardware-debugging-the-arduino-using-eclipse-and-the-avr-dragon>debugging using the dragon board</a></li>
7878
</ul>
@@ -82,7 +82,7 @@ <h2>Links</h2>
8282
<a href="donate.html">If you would like to support Jantje; <b>buy Jantje an Arduino.</b></a><br>
8383
<a href="http://blog.baeyens.it/#home">Read my blog if you want to stay up to date on changes.</a><br>
8484
<a href="Install.html"><b>Installation instructions</b> can be found here</a><br>
85-
<a href="Arduino eclipse plugin FAQ.htm">A <b>FAQ</b> can be found here</a>.<br>
85+
<a href="Arduino eclipse plugin FAQ.html">A <b>FAQ</b> can be found here</a>.<br>
8686
<a href="IDECompatibility.html">Instructions on Arduino <b>IDE compatibility</b> are here</a>. <br>
8787
<a href="UsethePlugin.html">Read here <b>how to</b> use the plugin</a><br>
8888
<a href="serial_demo.wmv">Watch a <b>video</b> demonstrating creating a project uploading it and the serial monitor.</a>
+14-26
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,16 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2-
<html>
3-
<head>
4-
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
5-
<title>Thanks for using my arduino eclipse plugin</title>
6-
<link href="MyStyle.css" rel="Stylesheet" type="text/css"></head>
7-
<body>
8-
<div id="header">
9-
<a href="http://www.eclipse.org/"><img src="http://download.eclipse.org/eclipse/eclipse.org-common/stylesheets/header_logo.gif" width="163" height="68" border="0" alt="Eclipse Logo" class="logo" /></a>
10-
</div>
11-
<h1>So you think Jantje did a great job? Well you are right. </h1>
12-
<p >But; what do YOU want Jantje to do next with the plugin?</p>
13-
Remove the need to have arduino.h in your source files.
14-
Support for PDE/INO (So you do not have to add function declarations)
15-
Possibility to select an example when creating a new sketch
16-
Changing the com port from the toolbar
17-
Changing the board from the toolbar
18-
Adding scope functionality
19-
Support for multi language
20-
Option to put the console in front after build or upload request
21-
Option to build before upload
22-
Adding the assembler to version 2
23-
Internationalisation (Allow for other people to add other languages at the gui level)
24-
another idea
25-
Jantje
261

27-
</body>
2+
<!DOCTYPE HTML>
3+
<html lang="en-US">
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta http-equiv="refresh" content="1;url='remind1.html'">
7+
<script type="text/javascript">
8+
window.location.href = "remind1.html"
9+
</script>
10+
<title>This page has been moved</title>
11+
</head>
12+
<body>
13+
<!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
14+
If you are not redirected automatically, follow the <a href='remind1.html'>remind1.html</a>
15+
</body>
2816
</html>

Eclipse update site/WebContent/remind1.html

+26-8
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,39 @@
22
<html>
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
5-
<title>Thanks for testing</title>
6-
<link href="MyStyle.css" rel="Stylesheet" type="text/css"></head>
5+
<title>Thanks for using my plugin.</title>
6+
<link href="MyStyle.css" rel="Stylesheet" type="text/css">
77
</head>
88
<body>
99
<div id="header">
1010
<a href="http://www.eclipse.org/"><img src="http://download.eclipse.org/eclipse/eclipse.org-common/stylesheets/header_logo.gif" width="163" height="68" border="0" alt="Eclipse Logo" class="logo" /></a>
1111
</div>
12-
<h1>So you think Jantje did a great job? Well you are right</h1>
12+
<h1>So you think Jantje did a great job?</h1>
13+
<h2>Well you are right!!!!</h2>
1314
<p id="scream">What do you want Jantje to do next. </p>
1415
<br>
15-
Support for PDE/INO
16-
The scope
17-
Support for multi language
18-
Option to put the console in front after build or upload request
19-
another idea
16+
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
17+
<input type="hidden" name="cmd" value="_s-xclick">
18+
<input type="hidden" name="hosted_button_id" value="XYBW32GYXRKEC">
19+
<table>
20+
<tr><td><input type="hidden" name="on0" value="items">items on my todo list</td></tr><tr><td><select name="os0">
21+
<option value="Remove the need to have arduino.h in your source files.">Remove the need to have arduino.h in your source files. </option>
22+
<option value="Support for PDE/INO (no neeed to add function declarations)">Support for PDE/INO (no neeed to add function declarations) </option>
23+
<option value="Possibility to create sketch from example (needs all above)">Possibility to create sketch from example (needs all above) </option>
24+
<option value="Add scope functionality (binary numbers are display in a scope)">Add scope functionality (binary numbers are display in a scope) </option>
25+
<option value="Option to highlight the console after build or upload request">Option to highlight the console after build or upload request </option>
26+
<option value="option to build before upload.">option to build before upload. </option>
27+
<option value="Adding support for assembly (has been removed in V2)">Adding support for assembly (has been removed in V2) </option>
28+
<option value="Changing the com port from the toolbar">Changing the com port from the toolbar </option>
29+
<option value="Changing the board from the toolbar">Changing the board from the toolbar </option>
30+
<option value="Internationalisation (Other languages at the gui level)">Internationalisation (Other languages at the gui level) </option>
31+
</select> </td></tr>
32+
</table>
33+
<input type="image" src="http://iloapp.baeyens.it/data/_gallery/private/6/137883899971520500_resized.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
34+
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
35+
</form>
36+
<br>
37+
If you have another idea feel free to send a short explenation to me.<br>
2038
Jantje
2139

2240
</body>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<html>
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
5+
<title>Thanks for using my plugin.</title>
6+
<link href="MyStyle.css" rel="Stylesheet" type="text/css">
7+
</head>
8+
<body>
9+
<div id="header">
10+
<a href="http://www.eclipse.org/"><img src="http://download.eclipse.org/eclipse/eclipse.org-common/stylesheets/header_logo.gif" width="163" height="68" border="0" alt="Eclipse Logo" class="logo" /></a>
11+
</div>
12+
<h1>So you think Jantje did a great job?</h1>
13+
<h2>Well you are right!!!!</h2>
14+
<p id="scream">What do you want Jantje to do next. </p>
15+
<br>
16+
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
17+
<input type="hidden" name="cmd" value="_s-xclick">
18+
<input type="hidden" name="hosted_button_id" value="XYBW32GYXRKEC">
19+
<table>
20+
<tr><td><input type="hidden" name="on0" value="items">items on my todo list</td></tr><tr><td><select name="os0">
21+
<option value="Remove the need to have arduino.h in your source files.">Remove the need to have arduino.h in your source files. </option>
22+
<option value="Support for PDE/INO (no neeed to add function declarations)">Support for PDE/INO (no neeed to add function declarations) </option>
23+
<option value="Possibility to create sketch from example (needs all above)">Possibility to create sketch from example (needs all above) </option>
24+
<option value="Add scope functionality (binary numbers are display in a scope)">Add scope functionality (binary numbers are display in a scope) </option>
25+
<option value="Option to highlight the console after build or upload request">Option to highlight the console after build or upload request </option>
26+
<option value="option to build before upload.">option to build before upload. </option>
27+
<option value="Adding support for assembly (has been removed in V2)">Adding support for assembly (has been removed in V2) </option>
28+
<option value="Changing the com port from the toolbar">Changing the com port from the toolbar </option>
29+
<option value="Changing the board from the toolbar">Changing the board from the toolbar </option>
30+
<option value="Internationalisation (Other languages at the gui level)">Internationalisation (Other languages at the gui level) </option>
31+
</select> </td></tr>
32+
</table>
33+
<input type="image" src="http://iloapp.baeyens.it/data/_gallery/private/6/137883899971520500_resized.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
34+
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
35+
</form>
36+
<br>
37+
If you have another idea feel free to send a short explenation to me.<br>
38+
Jantje
39+
40+
</body>
41+
</html>

it.baeyens.arduino.common/.classpath

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<classpath>
3-
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
4-
<classpathentry excluding="it/baeyens/arduino/arduino/SerialMonitor.java" kind="src" path="src"/>
5-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
6-
<classpathentry kind="output" path="bin"/>
7-
</classpath>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
4+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
5+
<classpathentry excluding="it/baeyens/arduino/arduino/SerialMonitor.java" kind="src" path="src"/>
6+
<classpathentry kind="output" path="bin"/>
7+
</classpath>

it.baeyens.arduino.common/META-INF/MANIFEST.MF

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Bundle-Version: 2.1.0.1
66
Bundle-Activator: it.baeyens.arduino.common.Activator
77
Require-Bundle: org.eclipse.ui,
88
org.eclipse.core.runtime
9-
Bundle-RequiredExecutionEnvironment: JavaSE-1.7,
10-
JavaSE-1.6
9+
Bundle-RequiredExecutionEnvironment: JavaSE-1.6,
10+
JavaSE-1.7
1111
Bundle-ActivationPolicy: lazy
1212
Export-Package: it.baeyens.arduino.arduino,
1313
it.baeyens.arduino.common

it.baeyens.arduino.common/src/gnu/io/CommDriver.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*/
2828

2929
public interface CommDriver {
30-
public abstract CommPort getCommPort(String portName, int portType);
30+
public abstract CommPort getCommPort(String portName, int portType);
3131

32-
public abstract void initialize();
32+
public abstract void initialize();
3333
}

it.baeyens.arduino.common/src/gnu/io/CommPort.java

+40-40
Original file line numberDiff line numberDiff line change
@@ -32,67 +32,67 @@
3232
* CommPort
3333
*/
3434
public abstract class CommPort extends Object {
35-
protected String name;
36-
private final static boolean debug = false;
35+
protected String name;
36+
private final static boolean debug = false;
3737

38-
public abstract void enableReceiveFraming(int f) throws UnsupportedCommOperationException;
38+
public abstract void enableReceiveFraming(int f) throws UnsupportedCommOperationException;
3939

40-
public abstract void disableReceiveFraming();
40+
public abstract void disableReceiveFraming();
4141

42-
public abstract boolean isReceiveFramingEnabled();
42+
public abstract boolean isReceiveFramingEnabled();
4343

44-
public abstract int getReceiveFramingByte();
44+
public abstract int getReceiveFramingByte();
4545

46-
public abstract void disableReceiveTimeout();
46+
public abstract void disableReceiveTimeout();
4747

48-
public abstract void enableReceiveTimeout(int time) throws UnsupportedCommOperationException;
48+
public abstract void enableReceiveTimeout(int time) throws UnsupportedCommOperationException;
4949

50-
public abstract boolean isReceiveTimeoutEnabled();
50+
public abstract boolean isReceiveTimeoutEnabled();
5151

52-
public abstract int getReceiveTimeout();
52+
public abstract int getReceiveTimeout();
5353

54-
public abstract void enableReceiveThreshold(int thresh) throws UnsupportedCommOperationException;
54+
public abstract void enableReceiveThreshold(int thresh) throws UnsupportedCommOperationException;
5555

56-
public abstract void disableReceiveThreshold();
56+
public abstract void disableReceiveThreshold();
5757

58-
public abstract int getReceiveThreshold();
58+
public abstract int getReceiveThreshold();
5959

60-
public abstract boolean isReceiveThresholdEnabled();
60+
public abstract boolean isReceiveThresholdEnabled();
6161

62-
public abstract void setInputBufferSize(int size);
62+
public abstract void setInputBufferSize(int size);
6363

64-
public abstract int getInputBufferSize();
64+
public abstract int getInputBufferSize();
6565

66-
public abstract void setOutputBufferSize(int size);
66+
public abstract void setOutputBufferSize(int size);
6767

68-
public abstract int getOutputBufferSize();
68+
public abstract int getOutputBufferSize();
6969

70-
public void close() {
71-
if (debug)
72-
System.out.println("CommPort:close()");
70+
public void close() {
71+
if (debug)
72+
System.out.println("CommPort:close()");
7373

74-
try {
75-
CommPortIdentifier cp = CommPortIdentifier.getPortIdentifier(this);
76-
if (cp != null)
77-
CommPortIdentifier.getPortIdentifier(this).internalClosePort();
78-
} catch (NoSuchPortException e) {// JABA is not going to add code
79-
}
74+
try {
75+
CommPortIdentifier cp = CommPortIdentifier.getPortIdentifier(this);
76+
if (cp != null)
77+
CommPortIdentifier.getPortIdentifier(this).internalClosePort();
78+
} catch (NoSuchPortException e) {// JABA is not going to add code
8079
}
80+
}
8181

82-
public abstract InputStream getInputStream() throws IOException;
82+
public abstract InputStream getInputStream() throws IOException;
8383

84-
public abstract OutputStream getOutputStream() throws IOException;
84+
public abstract OutputStream getOutputStream() throws IOException;
8585

86-
public String getName() {
87-
if (debug)
88-
System.out.println("CommPort:getName()");
89-
return (name);
90-
}
86+
public String getName() {
87+
if (debug)
88+
System.out.println("CommPort:getName()");
89+
return (name);
90+
}
9191

92-
@Override
93-
public String toString() {
94-
if (debug)
95-
System.out.println("CommPort:toString()");
96-
return (name);
97-
}
92+
@Override
93+
public String toString() {
94+
if (debug)
95+
System.out.println("CommPort:toString()");
96+
return (name);
97+
}
9898
}

0 commit comments

Comments
 (0)