22989 Commits

Author SHA1 Message Date
rdb
a7c743fd5e Allow seek of IDecryptStream to begin (for looping encrypted audio) 2019-05-12 15:51:35 +02:00
rdb
60922fabc1 Give istream/ostream a friendlier file-like interface for Python 2019-05-12 15:46:14 +02:00
rdb
15cdd1da0a makepanda: also use -undefined dynamic_lookup for VRPN for now 2019-05-12 15:36:25 +02:00
rdb
fce282ea33 Emit warning when importing panda3d using Python 2.7
Fixes #602
2019-05-03 22:04:24 +02:00
rdb
a92dce29cc Merge branch 'release/1.10.x' 2019-05-03 21:03:49 +02:00
rdb
f25532db78 glgsg: properly handle shader compilation failure
Fixes #645
2019-05-03 20:49:08 +02:00
rdb
0568312324 windisplay: add config var to disable Ctrl+V behaviour
Fixes #512
2019-05-03 19:41:27 +02:00
rdb
54c6eaeb96 pgui: allow keyboard keys to be added as PGButton click buttons
These will respond as clicks not when the mouse cursor is hovering over them, but when they have keyboard focus.

Fixes #600
2019-05-03 19:22:21 +02:00
rdb
bf302a0838 tests: hopefully fix sporadic test failures with condition var test 2019-05-03 18:03:16 +02:00
rdb
226d888ef4 collide: remove doubly defined property due to faulty merge 2019-05-03 18:02:45 +02:00
rdb
d7f89bd3a4 makepanda: also use -undefined dynamic_lookup for OpenEXR for now 2019-05-03 18:02:19 +02:00
rdb
db00baa230 deploy-ng: add link to index for thirdparty wheels
This is where we can host wheels for packages that haven't uploaded wheels for all platforms, such as PyYAML and esper.

[skip ci]
2019-05-03 17:57:27 +02:00
rdb
541a2a73f0 showbase: allow attaching default MouseWatcher in attachInputDevice
This makes it easier to control GUIs using a gamepad.
2019-05-03 16:24:13 +02:00
rdb
ea0210640c FilterManager: allow specifying custom fbprops in renderSceneInto
Fixes #599
2019-05-03 16:24:13 +02:00
rdb
b08e38cf3d deploy-ng: add nag screen warning users who are still on Python 2
See #602
2019-05-03 16:24:13 +02:00
rdb
475bd55bb1 glgsg: add gl-forward-compatible config variable
This is meant to be used alongside gl-version to request a "forward compatible" OpenGL 3.0 or 3.1 context, which removes support for deprecated features such as the fixed-function pipeline.
2019-05-03 15:46:01 +02:00
rdb
53612512d5 glgsg: more reliable check for core/compat profile
Fixes #643
2019-05-03 15:43:20 +02:00
rdb
81c87ef989 makepanda: only pass -undefined dynamic_lookup for Python modules 2019-05-02 22:11:59 +02:00
rdb
6e7739354d makepanda: add required IOKit and Quartz framework dependencies 2019-05-02 21:34:44 +02:00
rdb
362ee33d32 tests: hopefully make notify_all() test more robust 2019-05-02 21:34:40 +02:00
rdb
71eaa65e4e movies: fix another streampos comparison error in VC2015 2019-05-02 21:34:35 +02:00
rdb
0ac36185a9 Merge branch 'release/1.10.x' 2019-05-02 21:34:25 +02:00
rdb
7f0ac22ca5 device: fix mappings for various generic gamepads on Windows
See also #576
2019-05-02 21:32:31 +02:00
rdb
cc4d5259cc linmath: fix mat4.get_col3() and mat4.get_row3() when using Eigen 2019-05-02 19:40:23 +02:00
rdb
6d9b217c2c tkwidgets: fix exceptions hovering over rgbPanel menu items 2019-05-02 16:18:22 +02:00
rdb
a3b4486ef3 tkpanels: fix a few exceptions in AnimPanel 2019-05-02 16:18:09 +02:00
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
5d6b4f4a77 dtool: add StreamReader/StreamWriter move ctor and assignment ops 2019-04-29 18:17:54 +02:00
rdb
269d3db290 collide: fix typo in respect_prev_transform property 2019-04-29 18:09:19 +02:00
rdb
3f4d85574a tests: add UserDataAudio unit tests 2019-04-29 18:05:29 +02:00
rdb
44f4ad94ba audio: allow looping of streams with unknown length 2019-04-29 18:04:38 +02:00
rdb
2f2354550d movies: set length of unseekable ogg/Opus streams upon reaching EOF
This is one of a series of commits that will make it possible to loop compressed ogg and Opus streams.
2019-04-29 18:02:56 +02:00
rdb
c329a41dd3 movies: Python-facing read_samples should return bytes object
Also, properly returns partial buffers based on number of actual samples read
2019-04-29 18:00:44 +02:00
rdb
c513342247 movies: return actual number of samples read in read_samples
Various codecs may only partially fill the buffer and fill the rest with zeroes, but it is useful to know how many samples were actually read.
2019-04-29 17:55:15 +02:00
rdb
026c2bf619 movies: UserDataAudio.read_samples should take a bytes/vector_uchar 2019-04-29 17:49:02 +02:00
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