Commit Graph

606 Commits

Author SHA1 Message Date
Sam Edwards a9dfd8352e general: Distinguish local/system includes
This changes includes so that local includes are consistently
#include "localFile.h"
while system and third-party includes are consistently
#include <systemFile.h>

This commit mostly converts the former to the latter; the two
exceptions are in android_main.cxx and fmodAudioSound.h, where
the reverse was necessary.
2018-11-10 18:00:10 -07:00
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 7790f8429d general: Fully qualify header references into the std namespace
Closes #341
2018-06-07 10:35:12 +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
rdb 4ed199cece Fix various compile warnings and a few code consistency issues 2017-01-09 20:36:53 +01:00
Mitchell Stokes 59b0913b0b Cleanup .gitignore files
Remove all .gitignore files in subdirectories and add a few new ignores
to the top-level directory .gitignore file.
2016-10-30 20:06:12 -07:00
rdb 61b7af74db Merge branch 'release/1.9.x' 2016-09-08 22:18:50 +02:00
rdb 25cfec3760 Pass Ctrl+C on to child process when running panda3d from cmd-line 2016-09-08 22:09:45 +02:00
rdb 47388b0dbc Separate out CPython calls from core libs; eliminate need for pystub 2016-07-20 14:30:41 +02:00
rdb 7a681dc993 Python 3 fixes for rtdist builds 2016-05-29 02:01:57 +02:00
rdb dc09e28ed9 Also accept a .gz wherever a .pz file is accepted 2016-04-29 16:54:25 +02:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 090e912ce6 Cleanup of comments and whitespace 2016-02-01 22:30:43 +01:00
Harvir f725cda60c Fix import errors introduced with the core.pyd rename. 2015-11-10 13:04:36 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb 759dc77ee1 Merge branch 'release/1.9.x' 2015-09-23 11:56:22 +02:00
rdb 6d4d23cf6c Fix some p3dCert issues 2015-09-20 16:01:49 +02:00
rdb 62217c652e Fix various link issues on Windows when building rtdist 2015-09-20 01:37:49 +02:00
rdb 445c3461d6 Python 3 support to rtdist, reimplement VFS open() on top of io.IOBase, allow freezing into .c target, make VFSImporter and friends frozen into p3dpython 2015-09-18 21:20:25 +02:00
rdb d13b43f003 Merge branch 'release/1.9.x' 2015-09-12 14:16:03 +02:00
rdb c9a45f288c Proper display language detection on Windows 2015-09-11 17:32:49 +02:00
rdb 58963a167c Implement user preferred language detection on Mac 2015-09-11 15:43:22 +02:00
rdb d63110a49e Add localized text strings to p3dcert 2015-09-11 13:27:31 +02:00
rdb 1e6ca1451e Merge branch 'release/1.9.x' 2015-09-05 15:34:23 +02:00
rdb f9f62f17f1 Implement font customization options in MacOSX splash window
Also, switch to non-deprecated CoreText API
2015-09-02 22:27:56 +02:00
rdb be58900723 Implement custom font settings for splash window on Windows 2015-09-02 03:52:30 +02:00
rdb 0ff6475b77 Merge branch 'release/1.9.x' 2015-09-02 03:32:04 +02:00
rdb 7cae040278 Support custom font settings in splash window + X11 impl 2015-09-02 03:31:28 +02:00
rdb 8fd166e63f panda3d.exe on Windows now respects child process exit codes 2015-09-01 04:06:29 +02:00
rdb 965ed034b2 Implement border width and bar bgcolor in Windows splash window 2015-09-01 04:02:52 +02:00
rdb 677407f586 Merge branch 'release/1.9.x' 2015-09-01 01:13:59 +02:00
rdb 0bba09fc96 Add more customization options for splash screen, use proper Helvetica font for splash window on X11, change dimensioning rules to be more consistent with HTML/CSS rules 2015-09-01 01:13:17 +02:00
rdb cbb3969017 Merge remote-tracking branch 'origin/release/1.9.x' 2015-08-23 17:03:55 +02:00
rdb 9f85086c10 Apparently Python supports non-int status codes. Handle this correctly in the plug-in. 2015-08-22 20:27:51 +02:00
rdb 0c4c8484ba Merge remote-tracking branch 'origin/release/1.9.x' 2015-08-20 21:28:25 +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 d569e2ab6f Merge branch 'release/1.9.x' 2015-08-16 13:55:42 +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 63c65b4228 Merge remote-tracking branch 'origin/release/1.9.x'
Conflicts:
	direct/src/showutil/FreezeTool.py
2015-08-10 04:02:53 +02:00
rdb d74f028198 Linux splash window shouldn't block waiting for pipe activity 2015-08-10 04:00:41 +02:00
rdb 12af94707f Fix cloggage of the pipe communicating with the forked X11 splash window subprocess 2015-08-10 01:53:16 +02:00
rdb 9dc1a0cbad Backward compatibility hack so that older runtime versions will still be able to use 1.9 rtdist 2015-08-09 19:07:24 +02:00
rdb 74190f9e50 Work towards supporting Python 3 in the rtdist 2015-08-08 20:49:51 +02:00
rdb 29ef15db3f Fix symbol visibility issue in p3d_plugin.so 2015-08-06 14:16:51 +02:00
rdb 0cecab3124 Fix issues with the rtdist build in 1.10 2015-07-28 15:40:04 +02:00
rdb 077d03a9f6 Center p3dCert on screen, and make it a modal dialog 2015-04-25 17:09:50 +02:00
rdb 16e7831566 Remove executable permissions from files that don't need them 2015-04-05 15:41:49 +02:00
rdb d337573504 Allow loading 64-bit Panda from 32-bit plug-in on Mac OS X 2015-04-01 00:57:48 +02:00
rdb b06100afdd Changes to support building universal Mac rtdist for 1.9 2015-03-28 00:31:10 +01:00