Commit Graph

1623 Commits

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