Commit Graph

152 Commits

Author SHA1 Message Date
rdb f149fb4ab0 direct: big formatting changes for the benefit of API reference
Part of the effort to move the API reference to Sphinx, see panda3d/panda3d-docs#21
2019-10-29 20:43:41 +01:00
rdb d576c6b638 Improvements to generated API docs, especially in direct tree.
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
Sam Edwards 76070d84cd fsm: Change FourState's debugPrint to a __method
This should stop it from getting overridden by subclasses.
2017-03-29 17:40:10 -06:00
Sam Edwards 6d250f2f1f fsm: FourState needs to initialize stateIndex BEFORE first debugPrint
I honestly have no idea how this even worked before.
2017-03-29 17:40:10 -06:00
Michael Wass 7e20626915 Fix a TypeError in direct.fsm.FSM 2016-06-28 12:15:00 -04:00
Tohka 41deb1c00f Fix error "TypeError: 'NoneType' object is not iterable" 2016-04-24 12:14:19 +03:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
rdb 54fa31ba17 StandardError -> Exception, other 2to3 changes, threaded 2to3 2016-03-25 17:13:09 +01:00
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05:00
rdb 32367fcbdc Fix various import issues in the direct tree 2015-12-06 22:36:05 +01:00
rdb 0a9f9887f9 Merge branch 'release/1.9.x'
Conflicts:
	direct/src/p3d/Packager.py
	direct/src/p3d/ppackage.py
	makepanda/makepandacore.py
2015-11-21 03:17:33 +01:00
rdb 2d6c2c5c6d Remove dependency on tkpanels and tkwidgets modules when building .p3d package 2015-11-20 17:42:18 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb d9342043b0 Deprecate pandac.PandaModules and genPyCode, move extensions to panda3d/, clean up imports and deprecated behaviour 2015-06-28 13:55:31 +02:00
rdb 862e22e548 remove Python-2-isms from DirectGui and FSM to make them work with Python 3 2014-05-19 17:33:36 +00:00
rdb 2275784525 More Python 3 support, and a bit of work toward being able to compile as panda3d/core.pyd, etc. 2013-12-23 18:57:48 +00:00
rdb c729775265 The 'new' module has been deprecated since 2.6 and removed in Python 3, let's not use it (use 'types' module instead) 2013-12-23 15:08:00 +00:00
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