Commit Graph

78 Commits

Author SHA1 Message Date
rdb c00f3b18f5 direct: More reduction of reliance on builtins, mypy fixes 2023-10-11 11:07:56 +02:00
rdb 8b1126ba3e direct: General cleanup of Python code 2023-02-20 20:52:14 +01:00
Timothy Paustian 2493c0689f direct: Use warnings module for more verbose deprecation prints
Closes #1067
Fixes #669
2021-03-09 18:34:53 +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 b38e9d552a Merge branch 'release/1.10.x' 2020-12-28 16:26:48 +01:00
janEntikan 5dc5d009c1 extensions_native: fix missing include for subdivideCollision()
Closes #1084
2020-12-28 15:36:02 +01:00
rdb dee8df9427 Merge branch 'release/1.10.x' 2020-12-20 01:02:08 +01:00
rdb 6b1c681a24 extensions_native: Fix indirect rgbPanel import
It's defined in Valuator, not in Slider
2020-12-19 15:50:43 +01:00
rdb 6c8066bb61 direct: Remove a remaining sys.version_info check 2020-09-01 11:12:00 +02:00
rdb d799a09002 cleanup: Remove support for EOL versions of Python
Fixes #905
2020-04-26 20:07:56 +02: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
Mitchell Stokes 59b0913b0b Cleanup .gitignore files
Remove all .gitignore files in subdirectories and add a few new ignores
to the top-level directory .gitignore file.
2016-10-30 20:06:12 -07: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 883f1b1c28 Fix import error when compiling without OpenSSL support 2015-11-13 20:28:05 +01:00
rdb 31dbcae262 Deprecate many extension methods, make extension methods imported via modules instead of dumped into core.py, move _core.pyd and _direct.pyd back to core.pyd, direct.pyd respectively, move MAIN_DIR set-up code to module init time 2015-11-10 00:44:29 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb 08fbfb1874 Add missing file, update .gitignores 2015-06-28 14:04:16 +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 af18bfd18d Fix makepanda, squelch libpandaexpress import error 2015-03-30 00:21:31 +02:00
rdb 3371df8403 Fix tp_compare, better __repr__/__str__ handling 2015-03-25 19:36:35 +01:00
David Rose 980ed44a59 fix py2exe support 2014-11-04 19:16:02 +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
rdb 8365c5ce13 Remove superfluous import lines (this is really genPyCode's task) 2013-12-23 19:39:22 +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 712ecb8d3b Fix LerpBlendHelpers import 2013-07-27 11:03:39 +00:00
David Rose 6c3386c65f fix deprecated import syntax 2012-02-17 17:33:19 +00:00
David Rose 8aae06ec43 remove deprecated double-reference names 2011-11-17 19:17:04 +00:00
David Rose 5b79b02b31 fix typos 2011-10-21 19:58:12 +00:00
rdb ac1223d0da Ditch stuff like has_key and backticks 2010-03-19 10:32:09 +00:00
David Rose 785dd81920 oops 2009-07-30 19:31:22 +00:00
David Rose 14efb1cbaf support a windows debug plugin 2009-07-30 19:28:27 +00:00
David Rose 8a56d5612f ignore extensions_darwin.py 2009-07-05 15:55:47 +00:00
David Rose f098e8239f NodePath.analyze() is now an extension function 2009-06-11 02:39:09 +00:00
rdb 24641a7ab4 Fixed some typo's 2008-11-26 14:39:48 +00:00
Gyedo Jeon 37df0df5c7 Changed getAncestry to getAncestors 2008-11-15 01:00:52 +00:00
David Rose d07c5e15ed we don't need to clean lerps up so aggressively--this code has never worked anyway 2008-11-12 23:28:01 +00:00
David Rose c69c8680e8 asList() etc. no longer needed 2008-11-12 20:37:20 +00:00
Gyedo Jeon cc76379b27 Changed upondDeath assignments to call setUponDeath 2008-11-06 21:52:40 +00:00
David Rose 8b71199fdd protect makepanda 2008-10-20 21:34:10 +00:00
David Rose d3b4f33c89 switchable extensions_native_helpers.py 2008-10-20 20:35:47 +00:00
rdb 4d2ff692c6 Remove bundles on OSX 2008-10-20 13:04:47 +00:00
rdb 22b4a9c3b8 Added asTuple() 2008-10-13 11:24:27 +00:00
rdb 0ef34bcbc2 Annoying deprecation warning in Python 2.5 2008-10-10 18:51:40 +00:00
David Rose bdde0c3185 better OSX support, I think 2008-08-05 16:55:34 +00:00
rdb 34538489ba Missed out a tiny conditional 2008-08-02 17:52:40 +00:00
rdb 1af355624d Added OSX support 2008-08-02 09:44:42 +00:00