Commit Graph

72 Commits

Author SHA1 Message Date
rdb be9dde1eee direct: add .pylintrc, perform major code cleanup pass
Closes #989

Co-authored-by: Daniel Stokes <kupomail@gmail.com>
2020-12-31 01:36:23 +01:00
rdb 2ce373b0da distributed: Assorted error fixes 2020-12-30 22:53:15 +01:00
rdb f149fb4ab0 direct: big formatting changes for the benefit of API reference
Part of the effort to move the API reference to Sphinx, see panda3d/panda3d-docs#21
2019-10-29 20:43:41 +01:00
Sam Edwards 4080e03d05 distributed: Remove use of exceptionLogged() decorator
This isn't available when __debug__==False either.
2017-03-27 01:00:00 -06:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05:00
rdb ac1223d0da Ditch stuff like has_key and backticks 2010-03-19 10:32:09 +00:00
Darren Ranalli 37e5bd98f7 added doFindAllInstances 2010-02-04 22:20:48 +00:00
Abhishek Nath a36f345131 Useful function to search through Distributed Object collection by class type 2009-11-30 21:26:10 +00:00
David Rose 7b00b88f29 separate out cmu and disney distributed systems better 2009-06-08 18:49:09 +00:00
Darren Ranalli b742e9050d added dosByDistance 2008-10-30 00:02:58 +00:00
Josh Wilson 98548f9779 adding hasOwnerViewDoId() 2008-09-18 03:21:10 +00:00
Darren Ranalli a2997cd277 removed exceptionLogged decorators, data logging now covered by ExceptionVarDump 2008-09-11 23:44:51 +00:00
Darren Ranalli 50225ec96e fixed typo that was passing builtin 'object' to handleChildLeave 2007-12-17 23:55:34 +00:00
Joe Hager 393ac885ec Added webPrintObjectCount to act as web wrapper (aiHTTP Interface) for printObjectCount. 2007-10-03 00:57:58 +00:00
Zachary Pavlov f481109861 added a generic find for the cr, uses regex 2007-08-14 17:47:47 +00:00
Josh Wilson bc62667675 "handleChild(Arrive/Leave)() now only applies when a child is being placed under for the first time or actually leaving. added handleChild(Arrive/Leave)Zone() for the case where the child keeps the same parent, but changes zones" 2007-08-14 07:34:42 +00:00
Darren Ranalli 5e1ac15ba8 fixed crash in doByDistance 2007-08-07 23:28:14 +00:00
Darren Ranalli a291b6ea1e added doByDistance 2007-08-07 21:50:56 +00:00
Josh Wilson d1be95209e "cleanup" 2007-07-17 19:16:53 +00:00
Darren Ranalli 35290754c9 removed debugging 2007-04-25 21:03:06 +00:00
Josh Wilson e088d31e98 "copy/paste bug fix" 2007-04-24 01:49:51 +00:00
Darren Ranalli 59b7f35cad more debugging for deleteObjectLocation parentId=4294967295 AI crash 2007-04-23 22:46:27 +00:00
Darren Ranalli df4b19725c log and send server event if DOAI is created with parentId of 4294967295 (32-bit -1, unsigned) 2007-04-18 06:31:13 +00:00
Darren Ranalli c09c16735a fixed printObjectCount formatting 2007-03-07 03:47:07 +00:00
Darren Ranalli 1e5fdf94f6 added ~objectcount and ~aiobjectcount 2007-03-07 03:40:22 +00:00
Darren Ranalli a0307f90a0 added 'append' option to exceptionLogged to print out before or after stack trace 2006-12-27 19:58:18 +00:00
Darren Ranalli 1cf90faf20 exceptionLogged storeObjectLocation 2006-11-08 19:49:17 +00:00
David Rose 93a66498c2 fix AI crash 2006-11-03 04:10:46 +00:00
Darren Ranalli 193478aacf prevent redundant DoHierarchy adds/removes 2006-10-20 02:57:58 +00:00
Darren Ranalli 00e0c59f0f print object type when DoHierarchy gets an error 2006-08-23 03:21:34 +00:00
Darren Ranalli be255e6bbd fixed getDoIds (pass in getDo) 2006-07-12 18:18:28 +00:00
Darren Ranalli e33e528192 prevent uberdog crash 2006-07-08 00:57:59 +00:00
Darren Ranalli 9ce7a90a38 fixed Long-Int leak in doId location tracking 2006-07-07 17:46:24 +00:00
Darren Ranalli dbddb3bb2b added warnings 2006-06-02 00:18:46 +00:00
Darren Ranalli 26eca10a19 added InterestWatcher 2006-05-04 23:21:34 +00:00
Justin Butler 68d8fe2f20 Added fix to be able to give an object to store location for in case the object has already been removed from the doId2do list. 2006-05-02 03:26:20 +00:00
Dave Schuyler fc7fc09140 formatting 2006-03-17 22:43:25 +00:00
Darren Ranalli 2fc6cc3367 fixed getObjectsOfClassInZone and getDoIdList 2006-03-16 05:07:24 +00:00
Dave Schuyler 71243aa874 formatting 2006-01-27 02:54:41 +00:00
Dave Schuyler 6bce73676e switch to zero for bad ID 2006-01-21 01:53:16 +00:00
Dave Schuyler abd089f9d2 callback with do 2006-01-20 01:42:10 +00:00
Dave Schuyler 5e2981cf39 minor fix for debug code 2006-01-12 22:34:32 +00:00
Dave Schuyler 3c2665ec2e fix to isInDoTables 2006-01-04 19:27:47 +00:00
Dave Schuyler 7bd4d31e8c isInDoTables 2006-01-04 19:19:09 +00:00
Darren Ranalli 8d01e31524 added getOwnerViewDoList, getOwnerViewDoIdList 2005-12-14 01:49:33 +00:00
Dave Schuyler c28e3a500b moving parent zone stuff to collection manager 2005-12-01 02:45:20 +00:00
Dave Schuyler 84a5f4a344 removed function that I just added 2005-11-30 05:02:29 +00:00
Dave Schuyler 14f63eb9a6 removed zone to doIds and changed removal of zone to object data 2005-11-30 04:31:04 +00:00
Darren Ranalli bf18084c21 make location components explicit 2005-11-23 23:53:32 +00:00