rdb
b272af8bbf
Merge branch 'cmake'
2020-01-22 11:20:51 +01:00
rdb
26b86dfe5f
Merge branch 'release/1.10.x'
2020-01-22 11:20:24 +01:00
rdb
b573cc3587
cocoa: fix compilation issues with new NSCursor hotspot code
...
See #849
2020-01-22 09:47:58 +01:00
Sam Edwards
f5b6761128
CMake: Don't build socket_tcp_ssl.* anymore (deleted upstream)
2020-01-21 18:25:17 -07:00
Sam Edwards
36e06236a9
CMake: Remove IS(_NOT)_DEBUG_BUILD
2020-01-21 17:42:17 -07:00
rdb
68a4031b22
pnmimagetypes: unexpose PNMFileType* classes
...
They are not exposed to Python, and I cannot think of a good reason to use these classes directly in C++ code.
Call init_libpnmimagetypes() to register these classes with the PNMFileTypeRegistry instead.
2020-01-21 15:38:17 +01:00
rdb
876cb60220
char/chan: clean up MovingPartScalar/CharacterSlider constructors
...
These changes are a follow-up to 8b6f82256e but could not be made on that branch due to ABI compatibility reasons.
2020-01-21 15:34:33 +01:00
rdb
05d5bac598
Merge branch 'release/1.10.x' into incoming
2020-01-21 15:34:25 +01:00
Donny Lawrence
4f4b14dd2b
cocoadisplay: Use hotspot read from .cur files
...
Previously, the cursor's hotspot defaulted to (0,0). Fixes #845 .
Closes #849
2020-01-21 14:53:19 +01:00
Donny Lawrence
17dddeedc4
device: Fix 10.15 segfault on USB hotplug
...
For some reason, IOHIDDeviceRegisterRemovalCallback() no longer works on
10.15+, so an app will crash once trying to poll a device that doesn't
exist anymore. Thankfully, there is the alternative solution of using
IOHIDManagerRegisterDeviceRemovalCallback(). This just required a little
rearranging of the callback code, as well as keeping track of the
connection between IOHIDDeviceRefs and IOKitInputDevices so we actually
know which device to remove.
Closes #847
2020-01-21 14:52:01 +01:00
rdb
8222255b3b
vrpn: make inline methods that call into VRPN non-inline
...
This prevents things that link with VRPN and use these VRPN functions from needing to link with VRPN directly.
2020-01-21 14:45:27 +01:00
rdb
4819e2ce3a
nativenet: drop unused Socket_TCP_SSL
...
This removes the dependency of libpanda on OpenSSL.
2020-01-20 11:56:27 +01:00
rdb
8b6f82256e
char: allow creating CharacterSlider with default value
2020-01-20 00:43:50 +01:00
rdb
98268b59c0
chan: publish AnimChannelScalarTable constructor
2020-01-20 00:32:49 +01:00
Donny Lawrence
28711814e7
device: Replace erroneous && with ||.
2020-01-15 16:04:37 -06: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
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
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
Sam Edwards
7331692ae1
CMake: Generate consistent paths in 20_panda.prc on all platforms
2020-01-11 19:39:43 -07: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
b212d254d0
Merge branch 'release/1.10.x' into incoming
2020-01-07 22:09:59 +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
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
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
69ff54a3d4
CMake: Break up "GLES" component into OpenGLES1/OpenGLES2
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
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
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
c39bda57a0
CMake: On Apple, silence build-time OpenGL deprecation warnings
2020-01-06 17:12:05 -07: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
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
rdb
389cc4bfdb
Merge branch 'release/1.10.x'
2020-01-06 03:25:22 +01:00
LD
f68604a3f5
cocoadisplay: Fix regression introduced by 45461e667a
...
Closes #829
2020-01-05 23:01:49 +01:00
rdb
399797d0b1
physics: fix assertions when particles get very large positions
...
Fixes #822
2020-01-04 21:13:49 +01:00
rdb
a8a775ad09
Merge branch 'release/1.10.x'
2020-01-04 02:49:28 +01:00
rdb
0e1b524885
gobj: fix Material ambient/diffuse/specular when reading from bam
...
Fixes #828
2020-01-04 01:21:54 +01:00
rdb
24783924d0
pgraph: fix int return from bool method
2020-01-04 01:21:54 +01:00
rdb
135931c926
pgraph: fix faulty comparison code of ShaderInput vectors
2020-01-03 22:00:09 +01:00
rdb
fe1ecd5e79
pgraph: fix ShaderInput ordering for vector inputs with small floats
...
Fixes #827
2020-01-03 18:48:23 +01:00
rdb
2b9cc61d04
grutil: fix wrong method name in LineSegs docstrings
2020-01-02 00:36:29 +01:00
rdb
afd7fc8a25
dxgsg9: don't try to Release() vertex buffer if it failed to create
2019-12-31 17:15:07 +01:00
LD
ff1a2632bd
cocoa: Remove now useless respondsToSelector for setWantsBestResolutionOpenGLSurface
...
Closes #820
2019-12-30 03:07:15 +01:00
Leandro (Cerberus1746) Benedet Garcia
12f8363284
linmath: support round(), floor(), ceil() in vector classes
...
Closes #821
2019-12-30 03:06:00 +01:00