Commit Graph

6851 Commits

Author SHA1 Message Date
Sebastian Hoffmann 659d7f4073 Overwrite handleDatagram to get CLIENT_HELLO_RESP, which otherwise gets swallowed. Cleanup. 2014-02-28 10:08:06 +01:00
Sebastian Hoffmann 9752736dbc Prevented infinite loop on handleMessageType. Added debug prints. 2014-02-28 09:46:41 +01:00
Sebastian Hoffmann 743f6cc55c First bugfixes during testing. 2014-02-28 08:54:44 +01:00
Sebastian Hoffmann e4a83aaa6e Message types. Skeleton of AstronClientRepository.py. 2014-02-28 05:43:27 +01:00
kestred a959c2ba2f Update DistributedNodeUD.py
Remove import to non-existent item.
2014-02-21 20:27:32 -07:00
kestred 5f39f21062 Bugfix: Various issues preventing imports and initialization of InternalRepository and ClientRepository. 2014-02-14 17:37:20 -07:00
kestred ace98d1572 Bugfix: Missing import dependencies for AstronInternalRepository.py and ClientRepository.py 2014-02-14 14:26:07 -07:00
kestred e5bb27b46b ClientRepositoryBase should use notify instead of print to output debug info. 2014-02-11 02:14:59 -07:00
kestred 089b11b466 Merge remote-tracking branch 'upstream/master' 2014-01-25 22:15:46 -07:00
Sam Edwards b6e33d3d38 Fix typo in DirectSelection. 2014-01-24 06:06:53 -07:00
Sam Edwards fa8750d2e5 In AIR, implement sendSetLocation. Also change sendActivate workaround to do the SET_FIELDS while in another zone. 2014-01-24 06:06:48 -07:00
rdb 5f9545a914 Move SetRegView to appropriate sections 2014-01-14 11:02:58 +00:00
rdb 07404ff694 Add SetRegView so we can correctly install 64-bit build to the 64-bit registry 2014-01-14 10:12:50 +00:00
rdb c47a983798 Exclude _mysql.pyd from main Panda3D package, to reduce file size 2014-01-11 13:14:18 +00:00
rdb 8365c5ce13 Remove superfluous import lines (this is really genPyCode's task) 2013-12-23 19:39:22 +00:00
rdb 2275784525 More Python 3 support, and a bit of work toward being able to compile as panda3d/core.pyd, etc. 2013-12-23 18:57:48 +00:00
rdb c729775265 The 'new' module has been deprecated since 2.6 and removed in Python 3, let's not use it (use 'types' module instead) 2013-12-23 15:08:00 +00:00
David Rose 5bd9eaf7fc fix import error 2013-12-19 18:56:45 +00:00
rdb 088df4a3d2 A few modernisation fixes, mostly for Python 3 support 2013-12-17 22:51:28 +00:00
rdb 66f4964c8b Oops, checked in the wrong file 2013-12-17 20:04:59 +00:00
rdb 88048bf3da Fix use of has_key and map() 2013-12-17 19:49:09 +00:00
rdb c1273d5684 PyEval_InitThreads should go after Py_Initialize in Python 3 2013-12-17 18:42:11 +00:00
rdb 3403c8748e Fix use of outdated exec and repr syntax 2013-12-17 18:05:45 +00:00
Sam Edwards a4563fb342 Patch by cfsworks: actor: On removePart, clean up the part's commonBundleHandle. 2013-12-04 10:28:16 +00:00
Sam Edwards 26e18e2b2b In AIR, send delete event *after* the object is removed, just in case something handling the event relies on it being fully deleted. 2013-11-19 20:16:18 -07:00
Sam Edwards b449c25409 Add sendActivate to AIR, for activating DBSS objects. 2013-11-06 23:07:28 -07:00
Sam Edwards 77bfb5e552 Handle CHANGING_LOCATION messages in AIR. 2013-11-06 22:54:00 -07:00
Sam Edwards 0c2ea25813 actor: On removePart, clean up the part's commonBundleHandle. 2013-10-30 00:30:28 -06:00
Sam Edwards 0c4cfc37b5 Restore accidentally-deleted `#ifdef HAVE_PYTHON`. 2013-10-24 08:55:33 -06:00
Sam Edwards a5868224e8 Move "puppet" and "account" connection channel ranges out of the Astron reserved space. 2013-10-22 09:35:35 -06:00
Sam Edwards 8ea908c855 Huge update: Change distributed protocol to match the newly-changed Astron protocol. 2013-10-21 10:04:35 -06:00
Sam Edwards ac834aa632 Don't rely on base being defined during import time. 2013-10-20 01:49:07 -06:00
Sam Edwards 8efe753496 Change AIR to allow event-logging of non-strings. 2013-10-18 09:03:31 -06:00
Sam Edwards 6dc8d24aa7 In DB interface, check if callback is None before calling it. 2013-10-15 09:49:28 -06:00
Sam Edwards 7c22967521 Fix AIR dbInterface's notify severities/parameters. 2013-10-15 09:48:06 -06:00
Sam Edwards 2857fd89dd Add object field update code to AIR's db interface. 2013-10-15 09:45:10 -06:00
Sam Edwards bcdfc59734 Add unknown-MsgType warning to AIR. 2013-10-15 08:12:01 -06:00
Sam Edwards 6494b57933 Add database-query support to AIR, so that you can now query objects by their ID. 2013-10-15 08:11:09 -06:00
Sam Edwards f74dc9b35d Add AstronDatabaseInterface, which can generate objects into an Astron DB. 2013-10-15 04:10:40 -06:00
Sam Edwards 1ca02ae9e1 Update DOAI a bit: Simplify dependencies on AIR. 2013-10-14 05:29:05 -06:00
Sam Edwards 84fc894309 Add object-exit handling to AIR. 2013-10-14 05:08:48 -06:00
Sam Edwards fbca620477 Add requestDelete to AIR. 2013-10-13 23:24:34 -06:00
Sam Edwards f4ee0106c7 Add datagram handler to AIR, which can handle objects entering. 2013-10-13 21:29:52 -06:00
Sam Edwards d279e2b201 Clear up incorrect docstring. 2013-10-12 22:54:34 -06:00
Sam Edwards ba77f823d9 AIR should default to using prc-configured dc files. 2013-10-12 22:50:17 -06:00
Sam Edwards 1efed6a16b Add connect code to AstronInternalRepository. 2013-10-12 22:16:55 -06:00
Sam Edwards b41be8fc70 Add Astron internal message types to MsgTypes.py. 2013-10-12 22:16:35 -06:00
Sam Edwards 4d1fe61f77 Add generate support to AIR, so that it can put objects onto Astron State Servers. 2013-10-09 19:36:21 -06:00
Sam Edwards 4dbbc361c0 Add sendUpdate and sendUpdateToChannel to AIR. 2013-10-09 17:11:49 -06:00
Sam Edwards eed1dae8e1 PyDatagram: Use "CONTROL_CHANNEL", not "CONTROL_MESSAGE". 2013-10-09 01:48:03 -06:00