Commit Graph

16 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
rdb f45ddcab2f general: switch to C++11 Lockable semantics for mutexes
This renames acquire/release to lock/unlock in order to be compatible with std::lock_guard and std::unique_lock (which will eventually replace the *MutexHolder classes).  It will also allow us to typedef MutexImpl to std::mutex later on.
2018-05-23 20:37:56 +02:00
rdb c422f5952f Increase default alignment to 2x word size, make DeletedBufferChain allocations more efficient
NB. NeverFreeMemory no longer performs alignment.
This fixes the Bullet crash on Win64.  Need to check Win32.
2016-12-08 23:22:16 +01:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb d290a193ad Fix static init ordering issue with the runtime build 2012-02-10 09:19:12 +00:00
David Rose 33b9a1e1cf integrate Eigen 2011-12-16 14:17:48 +00:00
David Rose 539b61571c guarantee word alignment for AtomicAdjust stuff 2011-11-17 23:31:31 +00:00
rdb 028b98ab2b Remove entirely pointless assertion check that even causes a compiler bug on FreeBSD. 2009-07-22 18:31:37 +00:00
David Rose f68fa1909a USE_DELETED_CHAIN, memory alignment 2009-04-24 22:52:23 +00:00
David Rose ef771a796b make sync primitives more similar to python function names 2008-10-14 00:07:05 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose d52eb37b14 move some low-level mem tracking into MemoryHook, more mem tracking fixes 2007-06-29 01:39:09 +00:00
David Rose 9f46da91a5 fix missing keyword 2007-06-20 16:32:50 +00:00
David Rose 515ab0c910 win32 VirtualAlloc 2007-06-15 00:38:45 +00:00
David Rose 5f1b029f42 NeverFreeMemory 2007-06-14 23:15:14 +00:00