Commit Graph

1056 Commits

Author SHA1 Message Date
rdb 8e6cf2a60b Merge branch 'master' into input-overhaul 2017-12-17 13:04:15 +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
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 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 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 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
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
rdb e1ea1e8fb0 Fix link error on Windows with WANT_NATIVE_NET 2016-10-24 22:51:28 +02:00
rdb 1049088f11 Clean up some of the dtool_config.h variables 2016-10-24 22:10:46 +02:00
rdb 4fb5d19df9 Windows: add right-click file associations for .pz/.mf/.egg/.bam files, produce .zip files containing the .pdb files 2016-09-16 00:37:29 +02:00
rdb 6962f56915 Add back pandac.extension_native_helpers for compatibility 2016-09-14 22:45:19 +02:00
rdb 29ea65bb3f Merge branch 'release/1.9.x' 2016-08-09 01:44:21 +02:00
rdb 645d179227 Add back missing libp3pystub.a to Mac OS X SDK 2016-08-09 01:29:24 +02:00
rdb 800d3cd9c9 Fix Python compile issues on Mac; don't use framework 2016-07-20 18:46:30 -04:00
rdb 47388b0dbc Separate out CPython calls from core libs; eliminate need for pystub 2016-07-20 14:30:41 +02:00
rdb b98d3c06ee Merge branch 'master' into input-overhaul 2016-06-24 10:51:41 +02:00
rdb 9963fe2c3c Fix a couple of compile warnings, reduce unnecessary includes 2016-06-23 22:59:50 +02:00
rdb 5675e0de56 Merge branch 'release/1.9.x' 2016-06-07 22:08:00 +02:00
rdb 3951a191a3 Fix compile issues with ffmpeg on FreeBSD and Mac OS X 2016-06-07 14:06:53 +02:00
rdb 0d770deeaa Add --rtdist-version option to makepanda 2016-06-03 02:40:14 +02:00
rdb 18874fa151 Replace PN_int/uint types with stdint.h types, since all compilers we support have them.
Plus, we already had code that relied on them being available anyway.
2016-05-11 00:27:58 +02:00
rdb 38fdb80276 Various thirdparty build fixes 2016-05-03 18:49:28 +02:00
David Rose 0b224a320a Merge branch 'master' of https://github.com/panda3d/panda3d 2016-05-02 15:05:25 -07:00
David Rose 403dd39934 add support for OpenEXR floating-point image files 2016-05-02 14:44:53 -07:00
rdb 288452a861 Changes to help with static build, allow linking OpenAL statically 2016-04-29 19:54:24 +02:00
rdb 369df86096 Fix a compile issue or two 2016-04-29 19:17:47 +02:00
rdb 6b83261ea4 Implement stb_image, support loading HDR, PSD, GIF images 2016-04-28 17:10:44 +02:00
rdb 879b8a5ccb Remove win-extras (smartroom/BeyondQuestion, serial, JOD, phidgets) from the Windows SDK
Let me know if you still need any of these and we'll find a better spot for them.
2016-04-22 17:38:15 +02:00
rdb 2c1cb4c313 Compile fixes for latest VRPN and TIFF 2016-04-22 17:18:27 +02:00
rdb 32bc7cd819 Changes to allow compiling Panda with MSVC 2015 2016-04-19 15:43:02 +02:00
rdb 5a2a9a3020 Merge branch 'release/1.9.x' 2016-04-12 20:46:32 +02:00
rdb 449d4c8a89 Build fix on Mac when building without libRocket 2016-04-12 18:19:55 +02:00
rdb 33ed30b178 Support defining bam factory functions in Python 2016-04-09 19:28:33 +02:00
rdb a3a42874f3 Merge remote-tracking branch 'origin/master' into input-overhaul 2016-03-29 12:28:53 +02:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
rdb 54fa31ba17 StandardError -> Exception, other 2to3 changes, threaded 2to3 2016-03-25 17:13:09 +01:00
rdb 6334f2511d Let's not display deprecation warnings in release builds 2016-03-25 16:41:58 +01:00
rdb 2abad9649b Remove X11-specific stuff from egldisplay, instead using x11display as common base 2016-03-19 18:46:10 +01:00
rdb 6689e69822 Merge branch 'master' into input-overhaul 2016-02-13 11:21:20 +01:00
rdb 40739c6b5f Fix link issues and crashes with Android build 2016-02-06 11:46:56 +01:00
rdb ffaa7419ec Fix Android compile on Windows 2016-02-05 23:21:23 +01:00
rdb 0d1394fa23 Add makepanda instructions to compile motion trail, by user request 2016-01-30 19:15:40 +01:00
rdb dd8344455c XInput gamepad control states, battery information, HID properties 2015-12-12 22:07:43 +01:00
rdb bd0683d101 Generalised input framework for raw mice, gamepads, trackers (incl. HMDs like Oculus Rift) 2015-12-11 15:26:40 +01:00
rdb 50d2e8324e Merge branch 'release/1.9.x'
Conflicts:
	.travis.yml
	direct/src/directtools/DirectLights.py
	panda/src/nativenet/buffered_datagramconnection.h
2015-12-06 22:32:12 +01:00
rdb 1bbfc1d9f6 Put .lib files for .pyd modules in built/lib, so they are packaged into the SDK 2015-12-06 15:16:48 +01:00
rdb e5fac610c8 Remove unnecessary HAVE_EGL setting in dtool_config.h 2015-11-28 16:23:18 +01:00
rdb a819e9055b Merge branch 'release/1.9.x' 2015-11-25 23:42:36 +01:00
rdb f6b66fc5db Fix PhysX compile issues on Mac 2015-11-25 02:01:07 +01:00
rdb 3c2f820ad8 Merge branch 'release/1.9.x'
Conflicts:
	direct/src/p3d/DeploymentTools.py
2015-11-24 13:39:36 +01:00
rdb 37509e7c93 Fix makepanda --clean option when built dir doesn't exist yet 2015-11-23 23:33:27 +01:00
rdb 0e063694d7 Reorganise installation choices in Mac OS X installer 2015-11-23 18:06:38 +01:00
rdb 84d8298ee2 Change location of Mac tools from /Developer/Tools/Panda3D to /Developer/Panda3D/bin, to fix relative loader_path issue 2015-11-23 17:06:53 +01:00
rdb d3a0603a7b Include Eigen headers in the Mac OS X SDK as well 2015-11-23 16:18:35 +01:00
rdb 9eb0a9196b Fix Mac libRocket library issues in 1.9.0 (particularly on El Capitan) 2015-11-21 16:55:27 +01:00
rdb 0a9f9887f9 Merge branch 'release/1.9.x'
Conflicts:
	direct/src/p3d/Packager.py
	direct/src/p3d/ppackage.py
	makepanda/makepandacore.py
2015-11-21 03:17:33 +01:00
rdb 5b4b6ced70 Build .exe wrapper for .p3d deploy tools on Windows 2015-11-20 20:25:46 +01:00
rdb f0e8dd4117 Build .p3d tools as part of SDK build process, if host URL and distributor are specified 2015-11-20 17:44:28 +01:00
rdb a617376e16 Merge branch 'release/1.9.x'
Conflicts:
	dtool/src/interrogate/interfaceMakerPythonNative.cxx
2015-11-20 02:37:46 +01:00
rdb da6d5f442c Don't require setting system PATH to import panda3d.* (backport from master) 2015-11-20 00:56:31 +01:00
rdb 673263dc22 Copy vcruntime140.dll to bin, necessary for building with Python 3.5 2015-11-19 23:21:00 +01:00
rdb c93e50ca05 Merge branch 'release/1.9.x'
Conflicts:
	.travis.yml
	dtool/src/cppparser/cppBison.cxx.prebuilt
	dtool/src/cppparser/cppBison.yxx
	makepanda/makepanda.py
2015-11-19 18:43:13 +01:00
rdb e0dea2b342 Add --clean flag to makepanda to force a clean build 2015-11-19 15:31:24 +01:00
rdb 1d2ba26e26 Merge branch 'release/1.9.x' 2015-11-13 19:26:57 +01:00
rdb f9e61f8231 Fix OSX 10.11: use pkgbuild instead of PackageMaker, backport relocatability from master 2015-11-13 19:25:39 +01:00
rdb 31dbcae262 Deprecate many extension methods, make extension methods imported via modules instead of dumped into core.py, move _core.pyd and _direct.pyd back to core.pyd, direct.pyd respectively, move MAIN_DIR set-up code to module init time 2015-11-10 00:44:29 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb e6391c0b87 Merge branch 'release/1.9.x'
Conflicts:
	makepanda/installpanda.py
	makepanda/makepandacore.py
2015-11-05 20:55:01 +01:00
rdb 1adb0e48f4 Merge branch 'release/1.9.x' 2015-11-03 20:30:33 +01:00
rdb 546bb22421 Workaround for Apple compiler bug causing Eigen compile error 2015-11-02 10:01:11 +01:00
deflected 21656ace52 Squash merge of PR #37:
commit 757038784126094d350244c5ecdd764b1f726532
Author: deflected <deflected@github>
Date:   Sat Jun 6 14:10:16 2015 +0300

    makepanda: Runtime support for FreeBSD PKGNG

    	- Support creation of runtime package
    	- Changed @dirrm to @dir. All non-empty
    	directories are handled by pkg internally,
    	but it is good to have entry for all directories.

commit 756f8b10bad559a9802df68e3aa5d419afe13a25
Author: deflected <deflected@github>
Date:   Fri Jun 5 01:21:26 2015 +0300

    makepanda: Add FreeBSD PKGNG support

    	- The old FreeBSD package manager is obsolete
    	for more than an year.
    	- Added generating of installable package for the new
    	package manager when '--installer' is invoked
    	on FreeBSD
2015-10-28 17:05:46 +01:00
rdb ebd1fd8462 Fix interrogate warnings on Windows. Show warnings when running makepanda in verbose mode. 2015-10-17 03:27:38 +02:00
rdb ddf8343590 Reorganise explicit template instantiations so that it always happens in the .cxx file, while remaining backward compatible with MSVC's standards-breaking implementation 2015-10-16 15:38:28 +02:00
rdb dba5191bc2 Merge branch 'release/1.9.x' 2015-10-12 12:46:39 +02:00
rdb 83d9c4f528 Use /usr/local instead of /usr in Mac OS X installer, to work around El Capitan's System Integrity Protection 2015-10-11 20:11:30 +02:00
rdb ba45120eac Try to stay compatible with Bison 2.5 (for Ubuntu precise), support C++11 and C++17 static_assert, improve error reporting, handle several gcc keyword aliases, fix bug handling preprocessor expression in which the same manifest occurs more than once 2015-10-11 16:52:33 +02:00
rdb 1c9ff40236 Require new Bison version on Windows, fallback to prebuilt files if not present 2015-10-10 16:29:14 +02:00
rdb 7f7f85794d Fix various compilation and linker issues across several platforms 2015-10-07 21:09:35 +02:00
rdb bae5c195af Merge branch 'release/1.9.x'
Conflicts:
	dtool/src/dtoolbase/dtoolbase.h
2015-10-07 15:54:02 +02:00
rdb 389d73a485 Include Eigen headers in Windows SDK to prevent people from having to grab the thirdparty packages 2015-10-07 15:51:56 +02:00
rdb 9543d0800d Don't add -pyX.Y suffix to runtime installer on Windows 2015-10-07 15:41:18 +02:00
rdb 7f3f546cdd Interrogate now parses "volatile" qualifier in instance identifiers correctly 2015-10-05 02:56:40 +02:00
rdb ca37b6b6c0 Fix VC2015 compile errors, allow selecting any WinSDK/MSVC version. All experimental, still. 2015-10-05 02:12:46 +02:00
rdb 532bee3b9e More fixes to Python 3 rtdist, frozen p3dpython building, new open 2015-09-23 11:57:55 +02:00
rdb 759dc77ee1 Merge branch 'release/1.9.x' 2015-09-23 11:56:22 +02:00
rdb 6d4d23cf6c Fix some p3dCert issues 2015-09-20 16:01:49 +02:00
rdb 62217c652e Fix various link issues on Windows when building rtdist 2015-09-20 01:37:49 +02:00
rdb 445c3461d6 Python 3 support to rtdist, reimplement VFS open() on top of io.IOBase, allow freezing into .c target, make VFSImporter and friends frozen into p3dpython 2015-09-18 21:20:25 +02:00
rdb d13b43f003 Merge branch 'release/1.9.x' 2015-09-12 14:16:03 +02:00
rdb d63110a49e Add localized text strings to p3dcert 2015-09-11 13:27:31 +02:00
rdb d569e2ab6f Merge branch 'release/1.9.x' 2015-08-16 13:55:42 +02:00
rdb 9b93b8a030 python-pmw shouldn't be a dependency, merely a recommendency 2015-08-13 01:59:07 +02:00
rdb 63c65b4228 Merge remote-tracking branch 'origin/release/1.9.x'
Conflicts:
	direct/src/showutil/FreezeTool.py
2015-08-10 04:02:53 +02:00
rdb 85e3d2ee3a Don't override host URL when building CMU runtime distribution 2015-08-09 13:10:20 +02:00
rdb 74190f9e50 Work towards supporting Python 3 in the rtdist 2015-08-08 20:49:51 +02:00
rdb 0cecab3124 Fix issues with the rtdist build in 1.10 2015-07-28 15:40:04 +02:00
rdb 1206d93813 Fix pandac.PandaModules import error with Python 3 (thanks, tzaeru!) 2015-07-14 22:22:45 +01:00
rdb 9178ed2871 Fix some preprocessor expressions in Interrogate 2015-07-14 21:04:50 +01:00
rdb 555844f82a Allow compiling out the fixed-function pipeline and request core context 2015-07-09 16:43:45 +02:00
rdb 88f7279522 Make it easier to make Python 3 builds on Windows 2015-07-07 03:17:42 +01:00
rdb 1088cdedc8 Fix mac and static build issues 2015-07-06 23:31:14 +02:00
rdb 23a4876c57 Merge branch 'cleanup-imports' 2015-06-30 17:21:22 +02:00
rdb dd17fd864b Properly separate dtoolconfig and interrogatedb 2015-06-30 16:16:35 +02:00
rdb c0f6588c88 Separate libp3interrogatedb out of libp3dtoolconfig.
This aids further in removing the core lib dependency on Python.
2015-06-30 15:17:15 +02:00
rdb 29b6f4753b Merge pull request #43 from mfwass/master
added more possible locations for PackageMaker
2015-06-30 14:49:45 +02:00
Michael Wass f9d185acaf makepanda.py: Changed command in a .app ref 2015-06-30 08:47:57 -04:00
rdb 09f3817f03 Fix assimp compile error (Missing BUILDING:ASSIMP) 2015-06-30 13:56:11 +02:00
Michael Wass ddd68e133e makepanda.py: added more refs for PackageMaker 2015-06-30 07:33:54 -04:00
rdb 5625df0e51 panda3d/__init__.py should add 'bin' dir to PATH on Windows 2015-06-29 20:37:33 +01:00
rdb d9342043b0 Deprecate pandac.PandaModules and genPyCode, move extensions to panda3d/, clean up imports and deprecated behaviour 2015-06-28 13:55:31 +02:00
rdb 4f3998ae11 Build panda3d/*.so as bundles on OSX, make OSX builds relocatable 2015-06-23 21:09:33 +02:00
rdb 236b0c590c Use explicit symbol visibility control in GCC/clang 2015-06-22 21:01:34 +02:00
rdb 11ed8a4d8d Use dynamic type lookup for interrogate to eliminate inter-module dependencies
It is now no longer necessary to link to core.pyd
Also includes a slight coercion optimization for trivial types
2015-06-06 19:36:40 +02:00
rdb cf7ae935a0 Merge pull request #36 from Moguri/assimp
Changes to makepanda to compile with Assimp
2015-06-05 17:35:56 +01:00
Mitchell Stokes 5f735b4e50 Changes to makepanda to compile with Assimp
This includes updating header files for Assimp 3.
2015-06-03 23:43:02 -07:00
rdb 9c0076a09b Bump version to 1.10.0 2015-06-03 20:47:53 +02:00
rdb 141c7a9c35 Improve build performance on Windows slightly 2015-06-02 21:02:35 +02:00
rdb 8a9e30afa8 Revert accidental disabling of strip step on Linux in opt4 builds 2015-04-06 15:05:47 +02:00
rdb fdcd8de596 Fix runtime issues running maya2egg on Mac OS X 2015-04-02 01:34:45 +02:00
rdb f7eb1db74c Fix symbol error when loading libp3ffmpeg on Mac OS X 2015-04-02 00:58:04 +02:00
rdb 9f3b37d62f Fix FCollada include location issue 2015-04-01 13:59:58 +02:00
rdb b7840fed06 Fix compile errors and warnings with mayapath.cxx 2015-04-01 00:22:03 +02:00
rdb 7e2bbda123 Don't compile Maya 2012-2015 plugins in 32-bit mode on Mac OS X 2015-03-31 21:34:28 +02:00
rdb 0c6638b99c Maya 2012 and onward has no 32-bit build on Mac 2015-03-31 13:21:19 +02:00
rdb 889da02c8c FLTK needs X11 link 2015-03-31 13:02:35 +02:00
rdb 7097ea4a0e OSX build tweaks and fixes (always use Python framework for SDK) 2015-03-30 17:58:04 +02:00
rdb af18bfd18d Fix makepanda, squelch libpandaexpress import error 2015-03-30 00:21:31 +02:00
rdb 5827959056 Fixes for 64-bit OS X build on newer OS X versions 2015-03-29 22:06:32 +02:00
rdb 982ece639d Support specifying custom location of thirdparty packages on makepanda command-line 2015-03-29 18:16:29 +02:00
rdb bcb203af9a Mac OS X build improvements 2015-03-29 18:09:28 +02:00
Ed Swartz 10dd9120be Patch to fix fftw compile error on Linux 2015-03-28 22:16:00 +01:00
rdb b06100afdd Changes to support building universal Mac rtdist for 1.9 2015-03-28 00:31:10 +01:00
rdb e7ed6cee41 Support building with OpenCV 2.3 and higher 2015-03-27 23:47:59 +01:00
rdb 993894d93d Upgrade FLTK version 2015-03-27 23:23:26 +01:00
rdb 477aa4bdfe Fix various Windows build issues 2015-03-27 23:17:35 +01:00
rdb f624cdcac0 Fix various Mac OS X bugs and build issues 2015-03-25 19:43:21 +01:00
rdb ea7144e87d Eliminate p3dpython's problematic link-type dependency on core.pyd 2015-03-25 19:42:23 +01:00
rdb 9e1d1146b8 Build windows plug-in with MFC 2015-03-24 17:42:04 +01:00
rdb ddbb409eac Fix error when building runtime with --version 2015-03-24 16:25:41 +01:00
rdb 0570d9536e Merge branch 'interrogate-overhaul'
Conflicts:
	panda/src/gobj/texture.h
	panda/src/pnmimage/pnmImage.h
2015-03-22 21:50:08 +01:00
rdb babc6726b2 Replace libpng and libjpeg with stb_image in the web plug-in to fix conflicts with incompatible system versions of libpng 2015-03-22 19:48:16 +01:00
rdb 0ee5be581c Fix rtdist compile issues 2015-03-22 19:38:46 +01:00
rdb 9bf5885312 Include npapi headers in Panda source, to make life generally easier 2015-03-21 21:45:14 +01:00
rdb 7edecd7fea Fix compilation issues with the runtime 2015-03-21 21:33:32 +01:00
rdb 0416c6dbec Robustify package detection on Linux 2015-03-19 19:38:09 +01:00
rdb 8f65a6d22a Installer fixes: add PhysX component, fix existing Python install detection 2015-03-16 00:39:09 +01:00
rdb 58e6a90cb8 3dsmax plugins need to be compiled with rtti 2015-03-15 22:18:16 +01:00
rdb e608fa69c7 Merge branch 'master' into interrogate-overhaul
Conflicts:
	dtool/src/cppparser/cppBison.yxx
	dtool/src/interrogate/interfaceMakerPythonNative.cxx
2015-03-14 16:47:31 +01:00
rdb 04d4309b14 SSE2-enhanced sRGB encode (with runtime CPU detection) 2015-03-01 11:46:52 +01:00
rdb 238cbad2a1 Merge branch 'master' into interrogate-overhaul 2015-02-27 12:48:33 +01:00
Aaron Denney c3d1079b5a Fix missing dependency making parallel builds unreliable. 2015-02-25 11:27:49 -08:00
rdb d43068b09a Merge branch 'master' into interrogate-overhaul 2015-02-11 21:59:54 +01:00
rdb 8d17e86d2e Merge /cygdrive/g/panda3d 2015-02-11 21:13:25 +01:00
rdb b9c1765ab4 Fix eggcacher, dramatically improve Windows installer 2015-02-11 21:12:54 +01:00
rdb 4dc4c9eb3d Merge branch 'master' into interrogate-overhaul
Conflicts:
	dtool/src/interrogate/functionRemap.cxx
	dtool/src/interrogate/interfaceMakerPythonNative.cxx
	panda/src/event/pythonTask.cxx
	panda/src/express/multifile.h
	panda/src/express/pointerToArray.I
	panda/src/mathutil/config_mathutil.N
	panda/src/putil/config_util.N
	panda/src/putil/doubleBitMask.h
2015-02-11 14:41:58 +01:00
rdb a6eb3fa442 Make NodePathCollection and TextureCollection constructors extensions 2015-02-11 14:14:03 +01:00
rdb cbd70ad8af Move all Python bindings out of core DLLs into the .pyd files. 2015-02-10 14:30:51 +01:00
rdb bd7d86ba9e We use /fp:fast on Windows, let's be consistent and use -ffast-math on other platforms in release builds 2015-02-09 20:39:16 +01:00
rdb 27582ff447 Remove HAVE_GL(ES) from dtool_config.h, we don't use it in source 2015-02-09 17:57:12 +01:00
rdb bd86907181 Fix assortment of compilation issues and annoyances 2015-02-08 23:25:11 +01:00
rdb b2f73d0877 Merge branch 'master' into interrogate-overhaul 2015-02-08 12:11:19 +01:00
Jonas Thiem 9a96809fa5 Adding additional check for /usr/bin/dpkg-deb back in 2015-02-07 22:47:14 +01:00
Jonas Thiem 76ca80dcd5 Moving over PYTHON_SITEPACKAGES definition from makepanda.py to installpanda.py 2015-02-07 22:37:40 +01:00
Jonas Thiem c11c46a6b1 * adding warning when both dpkg and rpmbuild are present
* check for /usr/bin/dpkg-architecture instead of /usr/bin/dpkg-deb (latter appears to be present on Fedora)
* insert python site package path into INSTALLSPEC from current interpreter instead of %{__python} (fixes Python 3)
2015-02-07 22:31:15 +01:00
rdb 9a50d3bf61 Enable exceptions when building with libRocket or OpenCV 2015-01-18 21:57:58 +01:00
rdb d6ce7c6562 Oops, fix build 2015-01-12 20:35:17 +01:00
rdb 0aa0f34c74 Lots of work to make the rtdist work with the new library building system 2015-01-12 15:02:42 +01:00
rdb 22a7cbe77e Disable exceptions on MSVC to reduce code bloat 2015-01-08 14:55:27 +01:00
rdb b5a49efc2e Merge branch 'master' into interrogate-overhaul 2015-01-07 19:34:15 +01:00
rdb af15797a25 Many, many performance optimizations and enhancements 2015-01-07 19:30:01 +01:00
rdb ecf627b315 Fix a bug substituting some enums
(Still a bug: some enums in templated classes don't get instanced properly)
2015-01-05 17:04:38 +01:00
rdb 936fa653b0 Remove unneeded HAVE_ flags from dtool_config.h generation 2015-01-04 20:34:59 +01:00
rdb 8098460433 Use -fno-exceptions for more performance; disable RTTI in release builds 2015-01-02 15:06:47 +01:00
rdb 624b3dad14 Delete DirectX 8 support 2014-12-30 02:00:43 +01:00
rdb be1eb1d812 More minor linux packaging fixes 2014-12-29 15:16:33 +01:00
rdb 794b00805e Add man pages for the majority of utilities 2014-12-27 22:14:23 +01:00