Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
f81798b
Pluggable discovery: search in platform.txt (WIP)
cmaglie Sep 10, 2018
f5bf6e5
Add BoardPort copy constructor
PaulStoffregen Sep 29, 2018
5ba56ab
Initial PluggableDiscovery using BoardPort for JSON
PaulStoffregen Sep 29, 2018
b606657
PluggableDiscovery check for START_SYNC not supported
PaulStoffregen Sep 29, 2018
e029acc
Add PluggableDiscoveryMessage for BoardPort change metadata
PaulStoffregen Oct 1, 2018
05092bf
Move BoardPort fixed fields into prefs
PaulStoffregen Oct 1, 2018
d7143d6
Add BoardPort identificationPrefs and searchMatchingBoard
PaulStoffregen Oct 3, 2018
8d6fa72
Removing fixed fields in BoardPort
cmaglie Oct 4, 2018
3ccb2d9
Merged SerialDiscovery and SerialBoardLister
cmaglie Oct 4, 2018
80fb9a0
Optimized forceRefresh() method by removing redundant boolean paramater
cmaglie Oct 4, 2018
5bc9665
Slightly optimized method by removing redundant boolean flag
cmaglie Oct 4, 2018
ec4787a
Fixed board identification in BoardPort
cmaglie Oct 4, 2018
9ba172b
Show BoardName.boardName field in 'Ports' menu
cmaglie Nov 23, 2018
cfd3cf2
Use correctly the setBoardName() method in NetworkDiscovery
cmaglie Nov 23, 2018
c03a8bc
Minor fix in indentation and style
cmaglie Nov 23, 2018
349af4b
Added BoardPort.protocolLabel and simplified port menu rendering
cmaglie Nov 29, 2018
7186213
Slightly changed pluggable discovery json parsing
cmaglie Nov 30, 2018
8e9f0cf
PluggableDiscovery: added a 'port' field in json messages
cmaglie Nov 30, 2018
4c188c9
PluggableDiscovery: Factored out method to umarshal BoardPort from JSON
cmaglie Nov 30, 2018
4ae740a
PluggableDiscovery: BoardPort.label sanity check in the correct place
cmaglie Nov 30, 2018
7bc086a
PluggableDiscovery: correct synchronization on 'portList' access
cmaglie Nov 30, 2018
6c50007
Editor: renamed status bar field serialport -> port
cmaglie Dec 7, 2018
4fffcd6
Editor: use TargetBoard.getName() to get board name
cmaglie Dec 7, 2018
651dcd5
Removed unused field
cmaglie Dec 7, 2018
e1caaf1
Perform port selection after initializing packages
cmaglie Jan 23, 2019
feb863d
PluggableDiscovery: allow patterns to contain runtime variables
facchinm Dec 13, 2018
be1a840
Add TargetBoard.getFQBN helper
facchinm Mar 7, 2019
d4bbf71
Match wildcard property "." with board fqbn/name
facchinm Mar 7, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Editor: use TargetBoard.getName() to get board name
  • Loading branch information
cmaglie committed Jan 23, 2019
commit 4fffcd6e1a668f5065fd2762e493ce337d76207d
7 changes: 4 additions & 3 deletions app/src/processing/app/Editor.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
import cc.arduino.view.findreplace.FindReplace;
import jssc.SerialPortException;
import processing.app.debug.RunnerException;
import processing.app.debug.TargetBoard;
import processing.app.forms.PasswordAuthorizationDialog;
import processing.app.helpers.DocumentTextChangeListener;
import processing.app.helpers.Keys;
Expand Down Expand Up @@ -2580,9 +2581,9 @@ private void statusEmpty() {
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

protected void onBoardOrPortChange() {
Map<String, String> boardPreferences = BaseNoGui.getBoardPreferences();
if (boardPreferences != null)
lineStatus.setBoardName(boardPreferences.get("name"));
TargetBoard board = BaseNoGui.getTargetBoard();
if (board != null)
lineStatus.setBoardName(board.getName());
else
lineStatus.setBoardName("-");
lineStatus.setPort(PreferencesData.get("serial.port"));
Expand Down