24365 Commits

Author SHA1 Message Date
rdb
2bf60b4361 Remove Python 3.4 from setup.cfg
Now that we dropped support for Windows XP, we can no longer guarantee support for all Windows versions that Python 3.4 supports.

Also see #548.
2020-01-13 16:36:02 +01:00
rdb
246e73e325 framework: fix a debug output not protected by is_debug() check 2020-01-13 16:27:58 +01:00
rdb
b9aa4f2448 dxgsg9: fix debug messages not protected by is_debug() check 2020-01-13 16:27:48 +01:00
rdb
8d472dfbcc makepanda: remove unused 2to3 code in CopyPythonTree
We haven't needed this for a while since the direct tree is both Python 2 and 3 capable, and furthermore, Python 2.7 is EOL and will be dropped soon in Panda3D.
2020-01-13 16:15:44 +01:00
rdb
0b0f3d2f8e dxgsg9: drop support for old dxerr9.lib (part of #433)
This drops support for the *really* old DX SDKs.  We still support the June 2010 SDK.
2020-01-13 16:00:31 +01:00
rdb
4c1373b721 makepanda: default to Windows 8.1 SDK, falling back to 7.1 SDK
We no longer support Windows XP and so there is no point in defaulting to the old 7.1 SDK, which is hard to install.  To target Vista, we can use the 8.1 SDK (+UCRT).
2020-01-13 15:27:56 +01:00
rdb
601fc8f46a dtool: remove obsolete PandaVersion.pp
This file was used by ppremake and is no longer used by makepanda.
The version number should instead be obtained from the setup.cfg file in the root.
2020-01-13 15:14:21 +01:00
rdb
492073cc87 makepanda: fix comments erroneously referring to PandaVersion.pp 2020-01-13 15:13:35 +01:00
rdb
640683cdb9 Merge branch 'release/1.10.x' 2020-01-13 15:12:55 +01:00
rdb
1bb4a032aa Drop support for Windows XP 2020-01-13 15:06:44 +01:00
rdb
2960ae60e2 Bump version number on release/1.10.x branch to 1.10.6
[skip ci]
2020-01-13 15:05:39 +01:00
rdb
2fd703af6c makepanda: fix using Windows 8.1 SDK (which also requires UCRT) 2020-01-13 15:02:36 +01:00
Sam Edwards
572019bd50 CMake: Remove reference to PhysX 2020-01-12 13:53:26 -07:00
Sam Edwards
ed771e3c8e doc: Update CMake's README 2020-01-12 12:13:23 -07:00
Sam Edwards
151d51ef09 CMake: Autodetect THIRDPARTY_DIRECTORY when in source root 2020-01-12 12:02:22 -07:00
Sam Edwards
d0b8593e96 workflow: Switch macOS-10.14 to macOS-latest
GitHub Actions is deprecating the former on the 15th
2020-01-12 11:04:03 -07:00
Sam Edwards
7331692ae1 CMake: Generate consistent paths in 20_panda.prc on all platforms 2020-01-11 19:39:43 -07:00
Sam Edwards
28b85d2f58 CMake: Work around CMake issue 20206 2020-01-10 16:48:59 -07:00
Sam Edwards
a1d43f7b88 CMake: Fix WANT_PYTHON_VERSION not always being respected 2020-01-08 21:03:52 -07:00
Sam Edwards
3104bf3710 CMake: Fix issue with HAVE_X safety checks falsely failing 2020-01-08 20:13:34 -07:00
Sam Edwards
1204de6e09 CMake: Set CMP0072 (prefer glvnd over direct libGL link) 2020-01-08 17:02:14 -07:00
Sam Edwards
6214f8fd60 workflow: Use ccache to accelerate CMake build 2020-01-08 13:14:48 -07:00
Sam Edwards
b946b29f37 workflow: Pass --parallel to cmake --build 2020-01-08 11:23:00 -07:00
rdb
da0fe8be3e readme: change link to 1.10.5 release
[skip ci]
v1.10.5
2020-01-08 04:15:52 +01:00
rdb
6f782ce519 pnmimage: don't return values larger than 1.0f from from_val() 2020-01-08 03:30:27 +01:00
Sam Edwards
ce6caa8d3e CMake: /etc/*.prc -> /etc/panda3d/*.prc 2020-01-07 17:04:30 -07:00
rdb
da9d1d6a13 makepanda: silently ignore --no-rocket and --no-physx flags 2020-01-07 22:19:55 +01:00
rdb
b212d254d0 Merge branch 'release/1.10.x' into incoming 2020-01-07 22:09:59 +01:00
rdb
a50d375c35 dgui: fix DirectSlider regression on Python 2 2020-01-07 22:07:39 +01:00
rdb
09bddf4315 physx: remove support for NVIDIA PhysX
Our support was stuck on an ancient version that has not been available for a while.  If we were to continue support it should be done around the new PhysX 5.0 API, not 2.8.4.
2020-01-07 21:57:22 +01:00
rdb
cae7d55c8d doc: add some more release notes for 1.10.5 2020-01-07 21:43:04 +01:00
rdb
6b12fbe6f2 dgui: show assertion when passing a NaN into DirectSlider
If we don't do this, we get an assertion somewhere in the bowels of the scene graph, which will be much less helpful for tracking down the origin of the NaN.
2020-01-07 21:41:04 +01:00
rdb
da8ba5de17 rocket: remove libRocket support and sample program
libRocket is unmaintained and does not support Python 3, and since Python 2.7 is EOL, there is no longer any point for us to keep supporting it.
2020-01-07 21:38:04 +01:00
rdb
c9fb371e87 device: correction for DualShock 4 support on Windows 2020-01-07 21:25:26 +01:00
Sam Edwards
0aa599feeb CMake: Take away the HAVE_TINYDISPLAY option
This is at least until we can support building it, so that
other components in Panda don't assume TINYDISPLAY is present.
2020-01-07 13:16:51 -07:00
Sam Edwards
f75a8d03e0 CMake: Generate panda.prc with notify-level warning when not Debug 2020-01-07 13:11:42 -07:00
Sam Edwards
4a307f9cdf CMake: Generate panda.prc with the correct model-path
This also generates a second prc for installation purposes,
which has the correct paths once installed
2020-01-07 13:05:21 -07:00
Sam Edwards
fd94a33c56 CMake: When compiling Python to .pyc, optimize with -O
Distros seem to prefer having opt-1 Python modules and don't care
as much about the opt-2.
2020-01-07 11:34:34 -07:00
Sam Edwards
1eaf1654cd CMake: Don't build egg-mkfont without Freetype 2020-01-07 11:34:34 -07:00
Sam Edwards
69ff54a3d4 CMake: Break up "GLES" component into OpenGLES1/OpenGLES2 2020-01-07 11:34:34 -07:00
Sam Edwards
ef238ca1fd workflow: Just skip the Windows unity build for now 2020-01-07 11:34:34 -07:00
rdb
27fe133df5 device: attempt to fix DualShock 4 analog axis mapping 2020-01-07 15:23:14 +01:00
rdb
1c4773a8e4 dist: move "import pip" from module level to download_wheels
The aim of this is that pip is no longer a dependency to be able to run test_imports.
2020-01-07 14:52:06 +01:00
LD
201f9a48be dist: Also use copy_with_dependencies() for executables to flatten their dependencies
Closes #837
2020-01-07 14:50:38 +01:00
LD
a56b85dbed cocoadisplay: Fix switch to fullscreen on macOS 10.9 using current display resolution 2020-01-07 14:09:05 +01:00
Sam Edwards
4aff603925 general: Reset back to master's travis, add CMake jobs to ci.yml 2020-01-06 17:22:03 -07:00
Sam Edwards
e08896deb7 CMake: Update panda3d/__init__.py
- Python 2.7 EOL warning is now past tense
- Use os.add_dll_directory() when available (instead of hacking up PATH)
2020-01-06 17:12:37 -07:00
Sam Edwards
b739919fe4 CMake: Update FindFFMPEG to locate static ffmpeg dependencies too 2020-01-06 17:12:10 -07:00
Sam Edwards
c39bda57a0 CMake: On Apple, silence build-time OpenGL deprecation warnings 2020-01-06 17:12:05 -07:00
Sam Edwards
f92b88f35b CMake: Omit Interrogate-generated sources from unity builds
This fixes an include path error when building under a
multi-configuration generator and with CMake 3.16+
2020-01-06 17:12:00 -07:00