Commit Graph

7820 Commits

Author SHA1 Message Date
rdb 54b93116e8 Merge branch 'release/1.10.x' 2020-09-16 10:59:59 +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 9da7988909 CMake: fix pandac/PandaModules.py to match makepanda's 2020-09-13 16:18:02 +02:00
rdb 921cbc6bae Merge commit 'e0d34131822a8852ff72dc9c5597f4dc6900719a' 2020-09-13 16:17:06 +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
rdb 66ac3be604 Merge branch 'release/1.10.x' into master 2020-09-12 23:23:58 +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
Drew C 16f489ac5b showbase: Parent the OSD to a2dTopLeft
The Y position is set to -0.1 as the original value was 0.9, so it was intended to be about 1 unit down from the top.

Closes #977
2020-09-01 11:17:31 +02:00
rdb 6c8066bb61 direct: Remove a remaining sys.version_info check 2020-09-01 11:12:00 +02:00
rdb 707ea089cb Merge remote-tracking branch 'origin/release/1.10.x' 2020-09-01 11:09:29 +02:00
rdb ea01c3e0eb directutil: Remove MySQL-related classes (see discussion in #1000) 2020-09-01 11:03:42 +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
rdb b655aa86c5 Merge branch 'release/1.10.x' 2020-08-17 13:05:51 +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
pythonengineer 13011278af PythonUtil: Fix usage of reduce() for Python 3 2020-08-04 11:05:29 +02:00
rdb 3c4f666509 direct: Improvements to API reference, better cross-linking 2020-07-27 13:40:31 +02:00
rdb dcc08ac572 Merge branch 'release/1.10.x' 2020-07-25 14:58:35 +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 e787929c85 Merge branch 'release/1.10.x' 2020-06-29 14:50:59 +02:00
rdb d659a3b0ff dist: fix location of numpy/Pillow shared libraries
Fixes #914
2020-06-29 11:58:00 +02:00
Donny Lawrence 0f3948005f FreezeTool: Place blob in custom segment on macOS
The motivation behind this is in the code's comments. FreezeTool will
only put the blob in a custom segment if the provided deploy-stub
contains a __PANDA segment stub. Otherwise, it keeps the old behavior of
simply putting the blob at the end of the binary.
2020-06-22 22:41:33 +02:00
Donny Lawrence 23041ec069 FreezeTool: Make blob_size multiple of page size
A Mach-O segment must be sized in 4KiB increments. This shouldn't change
behavior for other platforms since mmap would round it up to hit a
page boundary anyway.
2020-06-22 22:41:30 +02:00
Donny Lawrence 46ae5a52d3 FreezeTool: Don't write blobinfo to wrong offset
The mechanism for searching for a specific symbol in a Mach-O binary got
tripped up when hitting the blobinfo stab entry, causing it to return an
offset of 0.
2020-06-22 22:41:26 +02:00
rdb 4a21329a79 Merge remote-tracking branch 'origin/release/1.10.x' 2020-06-20 19:49:55 +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
Kyle Smith 7f9680bd69 dcparser: The dcparser now compiles outside of panda
Closes #945
2020-06-14 13:10:01 +02:00
rdb f469edf71c direct: remove a few more Python 2-isms 2020-06-14 12:32:19 +02:00
rdb 36c3d3e622 Merge branch 'release/1.10.x' 2020-05-05 18:15:57 +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 e4573ef0fe cleanup: Remove more unnecessary nullptr checks before delete
Follow-up to #934
2020-05-05 14:46:30 +02:00
Chitresh13 929202bd9b dist: Remove Python 2 code from deployment system
Closes #892

Co-authored-by: rdb <git@rdb.name>
2020-04-26 20:22:11 +02:00
rdb d799a09002 cleanup: Remove support for EOL versions of Python
Fixes #905
2020-04-26 20:07:56 +02:00
rdb e2177ecbdb Merge branch 'release/1.10.x' 2020-04-26 00:16:25 +02:00
rdb 98c82ddb9c wxwidgets: don't create ShowBase instance upon importing WxPandaShell 2020-04-25 14:33:39 +02:00
rdb 202a871a7e showbase: remove wantUberdog from builtin scope
Applications that need it can trivially copy it to their own modules.

Closes #895
2020-04-13 12:25:16 +02:00