25100 Commits

Author SHA1 Message Date
rdb
152d317c8c egg: Fix egg lexer state not being cleaned up after error 2021-01-01 15:52:57 +01:00
rdb
339331c1ad egg: Add properties to EggAnimPreload 2021-01-01 15:51:23 +01:00
rdb
3e1d4aa6b5 interrogate: Fix memory leak in __setstate__ 2020-12-31 18:12:52 +01:00
rdb
1793c9a938 interrogate: Fix __setstate__ not working for subclasses 2020-12-31 18:11:50 +01:00
rdb
8852c835fc collide: Support pickling for CollisionTraverser, HandlerEvent+Queue
Fixes #1090
2020-12-31 16:57:34 +01:00
rdb
a5557bc38d stdpy: Fix pickle sometimes duplicating Panda objects
We have to unify multiple Python wrappers pointing to the same C++ object.
2020-12-31 16:55:34 +01:00
rdb
ac991e4c5e collide: Fix error with CollisionHandler's again_patterns property 2020-12-31 16:55:22 +01:00
rdb
8d22b80698 display: Fix memory leak in GSG::get_prepared_textures() 2020-12-31 16:43:37 +01:00
rdb
2b84bfc145 makepanda: Code formatting 2020-12-31 13:44:13 +01:00
rdb
7e7daa4b5b pylint: Add redefined-outer-name to disables 2020-12-31 13:44:03 +01:00
rdb
ae7eae10c5 makepanda: Remove old and obsolete gendocs scripts 2020-12-31 12:24:27 +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
cf60284ca9 Merge branch 'release/1.10.x' 2020-12-31 00:05:10 +01:00
rdb
a6580f5dd3 physics: Fix GlobalForceGroup 2020-12-30 23:57:43 +01:00
rdb
f1a171bfd8 particles: Fix writing representation of AngularVectorForce 2020-12-30 23:57:27 +01:00
rdb
b6e8163f97 dist: Add remaining manylinux libraries to exclude_dependencies
Prevents getting errors about these being missing.
2020-12-30 23:57:27 +01:00
rdb
e0309a98aa dist: Remove liblzma, libreadline and libbz2 from exclude_dependencies
These are not part of the manylinux specs, and actually needed by the Python _lzma, readline, etc. modules.

This fixes the problem that these dependencies are not being picked up automatically.
2020-12-30 23:57:27 +01:00
rdb
42580a81de dist: Add hidden imports for pandas 2020-12-30 23:57:27 +01:00
rdb
b6809defec dist: Remove unused import 2020-12-30 23:57:27 +01:00
rdb
c141bef19b stdpy: Add missing threading.ThreadError 2020-12-30 23:57:27 +01:00
rdb
2ce373b0da distributed: Assorted error fixes 2020-12-30 22:53:15 +01:00
rdb
20f38cad66 direct: Fix a few remaining uses of file() instead of open() 2020-12-30 22:35:24 +01:00
rdb
b7124da4aa directutil: Fix use of removed file() 2020-12-30 22:34:44 +01:00
rdb
f7bd54b9ee directtools: Fix use of builtin direct instead of base.direct 2020-12-30 22:34:44 +01:00
rdb
65c1ef968c stdpy: Add PicklingError to pickle module 2020-12-30 22:34:44 +01:00
Donny Lawrence
7b83eac943 CMake: Build deploy-stub
Closes #918

Co-authored-by: rdb <git@rdb.name>
2020-12-29 20:45:30 +01:00
rdb
e8f8604c08 makepanda: Remove hack preventing models from being built in parallel 2020-12-29 18:47:39 +01:00
rdb
1db3bb4ee6 dmodels: Delete dmodels tree, merge into models folder instead
Also eliminates need for flt2egg at build time

Fixes #1075
2020-12-29 18:40:49 +01:00
rdb
bc7063be42 filter: Change default sort to come after shadow passes
Fixes #1036
2020-12-29 17:31:15 +01:00
Daniel
74a4648965 mayaprogs: Completely refactor the maya2egg server
The maya2egg_server utility is no longer a separate utility. To run the maya2egg_server (now Maya conversion server), use `maya2egg -server` or `egg2maya -server`.

Two new utilities have been added: `maya2egg_client` and `egg2maya_client`. Both of them are Maya version independent, and do not rely on any Maya libraries. However, they're only built with SDKs that already come with the Maya binaries, as the server makes its own assumptions about the current working directory (the client and the server are expected to be on the same machine.)

A new feature has been added to ProgramBase: an `exit_on_complete` flag, which allows you to parse the command line without exiting the program upon a failure or a help command.

In addition to this, a getopt bug has been fixed in ProgramBase: It is now possible to clear the state of the Panda implementation of getopt, making it possible once again to parse command line arguments twice in a row.

Closes #1025
2020-12-29 16:16:36 +01:00
Mitchell Stokes
33d688ec08 bdist_apps: Allow specifying custom installers with entry points
The entry point is 'panda3d.bdist_apps.installers'. The installer will
get added to bdist_apps.installer_functions.

Closes #1060
2020-12-29 16:08:32 +01:00
Mitchell Stokes
d015b7e2f1 bdist_apps: Support user-defined installers
Custom installers can be added by specifying a build function in
bdist_apps options:

'installer_functions': {
    'custom': custom_func
}

Installer functions must accept three arguments:

  * command - the bdist_apps setuptools command function (can be used to
        gather build information)
  * basename - name of the output file (minus extension)
  * build_dir - path to the directory containing the built application
2020-12-29 16:08:18 +01:00
rdb
2461fc0917 CMake: Remove accidental debug message 2020-12-29 16:06:22 +01:00
rdb
6c3e13d19d dist: Remove version checks for Python versions before 3.5 2020-12-29 14:50:41 +01:00
rdb
41f67bbe1f sceneeditor: Remove version checks for Python pre-3.0 2020-12-29 14:50:05 +01:00
rdb
ad7711788e travis: Add dummy configuration for master
Apparently we need a dummy travis configuration on the master branch, so that we can tell it not to build the master branch.
2020-12-29 14:45:23 +01:00
rdb
25b79a2aef Merge branch 'release/1.10.x' 2020-12-29 14:44:56 +01:00
rdb
d3ebeee058 sceneeditor: Fixes for missing/extraneous/misplaced imports 2020-12-29 14:40:49 +01:00
rdb
58b9de70c1 travis: Only build release branch 2020-12-29 13:50:56 +01:00
rdb
2c209e0f02 stdpy: Fix direct.stdpy.pickle module for Python 3 2020-12-29 13:05:00 +01:00
rdb
7d5fee3066 Update version number on release/1.10.x branch to 1.10.9 2020-12-29 12:50:02 +01:00
rdb
fff0a67189 makepanda: better support building with FMOD Ex on macOS for now
This means preferring the 10.13 SDK except when targeting arm64 (in which case FMOD Ex is disabled with a warning).
2020-12-28 18:52:02 +01:00
rdb
e9c7d345df display: Move GraphicsPipe::_detected_display_zoom to class member 2020-12-28 16:31:23 +01:00
rdb
b38e9d552a Merge branch 'release/1.10.x' 2020-12-28 16:26:48 +01:00
rdb
90fb31ac21 ffmpeg: Fix crash cleaning up audio/video context 2020-12-28 16:23:04 +01:00
janEntikan
5dc5d009c1 extensions_native: fix missing include for subdivideCollision()
Closes #1084
2020-12-28 15:36:02 +01:00
rdb
f2e66a280c deploy-stub: Fix immediate exit on Windows if no log_filename is set 2020-12-28 15:27:56 +01:00
rdb
21aa31f8c0 gobj: Fix build error on Windows 2020-12-28 12:07:17 +01:00
rdb
d39d40b1fc readme: Update version number in download link to 1.10.8
[skip ci]
v1.10.8
2020-12-27 11:06:21 +01:00
rdb
e7a6d735e3 dgui: Add "versionadded" to docstrings of newly added methods 2020-12-27 10:48:12 +01:00