Commit Graph

25 Commits

Author SHA1 Message Date
rdb 9159fc1029 operator delete should check for null pointer before deallocating
It is a pervasive belief that using "delete" with a null pointer is safe, so our custom delete operators should also handle this case correctly.

This may fix regressions introduced by #934
2020-05-05 18:13:13 +02:00
rdb e4f493b872 dcparser: use vector_uchar for blobs, step towards Python 3 compat
Closes #298
2018-12-19 12:45:32 +01: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 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 18874fa151 Replace PN_int/uint types with stdint.h types, since all compilers we support have them.
Plus, we already had code that relied on them being available anyway.
2016-05-11 00:27:58 +02:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 16e7831566 Remove executable permissions from files that don't need them 2015-04-05 15:41:49 +02:00
David Rose f28396fead slightly better unpack exception generating 2008-10-21 21:43:30 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose 01ecc7124e show field names on output 2005-05-25 22:10:58 +00:00
David Rose 0810adaa2c fix runaway default packing, array range syntax 2004-07-21 17:27:00 +00:00
David Rose a5349528e9 more interfaces to get out the packed data 2004-07-02 17:26:02 +00:00
David Rose 3ac771804b reduce overhead on DCPacker construction and push/pop operations 2004-07-02 17:11:59 +00:00
David Rose 932359216f struct and switch are now inline 2004-06-30 00:50:25 +00:00
David Rose 6a406c9196 regularize DCField::unpack_* 2004-06-25 23:37:36 +00:00
David Rose 4b15c13cc0 allow serial pack/unpack sessions 2004-06-25 21:22:16 +00:00
David Rose 3a10107f80 add unpack-by-reference 2004-06-24 18:31:11 +00:00
David Rose 803712f986 add switches 2004-06-24 07:43:28 +00:00
David Rose 414ec1b386 more range checking 2004-06-22 15:23:05 +00:00
David Rose 28a42d68b6 begin_repack 2004-06-22 03:18:01 +00:00
David Rose d61f2fcfa4 add unpack seeking 2004-06-21 23:51:59 +00:00
David Rose 7e70887ab2 add unsigned pack/unpack, modularize packing methods 2004-06-18 18:46:25 +00:00
David Rose aff151835d python unpacking 2004-06-17 03:26:20 +00:00
David Rose 866807b44e python packer uses new DCPacker 2004-06-16 22:12:31 +00:00
David Rose 9ccac55523 introducing complex dc types 2004-06-16 09:09:54 +00:00