Sam Edwards
6c3013a29c
dcparser: move Python-specific code to extension files
...
We can now build dcparser without linking to Python and dcparse.exe's dependency on pystub is removed.
Co-authored-by: rdb <git@rdb.name>
2019-08-23 18:58:19 +02:00
Sam Edwards
36df3bdf0b
dcparser: Delete dcPython.h
...
py_panda.h has the same purpose; we also don't want
Python.h brought in from the headers (only from the
.cxx files) so that including the headers won't require
linkage against Python.
2019-08-23 13:15:36 +02:00
rdb
665d2fc56b
Merge branch 'release/1.10.x' into incoming
2019-08-23 10:53:09 +02:00
rdb
2575c01261
Loader: fix passing a tuple to loader.loadModel
2019-08-22 10:44:34 +02:00
rdb
1e6be1b2ee
Merge branch 'release/1.10.x' into incoming
2019-08-20 01:26:32 +02:00
rdb
062460cbe0
dgui: store guiItems on ShowBase class dict instead of module
2019-08-20 01:07:39 +02:00
rdb
a0aa7de291
dgui: fix critical regression introduced by 43a5719
2019-08-19 21:26:35 +02:00
rdb
a40228202b
Merge branch 'release/1.10.x'
2019-08-18 22:34:23 +02:00
rdb
170ad017bb
deploy-ng: fix some issues with .icns files generated on macOS
...
Also add support for 1024x1024 icons, supported as of Mac OS X 10.7
I'm not sure that it's significant to put the mask before the respective sized image, but I've seen other working icons do it, so it can't hurt.
2019-08-18 11:14:39 +02:00
Mitchell Stokes
d3c9199d9f
deploy-ng: add icon support for macOS ( #468 )
2019-08-18 11:13:18 +02:00
rdb
f708402760
deploy-ng: add 128, 256 to req. icon sizes, prefer scale from double
2019-08-18 11:10:40 +02:00
rdb
2fe0599255
deploy-ng: support adding icons to Windows binaries (part of #468 )
2019-08-17 22:42:52 +02:00
rdb
5a804925ec
deploy-ng: set module suffixes properly for Python 3.8
2019-08-14 15:24:40 +02:00
fireclawthefox
24d48d8cb0
dgui: allow setting DirectEntryScroll entry after the fact
...
Closes #702
2019-08-14 13:31:08 +02:00
rdb
5c99cf16f8
dgui: fix DirectEntry._autoCapitalize() on Python 3.x ( #628 )
2019-08-14 13:26:33 +02:00
rdb
43a5719bac
dgui: allow using various GUI items without instantiating ShowBase
...
This is done by eliminating dependency on the `hidden` built-in, which can now instead be imported from ShowBaseGlobal.
2019-08-14 13:26:27 +02:00
rdb
bc563c8664
Merge branch 'release/1.10.x'
2019-08-03 11:24:05 +02:00
fireclawthefox
2b64a7d74f
dgui: Scrollbar width changeable after initialization
...
Closes #699
2019-08-03 09:42:16 +02:00
fireclawthefox
c395460390
directtools: Added missing imports
...
Closes #698
2019-08-03 09:40:11 +02:00
rdb
b558bc8bfb
Merge branch 'release/1.10.x'
2019-07-30 19:32:16 +02:00
rdb
7b9f87412a
loader: support Python loader plug-ins
...
This allows defining custom loader types from Python code. Packages can use metadata entry points to register file types with the loader.
Example code: https://gist.github.com/rdb/cb3c2f4a98ce371c722e3f297b445153
2019-07-30 13:04:46 +02:00
rdb
7ab377f28e
dgui: fix option menu's cancelFrame not working in scrolled frame
...
Fixes #658
2019-07-29 13:07:26 +02:00
rdb
36e1b66349
Merge branch 'release/1.10.x'
2019-07-18 20:21:07 +02:00
rdb
22d50297a2
actor: fix makeSubpart on models with pre-bound animations
...
Fixes #647
2019-07-18 20:18:22 +02:00
rdb
3a7ab6c319
Merge branch 'release/1.10.x'
2019-07-15 19:51:19 +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
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
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
wezu
617f3f7c7b
Snake-case aliases for BufferViewer
...
Add snake_case aliases for BufferViewer
2019-06-16 12:01:54 +02:00
rdb
1302b215ea
Merge branch 'release/1.10.x'
2019-06-07 22:18:26 +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
rdb
2e9395b766
Merge branch 'release/1.10.x'
2019-05-14 14:41:43 +02:00
rdb
7b77888e5a
FilterManager: allow specifying custom fbprops in renderQuadInto
...
Corollary to ea0210640c (see #599 )
2019-05-13 14:25:22 +02:00
rdb
e8fc76747a
showbase: rename attachInputDevice gui=True arg to watch=True
...
It describes more accurately what it does, which is attach the MouseWatcher to it. Though it was intended to help with GUI navigation, it can also be used for eg. polling button states.
2019-05-13 13:53:33 +02:00
rdb
3f312eccd9
Merge branch 'release/1.10.x'
2019-05-12 21:03:14 +02:00
rdb
c4a01ac564
pipeline: give Mutex and ReMutex more Pythonic semantics
...
This allows using mutices in with-blocks and wraps up the functionality of acquire() and try_acquire() into a single acquire(blocking=True).
Furthermore, the GIL is no longer released in cases of no contention.
2019-05-12 20:58:13 +02:00
rdb
b8b6f2f2dc
showbase: fix BufferViewer error when opening window right away
2019-05-09 19:18:25 +02:00
rdb
11808862f2
showbase: fix BufferViewer when main window is opened later
...
Fixes #648
2019-05-09 18:45:38 +02:00
rdb
a92dce29cc
Merge branch 'release/1.10.x'
2019-05-03 21:03:49 +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
0ac36185a9
Merge branch 'release/1.10.x'
2019-05-02 21:34:25 +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
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