Sam Edwards
8429f50d3a
CMake: Use -fno-rtti on most build configurations
2019-09-19 04:44:46 -06:00
Sam Edwards
9645aaee07
CMake: Fix generated pandac.PandaModules on Py2
...
Python 2 doesn't use the fully qualified module name in
its ImportError output; only the local name. Test for that.
2019-09-18 01:13:33 -06:00
Sam Edwards
fe7fdc0976
CMake: Reclassify direct/distributed/ headers as installed headers
2019-09-16 17:43:03 -06:00
rdb
52f590e90a
CMake: do not use test_imports.py, it has been removed
2019-09-16 13:58:13 +02:00
Sam Edwards
9512b2274b
CMake: Remove libtar, unneeded downloadertools progs
2019-09-06 04:07:42 -06:00
Sam Edwards
dbe7a2f94b
Merge branch 'master' into cmake
2019-09-06 04:05:12 -06:00
rdb
2e198fd2ef
downloadertools: remove check_adler, check_md5, check_crc
...
Tools to check hashes are readily available from thirdparty sources; there is no good reason why a 3D engine should provide them.
2019-09-06 11:55:17 +02:00
rdb
13e91135e5
downloadertools: remove show_ddb
2019-09-06 11:46:09 +02:00
rdb
8b8796e9df
express: remove libtar dependency
...
We haven't built with this for many years, and apparently nobody has missed it, so… good riddance?
2019-09-06 11:21:15 +02:00
rdb
aef81aceab
downloadertools: remove apply_patch and build_patch
...
These seem to be unused. Let me know if this is not the case.
2019-09-06 11:19:21 +02:00
rdb
55d5fe30e6
bullet: release GIL during expensive do_physics call
...
Fixes #726
2019-09-06 10:37:59 +02:00
Sam Edwards
b86332376c
CMake: Move Assimp plugin to its own install component
2019-09-06 01:51:51 -06:00
rdb
d1d244dfd2
pipeline: per-frame output message should be spam, not debug
2019-09-06 09:48:11 +02:00
rdb
b4fd82b812
load_dso: we can expect LoadLibraryExW to be available
2019-09-06 09:46:57 +02:00
rdb
d92b440617
Merge branch 'release/1.10.x'
2019-09-06 09:46:20 +02:00
Sam Edwards
5654e64645
CMake: First batch of improvements per review
...
Addressing feedback per @rdb in GitHub #717
2019-09-06 01:11:50 -06:00
rdb
7f7cbd1c25
tests: add Filename unit tests for fspath protocol in particular
2019-09-04 12:40:58 +02:00
rdb
ba1023efa9
stdpy: clarify comment to indicate os.PathLike is supported in open()
2019-09-04 12:26:43 +02:00
rdb
323f74cb55
event: squelch unprotected NewFrame event spam warning
2019-09-04 10:19:01 +02:00
rdb
79c71a5d97
pgraph: fix missing includes of *Collection classes in nodePath.h
2019-09-03 22:46:18 +02:00
rdb
2e03eb405b
deploy-ng: handle .pz and .gz models correctly
2019-09-03 22:45:40 +02:00
rdb
57ff1a5441
interrogate: remove vestigial code causing assert for C bindings
...
Fixes #722
2019-09-03 12:15:02 +02:00
Sam Edwards
d77ad6d0ed
CMake: vrpn (and its igate module) require -fexceptions
...
Per #development comment by rdb earlier today
2019-09-01 15:36:33 -06:00
rdb
35135ea0e1
Merge branch 'release/1.10.x'
2019-09-01 21:54:57 +02:00
rdb
191a5b09e9
bin2c: fix compilation warning
2019-09-01 21:46:41 +02:00
rdb
4d254177ba
general: Fix missing notifyCategoryProxy.h includes
2019-09-01 21:44:42 +02:00
Sam Edwards
13a19109d4
CMake: Remove redundant -DNDEBUG
...
This reverts a42f1a49a4892fbae168c5c63edb83abd8a10c6d, which should
have been reverted by faced9aa499ece4e5e294cc548f571c450ef1df1.
2019-08-31 15:07:03 -06:00
Sam Edwards
5fa4af9189
CMake: Rely on GNUInstallDirs to specify install paths
...
This makes multiarch OSes happy as they can dictate that
64-bit libraries go into 'lib64'
2019-08-31 00:48:42 -06:00
Sam Edwards
1a654cba04
CMake: Record the location that headers are installed
...
This populates INTERFACE_INCLUDE_DIRECTORIES on the targets
after they're installed.
2019-08-30 22:58:18 -06:00
Sam Edwards
faced9aa49
CMake: Grab all CMAKE_CXX_FLAGS(_<CONFIG>) -Ddefines for Interrogate
2019-08-30 16:53:45 -06:00
Sam Edwards
a42f1a49a4
CMake: Interrogate needs -DNDEBUG when -DNDEBUG is passed as a flag
...
Some buildsystems (Gentoo's Portage, to be specific) are very
roughshod about how they use CMake, and might bypass the
"configuration types" system altogether, passing their own release
flags instead. This change detects that and ensures that Interrogate
picks up the NDEBUG flag when it's specified manually.
2019-08-29 23:09:28 -06:00
Sam Edwards
cde25670d6
CMake: Remove some uses of CFG_INTDIR
...
It's not install() friendly, so we use $<CONFIG> instead in
some cases. Unfortunately, $<CONFIG> isn't friendly with
add_custom_command's OUTPUT options while CMAKE_CFG_INTDIR
explicitly is, so we use a hybrid approach until CMake gets
its act together.
2019-08-28 17:12:01 -06:00
rdb
d843c5c198
deploy-ng: use median cut algorithm when palettizing icon
...
This prevents infrequently occurring colors from being washed out.
See #718
2019-08-28 22:58:59 +02:00
rdb
28d9a33db4
deploy-ng: fix an exception when all icon images could not be read
2019-08-28 22:58:50 +02:00
rdb
833f778cb7
pnmimage: add quantize feature to reduce number of colors in image
2019-08-28 22:44:16 +02:00
rdb
00376c9d0a
deploy-ng: fix some Python 3 issues in icon generation code
...
See #718
2019-08-28 22:41:58 +02:00
rdb
61a276f49a
tests: add some ModifierButtons unit tests
2019-08-28 11:04:20 +02:00
rdb
7b5f818ab2
tests: convert makepanda/test_imports.py to a unit test
2019-08-26 10:07:58 +02:00
Sam Edwards
08b4793d9a
travis: Also set WANT_PYTHON_VERSION on macOS
2019-08-25 23:42:31 -06:00
Sam Edwards
e88f28e9c7
travis: Force CMake to use ccache
2019-08-25 21:00:23 -06:00
Sam Edwards
8588ddc3dc
CMake: When building on MSVC, add /bigobj to compiler where necessary
2019-08-25 15:54:02 -06:00
rdb
39224c651d
test_wheel: remove temp hack for pip 19.2.2, as 19.2.3 is released
...
The hack was introduced in 22833686e3b09edfeb881767178c233efe393229
[skip ci]
2019-08-25 10:03:04 +02:00
Sam Edwards
855d217f35
CMake: Update for upstream changes
...
- Miles is gone; remove all references
- pystub is gone; remove all references
- dcparser uses Interrogate extensions properly; don't depend on Python
- stringStream* moved to express from downloader
2019-08-24 18:07:22 -06:00
Sam Edwards
19ed9f6b47
Merge branch 'master' into cmake
2019-08-24 18:07:12 -06:00
Sam Edwards
55cfc6c2b9
CMake: Pass _MSC_VER to Interrogate under MSVC
2019-08-24 18:07:07 -06:00
Sam Edwards
abc941245e
general: Fix missing includes (and one forward declaration)
2019-08-24 18:05:28 -06:00
Sam Edwards
9ec66e3e28
travis: Let's see what happens if we use ccache
2019-08-23 20:35:50 -06:00
Sam Edwards
fc54251f61
CMake: Fix PandaModules.py not copying
2019-08-23 20:35:50 -06:00
Sam Edwards
60c1570db8
CMake: Add support for makepanda-style thirdparty directories
2019-08-23 16:09:13 -06:00
Sam Edwards
afe7ffb964
CMake: Fix several modules' search behavior
...
This makes these modules behave better when encountering
the makepanda thirdparty/ directory.
2019-08-23 16:09:13 -06:00