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
rdb
e4573ef0fe
cleanup: Remove more unnecessary nullptr checks before delete
...
Follow-up to #934
2020-05-05 14:46:30 +02:00
rdb
b85df6d9ed
tests: Change unreliable ClockObject test
...
The tests are randomly failing due to more time being elapsed. On a busy buildbot we don't really have any guarantee that the test doesn't take longer than the threshold.
2020-05-05 14:36:04 +02:00
rdb
29f552a6ef
task: Use TimeoutError from asyncio.exceptions on Python 3.8+
...
Fixes unit test failures
2020-05-05 14:35:43 +02:00
Rishabh Tewari
e2ec8ecbf0
tests: Improve ClockObject tests
...
Closes #898
2020-05-05 13:28:47 +02:00
rdb
bfbbcad990
task: Support calling cancel() on currently awaiting futures
...
Fixes #911
2020-05-05 13:21:49 +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
ae078046d6
CMake: Use MODULE mode in find_package() for OpenEXR
...
Otherwise a system OpenEXRConfig.cmake may end up getting picked up, which operates differently.
2020-05-05 11:09:00 +02:00
rdb
1ff11c1e16
cleanup: Removal of unnecessary null checks around delete
...
Fixes #934
2020-05-05 10:41:16 +02:00
rdb
5030ad6b13
nativenet: reformat time_accumulator.h
2020-05-05 10:39:43 +02:00
rdb
ee445e7f6b
Add .editorconfig file
2020-05-04 11:42:31 +02:00
rdb
3760ad298a
workflow: add custom codecov configuration
2020-05-02 19:17:51 +02:00
rdb
3000aa2369
windisplay: Support relative mouse mode (using raw input)
...
Fixes #928
2020-05-02 11:10:37 +02:00
rdb
734bb8552c
Merge branch 'release/1.10.x'
2020-05-02 10:51:17 +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
3f0ff827f3
wgldisplay: Support floating-point window framebuffers on Windows
...
These are linearized scRGB, and necessary to make Panda work on HDR monitors.
2020-05-01 20:33:52 +02:00
rdb
aa0a0d6ab4
CMake: better handling of per-config options, esp. in single-config
2020-05-01 19:53:50 +02:00
rdb
2ac65cc98c
CMake: remove obsolete plugin version settings
2020-04-30 21:43:49 +02:00
rdb
798066a05b
dtool: remove outdated plugin-specific settings
2020-04-30 21:43:31 +02:00
rdb
6ad9eeb5a1
CMake: generate panda3d.dist-info directory
...
This makes pip recognise that Panda3D has been installed and setuptools recognise the build_apps and bdist_apps commands.
2020-04-30 21:37:35 +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
54f2bc4d12
readme: update some numbers to be more recent
2020-04-26 17:27:12 +02:00
rdb
e2177ecbdb
Merge branch 'release/1.10.x'
2020-04-26 00:16:25 +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