rdb
e9ae7dcc40
Use vector_uchar instead of string for binary network/file data
...
This distinction allows us to better support Python 3, since it will raise exceptions when trying to put arbitrary binary data in a str object.
This also adds some convenience functions for efficiently initializing a Datagram or PTA_uchar from a vector_uchar.
2018-04-02 23:17:14 +02: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
588d41ed7e
Fix assorted compiler warnings
2017-12-24 15:12:58 +01:00
rdb
1049088f11
Clean up some of the dtool_config.h variables
2016-10-24 22:10:46 +02:00
rdb
47388b0dbc
Separate out CPython calls from core libs; eliminate need for pystub
2016-07-20 14:30:41 +02:00
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +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
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
ef0cb39c1d
untabify
2011-06-29 22:18:54 +00:00
Redmond Urbino
93a6c90dd9
use dg.dump_hex instead of describe_message to avoid segmentation fault
2010-08-07 03:49:09 +00:00
Redmond Urbino
0b344e9a2b
to give a warning in the log if a message takes too long to process
2010-05-07 05:29:59 +00:00
David Rose
e4305cf954
proper respect for locking with Python GIL, when true threads are enabled
2009-12-05 20:40:26 +00:00
David Rose
72da0ee5f1
clean up ConnectionRepository on exit
2009-12-05 07:17:53 +00:00
David Rose
abbbb21a8e
some more explicit control over connection parameters
2009-11-19 02:37:09 +00:00
Darren Ranalli
b373df5add
fixed implementation of quiet zone wrt field updates from C++
2009-08-27 22:00:40 +00:00
David Rose
7b00b88f29
separate out cmu and disney distributed systems better
2009-06-08 18:49:09 +00:00
David Rose
cce4f2195e
more threading improvements
2008-10-02 18:02:18 +00:00
Jason Hancock
5f33765f9b
fix yield function Roger H
2008-06-27 21:06:39 +00:00
David Rose
fb9c56432a
we are now using the modified BSD license
2008-05-28 18:37:20 +00:00
Darren Ranalli
2f8cf96fd2
fixed misleading return value from send_datagram while bundling messages
2008-01-30 19:57:08 +00:00
Darren Ranalli
8cae40674b
added setWantMessageBundling
2007-12-06 20:59:25 +00:00
Darren Ranalli
4b0a024743
added support for nested message bundles
2007-12-05 03:17:41 +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
52d2ba31fd
add set_handle_c_updates()
2007-05-17 18:44:45 +00:00
Roger Hughston
ffa480bde7
Changes to support yielding instead of sleeping
2007-05-05 00:32:51 +00:00
David Rose
8d662e51f7
revert unfortunate fix
2007-04-17 00:07:03 +00:00
David Rose
95e30464a6
more verbose error messages when exception occurs during dc update
2007-04-11 21:33:14 +00:00
David Rose
81d1f43ad0
allow connect-method config var
2007-03-30 16:36:00 +00:00
Darren Ranalli
3e37aafc95
indent msg hex dumps for non-DC msg debugging
2007-02-23 17:31:45 +00:00
Darren Ranalli
c26824b602
better formatting of non-DC msg logging
2007-02-23 08:42:36 +00:00
Darren Ranalli
79eb6d81bc
more compact verbose debugging
2007-02-22 06:21:05 +00:00
Darren Ranalli
8148d09ddb
more readable debugging
2007-02-22 01:02:37 +00:00
Darren Ranalli
ed32a262f4
enable verbose-repository in non-debug
2006-11-30 02:35:13 +00:00
Zachary Pavlov
ad5972e5a3
okay, there is now a native-capable net interface
2006-11-10 04:29:59 +00:00
Zachary Pavlov
c0f9dce26f
CR now requires a connection method,will be changed to has-a later
2006-11-09 22:22:59 +00:00
Darren Ranalli
3560d4b3f8
added CR:: prefix to verbose prints
2006-06-01 18:22:43 +00:00
David Rose
572a146c24
untabify
2006-01-13 18:38:07 +00:00
David Rose
6f4d4a4b66
rename ssl -> openssl, cv -> opencv
2005-09-21 23:55:57 +00:00
Darren Ranalli
5be710f8b5
merged from pirates_1_first_merged_to_trunk
2005-09-14 22:13:42 +00:00
David Rose
ee7f0dceb2
simulate_network_delay for http too
2005-08-10 18:03:39 +00:00
Asad M. Zaman
1e0716a20b
fix on Roger's new server
2005-07-11 21:31:28 +00:00
Roger Hughston
82fa7ab1e4
Changes to support messaging to multi target channels
2005-07-07 00:10:57 +00:00
Dave Schuyler
43f40a035f
formatting
2005-06-02 23:34:16 +00:00
Dave Schuyler
b3fa4b906c
python 2.4 stuff
2005-05-27 00:25:19 +00:00
David Rose
edf017e3f6
support multiple inheritance in dc file
2005-02-25 23:32:34 +00:00
David Rose
ee66668ab1
integrate latest changes from CMU
2005-01-19 23:27:15 +00:00
David Rose
83405c4857
toggle_verbose()
2005-01-12 14:58:00 +00:00
David Rose
0778ad00be
separate readerPollTask into its constituent update/generate/other pieces
2004-09-15 22:48:19 +00:00
David Rose
3343d168e1
interrogate is fixed now
2004-09-15 18:38:09 +00:00
Roger Hughston
d74707423c
dded Support for 64bit Server Channels
...
----------------------------------------------------------------------
src/dcparser/dcClass.cxx src/dcparser/dcClass.h
src/dcparser/dcField.cxx src/dcparser/dcField.h
src/dcparser/dcPacker.h src/dcparser/dcbase.h
src/distributed/DistributedObjectAI.py
src/distributed/PyDatagram.py
src/distributed/PyDatagramIterator.py
src/distributed/cConnectionRepository.I
src/distributed/cConnectionRepository.cxx
src/distributed/cConnectionRepository.h
----------------------------------------------------------------------
2004-07-21 21:18:06 +00:00