2021-09-16 |
Edouard Tisserant |
Sequel to 95fe62bfe920 : Copy description when DnD variables from Globals in resources and configuration variable panels to POUs, now including ST/IL POUs.
|
changeset |
files
|
2021-09-13 |
Edouard Tisserant |
IDE: Add a "Tutorials and Examples" sub menu to "File" menu to directly open projects in /exemples directory. Move 'python' and 'first_steps' projecvts from /tests to /exemple
wxPython4
|
changeset |
files
|
2021-09-13 |
Edouard Tisserant |
WxPython 3.x -> 4.x : removed exception on stdout when closing at IDE frame
wxPython4
|
changeset |
files
|
2021-09-13 |
Edouard Tisserant |
Merged default
wxPython4
|
changeset |
files
|
2021-09-13 |
Edouard Tisserant |
Xenomai runtime: more verbose error message when problem with RT-Pipes.
|
changeset |
files
|
2021-09-13 |
Edouard Tisserant |
Re-introduce sertup.py from Ivan Tyagov, accidentally deleted during SVGHMI branch merge
|
changeset |
files
|
2021-09-10 |
Edouard Tisserant |
Tests/svghmi_scrollbar: Fix variables names and remove useless "OnStart OnStop OnWatchdog" to use defaults.
wxPython4
|
changeset |
files
|
2021-09-10 |
Edouard Tisserant |
IDE/windows: Avoid exception on quit caused by runtime being killed without disconnecting.
wxPython4
|
changeset |
files
|
2021-09-10 |
Edouard Tisserant |
Runtime/unix: Fix typo preventing start of Pyro server
wxPython4
|
changeset |
files
|
2021-09-09 |
Edouard Tisserant |
Fix SVGHMI exception when running on Windows, missing ENODATA in errno.
wxPython4
|
changeset |
files
|
2021-09-09 |
Edouard Tisserant |
Workaround missing "IsMaximized" attribute for AuiPaneInfo in wxPython 4.1.0
wxPython4
|
changeset |
files
|
2021-09-07 |
Edouard Tisserant |
Runtime: avoids using "pipe to self" bailout unblocking trick on windows, since select() only takes sockets.
wxPython4
|
changeset |
files
|
2021-09-05 |
Edouard Tisserant |
More WxPython 3.x->4.x API update
wxPython4
|
changeset |
files
|
2021-09-05 |
Edouard Tisserant |
Workaround RubberBand drawing problem on GTK3
wxPython4
|
changeset |
files
|
2021-09-05 |
Edouard Tisserant |
Depricated PyGridCellEditor becomes GridCellEditor
wxPython4
|
changeset |
files
|
2021-09-05 |
Edouard Tisserant |
Fix exception when canvas becomes null because of window resize, and avoid useless parameter+condition in GetLogicalDC
wxPython4
|
changeset |
files
|
2021-09-02 |
Edouard Tisserant |
Preliminary support for WxPython 4.1.0. Needs more testing. Grid selection/focus seems broken, and probably many other bugs hidden in dialogs and editors.
wxPython4
|
changeset |
files
|
2021-09-02 |
Edouard Tisserant |
Merge SVGHMI in default
|
changeset |
files
|
2021-09-02 |
Edouard Tisserant |
Close SVGHMI branch
svghmi
|
changeset |
files
|
2021-08-30 |
Edouard Tisserant |
Copy description when DnD variables from Globals in resources and configuration variable panels to POUs. Also prevent making exception in case some other DropSource wouldn't provide description.
svghmi
|
changeset |
files
|
2021-08-27 |
Edouard Tisserant |
SVGHMI: Allow toggling fulscreen mode my right click or long press.
svghmi
|
changeset |
files
|
2021-08-24 |
Edouard Tisserant |
Xenomai runtime: fixed bugs introduced in e3db472b0dfb (RT->nRT wakeup) + other small typos
svghmi
|
changeset |
files
|
2021-08-21 |
Edouard Tisserant |
IDE: systematically log command when launching process (was not showing in case of LOCAL:// runtime being launched)
svghmi
|
changeset |
files
|
2021-08-21 |
Edouard Tisserant |
Win32 runtime: fix build with gcc 9.3.0 from msys2
svghmi
|
changeset |
files
|
2021-08-17 |
Edouard Tisserant |
Runtime+SVGHMI: Add generic wakeup of threads from PLC thread to windows implementation of plc_main.c. Also added nRT_reschedule to abstract sched_yield.
svghmi
|
changeset |
files
|
2021-08-16 |
Edouard Tisserant |
Runtime+SVGHMI: Added a generic way to wakeup non-real-time threads from real-time PLC thread. Replace SVGHMI specific calls in Linux and Xenomai implementations of plc_main.c. Fixed xenomai build, xeno-config making problems with --no-auto-init argument.
svghmi
|
changeset |
files
|
2021-07-29 |
Edouard Tisserant |
Runtime: Better handling of nested strings in spawn_subprocess commandline parsing
svghmi
|
changeset |
files
|
2021-07-29 |
Edouard Tisserant |
IDE: Fixed use of RingBuffers in variable traces graphs when switching to 2D trend graph.
svghmi
|
changeset |
files
|
2021-07-26 |
Edouard Tisserant |
IDE: On windows, align better "reset to default" button in CTN config panel.
svghmi
|
changeset |
files
|
2021-07-26 |
Edouard Tisserant |
SVGHMI: Fix detection of library without instance and instances without library. Added one more widget in the widget library. Renamed "view_name" in "name" in commands substitutions.
svghmi
|
changeset |
files
|
2021-07-23 |
Edouard Tisserant |
SVGHMI: Fix missing "OnWatchdog" in XSD, accidentally deleted in earlier commit.
svghmi
|
changeset |
files
|
2021-07-23 |
Edouard Tisserant |
IDE: Add a "undo" button for each field in CTN config panel to reset to default value.
svghmi
|
changeset |
files
|
2021-07-22 |
Edouard Tisserant |
SVGHMI: detect watchdog abuse (more than one HMI instance with watchdog) at build time
svghmi
|
changeset |
files
|
2021-07-22 |
Edouard Tisserant |
SVGHMI: code refactoring allowing more in depth customization for substitution on start/stop/restart commands, and default SVG choice.
svghmi
|
changeset |
files
|
2021-07-20 |
Edouard Tisserant |
Runtime: more robust loading of Wamp config, specially in case config file was corrupted.
svghmi
|
changeset |
files
|
2021-07-20 |
Edouard Tisserant |
SVGHMI: add arguments to pass to ressource factory when attaching rerssource to svghmi root
svghmi
|
changeset |
files
|
2021-07-20 |
Edouard Tisserant |
SVGHMI: fix typo in slider widget
svghmi
|
changeset |
files
|
2021-07-15 |
Edouard Tisserant |
Runtime: Handle errors in user's python code more gracefully : make exceptions and allow repair.
svghmi
|
changeset |
files
|
2021-07-15 |
Edouard Tisserant |
SVGHMI: Fixed halting problem when there is no session opened.
svghmi
|
changeset |
files
|
2021-07-13 |
Edouard Tisserant |
SVGHMI: Widget lib: small doc fix.
svghmi
|
changeset |
files
|
2021-07-13 |
Edouard Tisserant |
SVGHMI: DnD UI: Use widget's short description, initially forgoten.
svghmi
|
changeset |
files
|
2021-07-13 |
Edouard Tisserant |
SVGHMI: Fixed typo on session manager unregister, leading to wrong count of sessions and then exceptions when creating more session than allowed in protocol options. Also added more safety check in protocol in case session would be missing.
svghmi
|
changeset |
files
|
2021-07-13 |
Edouard Tisserant |
SVGHMI: set some boundaries for watchdog timings and max connection count.
svghmi
|
changeset |
files
|
2021-07-13 |
Edouard Tisserant |
SVGHMI: update generated xslt
svghmi
|
changeset |
files
|
2021-07-12 |
Edouard Tisserant |
SVGHMI: fixed bug introduced in 7bdb766c2a4d, typo breaking meter widget
svghmi
|
changeset |
files
|
2021-07-12 |
Edouard Tisserant |
SVGHMI: default library path, default page when starting a SVGHMI project, error page when no SVG present
svghmi
|
changeset |
files
|
2021-07-12 |
Edouard Tisserant |
SVGHMI: finished multiclient support. Still needs more testing.
svghmi
|
changeset |
files
|
2021-07-12 |
Edouard Tisserant |
SVGHMI: Fixed iterator in session manager. Getting closer to working multiclient, to be continued.
svghmi
|
changeset |
files
|
2021-07-09 |
Edouard Tisserant |
SVGHMI: Fixing last commit's multiclient implementation, in case of watchdog. To be continued, since multiclient still fail...
svghmi
|
changeset |
files
|
2021-07-07 |
Edouard Tisserant |
SVGHMI: Implemented multiserver+multiclient, but only tested with single client and single server for now. To be continued...
svghmi
|
changeset |
files
|
2021-07-05 |
Edouard Tisserant |
SVGHMI: More configuration parameters : network interface, TCP port, URL path and watchdog enabling.
svghmi
|
changeset |
files
|
2021-07-01 |
Edouard Tisserant |
SVGHMI: Added a way to distinguish watchdog-enabled HMI from multi-client HMI in URL.
svghmi
|
changeset |
files
|
2021-06-30 |
Edouard Tisserant |
SVGHMI: Prepare accepting multiple clients on multiple HMI: Use POULibrary new capability to add variables to PLC Configuration. Now heartbeat and HMI tree root are added by the library part of SVGHMI, and not by each instance.
svghmi
|
changeset |
files
|
2021-06-30 |
Edouard Tisserant |
IDE: Allow POU Libraries to inject PLC Configurations globals during build.
svghmi
|
changeset |
files
|
2021-06-18 |
Edouard Tisserant |
SVGHMI: DnD UI: Add hint instructing user to Drag HMI tree items to text field.
svghmi
|
changeset |
files
|
2021-06-18 |
Edouard Tisserant |
SVGHMI: update generated XSLT files
svghmi
|
changeset |
files
|
2021-06-18 |
Edouard Tisserant |
SVGHMI: DnD UI: Fix SVG gen that was dropping widget name and making XSLTExceptions plus some UX enhancements.
svghmi
|
changeset |
files
|
2021-06-18 |
Edouard Tisserant |
removed useless import
svghmi
|
changeset |
files
|
2021-06-18 |
Edouard Tisserant |
SVGHMI: DnD UI: SVG for DnD now generated again based on paths and args entries filled by user.
svghmi
|
changeset |
files
|
2021-06-16 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-06-16 |
Edouard Tisserant |
SVGHMI: UI: added prefill of arguments according to values in widget instance in library. Also added library's widget instance description to description field.
svghmi
|
changeset |
files
|
2021-06-16 |
Edouard Tisserant |
IDE: Fixed variable traces graphs RingBuffers. Removed an apparently useless wxCallAfter in trend graph that was leading to pydeadobject exception on wxGTK when double-clicking.
svghmi
|
changeset |
files
|
2021-06-14 |
Edouard Tisserant |
IDE: Cleaned up some useless tests in variable trace data handling code, changed from bare numpy arrays to RingBuffers inorder to avoid RAM outage and crash after long tracing session.
svghmi
|
changeset |
files
|
2021-06-11 |
Edouard Tisserant |
IDE: Log: Prevent crash when display progress on empty log.
svghmi
|
changeset |
files
|
2021-06-10 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-06-10 |
Edouard Tisserant |
Copy description when DnD variables from CodeFile CTN to POUs
svghmi
|
changeset |
files
|
2021-06-09 |
Edouard Tisserant |
SVGHMI: fix exception when stored widget library path does not exist anymore
svghmi
|
changeset |
files
|
2021-06-10 |
Edouard Tisserant |
SVGHMI: added checking of widget literal argument in DnD UI according to type given in widget description
svghmi
|
changeset |
files
|
2021-06-09 |
Edouard Tisserant |
SVGHMI: UI Updates validity indicator when DnD HMI tree node in text field, according to node type
svghmi
|
changeset |
files
|
2021-05-31 |
Edouard Tisserant |
SVGHMI: Fixed typo in last commit
svghmi
|
changeset |
files
|
2021-05-31 |
Edouard Tisserant |
merged
svghmi
|
changeset |
files
|
2021-05-25 |
Edouard Tisserant |
Runtime: Fix exception "Worker is disabled" when connecting while PLC runtime is starting.
svghmi
|
changeset |
files
|
2021-05-31 |
Edouard Tisserant |
SVGHMI: UI now have multiple HMI tree variables DnD to widget paths. Still no type checking, WIP.
svghmi
|
changeset |
files
|
2021-05-24 |
Edouard Tisserant |
Finished fixing Wx IDs abuse. There was still some wasted IDs because of wx.NewId calls in many places where it wasn't needed, and those IDs were not re-used. As a consequence Beremiz was making exception crashing after a few hours of intensive use.
svghmi
|
changeset |
files
|
2021-05-20 |
Edouard Tisserant |
SVGHMI: DnD UI : changed layout again, moved description in a vertical splitter, added scrollbar for preview and signature, fixed flickering description
svghmi
|
changeset |
files
|
2021-05-19 |
Edouard Tisserant |
SVGHMI: UI: Swap widget selection tree and preview panel
svghmi
|
changeset |
files
|
2021-05-19 |
Edouard Tisserant |
SVGHMI: WIP: Widget Library UI: Reworking widget selection and binding.
svghmi
|
changeset |
files
|
2021-05-18 |
Edouard Tisserant |
Merged SVGHMI branches
svghmi
|
changeset |
files
|
2021-05-18 |
Edouard Tisserant |
SVGHMI: WIP on Widget DnD UI : Added documentation to widgets, that is injected in widget parse tree during widget analysis
svghmi
|
changeset |
files
|
2021-05-17 |
Edouard Tisserant |
SVGHMI: Fix behaviour of Jump widget, that wasn't displaying "disabled" state in some cases.
svghmi
|
changeset |
files
|
2021-05-12 |
Edouard Tisserant |
merged default in svghmi
svghmi
|
changeset |
files
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: updating generated XSLT
svghmi
|
changeset |
files
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: Intermediate state while updating UI, preparing for displaying widget description and multiple variables selections
svghmi
|
changeset |
files
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: Extend widget labels parsing to allow expressing widget's accepted types in labels
svghmi
|
changeset |
files
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: Add analyse_widget stylesheet and python code to execute it, in order to obtain widget signature independently of DnD SVG file generation.
svghmi
|
changeset |
files
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: drop useless code from gen_dnd_widget.yslt2, renamed python callback to pass messages
svghmi
|
changeset |
files
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: Added widget_desc to declare widget signature and description
svghmi
|
changeset |
files
|
2021-05-02 |
Edouard Tisserant |
SVGHMI: In order to allow widget signature and description to coexist in same ysl2 file, introduced widget_class, widget_defs to declare widget codegen templates and gen_index_xhtml to mark templates that are only usefull in gen_index_xhtml.xslt.
svghmi
|
changeset |
files
|
2021-04-15 |
Edouard Tisserant |
SVGHMI: keep track of order of selection in HMI tree, so that variable can be passed in same order to DnD widget
svghmi
|
changeset |
files
|
2021-04-14 |
Edouard Tisserant |
SVGHMI: fixed typo
svghmi
|
changeset |
files
|
2021-04-13 |
Edouard Tisserant |
SVGHMI: still quite naive path substitution whn prepearing widget for DnD, but now uses label generation.
svghmi
|
changeset |
files
|
2021-04-13 |
Edouard Tisserant |
SVGHMI: Added text box for tranformation feedback aside widget mignature
svghmi
|
changeset |
files
|
2021-04-09 |
Edouard Tisserant |
Merged default in SVGHMI
svghmi
|
changeset |
files
|
2021-04-06 |
Edouard Tisserant |
SVGHMI: prototype of widget interface description using SVG's desc field, added to SVGHMI's internal svg widget library.
svghmi
|
changeset |
files
|
2021-04-06 |
Edouard Tisserant |
SVGHMI: Naive implementation of widget path substitution in widget DnD: considers widget always have only one variable, and no type checking.
svghmi
|
changeset |
files
|
2021-04-06 |
Edouard Tisserant |
SVGHMI: Widget transform before DnD now have HMI path as a parameter
svghmi
|
changeset |
files
|
2021-04-06 |
Edouard Tisserant |
SVGHMI: Widget transform before DnD now should have HMI path as a parameter, but this path isn't computed for some reason... WIP.
svghmi
|
changeset |
files
|
2021-04-05 |
Edouard Tisserant |
SVGHMI: Widget DnD to Inkscape : Added source SVG widget label parsing and pass selecte HMI subtree to XSLT tranform, so that SVG containing multiple widgets can later be matched against hmi tree fragments, in order to DnD complex groups of widgets.
svghmi
|
changeset |
files
|
2021-04-02 |
Edouard Tisserant |
SVGHMI: Widget Library Picker now transforms SVG widget before allowing DnD. Transform is just identity forn now, but label parsing have already been included. To be continued.
svghmi
|
changeset |
files
|
2021-04-01 |
Edouard Tisserant |
SVGHMI: Ensure that when widgets are nested in HMI:Switch widget, their sub-elements are taken as switch's choice in case their label match the syntax.
svghmi
|
changeset |
files
|
2021-04-01 |
Edouard Tisserant |
SVGHMI: Code cleanup for ToggleButton.
svghmi
|
changeset |
files
|
2021-04-01 |
Edouard Tisserant |
SVGHMI: Fixed last i18n changes meant to allow checking changes in PO files. Was making build exception when no PO files available.
svghmi
|
changeset |
files
|
2021-04-01 |
Edouard Tisserant |
IDE: Add a shortcut to project "Clean" action : F9
svghmi
|
changeset |
files
|
2021-03-31 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-03-31 |
Edouard Tisserant |
SVGHMI: fixed embedded fonts family name not matching when using windows version of inkscape
svghmi
|
changeset |
files
|
2021-03-31 |
Edouard Tisserant |
SVGHMI: force svghmi build if any change in fonts or translation (.PO) files
svghmi
|
changeset |
files
|
2021-03-31 |
Edouard Tisserant |
SVGHMI: Add file type drag'n'drop to widget picker, for now drops widget's original SVG.
svghmi
|
changeset |
files
|
2021-03-30 |
Edouard Tisserant |
SVGHMI: silence debug output in generated xhtml.
svghmi
|
changeset |
files
|
2021-03-30 |
Edouard Tisserant |
SVGHMI: Implemented "Add Font" and "Remove Font", add font embedding in CSS at build time, tested ok with some OTF for now.
svghmi
|
changeset |
files
|
2021-03-30 |
Edouard Tisserant |
SVGHMI: Add font management buttons and icons, doing nothing for now
svghmi
|
changeset |
files
|
2021-03-29 |
Edouard Tisserant |
Fixed misuse of GridCellEditor in DurationCellEditor, potentially leading to crash on windows.
svghmi
|
changeset |
files
|
2021-03-29 |
Edouard Tisserant |
SVGHMI: Fix update of HMI tree in UI when loading from XML at start. Removed some dead code left after split of svghmi.py into svghmi.py+ui.py.
svghmi
|
changeset |
files
|
2021-03-29 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-03-29 |
Edouard Tisserant |
SVGHMI: added "page_node" variable that reflects the HMI tree path of current relative page
svghmi
|
changeset |
files
|
2021-03-26 |
Edouard Tisserant |
SVGHMI: Add list of HMI tree path in a JS array, so that we can use it for multiple purpose :
svghmi
|
changeset |
files
|
2021-03-26 |
Edouard Tisserant |
SVGHMI: Fixed wierd CDATA mess in output xhtml, because of backticks copy pasted in some yml ||text block||
svghmi
|
changeset |
files
|
2021-03-29 |
Edouard Tisserant |
SVGHMI: Added fonts.py with functions to convert ttf, otf and woff fonts into data_uri based CSS font-face
svghmi
|
changeset |
files
|
2021-03-25 |
Edouard Tisserant |
merge
svghmi
|
changeset |
files
|
2021-03-25 |
Edouard Tisserant |
SVGHMI: split svghmi.py into svghmi.py (Config Tree Node + code gen) and ui.py (UI for HMI tree and Widget picking)
svghmi
|
changeset |
files
|
2021-03-25 |
Edouard Tisserant |
SVGHMI: stop serving HMI open wide on all interfaces. That was a security hole. It is user/developer responsibity to forward connection with for exemple stunnel and make it securely accessible from LAN.
svghmi
|
changeset |
files
|