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

6018 Commits

Author SHA1 Message Date
Arturo Guadalupi
1ad17fb372 Merge pull request #3983 from antodom/pio_handlers
PIO[ABCD] handlers improvement using ATSAM3X8E CLZ instruction
2016-01-05 15:07:36 +01:00
Cristian Maglie
5d9e0c5f45 Removed no more used link to ecj.jar 2016-01-05 14:50:48 +01:00
Matthijs Kooijman
9e4243bc7e Add FileUtils.splitFilename()
This allows splitting a filename into a basename and extension.
`FileUtils.hasExtension()` is updated to use it, in favour of the
String.split-based approached it used before.
2016-01-05 14:49:22 +01:00
Cristian Maglie
232f434ca8 Updated translations for translators 2016-01-05 12:54:17 +01:00
Cristian Maglie
37726c6150 Translations update 2016-01-05 12:28:17 +01:00
Cristian Maglie
d1455a070d Added Thai language 2016-01-05 12:25:18 +01:00
Hasso Tepper
7aa384db7c Add necessary spaces 2016-01-04 20:09:29 +02:00
Hasso Tepper
7d7a654bd9 Make "Retired" translatable 2016-01-04 20:09:29 +02:00
Hasso Tepper
503cbbd745 Use formatted i18n string to ease a translation 2016-01-04 20:09:18 +02:00
Hasso Tepper
d2277fc1c7 Convert message to single string to ease a translation 2016-01-04 20:08:03 +02:00
Martino Facchin
9d676a71c8 Specify SSH authentication methods
Solves upload to particularly configured SSH servers which wrongly chooses Kerberos auth method
2016-01-04 10:58:18 +01:00
Martino Facchin
3c16ac025a Add iSerial to reported VID_PID string
serial.port.iserial holds the iSerial value
2016-01-04 10:58:18 +01:00
Hasso Tepper
531248a474 Make editor statusline text translatable 2016-01-03 23:41:40 +02:00
Cristian Maglie
00ba7aa68c Merge branch 'fix-atk-update-deadlock' 2015-12-30 17:33:22 +01:00
Cristian Maglie
209f66ed1c update revision log 2015-12-30 11:21:33 +01:00
Cristian Maglie
cce61f6aad Remove unnecessary rename in GZippedJsonDownloader
See #4361
2015-12-30 10:08:29 +01:00
Cristian Maglie
16c4701802 Rename Contributed*TableCell to Contributed*TableCellJPanel 2015-12-29 16:01:34 +01:00
Cristian Maglie
a7e22e1958 Some minor cosmetics 2015-12-29 16:01:34 +01:00
Cristian Maglie
2b9483b6e6 Extract ContributionIndexTableModel as outer class 2015-12-29 16:01:34 +01:00
Cristian Maglie
d598f0cfa7 Removed unused LibraryManagerUI.getContribModel() method 2015-12-29 16:01:34 +01:00
Cristian Maglie
91f18dff24 Factored out ContributedLibraryTableCell.update(...) method 2015-12-29 16:01:34 +01:00
Cristian Maglie
71eb3c3ab2 Removed useless DESCRIPTION_COL constant 2015-12-29 16:01:34 +01:00
Cristian Maglie
47fcf318b1 Removed unused parameters in *TableCell.update(..) method 2015-12-29 16:01:33 +01:00
Cristian Maglie
76068c92b4 *TableCellEditor now extends JPanel 2015-12-29 16:01:33 +01:00
Cristian Maglie
015f658d1e Factored out TableCell setEnable() code 2015-12-29 16:01:33 +01:00
Cristian Maglie
c1387ed316 Removed weird hack for refreshing table cells 2015-12-29 16:01:33 +01:00
Cristian Maglie
4725584a49 ContributedPlatformCell* now follows swing cell model abstraction
This commit completes the refactoring
2015-12-29 16:01:33 +01:00
Cristian Maglie
6370a74632 Split TableCellRenderes from TableCellEditors
This rationalization helps to better follow the swing abstractions
of table models and increase separation of concerns.

(WIP: ContributedPlatforms needs a similar refactoring that will be
done in the next commits)
2015-12-29 16:01:33 +01:00
Cristian Maglie
fd04767269 Renamed ContributedLibraryTableCell to ContributedLibraryTableCellRenderer
This is in preparation for the next refactoring.
2015-12-29 16:01:33 +01:00
Cristian Maglie
ed30cd7b58 Removed ContributedLibraryTableCell.Cell dependency from upper editorValue field 2015-12-29 16:01:33 +01:00
Cristian Maglie
268ae81759 Removed useless parentTable field in ContributedLibraryTableCell 2015-12-29 16:01:33 +01:00
Cristian Maglie
926a8c9101 Correct implementation of ContributedLibraryTableCell
getTableCellRendererComponent() interface requires to return independent
Component objects used for "stamping" the table element.
2015-12-29 16:01:33 +01:00
Cristian Maglie
29912a0ac9 Remove temporary files when updating library_index.json
Fix #4272 #4332
2015-12-28 19:17:29 +01:00
Matthijs Kooijman
7949e7e81f Randomize temporary sketch copy directory name
When a sketch has unsaved changes, a temporary copy of the sketch is
made with those changes applied. This copy is then passed to
arduino-builder.

Previously, the name of this directory contained a hash of the main
sketch filename, so the same directory would be used between builds. Now
that this directory is deleted after every build, it can just use a
randomized directory name, which is what this commit does.

Addtionally, the prefix used for generating the name is changed from
"arduino_" to "arduino_modified_sketch_" to make it slightly clearer
what the directory is for (just in case it somehow survives the build,
or a user sees it during the build).
2015-12-28 15:28:58 +01:00
Matthijs Kooijman
1029e0b78d Delete temporary sketch copy after build
When a sketch has unsaved changes, a temporary copy of the sketch is
made with those changes applied. This copy is then passed to
arduino-builder.

Previously, this temporary copy was kept around and only deleted when
the IDE was closed. However, all files were written to it again on every
build, so keeping the old files around did not serve any real purpose.

When a file was renamed in the IDE, the original name would still be
present in the temporary copy, and could cause linker errors because
both were compiled.

This commit makes sure the temporary copy is deleted after every build,
instead of at IDE exit, which fixes this problem with renames.

When a file is deleted from the sketch, the file would also be deleted
from the temporary copy, presumably to fix this same problem for
deletes (but renames were forgotten). With this commit, this special
handling for deleting files is no longer needed, so it is removed.

This fixes #4335
2015-12-28 15:19:55 +01:00
Cristian Maglie
a6e36fac9d update revisions log 2015-12-28 12:32:10 +01:00
vbextreme
b1231c39e9 fix delay/yield on avr, if function called by yield takes more a millisecond the delay fails 2015-12-27 14:50:56 +01:00
Cristian Maglie
d893aa0b65 Merge NicoHood's fix for USB_SendControl with len>64
Fix #4325
2015-12-23 15:35:08 +01:00
NicoHood
6367168925 Added >64 byte USB_RecvControl() support 2015-12-23 15:31:55 +01:00
Cristian Maglie
480f2fa0d3 Merge branch 'issue3502-indent' of https://github.com/damellis/Arduino
Fix #3502
2015-12-23 12:14:28 +01:00
Cristian Maglie
733a6d0821 update revision log 2015-12-23 11:59:56 +01:00
Cristian Maglie
a73d393554 Merge branch 'fix-npe-platform-json' into master 2015-12-22 17:57:28 +01:00
David A. Mellis
07903b8585 Use new IncreaseIndentAction for Edit > Increase Indent.
This simplifies the code a bit and fixes a small bug that would cause the cursor to fail to move with the text being indented.
2015-12-21 16:42:40 -08:00
David A. Mellis
05be1480d4 Fix issue #3502: behavior of Cmd+[ and Cmd+] on Mac OS X. 2015-12-21 16:41:12 -08:00
Cristian Maglie
2b4883f755 Merge branch 'keys' of https://github.com/matthijskooijman/Arduino into matthijskooijman-keys 2015-12-21 18:58:21 +01:00
Cristian Maglie
7c089c96d3 Fixed NPE in some rare combinations of JSON files
The error triggered inside ContributioIndexer.mergeContributions()
while trying to remove a platform:

    if (platform != null) {
      targetPackage.getPlatforms().remove(platform);
    }

remove() method calls ContributedPlatform.equals() to find the
element to remove but since the parentPackage fields are resolved
*after* merging contributions, the equls() method will fail with
a NullPointerException.
2015-12-21 18:15:52 +01:00
Cristian Maglie
fa4876b7b1 Fixed unit-test UploaderFactoryTest
It was broken after merging #4107
2015-12-21 15:19:22 +01:00
Martino Facchin
376cb56fc0 Starting version 1.6.8 2015-12-21 12:05:04 +00:00
Martino Facchin
746133dece Merge pull request #4317 from NicoHood/RecvControlLong
Added Long USB RecvControl call for >64 bytes
2015-12-21 10:52:19 +00:00
Arnie97
89294855fe Fix typo in a Ethernet Shield example 2015-12-19 21:10:24 +08:00