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

6918 Commits

Author SHA1 Message Date
Martino Facchin
feb863dfc9 PluggableDiscovery: allow patterns to contain runtime variables 2019-03-07 12:41:27 +01:00
Cristian Maglie
e1caaf1c45 Perform port selection after initializing packages
Fix #8400
2019-01-23 15:46:41 +01:00
Cristian Maglie
651dcd5271 Removed unused field 2019-01-23 13:51:41 +01:00
Cristian Maglie
4fffcd6e1a Editor: use TargetBoard.getName() to get board name 2019-01-23 13:51:41 +01:00
Cristian Maglie
6c50007e22 Editor: renamed status bar field serialport -> port 2019-01-23 13:51:41 +01:00
Cristian Maglie
7bc086a301 PluggableDiscovery: correct synchronization on 'portList' access 2019-01-23 13:51:41 +01:00
Cristian Maglie
4ae740ad66 PluggableDiscovery: BoardPort.label sanity check in the correct place 2019-01-23 13:51:41 +01:00
Cristian Maglie
4c188c9374 PluggableDiscovery: Factored out method to umarshal BoardPort from JSON 2019-01-23 13:51:41 +01:00
Cristian Maglie
8e9f0cfd76 PluggableDiscovery: added a 'port' field in json messages
The new format of 'add' and 'remove' actions is changed from:

{
  "eventType": "add",
  "address": "/dev/ttyACM0",
  "label": "/dev/ttyACM0",
  "prefs": {
    "vendorId": "0x2341"
    "productId": "0x0043",
    "serialNumber": "85235353137351018160",
  },
  "identificationPrefs": {
    "vid": "0x2341"
    "pid": "0x0043",
  },
  "protocol": "serial",
  "protocolLabel": "Serial Port"
}

to:

{
  "eventType": "add",
  "port": {
    "address": "/dev/ttyACM0",
    "label": "/dev/ttyACM0",
    "prefs": {
      "vendorId": "0x2341"
      "productId": "0x0043",
      "serialNumber": "85235353137351018160",
    },
    "identificationPrefs": {
      "vid": "0x2341"
      "pid": "0x0043",
    },
    "protocol": "serial",
    "protocolLabel": "Serial Port"
  }
}
2019-01-23 13:51:41 +01:00
Cristian Maglie
7186213034 Slightly changed pluggable discovery json parsing
The json input is now parsed into a JsonTree that can probed for the
'eventType' node value so we can understand the type of message to
decode to.
2019-01-23 13:51:41 +01:00
Cristian Maglie
349af4b5cf Added BoardPort.protocolLabel and simplified port menu rendering 2019-01-23 13:51:41 +01:00
Cristian Maglie
c03a8bc175 Minor fix in indentation and style 2019-01-23 13:51:41 +01:00
Cristian Maglie
cfd3cf2b27 Use correctly the setBoardName() method in NetworkDiscovery 2019-01-23 13:51:41 +01:00
Cristian Maglie
9ba172b0db Show BoardName.boardName field in 'Ports' menu
...instead of putting it into the 'label' field during discovery.
2019-01-23 13:51:41 +01:00
Cristian Maglie
ec4787a92b Fixed board identification in BoardPort 2019-01-23 13:51:41 +01:00
Cristian Maglie
5bc96652e6 Slightly optimized method by removing redundant boolean flag 2019-01-23 13:51:41 +01:00
Cristian Maglie
80fb9a0b38 Optimized forceRefresh() method by removing redundant boolean paramater 2019-01-23 13:51:41 +01:00
Cristian Maglie
3ccb2d97e1 Merged SerialDiscovery and SerialBoardLister
They perform basically the same task, SerialDiscovery just used to proxy
the calls to SerialBoardLister
2019-01-23 13:51:41 +01:00
Cristian Maglie
8d6fa72667 Removing fixed fields in BoardPort 2019-01-23 13:51:41 +01:00
PaulStoffregen
d7143d6859 Add BoardPort identificationPrefs and searchMatchingBoard 2019-01-23 13:51:41 +01:00
PaulStoffregen
05092bf17f Move BoardPort fixed fields into prefs 2019-01-23 13:51:41 +01:00
PaulStoffregen
e029acc699 Add PluggableDiscoveryMessage for BoardPort change metadata 2019-01-23 13:51:41 +01:00
PaulStoffregen
b6066573b9 PluggableDiscovery check for START_SYNC not supported 2019-01-23 13:51:41 +01:00
PaulStoffregen
5ba56abc80 Initial PluggableDiscovery using BoardPort for JSON 2019-01-23 13:51:41 +01:00
PaulStoffregen
f5bf6e5e7a Add BoardPort copy constructor 2019-01-23 13:51:41 +01:00
Cristian Maglie
f81798badf Pluggable discovery: search in platform.txt (WIP) 2019-01-23 13:51:41 +01:00
Martino Facchin
3ba85835bf Merge branch 'master' of github.com:arduino/Arduino 2019-01-21 09:41:32 +01:00
Martino Facchin
7248affd7e Avoid double confirmation when closing sketch
Fixes #8413

handleQuit() already checks for confirmation if the sketch has been modified (when invoked directly).
When invoked indirectly (via handleClose(), as we are closing the last open Editor instance), checkModified() is redundant.
2019-01-21 09:37:19 +01:00
Martino Facchin
cf47df35f3 [Windows] Change rsyntaxtextarea jar name
Fixes #8404
2019-01-19 11:36:07 +01:00
Martino Facchin
e9ecaa70f7 Check for containing folder existence before listing files
Fix #8389
2019-01-18 10:12:16 +01:00
Martino Facchin
f15ddeb846 Update rsyntaxtextarea to 3.0.2
The name is misleading since 3.0.2 had been officially released (but the filename is totally wrong).
The jar comes from https://netcologne.dl.sourceforge.net/project/rsyntaxtextarea/rsyntaxtextarea/3.0.2/rsyntaxtextarea-3.0.2.zip

Fixes #7861
2019-01-18 09:51:46 +01:00
Cristian Maglie
f52fc1fb5e Slightly improved DownloadableContributionVersionComparator 2019-01-14 17:27:34 +01:00
Cristian Maglie
f5f8b7f29c Renamed wrong named variable 2019-01-14 16:53:47 +01:00
Martino Facchin
1b0f00ee38 Update WiFiUpdater to 0.10.5 2019-01-14 12:05:56 +01:00
jenkins
c9de9ee44e update arduino-builder to 1.4.3 2019-01-03 17:19:13 +01:00
jogo-
e70e0fb1c0 Fix typos in revisions.txt 2019-01-02 14:22:23 +01:00
Martino Facchin
778866ac4e
Merge pull request #8349 from facchinm/fix_regression_save_on_close
Remove last editor window after saving its properties
2019-01-02 14:17:36 +01:00
Martino Facchin
2efd090e81 Remove last editor window after saving its properties
Only OSX needs the "app" to stay open after handleQuit and to remove the editor windows when called.

Fixes #8337
2019-01-02 10:24:53 +01:00
Martino Facchin
4b6b8f0c52 update arduino-builder to 1.4.2 2018-12-19 18:04:05 +01:00
Sandeep Mistry
b3b62d0c44
Only display touch bar on macOS 10.12 and higher (#8281) 2018-12-11 09:37:41 -05:00
Martino Facchin
30e1466590
Merge pull request #8289 from arduino/compiler-log-charset-issue
Fixed incorrect encoding of compiler log
2018-12-11 14:04:55 +01:00
Gianluca Varisco
0b68856999 Fixed incorrect encoding of compiler log
This commit fixes #8212 by passing '-Dfile.encoding=UTF8' to the
arduino.l4j.ini file (windows launcher).

This property define the file encoding that is required.
2018-12-11 13:49:58 +01:00
Martino Facchin
3f2635717a Enable bundled JRE for ARM64
Experimental, should allow ARM64 build to become more or less official from the next version.
The bundled JRE is AdoptOpenJDK's 8u191 (https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u191-b12/OpenJDK8U-jre_aarch64_linux_hotspot_8u191b12.tar.gz) which we are actively evaluating to replace Oracle's.
2018-12-06 15:12:00 +01:00
Martino Facchin
56f0e96912 Starting 1.8.9 2018-12-06 15:12:00 +01:00
Martino Facchin
41f30a0791 [Linux] Add 1.8.8 to appdata.xml 2018-12-06 15:11:31 +01:00
Martino Facchin
5f9c230146 Update WiFi101Updater to 0.10.4 2018-12-06 11:18:28 +01:00
Cristian Maglie
a5f6a407e8 Updated Servo lib to version 1.1.3 2018-12-05 12:36:10 +01:00
Cristian Maglie
f4eb249010 Updated SD lib to version 1.2.3 2018-12-05 12:23:53 +01:00
Cristian Maglie
09158c6d7f updated translations 2018-12-05 12:17:48 +01:00
Cristian Maglie
073458d1bb Update revision log 2018-12-05 12:03:57 +01:00