Commit Graph

606 Commits

Author SHA1 Message Date
David Rose 939fc2da2d experiment with twirling icon while core API downloads 2011-08-25 00:52:17 +00:00
David Rose 74557c5c72 add support for text/binary distinction within p3d 2011-07-27 18:18:25 +00:00
David Rose ef0cb39c1d untabify 2011-06-29 22:18:54 +00:00
David Rose 77552be22a fix failure to run p3d file from cache without internet connection 2011-03-24 20:56:22 +00:00
rdb 203205849e Fix bug with certificate approval 2011-03-11 15:53:09 +00:00
rdb 54c692330a rewrite p3dcert to FLTK 2011-03-09 11:16:20 +00:00
Ken Patel 5a84cbf730 plugin - p3dpythonw.exe name configurable independently from p3dpython.exe name 2011-02-14 05:21:57 +00:00
Ken Patel 9f8714254c plugin - make p3dpython binary name configurable (non-osx) 2011-02-12 03:26:58 +00:00
Ken Patel 39967c1110 plugin - read_log / log_history - fix corner cases so behavior matches documentation 2011-02-12 02:10:23 +00:00
Ken Patel bf5343ed17 plugin - read_log - add support for head_bytes_prev (additional optional parameter) 2011-02-12 01:41:36 +00:00
Ken Patel ae627fb19b plugin - read_log - report error out and early out conditions during calls to read_log 2011-02-12 01:03:00 +00:00
rdb 804a72b716 Partially apply typo fix patch I found somewhere on the web, by someone named Christoph Korn 2010-11-16 08:58:45 +00:00
rdb e69958cfe9 Fix segmentation fault that only seems to happen in the buildbot's master shell environment. But I suppose the crash could manifest in other environments where getlogin() fails 2010-10-26 16:40:42 +00:00
Chris Brunner f05c2199c1 moving declaration of inst_mgr up a few lines in start_download to before where it's needed 2010-09-23 20:52:28 +00:00
rdb 60973fdb7b Lots of changes to the plugin and pdeploy to make packaged games run without needing write access or internet access 2010-09-22 19:52:14 +00:00
David Rose 449718492a oops, typo on mac side 2010-08-16 23:07:57 +00:00
David Rose 1bece8cadf replace_slashes to resolve obscure windows issue with dll's 2010-08-16 20:52:18 +00:00
David Rose a5624d497e ondownloadfail, onfail 2010-07-15 21:47:10 +00:00
David Rose cec4620edb check for libpandaexpress_d.dll in memory for a debug build 2010-06-23 22:12:39 +00:00
David Rose 7cae72a58c minor formatting 2010-06-18 22:06:17 +00:00
David Rose d8df46beed share main object, don't just copy properties 2010-06-18 18:59:27 +00:00
David Rose 065b130d64 libp3tinyxml_mt 2010-06-17 18:15:15 +00:00
David Rose c2e54f12db avoid passing time_t between different compilers 2010-06-17 00:46:05 +00:00
David Rose ab2d5eb61e validate core API host URL and core API set_ver 2010-06-16 17:02:57 +00:00
David Rose edab904b87 coreapi version 2010-06-16 01:19:31 +00:00
David Rose 66f1b450b8 insist on 32-bit integers in binary stream 2010-06-15 16:55:01 +00:00
Chris Brunner ba1eb890e2 adding explicit cast for st_window_proc 2010-06-14 21:42:42 +00:00
David Rose 3a5d9bd327 show download progress as a fraction of the total progress, including stuff downloaded previously 2010-06-11 22:22:25 +00:00
David Rose 44df8cc6a6 HAVE_P3D_RTDIST, allow development without PANDA_PACKAGE_HOST_URL 2010-06-11 19:04:47 +00:00
David Rose 547b3abea9 contents seq, package seq 2010-06-10 23:53:07 +00:00
David Rose 5b4d31c9e6 better return value for uninstall() 2010-06-10 00:30:50 +00:00
David Rose 1b02e24408 more max_age stuff 2010-06-09 23:19:49 +00:00
David Rose c80eba7088 minor crashfix 2010-06-09 00:58:19 +00:00
David Rose 0b80f17c68 contents.xml max_age; internal cache busting 2010-06-08 23:56:04 +00:00
David Rose cd3dfe6911 preserve PATH 2010-06-03 20:57:57 +00:00
David Rose 37d7b762d8 I don't think we want p3dpython unless HAVE_P3D_PLUGIN is defined 2010-05-29 22:03:41 +00:00
David Rose 7eff1b84ef link with p3tinyxml 2010-05-25 22:55:15 +00:00
David Rose aef517d779 minor typo 2010-05-25 20:53:55 +00:00
rdb 4173057c26 Move tinyxml into the source tree, rather than using it as external library 2010-05-24 18:55:08 +00:00
David Rose ee9d22148e fix mouse jumping in osx firefox 2010-05-08 14:57:57 +00:00
David Rose e2d7f9a871 protect from occasional crash in read_log() and friends 2010-05-07 23:26:25 +00:00
David Rose f58c5b591b compiler warnings 2010-05-07 22:59:08 +00:00
David Rose eabeb00298 avoid hangup when installing packages 2010-04-28 01:09:59 +00:00
rdb f85fe03335 Fix plugin compile issues on FreeBSD 2010-04-25 07:42:37 +00:00
Ken Patel 54e72e860b plugin - when adding timestamp to logfile names, now uses 1-12 for month rather than 0-11 2010-04-22 01:14:13 +00:00
David Rose c7ba043f54 don't continue plan (and crash) if it fails 2010-03-31 18:14:42 +00:00
David Rose 599e8eff89 minor bugfixes 2010-03-19 22:36:27 +00:00
Ken Patel bc9a4e1db1 GIB - Clean up log output and check for log histories even if basename does not include a date. 2010-03-10 02:03:22 +00:00
David Rose 6a2cb24ecf RT_forget_package 2010-03-02 01:39:34 +00:00
David Rose b4927284b5 automatic package management 2010-03-01 23:15:31 +00:00
David Rose 5150c70bfa openssl version 2010-02-22 00:17:59 +00:00
David Rose 29b376c1e3 smooth out package transitions by threading uncompress and unpack 2010-02-16 21:55:31 +00:00
David Rose 0a15bf1fe9 minor typo 2010-02-13 17:10:55 +00:00
David Rose 58f83fce39 fix redundant onDownloadBegin() message 2010-02-12 20:06:28 +00:00
David Rose 211116b6cc time download better--not from beginning of p3d file 2010-02-08 22:41:11 +00:00
David Rose aae5068ad3 smooth out remaining-time prediction 2010-02-04 02:03:06 +00:00
Ken Patel ce79ab1718 Reverse order in which history logs are appended to a log 2010-02-01 19:34:16 +00:00
rdb 843dc3daa7 Compile fix for non-windows systems 2010-01-16 09:01:38 +00:00
Ken Patel 8dc84e42d8 implement log_history functionality 2010-01-16 01:31:03 +00:00
David Rose a80a065d6d pass appRunner.logDirectory 2010-01-12 00:52:43 +00:00
David Rose b25d059474 expand get_log() etc. 2010-01-11 21:15:11 +00:00
David Rose 7c73b6a661 P3D_PLUGIN_MT 2010-01-08 23:46:40 +00:00
David Rose 985326f33a revert accidental commit 2010-01-05 02:11:30 +00:00
David Rose a15108cbc5 make p3dembed work on linux 2010-01-05 02:04:48 +00:00
David Rose fad81481b4 build p3dembed with ppremake system 2010-01-05 00:55:39 +00:00
David Rose 9620592938 stop_on_ready 2010-01-03 17:31:32 +00:00
David Rose 93726b88c1 reload crashes 2009-12-31 02:16:24 +00:00
rdb 2891b585b0 Custom root_dir functionality 2009-12-26 20:08:36 +00:00
David Rose 0592074c95 fix compiler warnings 2009-12-23 20:27:27 +00:00
rdb 36cd79a82f Fix splash window placement on OSX 2009-12-23 20:16:19 +00:00
David Rose 539b132333 more minor fixes 2009-12-23 04:36:53 +00:00
David Rose 99cb64b1d0 avoid initial frame flicker 2009-12-23 04:04:32 +00:00
David Rose ac9412983c bigendian issues 2009-12-22 22:48:00 +00:00
David Rose 170286140b cleanup 2009-12-22 22:33:06 +00:00
David Rose 708d5e37fb stability fixes for snow leopard 2009-12-22 21:15:14 +00:00
David Rose d1dd45c29d factor out CGImageRef etc., instead of recreating it every frame 2009-12-22 15:44:46 +00:00
David Rose 2fecaa6173 build issues 2009-12-22 15:11:04 +00:00
David Rose dd007746b5 finally committing that blooming snow leopard support 2009-12-22 15:07:14 +00:00
David Rose 46751b1cc4 don't fail too early due to p3dcert 2009-12-22 03:15:55 +00:00
David Rose 3627e9ff2c whoops, fix startup order dependency 2009-12-22 02:58:10 +00:00
David Rose 56bbb780ee set_failed on p3dcert failure 2009-12-21 20:04:03 +00:00
David Rose e2a393cb57 clean up start directory too 2009-12-21 20:01:47 +00:00
David Rose b367af397d version reporting 2009-12-21 18:54:53 +00:00
David Rose 6c0957c21a build win32 2009-12-21 18:08:46 +00:00
David Rose c60b5e7b6e minor refinement 2009-12-20 18:59:18 +00:00
David Rose fd6e2fc82a uninstall good 2009-12-20 18:29:25 +00:00
David Rose 38d3eda196 more uninstall stuff 2009-12-20 01:04:49 +00:00
David Rose 1d7fd44214 uninstall wip, utf-8 2009-12-18 23:42:09 +00:00
rdb 81cf02772a Fix windows compilation error 2009-12-16 18:39:04 +00:00
rdb eb16fccbf5 A window position of (-1, -1) will mean to let the WM choose a default position, and with (-2, -2) the window will be centered on screen. 2009-12-16 09:37:43 +00:00
David Rose 9d374b35a2 remove paste-buffer error 2009-12-15 02:39:41 +00:00
David Rose ff1308580d show install label for p3d file 2009-12-15 02:01:03 +00:00
David Rose c0c94ad612 one dialog at a time in p3dCert 2009-12-15 00:28:55 +00:00
David Rose 6758007d8a report p3dinstance startup 2009-12-14 23:44:56 +00:00
David Rose af5efe447e support older plugins that don't set p3d_offset 2009-12-14 23:13:10 +00:00
David Rose 08a4e29993 allow empty *_img to mean default 2009-12-12 22:16:21 +00:00
David Rose 0537384149 unknown download size, windows case 2009-12-09 19:14:15 +00:00
David Rose ff93698ce6 have to limit p3d_plugin to C API, which means no default arguments allowed 2009-12-09 18:55:14 +00:00
David Rose 157a072acb unknown download size, linux support 2009-12-09 18:40:48 +00:00
rdb 51afeb20ac Add p3dembed and add support for offsetted p3d payload 2009-12-09 18:21:10 +00:00
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