Commit Graph

23752 Commits

Author SHA1 Message Date
rdb a9d6d3be46 interrogate: refactor default argument handling 2018-12-26 22:47:14 +01:00
Donny Lawrence f29643dd14 cocoa: Prevent a deadlock when using SIMPLE_THREADS on macOS
Closes #491
Fixes #490
2018-12-26 22:47:14 +01:00
rdb 862906b86d makepackage: install for multiple Python versions on Windows
See #441
2018-12-24 21:38:46 +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 94d1722c8c makepanda: add --no-copy-python flag for Windows build
This will avoid copying over the python installation to the built/python directory.
2018-12-24 20:51:20 +01:00
rdb d180be2acc makepackage: build macOS installer for multiple Python versions
See #441
2018-12-24 13:50:12 +01:00
Donny Lawrence 0fa0ad673f cocoa: use CVDisplayLink on macOS to sync video to display(s)
Closes #487
Fixes #486
2018-12-24 13:36:13 +01:00
rdb 8a38337e6b makepanda: fix model cache written in current dir on macOS
This was a regression in 2b537d2263 that caused the model-cache to be written to ./Library/Caches rather than $HOME/Library/Caches
2018-12-24 00:17:02 +01:00
rdb 69decc17ff tests: raise GLSL version from 1.30 to 1.50 for compute shader 2018-12-23 22:28:52 +01:00
rdb 395b9733fb makepanda: when making Linux package, ship Python 2 and 3 bindings
See #441 for discussion.
2018-12-23 22:28:12 +01:00
rdb 8cb7f7d9c0 ffmpeg: don't hold AV lock while fetching first packet/frame
This allows loading multiple videos side-by-side more effectively.

Closes #397
2018-12-23 22:28:12 +01:00
rdb e2574af82d collide: create compatibility header collisionTube.h
This is a separate commit from the previous one in order not to confuse Git's rename tracking.
2018-12-23 22:28:12 +01:00
rdb bd6ef2b0ea Rename CollisionTube to CollisionCapsule (bam 6.44)
Adds ability to register "obsolete" names for certain types under older .bam versions, so that we are still able to write out old .bam files.

Fixes #347
2018-12-23 22:28:06 +01:00
rdb b40ecd6c51 general: fix some old-style docstring comment blocks 2018-12-23 16:27:08 +01:00
rdb 729a2364bc windisplay: remove unused WHQL stuff 2018-12-23 16:25:29 +01: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 a24c817144 interrogatedb: regenerate Python bindings 2018-12-23 15:46:09 +01:00
rdb 47188b47f6 interrogate: fix recording type of property in interrogatedb 2018-12-23 15:45:30 +01:00
rdb 256c8c5a23 interrogate: don't add space at end of command-line comment 2018-12-23 15:44:59 +01:00
rdb 6df8aede1f interrogatedb: add interrogate_element_is_sequence/mapping 2018-12-23 15:44:01 +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 9035b4a610 pgraph: don't bother calling xform() on empty BoundingVolume 2018-12-19 20:56:42 +01:00
rdb 837d3d6b6d tform: add properties to MouseWatcherRegion 2018-12-19 20:54:48 +01:00
rdb cbda6166a8 tform: fix MouseWatcherRegion area calculation
Fixes #233
2018-12-19 20:54:34 +01:00
rdb daa3100bf1 pgraph: mark TransformState as invalid in destructor
This, in combination with ebef9f3de8, makes it easier to catch issues in code that is accidentally letting get temporary TransformState objects get destroyed.  It does not affect release builds.
2018-12-19 20:47:57 +01:00
rdb ebef9f3de8 pgraph: add assertions to prevent invalid TransformState
If this commit is causing crashes in your code, it is probably exposing a bug in some other system that is assigning bad TransformState objects.
2018-12-19 20:45:57 +01:00
rdb 5cafe8552b gobj: add F_rg, F_rg16, F_rg32, F_rgb32 to TexturePeeker 2018-12-19 20:26:51 +01: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
rdb 840f28ef18 glgsg: fix framebuffer_copy_to_ram format for float framebuffers 2018-12-19 12:43:39 +01:00
Mitchell Stokes 88470106b6 Merge branch 'master' into deploy-ng 2018-12-18 20:44:16 -08: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 8dcb735f2b x11display: Release M_relative mouse when window loses focus
Fixes #480
2018-12-18 19:43:37 -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 11526852ed glgsg: add ability to get red/rg-only floating-point renderbuffers 2018-12-18 20:00:59 +01:00
Derzsi Dániel b7d638e53d
pgraph: fix BillboardEffect regression with older models
In older BAM files (version <= 6.42), _fixed_depth will have an uncertain value after loading, leading to incorrect transform calculations, which cause rendering issues (see issue #474)
2018-12-18 16:49:00 +02:00
rdb c0138930c9 makewheel: properly chmod libraries that have no write permissions
Seems to be necessary on macOS for install_name_tool to be able to work on some libraries.  Not sure why fchmod/fstat isn't working right.
2018-12-16 22:37:23 +01:00
rdb 4c0fa1e75d Merge branch 'master' into deploy-ng 2018-12-16 22:36:45 +01:00
rdb 6b8814f9c9 mathutil: add some properties for bounding volumes 2018-12-16 21:03:43 +01:00
rdb 65a86d1b3f shader: warn if GLSL shader does not contain #version line
Shaders without #version line (which are supposed to indicate GLSL 1.10) will be interpreted differently by different drivers, so this is almost certainly a mistake.  In the future, we can forbid this altogether or insert #version 110 automatically.
2018-12-16 21:01:38 +01:00
rdb 73452957ee gobj: better handle NaNs in vertex data when calculating bounds 2018-12-16 20:43:30 +01:00
rdb 7995d483ab py_panda: make standard_type_members static and internal 2018-12-16 18:46:30 +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 147bac69a7 travis: encrypt IRC channel name to prevent fork spam in IRC
[skip ci]
2018-12-13 09:30:05 +01:00
Sam Edwards c50bf63aee CMake: Fix showbase build error on macOS 2018-12-11 18:28:12 -07:00