Commit Graph

147 Commits

Author SHA1 Message Date
Sam Edwards b2bfb31114 general: Remove `using std::*` from headers
Also remove most `using namespace std;` statements. The only one that remains is in py_panda.h.

Closes #350
Closes #335
2018-06-14 16:04:49 +02:00
Sam Edwards e2b4353800 general: Replace NULL (and 0 as pointer) with C++11 nullptr
Exceptions to this replacement are:
- .c files
- Headers included by a .c file
- stb_image.h
- dr_flac.h
- Strings
- Comments
2018-06-03 16:35:13 -06:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb d63110a49e Add localized text strings to p3dcert 2015-09-11 13:27:31 +02:00
rdb 8fd166e63f panda3d.exe on Windows now respects child process exit codes 2015-09-01 04:06:29 +02:00
rdb 4342ff741b Pass exit status of panda process on to panda3d process (non-Windows only so far) 2015-08-20 21:26:39 +02:00
rdb 7ed146a4bf Check environment var names case-insensitively on Windows to avoid PATH vs Path variable conflict 2015-08-17 21:34:10 +02:00
rdb 3e34233b1c Implement extracted files for packp3d and pdeploy (only when used together)
This also changes start_dir for pdeployed applications to point to the application directory, no longer to ~/.panda3d/start
2015-08-14 16:01:17 +02:00
rdb 037d803ae8 Let's reenable libp3dpython.so as viable fallback on non-Windows platforms. 2013-08-13 17:34:17 +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 c3936305e4 run plugin safely under a non-ASCII username 2011-08-30 22:45:58 +00:00
David Rose 9150bd2f6c wip: support windows unicode filenames in plugin 2011-08-30 02:54:01 +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
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 cd3dfe6911 preserve PATH 2010-06-03 20:57:57 +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 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
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 539b132333 more minor fixes 2009-12-23 04:36:53 +00:00
David Rose 3627e9ff2c whoops, fix startup order dependency 2009-12-22 02:58:10 +00:00
David Rose e2a393cb57 clean up start directory too 2009-12-21 20:01:47 +00:00
David Rose fd6e2fc82a uninstall good 2009-12-20 18:29:25 +00:00
rdb 51afeb20ac Add p3dembed and add support for offsetted p3d payload 2009-12-09 18:21:10 +00:00
David Rose 86c892d3e8 expose some more windows vars 2009-12-08 00:26:21 +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 f28a01b52b fix extra kill message 2009-12-02 15:32:18 +00:00
David Rose 2b004124f9 protect better against malicious directory naming 2009-11-21 22:04:38 +00:00
David Rose 426f96e66b alt_host affects log name, prc name, start dir 2009-11-20 00:43:30 +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
David Rose 884c389bad using bundles (and LSUIElement=1) to better manage OSX dock icons 2009-10-24 23:24:34 +00:00
David Rose 071cf37368 more debugging? 2009-10-19 22:18:43 +00:00
David Rose 9ecc675b72 better failed-case handling 2009-10-14 13:33:05 +00:00
David Rose a308a4a01c add p3dpythonw.exe, more robust startup 2009-10-06 18:55:28 +00:00
David Rose 13877e26b1 finish workaround for Vista keyboard issue 2009-10-02 20:23:09 +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 fada2d5933 LocalAppDataLow 2009-09-24 19:16:58 +00:00
David Rose 508b92005f super mirror 2009-09-23 23:31:38 +00:00
David Rose b710786378 compilation error 2009-09-22 03:57:32 +00:00
David Rose 798f55f049 some windowsisms, starting mirror stuff 2009-09-21 21:31:59 +00:00
David Rose d74b3b6905 NSGetEnviron 2009-09-18 05:00:14 +00:00