Commit Graph

6960 Commits

Author SHA1 Message Date
rdb 79430f6bc5 Fixes for Python 3 2014-02-27 11:30:56 +00:00
Chris Brunner 858275a95f Add a check to make sure the method has a __name__ member before trying to print it 2014-02-26 01:57:28 +00:00
rdb 46450f2798 Delete panda3d.py on installation if it exists 2014-02-22 10:56:13 +00:00
rdb abbbb1d09f Let the installer copy the new 'panda3d' tree instead of the panda3d.py file. 2014-02-20 18:05:56 +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 5f9545a914 Move SetRegView to appropriate sections 2014-01-14 11:02:58 +00:00
rdb 07404ff694 Add SetRegView so we can correctly install 64-bit build to the 64-bit registry 2014-01-14 10:12:50 +00:00
rdb c47a983798 Exclude _mysql.pyd from main Panda3D package, to reduce file size 2014-01-11 13:14:18 +00:00
rdb 8365c5ce13 Remove superfluous import lines (this is really genPyCode's task) 2013-12-23 19:39:22 +00:00
rdb 2275784525 More Python 3 support, and a bit of work toward being able to compile as panda3d/core.pyd, etc. 2013-12-23 18:57:48 +00:00
rdb c729775265 The 'new' module has been deprecated since 2.6 and removed in Python 3, let's not use it (use 'types' module instead) 2013-12-23 15:08:00 +00:00
David Rose 5bd9eaf7fc fix import error 2013-12-19 18:56:45 +00:00
rdb 088df4a3d2 A few modernisation fixes, mostly for Python 3 support 2013-12-17 22:51:28 +00:00
rdb 66f4964c8b Oops, checked in the wrong file 2013-12-17 20:04:59 +00:00
rdb 88048bf3da Fix use of has_key and map() 2013-12-17 19:49:09 +00:00
rdb c1273d5684 PyEval_InitThreads should go after Py_Initialize in Python 3 2013-12-17 18:42:11 +00:00
rdb 3403c8748e Fix use of outdated exec and repr syntax 2013-12-17 18:05:45 +00:00
Sam Edwards a4563fb342 Patch by cfsworks: actor: On removePart, clean up the part's commonBundleHandle. 2013-12-04 10:28:16 +00:00
rdb d7c76b2bc3 Let's just require Windows XP and IE 5.0. 2013-10-07 19:31:42 +00:00
rdb acb97361db msvc 2010 actually requires targeting winxp 2013-10-07 15:56:12 +00:00
rdb d265d9f434 MSVC 2010 requires _WIN32_WINNT to be defined to 0x0403 or higher. 2013-10-07 15:34:34 +00:00
rdb fbf9ef7cd3 support auxtex1 in renderSceneInto 2013-09-15 10:30:12 +00:00
Chris Brunner 98000eaac0 Fix for something that shouldn't have worked at all in the first place 2013-09-03 22:44:40 +00:00
David Rose 09211b1e64 report ImportError message more usefully 2013-08-27 17:40:24 +00:00
rdb 42a9491133 Fix compile error for 64-bit Windows 2013-08-26 15:11:23 +00:00
rdb 86509ab684 fix png compile error 2013-08-26 14:45:32 +00:00
rdb c606606a24 Separate out ffmpeg and vrpn. 2013-08-26 12:17:24 +00:00
rdb c0ddb63e88 minor fix 2013-08-25 19:39:15 +00:00
rdb 388c938c06 Add import for backward compatibility 2013-08-25 19:38:25 +00:00
rdb f54c1241ae slightly less unhelpful error messages 2013-08-25 19:38:02 +00:00
rdb 72aca47fa2 .pyd should be remapped to .so on OSX 2013-08-14 15:39:03 +00:00
rdb 037d803ae8 Let's reenable libp3dpython.so as viable fallback on non-Windows platforms. 2013-08-13 17:34:17 +00:00
rdb 1cfa19d473 support mousewheel in WxPandaWindow, bugfix provided by Craig (LP bug 1210850) 2013-08-13 14:18:02 +00:00
rdb d489f68115 Add support for 2D texture arrays to ShaderGenerator and BufferViewer (actual render-to-texture-array functionality to come) 2013-08-12 09:18:24 +00:00
David Rose a1c70ce95e avoid some divide-by-zero exceptions 2013-08-04 18:14:37 +00:00
rdb 712ecb8d3b Fix LerpBlendHelpers import 2013-07-27 11:03:39 +00:00
rdb bba6537f97 Fix VFSImporter for modules that change their sys.modules definition (such as 'Pmw' and 'panda3d') 2013-07-23 18:09:44 +00:00
rdb 808ca386c4 Fix error for modules where __file__ is None 2013-07-23 18:03:46 +00:00
rdb ac3ba58e55 Move all tk/tcl stuff to the 'tk' package, fix tcl file location 2013-07-23 17:54:30 +00:00
rdb 350b2aaf3c Add version of execfile() that uses the VFS 2013-07-23 17:27:58 +00:00
David Rose 87590d6d09 more robust fixes for moduledir vs. moduledir/__init__ confusion 2013-06-12 22:41:24 +00:00
rdb 106a7977ba fix particle panel error 2013-06-03 13:43:58 +00:00
rdb 7b7a7874d8 Add $INSTDIR\python\Scripts to %PATH% on Windows as well 2013-05-22 13:59:28 +00:00
rdb 3aaa57181d suggested fix by forum user JörnS 2013-05-07 11:12:27 +00:00
David Rose dd423baf64 support openWindow(host = xxx) 2013-05-06 17:09:29 +00:00
rdb 40cddd6280 Fixes for Python 3.2 2013-03-27 15:48:24 +00:00
rdb 0a167d9bfb performance improvement for panda3d module 2013-03-21 22:11:05 +00:00
rdb 4e819c8912 add pygame._view 2013-03-03 22:58:47 +00:00
rdb fbc097c323 dos2unix 2013-02-23 10:42:13 +00:00
rdb 192d10b937 Experimental Python 3 support to the C++ code including interrogate. Also adds support for rich comparison in interrogate. 2013-02-16 19:22:26 +00:00
rdb 232821a0b1 minor memory leak 2013-02-13 13:21:21 +00:00
rdb 97c9914da2 compile fixes 2013-02-13 11:41:46 +00:00
rdb 40f70c388f Add wWinMain to FLTK p3dcert, and use wstring entirely [untested] 2013-02-13 11:34:00 +00:00
rdb 998f8a3e8f Oops, $PYVER should be ${PYVER} 2013-02-05 20:15:48 +00:00
rdb 65e93ee7be OpenAL package should probably include soft_oal.dll and wrap_oal.dll 2013-01-04 14:00:53 +00:00
rdb ef0805a549 Add windows.h include 2012-12-22 09:04:21 +00:00
David Rose 59a2aba71d egg module should include ptloader 2012-12-21 00:33:03 +00:00
David Rose 3af8da3bcd loader.saveModel(), EggToObjConverter, etc. 2012-12-20 00:09:14 +00:00
David Rose 4c2eb3d326 fix -S; it should accept windows-specific filenames. 2012-11-16 17:09:21 +00:00
David Rose 807aa62ade fix -S; it should accept windows-specific filenames. 2012-11-16 01:43:40 +00:00
David Rose fd42201e74 explicitly include all wxwidgets files 2012-11-06 19:17:18 +00:00
rdb b2f912c468 Make the Windows installer work with any version of Python
(fixes bug in 1.8.0 where it no longer reads/writes the correct registry key)
2012-10-22 08:46:37 +00:00
David Rose 850a301352 a couple more new issues with pdeploy 2012-10-09 17:08:43 +00:00
David Rose b9ba7b1b2e whoops, win64 -> win_amd64 2012-10-09 16:43:26 +00:00
David Rose 5de361dfd4 a bit more robustification 2012-10-01 22:40:27 +00:00
David Rose 0a72ac45c5 fix some issues with platform matching 2012-10-01 20:47:11 +00:00
David Rose da9ee4c165 use win_amd64 instead of win64, and win_i386 instead of win32 2012-10-01 18:24:13 +00:00
David Rose 9461cf2ea9 malloc.h is windows-only 2012-09-28 20:57:55 +00:00
David Rose a737ebcc90 per_platform flag, giving better compatibility with old p3d files 2012-09-28 20:26:22 +00:00
David Rose 16c0690edb notify-integrate 2012-09-28 16:46:28 +00:00
David Rose 53e999259d build on mac 2012-09-27 23:23:41 +00:00
David Rose 0662ea7958 multiplatform support for plugin loader: run 32-bit or 64-bit version; whichever one is provided. 2012-09-27 23:00:23 +00:00
David Rose 4563c1e68e win64 into PROGRAMFILES64 2012-09-17 16:11:33 +00:00
David Rose 74a20d0305 add pdeploy -O 2012-09-13 22:57:53 +00:00
rdb 30e2c680e7 keep .nsi file if nsis failed 2012-09-05 07:21:26 +00:00
David Rose b9da2363f1 fix shutdown error 2012-08-22 02:10:01 +00:00
rdb b686b94385 fix compilation on non-windows 2012-08-14 08:32:29 +00:00
David Rose 9daf081364 p3d supports win64 2012-08-13 23:13:23 +00:00
rdb 07e3f33fd2 handle error better 2012-08-06 09:40:54 +00:00
rdb f565e3fb09 - volumetric lighting can be set to use the result of other postprocessing filters or framebuffer components 2012-07-25 08:22:30 +00:00
rdb d3d69aca60 fix crash in ShowBase.printEnvDebugInfo. fixes: LP#1021465 2012-07-09 10:04:05 +00:00
rdb aee35023f0 add packages installed later to PATH too (fixes bug LP 953847) 2012-05-10 07:26:23 +00:00
David Rose adf5131190 version issues with xulrunner api 2012-04-24 16:44:17 +00:00
rdb 438c297968 apply fix from et1337 2012-03-28 16:15:00 +00:00
David Rose 4d5a04ad75 store appRunner.p3dMultifile 2012-03-16 20:28:27 +00:00
rdb f651750539 NP_GetMIMEDescription should return const char* 2012-03-15 14:04:20 +00:00
rdb 14c0178225 include .tcl files in tk package 2012-03-15 09:36:24 +00:00
rdb 947faa7e68 oops, don't reuse amd64 binaries for i386 (and vice versa). fixes LP #949090 2012-03-12 09:24:09 +00:00
rdb fff971a04c remove CLASS_REMAP, use __init__ as constructor name 2012-03-05 08:47:30 +00:00
David Rose 237ae859d4 fix a2dTop etc. for y-up coordinate systems; add base.setAspectRatio() 2012-03-02 04:27:06 +00:00
David Rose 89cc0051ae fix base.oobeCull() 2012-02-23 15:12:52 +00:00
David Rose 6c3386c65f fix deprecated import syntax 2012-02-17 17:33:19 +00:00
David Rose 646f12f625 squelch backtrace on SystemExit 2012-02-16 00:19:09 +00:00
David Rose 1fc2e4b35d replace old NodePath.lerp* calls with NodePath.*Interval equivalents 2012-02-15 21:27:46 +00:00
David Rose 540e5ff85e whoops, float not int 2012-02-14 23:14:03 +00:00
David Rose 30e8d98f2c use toOsSpecific() where it counts 2012-02-14 23:12:20 +00:00
David Rose 2a782774aa whoops, important to default want-dev correctly based on __debug__ 2012-02-13 18:25:12 +00:00
David Rose cf816c9885 some config vars to control buffer viewer 2012-02-13 18:06:14 +00:00
David Rose c520c7a520 bah, improper import of DCFile 2012-02-13 17:51:59 +00:00
rdb 5bf3aa09d5 add libRocket extensions for packp3d to pick up 2012-02-11 19:39:33 +00:00
David Rose 91cb23abb0 oobeCull() also wants a cam argument 2012-02-09 22:35:08 +00:00
rdb 8062339604 fix broken implementation of join() 2012-02-09 12:01:40 +00:00
David Rose 6d630e2cf1 auto-clear depth between eyes by default for stereo 2012-02-08 20:34:26 +00:00
David Rose 71871ba28b base.oobe() accepts cam argument 2012-02-07 22:08:53 +00:00
David Rose beabaecca4 forgot os.path.join 2012-02-07 14:47:58 +00:00
rdb d9dd9c86bb Import Filename 2012-02-02 11:37:23 +00:00
rdb 1d12ecfcea Include Pmw.def 2012-02-02 11:28:59 +00:00
David Rose 6d7d6e9271 minor fix 2012-01-31 22:11:09 +00:00
rdb 66e8c2aafa *** empty log message *** 2012-01-31 21:53:47 +00:00
rdb 762f31c27e also include submodules of Pmw 2012-01-28 14:37:16 +00:00
rdb e801caded7 aw, forgot to import sys 2012-01-28 14:21:05 +00:00
rdb aa76d1ca47 um, fix paste-buffer corruption issue, heh heh 2012-01-28 14:17:18 +00:00
rdb 1c5366dfce fix Tkinter woes on OS X by giving Tkinter control over the main loop instead of Panda 2012-01-28 14:14:30 +00:00
rdb 1da17fe749 this should fix the Pmw stuff 2012-01-28 14:13:17 +00:00
Chris Brunner ee3adf5723 Fix a bug where privReverseInstant would reset to the last state of an interval and not the start state 2012-01-27 03:02:50 +00:00
David Rose c8e3c72b3a catch keyboard focus, mouse capture 2012-01-23 23:20:47 +00:00
rdb afc0cf2be7 give Pmw another try 2012-01-23 11:51:22 +00:00
rdb 75a00f9553 add libRocket runtime package 2012-01-22 15:03:14 +00:00
rdb 9dcc7a5e35 fix Tk crash on OSX 2012-01-22 12:42:45 +00:00
David Rose 38de5011e1 remove-callback-window 2012-01-18 19:25:16 +00:00
David Rose 19a0d3bdb9 reword comment for accuracy 2012-01-18 19:24:31 +00:00
David Rose 17f27744a9 add base.adjustWindowAspectRatio() 2012-01-17 05:39:25 +00:00
David Rose fb71b744a9 add wx-main-loop 2012-01-16 01:56:48 +00:00
David Rose 6f5fd1525d GraphicsWindow::_unexposed_draw 2012-01-15 20:13:16 +00:00
David Rose 09a9a5d8b3 ah, this is the way wx wants to work. 2012-01-14 19:47:28 +00:00
David Rose 1fd8a621ff further robustness for WxPandaWindow on Linux 2012-01-14 19:20:56 +00:00
David Rose 279b3a8aeb support wx main loop in p3d system too 2012-01-14 01:18:10 +00:00
David Rose 93d625845c invert the WxGlobal loop: now wx owns the main loop, it seems to like that a lot better. 2012-01-14 00:16:05 +00:00
David Rose e08f1d204f more WxPandaWindow fixes 2012-01-13 23:42:23 +00:00
David Rose d4ba4f4caf initialize self.direct 2012-01-13 22:58:54 +00:00
David Rose da7a5b6b55 protect against no profile module 2012-01-13 18:21:35 +00:00
David Rose a2a8aacb7e respect fbprops in WxPandaWindow 2012-01-13 14:37:17 +00:00
David Rose 50e53a4d4e better support for multiple windows, multiple trackballs, one camera 2012-01-13 00:22:05 +00:00
rdb 5f9e2152da Revert my previous commit here, as it breaks postprocessing filters that use auxiliary render targets (like cartoon shading) 2012-01-11 10:45:00 +00:00
David Rose 7fd4c1cc18 solve WxPandaWindow issues on Linux 2012-01-11 01:58:25 +00:00
David Rose ce8af6bc29 CallbackGraphicsWindow on Linux, but there are issues 2012-01-10 01:09:48 +00:00
David Rose 60f62deed1 minor fix when specifying an explicit pipe 2012-01-09 23:46:35 +00:00
David Rose 7c60573ab5 what a mess __dev__ has become 2012-01-09 22:17:54 +00:00
David Rose 5e4ca78c07 leveleditor works on Mac too 2012-01-09 21:55:54 +00:00
David Rose 56f22e0692 WxPandaWindow 2012-01-08 16:10:18 +00:00
rdb 19869ff338 seems to need .icns extension in .plist file on OSX 2012-01-08 13:57:37 +00:00
rdb 11d7fd56c1 delete shortcuts in uninstaller 2012-01-08 13:43:37 +00:00
rdb c9a80e8076 fix one minor typo 2012-01-08 13:09:04 +00:00
rdb 3603ccee19 small fugbix 2012-01-08 13:02:55 +00:00
rdb c45e05cffe recognise -i as valid option, of course 2012-01-08 12:52:11 +00:00
rdb b92e172172 to hell with the encodings, let's just pull in morepy entirely for pdeploy 2012-01-08 11:51:05 +00:00
rdb 1208f78d86 let's just add some more standard encodings to the panda3d package 2012-01-08 11:48:53 +00:00
rdb 6eeccd0273 Move 'io' module from morepy to standard panda3d package 2012-01-08 10:58:30 +00:00
rdb 388551f4da add icon support to pdeploy, and write .desktop files on Linux 2012-01-08 10:40:48 +00:00
rdb b422d480a4 libRocket stuff 2012-01-07 19:40:53 +00:00
David Rose ea05496d09 disable Toontown's cheesy lock for normal, threaded Panda 2012-01-06 00:51:54 +00:00
David Rose 211df4b90f need default parameters for runp3d.py 2012-01-06 00:44:43 +00:00
David Rose 16ae6aa182 a little more information for incorrect arguments 2012-01-05 21:50:57 +00:00
David Rose e1a136a21e fix minor crash on input error 2012-01-05 21:49:46 +00:00
rdb 94fb5c97eb Windows installer should now ask if the user wants a desktop icon 2012-01-04 10:21:56 +00:00
David Rose c6c46bd61b aggressively locate already-imported modules 2012-01-03 21:05:51 +00:00
David Rose abb7a76368 Support __file__ in pdef file for convenience 2012-01-01 16:34:36 +00:00
Zhao Huang b4fcbfff0a added getJointTransformState 2011-12-30 01:29:53 +00:00
David Rose b5eeced04a whoops, remove debug prints 2011-12-29 22:02:08 +00:00
rdb 7eeb37ec94 make sure pp-filter gets the same fb props as the main win - fixes antialiasing failure with FilterManager 2011-12-27 10:06:06 +00:00
rdb 306d6f993a coloured cartoon inking 2011-12-27 09:48:27 +00:00
rdb 6b3c53e115 fix a bug with crash when calling resizeBuffers 2011-12-27 09:48:01 +00:00
David Rose e9b967435e more win32 build issues 2011-12-20 20:26:08 +00:00
David Rose 328f834f55 cache results of __getattr__ for performance 2011-12-20 18:11:04 +00:00
David Rose fb220d8f93 missing file 2011-12-19 18:43:27 +00:00
David Rose c5c21a566a UnalignedLVecBase etc, remove lerp etc, moving towards Eigen on win32 2011-12-18 16:30:31 +00:00
Zhao Huang 33e1ead6c5 Don't import ParticleInterval if the ParticleSystem doesn't exist (ie., not compiled in) 2011-12-15 04:45:40 +00:00
David Rose 622c047344 several USE_PACKAGES oopses 2011-12-12 22:53:39 +00:00
David Rose 33398d9713 set_repository() and set_clock_delta() should be instance methods, not static class methods 2011-12-09 19:38:29 +00:00
David Rose f9658303e7 ah, *this* is the proper fix to recent interrogate bug. 2011-12-09 05:56:27 +00:00
David Rose 262a3558c7 fix interrogate error? 2011-12-09 02:35:34 +00:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
David Rose 35551fed85 add AppRunner.p3dFilename etc 2011-12-05 06:42:03 +00:00
David Rose c17f0dce3d fix error handling for core API re-download case 2011-12-04 18:28:28 +00:00
David Rose 807a6f61da Add patch from community member teedee to improve alternate coordinate-system support 2011-11-17 19:41:33 +00:00
David Rose 8aae06ec43 remove deprecated double-reference names 2011-11-17 19:17:04 +00:00
David Rose 0f96fafca5 add show-scene-graph-analyzer-meter config var 2011-11-11 15:13:11 +00:00
David Rose 425fa2608e fix LineStream.LineStream() bug 2011-11-04 20:10:12 +00:00
David Rose f1c5c8ecaf integrate gui sound fixes from community member Bruce Smith 2011-11-02 21:13:03 +00:00
David Rose a1e13af431 wip: improve scrubbing behavior through SoundInterval 2011-10-31 21:39:04 +00:00
rdb 149a7c1b9c If all else fails, use a dirty hack 2011-10-31 16:16:29 +00:00
rdb 3fc7815bbe pmw importing 2011-10-31 15:52:32 +00:00
rdb 8ca42e3964 Properly catch ImportError 2011-10-31 15:20:04 +00:00
rdb 4896c93827 don't error if a module doesn't define __path__ 2011-10-31 15:13:50 +00:00
rdb eb78f7cd0d Another pass at fixing Pmw 2011-10-31 14:06:49 +00:00
rdb f711cbf0bb Another attempt to fix Pmw loading in plugin runtime 2011-10-31 13:08:04 +00:00
rdb fd472d8403 Attempt to fix Pmw in plugin environment 2011-10-31 12:38:24 +00:00
David Rose 05bd74a80e Parabolaf -> LParabola 2011-10-30 20:28:55 +00:00
rdb 04096fd5e7 This should finally fix it, I hope. 2011-10-29 10:38:02 +00:00
rdb 8307d8852d this might fix it 2011-10-29 10:22:20 +00:00
rdb ff02ee1bab Let's not include any system frameworks on OSX 2011-10-29 09:30:44 +00:00
rdb ba98ca742a Oh, so the problem was that it's treating OSX as case-insensitive system 2011-10-29 08:27:45 +00:00
rdb e2a93d0433 Some debug messages, I can't figure this out 2011-10-29 08:21:13 +00:00
rdb 857fc6e2d6 Some improvements that might not actually fix anything 2011-10-28 20:17:09 +00:00
rdb 1a9da85aef Tcl and Tk are system frameworks 2011-10-28 18:33:07 +00:00
David Rose 5b79b02b31 fix typos 2011-10-21 19:58:12 +00:00
David Rose a5d6bafd7b add ico as a force-extract extension 2011-10-21 16:38:34 +00:00
Chris Brunner a2b940d103 Remove excess whitespace 2011-10-19 20:00:44 +00:00
David Rose 909ed0e931 import order 2011-10-18 00:18:01 +00:00
David Rose 0fef6fd3c6 fix Loader namespace collision 2011-10-17 02:19:55 +00:00