Commit Graph

24723 Commits

Author SHA1 Message Date
rdb 1db3bb4ee6 dmodels: Delete dmodels tree, merge into models folder instead
Also eliminates need for flt2egg at build time

Fixes #1075
2020-12-29 18:40:49 +01:00
rdb bc7063be42 filter: Change default sort to come after shadow passes
Fixes #1036
2020-12-29 17:31:15 +01:00
Daniel 74a4648965 mayaprogs: Completely refactor the maya2egg server
The maya2egg_server utility is no longer a separate utility. To run the maya2egg_server (now Maya conversion server), use `maya2egg -server` or `egg2maya -server`.

Two new utilities have been added: `maya2egg_client` and `egg2maya_client`. Both of them are Maya version independent, and do not rely on any Maya libraries. However, they're only built with SDKs that already come with the Maya binaries, as the server makes its own assumptions about the current working directory (the client and the server are expected to be on the same machine.)

A new feature has been added to ProgramBase: an `exit_on_complete` flag, which allows you to parse the command line without exiting the program upon a failure or a help command.

In addition to this, a getopt bug has been fixed in ProgramBase: It is now possible to clear the state of the Panda implementation of getopt, making it possible once again to parse command line arguments twice in a row.

Closes #1025
2020-12-29 16:16:36 +01:00
Mitchell Stokes 33d688ec08 bdist_apps: Allow specifying custom installers with entry points
The entry point is 'panda3d.bdist_apps.installers'. The installer will
get added to bdist_apps.installer_functions.

Closes #1060
2020-12-29 16:08:32 +01:00
Mitchell Stokes d015b7e2f1 bdist_apps: Support user-defined installers
Custom installers can be added by specifying a build function in
bdist_apps options:

'installer_functions': {
    'custom': custom_func
}

Installer functions must accept three arguments:

  * command - the bdist_apps setuptools command function (can be used to
        gather build information)
  * basename - name of the output file (minus extension)
  * build_dir - path to the directory containing the built application
2020-12-29 16:08:18 +01:00
rdb 2461fc0917 CMake: Remove accidental debug message 2020-12-29 16:06:22 +01:00
rdb 6c3e13d19d dist: Remove version checks for Python versions before 3.5 2020-12-29 14:50:41 +01:00
rdb 41f67bbe1f sceneeditor: Remove version checks for Python pre-3.0 2020-12-29 14:50:05 +01:00
rdb ad7711788e travis: Add dummy configuration for master
Apparently we need a dummy travis configuration on the master branch, so that we can tell it not to build the master branch.
2020-12-29 14:45:23 +01:00
rdb 25b79a2aef Merge branch 'release/1.10.x' 2020-12-29 14:44:56 +01:00
rdb d3ebeee058 sceneeditor: Fixes for missing/extraneous/misplaced imports 2020-12-29 14:40:49 +01:00
rdb 58b9de70c1 travis: Only build release branch 2020-12-29 13:50:56 +01:00
rdb 2c209e0f02 stdpy: Fix direct.stdpy.pickle module for Python 3 2020-12-29 13:05:00 +01:00
rdb 7d5fee3066 Update version number on release/1.10.x branch to 1.10.9 2020-12-29 12:50:02 +01:00
rdb fff0a67189 makepanda: better support building with FMOD Ex on macOS for now
This means preferring the 10.13 SDK except when targeting arm64 (in which case FMOD Ex is disabled with a warning).
2020-12-28 18:52:02 +01:00
rdb e9c7d345df display: Move GraphicsPipe::_detected_display_zoom to class member 2020-12-28 16:31:23 +01:00
rdb b38e9d552a Merge branch 'release/1.10.x' 2020-12-28 16:26:48 +01:00
rdb 90fb31ac21 ffmpeg: Fix crash cleaning up audio/video context 2020-12-28 16:23:04 +01:00
janEntikan 5dc5d009c1 extensions_native: fix missing include for subdivideCollision()
Closes #1084
2020-12-28 15:36:02 +01:00
rdb f2e66a280c deploy-stub: Fix immediate exit on Windows if no log_filename is set 2020-12-28 15:27:56 +01:00
rdb 21aa31f8c0 gobj: Fix build error on Windows 2020-12-28 12:07:17 +01:00
rdb d39d40b1fc readme: Update version number in download link to 1.10.8
[skip ci]
2020-12-27 11:06:21 +01:00
rdb e7a6d735e3 dgui: Add "versionadded" to docstrings of newly added methods 2020-12-27 10:48:12 +01:00
rdb 2b0a6b995a display: Add a way to query system DPI scaling
See #426
2020-12-26 16:25:51 +01:00
rdb 2156e6deb2 Merge branch 'release/1.10.x' 2020-12-26 14:00:29 +01:00
rdb d5c2dc6447 dgui: Add setTextPos, etc. aliases for setPos
setPos will be deprecated in a future version.

See #1041
2020-12-26 13:59:19 +01:00
rdb 55d43a1d57 device: Fix macOS crash when unplugging device in threaded pipeline
Fixes #1082
2020-12-26 12:46:45 +01:00
rdb 5fd6436df5 doc: Update release notes for 1.10.8
[skip ci]
2020-12-25 00:25:33 +01:00
rdb 84a6e900af dist: Fix error using build_apps in Python 2.7 2020-12-25 00:24:01 +01:00
rdb 030bdd1d34 dist: Work around stdlib bug causing erroneous missing module warnings 2020-12-24 20:52:10 +01:00
rdb 4b7c11059d dist: Ignore some missing modules 2020-12-24 20:46:33 +01:00
rdb d2a7481181 dist: handle SyntaxError in imported module 2020-12-24 20:46:13 +01:00
rdb 4e6395e07a dist: Fix line of code that mysteriously disappeared 2020-12-24 19:17:44 +01:00
rdb 9a20d4713f showbase: Remove unused C++ runtestFullscreenSizes interface
If there is a need for this, we can implement it properly in GraphicsWindow (open an issue or comment in #1014 if you are affected by this, please)

See #1014
2020-12-24 15:31:56 +01:00
rdb a3010a43a5 Merge branch 'release/1.10.x' 2020-12-24 15:31:52 +01:00
rdb 4cf32bece3 doc: Update release notes for 1.10.8
[skip ci]
2020-12-24 15:30:17 +01:00
rdb 86937c7bb9 dist: Check if entire directory should be skipped
This is functionally equivalent, but reduces the message spam in verbose mode, and perhaps is a little faster
2020-12-24 14:19:17 +01:00
rdb adbeea33fb dist: Warn if picking up binary dependency from outside a wheel 2020-12-24 14:16:40 +01:00
rdb 8bb0de52b7 dist: Add additional ignored system libraries for Windows 2020-12-24 14:15:58 +01:00
rdb 012661e1ba dist: Add more ignore libraries for macOS
This is the full list of libraries that occur both in the 10.6 SDK and the 11.1 SDK.
2020-12-24 13:23:58 +01:00
rdb 4a62cc13be makewheel: Set --force-rpath when calling patchelf
This is necessary to avoid the creation of a DT_RUNPATH instead of DT_RPATH.  DT_RUNPATH does not have the desired behaviour.
2020-12-24 13:22:00 +01:00
rdb 5c98c6fb71 makepanda: accept arm64 as alias for aarch64 when building for Android 2020-12-24 13:21:35 +01:00
rdb 35b7ef0dcb shader: Add additional mode-based texture inputs to GLSL shaders
This adds the following inputs:
  p3d_Texture[] (as alternative to p3d_Texture0, etc.)
  p3d_TextureFF[]
  p3d_TextureModulate[]
  p3d_TextureAdd[]
  p3d_TextureNormal[]
  p3d_TextureHeight[]
  p3d_TextureSelector[]
  p3d_TextureGloss[]
  p3d_TextureEmission[]
2020-12-23 18:20:43 +01:00
rdb 05876317cf Add TextureStage::M_emission mode
This is similar to M_glow, except that the emission factor is in the RGB channels.
2020-12-23 17:33:59 +01:00
rdb 1b8c4e0029 dtoolutil: Fix compile warning in ExecutionEnvironment 2020-12-22 23:14:59 +01:00
rdb b73052260c workflow: Fix GitHub Actions CI with latest thirdparty packages 2020-12-22 16:48:30 +01:00
rdb 4747e6e4df CMake: Fix CMAKE_CONFIGURATION_TYPES not including Coverage
Coverage is added based on the value of CMAKE_CXX_COMPILER_ID, which isn't known until after the project() call.

This fixes a regression in f26f7d2226
2020-12-22 16:48:12 +01:00
rdb 131ae98bfd Merge branch 'release/1.10.x' 2020-12-22 16:45:24 +01:00
rdb 30bca7a119 dtoolutil: fix ExecutionEnvironment::has_environment_variable() for shadowed var
Fixes MAIN_DIR being set more than once (which seems to avoid a compiler bug in an opt4 build).
2020-12-22 16:22:45 +01:00
rdb 8f9ca34eec makepackage: Don't write Sample Programs to start menu in Win 8/10
The start menu in newer versions of Windows doesn't show any hierarchy, making this utterly unreadable and useless.
2020-12-22 16:21:55 +01:00