Commit Graph

60 Commits

Author SHA1 Message Date
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