24393 Commits

Author SHA1 Message Date
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
Sam Edwards
bff568798f CMake: Make FindAssimp pull in libIrrXML as well, if found 2020-01-06 17:11:31 -07:00
rdb
ec5f9128e8 Add Python 3.8 to GitHub CI workflow 2020-01-06 21:08:14 +01:00
rdb
651cf189fc display: remove CPUID ASM, use __get_cpuid(_max) (on macOS too)
I think this requires at least XCode 5.
2020-01-06 21:08:10 +01:00
rdb
81b33a7afa Merge branch 'release/1.10.x' 2020-01-06 21:06:57 +01:00
rdb
b245c480c0 dist: fix ModuleFinder reading .pyc files in Python 2.7-3.3, 3.7 and 3.8
Fixes #836
2020-01-06 21:05:22 +01:00
LD
f09ee92582 dist: glob pattern must be lowercase as it is compared to lowercase filenames
Closes #832
2020-01-06 18:18:04 +01:00
LD
bd5841781c dist: Add missing dependency for CEFPython on macOS
Closes #835
2020-01-06 18:18:04 +01:00
LD
8d0d733da8 dist: Flatten also @rpath/ dynamic library references
Closes #834
2020-01-06 18:18:04 +01:00
rdb
bf6dbefdd2 display: fix get_cpuid_max clobbering %rbx (fixes Py 3.8 crash on macOS)
This could cause a crash when constructing a GraphicsPipe() under some conditions (observed in Python 3.8).  Credit goes to @CFSworks for tracking this down.
2020-01-06 18:18:02 +01:00
Nathan S
b78f0b0881 device: add support for DualShock Gen 2 (PS4) controllers on Windows
Closes #831

Co-authored-by: rdb <git@rdb.name>
2020-01-06 16:17:02 +01:00
LD
87a1be4d4e makepackage: Add warning in macOS installer about change of installdir
Closes #830
2020-01-06 16:17:02 +01:00
rdb
aad8b45df4 makepanda: update Python 2.7 EOL warning 2020-01-06 03:34:07 +01:00
rdb
d21d58f12c makepackage: don't install Python 2.7 bindings by default in installer 2020-01-06 03:32:01 +01:00
rdb
4032560e51 makepanda: use Python 3.8 by default in makepanda.bat
Fall back to Python 3.7, but never to 2.7, since it is EOL
2020-01-06 03:25:35 +01:00
rdb
389cc4bfdb Merge branch 'release/1.10.x' 2020-01-06 03:25:22 +01:00
rdb
ca89b7420a Update Python 2.7 EOL warnings to indicate that EOL date is reached
[skip ci]
2020-01-06 00:36:49 +01:00
LD
f68604a3f5 cocoadisplay: Fix regression introduced by 45461e667a84b793048db0092596b5c23dbe6b38
Closes #829
2020-01-05 23:01:49 +01:00
rdb
8137bea8f8 makepackage: fix regression in MakeInstaller on Windows 2020-01-05 18:52:26 +01:00
rdb
399797d0b1 physics: fix assertions when particles get very large positions
Fixes #822
2020-01-04 21:13:49 +01:00
rdb
b7017669a1 makepackage: fix None installdir when not passing in any on macOS 2020-01-04 14:14:12 +01:00
rdb
c28ab63481 doc: add release notes for Panda3D 1.10.5 2020-01-04 02:59:07 +01:00
Donny Lawrence
2d4647ea33 makepackage: Change macOS install location
Starting with macOS 10.15, we can no longer install into /Developer/Panda3D due
to it not being one of the sanctioned writable directories. This commit changes
the default install location to /Library/Developer/Panda3D, which is the next
best place to put it (discussion on this can be found in #760).

To keep compatibility with those who may rely on the old location, some
postinstall scripts have been added that create symlinks to the new location
if running on 10.14 or older.

Fixes #760
Closes #825
2020-01-04 02:57:21 +01:00