135 Commits

Author SHA1 Message Date
rdb
804a72b716 Partially apply typo fix patch I found somewhere on the web, by someone named Christoph Korn 2010-11-16 08:58:45 +00:00
Josh Wilson
3b3937270f fixing broken fsm error message 2010-08-05 20:30:12 +00:00
Josh Wilson
4d91590a26 adding ability to define specialized behavior for particular transitions 2010-05-26 21:38:14 +00:00
David Rose
45dd1457c9 revert implicit request_State and demand_State methods after reconsideration 2010-02-19 20:08:46 +00:00
Josh Wilson
f4e55629fa adding getCurrentStateOrTransition() 2010-02-19 02:01:15 +00:00
Hubert Grzeskowiak
617e9d5e8c Applied patch from Nemesis13 partially ;-) 2009-11-03 18:08:29 +00:00
Chris Brunner
a7b4102e28 use a getter function for accessing __finalState in setFinalState 2009-08-06 21:34:45 +00:00
Darren Ranalli
caca39b04a added pushCurrentState, removed initial automatic call from FunctionCall 2009-07-06 21:44:52 +00:00
David Rose
adf9da20bc patch from panda community member Sergey Shepelev 2009-06-13 01:41:55 +00:00
rdb
24118f0357 "as" is a reserved keyword in Python 2.6 2009-02-20 13:11:01 +00:00
Darren Ranalli
89d50d7ab3 removed __del__ to prevent garbage leaks 2008-12-06 00:03:45 +00:00
David Rose
dc9c31388b lock -> fsmLock 2008-10-29 22:58:23 +00:00
David Rose
940a46fcfd make fsm's thread safe 2008-10-29 22:02:18 +00:00
Redmond Urbino
5e4cf921cf add isInternalStateInFlux() query 2008-07-25 22:17:06 +00:00
Redmond Urbino
ea863f74c2 kill crash 817829, crash on report when in boss battle 2008-07-14 22:46:06 +00:00
Darren Ranalli
d69414689f FunctionCall support for positional and keyword arguments 2008-06-24 18:26:42 +00:00
Darren Ranalli
ed233ec891 added AttrSetter, made FunctionCall act on initial state 2008-04-04 01:11:27 +00:00
Darren Ranalli
26075761d7 other->source, push initial state on subscription 2008-04-03 00:33:26 +00:00
Darren Ranalli
9581322f66 comment changes, additional EventArgument test 2008-04-02 22:00:04 +00:00
Darren Ranalli
91e326d950 added Pulse, EventPulse, EventArgument 2008-04-01 02:31:21 +00:00
Darren Ranalli
ce3927480c initial revision, includes StateVar, FunctionCall and EnterExit 2008-04-01 01:41:39 +00:00
M. Ian Graham
e527327b69 Notify fixes for running without __debug__ 2007-10-10 22:15:17 +00:00
Josh Wilson
fbeb4d6c3f added function isInTransition() so we don't have to query myFsm.state 2007-03-05 03:04:55 +00:00
Josh Yelon
0c888dcaad Added __all__ declarations to actor, task, fsm 2006-08-08 19:15:16 +00:00
Joe Shochet
76872ad998 weakrefs to State objects replace the old fsm-redefine system 2006-06-15 16:54:38 +00:00
Joe Shochet
53be5b62d9 stop calling DirectObject.__del__ because I took it out 2006-05-05 17:51:16 +00:00
Dave Schuyler
60356c6c94 formatting 2006-04-14 03:43:59 +00:00
Dave Schuyler
64d22156c7 removed parens from asserts 2006-04-04 23:32:24 +00:00
Dave Schuyler
7d76de1440 changed imports 2006-03-29 21:20:58 +00:00
Greg Wiatroski
2a1360391d More informative state transition failure messages 2006-03-13 20:47:45 +00:00
Dave Schuyler
71243aa874 formatting 2006-01-27 02:54:41 +00:00
Dave Schuyler
ea53570eef formatting 2006-01-27 01:00:28 +00:00
David Rose
cfcf937927 define defaultEnter and defaultExit 2006-01-19 19:16:15 +00:00
David Rose
e3e37d3bba minor API refinements 2006-01-19 16:23:24 +00:00
Dave Schuyler
86f4c2e68e remove extra paren from assert 2006-01-09 22:18:28 +00:00
Joe Shochet
e502aa8180 better class name printing for inheritors of FSM 2005-12-29 00:58:19 +00:00
Dave Schuyler
699be47bab formatting 2005-12-21 04:18:47 +00:00
Dave Schuyler
8900f25533 PandaObject to DirectObject 2005-12-20 22:51:18 +00:00
Darren Ranalli
4c317f7e38 added new-style FSMs to printDebugFsmList 2005-05-06 22:41:45 +00:00
David Rose
468fb19220 changes from Jason Pratt to support running epydoc--don't do stuff on module import 2005-04-28 17:59:00 +00:00
Darren Ranalli
bab3da450c added state change broadcast support 2005-04-01 00:51:43 +00:00
Joe Shochet
b1dc62cbd7 cleaner handling of load/enter/exit/unload 2005-01-26 05:26:58 +00:00
David Rose
e8eeb18d7a more debug 2005-01-19 01:36:02 +00:00
Dave Schuyler
6fe83b0c15 formatting 2005-01-14 06:21:59 +00:00
David Rose
f23d52b385 trap exceptions on enter/exit methods and clean up fsm properly 2005-01-13 18:11:14 +00:00
David Rose
c91af76209 introduce demand() 2005-01-12 22:30:10 +00:00
David Rose
61077696b3 clarify warning message 2005-01-12 03:22:38 +00:00
David Rose
57c1ff65fb further correct comments 2005-01-10 20:00:50 +00:00
David Rose
db8f49bea8 add getCurrentOrNextState 2005-01-04 21:32:58 +00:00
David Rose
83e368dced correct comment 2005-01-04 17:47:00 +00:00