Repository navigation
Releases
v0.1.0-beta.4
Fourth beta, two weeks after beta.3. It is the code W718's comparison measured: five complete timed passes against XPPAUT 8.0, AUTO-07p and Python, on binary 53b8305, with one later fix to the core (W937, which lets the page's settings through with no model open). The largest changes:
-
Native code in two tiers: TinyCC compiles a model at once and MIR's code takes over for long runs; start-up is faster, array equations compile to one loop, and a model TinyCC refuses no longer hangs.
-
autoX: one worker pool kept across runs, collocation threads from a smaller mesh, faster short runs, a Run dialog for a person, every label type with its own mark, Follow all branches without repeats, and a torus curve's branch point and resonances found at any Newton tolerance.
-
The page: Open model, save and load open the file picker at once; "Save first?" follows one rule; the start screen follows the theme; notices cover no control; a run's end says what it found and what can be followed.
-
Security: the browser page's token comes from the system's random source, or xppautX does not start.
-
The page's settings are accepted with no model open: the start screen's theme toggle and the panels' settings (
settings.configureandsettings.resetof the user's settings.json) were refused with "No model is open", and the errors covered the page (W937 The page's settings are accepted with no model open, #1020); a model folder's setting (scope folder) still needs a model. -
autoX's collocation uses its threads from a smaller mesh: workers start once dimension x dimension x mesh intervals x collocation points reaches 256 (was 1024), since W912's pool, kept across runs, made threads pay at every size measured (lecar's cycles 1.12x faster on 2 threads at 512); the numbers are the same at any thread count.
-
A model whose native code TinyCC refuses no longer hangs: the compile waited on its own lock while it threw away the refused code, and the run waited on the compile (W924 Windows unit tests hang in test_exact_jacobian since W895, #1006); the run now goes on with MIR's code or the interpreter, TinyCC's error logged once. On Windows TinyCC refused every model with a function whose stack frame is a page or more (mu26, motoneuron6c: "unresolved reference to '__chkstk'", its stack-probe routine, which a compile without TinyCC's runtime library lacked), so those models ran on the interpreter until MIR's code was built; TinyCC is now given the routine and compiles them.
-
Exporting the animation as frames or a GIF from the page writes its pictures: the page drew the animation's frames only on screen and answered the core's request for a frame's picture with a cancel, so the export ended with "The client gave no picture of frame 1" (W923 Two web2check checks are FLAKY: updates with the switch off, and clicking File, #1005); the page now draws the frame it holds off screen, at the size of a kinescope frame.
-
The browser page's token comes from the system's random source or xppautX does not start, and a request longer than 1023 bytes is refused with 414 instead of cut (W904 The local server's token comes from the system's random source or the server does not start; request targets too long are refused, not cut, #986): where /dev/urandom could not be read the token was made from a seeded
rand(), which a local user could guess; now the failure is shown at start and no port is opened. A request target of exactly 1023 bytes is served (it was refused), and one longer is refused with 414 whole, never cut. -
Stop reaches the diagram of a stopped autoX run sooner, and a page that reads slowly holds up no command (W903 ab.odex's live-jobs check races the diagram limit, and Stop takes 20 s to the join, #985): with a diagram of 400 000 live points the page drew the join's points as they came, 120 times, a diagram's draw taking up to 0.8 s each, and read nothing meanwhile, so Stop to the join took 7 to 11 s here (20 s on a slower machine); the join's points now wait for the run's end and are drawn once, and it takes 3 to 4 s. The program's event streams are written under a lock of their own, so a command (a Stop) never waits for a page that reads slowly.
-
autoX's collocation threads and a sweep's runs go on one worker pool that the session keeps from one run to the next (W912 One worker pool for autoX and the sweeps, kept across runs, #994): each autoX run and each sweep started its threads and stopped them at its end, so every run of a session paid again for the thread starts; the pool is started by the first run that needs threads, resized only when the thread count asked for changes, and joined when the session ends. ode_ma23's second cycles run at 4 threads starts none of its 3 threads (3
clone3calls in its window before, none now); values are unchanged at every thread count. -
A run on a machine with a spare processor starts on the interpreter while TinyCC compiles its code on a thread of its own: the first row of a short model comes sooner (W895 Compile TinyCC's code on a spare core while the interpreter starts the run, #977): izh_2003_rs's first row 2.2-2.4 ms to 1.8-1.9 ms, kuramot100's 4.3-4.6 ms to 2.8-3.3 ms on 2 to 8 cores; values are unchanged.
-
A torus curve's branch point and 1:2 or 1:1 resonance are found at any Newton tolerance (W898 forced_pp_ns's converged exact run lost the BP and R2 on ns_up since W617, #980): at tolerances like 1e-10 the corrector cannot converge close to theta = pi, where the curve's equations are singular, and the point was lost; the search now ends at the last point it converged on when that is within the square root of the special-point tolerance of the zero, where the curve's parameters (stationary in theta there) are within the tolerance of it, and a branch point and a resonance that close are one point.
-
A file read in pieces (autoX's run files kept at a run's end) stops at the first short piece instead of opening the file once more to find its end (W893 forced_pp_pd's steady rows: the first autoX run's extra syscalls and page faults, #975); docs/protocol.md's
changednow says what W884 made it. -
A short autoX run is faster: forced_pp_pd's steady run (100 steps, finite-difference Jacobian, one CPU) takes 1.53 ms instead of 1.78 ms, W617's being 1.23 ms (W892 forced_pp_pd's steady rows are still 1.5-1.8x W617's after W865, #974): the unsaved-changes flag no longer writes the whole session state at the first state event of a running command or after a run that stored rows or points, the session's random generator and every string the state text quotes are written without a character-by-character copy, a folder walk stats one level below its anchor instead of every level above it, a scratch check of a path that names no scratch folder touches no file, and a formatted line is appended in one piece.
-
After Stop the page stops drawing the live points of the stopped autoX run it has not drawn yet: the join's diagram replaces them, so the window is ready sooner (W885 After Stop the page skips the live points the join replaces, #967)
-
A session saved or opened with nothing changed since is not asked to be saved again when another model opens, is reloaded or quit (W880 A session just saved is not asked to be saved again, #962); a change, or an autoX run, after the save is still asked about
-
"Save first?" and the unsaved-changes dot follow one rule: the session file the next save writes differs from the last one saved or opened, so a closed autoX view, a graph's labels or any other change the file keeps counts, not only the values (W884, #966); before, leaving after such a change discarded it without asking.
-
The start screen follows the theme and has the title bar's theme button (W875 The start screen follows the dark theme, #957): it drew light whatever the page's theme was (the dark theme came only from the first render), now the theme in force, the page's own choice included, with the same toggle as the title bar.
-
A notice (a file saved or downloaded) covers no control at any width (W881 The download toast does not cover the Values panel, #963): it floated over the lower part of the Values panel and the plot's axis names; it now has a strip of its own between the work area and the status bar.
-
On the dark theme a color too dark to read is drawn lighter (W874 The page lightens a color too dark for the dark theme, #956): unstable periodic orbits'
#0000ffis a lighter blue there, the core's colors and the pickers unchanged -
Every open, save and load opens the file picker at once (W873 Every open, save and load opens the file picker at once, #955): a File-menu command that took more than its file showed a form first; now its extra choices come from the file's extension (a graph, diagram or array plot export's pdf, svg or gif; Import values file's
.paror.ic; an animation's.gifor.ppm), from the active window, the value in force or the menu item, and a command left without its format takes it fro...
v0.1.0-beta.3
Third beta, six weeks of work since beta.2. The largest changes:
- autoX, xppautX's own continuation (the name replaces AUTO everywhere): runs of several branches at once, on threads, giving the same diagram at every thread count; scripted runs without an interface, like AUTO-07p's CLUI; many labels AUTO-07p misses or invents now settled by independent checks; less memory and faster periodic runs.
- A new page layout: the panels as one dock and the views as tabs, split views, pop-out windows, one menu bar grouped by task, one form and dialog system, a redesigned Table view, neutral light and dark themes, and a layout that works on a phone.
- Settings and options: the user's settings in one
settings.json, edited in File > Settings…, with a model folder's own.xppautx/settings.jsonon top; a model's values are its options, each with a key and a place in the panels. - Commands, keys and pins: every action is a named command; a key binds one command, and a pin can hold several steps.
- Exports: the desktop window asks where with the system's save dialog; File > Export > Several… writes many files under one name; in a browser every export is a download. A model can be exported as a Python program (plain, numpy or numba).
- Speed: a model's code is compiled by MIR (no compile wait for a short run), and models start faster and use less memory.
- Updates: xppautX checks for a newer release when it opens, downloads it and installs it the way it was installed.
Updating from beta.2: beta.2 tells you of beta.3 but cannot install it: download it from this page by hand. From beta.3 on, Install and restart does it for you. Files xppautX itself wrote under beta.2 (a .odex, a session, a recording, the preferences) may be refused, with the file and line named: xppautX reads only its current formats. Convert a model again from its .ode (xppautX --convert model.ode).
Every change is listed in CHANGELOG.md.
GPL v2, as upstream XPPAUT (Bard Ermentrout). The source of these binaries is the source archive of this tag, on this release page.
v0.1.0-beta.2
Second beta: a start screen with recent models and the bundled examples, text on a plot as an object, one axis dialog, panels you can hide and resize, and fixes.
Updating from beta.1: beta.1's Check for updates cannot see this release (it asked GitHub only for the latest stable release, and every release so far is a pre-release), so download beta.2 from this page by hand. From beta.2 on, a beta's Check for updates tells you of newer betas.
- Fixed: Check for updates in a beta failed with HTTP 404, since GitHub's "latest release" never names a pre-release and every release is one. A pre-release build now reads the newest releases including pre-releases and offers the highest version by SemVer precedence (0.1.0-beta.2 over beta.1, the release 0.1.0 over any of its betas); a release build is never offered a beta. beta.1 itself still has the old check, so it cannot learn of beta.2; from beta.2 on the check works (W234, #290).
- Opening the browser starts no shell on Linux and macOS: the page address (and an About link) is passed to
xdg-open/openas one argument withposix_spawnp, where a'in it could break out of the shell quoting; under WSL it opens withrundll32.exe url.dll,FileProtocolHandlerinstead ofcmd.exe /c start, which parsed&,^and%(W231, #287). - The start screen lists the bundled examples. The
.odexmodels in theexamples/folder beside the program (in the.app, Contents/Resources/examples) are listed under Examples; a click opens a copy of the example inexamples/of the settings folder (an installed folder is read-only, and a model writes its files beside itself), asking before it replaces a copy you changed. A program with no examples folder says so on the start screen (W233, #289). - Starting without a file shows the Open model dialog, and Cancel leaves a start screen instead of an error. The start screen has the Open model button and the models you opened lately (kept in
recent.txtbesidekeymap.json; a model whose file is gone is listed as missing). The dialog is now one: the start asks the same File > Open model dialog, which takes.ode,.odex,.snapxand.recx(at the start it took only.ode*), and the desktop window's native dialog offers the same types from one list (W232, #288). - The desktop window opens maximized (title bar, menu bar and taskbar kept), not fullscreen; un-maximizing gives the former centred size. Size and position are not remembered (W230, #284).
- One axis dialog, in columns. Clicking an axis name on a plot opens one dialog with a column per axis (X, Y, and Z on a 3D plot), each with its variable, min, max and label; on a 3D plot it also holds the view window and the 3D parameters (perspective, ZPlane, ZView, Theta, Phi, the rotation movie). It applies all or nothing: a bad variable, a number that is not one, or a Min not below its Max is an error naming the field, and nothing is changed (W225, #279).
- The Tools group is only the Calculator (W229, #283). Named sets and Copy set line are beside the parameters in the Values panel, Transpose and Lookup tables in the Data panel, Model source in the Model panel, Keyboard shortcuts in Help, Record and Play recording in the title bar's Tools menu; their keys are unchanged. Removed: File > Help (the title bar's Help and F1 remain), Tutorial (
@ tutorialis accepted and ignored), Preferences (.xpprcis still read at start;XPPEDITORis no longer used) and Clone model. A keymap that names a removed command is an error at its line. - Named parameter sets: a model with none says so, and a model with more than 26 can pick any of them (the first 26 have a letter, the rest are picked in the list); a model with exactly 500 sets no longer gets a menu that silently does nothing.
examples/ode/lecar.ode's setpphad a dot for a comma (xlo=-.6.xhi=1.2), which XPPAUT also reads asxloalone; fixed (docs/xppaut-findings.md, 38). - The Plot group lists only the plot commands the plot does not offer itself (W228, #282). No longer in the sidebar, search or the toolbar's pins (their keys still work): Zoom and view (the plot's Fit, Reset view and Use this view), and Plot axes and 3D view (a click on an axis name opens the axis dialog, with its 3D column). A keymap that pins one of them is an error at its line. Kept in the group because nothing else does them: Plot windows and Captured frames (items with no other control: Autoplay, Save; Kill all, Bottom, Auto, Manual, SimPlot), Curves and export (Freeze, its keys and colours included: the Freeze checkbox only keeps replaced runs in the page), Nullclines and Direction fields (the legend only shows or hides what they compute), Labels and annotations (arrows, pointers, markers and Delete all have no dialog yet), Phase space, Variable vs time, Redraw, Clear and Color by value.
- Text on a plot is an object, like a trace. Adding text (Labels and annotations > Text, then a click on the plot) opens one dialog for the text, its size, style (normal, bold, italic, bold italic) and colour; double-click a text on the plot to open it again and change any of it, move it, or delete it. Texts are saved in sessions with their style and colour; a session saved before this one that holds texts cannot be opened (W227, #281).
- Fixed: the Xlabel/Ylabel (and Zlabel in 3D) of the Viewaxes form now show on the plot at once, and clearing one goes back to the column name; a 3D plot titles its axes.
- The Commands and Values panels can be hidden and shown with buttons in the title bar and resized by dragging their inner edge or with the arrow keys; the layout is remembered (W226, #280).
- About, with links that work. Help > About (the page and the window's own box) now shows the author, links to the author's email, GitHub and LinkedIn, the source and the issue tracker, and credits XPPAUT and G. Bard Ermentrout. Every link opens in your default browser, in the desktop window as well (#278).
GPL v2, as upstream XPPAUT (Bard Ermentrout). The source of these binaries is the source archive of this tag, on this release page.
v0.1.0-beta.1
First public beta of xppautX, a modernised XPPAUT 8.0: the same equations, solvers and AUTO, with a new interface.
- Your models work. XPPAUT
.odefiles are converted once to.odexwhen opened; results match XPPAUT's, and are the same bit for bit on Windows, Linux and macOS. - A new interface in the desktop window or a browser: a command list with search (Ctrl+K), keyboard shortcuts you can change (Help > Change shortcuts), a toolbar you can pin commands to, and plots, values, tables and AUTO diagrams as live panels.
- Runs: Run from initial, Run from last state, one Continue (Alt+Enter), Run to steady state (Alt+S), Store every N steps, and undo of value edits (Ctrl+Z).
- Sessions: save everything with Ctrl+S (a dot in the title shows unsaved changes), Save as, Save a copy, Reload keeping your values; recordings (
.recx) replay a whole analysis. - Headless and scripting:
--silentruns and a JSON protocol on stdin/stdout or HTTP. - Settings have descriptive names (
total_time,transient_time,storage_rows, ...); XPPAUT's old words are accepted only when converting a.odeor on the command line.
Downloads: Windows installer (.msi, installs for all users and opens our file types) or portable .zip (no admin rights); Linux .deb or .tar.gz; macOS .dmg; SHA256SUMS.txt to check them. The source is the tag's source archive.
Known limits of this beta: the macOS builds are tested by the automatic checks only, not by hand; the installers are not signed, so Windows SmartScreen or macOS Gatekeeper may warn; the one-letter XPPAUT key sequences are an optional preset (off by default).
The detailed change log is CHANGELOG.md in the repository; how xppautX differs from XPPAUT, area by area, is docs/xppautx-vs-xppaut.md.
GPL v2, as upstream XPPAUT (Bard Ermentrout). The source of these binaries is the source archive of this tag, on this release page.