Commit Graph

370 Commits

Author SHA1 Message Date
rdb 54fa31ba17 StandardError -> Exception, other 2to3 changes, threaded 2to3 2016-03-25 17:13:09 +01:00
rdb ffaa7419ec Fix Android compile on Windows 2016-02-05 23:21:23 +01:00
rdb c644e7ae49 Merge branch 'release/1.9.x' 2015-12-03 16:38:25 +01:00
rdb eb2c9f51f5 More fixes for custom incdir/libdir 2015-12-03 16:38:10 +01:00
rdb 956097b632 Merge branch 'release/1.9.x'
Conflicts:
	pandatool/src/assimp/pandaLogger.h
2015-12-03 16:14:07 +01:00
rdb 2680680df0 Fix when passing custom incdir/libdir for Eigen 2015-12-03 16:09:54 +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 5ba93acf5c Workaround to allow building the rtdist on Mac 10.11, which removes DYLD_LIBRARY_PATH 2015-11-23 23:33:38 +01:00
rdb 1d86d604b2 More reliable file copy behaviour - handle directory symlinks better, too 2015-11-23 16:20:39 +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 7fa407a118 Add code to locate June 2010 DirectX SDK outside of the registry 2015-11-20 02:05:18 +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 9f1898b935 Fix errors with Windows filenames in CopyFile() 2015-11-19 23:27:33 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb dafb4e7e5e Fix error locating VC 2010 on cygwin Python 2015-11-05 20:59:50 +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 d4d8585d0e Fix issues building with Cygwin version of Python 2015-11-05 20:43:03 +01: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 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 d569e2ab6f Merge branch 'release/1.9.x' 2015-08-16 13:55:42 +02:00
rdb 6b7cbc5f2f Fix issue running makepanda on German computers 2015-08-16 13:51:25 +02:00
rdb 88f7279522 Make it easier to make Python 3 builds on Windows 2015-07-07 03:17:42 +01: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
Sean Martin 912374cc51 Add support for Maya 2016 2015-06-01 22:27:13 +02:00
rdb 7097ea4a0e OSX build tweaks and fixes (always use Python framework for SDK) 2015-03-30 17:58:04 +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
rdb b06100afdd Changes to support building universal Mac rtdist for 1.9 2015-03-28 00:31:10 +01:00
rdb 477aa4bdfe Fix various Windows build issues 2015-03-27 23:17:35 +01:00
rdb de0b0dd879 Fix various issues with Python 3 support, fix samples to work with Python 3 2015-03-23 00:32:47 +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 c582d3ff67 Fix false positive when detecting header-only library presence 2015-03-22 20:05:53 +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 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 238cbad2a1 Merge branch 'master' into interrogate-overhaul 2015-02-27 12:48:33 +01:00
rdb db87bc7914 PointerToArray fixes, Windows build fixes, more move constructors 2015-02-27 12:45:11 +01:00
rdb e2cdade9d2 Merge branch 'master' into interrogate-overhaul 2015-01-04 20:39:58 +01:00
rdb 936fa653b0 Remove unneeded HAVE_ flags from dtool_config.h generation 2015-01-04 20:34:59 +01:00
rdb 6db5d0dc11 Huge cppparser and interrogate overhaul, bringing:
* Better support for typedefs
* Same code should compile for both 32-bit and 64-bit
* C++11 typed enum support
* Synthesize __setitem__ when operator [] returns reference
* Rewrite coerce system to have better performance
* Change semantics of __getattr__ and __setattr__ to match
  Python's, add __getattribute__, __delattr__ and __delitem__
* Improve performance of slot functions a bit more
* Reduce memory overhead of type system
* Some support for wrapping arrays of numeric types
* C++11 character type support in cppparser
* Chars are handled as strings of length 1
* Template functions for CreatePyInstance that use runtime type map
* More functions from dtool as extension functions
* Code cleanup
2014-12-30 16:43:52 +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 1bf3738124 oops, I broke non-OSX build 2014-10-13 11:34:19 +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 902bedc314 Fix Python 3 crash on Windows, and fix some Python 3-related compile errors 2014-10-10 13:45:05 +00:00
rdb 0a84dd9ca3 Android fixes 2014-10-06 17:44:58 +00:00
rdb 0eaebaf258 Fix bison/flex location, and fix debug Python on Windows with makepanda 2014-08-21 13:00:36 +00:00
rdb 3d5118d406 Unlink symlink before re-creating 2014-05-28 15:55:18 +00:00
Chris Brunner 9ab6d166d0 Maya 2015 support 2014-04-30 19:49:28 +00:00
rdb 8ae5e58d92 Preserve symlinks when copying files 2014-03-17 13:26:58 +00:00
rdb ad3706e6f1 Don't copy .pyc and .pyo files to built/direct 2014-03-09 00:05:53 +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 5f2c0a6e04 Big commit aiding in separation of Python bindings:
* Most extension functions have been moved to C++.
 * In makepanda, Python bindings are compiled into panda3d/<module>.pyd.
2014-02-20 13:33:26 +00:00
rdb 03b293244b Fix threaded build with Python 2.5, fix OS X build that doesn't specify sysroot 2014-01-11 13:57:37 +00:00
rdb adf9b05381 include version number in dependency cache (sorry for forcing a full rebuild onto y'all) 2013-12-22 10:12:19 +00:00
rdb 4b9da436a0 Automatically invoke 2to3 on built/direct for a Python 3 build 2013-12-17 22:48:19 +00:00
rdb 3241443077 fix error parsing PandaVersion.pp with Python 3 2013-12-17 20:31:46 +00:00
rdb 01ebd5e66a very error, such compile, wow 2013-12-17 15:18:37 +00:00
rdb 708dca0468 oops, fix for verbose builds 2013-12-17 13:39:30 +00:00
rdb b686d371ca fix maya location on linux, fix dependency cache problems with Python 3 that forced a full rebuild every time 2013-12-17 13:33:39 +00:00
rdb 40cc37e3da fix terminal colouring when using Python 3 2013-12-17 11:56:02 +00:00
rdb f1d550bfd8 Missed a space 2013-10-07 15:17:23 +00:00
rdb c88e493873 Add 3dsmax 2014 2013-10-07 12:58:36 +00:00
rdb f3a7c94172 64-bit PhysX 2013-10-07 10:48:33 +00:00
David Rose 98174d62db support deleting if requested 2013-09-30 22:11:52 +00:00
rdb c02932282b don't pick up _ext.I 2013-09-18 14:56:51 +00:00
Chris Brunner c80f30161f Support for Maya2014 2013-08-30 21:05:11 +00:00
rdb 1b3e62ebb9 Fixes for running makepanda with cygwin Python, fixes for compiling on 32-bits Windows for 64-bits Windows 2013-08-28 09:01:03 +00:00
rdb f251e29237 further fixes for cross-compiling on windows 2013-08-28 07:31:50 +00:00
rdb 34fd8f0c4d don't rely on being able to call the python build we're building against 2013-08-26 20:52:59 +00:00
rdb 4c4b627260 Drop support for VC2008. Add support for VC2010. Split vrpn and ffmpeg out of libpanda. Fixes for cross-compiling 64-bit on 32-bit Windows. Will post new thirdparty packages at the forums. 2013-08-26 12:22:24 +00:00
rdb 0854cf5aa2 Add support for libswresample 2013-08-22 18:36:58 +00:00
rdb 330a9c7b87 MoveAway/MoveBackConflictingFiles is a bad idea, let's just WarnConflictingFiles 2013-08-22 18:30:29 +00:00
rdb 6cf523c4de Locate fcollada lib in thirdparty dir correctly 2013-08-13 17:45:16 +00:00
David Rose a3027ceb23 also build Maya 2013.5 2013-06-04 00:23:30 +00:00
rdb c4d303fde6 gcc -print-search-dirs does not list /usr/local/lib 2013-04-13 15:39:08 +00:00
rdb 790907aee0 oops fix 2013-04-12 18:51:01 +00:00
rdb 78d3b4095b Implement a better solution for the multilib problem. 2013-04-12 15:22:37 +00:00
rdb 1c74e7f7bf pick up ode-config include fix on head 2013-04-12 15:10:00 +00:00
rdb f42eb3164c debug output thirdparty directory 2013-04-02 12:19:01 +00:00
rdb 151b22ddf0 fix exception handling in Python 2 2013-02-20 09:23:54 +00:00
rdb 8cab1011d6 don't include python lib dir if it doesn't exist 2013-02-19 19:18:46 +00:00
rdb 62a4e4122c Python 3 support, and a compile fix 2013-02-18 18:42:49 +00:00
rdb 4bf17ae286 use target arch to locate sdks dir on windows 2013-02-09 11:43:14 +00:00
rdb f66c8023f9 fix error 2013-01-28 19:32:41 +00:00
David Rose 2c1dcdb7b4 fix for Windows build when "." is not explicitly on the PATH 2013-01-26 02:00:49 +00:00
rdb a746344970 Many improvements to makepanda, general cleanup, hidden bugfixes, but most notably cross-compilation and Android support 2013-01-24 20:20:47 +00:00
rdb 06b3438d72 Add Maya 2013 2012-09-28 09:38:15 +00:00
rdb 5bd76de269 fcollada, ode, carbon/cocoa 2012-08-11 21:09:28 +00:00
rdb e131c12dcb a few minor fixes, including better support for Xcode 4.3 on OSX Lion 2012-07-25 09:47:34 +00:00
rdb c0f74e9da3 CopyTree should update altered files properly 2012-02-19 09:24:22 +00:00
rdb 4cc8cf04c8 support for thirdparty packages with their own Python bindings 2012-01-28 13:12:36 +00:00
rdb 3a98b5838a remove debug messages that zhao forgot to remove, and hopefully fix the interrogate rerun issue 2012-01-08 13:28:49 +00:00
David Rose abee07ef0d windows fix 2011-12-19 18:01:27 +00:00
David Rose e04c446b1c add eigen to makepanda 2011-12-19 17:36:40 +00:00
Zhao Huang 7d9778f2b9 fixed MSPlatform check for non-Win platforms 2011-12-08 15:16:49 +00:00
Zhao Huang 66aef17a6f Fixed Threading Build Issue, --thread=X will now compile correctly (at least on windows)
Added support for Win7.1 Platform, DirectX June SDK 2010
Add switch --dxSdk and --MSPlatSdk to select which SDk to use (defaults to prior set behavior)
Add switch --PandaPhysics, --Vision, --Skeleton, --PandaParticleSystem to toggle compilation of native panda components
2011-12-08 04:53:34 +00:00
Chris Brunner 8801ec38d7 More helpful error messaging than a blank response added 2011-11-15 22:42:15 +00:00
David Rose 8525e325c3 get frameworks from pkg-config as well 2011-09-28 17:13:21 +00:00
David Rose 5a1c474c31 turns out sys.maxint isn't reliable on windows. Feh. 2011-09-06 20:20:29 +00:00
David Rose e034e375c9 Fixing some more OSX issues. Let's just avoid platform.architecture() as a 32/64 bit test altogether. 2011-09-01 17:23:42 +00:00
rdb f62a4c37cb tabs -> spaces 2011-09-01 08:04:16 +00:00
Mike Christel 48f2a8cab7 Added MAX2012 to MAXVERSIONINFO 2011-08-18 14:02:47 +00:00
rdb d52509675f shed more light on compile error 2011-07-25 08:06:34 +00:00
rdb 553b009a24 fix for lib detection 2011-06-03 09:43:49 +00:00
Chris Brunner 5916dc9912 Added a flag to override the forced 32-bit lookup in GetRegistryKey method.
make use of override in the Maya path lookup call to GetRegistryKey, thus allowing finding the 64-bit libraries
2011-05-17 23:14:28 +00:00
Chris Brunner 196cdef8a2 support for Maya2012 2011-05-16 21:18:07 +00:00
rdb 8d035dd14d hack fix for the wx compile error on osx 2011-04-30 14:35:06 +00:00
rdb ca21801bb1 fix fltk-config interpretation 2011-04-14 11:25:23 +00:00
rdb ee5c561acc thirdparty dir for arm 2011-03-26 08:52:19 +00:00
rdb b2da92fefb Link fltk statically 2011-03-15 18:34:30 +00:00
rdb 5b9ad3832c fltk-config fix 2011-03-09 13:16:44 +00:00
rdb fc0d21cdd3 also read LD_LIBRARY_PATH when searching for libraries 2011-02-21 20:51:50 +00:00
rdb 00f2a30a2b don't remove .h files from include dir 2011-01-12 15:08:10 +00:00
rdb 30b2463a05 fix for MAKEPANDA_THIRDPARTY on windows 2010-12-01 21:47:17 +00:00
rdb 3d43d0c8ad Allow setting custom MAKEPANDA_THIRDPARTY and MAKEPANDA_SDKS env vars 2010-11-17 12:36:58 +00:00
rdb f05831d24d Improvements. Too lazy to describe them (pay me enough and I'll write a book about these changes) 2010-11-17 12:17:41 +00:00
rdb 233e25d98c use os.expanduser with $PATH, it may contain a tilde 2010-10-27 16:56:47 +00:00
enn0x e2093b1c2d Moving to PhysX SDK 2.8.4 (win only), and added first experimental SoftBody code. 2010-10-17 08:09:48 +00:00
David Rose 14e029135c move speedtree from thirdparty to sdks 2010-10-11 16:59:21 +00:00
rdb ea4ca0e667 Fix SpeedTree compile error on Linux 2010-10-09 14:55:28 +00:00
David Rose 4a2cf37182 speedtree for makepanda 2010-10-09 00:16:51 +00:00
rdb 754cb8e4bc Changes to build PhysX support on 64-bits Linux 2010-10-01 16:23:16 +00:00
rdb 17a8d045bf This should fix compilation errors with Maya 2011 on OSX 2010-09-02 10:55:03 +00:00
Mike Christel bbbf2d263d Added support for Max and Maya versions 2011 2010-08-20 19:07:39 +00:00
rdb 7f54d90160 Add atlmfc/lib dir 2010-07-22 18:30:04 +00:00
rdb da7bdf9f51 Add PlatformSDK's bin dir to $PATH, too 2010-07-07 18:27:21 +00:00
Walt Destler bb5d97f1bf Fixed the following issues with the multitouch and python eventing code comitted earlier this week:
-	Renamed CustomGraphicsWindowProc to PythonGraphicsWindowProc.
-	PythonGraphicsWindowProc now extends the PythonCallbackObject class.
-	Added a GraphicsWindowProcCallbackData class. The data stored in this class depends on the OS being compiled for. (Currently only members for WIN32.)
o	Multitouch is now handled through this class as well. It has is_touch_event(), get_num_touches(), and get_touch_info() methods. The GraphicsWindow class still has these methods (GraphicsWindowProcCallbackData simply calls them), but they are no longer published.
-	Updated Sources.pp to use all these new files.
-	Added function and class comment blocks to everything.
-	Fixed a few coding convention things and continued to follow those conventions to the best of my knowledge.
-	Checked for literal tab characters.
-	pandabase.h comes before all other includes
-	No Windows-specific typedefs in non-Windows code.
-	All python-specific code in HAVE_PYTHON blocks.
-	Fixed the case between TIF_move, TIF_down, and TIF_UP (now TIF_up).
2010-06-25 21:46:53 +00:00
Walt Destler 51e708ade8 Forgot to commit changes to makepanda for Win7 support. 2010-06-22 16:39:54 +00:00
David Rose e2ba56c3ed add COREAPI_VERSION 2010-06-17 15:27:43 +00:00
rdb d73fd17eac Various improvements, most notably that --installer now supports creating FreeBSD packages. Also, default install path for installpanda.py is now /usr/local 2010-05-30 19:11:29 +00:00
rdb 76acb90a98 Handle keyboard interrupts better 2010-04-09 12:57:34 +00:00
rdb 38b35ef153 Minor bugfix, and also, better output signal handling 2010-04-09 12:49:16 +00:00
rdb 85bd762709 Fix incorrect PC-BSD checks 2010-03-08 19:22:14 +00:00
rdb a941082546 Remove unnecessary code 2010-03-05 14:21:12 +00:00
rdb 2af783dc28 Fix when /usr/bin/python isn't a symlink 2010-03-05 14:20:14 +00:00
rdb 2941d95466 Fix OSX buildbot compile error for runtime build, as well 2010-02-27 14:39:58 +00:00
rdb 2c762a7820 Fix buildbot compile error on OSX 2010-02-27 14:13:54 +00:00
rdb d6c565860d Resolve symlinks for sys.executable, so that ppython symlink will always point to the right version on non-windows 2010-02-27 11:11:09 +00:00
rdb 38caf46fe0 Apply patch from koeikim
https://bugs.launchpad.net/panda3d/+bug/527567
2010-02-25 08:20:21 +00:00
rdb d594f42d11 Only use _d suffix on Windows 2010-02-06 15:09:19 +00:00
gogg fbbc5bb9e6 Compatibility with DX SDK August 2009 that shouldn't break older SDKs. SECURE_SCL settings restored in makepanda. 2010-02-04 04:27:35 +00:00
gogg d067be47f5 Support for August 2009 DirectX SDK. New DTool configuration macros. Makepanda can now detect Window Framework 6.0A 2010-02-02 02:20:25 +00:00
rdb e3f688e104 Oops, I removed one line too much in my last commit 2010-01-20 10:50:57 +00:00
rdb 0cf2249f7a Disable ldconfig use on FreeBSD for now 2010-01-19 17:40:23 +00:00