Files
xod/CHANGELOG.md
2018-03-12 16:47:47 +03:00

30 KiB
Raw Blame History

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.19.2 (2018-03-12)

Bug fixes

  • [nodes] Do not emit an unconditional pulse from xod/core/defer-pulse on boot (#1108)
  • [nodes] Remove extraneous utility output from xod/core/discretize (#1106)
  • [core] Fix IDE crashing when opening some patches with dead links (#1111)

0.19.0 (2018-03-02)

Features and enhancements

  • [core] Implement variadic nodes. An ability to have an adjustable number of input pins on a node.
  • [nodes] Nodes from the standard library made variadic if applicable: add, multiply, bitwise-*, any, and, or, concat, discretize, select, and others.
  • [ide] Show richer tooltips on node hover. It shows the node label, fully qualified type, and errors if there are any.

New nodes

0.18.1 (2018-02-09)

Bug fixes

  • [ide] Fix user-installed libraries not showing up when opening the project.

0.18.0 (2018-02-07)

Features and enhancements

  • [core] Perform loop unroll optimization technique for the generated C++ code. It dramatically improves RAM consumption and XOD execution performance. (thanks, @awgrover).
  • [ide] Eight new embedded tutorial chapters (21 through 28) explaining pulse basics and LCD interaction.
  • [ide] Support Markdown in patch comments. Your patches now can be more expressive. See the tutorial project for example.
  • [ide] Add OS file associations for *.xodball, project.xod, *.xodp and a list of recent items in the app system menu. Currently works on Windows and macOS, not Linux yet.
  • [ide] Youre not limited now in where on file system you save a project. Previously a project was saved in a “workspace,” now you may choose an arbitrary directory with the native OS “Save” dialog.
  • [ide] Blur the difference between single-file projects (xodballs) and regular multi-file projects. Both kinds can be seamlessly saved/loaded through “File → Save,” “File → Save as,” “File → Save a Copy,” and “File → Open.”
  • [ide] No more clunky project selection dialog on desktop IDE start: just a ready to use blank project with a welcoming comment.
  • [ide] Add “View → Pan to Origin” (Home) and “View → Pan to Center” (Ctrl+Home).
  • [ide] Upgrade and tweak IDE build toolchain (Webpack). A consequence is 2× smaller distributive code size which means IDE loads faster.
  • [ide] Unify font sizes and styles across all sidebars, popups, dialogs. The main font size now is 12px rather than 11px. That makes IDE more accessible and comfortable to work with.
  • [ide] Code editor has got block commenting (Ctrl+/), auto-close opening brackets, trailing space highlight, auto-clear trailing spaces on empty lines.

New nodes

Bug fixes

  • [ide] Fix few typos in UI (thanks, nick).
  • [ide] Quick help panel text is copyable now.
  • [ide] When starting debugger patch panning position is preserved, no more jumps out of work area. Breadcrumbs bar no longer overlaps the patch when appear.
  • [ide] Bring back grabbing and hand cursors while panning.
  • [ide] Fix C++ code editor improper syntax highlighting in the middle of identifiers and comments.
  • [ide] The not-implemented-in-xod node now carries C++ implementation when copied to the clipboard, the code template which appears with the node is applied immediately (thanks, bitrex).
  • [ide] Fix link to mouse and keyboard shortcuts in the top menu.
  • [ide] Make text in the deployment panel copyable.
  • [ide] Do not trim leading whitespace in an output of the compiler.
  • [ide] Gracefully handle USB connection lost while debugging.

0.17.1 (2017-12-27)

Bug fixes

  • [ide] Fix help panel content overflow.
  • [ide] Fix quick search help box text moire (best noticable on Windows).
  • [ide] Fix background size for a view when no patches are open.
  • [ide] Fix cursor shapes for various UI elements.
  • [ide] Fix long lines truncation in the deployment log.
  • [ide] Fix aliasing of IDE desktop icon on Windows.

0.17.0 (2017-12-26)

Features and enhancements

  • [ide] General user interface facelift. Updated icons, reduced visual noise, more accurate accents. Better messages and the main menu.
  • [ide] Make panels dockable. Now you can tweak location of any sidebar panel: dock it to the left or right, hide, resize.
  • [ide] The project browser, quick search suggester, and selected node got own help boxes. All available with H key as it was before.
  • [ide] Introduce deploy pane. Now all output during upload and debug messages go here.
  • [ide] Improve syntax highlighting in the embedded code editor. Match XOD C++ node API symbols, inttypes, and few Arduino built-in functions.

Bug fixes

  • [nodes] Fix wrong description of xod/core/pulse-on-false (thanks @awgrover)

0.16.1 (2017-12-13)

Features and enhancements

  • [ide] Patch crafting optimized. Performance gain is ~35%

Bug fixes

  • [core] Fix code generation for C++ nodes local to the current project: no more @ symbols in the code
  • [ide] Trigger library search when a library name is pasted from the clipboard
  • [ide] Fix regression of macOS auto-update failure introduced in 0.16.0
  • [ide] Fix patch board break when trying to drag-n-drop the patch node on itself or adjacent UI elements
  • [ide] Fix embedded code editor overflow past the window boundaries when source code is too long
  • [ide] Handle network connection problems gracefully while authorization and library publishing
  • [ide] Escape regular expression symbols while searching for a node (thanks @awgrover)
  • [ide] In the account pane, send credentials on Enter press

0.16.0 (2017-12-01)

Features and enhancements

  • [ide] Add a feature to install libraries right from IDE. Hit “File → Add Library”, enter a name as seen at https://xod.io/libs/, and youre ready to use new nodes.
  • [ide] Add a feature to publish your project as a library. Hit “File → Publish Library” and youre done. See your library at https://xod.io/libs/. Others can immediately install it for themselves.
  • [ide] Add account pane to login/logout from within IDE. Hit “View → Toggle Account Pane” to access it. Login is required to publish a library.
  • [ide] Embed C++ editor for low-level nodes. Double-click a not-implemented-in-xod node to open and edit the code.
  • [ide] Click and drag for bulk selection with a marquee. Move, copy, paste, delete faster. Drag from left to right to select only items completely covered by the rectangle, drag from right to left to also include intersected entities. Hold Ctrl (⌘ on macOS) key to add/remove items from the selection.
  • [ide] Tweak paste behavior so that the entities are inserted to the left of the current selection, not at the origin. That means you can Ctrl+C and then Ctrl+V multiple times to build a row of similar nodes very quickly.
  • [ide] Track changes in patches and save project incrementally. That means faster saves, removing deleted patches files, and keeping files not related to XOD intact.
  • [ide] “Save Project” is generalized to “Save All.” Libraries, if they have changed are saved too, and effectively create a fork automatically.
  • [ide] Allow resizing of the project browser and inspector panes. Drag a handle between them to adjust the height proportion.
  • [ide] Automatically adjust panning position when opening a patch so that the patch aligns with the top left corner.
  • [ide] Inserted comments are a bit wider by default.
  • [core] BREAKING node C++ implementations are now read from files named patch.cpp. Former any.cpp and arduino.cpp are ignored. A patch must include not-implemented-in-xod node to take its C++ implementation into account.
  • [core] BREAKING untitled pins changed numbering scheme. Instead of IN_0, IN_1, IN_2, ... and OUT_0, OUT_1, OUT_2, ..., now they are IN1, IN2, IN3, ... and OUT1, OUT2, OUT3, ....
  • [core] *.xod* files are now terminated with newline symbol on save. It makes them a bit friendlier for manual editing.
  • [cli] xodc install now installs all transient library dependencies automatically.

New nodes

Bug fixes

  • [core] Fix upload to Arduino Mega 2560 boards when compiling locally.
  • [core] Fix yet more bugs related to invalid initial values after transpile.
  • [ide] Fix possible single slot offset when placing nodes with a double-click.

0.15.1 (2017-10-31)

Bug fixes

  • [nodes] Fix regression. xod/core/watch compiles again.

0.15.0 (2017-10-31)

Features and enhancements

  • [core] Feedback loops! Previously, you could not upload a program containing graph cycles, in other words, your programs “now” had no easy way to depend on the past. Now, you can place a special defer node in the way of a feedback link, and such program will be accepted. The defer nodes act as loop breakers to define execution priorities and escape points for potential dead-locks.
  • [core] The standard node library (xod/*) is now tied to the distributive, not to a workspace. Youre no longer required to clear the workspace to get new version goodness.
  • [core] Local libraries are now searched in $workspace/__lib__ instead of $workspace/lib. It allows to have a project with name lib and makes the previous enhancement work for existing users.
  • [ide] Weve upgraded XOD build toolchain. Distributives lost in size from 25 to 60% (depends on OS), the IDE now takes less time to start and eats less RAM.
  • [ide] The IDE now warns about unsaved changes when a project is about to close. No more work loss.
  • [ide] Double-click a node to drill down. That is a quicker way of browsing a program. The feature also works in the debug mode and lets you see watches of nested patches.
  • [ide] Ctrl+A (⌘ A on macOS) selects all entities when the focus is on the patch board.
  • [ide] Cloud compilation limit is shown explicitly now in the Upload dialog.
  • [nodes] The delay node got an extra ACT output. It addresses many cases when you have had to use an extra flip-flop along with the delay.
  • [nodes] The clock node got the EN input. Now you can temporary disable a clock when necessary.
  • [c++] BREAKING The way strings are represented in C++ changed significantly. Now they are more memory-efficient. Iteration interface is backward-compatible, but creation interface is not. An action can be required only if you make native (C++) nodes which operate on strings.
  • [docs] Add mouse and keyboard shortuts. Also available via “Help” menu in the IDE.
  • [docs] Add supported hardware reference.

New nodes

Bug fixes

  • [ide] You can scroll the Inspector if its contents are too tall. Now 13" laptop users should not be disappointed while editing a text-lcd-16x2 node.
  • [ide] If a project has integrity violations it no longer crashes an IDE. That could happen if a library your project depends on made some breaking changes, or if you made a mistake while editing *.xodp files manually. Now missing pins and patches are drawn in red giving you an opportunity to fix the project and go on.
  • [ide] Fix a bug when an extra click was required to close the last tab.
  • [ide] Fix a regression bug when deleting a patch lead to errors.
  • [ide] Restore ESC behavior to cancel linking.
  • [ide] Fix tab reordering behavior. Now it works the same way as you expect. Previously a dragged tab was swapped with the target tab instead of being inserted there.
  • [ide] Fix crash on patch rename if the debugger is active.
  • [ide] Ctrl+A (⌘ A on macOS) now work as expected on all text inputs where it did not before.
  • [ide] The contents of dialogs is no longer selectable like it is a regular web-page.
  • [core] Fix scenarios when values bound to inputs “leaked” to initial output values in C++. The simplest case to reproduce was to make a patch with button and led node. On boot, the LED should be turned off, but it was on.
  • [c++] isTimedOut(ctx) now returns false if a node was not even scheduled with setTimeout.

0.14.0 (2017-10-04)

Features and enhancements

  • Brand new tutorial. It has two versions: the first one is embedded right into the welcome-to-xod project you see after the desktop IDE installation or browser-based IDE launch; the second one is published statically in the documentation section of the site.
  • The debugger and watches! Now, you can watch for value changes in real-time right inside the desktop XOD IDE. Place a xod/core/watch node, link it, and upload the program with “Debug after upload” checkbox set. The debugger also lets you view incoming serial data log like the Serial Monitor in Arduino IDE does.
  • Bulk selection and mass actions. Hold the Ctrl key (Command on macOS) while clicking on nodes, links, or comments to select multiple entities. After that, you could move or delete them all at once.
  • Cut/copy/paste. Finally, clipboard functionality you expect from any application is here. Ctrl+C/Ctrl+V your nodes on a patch, across patches, or even across XOD IDE windows.
  • Cloud compilation. Now, rather than pull the whole compiler toolchain to your system, you can choose to compile in our cloud. Check “Compile in the cloud” box in the Upload Dialog to use it. This is the first step toward making the browser-based XOD IDE fully functional.

New nodes

Bug fixes

  • Fixed upload dialog hang if the serial port was busy (thanks @awgrover)
  • Fixed multiple recurring typos of “Ouput” with missing “t” (thanks @awgrover)
  • Always keep patches sorted alphabetically in the Project Browser. Previously, new patches and patch renames broke the order.

0.13.0 (2017-09-04)

Features and enhancements

  • Switch patch board layout from slots to a slot/grid hybrid.
  • Add nodes quick search. Hit Edit → Insert Node, or Double click the patch board, or press I key to invoke it.
  • Add the Helpbar. The new pane that shows contextual help for a node. Hit View → Toggle Helpbar or press H key to show it.
  • Implemented panning of the patch board. Now you can navigate large patches by pressing spacebar or middle mouse button and drag.
  • The terminal nodes now have their own outstanding look (circles) so that you can quickly scan a patch to find its inputs and outputs.
  • Now you can set starting values for flip-flop, count, and many other simply binding a desired initial value to their outputs.
  • Add few missing tooltips for UI controls in the Inspector and Project Browser.
  • Browser-based IDE now shows the direct download link for the desktop IDE when trying to upload.
  • The Help main menu item now goes last in the desktop IDE as it should be.

New nodes

Bug fixes

  • Fix upload on boards with multiple controller variants. Notably, Arduino Nano which has ATmega328 and ATmega168 versions.
  • xod/core/count node now works fine with a fractional STEPs.
  • Fix compilation error saying “dtostrf is not defined” which occurred on non-AVR platforms when trying to cast a number to a string.
  • Avoid false xod/common-hardware/button triggering on boot.
  • Tweak buttons overlapping long node label for a selected item in the Project Browser.
  • Double click on the add (+) button in the Project Browser no longer drops you to the clicked node implementation. You can still drill down if youd click the label outside of a button.

Optimizations

  • Move most of the static data in generated C++ to flash memory section. It lowers RAM consumption at the order of 2× to 3×.
  • Get rid of a separate topology mapping in C++. Now all node IDs are already sorted topologically. It saves one or two bytes of RAM and Flash per native node.
  • Provide API for native nodes to access values stored in their outputs directly. It saves RAM for the nodes which keep their internal state, e.g. flip-flop, count, fade, etc.

Deprecations and removals

  • Rudimental support for JS-based platforms is dropped so that we can focus on C++ microcontroller platforms and support them well.

0.12.1 (2017-08-09)

Bug fixes

  • Fix upload failure if a xod/common-hardware/text-lcd-16x2 or xod/common-hardware/servo node is used. XOD IDE now carries vital Arduino libraries in the distro.
  • Improve UI responsiveness, fix IDE performance degradation over time. The problem was in a developer/debugging tool integrated to XOD IDE which is not very interesting for end-users. The tool is no longer enabled in public releases.
  • Fix bound values propagation in complex scenarios with deeply nested patches.

0.12.0 (2017-08-07)

Features and enhancements

  • Implement in-patch comments. Now you can “Edit → Insert Comment” to place text note right onto the patch board. You will see an example of using comments in the welcome-to-xod project if you would create a new workspace (File → Select Workspace) or launch browser-based IDE.
  • New build system no longer depends on Arduino IDE being installed. No more splash screen while uploading a XOD program to Arduino.
  • Project *.xodp and *.xod files now dont store fields with default values like "description": "" or "comments": []. This makes the files more compact and immune to insignificant diffs when theyre stored under VCS such as Git.

New nodes

Bug fixes

  • BREAKING: Change pin naming scheme for native C++ nodes to avoid collisions with global macros. Inputs::PORT became input_PORT. As a consequence compilation for Arduino Zero, M0, MKR1000 is possible now. Workspaces with an older version of the standard library will no longer compile.
  • Fix serial port enumeration when doing Deploy → Upload to Arduino (regression of v0.11.0).
  • Fix overprotection of Inspectors number input box from wrong values. It didnt allow to enter negative numbers. Now they are valid as should be and scientific notation also works, i.e. one can enter 1e-6 for 0.000001.
  • Program start no longer initiate a single pulse on every pulse link what could lead to an incorrect initial state of a device.
  • Fix text-lcd-16x2 didnt clear the tail of a line which results in trash symbols when a new text was shorter than the previous.
  • Fix few transpilation bugs in edge cases: values bound via Inspector did not propagate to nested patch nodes, multiple links from the same node to another node were mistakenly squashed.

0.11.0 (2017-07-24)

Features and enhancements

  • Remove pulse pins in most nodes. They now react to changes of input values immediately without any help of pulse signals. This slightly shifts XOD paradigm toward more simple and casual. Check out updated tutorial to see how the change simplified programs.
  • Where pulses are still necessary they can be quickly bound with Inspector to a value “On boot” or “Continuously” without placing a new node with pulse source.
  • Boolean outputs are now allowed to be linked to pulse inputs directly. A change of value from false to true is considered to be a single pulse.
  • Patches now may include a long description with Markdown formatting and images. The description would appear on patch documentation page at http://xod.io/libs/.
  • Add patch properties to Inspector. It allows editing a patch description which once published would appear as a documentation string on http://xod.io/libs/.
  • Add project preferences dialog to set description, license, authors. They would appear on http://xod.io/libs/ as well.
  • Add “Help” item to the main menu with links to the documentation and forum.
  • Sign distributives for Windows and macOS so that they no longer bark on you when you launch the installer.
  • Implement desktop IDE auto-update. Now you dont have to download and install a new version of XOD manually. Existing version will check for updates and suggest upgrading with a single click once a new version would be available.

Bug fixes

  • Fix silent error when trying to transpile a patch with patch nodes of 2+ depth level. Now they work regardless of nesting level.
  • Fix silent error when trying to transpile a program with loops (graph cycles). Now a clear error message is shown if there a loop is found.
  • Fix Linux IDE failures on the first start. There were file permission problems which appeared as “Switch workspace directory” dialog appearing over and over again.
  • Get rid of errors and warnings on start related to React in the developer console.

0.10.1 (2017-06-28)

Bug fixes

  • Arduino: Fix upload error when the latest version of Arduino IDE with the latest platform package installed in OS.

0.10.0 (2017-06-28)

Initial release