Joeri Exelmans
|
0863e16d07
Event loop integration: make it safe to add input events from output event callback.
|
5 vuotta sitten |
Joeri Exelmans
|
3fc7e6bbab
Simplify super-round maximality implementation
|
5 vuotta sitten |
Joeri Exelmans
|
950b98fd8d
Added some documentation + 2 bugs in the form of tests
|
5 vuotta sitten |
Joeri Exelmans
|
1912ac2988
Remove an unused field, update documentation
|
5 vuotta sitten |
Joeri Exelmans
|
b973c0f4fa
Added some documentation. Moved Globals class to statechart.static package. Moved cd.cd module to cd.static.cd to achieve common structure with action_lang and statechart packages.
|
5 vuotta sitten |
Joeri Exelmans
|
40300fd648
Lots of earlier, uncommitted changes
|
5 vuotta sitten |
Joeri Exelmans
|
2c203051b8
More slotted classes, small changes.
|
5 vuotta sitten |
Joeri Exelmans
|
d7522cff55
Clearer distinction between "internal events" and "internally raised events"
|
5 vuotta sitten |
Joeri Exelmans
|
f399300f64
More efficient conversions between duration units. Improved type checks for binary and unary expressions.
|
5 vuotta sitten |
Joeri Exelmans
|
829cb29aa4
Action language: Added float literals, subtractions between durations and fixed bug in binary expression type check.
|
5 vuotta sitten |
Joeri Exelmans
|
3c95a734bd
Simpler Source-Child priority implementation
|
5 vuotta sitten |
Joeri Exelmans
|
ff638964bb
Experiment with statically generating sets of concurrent transitions.
|
5 vuotta sitten |
Joeri Exelmans
|
d6c05d3510
Implemented additional "arena" hierarchical priority semantics + corrected existing semantics (Source-Child semantics does no longer reverse "explicit" (document) order of transitions of equal priority). Add tests for hierarchical priority semantics.
|
5 vuotta sitten |
Joeri Exelmans
|
61b8f1b513
Higher re-use of transition candidate generation logic
|
5 vuotta sitten |
Joeri Exelmans
|
1db62ed6f5
Event queue: use collections.Counter class
|
5 vuotta sitten |
Joeri Exelmans
|
4deb813733
Event queue: more efficient removing of items
|
5 vuotta sitten |
Joeri Exelmans
|
b83afd8058
Event loop: Model remains responsive if we cannot keep up with wallclock time. Model simply runs at reduced speed but will catch up when it has the chance.
|
5 vuotta sitten |
Joeri Exelmans
|
2ff5a98dc8
Various bug fixes + improvements to digital watch model.
|
5 vuotta sitten |
Joeri Exelmans
|
03957f99e5
More flexible and efficient output events. Proper canceling of timer events in the controller event queue instead of ignoring canceled events in the statechart (statechart should not execute a big step for a canceled event)
|
5 vuotta sitten |
Joeri Exelmans
|
5f01be7d40
Added missing type check.
|
5 vuotta sitten |
Joeri Exelmans
|
a5bd657f8d
Call Tk's update_idletasks when scheduling another wakeup, so the (digital watch) interface remains responsive under full load.
|
5 vuotta sitten |
Joeri Exelmans
|
d98becde8f
More slotted classes
|
5 vuotta sitten |
Joeri Exelmans
|
49bc688471
More slotted classes and using Python's 'with' statement for recording timings.
|
5 vuotta sitten |
Joeri Exelmans
|
638185fbe3
Turn State and Transition classes (many attribute accesses at runtime) and Event class (frequently created at runtime) into slotted classes for performance. State and Transition are 'frozen' after tree optimization (writing an attribute would raise an error)
|
5 vuotta sitten |
Joeri Exelmans
|
9a65f34293
Entering a history state whose parent hasn't been exited before should exit the parent's default state.
|
5 vuotta sitten |
Joeri Exelmans
|
cc287b49ff
Add file mentioning tests yet to write.
|
5 vuotta sitten |
Joeri Exelmans
|
26474302b9
When not debugging, use 'int' type instead of our Bitmap type (which inherits 'int'). Almost halves transition execution time!
|
5 vuotta sitten |
Joeri Exelmans
|
def1c58b23
Remove unused code.
|
5 vuotta sitten |
Joeri Exelmans
|
858f49384f
Partially-static computation of a transition's enter state set, saving us 0.05 ms (!) when executing a complex transition.
|
5 vuotta sitten |
Joeri Exelmans
|
af62dc077c
Various small fixes
|
5 vuotta sitten |