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

552 Commits

Author SHA1 Message Date
Cristian Maglie
1cdf75d4df "Add library" moved into "Import library" menu 2013-05-11 13:25:36 +02:00
Federico Fissore
8eab205166 import library also import folder (already expanded libraries)
Conflicts:
	app/src/processing/app/helpers/FileUtils.java
	app/test/processing/app/tools/ZipDeflaterTest.java
2013-05-11 13:25:36 +02:00
Cristian Maglie
62a8a0149f keep included folder name as top level folder name, delete MAC folder and hidden files 2013-05-11 13:25:36 +02:00
Cristian Maglie
d66e094a3b Revert ""Add library" moved into "Import library" menu"
This reverts commit 1866050e07.
2013-05-11 13:25:36 +02:00
Federico Fissore
f7797d8621 silencing http client output
gracefully (?) handling errors
setting a connection timeout of 5 secs
2013-05-07 12:14:38 +02:00
Federico Fissore
e1049aacc9 forcing a new requestServiceInfo until we get the remote IP address 2013-05-06 12:31:04 +02:00
Federico Fissore
20cfa72ee7 always print avrdude output
change to port 80
2013-05-06 12:31:04 +02:00
Federico Fissore
11db302b3e made parser aware of that now vid & pid have 0x 2013-05-06 12:31:03 +02:00
Federico Fissore
8ba3533a7a more macosx boards autodetect tests 2013-05-06 12:31:03 +02:00
Federico Fissore
2f5d71fb59 updated code to reflect upstream API changes 2013-05-06 12:31:03 +02:00
Federico Fissore
0c03dc8db9 re-asking for password if previous upload failed 2013-05-06 12:31:03 +02:00
Federico Fissore
e772eadd92 nicer password popup 2013-05-06 12:31:03 +02:00
Federico Fissore
968c538849 "Serial Port" is not just "Port" 2013-05-06 12:31:03 +02:00
Federico Fissore
078a6f5630 updated commons-codec
introduced password authorization dialog
actual sketch posting
2013-05-06 12:31:03 +02:00
Federico Fissore
4cbd1cf9fe fixed UploaderFactoryTest 2013-05-06 12:31:03 +02:00
Federico Fissore
0b8489d31e boards.txt modified. java code updated 2013-05-06 12:31:02 +02:00
Federico Fissore
e6468f0387 first upload code 2013-05-06 12:31:02 +02:00
Federico Fissore
8bc15c8c04 nicer port entry 2013-05-06 12:31:02 +02:00
Federico Fissore
ae852f8ab1 made the board hashmap concurrent 2013-05-06 12:31:02 +02:00
Federico Fissore
ad866ca5ed showing discovered boards 2013-05-06 12:31:02 +02:00
Federico Fissore
32bb7f69de zeroconf: first raw impl 2013-05-06 12:31:02 +02:00
Federico Fissore
218e5fc7d2 wrong device name was saved in preferences.txt 2013-05-06 12:31:02 +02:00
Federico Fissore
e650e20760 working on #223: Auto-detection of serial ports. Speeding up mac and windows 2013-05-06 12:31:02 +02:00
Federico Fissore
1445529d1c working on #223: Auto-detection of serial ports. Windows version ready 2013-05-06 12:31:01 +02:00
Federico Fissore
66a811eeee refactored DefaultExecutor to ExternalProcessExecutor 2013-05-06 12:31:01 +02:00
Federico Fissore
284c5bd173 adapted Platform.resolveDeviceByVendorIdProductId to new boards.txt format for vid and pid 2013-05-06 12:31:01 +02:00
Federico Fissore
0d47f22787 working on #223: Auto-detection of serial ports. Mac version ready even if a bit slow 2013-05-06 12:31:01 +02:00
Federico Fissore
776952762f working on #223: Auto-detection of serial ports. Linux version ready 2013-05-06 12:31:01 +02:00
Cristian Maglie
55ade2daeb Nicer button for 'Copy error to clipboard' 2013-05-03 15:46:20 +02:00
Cristian Maglie
33a7279a7d Merge branch 'penguin359-ide-1.5.x-ram' into ide-1.5.x
Fixes #1377
Fixes #1356
2013-05-03 13:25:59 +02:00
Loren M. Lang
090f721606 Clarified error messages and added a configurable warning level
Changed memory usage check to only fail build on 100%+ usage and added a
configurable warning level for memory usage defaulting to 75%.

Clarified error and warning messages related to memory usage to specify
that this is the minimum memory usage.
2013-05-02 13:10:02 -07:00
Loren M. Lang
c35e57ab4e Don't report memory usage if it's unknown 2013-04-22 18:13:31 -07:00
Loren M. Lang
7c87db3532 Detect RAM usage and stop if full
This resolves issue #1356 and add the ability for the Arduino IDE to
detect the amount of RAM allocated to a sketch and compare that to the
available RAM on each board. If RAM is more than 90% full, it will fail
on building since there is not enough free RAM for the heap and stack to
use.
2013-04-22 17:48:22 -07:00
PaulStoffregen
f9135178d1 Add "Copy To Clipboard" button for compile errors (Paul Stoffregen) 2013-04-22 14:17:38 -07:00
PaulStoffregen
d66930fd6a Support select-paste on Linux (Paul Stoffregen) 2013-04-22 04:22:21 -07:00
Cristian Maglie
443d0e1f26 Updated libaries and core handling.
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification

Merge branch 'lib-1.5-cores' into ide-1.5.x
2013-04-17 17:53:03 +02:00
Cristian Maglie
9f4b628b8f Fixed translation 2013-04-08 17:53:15 +02:00
Cristian Maglie
1866050e07 "Add library" moved into "Import library" menu
Conflicts:
	app/src/processing/app/Base.java
	app/src/processing/app/Editor.java
2013-04-07 20:39:21 +02:00
Cristian Maglie
eda3bd8767 Add library from ZIP
Conflicts:
	app/src/processing/app/Base.java
2013-04-07 20:39:21 +02:00
Cristian Maglie
c3b581b470 Upped version to 1.0.5 2013-03-29 16:14:10 +01:00
Cristian Maglie
451e53f275 Fixed typo (Cougar) 2013-03-18 13:15:31 +01:00
Cristian Maglie
a1d63c27d8 Fixed I18NTest 2013-03-11 20:22:04 +01:00
Cristian Maglie
5f6cbfbccd Removed two warnings 2013-03-11 20:18:56 +01:00
Cristian Maglie
a6bf2bb567 Another update on the way burnBootloader builds its configuration.
See #1038 #1176
2013-03-11 19:59:15 +01:00
Cristian Maglie
8ef2fe3faf The "tool" for burning bootloader is now correctly selected from board
preferences.
2013-03-11 19:08:02 +01:00
Cristian Maglie
4139c59b1a Set version to 1.0.4 2013-03-11 12:19:13 +01:00
Shigeru KANEMOTO
b6b9d4e390 Transifex API integration
Introduced "pull.sh" and "push.sh" to talk with Transifex API. See "README.md".

"i18n_update.sh" was renamed to "update.sh".
2013-03-10 23:26:01 +09:00
Cristian Maglie
bc90e3d19c Merge pull request #1235 from sgk/i18nResourcesRearrange
Rearrange i18n Resource files into a directory
2013-03-08 07:07:39 -08:00
Cristian Maglie
bed305a556 Added auto-generation for 'build.board' value in boards.txt.
See #1305.
2013-03-06 12:49:41 +01:00
Cristian Maglie
fe44fbf7e3 Added message for unknown tools.
See #1304
2013-03-05 21:24:34 +01:00
Cristian Maglie
1d89e86b62 "build.core" property can now be used inside custom menus.
Fixes #1304
2013-03-05 20:18:46 +01:00
Cristian Maglie
c1c87a1642 Simplified Boards menu layout.
Fixes #1307
2013-03-05 19:53:49 +01:00
Cristian Maglie
0947e3d55c Unused custom menus are not showed 2013-03-04 17:56:51 +01:00
Cristian Maglie
6bfe877c45 Fixed check for referenced cores. See #1157 2013-03-04 17:29:44 +01:00
Cristian Maglie
9024fe455c When using cores from other packages also the referenced platforms.txt is imported
See #1157
2013-03-04 16:56:33 +01:00
Federico Fissore
0ee42fe60b wrong rxtxcomm.jar 2013-03-04 11:45:11 +01:00
Shigeru KANEMOTO
a6c6a71c9a "ja_JP" resource translation update.
* Translated missing texts.
 * Small fixes for translation.
2013-03-03 23:15:09 +09:00
Shigeru KANEMOTO
4e908326af Applied the new utility for the ja resource. 2013-03-03 22:39:09 +09:00
Shigeru KANEMOTO
d5203f56c2 Sort the key of *.po files.
Without sorting the key, it is difficult to maintain the language
resource files on Git.
2013-03-03 22:39:09 +09:00
Shigeru KANEMOTO
5b65ae0ccb Small change to "i18n_update.sh"
* The shell should be "bash" not "sh".
 * Added an ability to update specific files only.
2013-03-03 22:38:58 +09:00
Cristian Maglie
acc477af05 Other refinement in TargetBoard 2013-03-03 12:08:16 +01:00
Cristian Maglie
51c36c7325 Slighty changed custom menu format: simplifies parsing 2013-03-03 11:31:31 +01:00
Cristian Maglie
eed4a43b54 Refactored board specific options into TargetBoard 2013-03-03 11:15:57 +01:00
Cristian Maglie
373113454d Removed some java compile time warnings 2013-03-02 13:28:40 +01:00
Cristian Maglie
3c01c5ff77 A lot of refactoring on Preferences, custom menus and Boards:
- Merged MapWithSubkeys into PreferencesMap.
- Added TargetBoard class.
- Simplified a bit submenu generation.
2013-03-02 13:28:40 +01:00
Shigeru KANEMOTO
aca0c87f38 Rearrange i18n Resource files into a directory
The "app/src/processing/app" directory became mess because there are
a lot of "Resources_*.po" and "Resources_*.properties" files for the
internationalization.

Moved the resource related files into a directory "i18n" under the
"app/src/processing/app" directory.

This is for developers only. No feature changed.
2013-02-28 22:31:39 +09:00
Cristian Maglie
44efa7fefe Revert "introducing jSSC: an RXTX replacement"
This reverts commit d69ab6ae05.

Conflicts:
	app/lib/RXTXcomm.jar
2013-02-27 18:54:10 +01:00
Cristian Maglie
a657582b2a Merge branch 'lib-1.5-newformat' into ide-1.5.x 2013-02-27 18:29:56 +01:00
Federico Fissore
849af97ac1 reverting to old RXTX, patched 2013-02-27 17:56:09 +01:00
Cristian Maglie
caa51507b9 Revert "linux: adding support to ttyACM devices"
This reverts commit e099cd2333.
2013-02-27 17:54:51 +01:00
Cristian Maglie
e6056238ad Revert "jssc.jar update for mac"
This reverts commit 23086d6b35.
2013-02-27 17:54:45 +01:00
Cristian Maglie
e71e5a5356 Revert "null check on SerialPort.readBytes"
This reverts commit 991663409a.
2013-02-27 17:54:40 +01:00
Federico Fissore
14308c66d7 Library: converted nulls to checked exceptions, removed printStackTrace, added "dependencies" member 2013-02-27 17:33:31 +01:00
Federico Fissore
2a051a76a7 Library: converted nulls to checked exceptions, removed printStackTrace, added "dependencies" member
Conflicts:
	app/src/processing/app/packages/Library.java
2013-02-27 17:33:19 +01:00
Cristian Maglie
37f5315464 Added test for GUI (Reduce Indent) 2013-02-27 17:10:46 +01:00
Federico Fissore
991663409a null check on SerialPort.readBytes 2013-02-27 13:42:45 +01:00
Federico Fissore
23086d6b35 jssc.jar update for mac
min jre version on windows
2013-02-27 13:42:45 +01:00
Federico Fissore
e099cd2333 linux: adding support to ttyACM devices 2013-02-27 13:42:45 +01:00
Federico Fissore
d69ab6ae05 introducing jSSC: an RXTX replacement 2013-02-27 13:42:45 +01:00
Cristian Maglie
d246ca06ab Added test for "Decrease Indent with 1 char on the last line"
See #1271
2013-02-27 13:34:52 +01:00
Shigeru KANEMOTO
5e17ae84a2 Fix: Exception when decreasing indent.
Fix to prevent an exception when decreasing indents if the length
of the last line of file is less than the indent width.
2013-02-27 13:31:06 +01:00
Federico Fissore
6a721ab52a cleaned up imports 2013-02-27 11:51:14 +01:00
Federico Fissore
5cc770d41a formatted 2013-02-27 11:49:09 +01:00
Shigeru KANEMOTO
f183579eaa Fix: Exception if type ESC for close confirmation.
If you type an Escape key if a close econfirmation dialog is prompted
for unsaved file, an exception thrown. This behavior fixed.
2013-02-27 11:47:11 +01:00
Federico Fissore
2fde40f46a changed test to Character.isISOControl 2013-02-27 11:47:03 +01:00
Shigeru KANEMOTO
4185c2e905 Fix: "Ctrl+," and "Ctrl+/"
Linux and Windows: If you press "Ctrl+," to invoke the preferences dialog,
the file on editor will be marked as "modified". This behavior fixed.

Linux: If you press "Ctrl+/" to comment the line, the line will be replaced
with a single "/" letter. This behavior fixed.
2013-02-27 11:43:36 +01:00
Shigeru KANEMOTO
6a59764e0b newJMenuItem() should use SHORTCUT_KEY_MASK
newJMenuItem() should use SHORTCUT_KEY_MASK variable defined at the top of this class.
2013-02-27 11:43:16 +01:00
Federico Fissore
af1828a00a GUI tests:
- refactored to execute GUI code in swing thread
- added failing test the check escape keypress behaviour con save/close modal dialog see #1279
2013-02-27 11:42:16 +01:00
Federico Fissore
0ce79a11eb ant windows build 2013-02-20 13:33:09 +01:00
Federico Fissore
024dcf05f9 testing via ant failed (see #1288) 2013-02-20 10:56:48 +01:00
Federico Fissore
19d8e24eeb testing via ant failed (see #1288) 2013-02-20 10:28:57 +01:00
Federico Fissore
f0087ed0e7 testing via ant failed, now fixed (see #1288) 2013-02-20 10:02:17 +01:00
Federico Fissore
7d638910dd support libraries for running FEST-Swing tests 2013-02-20 09:37:14 +01:00
Federico Fissore
e399b1e50a first functional test made with FEST: simulation of user interaction with the IDE
found and solved a bug with caret positioning with a cleared editor (see #1288)
2013-02-20 09:36:33 +01:00
Federico Fissore
271a2c53d4 moved tests in a separater ant target so that they can run AFTER assets like nodejs and the compiler are unpacked and ready to be used 2013-02-19 15:26:49 +01:00
Federico Fissore
a78cbf1ef3 updated build.xml to include new jars 2013-02-19 15:26:44 +01:00
Federico Fissore
7887b54199 updated build.xml to include new jars 2013-02-19 15:26:37 +01:00
Cristian Maglie
bddb47ed26 Library class, round 2 2013-02-13 19:10:30 +01:00
Federico Fissore
7aeb972e14 merging ide-1.5.x 2013-02-13 16:25:40 +01:00
Federico Fissore
dd772f761b Removed useless baud rates from serial monitor 2013-02-13 11:02:15 +01:00