rdb
395b9733fb
makepanda: when making Linux package, ship Python 2 and 3 bindings
...
See #441 for discussion.
2018-12-23 22:28:12 +01:00
rdb
bd6ef2b0ea
Rename CollisionTube to CollisionCapsule (bam 6.44)
...
Adds ability to register "obsolete" names for certain types under older .bam versions, so that we are still able to write out old .bam files.
Fixes #347
2018-12-23 22:28:06 +01:00
Mitchell Stokes
587237577f
deploy-ng: Move distribution related files from direct.showtutil to direct.dist
2018-12-18 20:33:12 -08:00
rdb
c0138930c9
makewheel: properly chmod libraries that have no write permissions
...
Seems to be necessary on macOS for install_name_tool to be able to work on some libraries. Not sure why fchmod/fstat isn't working right.
2018-12-16 22:37:23 +01:00
rdb
e12ff1140b
makewheel: fix picking up libssl/libcrypto for _hashlib on macOS
2018-12-09 20:29:19 +01:00
rdb
a0af670dc7
makewheel: don't try to resolve deps with absolute path
2018-12-09 20:26:54 +01:00
rdb
a7752da4f1
Merge branch 'master' into deploy-ng
2018-12-09 20:22:23 +01:00
rdb
b474ef6b1e
makepanda: split out installer code into separate makepackage.py
2018-12-09 19:00:01 +01:00
rdb
b674104c1f
makepanda: don't error for harmless use of removed options
...
Let's show a warning when an option has been removed but its presence would not have affected the build in an important way. For options like --use-awesomium we should still show an error since it invokes behavior we no longer support, but it should be harmless to specify --no-awesomium.
2018-12-09 17:09:27 +01:00
rdb
4213e0a50a
Remove awesomium (see #440 )
2018-12-09 15:53:23 +01:00
rdb
97946cf95e
makepanda: deploy-stub should be a Python-version-specific target
2018-12-02 21:39:41 +01:00
rdb
f2f4b4c264
Merge branch 'master' into deploy-ng
2018-12-02 16:26:13 +01:00
kamgha
43ce32478f
makepanda: find OpenEXR 2.3 and its static variant for MSVC
...
Closes #463
2018-12-02 12:18:16 +01:00
rdb
c560c502b9
Merge branch 'master' into deploy-ng
2018-12-01 22:14:01 +01:00
rdb
d7124d4df4
Merge branch 'master' into deploy-ng
2018-11-29 12:57:49 +01:00
rdb
26fcf131c9
Merge branch 'master' into input-overhaul
2018-11-25 17:10:31 +01:00
rdb
356b604627
makepanda: link with IrrXML when using static assimp library
...
Same fix as #432 but for Linux
2018-11-20 14:50:40 +01:00
rdb
02979fa106
makepanda: use pkg-config for locating assimp
2018-11-20 14:49:44 +01:00
rdb
3d7fcf2ce9
Merge branch 'master' into deploy-ng
2018-11-12 18:31:43 +01:00
rdb
074c5187b0
Adopt new WindowProperties(size=(x, y), ...) short-hand
...
This is intended as replacement for WindowProperties.size(x, y), which is deprecated since it conflicts with the `size` property. See #444 .
2018-11-12 17:53:53 +01:00
Sam Edwards
29beb0f043
assimp: Update include path
...
This changes the Assimp include path to point to the
directory containing assimp/ instead of inside assimp/
directly. This is for consistency with how the Assimp
project defines their "include path" and keeps the actual
inclusions themselves unambiguous (since Assimp's headers
have fairly generic filenames).
2018-11-10 18:00:09 -07:00
Sam Edwards
37e265cb63
ode: Delete unused odeHeightFieldGeom.h file
2018-11-10 18:00:07 -07:00
rdb
62ae624a95
makepanda: installer uses registry to add Panda3D to Python path
2018-11-09 18:17:53 +01:00
rdb
b37cfd6573
makepanda: use correct Registry key for 32-bit Python 3.5+
2018-11-09 17:50:17 +01:00
rdb
412f5ecc2a
makepanda: more reliable way to get extension suffix
2018-11-09 17:35:47 +01:00
rdb
38c2382ba6
test_wheel: fix upgrading pip on Windows
...
pip can only be upgraded by running `python -m pip` on Windows.
[skip ci]
2018-11-09 11:44:43 +01:00
rdb
223c532ce7
makepanda: link libpandagl into pview when using --static
2018-11-09 11:43:28 +01:00
rdb
52b2df4ebb
makepanda: test_wheel.py should upgrade pip to latest version
...
[skip ci]
2018-11-08 22:46:52 +01:00
rdb
e5f398a861
makepanda: tweaks to .deb files; don't suggest panda3d-runtime
2018-11-08 15:51:30 +01:00
rdb
87c453fc08
makepanda: refactor code to emit errors/warnings
2018-11-08 15:49:17 +01:00
rdb
61dbe47884
makepanda: fix PhysX linker error on Windows
2018-11-08 15:48:12 +01:00
rdb
cf65010a54
Merge branch 'master' into deploy-ng
2018-11-06 23:40:24 +01:00
rdb
70bfe21a63
Merge branch 'master' into input-overhaul
2018-11-06 22:10:39 +01:00
rdb
b8ed9b1275
Remove pystub dependency from interrogate and friends
2018-11-06 21:49:17 +01:00
rdb
995ba28650
makepanda: allow building multiple Python versions in one built dir
...
This is done by adding a PyTargetAdd function, which builds the target into a Python ABI-specific temporary directory, allowing multiple Python versions to be built into the same built dir side-by-side. This could greatly speed up buildbot builds.
It also paves the way for building multiple Python versions in the same makepanda call / installer by changing PyTargetAdd to add one target per enabled Python version.
2018-11-06 20:15:19 +01:00
rdb
49b72fb198
Move Python support code from libp3interrogatedb to generated module
...
This prevents libp3interrogatedb from having a dependency on the Python library.
See #387
2018-11-06 19:24:37 +01:00
rdb
a799bcaec9
Merge branch 'master' into deploy-ng
2018-11-03 22:51:32 +01:00
rdb
5ac3cf3fc6
Eliminate C++ DConfig; replace it with a Python compatibility shim
2018-11-02 23:27:07 +01:00
rdb
8d3576607e
makepanda: remove INSTALLING-PLUGINS.TXT from installer.nsi
...
[skip ci]
2018-10-30 14:10:31 +01:00
rdb
357b6d3093
Merge branch 'master' into input-overhaul
2018-10-29 23:40:46 +01:00
rdb
54b3474670
Merge branch 'master' into deploy-ng
2018-10-28 20:47:36 +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
Mitchell Stokes
b16f9f8f4f
Merge branch 'master' into deploy-ng
2018-10-18 17:58:21 -07: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
c28045990c
Merge branch 'master' into deploy-ng
2018-10-15 15:42:48 +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
79d8b82cbb
makepanda: fix detection of manylinux platform
...
[skip ci]
2018-09-17 19:06:32 +02:00
rdb
3a206ed7c4
makewheel: ignore dependencies of panda3d_tools/pstats
2018-09-17 17:58:57 +02:00
rdb
338b428e65
Merge branch 'master' into deploy-ng
2018-09-17 17:37:07 +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
8b927318cb
makewheel: on manylinux, should include all lib dependencies
...
(Except for those explicitly whitelisted in PEP 513)
2018-08-20 19:13:16 +02:00
rdb
57b66ebeaf
Merge branch 'master' into deploy-ng
2018-08-20 19:13:04 +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
Mitchell Stokes
49c47164ff
Merge remote-tracking branch 'origin/master' into deploy-ng
2018-08-12 19:58:15 -07: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
Mitchell Stokes
e4cf73378c
Merge remote-tracking branch 'origin/master' into deploy-ng
2018-07-15 14:38:05 -07:00
Mitchell Stokes
c33ae8a95f
Merge branch 'master' into deploy-ng
2018-07-15 12:42:51 -07: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
Mitchell Stokes
ebe2588a50
Merge branch 'master' into deploy-ng
2018-05-06 11:21:13 -07:00
Mitchell Stokes
cb077fcdae
deploy-ng: Add panda3d.dist-info to installers
2018-05-06 11:20:19 -07: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
742c143a01
deploy-ng: support logging via log_filename (and log_append) setting
2018-04-08 17:57:48 +02:00
rdb
b0cece7faf
Merge branch 'master' into deploy-ng
2018-04-08 15:44:32 +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
Sam Edwards
a4c1b44371
dtoolbase: Remove EXPORT_TEMPLATES define
...
As of f69354d9fa , this is just always
expected on all platforms. If it's not defined,
TemplateClass<X>::_type_handle won't link correctly with some compilers
(e.g. Clang) and the lack of 'extern template class' will result in
duplicated code in any case. In short, turning it off causes problems.
makepanda also always turns this on, so it doesn't represent any
optional feature or autodetected platform-specific behavior anyway.
2018-03-20 14:36:19 -04:00
rdb
aebdefcf60
Merge branch 'master' into deploy-ng
2018-03-11 23:01:10 +01:00
rdb
94ceace5af
android: add activity for running Python programs
...
It can be launched from the termux shell using the provided run_python.sh script, which can communicate with the Panda activity using a socket (which is the only way we can reliably get command-line output back to the program.)
The Python script needs to be readable by the Panda activity (which implies it needs to be in /sdcard).
The standard library is packed into the .apk, and loaded using zipimport. Extension modules are included using a special naming convention and import hook in order to comply with Android's strict demands on how libraries must be named to be included in an .apk.
[skip ci]
2018-03-11 22:53:08 +01:00
rdb
f535a641e4
Merge branch 'master' into deploy-ng
2018-02-27 20:53:28 +01:00
rdb
361d36380d
makepanda: don't put pview metadata in rpm when building without pview
...
Fixes : #260
2018-02-27 20:36:53 +01:00
rdb
5523af09ce
makepanda: rebuild modules when interrogate_module is modified
2018-02-27 12:05:23 +01:00
rdb
94b5fa1e90
deploy-ng: fix inclusion of additional python DLLs (eg. sqlite, tk)
...
Fixes : #239
2018-02-24 21:37:23 +01:00
Sam Edwards
b72d1c198f
distributed: Fix the import test (and syntax on Python 3)
2018-02-23 19:52:48 -07:00
Sam Edwards
04cb128140
cftalk: Remove this
...
It was an incomplete experiment for distributing rendering pipelines over
a LAN of computers all working in concert.
Who knows, it may return someday. Until then, it's best not to keep it
around.
2018-02-22 15:18:34 -07:00
Sam Edwards
ad7669e12a
mathutil: Update FFTCompressor for FFTW3
...
This has been due for a while. The last FFTW 2.x release was in 1999.
Note that this does change some of the loops; this has two benefits:
1) The halfcomplex storage order is now explained with a comment.
2) It fixed the special case "don't break a run of bytes for a zero" which
was never triggering due to the value not being *exactly* 0.0.
I have tested these changes against older FFT-compressed animation .bams
and no noticeable decompression changes are present, so a .bam version
bump is not necessary.
2018-02-17 22:32:38 -07:00
rdb
95eee0cab2
android: load prc files from assets. Move assets to /android_asset
2018-02-17 20:09:24 +01:00
rdb
6bd1976892
android: support writing png/jpg/webp via android.graphics.Bitmap
2018-02-17 18:40:08 +01:00
rdb
c41b694eb3
makepanda: detect public system libraries when building on Android
2018-02-11 00:56:25 +01:00
rdb
b4ad0a69a0
makepanda: automatic dependency scanning for Java sources
2018-02-11 00:55:04 +01:00
rdb
730279531a
makepanda: build on Intel Android machines
2018-02-10 12:13:05 +01:00
rdb
bdb74b1e30
makepanda: add code to build an Android package with --installer
2018-02-10 12:01:34 +01:00
Sam Edwards
e15cea4331
general: Remove more unnecessary +x UNIX modes
2018-02-07 11:29:48 -07:00
rdb
2dba9357bb
makepanda: update Android cross-compile for clang and NDK r16
...
Tested on Windows.
2018-02-06 19:24:50 +01:00
rdb
09bd662919
Merge branch 'master' of github.com:panda3d/panda3d into input-overhaul
2018-02-04 11:37:09 +01:00
rdb
e04cb17a30
makepanda: change Android build model
...
We no longer copy libs to a separate libs dir to entertain Ant (which is no longer the build system of choice on Android). Also, rather than copying the Java sources to built/src, we now compile them and put the classes in built/classes.
Furthermore, executables are really compiled as executables now (rather than as libraries) to allow building and running Panda in termux.
2018-01-29 20:01:30 +01:00
rdb
7c1dd4050b
android: change assets mount dir, point binary path to .apk
...
The binary path we get from /proc/self/exe isn't very useful; the path to the .apk is barely more useful but it still doesn't make a whole lot of sense. It might make more sense to set it to the path of the native .so that is being loaded by NativeActivity.
2018-01-29 19:44:39 +01:00
rdb
fb32b96456
Merge remote-tracking branch 'origin/master' into input-overhaul
2018-01-28 14:44:54 +01:00
rdb
002b373361
makepanda: fix GetHost() on linux
...
[skip ci]
2018-01-28 14:44:26 +01:00
rdb
94385e865f
Merge remote-tracking branch 'origin/master' into input-overhaul
2018-01-28 14:31:45 +01:00
rdb
d35e6c5113
android: include android_native_app_glue in repository
...
These files are from the NDK, but don't seem to be included in termux. Since they are two small files that change very rarely, it's easier to just include them in the Panda repo.
[skip ci]
2018-01-28 14:27:35 +01:00
rdb
60a572f88a
android: some changes for building on Android:
...
- allow setting API target with --target=android-21
- always link to libpython on Android, seems to be necessary
- support aarch64 (arm64-v8 ABI) architecture
- enable building on an Android machine (tested in termux)
[skip ci]
2018-01-28 14:24:51 +01:00
tobspr
5831a31509
Add RenderPipeline C++ lighting modules to Panda3D codebase
2018-01-07 23:43:22 +01:00
rdb
962e6e31e4
Merge branch 'master' into input-overhaul
2018-01-03 14:46:13 +01:00
rdb
9065f2e16e
installpanda: add --verbose flag
2018-01-03 14:09:15 +01:00
rdb
d3249356b3
Merge remote-tracking branch 'origin/release/1.9.x'
2018-01-03 14:07:42 +01:00
rdb
ad58d5161f
installpanda: set proper permissions on includes/man pages
...
Fixes : #159
2018-01-03 13:48:08 +01:00
rdb
ef9803b25e
Changes to support compiling input-overhaul branch on macOS
2017-12-22 14:59:52 +01:00
rdb
2c35d7a8e9
deploy-ng: changes to make macOS app bundles work correctly
2017-12-21 15:49:16 +01:00
rdb
c911ba8059
Merge branch 'master' of github.com:panda3d/panda3d into deploy-ng
2017-12-21 15:10:53 +01:00
rdb
58917e6746
deploy-ng: fix failure to include libpython (particularly on macOS)
2017-12-21 13:15:45 +01:00
rdb
c1fb44ad69
makewheel: fix binary data being doubled
2017-12-21 11:39:19 +01:00
rdb
6faaabe034
makepanda: fix build error with maya2008 on macOS
2017-12-19 23:37:36 +01:00
rdb
8e6cf2a60b
Merge branch 'master' into input-overhaul
2017-12-17 13:04:15 +01:00
sean5470
9e8060d402
Moved MAX plugin line to MAX instead of Maya section
...
Moved the search line for .ms files from the Maya section, to the MAX section where it should be.
Closes : #214
2017-12-16 21:05:57 +01:00
rdb
2e20a0f16e
Implement awaitable thread-safe future for async operations
...
This introduces AsyncFuture as a new base class of AsyncTask. It's modelled after asyncio's Future class, except that it is thread-safe and you can use result() to block the current thread waiting for the future to finish (of course this is not necessary for use with coroutines).
AsyncFuture should be used for any operation that finishes in the future, to get the benefit of awaitability within coroutines as well as a standard interface for querying status and results of the operation as well as cancelling it. As such, it's been implemented in various places, including texture.prepare() and win.trigger_copy().
Note that AsyncFuture is intended to be used *once*; it cannot be used more than once. As an example of how this works, tex.prepare() will return the same future as long as the prepare isn't complete, but when it is done, subsequent calls to tex.prepare() will return a new future.
2017-12-04 22:25:28 +01:00
Mitchell Stokes
d90e59ca2d
Merge branch 'master' into deploy-ng
2017-12-02 18:36:47 -08:00
rdb
567463eab3
makepanda: look for vorbis library without _static suffix
...
Fixes : #202
2017-11-26 23:42:46 +01:00
Mitchell Stokes
fcb1d9308b
Merge branch 'master' into deploy-ng
2017-11-25 14:58:25 -08:00
Mitchell Stokes
aba26bd862
Merge branch 'master' into deploy-ng
2017-11-25 14:55:47 -08:00
rdb
d755de849c
deploy-ng: new extensible blob format with PRC configurability
2017-11-24 21:48:18 +01:00
rdb
a7e00d0ee6
makewheel: use platform from build
2017-11-24 17:48:25 +01:00
rdb
e03c249cc5
makepanda: write target platform to file, rebuild if platform changes
2017-11-24 17:47:51 +01:00
Younguk Kim
82d66c1928
makepanda: add support for compiling with VS 2017
...
This is a squashed merge of PR #153 by bluekyu with fixes by rdb.
Closes : #153
2017-11-16 17:33:46 +01:00
kamgha
f6c12ced34
Update makepanda.py
2017-11-04 18:28:46 +01:00
rdb
0343dbcbba
makepanda: locate setup.cfg using __file__, not working directory.
...
This fixes the buildbots, which import makewheel from inside the makepanda directory.
2017-11-03 20:15:21 +01:00
rdb
c043755f94
Add --tests argument to makepanda, instructions to README.md
2017-11-03 20:06:49 +01:00
rdb
b865b31390
makepanda: add __version__ attribute to panda3d module
2017-11-03 20:06:07 +01:00
rdb
19fe51eddd
makewheel: fix sha256 hashes being surrounded with b'' in Python 3
2017-11-03 20:05:24 +01:00
rdb
e0a3788636
Move metadata to setup.cfg; also use this for pytest configuration
...
This makes it possible to run pytest in the root directory. It also lets us store metadata such as the current version number, preventing us from having this in several different places, and allowing us to phase out parsing dtool/PandaVersion.pp.
2017-11-03 20:04:37 +01:00
rdb
0c0f9adab9
Support coroutines and async/await in the task manager and loader
2017-10-31 18:56:41 +01:00
rdb
fba41dafae
Merge remote-tracking branch 'origin/master' into deploy-ng
2017-10-26 21:23:49 +02:00
rdb
51d948a7fa
Support compilation for Python 3.7
2017-10-13 12:40:47 +02:00
rdb
5ac3ccb6f6
Remove pointless direct/metalibs directory
2017-10-06 14:54:36 +02:00
rdb
5cf2f92597
Merge branch 'master' into deploy-ng
2017-09-19 19:51:28 +02:00
rdb
4018efc50d
Fix travis build
2017-09-19 17:49:04 +02:00
rdb
f16cd29971
Merge branch 'master' into deploy-ng
2017-09-04 21:31:32 +02:00
Younguk Kim
114aee1d6a
Add additional Windows SDK path
...
Windows 10 SDK binary files are installed in versioned folder from Creator Update (10.0.15063.0)
2017-08-07 23:06:18 +02:00
rdb
32eb9b9e9f
makepanda: fix missing Python link for PhysX
2017-07-05 14:24:09 +02:00
rdb
2b537d2263
Use XDG basedir spec for model-cache-dir (now $XDG_CACHE_HOME/panda3d which is usually $HOME/.cache/panda3d)
...
User appdata directory on posix is now $XDG_DATA_HOME (usually $HOME/.local/share).
Common appdata dir is /usr/share (or /usr/local/share on FreeBSD)
2017-07-03 22:27:37 +02:00
rdb
69eab74b77
makepanda: changes to support static building better
...
Fixes LP 1081784
2017-07-03 13:56:50 +02:00
Mitchell Stokes
e13ad8e146
Merge branch 'master' into deploy-ng
2017-06-30 21:38:34 -07:00
rdb
751299d65a
makepanda: don't build with OpenCV if we have ffmpeg enabled
...
(except on macOS, where we use OpenCV to provide webcam support)
2017-06-20 15:52:57 +02:00
rdb
7873b4df37
Merge branch 'master' into deploy-ng
2017-06-13 00:21:40 +02:00
rdb
153c277edd
Remove references to .sha filters in direct/src/filter
2017-06-12 22:52:05 +02:00
rdb
a66b497f2b
We no longer support GCC 4.6. Version 4.8+ is recommended.
...
Ubuntu Precise users can install GCC 4.8 from the ppa:ubuntu-toolchain-r/test repository.
CentOS 5/6 users can install devtoolset-2 or later.
2017-06-12 19:47:54 +02:00
rdb
ed5b74ab54
makepanda: allow using deploy-ng with build run from built dir
2017-05-31 01:35:33 +02:00
rdb
ee2530ea5f
makepanda: changes for FreeBSD. Add instructions, and:
...
- change package name from Panda3D to panda3d
- change default compiler to clang on FreeBSD
- fix ldconfig to point to panda3d lib dir
[skip ci]
2017-05-29 19:09:45 +02:00
Mitchell Stokes
c155e840b3
Merge remote-tracking branch 'origin/master' into deploy-ng
2017-05-27 15:36:49 -07:00
rdb
828f1c10ca
Support loading Opus audio files via libopusfile.
2017-05-24 22:21:54 +02:00
rdb
904209b277
Split out interrogate jobs for dtool directories from express
2017-05-24 13:44:52 +02:00
rdb
53794e8e36
Get rid of unnecessary DisplayRegionBase class
2017-05-24 13:42:01 +02:00
rdb
d576c6b638
Improvements to generated API docs, especially in direct tree.
...
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
rdb
3a2435b2d9
Merge branch 'master' into deploy-ng
2017-05-14 10:51:10 +02:00
deflected
560fd4eb3d
panda: Get rid of few warnings
...
- Correct missing override
- Correct deprecated XKeycodeToKeysym
- Correct deprecated @exec for FreeBSD pkg plist
Signed-off-by: deflected <deflected@users.noreply.github.com>
Closes #144
2017-05-14 00:02:33 +02:00
Mitchell Stokes
b3d04dd91d
Merge branch 'master' into deploy-ng
2017-05-07 19:50:22 -07:00
rdb
4e1f9c012a
makepanda: set LANGUAGE=en to fix lib detection on German systems
...
[skip ci]
2017-05-03 12:02:58 +02:00
Mitchell Stokes
0ee6a46a62
Merge branch 'master' into deploy-ng
2017-04-26 18:22:36 -07:00
rdb
a3bef3e285
makepanda: allow building without harfbuzz
2017-04-25 12:46:46 +02:00
rdb
160f652d58
text: use HarfBuzz for text shaping; support right-to-left text
2017-04-25 12:25:31 +02:00
Mitchell Stokes
2302f251b1
Merge branch 'master' into deploy-ng
2017-04-04 21:27:09 -07:00
rdb
f7af155e93
Compile with VS 2015 Express, build assimp on Windows
2017-04-03 13:57:40 +02:00
sean5470
019700cb1a
Maya 2017 support
...
Added entries to compile Maya 2017 plugins.
2017-04-03 02:27:40 +02:00
rdb
ac0e6b5c5c
Merge branch 'release/1.9.x'
2017-04-02 14:29:38 +02:00
rdb
8ec4da2824
Compile fixes for compilers that don't support all C++11 features
2017-02-21 02:45:30 +01:00
rdb
edb83fe89a
Various optimizations to reduce performance overhead of rendering
2017-02-21 02:20:06 +01:00
Mitchell Stokes
3cb24fba91
Merge branch 'master' into deploy-ng
2017-02-20 13:46:39 -08:00
rdb
8c914a2855
Work towards ABI stability wrt allocation. Let MemoryHook take advantage of dlmalloc's internal bookkeeping.
2017-02-17 13:02:01 +01:00
Mitchell Stokes
66ef8f7c2a
deploy-ng: Rename build_p3d to build_apps and bdist_p3d_archive to bdist_apps
2017-02-11 16:04:48 -08:00
rdb
9b07578d62
deploy-ng: Linux: fix symbol error with static linking, fix omission of libCg
2017-02-03 12:25:58 +01:00
Mitchell Stokes
b8ee352ebb
deploy-ng: Create entry_points in makewheel for dist commands
...
This allows setuptools to automatically find build_p3d and
bdist_p3d_archive.
NOTE: Importing direct.showutil.dist.setup still works for installs that
are not using wheels.
2017-01-28 21:09:33 -08:00
rdb
3282656f0e
makepanda: linking deploy-stub on Linux requires -lrt and -lutil
2017-01-25 13:34:06 +01:00
rdb
3fabe6a8de
makewheel: fix inclusion of libpython on macOS
2017-01-14 15:35:08 +01:00
rdb
b3f9845892
Merge branch 'master' into deploy-ng
2017-01-14 03:03:02 -05:00
rdb
0ae87e6781
makepanda: on macOS, use Python lib from framework dir if needed
2017-01-11 19:28:28 +01:00
Mitchell Stokes
3347a6e2cb
makewheel: Add libpython to deploy_libs
...
TODO: See if there is a better way to do this and to test/implement macOS support.
2017-01-10 18:42:59 -08:00
rdb
8352f27a23
makepanda: deploy-stub needs to link to libpython
2017-01-10 23:15:30 +01:00
rdb
49905bad16
Merge branch 'master' into deploy-ng
2017-01-10 22:06:59 +01:00
rdb
92dab31d80
makepanda: improve Python location code on Linux and macOS, support Python 3.x builds on macOS, drop use of pythonX-config
2017-01-10 21:00:43 +01:00
Mitchell Stokes
25b167c080
makewheel: Use less restrictive extension module suffix on py3
2017-01-09 19:49:18 -08:00
rdb
e1a54f52a8
makepanda: add --no-egg/--use-egg flags to enable/disable egg features.
2017-01-09 23:58:41 +01:00
rdb
f8580d753a
Merge branch 'master' into deploy-ng
2017-01-09 23:53:56 +01:00
rdb
43a5f2a9f2
Fixes for Python 3.5:
...
- Disable conversion to Windows newlines, which is causing double Windows newlines for Config.prc
- We need to copy vcruntime140.dll to the bin directory for Python 3.5+ build using MSVC 2010 to work
2017-01-09 22:27:30 +01:00
rdb
58c1581c0c
Fix .whl version when no explicit --version is specified
2017-01-08 17:20:17 -05:00
Mitchell Stokes
40c23e5cf1
makewheel: Use _ctypes instead of cmath for get_python_ext_module_dir()
...
Also switch back to using __file__ instead of inspect.
2017-01-06 08:07:20 -08:00
Mitchell Stokes
a5bea8f8b0
makewheel/deploy-ng: Use inspect.getfile(cmath) instead of cmath.__file__ for get_python_ext_module_dir()
2017-01-05 20:35:59 -08:00
Mitchell Stokes
2fa4ef1c7e
makewheel/deploy-ng: Try import cmath instead of _sha1 for get_python_ext_module_dir()
...
The Python2 Windows buildbot did not like _sha1.
2017-01-05 20:17:38 -08:00
Mitchell Stokes
465d8bf1bd
makewheel: Copy Python stdlib C extension modules to deploy_libs
2017-01-05 19:28:21 -08:00
Mitchell Stokes
c746296e57
makepanda: Give WHLVERSION a better default than None
2017-01-05 19:28:21 -08:00
Mitchell Stokes
d6aba43492
Merge branch 'master' into deploy-ng
2017-01-05 18:12:43 -08:00
rdb
31136124c7
deploy-ng: fix issues with Python 3 / Windows / Unicode, add deploy-stubw
2017-01-06 01:42:00 +01:00
rdb
53752bd376
Remove packpanda and eggcacher, don't require libpython on Linux
2017-01-05 17:22:11 +01:00
rdb
127cbc3b38
Windows installer improvements and fixes:
...
- copy .ico file
- write installer log to install.log
- restore python DLL to bin directory
2017-01-05 17:19:40 +01:00
rdb
40e981e485
makepanda: enable C++11 support by default
2017-01-04 22:47:58 +01:00
rdb
fa851ae5ac
Allow custom version to be passed on to makewheel when building with --wheel
2017-01-04 22:42:05 +01:00
rdb
8434914ab6
Merge branch 'master' into input-overhaul
2016-12-28 17:26:58 +01:00
rdb
c839dc60d6
Merge remote-tracking branch 'origin/master' into deploy-ng
2016-12-28 12:11:37 +01:00
rdb
325302b623
makewheel: support building single-arch .whl from a fat Panda build
2016-12-26 17:36:38 +01:00
rdb
8c6a2a57cb
Handle symlinks correctly when correcting Mac library deps
2016-12-26 07:09:21 -05:00
rdb
741ff454ed
We need to link tools that use interrogatedb with pystub again
2016-12-25 22:53:43 +01:00
rdb
ab5b5e7e74
Merge branch 'release/1.9.x'
2016-12-25 22:47:22 +01:00
rdb
23a345437a
makewheel changes for macOS, manylinux1, Python 2.6
2016-12-25 16:10:06 +01:00
rdb
28bb737597
Load X11 extensions dynamically; don't expect them to be there at compile time
...
Add x-cursor-size variable for overriding XCursor size.
2016-12-24 22:21:53 +01:00
rdb
601b6b8678
Tweaks for building with static thirdparty libs on Linux
...
Sneak in a function used by makewheel
2016-12-22 21:30:30 +01:00
rdb
c1d6e93166
Don't link extension modules with libpython; changes to help w/ building whls
...
This fixes compatibility issues with homebrew Python on Mac OS X.
This introduces a --no-directscripts flag to disable building packpanda and eggcacher, which require linking with libpython (which is not available on manylinux). When building a wheel, the packpanda and eggcacher modules can instead be added to console_scripts in the entry_points definition.
2016-12-21 17:57:13 +01:00
rdb
b2ccf6c0d2
Add ability to produce .whl file
...
Based on original version by pennomi
Closes : #83
2016-12-19 23:35:05 +01:00
rdb
04819719fb
Fix erroneous report in installer while installing libs
2016-12-19 23:32:23 +01:00
Mitchell Stokes
3ab9bde73d
deploy-ng: Only build deploy-stub if Python is available
2016-12-18 10:53:40 -08:00
rdb
bae19a203b
deploy-ng: changes to make it work on Windows
2016-12-08 13:21:10 +01:00
rdb
70386795f4
Merge branch 'master' into deploy-ng
2016-12-05 18:10:49 -05:00
rdb
6344c05b18
Clean up dynamic loading of Win32 funcs, remove makepanda touchinput setting, remove checks for pre-WinXP
2016-12-05 17:21:09 -05:00
rdb
c410d812ff
Remove some settings from dtool_config.h to prevent rebuilds:
...
- HAVE_OPENCV
- OPENCV_VER_23
- HAVE_FFMPEG
- HAVE_SWSCALE
- HAVE_SWRESAMPLE
2016-12-05 16:32:13 -05:00
rdb
83507e413f
Fix Mac OS X Snow Leopard build
2016-12-05 16:30:44 -05:00
rdb
46c8990f40
Switch to clang by default on Mac; drop burden of supporting GCC 4.2
...
Also get rid of that annoying message about -pthread in clang.
2016-12-05 16:14:24 -05:00
rdb
6259feb934
Fix issue building against copy of Python that was compiled with MSVC 2010
2016-11-30 00:12:26 +01:00
rdb
335debee54
Fix error building debian package
2016-11-29 23:53:57 +01:00
rdb
80af51477a
Backport ability to create a pdb zipfile to 1.9
2016-11-29 22:59:51 +01:00
rdb
948ff8562d
Support targeting Windows XP with MSVC 2015
2016-11-29 22:41:46 +01:00
rdb
1e2961f7ef
Improve windows installer: .prc file assoc, use DOS newlines for prc, error if installing 64-bit version on 32-bit Windows
2016-11-29 21:54:51 +01:00
rdb
d0e9f136c0
Merge branch 'master' into input-overhaul
2016-11-22 12:15:21 +01:00
Mitchell Stokes
f61fbd356d
Set rpath on deploy-stub to $ORIGIN for Linux builds
...
This allows game runtimes to search their directory for shared
libraries instead of needing to use LD_LIBRARY_PATH.
2016-11-13 11:55:46 -08:00
Mitchell Stokes
aa6e722941
Create experimental yapdt (Yet Another Panda3D Deployment Tool)
...
This uses FreezeTool and a new deploy-stub binary to create frozen
applications without needing a compiler when running the tool. This tool
is for experimenting with deployment options and is currently inflexible
and hacky.
2016-11-08 19:40:30 -08:00