24055 Commits

Author SHA1 Message Date
rdb
d92168cd74 movies: allow seeking compressed Opus file to beginning
Same change as 2c55663472f50f5e50ea0a605a9f15bf90822fb0 but for Opus files.
2019-04-29 12:39:44 +02:00
rdb
8af3e37bd2 movies: remove unused fields from Vorbis and Opus audio cursors 2019-04-29 12:14:04 +02:00
rdb
1723fae158 Merge branch 'release/1.10.x' into incoming 2019-04-29 11:52:23 +02:00
rdb
fa1ff3d489 movies: fix for loading unseekable Opus files
Same fix as 00b3fbdb1ab9b9dce6ca8a88287563a7be687c9d but for Opus files.
2019-04-29 11:41:13 +02:00
rdb
2c55663472 movies: allow seeking compressed Ogg Vorbis file to beginning 2019-04-29 11:39:30 +02:00
rdb
a726592244 movies: support looping compressed .wav files
Any kind of skipping is supported on any kind of stream, actually, but some uses may require reopening the file and skipping some number of bytes, so a warning will be displayed in some cases.

I figure this feature is particularly interesting for .wav files since they are (1) often used for short samples, where skipping bytes is not really a big deal, and (2) aren't inherently compressed so would benefit particularly from zlib compression.
2019-04-29 10:48:04 +02:00
rdb
00b5faca2d ode: add OdeBody.joints property 2019-04-29 01:06:44 +02:00
Rishabh Tewari
bfb50ab7ff device: don't crash on Linux if no devices are found
Fixes #634
Closes #635
2019-04-29 00:32:34 +02:00
rdb
00b3fbdb1a movies: fix for loading unseekable ogg vorbis files
Now, compressed/encrypted ogg files will properly be detected as unseekable, and will still be able to be played.
2019-04-28 22:57:06 +02:00
rdb
ca5b4e7b54 ode: fix OdeJoint.attach with None parameters
Fixes #633
2019-04-28 22:29:29 +02:00
rdb
186d8feef4 movies: properly detect extension of pz/gz audio/video files 2019-04-28 21:49:23 +02:00
Sam Edwards
f744951d25 CMake: Make Interrogate invocation friendly to multi-config generators 2019-04-27 22:45:51 -06:00
Sam Edwards
cfa4878955 CMake: Use the same host_ prefix for pzip as we do for interrogate
This is for better cross-compilation friendliness, so the pzip
binary used during the build doesn't have to be the same as the
pzip binary produced during the build.
2019-04-27 22:45:51 -06:00
Sam Edwards
65d11a4cfa CMake: Fix pandac.PandaModules generation 2019-04-27 22:45:51 -06:00
Sam Edwards
873c6b48d6 CMake: Generate interrogate_preamble_python_native.cxx at build time
This also makes sure the file is only rebuilt if the inputs
change, saving on unnecessary rebuilds.
2019-04-16 19:44:03 -06:00
Sam Edwards
b8f3c7eb63 CMake: Move some symbols from dtool_config.h to -D flags
The symbols moved aren't used in any headers, so they don't
have to be in the installed dtool_config.h. Removing them
keeps the recompiling to a minimum when an optional feature
is toggled.
2019-04-15 22:16:05 -06:00
Sam Edwards
865d824313 CMake: Remove some unused #cmakedefine directives 2019-04-15 22:15:27 -06:00
Sam Edwards
be247e1be9 makepanda: Remove config entry for defunct HAVE_SOFTIMAGE 2019-04-15 16:46:14 -06:00
Sam Edwards
df9640454f cocoadisplay: Add missing EXPCL_PANDA_COCOADISPLAY 2019-04-15 15:57:57 -06:00
Sam Edwards
a0f9068da8 CMake: Some suggestions on how to improve 20_panda.prc
- `win-origin -2 -2`
- Prefer OpenAL over FMOD in default audio selection
- Copy over `model-cache-dir` from makepanda's default prc
2019-04-15 02:27:42 -06:00
Sam Edwards
b3f5c38ef3 CMake: Remove references to "panda3d" from Interrogate 2019-04-14 23:10:49 -06:00
Sam Edwards
12036c7ed0 CMake: Remove remaining references to HAVE_CARBON 2019-04-14 22:38:25 -06:00
Sam Edwards
6097d34ead CMake: Neatly format everything for readability and consistency 2019-04-14 22:37:18 -06:00
Sam Edwards
ed67f98a05 CMake: Update some of the cmake/* docs 2019-04-14 20:03:18 -06:00
Sam Edwards
5e82d8e43e CMake: Don't find GLES on macOS; headers known broken 2019-04-14 19:06:33 -06:00
rdb
daa57733cb Merge branch 'release/1.10.x' 2019-04-14 23:11:03 +02:00
hecris
2288ffca8b tests: add bullet heightfield test
Closes #619
2019-04-14 23:10:54 +02:00
rdb
6df700939a glsl: make ParamVecBase4 and ParamVecBase4i work with ptr inputs 2019-04-14 23:08:02 +02:00
rdb
239dc40032 device: fix crash when unplugging certain devices on macOS
Fixes #621
2019-04-14 22:11:20 +02:00
rdb
5530074945 cocoa: fix crash when typing with RIME as input method
Fixes #620
2019-04-14 22:10:32 +02:00
rdb
5d3499dc64 x11display: fix crash when starting in fullscreen on Linux/X11
Fixes #618
2019-04-14 18:01:55 +02:00
rdb
6464327e6f tests: add more thorough unit test for SparseArray::clear_range 2019-04-14 17:59:55 +02:00
Epihaius
83723d38a5 tests: Create test_sparsearray.py
Closes #590
2019-04-14 17:59:29 +02:00
rdb
98227daaa5 putil: fix SparseArray::clear_range et al
Fixes #588
2019-04-14 17:11:42 +02:00
rdb
3ca3dfd13a interrogate: fix in-place or (|=) operators (see #588) 2019-04-14 17:10:52 +02:00
Sam Edwards
b3813dfed9 CMake: Update for upstream change (threadSafePointerTo deletion) 2019-04-13 17:59:34 -06:00
Sam Edwards
671f15e052 Merge branch 'master' into cmake 2019-04-13 17:29:44 -06:00
Jerome
66ea0471a0 tests: Add unit test for CollisionRay into CollisionBox
Closes #613
2019-04-09 13:50:04 +02:00
hecris
ac451d79ef tests: add more collision unit tests
Closes #609
2019-04-09 13:44:20 +02:00
rdb
552916efea Merge branch 'release/1.10.x' 2019-04-09 13:31:51 +02:00
rdb
8b79fb75b9 glgsg: allow multisampling on FBO even if host has no multisamples
Fixes #601
2019-04-09 13:24:52 +02:00
rdb
d89da168bb PythonUtil: fix use of types.InstanceType in Python 3 in itype()
Really, though, don't use this function.  It does not consider new-style classes, is not consistent in its return values and it seems to do nothing that repr(type(x)) doesn't do.
2019-04-09 12:53:13 +02:00
rdb
9f9665e090 direct: don't use types.InstanceType in Messenger.detailedRepr
Fixes #591
2019-04-09 12:42:06 +02:00
rdb
77d6a9f5c9 ffmpeg: add "FFmpeg" tag to PandaSystem 2019-04-09 12:09:21 +02:00
Daniel Stokes
19b67c3674 samples: Fix "Toon Shader" string in firefly demo
Closes #606
2019-04-04 10:06:07 +02:00
rdb
bf8a959d60 direct: remove multi-line strings with unrunnable test code 2019-04-02 22:45:25 +02:00
rdb
fa43591f7a makepanda: show warning when attempting to build with Python 2.7
See #602
2019-04-02 22:41:09 +02:00
Mitchell Stokes
017b4b5835 samples: various improvements to Roaming Ralph sample:
- add a skybox color (required making boundary around environment transparent)
- use CollisionHandlerPusher and spheres to detect collisions with obstacles
- add ability to walk backwards
- increase minimum distance between follow camera and terrain, to avoid clipping through
- make Ralph run slightly less ridiculously fast

Closes #565

Co-authored-by: rdb <git@rdb.name>
2019-04-02 22:22:25 +02:00
Hitesh Saini
fff422fab7 tests: add unit tests for ClockObject
Closes #593
2019-04-02 21:34:13 +02:00
DrEuler
aad1bc9aa2 audio: change include guard naming to be more consistent
Closes #592
Closes #595
2019-04-02 21:32:22 +02:00