Commit Graph

265 Commits

Author SHA1 Message Date
Andrew Stone 5e75bd4a97 Fix for bug 950 -- NPE Compiler.java:407 -- also searched for any other instances & found two other cases of the same bug 2012-06-08 16:49:31 -04:00
Andrew Stone 958c835ef0 Issue 950: NPE Compiler.java:407 2012-06-06 17:30:14 -04:00
Tibor Fekete ec3c8123bf Fixed null pointer exception in case of missing boot loader.path param in boards.txt
Pre-1.0.1 it was not necessary to have a bootloader.path param in
boards.txt under the respective board type. This patch helps keeping
compatibility with older settings and avoid dummy param settings.
2012-06-04 21:27:13 +02:00
David A. Mellis a9fedabe3c Don't translate SimpleDateFormat string.
The yyMMdd string that the sketch archiver tool uses to format archive
names was being localized (i.e. was wrapped in _()).  This gave an
error on startup (and the Arduino software would fail to launch), if
someone translated the string to something that wasn't a valid date
format.  Since this is an internal string, it shouldn't be translated.

http://code.google.com/p/arduino/issues/detail?id=942
2012-06-03 14:48:20 -04:00
David A. Mellis 0ebfbf8d2c Fixing typo in custom error message. 2012-06-01 09:20:32 -04:00
Rune Fauske 354685bbff Changed language ISO code to match Norwegian (Norsk bokmål). 2012-05-29 09:33:15 +03:00
David A. Mellis 77ed2f4d62 Fixing placement of error messages. (Paul Stoffregen)
This patch places #line preprocessor directives into the generated code
file so that the compiler reports the correct location for error
messages.

http://code.google.com/p/arduino/issues/detail?id=907
2012-05-27 12:32:13 -04:00
David A. Mellis 2cbde219c1 Merge remote-tracking branch 'upstream/master' 2012-05-21 09:31:54 -07:00
Jack Danger 5a92fbdec4 Fixed two typos in deprecation warning in Italiano 2012-05-20 11:36:23 -07:00
David A. Mellis c8720327a0 Removing Croatian for now as it's incomplete.
http://code.google.com/p/arduino/issues/detail?id=914
2012-05-16 16:52:34 -04:00
Zach Eveland 32e365b480 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-05-15 15:40:23 -04:00
David A. Mellis 8acd49f842 Removing extraneous .po and .properties files. 2012-05-15 10:22:54 -04:00
David Cuartielles 9193e45366 eliminate temp files 2012-05-11 22:42:49 +02:00
David Cuartielles 44573fc5f0 added a couple of languags 2012-05-11 22:42:09 +02:00
David Cuartielles 1908613308 updated translation files 2012-04-17 13:06:27 +02:00
David Cuartielles 2df086b316 modifier Preferences.java to include Indonesian 2012-04-16 15:38:18 +02:00
David Cuartielles 8c7bfecce0 added Indonesian 2012-04-16 15:29:19 +02:00
David Cuartielles 7b9c4c5935 reviewed language files 2012-04-15 23:17:34 +02:00
David Cuartielles 36de2699ee cleaned up a bit 2012-04-15 22:24:37 +02:00
David Cuartielles 9ff3445902 fixed a whoe series of language files 2012-04-15 22:22:40 +02:00
David Cuartielles 433fe269f6 moiified several files 2012-04-11 23:19:10 +02:00
Zach Eveland 4786251fe2 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-04-11 15:04:11 -04:00
dcuartielles 9a340926da Fixed case for Russian language to fit the rest of the languages 2012-04-11 10:14:48 +03:00
Zach Eveland b2f4e5f769 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-04-09 08:25:43 -04:00
Zach Eveland caeaa4571c sketch USB VID and PID values are passed in from boards.txt at compile time now. changed sketch PIDs to final values. also uncommented Micro section in boards.txt 2012-04-09 08:06:35 -04:00
David A. Mellis 1247b1e5e4 Merge pull request #72 from dcuartielles/master
modified language files
2012-04-08 14:57:07 -07:00
David Cuartielles 7f2f7ea5e5 revised language files 2012-04-08 23:49:56 +02:00
David A. Mellis 49be972ca4 Case correction in preferences dialog. 2012-04-08 17:33:52 -04:00
David A. Mellis ea4693026e Removing comment. 2012-04-08 17:33:34 -04:00
David A. Mellis cf02e3a491 Removing unused po and properties files. 2012-04-08 17:33:24 -04:00
David A. Mellis 3ea9d4734f Updating the Chinese names of the Chinese languages.
Previous names referred to geographic locations; new ones are to the
style of characters.
2012-04-08 16:58:31 -04:00
David A. Mellis 189e023346 Replacing call to isEmpty(), which isn't in Java 1.5. 2012-04-08 16:18:57 -04:00
David A. Mellis 3875a6c00f Adding language names in their own language. 2012-04-08 15:47:27 -04:00
David A. Mellis b816571772 Adding "system default" (default locale) option for IDE language.
That is, if the editor.languages.current preference is empty (or
missing), use the default system locale.
2012-04-08 15:06:24 -04:00
David A. Mellis c03ea000a2 Moving language selection up in the preferences dialog. 2012-04-08 14:51:37 -04:00
David Cuartielles f89bf2e523 modified Preferences.java, added Russian, revised French 2012-04-08 11:18:22 +02:00
Zach Eveland 12aed647bc added trapping for additional avrdude errors
some errors were not being caught and the user was not being notified.
2012-04-07 22:48:23 -04:00
Zach Eveland fbc5d30ad7 for Leonardo don't return from uploading until the bootloader port disconnects and the sketch port reconnects
meant to save users from accidentally opening the bootloader port in Serial Monitor when it is still open immediately after an upload.  this is bad for the user because the port dies without notice immediately afterward.
2012-04-07 22:47:07 -04:00
David Cuartielles c3535a0d8e hacked the IDE to support multiple translations and include a dropdown list to choose the most convenient 2012-04-08 03:51:37 +02:00
Zach Eveland 4cf5f4e246 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-04-06 07:00:13 -04:00
David Cuartielles ad1d5ca89d modified Preferences.java to include one of the strings into the translation files 2012-04-04 18:24:43 +02:00
Zach Eveland f66b83dd35 Revert "close SerialMonitor when port goes away suddenly (as when user presses Leonardo reset button)"
This reverts commit e9a00eb38f.
2012-04-03 09:20:47 -04:00
Zach Eveland e9a00eb38f close SerialMonitor when port goes away suddenly (as when user presses Leonardo reset button) 2012-04-01 14:39:52 -04:00
David A. Mellis 232c7808be Custom error messages for use of Mouse and Keyboard on non-Leonardo boards. 2012-03-31 14:50:56 -04:00
Zach Eveland 8e176b0084 selectively suppress unwanted avrdude output for Leonardo when not verbose uploading is disabled 2012-03-30 22:24:40 -04:00
Zach Eveland e90cb3650d tweaked verbosity level for avrdude on Leonardo uploads 2012-03-29 22:31:01 -04:00
Zach Eveland 61c5176681 only print Leonardo upload port hunting status if verbose uploading is selected. also cleaned up other verbose message handling for Leonardo upload progress. 2012-03-29 20:01:45 -04:00
Zach Eveland d169114205 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-03-14 15:40:29 -04:00
Zach Eveland d3d94b157e updated avrdudeUploader with new path for Caterina 2012-03-08 14:23:45 -05:00
David A. Mellis d06710ebe5 Also delaying after auto-reset on Windows.
Windows seemed to have the same issue as Linux: scanning for the ports
prevented the reset from happening (i.e. it opened the port or
otherwise raised DTR).
2012-03-06 16:33:29 -05:00
David A. Mellis 2cff5593ec Adding delay on Linux before looking for Leonardo bootloader. 2012-03-04 20:42:44 -05:00
David A. Mellis eda8f1301f Lowering non-Windows timeout for assuming Leonardo has reset.
On Mac and Linux, the serial port should disappear fairly quickly.  So
if we see the selected port after 500 ms, it should be the bootloader
(not the sketch still).
2012-03-04 19:38:53 -05:00
David A. Mellis 4ab241ceb6 Revert "Speed up on serial port touch"
This reverts commit a5404125f6.
2012-03-04 19:29:07 -05:00
Zach Eveland 9531c47c43 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-03-03 20:27:27 -05:00
David A. Mellis a292677108 Adding preference for disabling verification on upload (Nathan Seidle)
Adds a checkbox to the preferences dialog that controls whether or not
to verify code on upload via serial (verification still always occurs
when uploading using a programmer).  It is checked by default to match
current behavior.
2012-03-03 13:54:10 -05:00
Zach Eveland 8a35793794 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader
Conflicts:
	.gitignore
2012-03-03 13:28:39 -05:00
David A. Mellis a6eb9ea5eb Fixing double- and triple-click selection behavior (Peter Lewis)
Double clicking selects words, double-clicking and dragging does too.
Triple-click for lines.

http://code.google.com/p/arduino/issues/detail?id=824
2012-03-02 18:06:29 -05:00
David A. Mellis b133faa68f Commenting out extraneous println(). 2012-03-02 17:57:10 -05:00
David A. Mellis 0db8bdbbb0 Find / Replace dialog cleanup and improvements (Peter Lewis)
Adds Find Previous and Use Selection for Find; various other cleanups.
Changes Mac keyboard shortcut for Redo from Command-Y to
Command-Shift-Z.

http://code.google.com/p/arduino/issues/detail?id=825
2012-03-02 17:56:17 -05:00
David A. Mellis 599a9052c9 Updating version to 101. 2012-03-02 17:47:57 -05:00
David A. Mellis f1f2f8e49c Lowering minimum size for Editor text area.
This should make it possible to shrink the overall IDE window without
losing the scroll bars on the text pane.

http://code.google.com/p/arduino/issues/detail?id=52
2012-03-11 15:05:44 -04:00
David Mellis 24916baf70 Don't insert newline in serial monitor keyboard shortcut (Lars J. Nielsen)
http://code.google.com/p/arduino/issues/detail?id=279
2012-03-11 13:50:47 -04:00
Zach Eveland 12eb56ac77 Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-02-28 22:50:35 -05:00
David A. Mellis 784232c6a5 Adding 32-bit version of AVR toolchain on Linux (Paul Stoffregen)
http://code.google.com/p/arduino/issues/detail?id=300
2012-02-28 14:50:28 -05:00
David A. Mellis b861ae7767 Lowering upload timeout and per-iteration delay in Leonardo upload. 2012-02-28 12:59:52 -05:00
Cristian Maglie a5404125f6 Speed up on serial port touch 2012-02-28 18:28:34 +01:00
Cristian Maglie 5d309dbb46 Added error messages for Leonardo upload 2012-02-27 16:32:24 +01:00
Cristian Maglie 507921fd0f Changes in upload procedure (WIP) 2012-02-27 14:51:19 +01:00
Cristian Maglie 60f8e10bf9 Reviewed IDE upload procedure for Leonardo bootloader 2012-02-24 17:30:29 +01:00
Zach Eveland 9ec558ba8d AvrdudeUploader auto reset improvements: auto-detect new port on Windows, big speedup on Windows and Mac/Linux
IDE auto-detects new port now instead of prompting user.  Better handling of delay on all platforms dramatically speeds up the upload sequence.
2012-02-22 22:35:28 -05:00
Zach Eveland 65ddc6c43b Merge branch 'master' of github.com:arduino/Arduino into LUFA_bootloader 2012-02-22 15:19:32 -05:00
David A. Mellis 6ab18ea1cc Lowering minimum editor heights for netbooks
http://code.google.com/p/arduino/issues/detail?id=52
2012-02-14 16:13:39 -08:00
Zach Eveland bab3c5eade Leonardo auto-reset-and-upload changes for Windows (explanation below)
On Windows COM port changes when board switched between bootloader and sketch.  No way to prevent this so now Windows users have to select the upload port separate from the comm port.  Also, handling of reset into bootloader was broken on Windows.  Would occasionally leave the original COM port completely unusable.  Changed the way this reset is initiated.
Finally, had to add upload.disable.flushing=true flag to boards.txt so IDE wouldn't try to flush the original COM port after it disappeared.
2012-02-13 00:56:06 -05:00
Zach Eveland 5c53796cec added static touchPort() method to Serial class.
Used by Leonardo to quickly tap the comm port to initiate a reset without the potential problems of doing a full Serial object construct/dispose with all listeners, etc.
2012-02-13 00:37:21 -05:00
David A. Mellis cb8e184ab8 Using setMinimumSize() instead of window listener for editor windows.
http://code.google.com/p/arduino/issues/detail?id=52
2012-02-12 19:58:40 -05:00
Zach Eveland 731ee15f0e increased wait time for Leonardo uploading to 8 seconds 2012-02-06 15:27:44 -05:00
Zach Eveland 1e0700b536 fixed starting Leonardo bootloader from sketch
AvrdudeUploader class opens and closes Leonardo port at the magic baudrate before starting avrdude; reduced reset timeout from 250 ms to 15 ms
2012-02-03 21:42:46 -05:00
David A. Mellis b5c21fcefb Removing console logs (stdout.txt and stderr.txt) on exit. (Paul Stoffregen)
http://code.google.com/p/arduino/issues/detail?id=701
2011-12-30 10:17:06 -05:00
David A. Mellis 24a0dfdf00 Refactoring compile and upload to speed-up compilation, too. 2011-12-16 19:51:07 -05:00
David A. Mellis a29866f7da Removing delete previous applet folder on export preference. 2011-12-16 19:05:06 -05:00
David A. Mellis 1a7fe19348 Removing per-board compilation speedup checks. 2011-12-16 18:49:43 -05:00
David A. Mellis b0ae6e764d Compilation speed-up patch (only compile modify files). (Paul Stoffregen)
http://code.google.com/p/arduino/issues/detail?id=638
2011-12-16 18:20:22 -05:00
Shigeru KANEMOTO 7b8888a93a Fix for full-width space bug.
Imported from Processing development r6687 on
http://code.google.com/p/processing
Close #1
2011-12-07 01:45:13 +09:00
Shigeru KANEMOTO 541a7b3575 UI i18n and the Japanese text catalog.
Wrapped the every string literals with _(...) function.
The _() function resides in "app/src/processing/app/I18n.java",
which translates the UI texts using "Resources_XX.properties" file
where XX is the locale code.

I provided the properties file for the ja (Japanese) locale.
I created this file using "xgettext" and "msgcat" commands.
"i18n_update.{py,sh}" files are the tool I used to do that.

Change in "app/build.xml" is to include the properties files
in jar file.
2011-12-07 01:45:13 +09:00
David A. Mellis fa4ab4f6ab Adding --relax flag for linking of ATmega2560 code. (arducopter)
http://code.google.com/p/arduino/issues/detail?id=729
2011-12-05 17:21:05 -05:00
David A. Mellis 10aba52ab8 Making editor font size apply to serial monitor and console (Paul Stoffregen)
http://code.google.com/p/arduino/issues/detail?id=550
2011-12-03 16:27:11 -05:00
David A. Mellis fe243801a4 Fixing "auto-associate" preference text (.pde -> .ino).
http://code.google.com/p/arduino/issues/detail?id=699
2011-10-29 17:47:17 -04:00
David A. Mellis b14a3c501e Lock / unlock fuses and hex file now optional for burn bootloader command.
This allows the "burn bootloader" command to be used, for example, to set the fuses on a microcontroller without actually loading a bootloader onto it.

http://code.google.com/p/arduino/issues/detail?id=683
http://code.google.com/p/arduino/issues/detail?id=684
2011-10-21 18:25:14 -04:00
David A. Mellis a2235e3cdc Showing compilation warnings when verbose output is enabled.
http://code.google.com/p/arduino/issues/detail?id=664
2011-10-01 17:05:21 -04:00
David A. Mellis d49c8e2c13 Restore .pde sketches too (not just .ino ones).
http://code.google.com/p/arduino/issues/detail?id=652
2011-09-25 10:01:36 -04:00
David A. Mellis 43fa225724 Dialog and preference about renaming .pde to .ino files on save.
The new extension (.ino) is used by default for all new sketches (whether created with new or save as).  It's possible, however, to control the behavior on save.  The first time you save a sketch with a .pde file, you're prompted to rename it or cancel the save.  There's a preference that allow selecting whether or not .pde files are renamed on save.

http://code.google.com/p/arduino/issues/detail?id=644
2011-09-16 13:30:50 -04:00
David A. Mellis 026794f1eb Don't rename read-only files in sketch on save (which becomes save-as).
http://code.google.com/p/arduino/issues/detail?id=639
2011-09-16 12:45:24 -04:00
Cristian Maglie 131f7898b6 Removed dialog box warning when auto-renaming from .pde to .ino.
Now both .pde and .ino ext are hidden in IDE tabs.
2011-09-11 23:45:12 +02:00
Cristian Maglie 5d97d467c8 File renamed from .pde to .ino during save. 2011-09-10 01:16:24 +02:00
David A. Mellis 0b09a8edd9 Adding custom error messages for some 1.0 changes.
Also, changing the logic of the code a bit to correctly place errors even when substituting custom error messages.
2011-09-08 18:10:29 -04:00
David A. Mellis c9d4630d2b Fallback on system avrdude if Arduino avrdude isn't present (Linux). 2011-09-07 20:00:06 +02:00
David A. Mellis 551b8e85ac Don't use the low-res icon on Mac OS X.
http://code.google.com/p/arduino/issues/detail?id=612
2011-08-31 15:29:54 -04:00
Cristian Maglie 15b28b415d Mouse change cursor shape when is moved over a URL. 2011-08-30 23:22:59 +02:00
David A. Mellis 4553cee443 Fixes to compile under Java 1.5 (on my Linux machine). 2011-08-27 00:01:08 +02:00
David Mellis bd6c90e5b8 Setting Arduino icon for serial monitor window.
http://code.google.com/p/arduino/issues/detail?id=564
2011-08-24 11:57:58 -04:00