Commit Graph

107 Commits

Author SHA1 Message Date
Sam Edwards 6760c1366d CMake: Update pandatool CMakeLists.txt files for style consistency 2018-10-28 05:08:38 -06:00
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
Sam Edwards 6efb07de93 Merge branch 'master' into cmake 2018-05-14 19:09:14 -06:00
Sam Edwards 87c11d8018 pstatclient: Rename config_pstats to config_pstatclient 2018-05-14 02:36:42 -06:00
Sam Edwards 1fcb8a2748 CMake: Skip optional subdirectories in a cleaner way
Instead of wrapping the whole subdirectory's CMakeLists in
a gigantic if block, we use if(NOT HAVE_FOO) + return()

This is tidier since it keeps the indentation generally consistent
across all CMakeLists files.
2018-04-20 02:26:47 -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
Sam Edwards 441371e8d9 Merge branch 'master' into cmake 2016-03-15 18:30:55 -07:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 5cd4342ed5 Merge branch 'master' into cmake 2016-02-05 17:16:15 +01:00
rdb 090e912ce6 Cleanup of comments and whitespace 2016-02-01 22:30:43 +01:00
rdb 5b291a9b10 Merge branch 'master' into cmake 2015-11-09 19:21:12 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
Sam Edwards 8b876843d4 Merge branch 'master' into cmake 2015-05-02 11:33:52 -07:00
rdb 16e7831566 Remove executable permissions from files that don't need them 2015-04-05 15:41:49 +02:00
Sam Edwards ad5b1212ca cmake: Build GTK pstats server. 2014-04-17 02:56:56 -06:00
David Rose 84a38c8d2f subtle link issues on ubuntu 2011-12-13 01:59:20 +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 ff7388a01c fix regexp typo 2011-10-27 22:57:04 +00:00
David Rose cb9b0f075d PStats should use doubles consistently 2011-10-27 18:39:27 +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 c4e1d0fb14 add missing include 2008-10-21 16:40:44 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose 5981967334 raise sanity check 2007-06-27 23:58:22 +00:00
David Rose ca8f6d5c0f fix level accumulation 2007-05-10 04:31:31 +00:00
David Rose 76651e52e2 build on osx 2007-03-08 00:11:59 +00:00
David Rose baa0f8039c completely shoot nspr 2007-03-07 21:57:15 +00:00
David Rose fee4f77b76 prevent server lockups 2007-02-14 11:12:18 +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 9814a2bbc4 revert accidental checkin 2006-06-20 00:25:02 +00:00
David Rose d2a94c5bc1 add BamCacheRecord to LoaderFileType 2006-06-20 00:23:51 +00:00
David Rose 24e74a97e4 prevent crash on starting pstats 2006-04-29 04:20:16 +00:00
David Rose b4f84135d6 hash color from name 2006-04-09 20:24:01 +00:00
David Rose 6f77ca5044 wrong colors 2006-04-09 18:47:19 +00:00
David Rose d18afb15fe PStatCollectorDef no longer uses RGBColorf 2006-03-29 14:58:51 +00:00
David Rose 039acd1ad4 pnotify 2006-03-20 03:33:16 +00:00
David Rose 87fd44e644 improve threads interaction 2006-02-25 01:20:15 +00:00
David Rose 50320a6a28 integrate PStatThread and Thread 2006-01-31 19:00:01 +00:00
David Rose 56a7c5b2fd assertion to prevent crash 2005-11-29 19:00:12 +00:00
David Rose b19e098094 prevent use of threading interfaces without HAVE_THREADS 2005-09-30 15:42:28 +00:00
David Rose bb0c57bcd8 pstats use 32 bit headers 2005-04-30 00:09:28 +00:00
Josh Yelon ac53e8e3f0 Trying to speed compilation a bit 2005-02-25 15:30:17 +00:00
David Rose a5c6cbfb0d fix incorrect coloration when levels are out of order 2004-09-30 22:08:59 +00:00
David Rose de1a2a2594 fix average calculation 2004-09-24 00:19:18 +00:00