David A. Mellis
8523ab1ac7
If no upload protocol is specified for a board, use selected programmer instead.
...
Eliminates use of the upload.using preferences to specify a particular programmer. Select the programmer from the menu instead.
2010-12-17 20:33:20 -05:00
David A. Mellis
15d07fa036
Splitting up programmer selection menu and burn bootloader menu item.
2010-12-17 19:58:40 -05:00
David A. Mellis
3e31777fec
Merge branch 'master' into new-extension
2010-12-17 09:12:36 -05:00
David A. Mellis
920212ee05
Revert "added toInt() function to WString".
...
This reverts commit 448222e4b6
.
2010-11-29 15:14:10 -05:00
Tom Igoe
448222e4b6
added toInt() function to WString
2010-11-29 11:31:00 -05:00
David A. Mellis
37e6e7e86b
Changing version number to 0022.
2010-11-28 14:16:10 -06:00
David A. Mellis
a142a2564d
Enabling debugging for compilation of the app.
2010-11-27 11:54:07 -06:00
David A. Mellis
6750e679af
Building sketch first (so errors appear faster).
...
http://code.google.com/p/arduino/issues/detail?id=393
2010-11-27 11:39:42 -06:00
David A. Mellis
5d9602a28a
Showing dialog when serial port not found on upload.
2010-11-24 14:03:21 -05:00
David A. Mellis
06d3d85143
Handling < > & and unicode in copy to html.
...
http://code.google.com/p/arduino/issues/detail?id=29
2010-11-16 22:51:24 -05:00
David A. Mellis
dc3b815c29
Merge branch 'master' into new-extension
2010-11-10 12:15:28 -05:00
David A. Mellis
24e057a343
Setting Arduino icon.
2010-11-10 11:46:52 -05:00
David A. Mellis
299b779ca2
Updating colors, toolbar icon, and about image.
2010-11-10 10:43:46 -05:00
David A. Mellis
5e028ea09d
Saving and restoring serial monitor line ending.
2010-11-07 22:38:58 -05:00
David A. Mellis
1cac73c254
Saving and restoring location of the serial monitor.
2010-11-07 22:25:02 -05:00
David Mellis
1fbffaf7be
Changing Windows file association code from .pde to .ino.
...
It doesn't seem to work properly on my Windows Vista machine, but neither does the .pde association for Processing.
2010-11-06 16:38:23 -04:00
David A. Mellis
e2213d4721
Changing extension from .pde to .ino.
...
Renames all .pde files in a sketch to .ino upon opening. Prompts the user the first time this happens; if the rename is cancelled, the sketch is not opened and the user will be prompted next time a sketch with a .pde file is opened. Otherwise, renames files in all future opened sketches automatically (without prompting). Still allows for opening of .pde files and includes them in the sketchbook and examples menus.
Still need to check the file association code.
http://code.google.com/p/arduino/issues/detail?id=13
2010-11-06 15:41:01 -04:00
David A. Mellis
fa4d058297
Reapplying Christian's regex patch.
...
Revert "Revert "Removed dependencies from regex library oro.jar""
This reverts commit ed7795ef8d
.
2010-10-03 19:44:28 -04:00
David A. Mellis
4c26e071c8
Updating version to 0021.
2010-10-02 14:03:50 -04:00
David A. Mellis
750c860a0d
RXTXcomm.jar with only RXTXCommDriver.class updated (to add /dev/ttyACM* on Linux).
2010-10-02 18:55:16 +02:00
David A. Mellis
d09edea5e7
Recompiled rxtx to include /dev/ttyACM* on Linux.
2010-10-02 18:18:45 +02:00
David A. Mellis
ed7795ef8d
Revert "Removed dependencies from regex library oro.jar"
...
This reverts commit 2b4391052c
.
2010-10-02 17:19:53 +02:00
Cristian Maglie
2b4391052c
Removed dependencies from regex library oro.jar
2010-10-01 19:41:36 +02:00
David A. Mellis
5c22a1e970
Updating version to 0020.
2010-09-24 16:29:07 -04:00
David A. Mellis
5e2f82b742
Updating SPI library error message and revisions.txt for final 0019 release.
2010-09-03 23:12:12 +00:00
David A. Mellis
e3856766c6
Creating a custom error message for missing SPI.h (because we changed the Ethernet library to rely on it). issue #337
2010-08-28 09:33:37 +00:00
David A. Mellis
bc8e5c3dcf
Updating / reverting to the previous / future Processing new window behavior: toolbar opens things in the existing window, menus in a new window.
2010-08-15 19:12:00 +00:00
David A. Mellis
c5e8c3e4bd
Toggling RTS as well as DTR for auto-reset.
2010-08-10 01:32:28 +00:00
David A. Mellis
78e093b482
Moving line endings selection combo-box.
2010-08-02 18:11:49 +00:00
David A. Mellis
6f96ce0df2
Adding drop-down for selecting line ending to serial monitor (issue #119 ). Also switching subpanes from BorderLayout to BoxLayout.
2010-07-11 15:31:34 +00:00
David A. Mellis
03a62f38d2
Allowing third-party hardware platforms to reference programmers defined in other platforms (issue #283 ).
2010-07-10 21:29:32 +00:00
David A. Mellis
39610d1325
Skipping all hidden files (those starting with a dot - ".") when compiling (issue #209 ).
2010-06-13 19:25:33 +00:00
David A. Mellis
9fe672fc63
Providing error messages when no board is selected.
2010-06-12 18:32:32 +00:00
David A. Mellis
0979ed050b
Updating version number to 0019.
...
Some revisions.
2010-05-29 17:01:43 +00:00
David A. Mellis
8bdde5d683
Adding automatically scoll option to serial monitor (pause / continue).
...
Changing how errors are displayed when the serial monitor can't be opened.
2010-05-29 17:00:08 +00:00
David A. Mellis
6efe13c8a1
Fixing issue with tab menu and tabs with the same base name but different extensions (issue 191).
2010-05-16 04:43:03 +00:00
David A. Mellis
775c4d272c
Only check for conflict with an existing C++ file when renaming the sketch, not when adding a new file.
2010-05-16 04:09:21 +00:00
David A. Mellis
c4760d8ae7
Moving to ant-based build system from Processing. Mac OS X seems to work (for the moment).
2010-05-08 21:47:19 +00:00
David A. Mellis
5d54fbf70b
Removing some Processing stuff that we don't need.
...
Moving the Arduino Fio up in the boards menu.
2010-05-08 20:37:54 +00:00
David A. Mellis
e5d56a1e59
Redoing the error message parsing / handling. Now using Sketch.placeException() to map back to the sketch code files and line numbers. Showing more of the actual output of avr-gcc / avr-g++.
2010-05-08 20:06:31 +00:00
David A. Mellis
34579ae440
Initial sync with Processing 6406. Compiles and runs (on Mac OS X) but probably very buggy.
2010-04-21 01:58:57 +00:00
David A. Mellis
0648283425
faq -> FAQ in Base.java (matching case of file name).
...
Adding date of 0018 release to readme.
2010-02-21 12:36:58 +00:00
David A. Mellis
a5b9d31134
Stopping you from renaming the main / first sketch file (.pde) if it contains a .cpp file with the new name.
2010-01-28 21:19:53 +00:00
David A. Mellis
2b7862a7d1
Pointing the update check at the Arduino server (instead of processing.org).
2010-01-10 20:14:59 +00:00
David A. Mellis
9a5507fd07
Saving immediately when replacing a sketch with another in the same editor. Should fix bug: http://code.google.com/p/arduino/issues/detail?id=88
2009-12-26 15:42:30 +00:00
David A. Mellis
a2ee999135
Allowing multiples files in a sketch with the same name but different extensions. Not, however, allowing a .cpp file with the same name as the sketch, because they would conflict during the build process.
2009-12-24 21:35:38 +00:00
David A. Mellis
2a3a8b1c4f
Moving sketch compilation during upload from applet/ sub-directory to a temporary folder.
2009-12-23 00:00:57 +00:00
David A. Mellis
d2a38e4b5a
Improving third-party hardware support:
...
- moving back to multple cores per platform
- using target instead of platform
- moving per-board and per-programmer preferences out of Preferences.java and into a new Target class
- adding a new "target" preference
- support for platform:value values in board preferences for bootloader path and core
- XXX: need to support platform:value syntax for board upload.using preferences.
2009-11-21 23:23:43 +00:00
David A. Mellis
8720addcba
Got bootloader burning working.
...
Wrapped some long lines.
2009-11-08 20:51:41 +00:00
David A. Mellis
e5b5f25476
Third-party cores seems to sort of work now, but burning bootloaders is probably broken.
...
Need to decide on the format for the boards.txt file.
2009-11-07 18:56:45 +00:00
David A. Mellis
3075c8e4fd
Moving libraries out of arduino platform / core directory and to top-level.
2009-11-07 17:54:56 +00:00
David A. Mellis
294abd0419
No longer mangling microcontroller names before passing them to avrdude, as it seems to support the same ones as avr-gcc now.
2009-10-23 23:28:35 +00:00
David A. Mellis
6a15e01ff8
Passing the ARDUINO constant from the IDE to avr-gcc as a command line argument (so I don't forget to update the version in the .h file).
2009-10-23 23:04:03 +00:00
David A. Mellis
2e26a2d994
Syncing with Processing 1.0.9 (revision 5766).
2009-10-22 00:56:16 +00:00
David A. Mellis
7f58e2213e
Adding support for setting baud rate to use with a programmer.
2009-10-22 00:55:07 +00:00
David A. Mellis
e814744504
Enabling the Sketchbook and Examples menu on Mac OS X with native (screen) menu bar. Processing has these disabled because they often cause problems, but they seem to be working at the moment, so I'm leaving them in.
2009-09-26 16:48:46 +00:00
David A. Mellis
048143f3d5
Adding support for .S files in libraries and cores. Patches from René Bohne.
2009-09-25 19:31:01 +00:00
David A. Mellis
f2010ebd2b
Fixing whitespace in Compiler.java.
2009-09-25 19:05:09 +00:00
David A. Mellis
3dc7fc0781
Syncing with Processing 1.0.7 (5692); needs testing.
...
Also, the Sketchbook and Examples menus are currently disabled on the Mac to work-around a bug in Apple's implementation of Java. I think this bug may have been solved, so I should try re-enabling the menus and see what happens (on 10.4 and 10.5 and 10.6). Also, I may still need to update the jre / jdk on Linux.
2009-09-24 03:16:00 +00:00
David A. Mellis
240607a4a6
Holding shift when pressing run or upload buttons give verbose output.
...
The upload.verbose and build.verbose preferences are still respected.
You don't get verbose output with Command-Shift-R or Command-Shift-U, unlike Processing in which the shift modifier switches from Run to Present. Mostly this is because I didn't think verbose output deserved its own menu items, and that's how Processing implements the other shortcut.
Holding shift while pressing upload doesn't show the compilation command lines. This matches the functionality of the upload.verbose preference, but may imply that the upload button doesn't also compile the code.
Also, in Snow Leopard, the temp directory is in some crazy folder in /var. Luckily, everything still seems to work okay.
2009-09-23 23:40:59 +00:00
David A. Mellis
3febe7ce42
Adding a serial monitor menu item and keyboard shortcut (control-shift-m / command-shift-m).
2009-09-23 22:59:55 +00:00
David A. Mellis
8f4b24492f
Updating version to 0018.
2009-09-13 17:56:43 +00:00
David A. Mellis
018ff13d8b
Moving setting of Linux look and feel from linux/Platform.java to arduino script.
2009-08-11 23:05:18 +00:00
David A. Mellis
777e7cd30d
Removing check for JDK (as opposed to JRE) in Base.java. This is because on Linux, it's tricky to automatically include tools.jar in the classpath (which is necessary for the Processing code to think that the JDK is present). (For example, Ubuntu doesn't set the JAVA_HOME variable.) As far as I know, Arduino doesn't actually need the JDK, but I could be wrong.
2009-08-03 20:53:31 +00:00
David A. Mellis
a0d608e946
Fixing default sketchbook path (Processing -> Arduino). Not setting the Windows window icon to the Processing icon (it stays as the Java icon instead).
2009-07-14 22:24:20 +00:00
David A. Mellis
59a85bfe59
(Re-)implementing syntax highlighting support for library keywords.
2009-07-12 00:40:02 +00:00
David A. Mellis
15cff82214
Removing unused preferences. Fixing upload when not deleting applet/ directory. Treating examples in the sketchbook/libraries folder as read-only.
2009-06-18 19:22:43 +00:00
David A. Mellis
bb9525ad24
Disabling the serial monitor during uploads.
2009-06-18 18:29:53 +00:00
David A. Mellis
250bce0f34
Adding keyboard shortcut (command or ctrl w) for closing the serial monitor window.
2009-06-16 20:21:39 +00:00
David A. Mellis
672ad5648e
Allowing (and fixing) uploading of unsaved sketches.
2009-06-16 19:49:28 +00:00
David A. Mellis
e88592771e
Removing attempt to flush the incoming serial data when opening the port, since it didn't seem to work.
2009-06-13 21:28:46 +00:00
David A. Mellis
4b80afbca1
Going back to one serial monitor at a time, but closing it when you pick a new serial port from the Tools > Serial Port menu (and when you upload).
2009-06-13 21:28:15 +00:00
David A. Mellis
b81a8f0309
Now supporting multiple serial monitors open at once (one for each port).
2009-06-13 21:05:15 +00:00
David A. Mellis
678e09896f
Moving serial error messages into the serial monitor (out of the editor).
2009-06-13 20:42:43 +00:00
David A. Mellis
a258042deb
Adding a basic serial monitor.
2009-06-13 20:26:21 +00:00
David A. Mellis
8823b5ba79
Ignoring lines of error messages with "In file included from" in them.
2009-06-13 12:31:54 +00:00
David A. Mellis
cdf0095e70
Modifying compilation for libraries:
...
- now compiled to their own sub-directory of the build directory
- only can see #include's in their own utility/ folders
and the core (building core.a again).
Also changed the APIs of the compilation functions somewhat (e.g. execAsynchronously no longer returns anything; it just throws a RunnerException on any error).
Still need to better handle errors in #include files; right now, the error is interpreted as being at the line where the #include happens, not within the header file.
2009-06-13 11:41:16 +00:00
David A. Mellis
cbcbc5c4d5
Removing extra nested "examples" menu.
2009-06-07 11:28:53 +00:00
David A. Mellis
8b6fb36ace
Integrating the Sizer.
2009-06-01 20:10:05 +00:00
David A. Mellis
e2952cdc77
Enabling / integrating bootloader burning. (Should be tested with a serial AVRISP and a parallel programmer)
2009-06-01 19:27:21 +00:00
David A. Mellis
5f26d058e6
Fixing help menu links, integrating copy as html, and modifying EditorToolbar labels (Run -> Verify, Export -> Upload).
2009-06-01 19:02:46 +00:00
David A. Mellis
d589209e92
Adding examples to the toolbar's open menu (in addition to the examples menu).
2009-06-01 18:21:13 +00:00
David A. Mellis
89139d1f77
More cleanup:
...
- fixing import library
- changing compilation to only look for source files in the root and utility/ folders of a library; also adding utility/ sub-folder to the include path
- removing export to application
- renaming run to verify / compile and export to upload
2009-06-01 18:11:25 +00:00
David A. Mellis
df4f1629c4
Making things more Arduino-like (cont...)
2009-06-01 17:10:56 +00:00
David A. Mellis
14778514ae
Re-configured compilation and integrated uploading. Added the Board and Serial port menus: these are currently shared across editor windows.
...
No longer using Library and LibraryManager. Instead the compiler finds the .c and .cpp files in the library paths (gotten from the Sketch via the Preprocessor and the Base's library table). This breaks libraries that have header files in sub-directories but use #include with no path names (as sub-directories of library directories are not on the include path). It will also cause problems with .c or .cpp files with the same name in different library utility folders or in a sketch or the target (core).
Now deriving the Target correctly from the selected item in the board menu.
2009-06-01 15:14:05 +00:00
David A. Mellis
ae98fbfee8
Fixing some compilations bugs:
...
- including .cpp and .c files from sketch
- adjusting error line highlighted according to the number of function prototypes generated
- taking into account preprocessor offset on the first .pde file
2009-06-01 09:28:41 +00:00
David A. Mellis
2fa8deb92d
First integration of the Arduino code in Processing 5503: PreProcessor and Compiler have been integrated with changes to the Sketch.
...
Compilation still has problems (Thread error on success, and can't handle non-pde files in a sketch).
Modified the Mac OS X make.sh to copy the hardware, avr tools, and example over.
Removing some of the antlr stuff.
Disabling the Commander (command-line execution) for now.
Added Library, LibraryManager, and Target.
Added support for prefixed preferences (e.g. for boards and programmers).
2009-06-01 08:32:11 +00:00
David A. Mellis
22ed6cdb73
Importing Processing rev. 5503 (1.0.3).
2009-05-31 15:53:33 +00:00