Commit Graph

78 Commits

Author SHA1 Message Date
rdb be9dde1eee direct: add .pylintrc, perform major code cleanup pass
Closes #989

Co-authored-by: Daniel Stokes <kupomail@gmail.com>
2020-12-31 01:36:23 +01:00
rdb 20f38cad66 direct: Fix a few remaining uses of file() instead of open() 2020-12-30 22:35:24 +01:00
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
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 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 49088fb7ce Fix some issues with new VFS open() implementation 2015-09-21 17:46:50 +02: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 753b1c623d Deprecate DirectStart and run(), allow clean ShowBase teardown, docstrings for ShowBase members 2015-03-15 13:06:49 +01:00
rdb 0aa0f34c74 Lots of work to make the rtdist work with the new library building system 2015-01-12 15:02:42 +01:00
rdb a65b477734 Commit patches by cfsworks:
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
rdb 5f2c0a6e04 Big commit aiding in separation of Python bindings:
* Most extension functions have been moved to C++.
 * In makepanda, Python bindings are compiled into panda3d/<module>.pyd.
2014-02-20 13:33:26 +00:00
David Rose 16c0690edb notify-integrate 2012-09-28 16:46:28 +00:00
David Rose 37a19945ec fix problem with initial setup of notify-level variables 2011-02-27 19:50:38 +00:00
rdb ac1223d0da Ditch stuff like has_key and backticks 2010-03-19 10:32:09 +00:00
David Rose aac9cb1e82 respect notify-timestamp 2009-12-07 16:49:23 +00:00
David Rose ce182cb038 bi-directional communication 2009-06-11 02:20:43 +00:00
rdb b4fdf5cc46 Remove very-annoying and pointless warning 2008-12-11 20:13:36 +00:00
David Rose 2a5851d614 more consistent output 2008-11-20 00:36:50 +00:00
John Loehrlein 69b464dd02 remove timestamp by default 2008-07-28 22:17:54 +00:00
Josh Wilson 79d14e2fc8 added global function 'giveNotify(cls)' 2006-10-24 01:54:33 +00:00
David Rose 95985c7c1b the default notify level needs to be info. 2006-10-14 00:05:52 +00:00
Josh Wilson 378c3757d5 added setVerbose() and modified setDconfigLevels to undo setVerbose() 2006-10-11 02:13:29 +00:00
Dave Schuyler 60356c6c94 formatting 2006-04-14 03:43:59 +00:00
Dave Schuyler 26ea29157c formatting 2006-03-17 21:41:36 +00:00
David Rose 8c88c3cf97 remove inappropriate hack 2006-02-22 21:21:59 +00:00
Dave Schuyler 699be47bab formatting 2005-12-21 04:18:47 +00:00
Dave Schuyler c176b0e336 formatting 2005-11-04 22:16:25 +00:00
Dave Schuyler e5a6d9e600 formatting 2005-10-22 01:28:08 +00:00
David Rose 54a803d358 fix import statement 2005-10-12 21:47:11 +00:00
Darren Ranalli 5be710f8b5 merged from pirates_1_first_merged_to_trunk 2005-09-14 22:13:42 +00:00
David Rose a2b01921df allow sending Python Notify messages into the C++ Notify system 2005-07-24 18:50:19 +00:00
Dave Schuyler 26f0ad5c7b changed import 2005-07-08 02:18:58 +00:00
Joe Shochet 0d5cfa8e1b better pandac importing for old and new FFI 2005-05-27 21:50:18 +00:00
Josh Yelon de2c9d7127 *** empty log message *** 2005-03-01 19:22:00 +00:00
Dave Schuyler 35fac86d24 changed debugCall and debugStateCall 2005-01-27 00:35:55 +00:00
Dave Schuyler 6fe83b0c15 formatting 2005-01-14 06:21:59 +00:00
Dave Schuyler 95256fa6b1 added secondaryFSM debugging 2004-12-17 01:35:21 +00:00
Dave Schuyler 9824a5411e deleted comments 2004-10-07 01:24:58 +00:00
Darren Ranalli 790eff0faa added default-directnotify-level 2004-08-13 21:21:34 +00:00
Dave Schuyler 2522d77d95 minor touchup to self.closed 2004-06-10 05:19:55 +00:00
Dave Schuyler d12cc670aa minor touchup to self.closed 2004-06-10 05:17:54 +00:00
Dave Schuyler 2ced3fd7d2 more closely matching file object 2004-06-10 05:00:48 +00:00
David Rose 6eeb4f27e3 more fixes to new genPyCode 2004-06-03 21:11:24 +00:00
David Rose b1db93fb87 explicit import paths 2004-06-01 19:31:48 +00:00
Dave Schuyler dc78382904 added fsmMemberName 2004-05-27 23:26:16 +00:00