Commit Graph

24 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 8381118a97 Assorted tweaks and compile warning fixes 2016-07-14 12:54:39 +02:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb c0d78d57d4 Can we just use streamoff instead of ssize_t? 2013-08-26 15:45:14 +00:00
rdb 461fdfdddc fix compile error on MSVC, where ssize_t doesn't exist (but SSIZE_T does) 2013-08-26 14:38:55 +00:00
David Rose dba661253a Fix handling of large (>2GB) files on Windows. Egad, off_t is 32 bits on Windows, even in 64-bit Windows. Ridiculous. 2013-08-01 00:10:20 +00:00
David Rose 57b42fbfe1 clean up some read-write operations 2011-09-16 23:10:27 +00:00
David Rose 7667709357 support windows unicode filenames 2011-08-29 18:56:32 +00:00
David Rose 0cf03bc158 untabify 2011-06-29 22:09:10 +00:00
David Rose 4785161374 squelch some more compiler warnings 2011-06-18 00:16:48 +00:00
David Rose 67760e8577 fix win7/vista i/o performance issues 2009-12-16 22:00:06 +00:00
David Rose 494d61083e avoid compiler warnings from HAVE_BLAH_H conflicts by renaming macros 2009-08-21 15:40:05 +00:00
David Rose 23bd4d6ae3 define FileStream::attach() 2009-06-09 20:30:58 +00:00
David Rose d552ad28b7 newline-mode binary should also turn off decoding of newlines on read 2008-10-27 19:01:56 +00:00
David Rose be4f9efc17 don't yell if file is not open 2008-10-23 23:51:30 +00:00
David Rose 2818627d72 ios::app implies ios::out 2008-10-23 23:44:36 +00:00
David Rose 62bc43d13a better nl stuff, rename SIMPLE_THREADS_NO_IMPLICIT_YIELD 2008-09-11 01:37:00 +00:00
David Rose 360ac27188 support ios::app on win32 2008-09-10 00:40:18 +00:00
David Rose a99736ede9 fix win32 bug 2008-09-09 22:24:25 +00:00
David Rose 67c24c33e8 eol conversion 2008-09-09 21:12:41 +00:00
David Rose c8ded35040 comment typo 2008-09-09 01:10:16 +00:00
David Rose 5e838f0406 raise errors properly 2008-09-09 00:52:05 +00:00
David Rose 964c76f2e0 pandaFileStream 2008-09-09 00:06:47 +00:00