rdb
9dd35f9c3a
gobj: default current_thread arg for Geom.get_animated_vertex_data()
2019-07-16 13:40:14 +02:00
rdb
8932eec43b
linmath: use default ctor and assignment op for matrix classes
2019-07-15 20:37:18 +02:00
rdb
3a7ab6c319
Merge branch 'release/1.10.x'
2019-07-15 19:51:19 +02:00
rdb
8d61002cd6
tests: add unit tests for some shader loading operations
2019-07-15 19:46:59 +02:00
rdb
23232a5b20
pgraphnodes: fix assert when analyzing geoms with strip cut index
2019-07-15 19:42:33 +02:00
pythonengineer
46a3a72029
PythonUtil: weightedChoice should throw IndexError on empty list
...
Also includes a unit test.
Closes #682
2019-07-15 19:39:31 +02:00
rdb
ce6d02b8d7
egg: remove unused matrix_2d variable
2019-07-15 14:54:55 +02:00
rdb
0a54d54ebe
Update BACKERS.md
2019-07-13 21:38:05 +02:00
rdb
2ef70579c8
display: remove reference to non-existent HardwareChannel class
...
[skip ci]
2019-07-12 12:59:46 +02:00
Sam Edwards
1bd15dad60
CMake: Manually set p3distributed's linker language
...
It doesn't contain any source files anymore (see last commit),
so for non-metalib builds, this is necessary for CMake to
understand how to invoke the linker/archiver.
2019-07-10 15:39:46 -06:00
Mitchell Stokes
1a03d997b2
Remove support for Miles audio system
...
See #440 for discussion on why this is being removed.
Closes #660
2019-07-10 14:13:36 +02:00
rdb
0ce25d0e30
prc: fix a compilation warning in encryptStream.cxx
2019-07-10 14:12:05 +02:00
rdb
99e6a1d9b8
dtoolutil: iostream should use Py_ssize_t instead of int
2019-07-10 14:11:53 +02:00
rdb
fa62344452
express: better fix for encrypt_string Python 3 issues
...
A workaround for the bug described in #684 was made in e080d33e313939be26c6859e2ae43f2cfe3f23a5 but this fix is significantly cleaner.
Unit test was added.
2019-07-10 13:46:42 +02:00
rdb
b2d327f268
Move StringStream from downloader to express
...
It is more generally useful than just in the HTTP code, and I need to use i
t somewhere in express.
2019-07-10 13:44:33 +02:00
rdb
1a1648682a
downloader: allow constructing StringStream from vector_uchar
2019-07-10 13:16:57 +02:00
rdb
d5788d9422
Merge branch 'release/1.10.x'
2019-07-10 12:22:56 +02:00
rdb
2c9d16f62e
ParticlePanel: set reasonable max values for integer sliders
...
Fixes #672
2019-07-10 12:01:55 +02:00
rdb
11990833fe
text: fix compilation warnings with implicit int->char32_t cast
2019-07-10 11:20:15 +02:00
rdb
4bb31029f0
pgraph: fix ScissorAttrib compare (fix flickering DirectScrolledFrame)
...
Fixes #681
2019-07-10 11:14:54 +02:00
rdb
cee000d1da
makepanda: pick up AudioToolbox and CoreAudio frameworks on macOS
...
These seem to be needed to compile against OpenAL Soft.
Fixes #678
Fixes #679
2019-07-10 10:05:10 +02:00
rdb
e080d33e31
interrogate: temp hack to make encrypt_string return bytes
...
Fixes #684
2019-07-10 09:54:57 +02:00
rdb
bac376541f
pgraph: add NodePath.replace_texture()
2019-07-10 09:53:42 +02:00
rdb
ab238bd153
gobj: support non-affine transformations in calc_tight_bounds
...
This makes it possible to get the 2D bounding volume of an object as it appears on screen.
2019-07-10 09:30:16 +02:00
Sam Edwards
e3cd658642
CMake: C++ code in direct.distributed should be an extension
...
This code is so heavily dependent on Python (and makepanda
doesn't even build it into libp3direct) that we shouldn't
even try to put it in the libp3direct library ourselves.
2019-07-07 16:09:52 -06:00
Donny Lawrence
3160c77bc3
CMake: MODULEs should use .dylib, not .so
2019-06-27 17:38:18 -06:00
Donny Lawrence
603e240788
CMake: Allow for config-specific dtool-config vars
...
This makes it so some options can be toggled on a per-configuration
basis (for multi-config generators), as long as they don't affect what
targets are actually being generated.
2019-06-27 17:38:18 -06:00
Donny Lawrence
7a3ea071a4
CMake: Don't use X11 on Apple.
2019-06-27 17:38:18 -06:00
Donny Lawrence
10abe6e216
CMake: Remove usages of string(APPEND ...)
2019-06-27 17:38:18 -06:00
Donny Lawrence
89bc83c48f
CMake: Suppress $(EFFECTIVE_PLATFORM_NAME).
2019-06-27 17:38:18 -06:00
Donny Lawrence
f0b4d7637b
CMake: Separate composite files by extension.
2019-06-27 17:38:18 -06:00
Donny Lawrence
20db4115b8
CMake: Add temporary solution for generating dtool_config.h
...
Eventually, we'll want to customize dtool_config.h based on the
configuration being used, but this should be good enough for now.
2019-06-27 17:38:18 -06:00
Donny Lawrence
3eb1895811
CMake: Use a generator expression to mitigate make's warning spam on the Xcode generator.
2019-06-27 17:38:18 -06:00
Donny Lawrence
27fd87983a
CMake: Only use a default CMAKE_BUILD_TYPE if using a single-config generator.
...
Create a variable that can be used to tell if a generator is multiconfig or not. Since this variable is only available on CMake 3.9 or higher, we'll try to make an educated guess on a lower CMake version.
2019-06-27 17:38:18 -06:00
Donny Lawrence
cb0def4eb3
CMake: Defer pzip's directory creation to build-time.
2019-06-27 17:38:18 -06:00
Donny Lawrence
f0c9772396
CMake: Move copying of models to build-time.
2019-06-27 17:38:18 -06:00
Donny Lawrence
aed55d4e7e
CMake: Don't compile PRC's encryptStream unless we have OpenSSL.
2019-06-27 17:38:18 -06:00
Sam Edwards
24ba0d0e72
CMake: Fix Interrogate macro not working on CMake 3.0.2
2019-06-25 03:34:51 -06:00
Sam Edwards
d3ef7bf12d
CMake: Avoid using continue()
...
This is, sadly, not added until CMake 3.4.
This commit avoids continue() by restructuring the loops so
that the conditions previously being used for continue() are
no longer needed. The alternative would've been to encase the
loop bodies massive ifs, but I find that to be a poor choice
for readability.
2019-06-25 03:34:51 -06:00
hecris
563ff75c2f
collide: implement check from parabola into inverse sphere
2019-06-20 19:33:42 +02:00
wezu
617f3f7c7b
Snake-case aliases for BufferViewer
...
Add snake_case aliases for BufferViewer
2019-06-16 12:01:54 +02:00
rdb
6a0be374c8
prc: fix for compiling without OpenSSL support
...
[skip ci]
2019-06-08 09:50:42 +02:00
hecris
47f39809ee
collide: add collision test for parabola into box
...
Closes #664
2019-06-07 22:21:27 +02:00
rdb
1302b215ea
Merge branch 'release/1.10.x'
2019-06-07 22:18:26 +02:00
rdb
ff12deeba4
Raise version number to 1.10.4 on release/1.10.x branch
...
[skip ci]
2019-06-07 22:16:41 +02:00
Fireclaw
387b43adde
dgui: Fix popupMarker_pos related crash
...
Set initial popupMarker position to previous default by using None as default
2019-06-07 22:13:25 +02:00
Mitchell Stokes
cb7dbfc219
Remove unused files there were referencing ToonTown
...
Closes #659
2019-06-07 22:11:58 +02:00
rdb
3d6f35827a
interrogate: exit with nonzero status when failing to write -oc/od
...
Fixes #666
2019-06-07 22:10:13 +02:00
Sam Edwards
1a237670e3
CMake: Make Interrogate macro ensure output directories exist
...
This was causing problems on the Xcode generator under macOS,
which wasn't automatically creating the output directories
for us.
2019-06-05 02:27:48 -06:00
Sam Edwards
449a514f5f
CMake: Fix typo causing bad paths in installed target files
2019-06-05 02:27:47 -06:00