rdb
357b6d3093
Merge branch 'master' into input-overhaul
2018-10-29 23:40:46 +01:00
rdb
733c7f2352
makepanda: remove mention of removed softprogs/softcvs
2018-10-28 12:00:10 +01:00
rdb
99aa598de0
makepanda: don't try to link static libs into static library
2018-10-28 11:51:25 +01:00
rdb
bb71cd68e1
makepanda: use /BIGOBJ flag when compiling p3gobj_composite2.cxx
2018-10-28 11:40:28 +01:00
Younguk Kim
6b00fe7987
makepanda: fix link error of assimp tool
...
Closes #432
2018-10-28 11:40:08 +01:00
rdb
df77bacf06
makepanda: compile graphicsStateGuardian.cxx separately, earlier
...
Since this still takes a long time to build, even with the previous change, it would be better for one CPU to chew on this in the background while the rest of the build continues.
2018-10-19 00:37:00 +02:00
rdb
a765c32bae
makepanda: don't use -fno-rtti on macOS, it fails to compile
...
It appears that <tr1/functional> (included by <tr1/tuple>) uses RTTI, so we can't enable this for now.
2018-10-15 13:32:22 +02:00
rdb
02a72d4273
makepanda: remove reference to QuickTime framework
...
Doesn't appear to be necessary, and QuickTime framework is removed in Mojave.
Fixes #412
2018-10-15 13:30:22 +02:00
rdb
9061fd9416
dtoolutil: fix TextEncoder methods for Python 3
...
The no-arguments get_text() and set_text() will now return Unicode strings in Python 3, but passing in an encoding will make them return/take bytes objects.
In Python 2, they all take regular strings, but Unicode is also accepted by the no-argument get_text() and set_text().
In the future we probably want to remove most of this interface for Python users, to whom all this is unnecessary since it duplicates functionality already in the standard library.
2018-10-08 22:14:51 +02:00
rdb
14042faa3d
Merge branch 'master' into input-overhaul
2018-10-08 01:25:33 +02:00
rdb
a9ff8a22f0
makepanda: enable Assimp in default Confauto.prc if built
2018-10-07 23:00:17 +02:00
rdb
1fed113df5
Merge branch 'master' into input-overhaul
2018-09-17 19:08:06 +02:00
rdb
0af1b9c988
makewheel: update manylinux1 platform check for latest image
...
[skip ci]
2018-09-17 16:39:09 +02:00
rdb
e30b597926
Merge branch 'master' into input-overhaul
2018-09-16 12:28:22 +02:00
rdb
809f9b04f6
Fix problems with spinlock mutex/cvar implementation
...
This reimplements the spinlock on top of std::atomic_flag, which is guaranteed to be lockless. It also inserts the PAUSE (REP NOP) instruction which is strongly recommended to be placed in busy-wait loops by Intel.
This also includes a recursive spinlock implementation.
The spinlock implementation is disabled by default, but can be enabled by adding the --override MUTEX_SPINLOCK=1 flag to makepanda.
2018-09-04 12:58:48 +02:00
rdb
1d6c3f6486
Merge branch 'master' into input-overhaul
2018-08-26 19:03:21 +02:00
rdb
5147674980
Add script to run test suite on a wheel in a virtualenv
...
[skip ci]
2018-08-20 17:00:40 +02:00
rdb
35fff81b6a
makepanda: fix missing BUILDING_DIRECT_DCPARSER
...
[skip ci]
2018-08-19 21:06:47 +02:00
rdb
f84b0840f9
makepanda: work around GCC/Eigen double matrix invert bug
...
Fixes #228
2018-08-12 22:15:40 +02:00
rdb
be19411cf8
Add support for Maya 2018
2018-08-10 23:03:15 +02:00
rdb
7e290b221b
Remove a few unused and obsolete C++ test files
2018-08-03 21:09:36 +02:00
rdb
c959d274be
makewheel: add __version__ and docstring to panda3d/__init__.py
2018-08-03 20:22:09 +02:00
rdb
6cd59807dd
Remove useless test_display.cxx file
2018-07-17 19:38:10 +02:00
Tohka
0c1fa6a765
nsis: Correct building on NSIS 3.0
...
LVM_GETITEMCOUNT and LVM_GETITEMTEXT are already defined post NSIS 3.0.
2018-07-07 22:54:53 +02:00
rdb
234fd675b1
Merge branch 'master' into input-overhaul
2018-06-23 23:24:09 +02:00
rdb
d89efcfda2
makepanda: fix recognition of armv7 android systems
2018-06-19 00:37:18 +02:00
rdb
fa23c199ec
makepanda: fix faulty error when immediately pressing Ctrl+C
2018-06-12 11:08:52 +02:00
rdb
ba2de46beb
Merge branch 'master' into input-overhaul
2018-06-08 15:23:47 +02:00
Sam Edwards
4754ba524c
dtoolbase: Avoid Windows's min/max macros
2018-06-07 10:35:00 +02:00
rdb
21d8c29645
More warning fixes
2018-06-03 06:45:35 -04:00
Sam Edwards
94c7fa30e2
makepanda: Remove a couple of unused config macros
2018-05-30 17:28:40 -06:00
rdb
190c553c57
dtool_config.h: remove some macros for ancient C++ compilers
2018-05-30 23:15:24 +02:00
rdb
db5dd98d33
general: further warning fixes, use -Wno-unused-variable if NDEBUG
...
Disabling unused variable checking is needed in NDEBUG builds because of the heavy use of temporary variables in asserts.
2018-05-30 22:51:04 +02:00
Sam Edwards
1c6ae84cdc
dtoolutil: Remove HAVE_OPEN_MASK
...
Rationale:
1. Per standard, fstream::open takes 2 arguments.
If platforms add a third, they're out of spec.
2. The only platform I could find that takes a file
mask specifically as the third argument is IRIX,
which Panda hasn't targeted in forever.
3. The mask being requested isn't even particularly
interesting - falling back to a platform default
is best.
4. When USE_PANDAFILESTREAM is defined, pfstream
is implemented as PandaFileStream, which doesn't
have a three-argument open() and breaks immediately.
5. makepanda doesn't ever define HAVE_OPEN_MASK
6. It's been broken for so long that, if it were
important to anybody, it would have been fixed by now.
2018-05-30 12:04:06 -06:00
rdb
c17cb11dfa
makepanda: enable more warnings by default
2018-05-30 11:12:15 +02:00
Sam Edwards
527e4840ff
makepanda: Fix table alignment
2018-05-27 14:11:55 -06:00
Sam Edwards
a251c6dd8f
general: Change HAVE_LOCKF to PHAVE_LOCKF
...
HAVE_LOCKF is already defined by pyconfig.h in
(at least) Python 3.6 - changing the macro name
here avoids warnings
2018-05-27 14:06:14 -06:00
rdb
239f66cf11
makepanda: fix macOS compile error in CheckPandaVersion
...
See #327
2018-05-27 15:39:02 +02:00
Sam Edwards
35ab16d38f
makepanda: Update checkPandaVersion.h
...
This makes it possible to include it multiple times in a single
translation unit, and/or multiple times in a single dynamic
library (and without excess code bloat, too).
2018-05-26 18:39:24 -06:00
rdb
49dfcb09b9
makepanda: refuse building with MSVC versions older than 2015
...
Panda3D no longer compiles with any version older than Visual Studio 2015 (14.0).
Closes #288
2018-05-23 23:43:36 +02:00
rdb
9fad3dba60
general: remove macros for compatibility with non-C++11 compilers
...
Now that we require MSVC 2015, we no longer need all this nonsense, so we can write cleaner code.
2018-05-23 23:33:05 +02:00
Sam Edwards
47f7d3f297
general: Add headers explaining the renamed config_*.h
2018-05-14 02:36:42 -06:00
Sam Edwards
c81229c1a8
pfmprogs: Rename config_pfm to config_pfmprogs
2018-05-14 02:36:42 -06:00
Sam Edwards
52e7c952b3
putil: Rename config_util to config_putil
2018-05-14 02:36:42 -06:00
Sam Edwards
87c11d8018
pstatclient: Rename config_pstats to config_pstatclient
2018-05-14 02:36:42 -06:00
rdb
ed54856e9f
makepanda: don't fail building Windows installer if Pmw is missing
2018-05-06 22:18:30 +02:00
rdb
f979c4d312
makepanda: don't use pkg-config for assimp
...
It seems that they removed the -I option, which we need to build with. This commit is intended to fix the Ubuntu Bionic build.
2018-04-11 17:41:16 +02:00
rdb
e1675f1a53
makepanda: fix compile error on Windows with some versions of flex
2018-04-10 15:31:48 +02:00
rdb
2bde4d839a
makepanda: set MSVC 2015 as default, deprecate MSVC 2010 support
...
See #288 for discussion; make your voice heard there if you object to this change!
[skip ci]
2018-03-29 14:36:41 +02:00
Sam Edwards
ad5b45811d
dtoolutil: Change export macros to EXP*_DTOOL_DTOOLUTIL
...
This is for consistency with `panda`, which follows this format.
2018-03-25 13:17:52 -06:00