1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00
Commit Graph

1231 Commits

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