Commit Graph

825 Commits

Author SHA1 Message Date
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
rdb fef66d1fdd Improvements and fixes to installer generation on Linux 2014-12-24 14:37:37 +01:00
rdb f189290dfe Support for automated build bot scripts, add PandaSystem::get_git_commit() 2014-12-22 20:27:37 +01:00
rdb 40a40b20cf Rename EventStoreValue to ParamValue to make it more generic,
in anticipation of new parameter system
2014-12-10 00:26:26 +01:00
rdb 8afc88e86e Add CXXFLAGS; only use CFLAGS for C sources 2014-12-06 22:37:16 +01:00
rdb 480c3f258b Don't complain about missing wx (or fltk) when building SDK 2014-12-06 20:26:05 +01:00
rdb a65b477734 Commit patches by cfsworks:
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
rdb 31a71c990d Fix issues with OS X 10.9 compilation, fix issues uncovered by clang 2014-10-12 18:45:37 +00:00
rdb 43805f47bb Improve runtime installer, add 64-bit support 2014-10-08 20:43:59 +00:00
rdb 7524299de9 Fix regressions with Direct3D support. Add sRGB support to DX9 renderer. 2014-10-08 19:56:28 +00:00
rdb 0a84dd9ca3 Android fixes 2014-10-06 17:44:58 +00:00
rdb 24386cdc1e Use a table to make InternalName::make more efficient for Python interned strings 2014-10-02 18:28:06 +00:00
rdb 39e0889b54 compilation of panda3d.dtoolconfig 2014-09-19 23:30:47 +00:00
rdb bed35751ec Comment out bin2c compilation since it conflicts with PyCUDA, and it's a bit of an esoteric tool anyway. 2014-07-11 12:22:31 +00:00
rdb 37da1427c0 Don't try to build check_adler and check_crc when ZLIB support has been disabled. 2014-07-07 12:32:40 +00:00
rdb c33ef307d6 Delete MesaGL renderer, it seems not to be used any more 2014-06-18 14:59:11 +00:00
rdb 81dc0f3762 Set interrogate module string to 'panda3d.core' instead of 'core' to make pickling work correctly. Contact me if this breaks anything. 2014-05-23 13:44:00 +00:00
rdb 566feda34d Commit patch by cfsworks to move pgraph stuff to extensions 2014-04-04 09:23:58 +00:00
rdb 44b4afe898 Fix issues building the plugin on Linux 2014-03-27 12:56:59 +00:00
rdb 1b93b8fbb3 Add methods to efficiently access PfmFile data from Python 2014-03-09 01:05:34 +00:00
rdb e38b97b26f fix for Python versions before 2.6 2014-03-09 00:57:09 +00:00
rdb c897b0ece1 Remove old cruft relating to Mac OS X installer 2014-03-08 20:09:58 +00:00
rdb c6cbaa92f9 Fix a range of build issues, in particular on Mac OS X 2014-03-08 14:22:17 +00:00
rdb e14a831900 more windows linker problems 2014-02-20 22:32:06 +00:00
rdb ee56fa4302 more ode fixes 2014-02-20 22:20:58 +00:00
rdb fe07bceef9 link in ODE for extension functions 2014-02-20 22:02:34 +00:00
rdb d3aab3bb18 ugh I'm fuxing up all over the place. sorry guys. :-/ 2014-02-20 21:16:09 +00:00
rdb 0735b15981 fix for boost link error on libRocket 2014-02-20 21:09:53 +00:00
rdb 6e16ca7f68 More fixes for windows modules 2014-02-20 20:53:51 +00:00
rdb e1a91d28c5 more fixes for building of windows modules 2014-02-20 20:25:11 +00:00
rdb 260cb66c54 generate .lib for .pyd files on Windows. 2014-02-20 20:00:45 +00:00
rdb 60fb5376f9 fixes for building modules on windows 2014-02-20 19:52:47 +00:00