Commit Graph

27 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
Sam Edwards 92d2f5e195 general: Don't use NULL where not appropriate 2018-06-03 16:31:01 -06:00
rdb e0245d2777 First step towards eliminating `using namespace std;` (#335) 2018-06-03 20:32:23 +02:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
Sam Edwards 89d63e7d84 general: Fix missing include needed on Windows. 2015-11-15 18:52:23 -08: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 5496c4a9ec more writable vfs stuff 2011-09-27 16:10:19 +00:00
David Rose 191ce517da migrate a few use cases to writable vfs 2011-09-17 00:05:23 +00:00
David Rose 84fdd2ea9e more robust vfs write operations 2011-09-16 23:10:46 +00:00
David Rose e986614cfc writable vfs 2011-09-16 20:13:08 +00:00
David Rose 285d70c29e support caching movie files in the model-cache-dir and in a txo file 2011-06-29 20:33:34 +00:00
David Rose 5b2c80e5f3 fix fmod threading issues 2011-06-21 17:10:51 +00:00
David Rose 834ff90f7c fix VirtualFile::read_file() for text files 2010-08-05 22:04:14 +00:00
David Rose f086784b4f static init issues 2008-11-10 20:19:28 +00:00
David Rose db1bc689e5 various fixes to threads, downloader, and support for VirtualFileMountHTTP 2008-11-04 01:09:57 +00:00
David Rose 65ef4f55da expose filestream stuff 2008-10-20 18:24:25 +00:00
David Rose 964c76f2e0 pandaFileStream 2008-09-09 00:06:47 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose b0eb06c4cb add get_file_size() for an unopened file 2006-06-09 17:28:18 +00:00
David Rose 87a912818b add file timestamps 2006-06-08 22:33:08 +00:00
David Rose 334fc88489 add vfs-case-sensitive 2005-02-04 13:39:07 +00:00
David Rose 00990fb767 add get_file_size() 2005-01-18 19:15:53 +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 843c0331ae update license, change remaining local #includes to use quotation marks 2004-02-13 19:27:33 +00:00
David Rose 93b4c7e8ba expand StreamReader a bit for Python 2002-08-07 17:06:59 +00:00
David Rose 5037c9c9b4 move vfs to express 2002-08-06 13:39:32 +00:00