rdb
4b7c11059d
dist: Ignore some missing modules
2020-12-24 20:46:33 +01:00
rdb
d2a7481181
dist: handle SyntaxError in imported module
2020-12-24 20:46:13 +01:00
rdb
4e6395e07a
dist: Fix line of code that mysteriously disappeared
2020-12-24 19:17:44 +01:00
rdb
86937c7bb9
dist: Check if entire directory should be skipped
...
This is functionally equivalent, but reduces the message spam in verbose mode, and perhaps is a little faster
2020-12-24 14:19:17 +01:00
rdb
adbeea33fb
dist: Warn if picking up binary dependency from outside a wheel
2020-12-24 14:16:40 +01:00
rdb
8bb0de52b7
dist: Add additional ignored system libraries for Windows
2020-12-24 14:15:58 +01:00
rdb
012661e1ba
dist: Add more ignore libraries for macOS
...
This is the full list of libraries that occur both in the 10.6 SDK and the 11.1 SDK.
2020-12-24 13:23:58 +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
7c676b5d26
directtools: Fix incorrect rounding for color conversion to hex
...
The color picker returns color values up to 255.99 so this can otherwise result in it returning a color like #100100100 , and the hex code otherwise not matching with what is displayed in the color picker.
2020-12-19 15:27:23 +01:00
rdb
8ba1ae924c
tkwidgets: Fix EntryScale missing import and menu errors
2020-12-19 15:26:15 +01:00
rdb
66c41d6c31
dist: Fix ability to deploy app without requiring OpenSSL enabled
...
Fixes #1073
2020-12-17 23:59:50 +01:00
rdb
4d50e73132
pfreeze: Support building for macOS arm64 architecture
2020-12-15 18:59:04 +01:00
rdb
8883bf9bdd
dgui: Fix ability to create OnscreenGeom/Image/Text without ShowBase
2020-12-15 11:45:52 +01:00
rdb
35eeb27386
VFSImporter: fix detection of source file encoding in Python 3
...
Incidentally, this should (in theory) also fix the _bootlocale import loop referenced in #1065
2020-12-09 15:46:51 +01:00
rdb
7b4ecbd60f
directtools: Fix use of built-in direct instead of base.direct
2020-12-09 15:44:13 +01:00
rdb
4e7742b8e2
VFSImporter: replace deprecated U open() flag
...
Fixes #1063
2020-11-28 22:22:32 +01:00
Daniel
7eba53cffa
showbase: Fix an entire DirectSession being (re)created on node selection
...
Closes #1051
2020-11-17 12:02:53 +01:00
rdb
f1ca8a9018
direct: Additional linking in Loader API documentation
2020-11-17 12:01:42 +01:00
rdb
f88441c584
dist: Fix error building Windows executable in Python 3.9
2020-11-17 12:01:05 +01:00
Daniel
b507c88cd9
directtools: Fix empty scaling node of object handle
...
Closes #1029
2020-10-02 12:16:10 +02:00
rdb
36eed0d9c9
dist: don't exclude api-ms-win-crt-*.dll libraries
...
These are needed to run the program on systems without the right CRT installed.
2020-09-14 12:30:43 +02:00
rdb
8e39072f6f
dist: don't search same directory for dependencies more than once
2020-09-14 11:58:57 +02:00
rdb
22e5f95c7f
dist: don't warn about missing DLLs that are a part of Windows
2020-09-13 15:26:56 +02:00
LD
2e862c1bbe
dist: fix the relative path of the files and output dirs in the generated NSIS script
...
Closes #1008
Fixes #1003
2020-09-13 15:17:02 +02:00
rdb
4e8ee5bae5
dgui: Add snake_case aliases for DirectGuiGlobals
2020-09-13 15:17:02 +02:00
Mitchell Stokes
306c0fce0f
build_apps: Disable the pip version check when downloading wheels
...
If the user is not using the latest version of pip, they will likely be
spammed by pip enough as is. There is not much need to remind them about
this for each built platform.
2020-09-12 12:01:05 -07:00
rdb
54238e9730
direct: Add more links to manual pages in module docstrings
...
See panda3d/panda3d-docs#53
[skip ci]
2020-09-11 13:15:58 +02:00
rdb
4d20b36098
doxygen: exclude directscripts directory building C++ API reference
2020-09-09 17:59:53 +02:00
rdb
cd435ecec8
filter: Support HDR in CommonFilters (using ACES tonemap)
2020-09-06 14:23:45 +02:00
rdb
f7375e215e
filter: Add built-in sRGB encoding filter
2020-09-06 13:30:02 +02:00
rdb
fcfe3206eb
cleanup: Remove newlines at end of direct/src/fsm/State.py
2020-09-01 10:55:37 +02:00
rdb
dae9e31223
direct: fix various uses of types.MethodType in Python 3 (from #1000 )
2020-09-01 10:54:38 +02:00
rdb
ab6bf5f4f7
general: Add workaround for Windows bug in various uses of isprint()
...
See #994 ; there is a regression in certain versions of the Windows CRT that gives the wrong result for isprint(). This adds workarounds to various potentially affected locations where isprint() is being used.
2020-08-21 14:51:42 +02:00
Mitchell Stokes
2cb3779204
build_apps: Use FreezeTool.__replacePaths() to cleanup tracebacks
...
This alters paths in tracebacks to contain just module names instead of
full, absolute paths. This makes tracebacks easier to read and leaks
less information about the build machine.
Closes #991
2020-08-17 10:59:18 +02:00
rdb
dfa1eb78cd
dist: Fix replacePaths just prepending "linecache" before paths
2020-08-17 10:59:18 +02:00
rdb
8178fb21f3
direct: don't rely on vfs being present in builtins
2020-08-11 09:40:34 +02:00
rdb
32143055bd
PythonUtil: Fix usage of reduce() for Python 3
...
Backport to 1.10.7; see #980
2020-08-04 11:08:51 +02:00
rdb
3c4f666509
direct: Improvements to API reference, better cross-linking
2020-07-27 13:40:31 +02:00
rdb
52127f6805
ShowBase: None comparison cleanup
2020-07-25 12:49:58 +02:00
rdb
43b5345588
ShowBase: significant improvements to ShowBase API documentation
...
Fixes #198
2020-07-25 12:48:54 +02:00
Tohka
5fdbc97499
direct: Fix TexMemWatcher crash when graphics memory reaches 1 GB
...
Closes #975
Co-authored-by: rdb <git@rdb.name>
2020-07-25 10:32:36 +02:00
rdb
d659a3b0ff
dist: fix location of numpy/Pillow shared libraries
...
Fixes #914
2020-06-29 11:58:00 +02:00
Fireclaw
86cfbc22b1
direct: Fix errors in PythonUtil.detectLeaks() function ( #955 )
...
* Replaced removed choice() function with ternary expression
* Add sanity check for _crashOnProactiveLeakDetect, don't crash by default
Closes #955
2020-06-15 15:26:17 +02:00
rdb
9159fc1029
operator delete should check for null pointer before deallocating
...
It is a pervasive belief that using "delete" with a null pointer is safe, so our custom delete operators should also handle this case correctly.
This may fix regressions introduced by #934
2020-05-05 18:13:13 +02:00
Fireclaw
316d254c64
distributed: Fix two ServerRepository issues in Python 3
2020-05-05 17:28:32 +02:00
rdb
9e80282aff
dist: replace p3fmod_audio with p3openal_audio if former is missing
...
This helps when deploying to macOS, where p3fmod_audio is the default for 1.10 builds, a fact that is very easy to overlook when deploying to macOS and only including the p3openal_audio plug-in.
2020-04-02 22:34:04 +02:00
rdb
69296585a4
dist: make config.prc handling a bit more robust
...
Strip comments after value, don't look for variable names mid-string, and sort the prc files deterministically.
2020-04-02 22:31:13 +02:00
Derzsi Dániel
7ce1a9ffed
direct: Fix RuntimeError during ControlManager deletion
...
Closes #884
2020-04-02 13:52:47 +02:00
rdb
73ea170f2b
showbase: improve docstrings of ShowBase and ShowBaseGlobal
2020-04-01 18:32:22 +02:00
rdb
8672054e30
showbase: fix erroneous docstring (audio unit is metres by default)
2020-03-30 13:57:15 +02:00