Skip to content

Commit

Permalink
🩹 [2.1.60] Tweak data details
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Nov 10, 2024
1 parent 7f6f901 commit fa0a9ad
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 18 deletions.
30 changes: 20 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,39 @@

The following enhancements and changes have been made to ***Auto Build Marlin***.

## 2.1.60
- Config Editor:
- Group sequential items with the same name
- Provide standard options for 'state' and 'dir' types
- More mutual-exclusive checkbox groups
- Preserve collapsed sections on show/hide document
- Clean up and document some code

## 2.1.59
- Fix handling of #undef
- Identify macro defines
- Use checkbox groups for optional items
- Add checkbox groups for like-named items
- Config Editor:
- Fix handling of `#undef`
- Identify macro defines
- Use checkbox groups for optional distinct items
- Add checkbox groups for like-named items

## 2.1.58
- Fix filtering options by axis
- Implement radio grouping for LCD items
- Config Editor:
- Fix filtering options by axis
- Implement radio grouping for LCD items

## 2.1.57
- Config Editor "Show Disabled" checkbox
- Config Editor: "Show Disabled" checkbox

## 2.1.56
- Handle `MB(...)` in schema
- Config Editor: Handle `MB(...)` in schema

## 2.1.55
- Update for new `Conditionals-#-abc.h` files

## 2.1.54
- Fix parsing of `defined()` in `schema.js`
- Config Editor: Fix parsing of `defined()` in `schema.js`
- Alt/Option changes "Clean" to "Purge" to delete build and libdeps
- Add on-the-fly log_() function to `editview.js`
- Config Editor: Add on-the-fly `log_()` function to `editview.js`

## 2.1.53
- Prevent `platformio.ini` from opening by overriding a PlatformIO IDE setting.
Expand Down
17 changes: 11 additions & 6 deletions abm/js/editview.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,9 @@ $(function () {
changes = [];
}
function end_multi_update() {
vscode.postMessage({ type:'multi-change', changes });
multi_update = false;
ignore_update = true;
vscode.postMessage({ type:'multi-change', changes }); // editor.js:handleMessage
}

// A filter text box to filter the list of options.
Expand Down Expand Up @@ -285,13 +286,14 @@ $(function () {
refreshVisibleItems();
saveWebViewState();

// Handle message posting
ignore_update = true;
// This update should be ignored when it comes back from onDidChangeTextDocument -> updateWebview
const msg = { type: 'change', data: optref };
if (multi_update)
changes.push(msg);
else
vscode.postMessage(msg);
else {
ignore_update = true;
vscode.postMessage(msg); // editor.js:handleMessage
}
}

/**
Expand Down Expand Up @@ -794,7 +796,10 @@ $(function () {
ignore_update = false;
else
buildConfigFormWithData(message.schema); // Use the provided data to rebuild the form.
//buildConfigFormWithText(message.text);
break;

case 'text-update':
buildConfigFormWithText(message.text); // Use the provided text to rebuild the form.
break;

// Display an error message
Expand Down
1 change: 1 addition & 0 deletions abm/js/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class ConfigSchema {
const instance = new ConfigSchema();
instance.data = data;
instance.bysid = ConfigSchema.getIndexBySID(data);
instance.refreshAllRequires();
return instance;
}
static getIndexBySID(data) {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "auto-build",
"displayName": "Auto Build Marlin",
"description": "Provides an interface to quickly build and upload Marlin Firmware.",
"version": "2.1.59",
"description": "Provides an interface to configure, build, and upload Marlin Firmware.",
"version": "2.1.60",
"preview": false,
"publisher": "marlinfirmware",
"icon": "icon.png",
Expand Down

0 comments on commit fa0a9ad

Please sign in to comment.