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
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
ba010168cf
tests: more improvements to test suite coverage
2020-04-25 14:44:43 +02:00
rdb
98c82ddb9c
wxwidgets: don't create ShowBase instance upon importing WxPandaShell
2020-04-25 14:33:39 +02:00
rdb
46b29a136e
workflow: call apt-get update before installing Ubuntu dependencies
2020-04-25 10:40:58 +02:00
Donny Lawrence
afba3ba01c
makewheel: Support deps referenced by @rpath
...
The new CMake build system uses @rpath rather than @loader_path when
specifying a library's dependencies. Since rpaths are set by the
executable, we don't need to do any path manipulation to relocate the
libraries to a .app bundle like we do with @loader_path.
Fixes #913
2020-04-25 10:37:59 +02:00
rdb
ad296492f8
tests: add more TextureAttrib comparison tests
...
This will hopefully cover all the lines that are hit non-deterministically by codecov.
2020-04-25 10:36:23 +02:00
rdb
f56f06b65c
CMake: fix missing Coverage config in multi-config generators
2020-04-25 10:34:12 +02:00
rdb
00305bccae
device: fix failure to open message-only window
...
Not sure why I was getting this, but this seems to fix it
2020-04-13 15:10:29 +02:00
rdb
c40aa7addc
egg: remove register keyword from lexer.cxx.prebuilt
2020-04-13 15:10:29 +02:00
rdb
8cb213ce8a
CMake: fix broken pzip files on Windows
...
It seems piping isn't working properly for binary data
2020-04-13 15:10:28 +02:00
rdb
df4d6fd2dd
CMake: don't build egg2dae
...
This is not a finished tool, which is why we don't build it in makepanda
2020-04-13 15:10:28 +02:00
rdb
565f97b3b9
CMake: properly default build type to Standard
...
This wasn't being set properly because it needs to be set before the project() call
2020-04-13 15:10:20 +02:00
rdb
2cb8f69f61
CMake: enable CMP0091, fixes lack of /MD flag with Ninja+clang-cl
2020-04-13 13:19:12 +02:00
rdb
ffed048c3e
CMake: NOTIFY_DEBUG should be turned on in Standard build
2020-04-13 13:17:51 +02:00
rdb
00b81f381a
prc: give StreamWrapperBase virtual destructor (fixes compile error)
...
The compile error was observed with VS 2019 + clang-cl + Ninja + CMake in a Standard build on Windows 10.
2020-04-13 13:15:58 +02:00
rdb
d403b16249
dtoolutil: fix compile warnings on Windows
2020-04-13 12:33:02 +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
a55aa02a70
Add .DS_Store to .gitignore
...
Closes #900
[skip ci]
2020-04-13 12:17:05 +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
Mitchell Stokes
46dc9444d3
SceneGraphAnalyzer: Use smarter units for byte sizes in write()
...
Values above 10 MiB are displayed in MiB and values above 4 GiB are
displayed in GiB.
Closes #881
2020-04-02 13:53:56 +02:00