Commit Graph

91 Commits

Author SHA1 Message Date
Sam Edwards 6097d34ead CMake: Neatly format everything for readability and consistency 2019-04-14 22:37:18 -06:00
Sam Edwards f8161cc529 Merge branch 'master' into cmake 2019-03-12 02:03:16 -06:00
rdb 094458a8df xfile: fix read from uninitialized memory (see #554) 2019-02-12 15:40:31 +01:00
Sam Edwards 841e7a9a16 CMake: Add a bunch of pandatool components to the build 2018-10-28 05:08:39 -06:00
rdb c6ed4e1836 general: don't cast to regular pointer when returning a PointerTo
This is inefficient because it induces an unnecessary ref()/unref() pair when we just need to move the pointer out of the function.  Thanks to 23128e4695, we can now move between related pointer types, making the .p() hack unnecessary.
2018-07-08 21:40:58 +02:00
rdb 886e1c2f16 general: fix many compilation warnings in GCC 8 2018-06-19 00:37:28 +02: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 e0245d2777 First step towards eliminating `using namespace std;` (#335) 2018-06-03 20:32:23 +02: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
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb 16e7831566 Remove executable permissions from files that don't need them 2015-04-05 15:41:49 +02:00
rdb 783d8552ef Fix bin2c to generate an include to stddef.h (for size_t definition) 2014-10-19 22:32:30 +00:00
rdb 20a08aa8de dos2unix 2013-09-19 16:45:51 +00:00
David Rose a16238932a looks like we had a long-term confusion for LFLAGS as a set of linker flags and as a set of flex flags. Renamed LFLAGS to FLEXFLAGS for flex input. 2013-08-26 22:44:22 +00:00
rdb 451f6faf37 remove now-nonexistent -i flag to linker 2013-08-25 18:43:41 +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 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose dd4df70a28 fix msvs 2010 build issues reported by community member FriarTuck 2011-03-22 23:48:31 +00:00
David Rose 786124f898 flex version issues 2010-02-22 00:16:11 +00:00
David Rose ee571fa777 shoot, proper fix for bison 2.4 2009-04-29 02:15:21 +00:00
David Rose 4262d1c099 fix bison error with 2.4 2009-04-08 15:14:29 +00:00
David Rose cdd877e6dc accept parens in names 2009-03-13 14:32:24 +00:00
David Rose 98ea1e19ff add support for AnimTicksPerSecond 2009-02-26 00:34:04 +00:00
David Rose 52a60b7f2f robustify reading of buggy x files 2008-06-26 19:27:00 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose 5f4ec707e1 add libs 2006-10-18 13:15:39 +00:00
David Rose 156a665293 add libs 2006-10-18 13:14:34 +00:00
David Rose 4a85d9c724 build on OSX 2006-10-12 20:55:54 +00:00
David Rose a3cc24dd6f dos2unix 2006-09-01 18:52:52 +00:00
David Rose 039acd1ad4 pnotify 2006-03-20 03:33:16 +00:00
David Rose 6d0b7f4344 a bit more .pz support 2006-01-26 15:03:40 +00:00
David Rose ca1a157c21 missing parameter 2006-01-26 04:12:19 +00:00
David Rose 572a146c24 untabify 2006-01-13 18:38:07 +00:00
Josh Yelon 61639a1ef9 Added support for blender x-files 2005-11-14 19:04:51 +00:00
David Rose 0d8cfd3131 support spaces in node names 2005-10-14 21:38:51 +00:00
David Rose 3dd4264c8c make X file reader more forgiving 2005-05-28 16:12:57 +00:00
David Rose 590e4ad6f1 dos2unix 2004-12-01 18:33:59 +00:00
David Rose 86b7edace2 add vfs->close_read_file() to work around compiler bug 2004-11-17 22:34:18 +00:00
David Rose d1c2504697 fix asserts 2004-10-29 04:50:47 +00:00
David Rose a7863e5b6e prebuild-bison 2004-10-14 18:41:31 +00:00
David Rose 2d4009bfa9 report invalid characters 2004-10-14 04:59:33 +00:00
David Rose 209cf4b59b cvsignore files for new directories 2004-10-13 23:17:35 +00:00
David Rose ae94d5ef0a use composite build 2004-10-13 23:14:04 +00:00
David Rose 03c882f992 tweak comments 2004-10-13 21:47:20 +00:00
David Rose fc74bc81f0 x2egg now uses native parser 2004-10-13 21:39:35 +00:00
David Rose 209c02fc6e add XFileNode::is_standard_object() 2004-10-13 13:37:06 +00:00