7463 Commits

Author SHA1 Message Date
rdb
b75982a610 interval: fix QuatInterval not normalizing the start quaternion 2019-02-14 19:18:14 +01:00
rdb
6640e5698d EventManager: various microoptimizations to Python event handling 2019-02-12 14:30:04 +01:00
rdb
3024e6daeb direct: fix various syntax warnings in Python 3.8 2019-02-11 23:35:56 +01:00
tc
33d11dba27 ParticlePanel: fixed an issue that prevented saving with Python 3
Since in Python 3 `str == bytes` no longer holds true, I modified
the source to write a text file, which it actually is, instead of a
binary file.

Closes #553
Fixes #543
2019-02-08 15:46:52 +01:00
John Cote
2627c433d6 particles: Import SpriteAnim in Particles.py
Fixes #544
Closes #545
2019-01-31 00:06:34 +01:00
rdb
9d12a4c437 general: improvements to doxygen API reference:
* In C++ reference, only pick up classes defined in .h file
* Add a few excludes to C++ reference that aren't public API
* On class index pages, reduce number of columns
* Add @since for some methods/classes that are new in 1.10.0
* Fix/improve a few docstrings here and there
2019-01-23 22:24:02 +01:00
LD
1389ada384 setuptools: os.makedirs does not support 'exist_ok' parameter in Python2
Closes #540
2019-01-19 22:56:54 +01:00
rdb
649372d333 Loader: work around Python 3.7 await headache caused by PEP 479
Generators can no longer raise StopIteration, and we are supposed to use "return" instead.  But, return with value inside generator is a syntax error in Python 2.

Fixes #513
2019-01-09 22:14:50 +01:00
rdb
7262f16ed8 tkwidgets: fix missing import from Valuator module
Fixes #519
2019-01-09 19:24:45 +01:00
rdb
2da791b9fb Audio3DManager: fix regression with setSoundVelocityAuto() 2019-01-06 09:32:41 +01:00
rdb
6e730a2e95 Audio3DManager: accept tuple in setSoundVelocity/setListenerVelocity 2019-01-06 09:32:41 +01:00
Mitchell Stokes
863e25b6e0 setuptools bdist_apps: Better support relative paths for --build-base option 2019-01-04 18:55:04 -08:00
rdb
4d6b7e96c9 directscripts: change doxygen reference color scheme 2019-01-03 16:01:10 +01:00
rdb
984f83d94b directbase: fix a stray pandac.PandaModules 2019-01-03 16:01:06 +01:00
rdb
3e22578529 New branding images for 1.10.0 2019-01-03 14:44:17 +01:00
Mitchell Stokes
3be7c63d42 setuptools build_apps: Add p3assimp to the check_plugins list
This gets rid of the runtime error message about missing Assimp.
2019-01-02 20:29:21 -08:00
rdb
01915a36db Merge branch 'master' into deploy-ng 2018-12-26 23:41:50 +01:00
rdb
b7e7986198 deploy-ng: rewrite relative dependencies in macOS dylibs 2018-12-26 23:18:17 +01:00
rdb
3a2a29a1aa deploy-ng: catch more egg2bam errors with Python 2.7 2018-12-26 22:54:19 +01:00
rdb
6b27dae24d deploy-ng: add hidden imports for numpy on macOS 2018-12-26 22:54:01 +01:00
Mitchell Stokes
950ffd6eb8 deploy-ng: Add https://archive.panda3d.org/simple/opt as an optimized wheel index for release builds
Fixes #469
2018-12-24 12:05:39 -08:00
rdb
d28e99db82 directscripts: some fixes for C++ API reference 2018-12-23 16:24:38 +01:00
rdb
c0c202a423 directscripts: bring Python documentation generation up-to-date
Fixes #484
2018-12-23 15:50:00 +01:00
rdb
a0a2bf59bb actor: remove commented-out code that is confusing doxygen 2018-12-23 15:42:43 +01:00
rdb
0668509791 stdpy: remove commented-out method that is confusing Doxygen 2018-12-23 15:42:31 +01:00
Mitchell Stokes
88fc3d4ca3 deploy-ng: Add --skip-build and --dist-dir options to bdist_apps
dist-dir defaults to 'dist' like sdist and bdist_wheel, which makes
bdist_apps more consistent with the rest of the Python ecosystem.
2018-12-22 14:13:40 -08:00
Mitchell Stokes
ec3c2ad25a deploy-ng: Add __init__.py to direct.dist 2018-12-19 18:52:09 -08:00
rdb
92539a3107 dcparser: rebuild dcParser.{cxx,h}.prebuilt 2018-12-19 13:14:21 +01:00
rdb
e4f493b872 dcparser: use vector_uchar for blobs, step towards Python 3 compat
Closes #298
2018-12-19 12:45:32 +01:00
Mitchell Stokes
587237577f deploy-ng: Move distribution related files from direct.showtutil to direct.dist 2018-12-18 20:33:12 -08:00
Mitchell Stokes
d98301b8d3 deploy-ng: Add direct.particles.ParticleManagerGlobal as hidden import for direct.particles
Fixes #481
2018-12-18 19:03:08 -08:00
rdb
4c0fa1e75d Merge branch 'master' into deploy-ng 2018-12-16 22:36:45 +01:00
rdb
3a3cb01148 showbase: return Transitions fade to aspect2d, fix focus issue
This implements a slightly different solution for #311 that maintains the behaviour for the fade screen to prevent clicks from propagating to the geometry below it.

Fixes #475
Fixes #311
2018-12-16 18:43:31 +01:00
rdb
b11debcf3d pfreeze: fixes for Python 3.7
See python/cpython#5432 - imp module now has the proper name
The DL_IMPORT and DL_EXPORT macros seem to have been removed.
2018-12-16 15:32:18 +01:00
rdb
8a9cac8c49 deploy-ng: use proper patch matching for globs 2018-12-09 21:24:51 +01:00
rdb
083e3ecc74 deploy-ng: add DLL search directory for scipy wheel 2018-12-09 21:18:03 +01:00
Mitchell Stokes
09bbee8dea deploy-ng: Default platforms to a list of platforms instead of the host platform
The list is:
  * manylinux1_x86_64
  * macosx_10_6_x86_64
  * win_amd64

Of note, win32 is missing from this list. We can add it later if there
is desire.

Also of note, there is now no path to *not* using wheels. We will need
to evaluate if we want to keep this around and, if so, expose it as an
option to users.
2018-12-08 16:19:35 -08:00
rdb
192913bf8e freezer: work around Python modulefinder bug (bpo-35376) 2018-12-02 16:26:47 +01:00
rdb
c560c502b9 Merge branch 'master' into deploy-ng 2018-12-01 22:14:01 +01:00
rdb
7ed8b01a84 Merge branch 'input-overhaul' 2018-11-30 22:04:13 +01:00
rdb
d7124d4df4 Merge branch 'master' into deploy-ng 2018-11-29 12:57:49 +01:00
rdb
97d4e32a06 general: use nassert_raise instead of nassertv(false) et al
Even a brief error message in the assertion is infinitely more useful to a user who is not at home in the source code, especially for assertions that may reasonably be triggered by honest user mistakes.
2018-11-28 17:35:20 +01:00
rdb
26fcf131c9 Merge branch 'master' into input-overhaul 2018-11-25 17:10:31 +01:00
rdb
b1eec5fae0 CommonFilters: give passes a unique name for debugging/PStats 2018-11-20 00:39:47 +01:00
Mitchell Stokes
0c1572ce33 deploy-ng: Fix reference (e.g., texture) paths when using egg2bam
Fixes #277
2018-11-17 14:19:04 -08:00
rdb
ea832efb81 deploy-ng: fix run error with frozen attr module 2018-11-12 18:32:48 +01:00
rdb
3d7fcf2ce9 Merge branch 'master' into deploy-ng 2018-11-12 18:31:43 +01:00
Sam Edwards
a9dfd8352e general: Distinguish local/system includes
This changes includes so that local includes are consistently
#include "localFile.h"
while system and third-party includes are consistently
#include <systemFile.h>

This commit mostly converts the former to the latter; the two
exceptions are in android_main.cxx and fmodAudioSound.h, where
the reverse was necessary.
2018-11-10 18:00:10 -07:00
rdb
70bfe21a63 Merge branch 'master' into input-overhaul 2018-11-06 22:10:39 +01:00
rdb
a799bcaec9 Merge branch 'master' into deploy-ng 2018-11-03 22:51:32 +01:00