24294 Commits

Author SHA1 Message Date
Derzsi Dániel
9455fb3f73 dgui: resolve DirectFrame regression
Closes #810
2019-12-20 11:44:25 +01:00
rdb
3c3eee2295 glgsg: attempt to fix stereo FBOs in OpenGL ES 2 (#815) 2019-12-18 18:01:42 +01:00
rdb
a57df32037 Change macOS CI workflow to use 1.10.5 thirdparty with C++ packages 2019-12-18 18:01:02 +01:00
rdb
4bc97420be makepanda: forbid building for pre-10.9 versions (as per #300) 2019-12-18 18:00:57 +01:00
rdb
f1575eafbc dist: set default platform tag for macOS to macosx_10_9_x86_64
This is in accordance with #300.  It will still pick macosx_10_6_x86_64 wheels if the 10.9 wheels are not available.
2019-12-18 18:00:51 +01:00
rdb
390abac276 Merge branch 'release/1.10.x' 2019-12-18 18:00:41 +01:00
rdb
72c5555dc0 device: invert digitizer Y axis on Linux to match Windows
It may intuitively feel upside down, but the current behaviour actually matches base.mouseWatcherNode, so this is probably the most consistent thing to do.
2019-12-18 17:55:44 +01:00
rdb
02b0fe0063 installpanda: add note about needing to call "sudo ldconfig"
This note only appears when not using --destdir

This should help avoid user confusion (such as in #818)

[skip ci]
2019-12-18 17:03:44 +01:00
rdb
b6161a68ad readme: update macOS thirdparty link to 1.10.5
[skip ci]
2019-12-18 09:22:30 -05:00
rdb
8e6ae703c1 dist: use macosx_10_9_x86_64 by default for Python 3.8+
This is because Python 3.8 is only available for macOS 10.9+, and no longer for 10.6.
2019-12-18 09:10:58 -05:00
rdb
8645e9d2a4 makepanda: distinguish macOS 10.6 from 10.9 libs in thirdparties
This is specifically for C++ thirdparty libraries, which are linked against either libc++ or libstdc++, and can now both be present in the thirdparty download, in order to address #584

This is a temporary fix for 1.10.5 that will not be present on master (due to #300)
2019-12-18 09:06:15 -05:00
rdb
0456fdcd92 makepanda: update CommandLineTools paths for newer XCode versions 2019-12-18 08:42:43 -05:00
rdb
4c62260291 makepanda: add -framework AudioUnit for OpenAL Soft (#678) 2019-12-18 08:41:58 -05:00
rdb
0b52241e95 stdpy: return number of bytes from write() method 2019-12-17 22:58:12 +01:00
rdb
986b803e71 device: recognize digitizers and pressure axis as well in evdev
Note that the Y axis is still inverted compared to on Windows; we need to decide what convention to follow here.
2019-12-17 22:56:26 +01:00
rdb
b67c7dd84f device: support digitizers via Win32 raw input API 2019-12-17 22:33:27 +01:00
rdb
25217d9f73 Merge branch 'release/1.10.x' 2019-12-11 18:03:39 +01:00
rdb
2801165db3 tests: add unit tests for DirectFrame 2019-12-11 18:02:17 +01:00
max
2ca37b8c97 dgui: refactor code common to DirectFrame setGeom, setImage, setText
Closes #776

Co-authored-by: rdb <git@rdb.name>
2019-12-11 17:57:15 +01:00
Aidan Noll
49f423822d net: switch some socket operations from std::string to vector_uchar
Closes #753
2019-12-11 17:10:32 +01:00
rdb
0e56ddc438 cocoa: remove pre-10.6 code 2019-12-11 17:05:51 +01:00
Brian Lach
48ff3aeb08 pgraph: use bit flags instead of incremental enum for ShaderAttrib flags
The flags in the enum are actual bit flags instead of indices. This allows for setting/clearing a mask of flags in one go, rather than having to set each flag in its own function call. Existing code shouldn't be affected.

Closes #688
2019-12-11 16:49:42 +01:00
leotada
636c3d044a bullet: change wheel get/setSteering to use degrees
Fixes #757
Closes #784
2019-12-11 16:49:42 +01:00
pmp-p
8615e25a12 interrogate: use fully qualified module name in PyModule_Create
This is helpful when static linking and explicitly initializing the modules.

Closes #308
2019-12-11 16:49:42 +01:00
hitesh4
cf4d418f2f tests: add unit tests for GeomVertexReader
Closes #604
2019-12-11 16:49:34 +01:00
rdb
c3052f3ae0 dist: support implicit namespace packages (as per PEP 420)
Fixes #778
2019-12-11 16:10:46 +01:00
rdb
a503e9439e test_wheel: only install colorama on Windows 2019-12-11 15:25:15 +01:00
rdb
1568d1c6b1 test_wheel: workaround to keep this working on Python 3.4 for now
colorama dropped Python 3.4 (see tartley/colorama#228) but pip is not smart enough to lock to an older version.
2019-12-09 09:50:39 +01:00
Sam Edwards
86e3e6e166 shader: Fix missing include 2019-12-08 14:30:21 -07:00
rdb
406268c2e9 shader: use specific PStatCollector and group markers for shader compile
This makes it possible to determine which shader is taking which amount of time to compile.
2019-12-08 15:19:38 +01:00
rdb
9565d99fab Merge branch 'release/1.10.x' 2019-12-08 15:18:51 +01:00
rdb
55f624e073 windisplay: add a variable to disable Panda's message pump
This is particularly important for Tcl/Tk, which assumes it is in charge of the Windows event loop.

Fixes #586
2019-12-08 15:04:06 +01:00
rdb
b43b0c9fad dist: ship regular "distutils" even when in PyPI "virtualenv" env
Fixes #747
2019-12-08 12:42:05 +01:00
kamgha
6e36abf5ba makepanda: build against OpenEXR 2.4 (MSVC)
Fixes #799
Closes #800
2019-12-08 10:29:44 +01:00
rdb
97a19c278b parser-inc: define __SIZE_TYPE__ and __PTRDIFF_TYPE__
This fixes an Interrogate parse error in termux when /usr/include gets added as -S argument
2019-12-08 10:28:50 +01:00
rdb
4f4b79295f makepanda: fix error when building on Android without specifying --target 2019-12-07 14:32:09 +01:00
Sam Edwards
e474350a48 CMake: Add a "Coverage" configuration, when using GCC/Clang 2019-12-05 10:35:25 -07:00
Sam Edwards
4000199acb CMake: Fix Bullet building under clang-cl 2019-12-05 10:34:48 -07:00
Sam Edwards
6bde9423df CMake: Don't pass GNU-like -f options to clang-cl 2019-12-05 10:34:47 -07:00
Sam Edwards
5c98b793a2 CMake: Make sure C++11 is marked as the required standard 2019-12-05 10:34:47 -07:00
Sam Edwards
cfedd71093 CMake: Disable searching macOS frameworks when using THIRDPARTY_DIRECTORY 2019-12-05 10:34:47 -07:00
Sam Edwards
bc152f665c CMake: Escape $<LINK_ONLY> in exported packages file 2019-12-05 10:34:47 -07:00
LD
791be4766a MacOS: Don't crash if no elements are returned by IOHIDDeviceCopyMatchingElements
Fixes #797
2019-12-03 23:26:25 +01:00
Leandro Benedet Garcia
71dfc51f8a general: Changed macros and definitions for the engine to compile with MinGW (#793) 2019-12-02 09:21:01 -07:00
LD
f72c72b36a MacOS: Force disable application HiDPI support on NSView, fixes #794 2019-11-29 10:07:48 +01:00
rdb
77eeed6a82 makepanda: discourage targeting macOS older than 10.9 (as per #300) 2019-11-28 22:30:34 +01:00
rdb
1ea8c9f299 Merge branch 'release/1.10.x' 2019-11-28 22:28:31 +01:00
rdb
d8481e7d22 Update BACKERS.md
[skip ci]
2019-11-28 22:23:11 +01:00
Sam Edwards
23f779e799 downloader: Simplify HTTPDate's timezone-correction code 2019-11-27 11:45:08 -07:00
Leandro Benedet Garcia
ae33d62978 general: Update EXPCL declarations to be MinGW-friendly (#792) 2019-11-27 11:25:24 -07:00