Commit Graph

53 Commits (c33f37e4cda6f40288659dac47d44e8c3d28cea2)

Author SHA1 Message Date
noah metz df9707309f Added time to event_ext.UpdateState, added event start time to gql 2023-11-13 17:29:53 -07:00
noah metz c5f95d431d Changed event strings to EventCommand or EventControl 2023-11-12 13:36:11 -07:00
noah metz 59424cecc1 Added some logging and fixes 2023-11-11 14:52:08 -07:00
noah metz c54101f4a3 Don't have time to explain :/ 2023-11-11 13:53:41 -07:00
noah metz dee7b917f7 Simplified TestEventExt with ValidateTransition 2023-11-05 23:32:13 -07:00
noah metz 8d1e273331 Reworked changes to include map[ExtType][]string 2023-11-05 21:18:37 -07:00
noah metz c773ea2b14 Changed event to require parent 2023-11-04 18:56:35 -06:00
noah metz f5a08bbc48 Moved WaitInfo to node.go, added *Node methods for handling WaitMap's 2023-11-03 21:41:06 -06:00
noah metz 8e3510129c Added 'ready' state between init and start for events, and added String for more signals 2023-11-02 20:58:38 -06:00
noah metz 3a6e562390 Added more signal string representations, and fixed event/gql bugs 2023-11-01 19:32:36 -06:00
noah metz a061d6850c Added TestEventExt and TestEvent, added return of queued signals to WaitForResponse 2023-10-30 19:40:30 -06:00
noah metz 39d3288094 Changed to linked list for serialization 2023-10-30 01:25:18 -06:00
noah metz 84aee24a21 Reworked serialization to split type/value serilization/deserialization 2023-10-29 18:26:14 -06:00
noah metz 2de5276ecc Rework of graph.go and resource.go for state 2023-06-23 10:10:25 -06:00
noah metz 5cd741b42e intermediary 2023-06-22 15:50:42 -06:00
noah metz 753a5ed358 Changed resources needed by an event from a slice to a map 2023-06-21 12:26:22 -06:00
noah metz adcd079156 Added first pass of hierarchical locking 2023-06-20 22:36:18 -06:00
noah metz 5be9b9ac07 Removed StartRootEvent, now run LockResource(root_event) then RunEvent(root_event) 2023-06-20 20:48:48 -06:00
noah metz 41f28a2017 Made logging configurable 2023-06-20 16:35:16 -06:00
noah metz b630c015df update 2023-06-20 16:22:22 -06:00
noah metz 9980be7c86 Removed EventMangar 2023-06-20 15:48:17 -06:00
noah metz 707501d131 Added ClearTimeout to Event interface 2023-06-19 00:33:42 -06:00
noah metz a1a1d5133c Exported BaseEvent.Actions and BaseEvent.Handlers 2023-06-18 19:20:24 -06:00
noah metz 30b539ad74 Renamed update to PropagateUpdate 2023-06-18 19:14:07 -06:00
noah metz c70e4a4f32 Un-exported event and resource fields 2023-06-18 19:08:33 -06:00
noah metz ca038062a7 Exported event and resource fields 2023-06-18 19:04:21 -06:00
noah metz d2e3163806 Fixed package name 2023-06-18 18:33:17 -06:00
noah metz 8b7eb57673 Removed vex files and changed package name 2023-06-18 18:26:13 -06:00
noah metz 66e6c4263c Refactored GraphSignal to remove pointers and updated update path 2023-06-18 18:11:59 -06:00
noah metz bd9edb19ee Added subscription to arena 2023-06-16 18:27:03 -06:00
noah metz 75d0eb0396 Created GQL resource which will act as a graphql server for the attached node and all nodes under it 2023-06-07 00:36:40 -06:00
noah metz 2d31daa916 Made cancel and abort handlers instead of abort being a special signal type 2023-06-06 23:04:49 -06:00
noah metz 7e8045ce39 Renamd Resource.Connect to Resource.Init 2023-06-06 16:53:33 -06:00
noah metz cdc682f844 mend 2023-06-04 14:15:26 -06:00
noah metz a34df43d35 Updated main.go to have 2 divisions in an event, and fixed event.go to check child.Parent() instead of event.Parent() 2023-06-04 14:15:01 -06:00
noah metz 00abdc8b1c Moved logging to a global object that's initialized on first log call 2023-06-04 13:18:10 -06:00
noah metz 0f92de1619 Moved wait action to a closure generator instead of using a non-pointer closure that didn't pickup any event changes 2023-06-03 23:49:25 -06:00
noah metz debeed7091 Updated fake client so that it runs the fake event in main.go 2023-06-03 21:27:20 -06:00
noah metz 08eb543af0 Fixed tests 2023-06-03 18:56:14 -06:00
noah metz 9342169281 Removed extra handlers from event.go and renamed arena_connected to resource_connected 2023-06-03 10:59:42 -06:00
noah metz 301dbb6b94 Added Trace to signal so that nodes can discard based on direction 2023-06-03 02:45:16 -06:00
noah metz f6a36f9028 Added call to resource update in arena update 2023-06-03 01:54:14 -06:00
noah metz f838f53dda Basic vex Match 2023-06-03 01:38:35 -06:00
noah metz 100a5f8f2e Moved class methods to package methods. Updated graph once again 2023-06-02 17:31:29 -06:00
noah metz 55d977e9b8 Updated listener to have explicit unregister. Cleanup of initializers. More stuff I don't remember. 2023-06-01 22:42:47 -06:00
noah metz d7b13de82f Updated tests and fixed updates before/after locking/unlocking 2023-06-01 13:48:38 -06:00
noah metz 990b93757f Added virtual arena that responds to signals on a channel, cleaned up log messages, and fixed update() hierarchy 2023-06-01 13:11:32 -06:00
noah metz 26a2a63d83 Removed graphql dependency 2023-05-31 00:37:51 -06:00
noah metz b7365f7dfb Made event part of the closure and created first step of match 2023-05-30 21:50:59 -06:00
noah metz 62dbe54e81 Cleaned up Event to make new structures easier, added vex Match and tests 2023-05-30 20:45:16 -06:00