24385 Commits

Author SHA1 Message Date
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
Sam Edwards
a37eabe089 CMake: Set generated prc's model-cache-dir properly for Windows/macOS 2019-11-25 03:03:03 -07:00
rdb
1cfd297433 makepanda: specify freetype library after harfbuzz as well
This fixes static linking of harfbuzz and freetype, which have a circular dependency on each other.
2019-11-17 20:37:33 +01:00
rdb
92476a3788 dist: fix exception when module has None __path__ 2019-11-17 20:36:40 +01:00
Sam Edwards
4556059c90 CMake: Use find_program to detect host tools when cross-compiling
In the future, we should also try to do find_package(Panda3D) to use
the host tools even if Panda3D isn't in a system path.
2019-11-13 15:30:26 -07:00
Sam Edwards
f377bdfb29 CMake: Copy thirdparty/**/*.dll to bin/ directory 2019-11-13 15:30:23 -07:00
Sam Edwards
ae59bd031f CMake: Fix typo 2019-11-11 20:16:00 -07:00
Sam Edwards
0b342d0f9f CMake: Don't use PythonInterp/PythonLibs when FindPython available 2019-11-11 00:48:14 -07:00
Sam Edwards
1c866dff78 CMake: Don't override Python_ROOT 2019-11-11 00:48:11 -07:00
rdb
d08219584d particles: combine two soft_start() overloads created by #769 2019-11-11 03:29:46 +01:00