Commit Graph

86 Commits

Author SHA1 Message Date
rdb f7718b466b direct: Fix assorted issues when using mypyc 2023-10-10 12:52:26 +02:00
WMOkiishi 1ca0e3f1ea
directnotify: annotate types (#1527) 2023-10-09 09:46:32 +02:00
rdb b99b3dc7d4 directnotify: Fix invalid syntax 2023-10-08 17:22:37 +02:00
rdb c63a92bdec directnotify: Fix RotatingLog filePath error when sizeLimit is None 2023-10-08 17:12:08 +02:00
rdb 9de9b8c680 directnotify: Remove obsolete softspace attribute from RotatingLog 2023-08-26 11:15:57 +02:00
rdb 37b5c9ad9e direct: More code style changes 2023-02-22 11:52:19 +01:00
rdb 8b1126ba3e direct: General cleanup of Python code 2023-02-20 20:52:14 +01:00
David Crompton 581f374ba6 Notifier: Add custom exception type for Notifier.error 2023-01-10 23:15:20 +01:00
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