Commit Graph

87 Commits

Author SHA1 Message Date
Sam Edwards 2ab77d9a27 Merge branch 'master' into cmake 2018-08-14 21:59:45 -06: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 c4126942f6 Merge branch 'master' into cmake 2018-06-10 02:29:21 -06: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 592a2e2d68 Merge branch 'master' into cmake 2018-06-06 13:18:12 -06: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
Sam Edwards 6efb07de93 Merge branch 'master' into cmake 2018-05-14 19:09:14 -06:00
Sam Edwards 52e7c952b3 putil: Rename config_util to config_putil 2018-05-14 02:36:42 -06:00
Sam Edwards 56a6e6a80a Merge remote-tracking branch 'origin/master' into cmake 2018-04-20 01:57:46 -06:00
Sam Edwards d642ca4fa0 CMake: Change linkages to go through metalibs
This changes the target_link_libraries() declarations so they only
go directly to a component library if it's in the same metalib.

If it's outside of the metalib, the correct thing to do is link against
the metalib. CMake takes care of the transitive linking for us, so
there isn't actually any big change here.
2018-04-15 01:10:21 -06:00
rdb 607af9ff49 flt: fix compile error on macOS 10.6 (which has no strnlen) 2018-04-10 15:29:43 +02:00
rdb e9ae7dcc40 Use vector_uchar instead of string for binary network/file data
This distinction allows us to better support Python 3, since it will raise exceptions when trying to put arbitrary binary data in a str object.

This also adds some convenience functions for efficiently initializing a Datagram or PTA_uchar from a vector_uchar.
2018-04-02 23:17:14 +02:00
Sam Edwards cbbfbfd0bb CMake: Build FLT programs 2017-08-05 23:09:45 -06: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
David Rose 17f51995e3 a few more win32 build issues reported by forum users 2011-12-20 15:05:37 +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 17ff7d3f82 downloader:c 2009-11-19 01:56:39 +00:00
David Rose 9e7337557a remove old api calls 2009-06-16 03:46:55 +00:00
David Rose bcdab6f3d4 remove texture_path, sound_path, egg_path 2008-11-04 18:25:21 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose ddc5b64fce build on osx 2007-04-16 20:07:04 +00:00
David Rose 4a85d9c724 build on OSX 2006-10-12 20:55:54 +00:00
David Rose 92452a393d better #includes 2006-04-06 14:08:50 +00:00
David Rose 6d0b7f4344 a bit more .pz support 2006-01-26 15:03:40 +00:00
David Rose 572a146c24 untabify 2006-01-13 18:38:07 +00:00
David Rose f1671ce1a6 add -noexist, flt2egg should call from_os_specific 2005-02-03 12:36:30 +00:00
David Rose 246e640459 add prc:c 2004-11-30 01:36:10 +00:00
Dave Schuyler 26ece6b730 lots of little changes for os x 2004-04-02 02:27:11 +00:00
David Rose 843c0331ae update license, change remaining local #includes to use quotation marks 2004-02-13 19:27:33 +00:00
Dave Schuyler 36cf062b96 using app includes 2004-02-07 05:33:07 +00:00
Dave Schuyler a43b1f20a6 changed includes 2003-10-30 07:08:59 +00:00
David Rose 891c04db07 add egg2flt 2003-10-03 01:47:45 +00:00
David Rose 3be7a57292 cerr -> nout 2003-04-11 19:14:40 +00:00
David Rose 6bfce4f544 refine path_replace usage 2003-02-13 18:47:28 +00:00
David Rose 7481abba57 replace -rta, etc. options with -pr, -pp, -ps, -pd 2003-02-12 00:45:18 +00:00
David Rose 732f747bee support 14.0 files 2002-08-30 18:36:15 +00:00
David Rose 2fdcdf33b0 assume flt filenames are os-specific. 2002-08-15 16:56:02 +00:00
David Rose 9345f29bc0 workaround strange treatment of scale's center 2002-06-25 23:44:12 +00:00
David Rose 06b40c1ff9 fix flt2egg transform order, add -C option 2002-06-25 16:16:30 +00:00
David Rose 3ab477ccbf convert flt files with componentwise transforms 2002-06-23 00:02:27 +00:00
David Rose 4ea946cf40 fix comment 2002-06-21 20:38:05 +00:00
cxgeorge 4ecb0b5d0b use combined srcs 2002-02-09 02:24:39 +00:00
David Rose 8b6c163e1b fix build breaks 2001-08-07 16:29:28 +00:00
David Rose 196cfd7d16 vector -> pvector, etc. 2001-06-25 17:00:50 +00:00
David Rose 00b55bf50c Update copyright header 2001-05-25 21:41:25 +00:00
David Rose fcb24f02ef remove tab characters 2001-05-25 15:56:49 +00:00
David Rose 0824e8031c *** empty log message *** 2001-05-12 15:57:34 +00:00