23233 Commits

Author SHA1 Message Date
rdb
0b19afa1a3 parser-inc: fix invalid template args for std::map<>
This fixes an interrogate warning.
2020-06-15 15:20:38 +02:00
rdb
a9b158192f putil: fix crash in BitArray::has_any_of() 2020-06-14 12:55:52 +02:00
rdb
446c01c796 nativenet: change some error messages to debug messages 2020-06-14 12:52:01 +02:00
rdb
f295b28369 cppparser: update prebuilt cppBison files 2020-06-14 12:20:40 +02:00
rdb
16f2958adb cppparser: support sizeof operator with constexpr 2020-06-14 12:12:27 +02:00
rdb
43961718fa parser-inc: add missing template args to std containers 2020-06-14 12:11:42 +02:00
rdb
97e6a314b1 cppparser: support arbitrary constant expression in bitfields 2020-06-14 11:31:58 +02:00
rdb
2880525c1e deploy-stub: flush output streams before exit
Intended to address #946
2020-06-14 11:07:31 +02:00
rdb
cada6c2c7b Revert "makepanda: Add pyenv support"
This reverts commit eef55f19d866ad9e87698cb209dd49c19869da3c.
2020-06-14 11:07:24 +02:00
Mitchell Stokes
eef55f19d8 makepanda: Add pyenv support
Only tested on Linux with Clang

Closes #943
2020-06-02 20:42:29 +02:00
Nathan S
ffef5968fe docs: some grammar fixes for meshDrawer2D
Fixes #941
2020-06-02 20:36:56 +02:00
rdb
55951c3025 pgraph: fix has_tags() after clearing Python tags
Fixes #936
2020-06-02 20:31:18 +02:00
rdb
08339d3b80 samples: Remove unused fragment shader input from Fireflies shader 2020-06-02 20:22:04 +02:00
rdb
d64944c108 pgraph: minor optimizations to GeomNode::add_for_draw() 2020-05-11 09:38:17 +02:00
rdb
26ba2b15cd collide: unexpose verify_points overload taking LPoint3 array
Similar as in #908
2020-05-11 09:09:00 +02:00
rdb
dd9ed1109a downloader: Fix dead link in API documentation 2020-05-11 09:08:11 +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
ed73394275 collide: fix erroneous collision if sphere is under edge of polygon
Reproducible by the code in #907, occurs if the sphere is close to the edge, but its center is off and under the polygon.
2020-05-05 16:33:20 +02:00
rdb
2ed4516cb2 collide: Unexpose CollisionPolygon constructor taking point array
This could never work in Python, and does indeed cause a crash, so I don't consider this compat-breaking.

Fixes #908
2020-05-05 14:51:31 +02:00
rdb
68d094dba4 dtoolutil: fix buffer overrun on FreeBSD extracting long cmdline args
This happens when compiling with CMake, which passes very long command-lines.
2020-05-05 13:20:20 +02:00
rdb
b5d0e9eafc task: Fix memory leak when removing a task awaiting non-Panda future 2020-05-05 13:19:26 +02:00
rdb
4b00f9e660 windisplay: Fix M_confined mode confining cursor to incorrect region
It should be confined to the client rect, not the window rect.

Fixes #929
2020-05-02 10:47:37 +02:00
rdb
c59a039fa8 pgraph: fix RenderState/TransformState count in PStats exploding
This was a regression in 1.10.6 that caused PStats to misreport the amount of RenderState/TransformStates in the application.
2020-04-25 23:39:03 +02:00
Ashwini
80ab6a28c4 pnmimage: Added offset to add_sub_image and mult_sub_image
Closes #903
2020-04-25 22:56:40 +02:00
Joel Stienlet
f2e67169bc corrects bug: wrong case entered in MultiplexStreamBuf::Output::write_string() in panda/src/downloader/multiplexStreamBuf.cxx
Closes #902
2020-04-25 22:19:34 +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
064da09cf0 putil: add pickling support to Datagram class 2020-04-01 18:25:43 +02:00
rdb
fc71fef27d deploy-stub: chdir to Resources dir in GUI macOS app bundle
This prevents a common error of trying to load non-Panda3D assets without specifying $MAIN_DIR.  We aren't currently making any guarantees about the cwd (which may in fact be / when launching from Finder), so I think this is safe.
2020-03-30 15:54:50 +02:00
rdb
b05ae1f762 tform: fix MouseWatcher ABI incompatibility with NDEBUG builds 2020-03-30 14:06:39 +02:00
rdb
cefc92a775 glgsg: fix wrong shadow buffer host when rendering scene to buffer
Fixes #890
2020-03-30 14:02:31 +02:00
rdb
c81bfb09b7 shader: default fog exponential density to 0 if fog is disabled 2020-03-30 14:01:50 +02:00
rdb
8672054e30 showbase: fix erroneous docstring (audio unit is metres by default) 2020-03-30 13:57:15 +02:00
rdb
b286780ae6 pgraph: fix typo in comment 2020-03-30 13:56:55 +02:00
rdb
6a7bd49296 dist: don't warn about missing libc++.1.dylib on macOS 2020-03-30 13:55:59 +02:00
rdb
5489f66a62 Bump version number on release/1.10.x branch to 1.10.7 2020-03-30 13:52:11 +02:00
rdb
783c721cef makewheel: strip codesign signature on macOS from libpython3.x.dylib
This is necessary because install_name_tool invalidates the signature, which causes the whole app to fail validation and refuse to open.
2020-03-29 15:34:01 +02:00
rdb
8160c48040 Empty commit to trigger new post version number
[skip ci]
2020-03-22 00:24:49 +01:00
rdb
c9f14a1209 readme: update links to point to 1.10.6 v1.10.6 2020-03-19 12:48:13 +01:00
aryamanpuri
242ba3c6ed readme: minor typo fix
Closes #882
2020-03-19 12:47:35 +01:00
rdb
4480f4d702 doc: add release notes for Panda3D 1.10.6 2020-03-19 12:42:18 +01:00
rdb
329abe2b3e x11: fix raw button events for dead keys 2020-03-19 12:33:51 +01:00
rdb
43fa7efaaa tform: do not stop mouse button capture until all buttons are released
We may want to consider a more elegant solution for capturing in the future.  In the meantime, this fixes #843.
2020-03-18 18:29:42 +01:00
rdb
eeeea274a4 gobj: make ram image when writing texture with clear color to 6.44 bam
This makes it possible to write textures with clear colors to .bam files even when the default bam version of 6.44 is selected.  The clear color is converted automatically to a filled RAM image.

Third part of the fix for #844
2020-03-18 17:58:51 +01:00
rdb
707b4fb866 gobj: don't strip .bam textures that contain only a clear color
Second part of the fix for #844
2020-03-18 17:51:39 +01:00
rdb
e138096578 gobj: support writing Texture clear colors to .bam files (bam 6.45)
This fix requires setting "bam-version 6 45" in Config.prc.

Part of the fix for #844
2020-03-18 17:51:05 +01:00
rdb
f1da4d4666 putil: set max supported bam version independently from default version
This will allow us to support reading and writing higher-versioned .bam file than we are writing by default.  This allows us to make changes bumping the bam version to the release branch, since we currently guarantee that bam files written by Panda3D 1.x.y can be read by Panda3D 1.x.0 (using the default settings).
2020-03-18 17:47:04 +01:00