Commit Graph

258 Commits

Author SHA1 Message Date
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
David Rose 0e5cc07f83 pandaFileStream 2008-09-09 00:13:09 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose 4fd2a6ba3c fix build issues on osx from kaweh kazemi 2008-01-17 20:27:43 +00:00
Darren Ranalli 113790f2da added message bundling support to guarantee atomic message processing on the state server 2007-12-04 23:06:37 +00:00
David Rose d505d4365c don't grow the buffer quite so large 2007-06-20 22:51:04 +00:00
Roger Hughston e893ad14be *** empty log message *** 2007-04-27 05:21:47 +00:00
Roger Hughston 7862f07d3c DCPacker chaged to deal with unsigned 2007-04-27 02:20:23 +00:00
David Rose d1f08df2c9 add BLOCKING 2007-04-21 01:44:30 +00:00
Roger Hughston 531d6f9a12 hanged a bunch of function definition from in to ZONEID_TYPE OR DOID_TYPE .. having problems with high bits on 32 bit builds. 2007-04-18 05:22:59 +00:00