rdb
ca061c98a6
dcparser: Improve assertion error message for invalid UTF-8 data
2021-10-26 13:58:40 +02:00
rdb
cd9712270b
dcparser: slight code cleanup in dcPacker.cxx
2021-10-26 13:51:04 +02:00
rdb
ab6bf5f4f7
general: Add workaround for Windows bug in various uses of isprint()
...
See #994 ; there is a regression in certain versions of the Windows CRT that gives the wrong result for isprint(). This adds workarounds to various potentially affected locations where isprint() is being used.
2020-08-21 14:51:42 +02:00
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
0972dfa457
dcparser: fix ability to compile outside of Panda
...
Fixes #759
2019-12-29 14:27:05 +01:00
rdb
cb53e5d822
dcparser: fix unpacking uint64 and int64
...
Closes #751
2019-12-25 16:57:06 +01:00
rdb
92539a3107
dcparser: rebuild dcParser.{cxx,h}.prebuilt
2018-12-19 13:14:21 +01:00
rdb
e4f493b872
dcparser: use vector_uchar for blobs, step towards Python 3 compat
...
Closes #298
2018-12-19 12:45:32 +01:00
rdb
97d4e32a06
general: use nassert_raise instead of nassertv(false) et al
...
Even a brief error message in the assertion is infinitely more useful to a user who is not at home in the source code, especially for assertions that may reasonably be triggered by honest user mistakes.
2018-11-28 17:35:20 +01:00
rdb
35fff81b6a
makepanda: fix missing BUILDING_DIRECT_DCPARSER
...
[skip ci]
2018-08-19 21:06:47 +02:00
Sam Edwards
97d6d84ade
dcparser: Add BUILDING_DIRECT_DCPARSER switch
...
Resolves GH #342 .
2018-08-15 20:38:00 -06:00
rdb
886e1c2f16
general: fix many compilation warnings in GCC 8
2018-06-19 00:37:28 +02: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
7790f8429d
general: Fully qualify header references into the std namespace
...
Closes #341
2018-06-07 10:35:12 +02:00
Sam Edwards
5e82671084
general: Do away with TYPENAME macro
2018-06-03 16:36:34 -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
rdb
e0245d2777
First step towards eliminating `using namespace std;` ( #335 )
2018-06-03 20:32:23 +02:00
Sam Edwards
4eb250cb87
dcparser: Write ranged-blob parameters correctly
2018-03-25 22:03:55 -06:00
Sam Edwards
f231ba4cd7
directbase: Introduce BUILDING_ defines for each component
...
Ditto everything before, but for direct.
2018-03-25 13:17:52 -06:00
Sam Edwards
f76b8a6ad8
distributed: Replace the OTP protocol format with Astron's
...
Again, all this does is affect the 4-years-disused OTP system, leaving
the CMU system entirely untouched.
This changes the packet formatting in several of distributed's helper
classes.
2018-02-23 16:45:50 -07:00
Sam Edwards
167c6dcafa
distributed: Change the message numbers to match Astron's
...
I imagine very few Panda3D users depend on the message numbers having
particular values. The ones removed belonged to Disney's OTP system,
which hasn't been used by anybody in over 4 years.
At any rate, old code should continue to work, just at the cost of
compatibility between clients and servers running different P3D versions.
2018-02-23 16:35:50 -07:00
rdb
51d948a7fa
Support compilation for Python 3.7
2017-10-13 12:40:47 +02:00
Mitchell Stokes
59b0913b0b
Cleanup .gitignore files
...
Remove all .gitignore files in subdirectories and add a few new ignores
to the top-level directory .gitignore file.
2016-10-30 20:06:12 -07:00
rdb
47388b0dbc
Separate out CPython calls from core libs; eliminate need for pystub
2016-07-20 14:30:41 +02: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
090e912ce6
Cleanup of comments and whitespace
2016-02-01 22:30:43 +01:00
rdb
50d2e8324e
Merge branch 'release/1.9.x'
...
Conflicts:
.travis.yml
direct/src/directtools/DirectLights.py
panda/src/nativenet/buffered_datagramconnection.h
2015-12-06 22:32:12 +01:00
rdb
287c44ce53
Various fixes for Python 3 versions before Python 3.3
2015-12-06 22:05:44 +01:00
rdb
db3ab953e4
Remove ppremake, genPyCode, and all hacks created to support them
2015-11-09 19:06:49 +01:00
rdb
7f7f85794d
Fix various compilation and linker issues across several platforms
2015-10-07 21:09:35 +02:00
rdb
16e7831566
Remove executable permissions from files that don't need them
2015-04-05 15:41:49 +02:00
rdb
cbd70ad8af
Move all Python bindings out of core DLLs into the .pyd files.
2015-02-10 14:30:51 +01:00
rdb
aec80426a3
Remove (apparently unused) code that is problematic because it references symbols from the generated bindings
2015-02-08 19:48:42 +01:00
rdb
fbc097c323
dos2unix
2013-02-23 10:42:13 +00:00
rdb
192d10b937
Experimental Python 3 support to the C++ code including interrogate. Also adds support for rich comparison in interrogate.
2013-02-16 19:22:26 +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
ef0cb39c1d
untabify
2011-06-29 22:18:54 +00:00
David Rose
dd4df70a28
fix msvs 2010 build issues reported by community member FriarTuck
2011-03-22 23:48:31 +00:00
Josh Wilson
ccdae0e4bc
[disney_stable] brief dcparse output includes string length constraints now
2010-10-15 20:05:32 +00:00
David Rose
30dddab983
remove troublesome assert
2010-03-08 20:13:20 +00:00
David Rose
cb0fd70fe6
osx build issues
2009-11-23 20:17:36 +00:00
David Rose
0bee8b9fbf
protect against objects that have no str() representation
2009-11-19 23:34:29 +00:00
David Rose
ffb437247f
protect from newer flex
2009-11-02 23:46:45 +00:00
David Rose
aee00fc3de
pstrtod
2009-06-14 16:27:44 +00:00
David Rose
7b00b88f29
separate out cmu and disney distributed systems better
2009-06-08 18:49:09 +00:00
David Rose
bc40be4775
fix for more recent bison
2009-03-08 00:09:19 +00:00
David Rose
f28396fead
slightly better unpack exception generating
2008-10-21 21:43:30 +00:00
David Rose
75c51589e8
TypeError, ValueError
2008-09-29 17:26:16 +00:00
Redmond Urbino
32a7f97b4b
PartyManagerUD can send to all PartyManagerAIs
2008-09-24 23:29:41 +00:00