Commit Graph

606 Commits

Author SHA1 Message Date
David Rose a7ac5345f4 support unknown-sized downloads 2009-12-09 15:37:48 +00:00
David Rose 86c892d3e8 expose some more windows vars 2009-12-08 00:26:21 +00:00
David Rose daadba7e4e fix crash when querying game log before starting 2009-12-07 18:58:59 +00:00
David Rose 0782c4c2e9 query game log even after application shuts down 2009-12-04 22:40:04 +00:00
rdb 97982327f1 Forward XAUTHORITY variable to the plugin environment - this fixes a plugin issue in some cases on Unix 2009-12-02 17:03:24 +00:00
David Rose 0f7e4c7344 freshen root-level contents.xml too 2009-12-02 16:03:22 +00:00
David Rose f28a01b52b fix extra kill message 2009-12-02 15:32:18 +00:00
David Rose e69b127292 build issue 2009-11-30 22:34:08 +00:00
David Rose 90bc292c07 fix bug with alt_host 2009-11-25 01:34:03 +00:00
David Rose 2b004124f9 protect better against malicious directory naming 2009-11-21 22:04:38 +00:00
David Rose 66f88cd348 ensure executable bit is set 2009-11-21 20:57:28 +00:00
David Rose 09483f7133 don't needlessly redownload contents.xml 2009-11-21 20:47:07 +00:00
David Rose a0c7fe7a81 minor comment fix 2009-11-21 19:05:40 +00:00
David Rose fc10c7c5a0 further interface generalizations 2009-11-21 01:20:55 +00:00
David Rose 426f96e66b alt_host affects log name, prc name, start dir 2009-11-20 00:43:30 +00:00
David Rose a725d42db1 splash_img shouldn't also apply to buttons 2009-11-20 00:05:04 +00:00
David Rose 4631711957 support host_dir 2009-11-19 23:59:04 +00:00
David Rose 43bfae1dd1 bgcolor etc, for osx 2009-11-19 22:03:03 +00:00
David Rose 2fa9ac5c76 bgcolor, etc for win32 2009-11-19 21:48:49 +00:00
David Rose 902ab1111a bgcolor, fgcolor, barcolor 2009-11-19 21:37:52 +00:00
David Rose eda65fe33f fix initial display of default image 2009-11-19 20:41:14 +00:00
David Rose 6a5dcc40e8 minor comment update 2009-11-18 22:12:02 +00:00
David Rose a749fd47cd increment P3D_API_VERSION to 9 2009-11-18 21:16:09 +00:00
David Rose 8c3d9c16f9 explicit window_handle type, for mac 2009-11-18 19:50:17 +00:00
David Rose d0d2ac4fa0 explicit window_handle type for win32 2009-11-18 19:36:45 +00:00
David Rose 21aad12650 move towards explicit handle type in P3D_window_handle 2009-11-18 19:26:39 +00:00
David Rose 6e8cedfcfb fix issues with active_img 2009-11-13 18:09:55 +00:00
David Rose 87f57dd710 fix onwindowattach/detach 2009-11-13 01:22:05 +00:00
David Rose a927aedf52 onwindowattach, onwindowdetach 2009-11-10 22:28:46 +00:00
David Rose 7984eecde7 add a horizontal scrollbar too 2009-11-04 00:28:10 +00:00
David Rose a784d86581 add certlist package for pre-approved certificates 2009-11-04 00:09:01 +00:00
David Rose 7ca831ae0b support builds with WebKit's NPAPI, as well as Mozilla's 2009-11-03 22:29:30 +00:00
rdb 521f5491b2 Bugfix when compiling for 10.4 on a 10.5 OSX install 2009-10-29 08:56:26 +00:00
David Rose e338f35a9e matches_run_origin, matches_script_origin 2009-10-27 23:35:06 +00:00
David Rose ab3e13403f some small fixes, starting _web_hostname integration 2009-10-26 20:19:19 +00:00
David Rose 4509e4354c downloadRemainingSeconds 2009-10-26 09:28:50 +00:00
rdb 727c37d414 Composite file for (lib)p3dpython(w) 2009-10-25 15:28:47 +00:00
David Rose 1e0cf1664a fix 'Couldn't find package blah in contents.xml' problem 2009-10-25 00:34:27 +00:00
David Rose 2173055841 fix problem with splash images not showing up initially 2009-10-25 00:19:03 +00:00
David Rose 884c389bad using bundles (and LSUIElement=1) to better manage OSX dock icons 2009-10-24 23:24:34 +00:00
David Rose ddea543868 optional net and nativenet 2009-10-23 19:19:07 +00:00
David Rose 7e565c2a49 fix safari crash 2009-10-23 16:27:47 +00:00
David Rose c015814321 some more error cases 2009-10-23 00:25:50 +00:00
David Rose 5aee8bd4dc get_panda_script_object log output 2009-10-22 20:35:03 +00:00
David Rose 2dbd154536 better handling of some startup failures; don't make a osx gui app unless necessary 2009-10-22 07:05:51 +00:00
David Rose 0fd8c7a18d more super-mirror stuff 2009-10-21 19:45:57 +00:00
David Rose aaf4195dfb super-mirror 2009-10-21 18:38:29 +00:00
David Rose 27e7a3c475 change linux back to ~/.panda3d 2009-10-21 15:43:13 +00:00
David Rose 54e34d4672 use ~/Library/Caches/Panda3D on Mac, ~/Panda3D on Linux 2009-10-20 23:08:28 +00:00
David Rose b86a9f0d8d reduce download spam in log 2009-10-20 20:23:31 +00:00
David Rose 8e0aed64a7 fix a race condition, and detect some startup errors better 2009-10-19 23:39:19 +00:00
David Rose 10e4427860 fix firefox crash 2009-10-19 22:29:39 +00:00
David Rose 071cf37368 more debugging? 2009-10-19 22:18:43 +00:00
David Rose 375e0bb6c6 osx fixes 2009-10-19 18:48:53 +00:00
David Rose 217580661d respect passed-in hostUrl 2009-10-19 18:06:00 +00:00
David Rose 8e7ba3333e wait, I've gone insane. reverting change 2009-10-19 13:46:15 +00:00
David Rose eb78622703 typo in comment 2009-10-19 13:43:04 +00:00
David Rose 322c9be858 correct dependencies for linking 2009-10-19 13:42:47 +00:00
rdb fc10dabe5b Fix compile issues on windows with unicode wxwidgets, as MSVC (of course) does not follow the ISO C99 standard. 2009-10-19 09:40:25 +00:00
David Rose fbb5c7ce0d P3D_instance_start_stream() 2009-10-16 18:07:35 +00:00
David Rose 0a6881430f close down when x11 splash is closed 2009-10-14 22:03:17 +00:00
David Rose 5008ca2aa8 mo' better plugin versioning 2009-10-14 21:46:37 +00:00
David Rose fd68014d7b build p3dpython.exe even without HAVE_P3D_PLUGIN 2009-10-14 17:44:41 +00:00
David Rose f814e574dd another fail case 2009-10-14 13:43:34 +00:00
David Rose 9ecc675b72 better failed-case handling 2009-10-14 13:33:05 +00:00
David Rose d7b2de8029 add audio libraries, and download transitive package requirements 2009-10-12 01:50:55 +00:00
David Rose 90f0c9d671 build on mac too 2009-10-10 17:16:56 +00:00
rdb 32b809b50c Fix compiler errors 2009-10-10 12:38:13 +00:00
David Rose 13cb3d0ef0 plugin version for ie 2009-10-10 00:16:45 +00:00
David Rose dcc5447688 plugin version 2009-10-09 23:54:45 +00:00
David Rose abae156103 minor fixes 2009-10-08 19:07:37 +00:00
David Rose 1584feba64 p3dcert now uses compiled-in ca_bundle_data as well 2009-10-08 03:05:41 +00:00
David Rose 6c6f498ebb panda3d.exe should check mirrors too 2009-10-07 22:25:03 +00:00
David Rose 6b0f19f13e protect against circular patch chains 2009-10-07 00:17:17 +00:00
David Rose f4bf3d5039 build linux 2009-10-06 18:56:45 +00:00
David Rose a308a4a01c add p3dpythonw.exe, more robust startup 2009-10-06 18:55:28 +00:00
David Rose 6bd5ec1c5a robustify initial download 2009-10-05 21:39:07 +00:00
David Rose 6b3ba07bd3 fix reappearing start button 2009-10-04 16:06:34 +00:00
David Rose 4545421f6e fix caching issues, mirror issues 2009-10-03 15:54:46 +00:00
David Rose e816ad0599 fix extract issues 2009-10-03 00:59:56 +00:00
David Rose a257cbbfba fix shutdown error 2009-10-02 22:10:51 +00:00
David Rose d6647e3a85 set_visible for osx 2009-10-02 21:54:16 +00:00
David Rose 945a732411 fix splash window visibility 2009-10-02 21:47:22 +00:00
David Rose f9864e18d1 build on linux 2009-10-02 21:36:11 +00:00
David Rose 13877e26b1 finish workaround for Vista keyboard issue 2009-10-02 20:23:09 +00:00
David Rose 5e12be142a request_keyboard_focus 2009-10-02 00:04:53 +00:00
David Rose 09e6d823c4 embrace new WindowHandle construct 2009-10-01 19:11:02 +00:00
David Rose 3337558bba revert WinMain: not a good idea after all 2009-09-30 01:18:01 +00:00
David Rose 27f9b545de WinMain 2009-09-30 00:45:23 +00:00
David Rose 5938d40926 great big microsoft nonsense about temporary paths 2009-09-29 01:53:10 +00:00
David Rose 5a223ebbc1 C++ patching works now 2009-09-28 17:46:28 +00:00
David Rose d0f0aeaf16 revert unintended checkin 2009-09-28 17:30:05 +00:00
David Rose c947b4ba4b windows compilation issues 2009-09-28 17:26:32 +00:00
David Rose 3771d613ad c++-based patching, almost working 2009-09-28 15:55:37 +00:00
David Rose 81c2514bc4 steps toward C++ patching 2009-09-27 23:46:33 +00:00
David Rose 083e7cbe78 robustify download on the C++ side too 2009-09-27 15:47:43 +00:00
David Rose 03a7bfeb0c minor fix 2009-09-25 21:48:52 +00:00
David Rose aeaf27df80 __dso_handle problems 2009-09-24 22:24:39 +00:00
David Rose bc5954055a oops, compilation error 2009-09-24 19:55:28 +00:00
David Rose fada2d5933 LocalAppDataLow 2009-09-24 19:16:58 +00:00
David Rose 32ceb7e638 fix problems with wx 2009-09-24 14:46:07 +00:00
David Rose c867b125c1 some minor reorganization 2009-09-24 01:11:01 +00:00
David Rose 1d78ab779c cerr cleanup 2009-09-23 23:34:01 +00:00
David Rose 508b92005f super mirror 2009-09-23 23:31:38 +00:00
David Rose 17133ebc8c mirrors at the C++ level too 2009-09-23 19:45:21 +00:00
David Rose 029512d577 is_protected_mode 2009-09-23 00:25:41 +00:00
David Rose c40c8f66fe prepare for is_protected_mode 2009-09-22 22:31:32 +00:00
David Rose 1a5a02d3cd protect against multiple ondownloadbegin notifies 2009-09-22 21:32:23 +00:00
David Rose be34e2e587 mirror support (python level) 2009-09-22 20:29:45 +00:00
David Rose 301342ec8d minor fix 2009-09-22 17:48:33 +00:00
David Rose e434ca0d57 alt_host 2009-09-22 13:57:14 +00:00
David Rose b710786378 compilation error 2009-09-22 03:57:32 +00:00
David Rose ec5f3ab053 wip: alt_host 2009-09-22 02:15:20 +00:00
David Rose 56a52075c4 build rules 2009-09-21 22:23:05 +00:00
David Rose 798f55f049 some windowsisms, starting mirror stuff 2009-09-21 21:31:59 +00:00
David Rose a1add7d090 compilation error 2009-09-20 18:48:54 +00:00
David Rose bd71beaf76 more cache-busting, keep install directory clean 2009-09-20 18:47:04 +00:00
rdb b6de452a12 Give execute permissions, otherwise p3dcert won't run here 2009-09-19 17:14:00 +00:00
David Rose 02a24010fb downloader fixes 2009-09-18 22:30:27 +00:00
David Rose ba686b6f6a don't need cleanup and free 2009-09-18 05:17:12 +00:00
David Rose 37b75fd745 compiler warning 2009-09-18 05:12:11 +00:00
David Rose 8dde8b36f4 compiler warning 2009-09-18 05:11:28 +00:00
David Rose d74b3b6905 NSGetEnviron 2009-09-18 05:00:14 +00:00
David Rose d3a3ff3b67 minor cleanup 2009-09-18 04:38:46 +00:00
David Rose 183bce718a wxUNICODE fixes 2009-09-18 04:18:38 +00:00
David Rose 6055265590 early image load 2009-09-18 01:49:40 +00:00
David Rose e6b659d702 scroll bar for tidiness 2009-09-18 01:33:56 +00:00
David Rose 2552864754 common_name -> friendly_name 2009-09-18 00:29:53 +00:00
David Rose c194dfa3c3 looking good 2009-09-17 23:03:11 +00:00
David Rose f568e7cca5 linux build 2009-09-17 22:55:12 +00:00
David Rose 8cf47fea92 new files 2009-09-17 22:53:34 +00:00
David Rose 54c3e34f6e getting somewhere 2009-09-17 22:52:52 +00:00
David Rose 0bee045806 revert P3DAuthDialog effort, wxwidgets is just better 2009-09-17 18:01:22 +00:00
David Rose f1dc8538f6 more work towards p3dcert 2009-09-17 15:45:39 +00:00
David Rose aeb5183df8 more WIP: p3DCert 2009-09-17 13:36:18 +00:00
David Rose 68a6ddf163 wip: authwindow 2009-09-17 02:20:35 +00:00
David Rose b242318279 clarification 2009-09-16 20:42:17 +00:00
David Rose 265236f6de preserve environment 2009-09-16 20:33:36 +00:00
David Rose 0543ab899a make windows more consistent with mac, linux 2009-09-15 23:46:27 +00:00
David Rose 40a7f71c77 minor cleanup 2009-09-15 00:22:13 +00:00
David Rose c4dfa24ca4 support osx 10.4 2009-09-14 20:06:50 +00:00
David Rose 920c5eac2b whoops, no p3dCert yet 2009-09-14 18:48:26 +00:00
David Rose 6576fb0dfe report dlerror() 2009-09-14 06:57:51 +00:00
David Rose 71bc1c3965 oops, implicit size determination didn't work in embedded mode 2009-09-14 04:01:28 +00:00
David Rose c4842323e8 use quartz for splash window 2009-09-14 03:52:44 +00:00
David Rose 0f21af3a53 redirect to main thread 2009-09-12 02:24:17 +00:00
David Rose 23ab03ec91 issue with XClearArea and 0-width areas 2009-09-12 01:48:40 +00:00
David Rose 37fde51fb1 win32 warning 2009-09-11 23:18:00 +00:00
David Rose b52dfe14dd more security work 2009-09-11 23:16:05 +00:00
David Rose 9f734e3cbf better x11 clearing 2009-09-11 18:56:46 +00:00
David Rose 4b5eed144f firefox fix 2009-09-10 01:02:04 +00:00
David Rose fc762d8f09 JS features 2009-09-10 00:38:35 +00:00
David Rose f340a4ea3f more cleanup 2009-09-10 00:00:53 +00:00
David Rose 205a478b9d preserve $DISPLAY 2009-09-09 23:23:24 +00:00
David Rose 61a6522314 cleanups 2009-09-09 19:36:37 +00:00
David Rose fd62333192 alpha blending for x11 2009-09-09 16:44:57 +00:00
David Rose da59dc9063 x11 buttons are responsive now 2009-09-09 01:44:18 +00:00
David Rose b71e4e1a35 protect from reentry 2009-09-09 01:30:21 +00:00
David Rose ab5f99fb20 missing file 2009-09-09 01:19:54 +00:00
David Rose 1513171ae8 wip, x11 button handling 2009-09-09 00:55:23 +00:00
David Rose 3c5259d286 button support, win32 2009-09-08 22:11:06 +00:00
David Rose 29276c2039 don't need bigendian treatment with Quartz 2009-09-08 20:41:34 +00:00
David Rose 2cbd760b69 compilation errors 2009-09-08 20:19:28 +00:00
David Rose 76679a765f auto_start (wip) 2009-09-08 19:46:06 +00:00
David Rose 2fa6ab7128 openssl dependency 2009-09-08 18:13:11 +00:00
David Rose df671dc334 consistent code with panda 2009-09-06 22:54:50 +00:00
David Rose 4f2d4d337e whoops, non-windows fix 2009-09-03 04:04:01 +00:00
David Rose cc5a38f40a minor fix 2009-09-03 02:27:53 +00:00
David Rose 194979b51d clean exit and log reporting 2009-09-03 02:09:21 +00:00
David Rose 58555a2895 windows issues 2009-09-01 00:18:31 +00:00
David Rose 201cdf2c86 mac issues 2009-08-31 23:00:52 +00:00
David Rose e74c4a0c8f support _d.dll in debug build 2009-08-31 22:33:24 +00:00
David Rose 1415193b5e separate out p3dpython.exe and libp3dpython.dll 2009-08-31 22:25:32 +00:00
David Rose 671e3e5e85 compile on win32 2009-08-31 19:31:28 +00:00
David Rose 5fc0a429f6 RTLD_LAZY 2009-08-31 16:36:50 +00:00
David Rose f8e7cbfb27 no longer need static python library 2009-08-31 14:56:03 +00:00
David Rose ca13be76d2 compiler error 2009-08-31 14:29:34 +00:00
David Rose 7b34234edc interactive_console 2009-08-30 21:10:30 +00:00
David Rose aca9915060 missing file 2009-08-29 23:08:55 +00:00
David Rose 4388b853e5 one_process support. Some issues. 2009-08-29 23:08:00 +00:00
David Rose 93e7352476 python_dev mode 2009-08-29 02:00:30 +00:00
David Rose 8c9032dca3 VFSImporter.sharedPackages 2009-08-28 23:51:47 +00:00
David Rose 15175c727d explicit calls instead of PyRun_SimpleString 2009-08-28 17:59:27 +00:00
David Rose 8b77da64df preload libpandaexpress 2009-08-28 02:52:24 +00:00
David Rose 970f35a3e6 use _vfsimporter.pyd instead of runp3d_frozen.pyd 2009-08-28 01:55:05 +00:00
David Rose 95a6051462 debug statement 2009-08-26 19:43:12 +00:00
David Rose a4fcdbe5b9 P3D_check_request(timeout) 2009-08-26 19:42:36 +00:00
David Rose 1fc186bda4 move <config> to within the <package> 2009-08-26 05:04:15 +00:00
David Rose 81363c4ba9 PackageInstaller, runtime package installation 2009-08-25 21:40:57 +00:00
David Rose f39222cd1d re-order version and platform in filenames, again 2009-08-24 19:39:04 +00:00
David Rose bfb948c5a8 integrate make_contents into Packager 2009-08-24 18:42:47 +00:00
David Rose 29345bbc38 better splash image management 2009-08-24 03:29:10 +00:00
David Rose 9c576983f9 remove RT_post_url 2009-08-23 06:13:47 +00:00
David Rose d5528ab21f auto-download _import files 2009-08-23 05:40:06 +00:00
David Rose d8859828ef move code to p3d directory for better organization 2009-08-23 02:00:03 +00:00
David Rose cf6a220cb7 minor tweaks 2009-08-22 22:17:05 +00:00
David Rose f6863b7b7a compiler warnings 2009-08-22 21:46:02 +00:00
David Rose 29a65d32a9 osx toplevel splash windows 2009-08-22 21:26:25 +00:00
David Rose 9a638bfd2a toString() 2009-08-22 01:22:24 +00:00
David Rose f34abe4411 'main' object 2009-08-21 22:42:35 +00:00
David Rose 6caeb369d6 slightly less hacky 2009-08-21 21:50:49 +00:00
David Rose 6cebf531c6 defunct script 2009-08-21 21:47:12 +00:00
David Rose df978c88b2 verify_contents 2009-08-21 19:00:50 +00:00
David Rose ae8c460b1b wip: host support 2009-08-21 15:47:39 +00:00
David Rose d163bc6412 executable p3d's 2009-08-20 23:13:10 +00:00
David Rose 42bef14dac more tempfile nonsense 2009-08-20 19:05:11 +00:00
David Rose c4e79695e9 minor fixes to reduce startup noise 2009-08-20 15:46:31 +00:00
David Rose 5289285624 more robust temp file and log handling 2009-08-20 00:24:00 +00:00
David Rose da2f1cd9c9 better frozen module handling 2009-08-19 18:35:21 +00:00
David Rose 625690fdb1 fix args 2009-08-19 01:34:34 +00:00
David Rose 25117835e0 sigaction 2009-08-19 00:17:04 +00:00
David Rose 3329c91dba more fixes 2009-08-19 00:01:50 +00:00
David Rose 3002e8b571 VFSImporter.reload_packages() 2009-08-18 21:39:43 +00:00
David Rose 1f35c93fb6 bar placement 2009-08-17 19:34:28 +00:00
David Rose 1c2ac14550 bar placement 2009-08-17 19:33:21 +00:00
David Rose b050687720 oops, need to XFreeColor. 2009-08-17 19:30:41 +00:00
David Rose de2788c4cc rework a bit for linux progress bar 2009-08-17 19:24:54 +00:00
David Rose 95b4011312 minor fixes 2009-08-17 18:18:42 +00:00
David Rose 1dda2cfb99 command-line arguments 2009-08-17 16:03:49 +00:00
David Rose 8f96fa71f5 p3d_url 2009-08-16 17:36:44 +00:00
David Rose e7daad7dce some fixes 2009-08-15 18:59:53 +00:00
David Rose 936ff2455e some cleanup 2009-08-15 00:13:55 +00:00
David Rose 21c514fd2b linux 2009-08-14 01:00:43 +00:00
David Rose bcbd40848d tweaking gui 2009-08-13 17:17:27 +00:00
David Rose 29c1d34cf6 serialize package download 2009-08-13 08:18:15 +00:00
David Rose 687961b626 package dependencies 2009-08-13 01:08:06 +00:00
David Rose 18e9180439 xml, compression 2009-08-09 16:07:17 +00:00
David Rose c1fea52cab fix firefox crash on osx 2009-08-08 02:20:39 +00:00
David Rose e0a4fcda2d python error message 2009-08-07 18:14:20 +00:00
David Rose 57455b775b oops, debug output 2009-08-04 23:34:24 +00:00
David Rose f3751431b5 hidden plugins 2009-08-04 23:29:40 +00:00
David Rose 0faaf90a06 add DYLD_LIBRARY_PATH 2009-08-04 01:45:41 +00:00
David Rose e0b1994b61 more download status notifications 2009-08-04 01:41:09 +00:00
David Rose 4bac1d3314 linux issues 2009-08-03 19:48:37 +00:00
David Rose 6ebcfc5f89 integrate DTOOL_PLATFORM etc 2009-08-03 19:43:48 +00:00
David Rose 14efb1cbaf support a windows debug plugin 2009-07-30 19:28:27 +00:00
rdb 7da61abf33 Fix small but deadly typo 2009-07-30 07:38:26 +00:00
David Rose 18af305b4a fix osx embedding 2009-07-29 20:29:28 +00:00
David Rose 7293844e4a better download rules 2009-07-29 19:58:26 +00:00
David Rose 17454474fb win32 2009-07-29 17:16:35 +00:00
David Rose ac0f84ace1 mkdir issues 2009-07-29 16:33:40 +00:00
David Rose 6b6a90e1b0 some minor cleanup 2009-07-29 12:35:16 +00:00
David Rose 704a6bf653 robustness 2009-07-28 20:31:03 +00:00
David Rose 6b908cb525 a few race conditions 2009-07-28 20:17:14 +00:00
David Rose bf179efd76 some window confusions 2009-07-28 19:11:40 +00:00
rdb 8585dd6cb3 URL fix for plugin as well. Oh, let's force logfile 3 to be in a temp dir, because letting the user specify it would be a security leak. 2009-07-22 12:50:48 +00:00
rdb af7827c42a Auto temp logfile path 2009-07-22 10:43:08 +00:00
David Rose 6174ae7228 allow resizing subprocess buffer 2009-07-22 07:07:57 +00:00
David Rose 82dbc95f8e have_jpeg 2009-07-22 01:35:23 +00:00
David Rose 2d3fd6e709 make panda3d.exe download the core API too 2009-07-22 01:04:19 +00:00