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
6faaabe034
makepanda: fix build error with maya2008 on macOS
2017-12-19 23:37:36 +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
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
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
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
5ac3ccb6f6
Remove pointless direct/metalibs directory
2017-10-06 14:54:36 +02:00
rdb
f16cd29971
Merge branch 'master' into deploy-ng
2017-09-04 21:31:32 +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
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
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
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
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
rdb
9b07578d62
deploy-ng: Linux: fix symbol error with static linking, fix omission of libCg
2017-02-03 12:25:58 +01:00
rdb
3282656f0e
makepanda: linking deploy-stub on Linux requires -lrt and -lutil
2017-01-25 13:34:06 +01: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
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