Commit Graph

22869 Commits

Author SHA1 Message Date
rdb f32dc3cf2b tkpanels: add missing AnimPanel imports 2019-05-02 16:17:17 +02:00
Maverick Liberty 4d33db2028 DirectOptionMenu: Fix popup menu reset of the popup marker's pos
Also defines popupMarker_pos and raises an assertion error if #showPopupMenu() is called when no items have been specified.

Fixes #636
Closes #637
2019-05-01 17:23:04 +02:00
Sebastian Hoffmann 16c3ca5c87 device: Fix swapped axes on right stick for Jess Colour Rumble Pad
Closes #639
2019-05-01 17:19:18 +02:00
nate97 d786709a49 sfxplayer: fixes bug when using the "node argument" in SoundInterval, also fixes Py3 TypeError exception
Closes #640
2019-05-01 17:17:06 +02:00
rdb 204cbe4464 interrogate: support unicode characters in Python 3 for 'char' arg
Fixes #626
2019-05-01 17:05:12 +02:00
rdb 9512187156 test_wheel: upgrade pip inside virtualenv, don't write bytecode 2019-04-30 10:32:01 +02:00
rdb d9d30cdfd2 collide: compat for typo'ed respect_prev_transform property in 1.10 2019-04-29 22:29:36 +02:00
rdb 333db2b17e movies: fix compilation issue in MSVC 2015 2019-04-29 22:28:59 +02:00
rdb fa1ff3d489 movies: fix for loading unseekable Opus files
Same fix as 00b3fbdb1a 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 be247e1be9 makepanda: Remove config entry for defunct HAVE_SOFTIMAGE 2019-04-15 16:46:14 -06: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
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
rdb 1a9867ae2e device: remove executable permissions from inputDeviceSet.* 2019-04-02 02:08:47 +02:00
rdb eda709bbfc deploy-ng: work around Python 2 crash with logging in GUI apps 2019-04-02 01:31:57 +02:00
rdb 3ea562d404 collide: handle degenerate case for into-sphere test more robustly
This case happens, for example, when colliding a capsule with identical begin and end points into a sphere.
2019-03-29 13:29:14 +01:00
rdb 63a764a61b display: fix missed cases in 364d5d82fe 2019-03-29 13:28:12 +01:00
rdb 364d5d82fe display: don't apply color-scale-via-lighting to shader inputs
This isn't working properly at the moment, since the state gets set for the *next* object, causing significant artifacts.  I wasn't entirely sure whether to restore the "proper" behavior or not, since applications may be relying on one or the other behavior, but enabling this feature for shaders is a minefield and it's a lot better to just tell people to use p3d_ColorScale instead.
2019-03-26 23:12:41 +01:00
rdb b0a5cceafd glgsg: fix support for matrix arrays in vertex data 2019-03-21 12:35:53 +01:00
Sam Edwards c63562088b device: Fix missing include 2019-03-18 04:10:35 -06:00
Sam Edwards ff06135412 win-stats: Define WIN32_LEAN_AND_MEAN before including windows.h
This prevents pulling in winsock 1, which will cause compiler
errors when p3net later tries to pull in winsock 2.
2019-03-18 01:53:36 -06:00
rdb 4f94b3aa0e egg2pg: fix CollisionBox generation for transformed objects
Rather than xforming after the fact, which does not work properly for boxes, we need to apply the transform to the vertices around which the box is generated.

Fixes #506
2019-03-17 19:07:47 +01:00
rdb e486bbcb3f collide: fix printing CollisionBox 2019-03-17 19:06:45 +01:00
rdb 768dce9244 makepanda: fix locating UCRT shipped with more recent Win 10 SDK 2019-03-17 16:04:12 +01:00
deflected 0840e80f54 makepanda: Fixed building of FreeBSD installer
- Include the python bindings when building the FreeBSD
        installer

Signed-off-by: deflected <deflected@users.noreply.github.com>

Closes #585
2019-03-17 11:56:19 +01:00
Sam Edwards 9284a3cd9c contrib: Fix several includes, and a missing copyright header
The copyright header was removed, apparently by mistake,
in c310c29a77. I've put the
header back, carefully referencing the original to be
certain that I'm not inadvertently changing the copyright
status.
2019-03-17 00:10:01 -06:00
rdb 029d7363cd distort: fix use of cylindrical_k in oSphereLens.cxx 2019-03-17 00:17:11 +01:00
rdb 9a26b5fd08 readme: suggest --no-tiff for Android build command
This is because building with tiff seems to have an issue on termux, and it's not actually necessary to build any of the image loaders on Android as we can use the built-in Android APIs.
2019-03-17 00:06:53 +01:00
rdb 6cbc7ac22f makepanda: fix missing Python link when building on Android
[skip ci]
2019-03-16 23:58:13 +01:00
Sebastian Hoffmann 915e290513 makepanda: expose save_egg_file/save_egg_data to Python
Closes #582
2019-03-12 18:08:19 +01:00
rdb a8ceac919a Raise version number to 1.10.3 on release/1.10.x branch 2019-03-12 18:08:19 +01:00
rdb bafd523e2b mathutil: fix bad assert in BoundingBox::set_min_max 2019-03-12 15:36:47 +01:00