rdb
40962e1eb5
gsg: Don't error for sampler/light type mismatch for non-casting lights
...
Closes #942
2020-06-29 12:17:36 +02:00
rdb
d659a3b0ff
dist: fix location of numpy/Pillow shared libraries
...
Fixes #914
2020-06-29 11:58:00 +02:00
rdb
8d99f38aa2
tests: update TextureAttrib unit tests
2020-06-29 11:32:15 +02:00
rdb
d1ab940e93
pgraph: Fix texture replacement creating unique TextureAttrib
...
This needs a more thorough fix (probably on master), but the implicit sort is incrementing every time, and it is being included in the hash/compare, so every time the same texture is replaced on the same TextureAttrib, it will be a unique TextureAttrib, causing garbage to accumulate and the state system to be generally less effective.
2020-06-29 11:30:07 +02:00
rdb
a51fbf2f9a
readme: change python version in README.md instructions to python3
...
Ubuntu still maps python and python-dev to Python 2, so the explicit python3 is needed.
[skip ci]
2020-06-25 18:48:42 +02:00
rdb
307a74deff
workflow: Ignore commits with [skip ci] or [ci skip]
2020-06-25 18:32:06 +02:00
rdb
04dd4fe354
pgui: Add PGItem Python properties
2020-06-22 22:50:15 +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
f3c0fa06b3
makepanda: silently ignore removed --host argument
2020-06-20 23:02:04 +02:00
Fireclaw
0f2cf6d14b
Add maximized property to WindowProperties, plus implementation ( #809 )
...
Closes #809
Co-authored-by: rdb <git@rdb.name>
2020-06-20 23:00:52 +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
rdb
913ab6669e
tests: Add more attribute tests to try to make coverage deterministic
2020-06-15 15:20:38 +02:00
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
f65b44bd5b
codecov: set patch check target to 0%
...
Hopefully this will make the patch builder merely informative and not reject any change without unit tests.
2020-06-14 13:10:22 +02:00
Kyle Smith
7f9680bd69
dcparser: The dcparser now compiles outside of panda
...
Closes #945
2020-06-14 13:10:01 +02:00
rdb
0d9cb5c392
CMake: force finding Assimp in MODULE mode
2020-06-14 13:09:36 +02:00
rdb
d01c53c2d8
Merge branch 'release/1.10.x'
2020-06-14 13:02:25 +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
a78924b1a5
Add .T files to .editorconfig
2020-06-14 12:32:39 +02:00
rdb
f469edf71c
direct: remove a few more Python 2-isms
2020-06-14 12:32:19 +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
9f1289b492
egldisplay: Support headless OpenGL via EGL when compiled without X11
...
See #557
2020-05-20 20:27:40 +02:00
rdb
fbc4947455
egldisplay: Support creating headless GLES contexts
...
See #557
2020-05-19 22:34:05 +02:00
rdb
c218af2f49
tests: Make ClockObject test a little laxer again
...
This failed on the Windows builder because apparently time.sleep is apparently not super precise on Windows.
2020-05-19 21:59:48 +02:00
rdb
f47b92347c
glgsg: Fix framebuffer_copy_to_ram for OpenGL ES using BGRA format
...
Supporting BGRA doesn't necessarily mean that it supports using BGRA in glReadPixels, for OpenGL ES. We need to check a separate extension.
2020-05-19 21:57:15 +02:00
rdb
6b19be495a
display: fix long-standing typo in error message
...
How was this never caught?!
2020-05-19 20:24:45 +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
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
7d94f601db
shader: Make Cg load calls fail if compiling without Cg toolkit
2020-05-05 16:54:50 +02:00
rdb
9ad4e4586c
collide: Use correct intersection point for sphere into poly
...
Previously, the reported surface and intersection points could be outside the polygon if the sphere was colliding with the edge.
Fixes #907
2020-05-05 16:52:21 +02:00
rdb
3598222977
Merge branch 'release/1.10.x'
2020-05-05 16:47:38 +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