Commit Graph

7799 Commits

Author SHA1 Message Date
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
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 30d9f88f8e Merge branch 'release/1.10.x' 2020-04-01 18:53:00 +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
rdb 6a7bd49296 dist: don't warn about missing libc++.1.dylib on macOS 2020-03-30 13:55:59 +02:00
rdb f524f00e8e Merge branch 'release/1.10.x' 2020-03-14 15:01:38 +01:00
Derzsi Dániel 32a9ea2cef dgui: Fix DirectScrolledList scrollTo error in Python 3
As a rule of thumb, Python 3 divisions always have float results. Unfortunately, this piece of code is still relying on the old Python 2.7 behavior.

Closes #880
2020-03-14 14:55:32 +01:00
rdb 918d268b80 Merge branch 'release/1.10.x' 2020-02-28 15:57:06 +01:00
Derzsi Dániel eccfce4606 task: Fix memory leak related to Python 3 signal API changes
Python 3's signal.py API does not properly support custom signal handlers. An exception is created every frame because of this, which fills up the memory of the application.

Closes #873
2020-02-28 15:55:28 +01:00
Fireclaw c73415b4ba dgui: fix sizing after changing Slider/Scrollbar orientation
Closes #700
2020-02-23 16:28:40 +01:00
Thaumaturge 50d27166d8 particles: expose birth_litter() to support burst emission
Closes #524
Closes #340
2020-02-23 15:17:57 +01:00
fireclawthefox f21ab509ec FSM: support "any" state transitions
Closes #344
2020-02-23 14:54:30 +01:00
rdb c59b91f503 Merge branch 'release/1.10.x' 2020-02-23 14:53:16 +01:00
Mitchell Stokes 391578ea1f build_apps: Fix running with Pip 20
Fixes #854
Closes #856
2020-02-22 12:10:49 +01:00
rdb fda898807a Merge branch 'release/1.10.x' into master 2020-02-10 13:52:05 +01:00
Fireclaw 5d93237386 dgui: fix regression in DirectScrolledFrame (see #699)
Made initialization ignore the setScrollBarWidth function
Respect the length/height of the scrollbar and only change the actual
width in the setScrollBarWidth function
Added a very basic unittest class for the scrolledFrame

Closes #864
2020-02-10 13:17:05 +01:00
Leandro (Cerberus1746) Benedet Garcia 5f7809469c general: removed all WIN32, WIN32_VC and friends 2020-02-05 22:45:03 -07:00
rdb b272af8bbf Merge branch 'cmake' 2020-01-22 11:20:51 +01:00
rdb 26b86dfe5f Merge branch 'release/1.10.x' 2020-01-22 11:20:24 +01:00