Commit Graph

4364 Commits

Author SHA1 Message Date
David Rose 356b46e11d oops! One bit only per flag, please 2007-06-01 03:57:21 +00:00
Zachary Pavlov 4eee3a23e9 no hotshot 2007-06-01 00:02:39 +00:00
David Rose c7a0652426 add LerpTexOffsetInterval, etc. 2007-05-31 23:13:49 +00:00
Zachary Pavlov b62e15207c oops, missed som formatting and calibration issues 2007-05-30 02:40:57 +00:00
Zachary Pavlov 582acfb7b9 better profiling option 2007-05-30 01:18:44 +00:00
Zachary Pavlov 5d7d58a5bc new profiler options 2007-05-30 00:15:04 +00:00
Zachary Pavlov 777c080b9e freeze joint functionality 2007-05-29 22:08:49 +00:00
Zachary Pavlov 16ee78a4be more accurate timing 2007-05-24 19:02:56 +00:00
Zachary Pavlov a2a8f7297f better profiled function, with capabilities for production 2007-05-24 02:11:24 +00:00
Josh Wilson 1578173ccc "handling dt=0 so as to prevent divide by zero errors" 2007-05-21 23:12:59 +00:00
David Rose e86dc0c52c hold up setinterestcomplete message until deferred objects are generated 2007-05-19 02:13:15 +00:00
Darren Ranalli 9e8a9d3c96 don't print classTree by default 2007-05-19 00:05:23 +00:00
Darren Ranalli 33d2e386b8 use classmethod, more concise Functor.__call__ implementation 2007-05-18 22:43:33 +00:00
Darren Ranalli a0f5059dc7 minor memory optimization 2007-05-18 22:25:39 +00:00
David Rose 81be5c1685 temporarily disable deferring for others 2007-05-18 21:57:03 +00:00
Darren Ranalli 46ea4b8474 improved ~objects 2007-05-18 21:45:15 +00:00
Darren Ranalli c425fe114a removed unnecessary code 2007-05-18 21:44:39 +00:00
Darren Ranalli 8256254a07 don't create Task creation stacks by default 2007-05-18 21:16:33 +00:00
David Rose 2e746a5bf2 don't use deferred generates when loading screen is up 2007-05-18 01:06:08 +00:00
David Rose 52d2ba31fd add set_handle_c_updates() 2007-05-17 18:44:45 +00:00
Darren Ranalli 5f513cf27a support for OP3/OP4 2007-05-17 06:16:14 +00:00
Asad M. Zaman c7c3f9e445 created preloading of interactive animations on interactive npcs 2007-05-17 06:07:58 +00:00
David Rose 9e25cda240 fix typo discovered by Panda user ThomasEgi 2007-05-16 03:21:36 +00:00
Josh Wilson c7a09a3926 "added askForObjectFields()" 2007-05-16 01:15:13 +00:00
aignacio_sf 922a414c95 Add global on/off for motion trails. 2007-05-16 00:15:14 +00:00
Darren Ranalli f146e74f9c reduced ParamObj memory usage 2007-05-15 21:38:33 +00:00
Darren Ranalli 4af740cebe prevent crash on startup 2007-05-15 00:50:48 +00:00
Darren Ranalli 9dedde0da4 first rev 2007-05-14 23:44:19 +00:00
Darren Ranalli 7e54ae47b7 fix startup crash 2007-05-14 23:29:20 +00:00
Darren Ranalli f191acace1 only record creation stack in dev 2007-05-14 23:11:17 +00:00
Darren Ranalli bc11859271 reduced ParamObj memory usage, fixed bug in param setter/getPriorValue 2007-05-14 23:08:19 +00:00
Samir Naik ce3e662283 try making ~run work on LIVE 2007-05-14 22:02:03 +00:00
Darren Ranalli c02ed6356a use notify for GarbageReport printing, don't print SUSPEND/RESUME msgs 2007-05-14 19:42:20 +00:00
Joe Shochet 09e7a09fb2 dont create a new name for Functors to save memory 2007-05-13 17:42:40 +00:00
Darren Ranalli 7267bee98a added ~guicount 2007-05-10 22:48:20 +00:00
David Rose 150f9411ce add pauseIntervalsMatching(), getIntervalsMatching() 2007-05-10 16:47:43 +00:00
Josh Wilson 0864197d05 "added getWordWrap()" 2007-05-10 06:25:18 +00:00
Roger Hughston 9a23134a7e Modified sone Ai's to not always listen do the DOID channel.. This supports a Ai being a client to another AI 2007-05-09 00:53:55 +00:00
Asad M. Zaman a9259e8964 this fixes the crash in leveleditor 2007-05-08 22:56:36 +00:00
Darren Ranalli cd313b4cbe don't hide error during particle file load 2007-05-08 19:32:11 +00:00
Darren Ranalli 14fef89ca9 setTrace->set_trace 2007-05-08 06:20:23 +00:00
Darren Ranalli 12d0fc68c0 pdb is not published, don't crash in production 2007-05-07 23:31:47 +00:00
wesbell 7d4e840bad Eliminated deprecated call to 'apply' in favor of direct function call, in order to gain more detailed Python Profiler data 2007-05-07 04:58:11 +00:00
wesbell a333a993fa Updated to match attribute names in class that inherits AsyncRequest 2007-05-07 04:54:49 +00:00
wesbell b58c2981d1 Readability 2007-05-07 04:51:39 +00:00
Roger Hughston ffa480bde7 Changes to support yielding instead of sleeping 2007-05-05 00:32:51 +00:00
Darren Ranalli ed9eb66867 removed unnecessary assert utils 2007-05-04 22:24:33 +00:00
Darren Ranalli 139e6daa6f setTrace and pm, removed unnecessary assert utils 2007-05-04 22:23:50 +00:00
Samir Naik a767674827 fixed fade out bug 2007-05-04 00:24:49 +00:00
Asad M. Zaman 7ee602f933 discovered a bug in the getanimcontrol 2007-05-03 21:35:18 +00:00
Jason Yeung a8ded4dffd - Modified the Walkers to support autorun 2007-05-03 20:29:50 +00:00
Asad M. Zaman b4f7896e0c fixed a crash with new loadAnims function 2007-05-03 00:06:32 +00:00
Asad M. Zaman 355d7ebdf3 added a new interface called getAnimFilename in Actor and made the getAnimControl more robust 2007-05-02 22:50:25 +00:00
Josh Wilson 988f9d0816 added persistent breakPts for HotKeyBreaker 2007-05-02 22:37:34 +00:00
Asad M. Zaman ca36b0fe57 Josh: made some changes to the breakpoint code 2007-05-02 18:05:01 +00:00
Darren Ranalli 39468f5a1a added leak-detector-check-delay-scale config 2007-05-02 04:23:00 +00:00
Josh Wilson 2787296f8c "extended HotkeyBreaker, made report more intelligent about when to wrap" 2007-05-02 04:08:09 +00:00
Darren Ranalli 6c1d274083 removed growth-over-time warning, too spammy 2007-05-02 00:43:24 +00:00
Asad M. Zaman b25666aedc this goes with the quieting of the loader errors on island pieces 2007-05-01 02:07:46 +00:00
Josh Wilson 8dfe52b1e0 "more checking for currentControls" 2007-04-30 22:59:52 +00:00
Jason Hancock 144c21640a Adding changes from Matt McKenna... added -n option(never restart), -d option (specify delay), sleep for 600 secs instead of exiting, and wake up process if sleeping via a sigalarm. 2007-04-30 16:57:47 +00:00
Asad M. Zaman 01c1c6ce59 Transitions.py 2007-04-28 03:09:22 +00:00
Josh Wilson d723220951 "check for currentControls == None" 2007-04-27 22:12:43 +00:00
David Rose c99351eb7d still better open/close window behavior 2007-04-27 21:25:39 +00:00
David Rose 5bff4621e1 better behavior when switching windows 2007-04-27 17:07:07 +00:00
Roger Hughston e893ad14be *** empty log message *** 2007-04-27 05:21:47 +00:00
Chris Brunner f538ea5eaf added configable switch want-python-motion-trails 2007-04-27 02:30:35 +00:00
Roger Hughston 7862f07d3c DCPacker chaged to deal with unsigned 2007-04-27 02:20:23 +00:00
wesbell 25ddc12ae9 Added config parameter: "async-request-num-retries"
Deleted unreachable and code commented out
Improved performance
2007-04-26 22:11:54 +00:00
Darren Ranalli 7e62ef430f added choice, put try/accept in fastRepr 2007-04-26 01:17:46 +00:00
Darren Ranalli 384c789535 changed names of Ref generators 2007-04-25 22:57:16 +00:00
Greg Wiatroski 2b45840e6e remove debug spam 2007-04-25 22:16:51 +00:00
Darren Ranalli 4ac6f8c885 added GarbageReportScheduler 2007-04-25 21:13:26 +00:00
Darren Ranalli 645fd746a4 added job-manager-timeslice-ms, job-use-overflow-time configs 2007-04-25 21:11:44 +00:00
Darren Ranalli 35290754c9 removed debugging 2007-04-25 21:03:06 +00:00
Greg Wiatroski f9890a4f67 Ok, now the phantom scroll bug is REALLY fixed - honest! 2007-04-25 19:06:09 +00:00
David Rose 6a29807423 show signed hash 2007-04-25 15:42:20 +00:00
Josh Wilson f695365e9a "using modifySolid instead of getSolid" 2007-04-25 02:15:15 +00:00
Darren Ranalli ba78c5139f track time that jobs spend beyond their timeslice and compensate 2007-04-24 19:33:49 +00:00
David Rose 67da79e374 add scrollStep(), scrollPage() 2007-04-24 18:53:01 +00:00
Darren Ranalli 936e6dcbbc removed old comment 2007-04-24 02:52:48 +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
David Rose d1f08df2c9 add BLOCKING 2007-04-21 01:44:30 +00:00
Greg Wiatroski 3b57b93a98 Fix for divide by zero error 2007-04-20 23:26:53 +00:00
Josh Wilson d9dcbfc429 "using new ShipFloorCollide for avatars on a ship" 2007-04-20 19:08:31 +00:00
Darren Ranalli 5f07d8f5da added job-manager-timeslice config 2007-04-20 07:50:17 +00:00
Darren Ranalli 80d18524aa make firstCheckDelay actually the delay before the first check (take a measurement before firstCheckDelay) 2007-04-20 06:56:56 +00:00
Darren Ranalli 6ee6a27100 added CppMemoryUsage 2007-04-20 06:55:44 +00:00
Darren Ranalli dfcf899a23 added pdb-on-leak-detect 2007-04-20 00:25:55 +00:00
Darren Ranalli f82ac8cfde prevent cycles in the ObjectRefs (i.e. base.loader.base.loader) 2007-04-19 22:24:49 +00:00
Darren Ranalli f619fd68bd show priorities and jobIds in repr 2007-04-19 22:22:50 +00:00
Darren Ranalli 5e208f23e8 give timeslices to newly-added jobs right away 2007-04-19 10:14:55 +00:00
Darren Ranalli 301c6d9aea better timeslicing 2007-04-19 01:48:11 +00:00
David Rose afabf9df4e regularize extraArgs 2007-04-18 22:03:03 +00:00
Darren Ranalli 657792498a added GarbageLeakDetector 2007-04-18 09:40:15 +00:00
Darren Ranalli 83b5b73359 don't hide errors in __len__ 2007-04-18 09:36:45 +00:00
Darren Ranalli aa1193a076 added new items to __all__ 2007-04-18 09:35:58 +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 c6fdac34e3 put StackTrace in __builtin__ 2007-04-18 05:34:28 +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
Darren Ranalli 61550870cb quicker discovery of LeakDetector objects 2007-04-18 01:01:57 +00:00
Darren Ranalli 09926188fd prevent infinite iteration in flywheel 2007-04-18 00:59:10 +00:00
Darren Ranalli 2144050758 bug fixes, multiple pools of traversal starting points 2007-04-17 06:52:16 +00:00
Darren Ranalli 2e55c5bc14 use flywheel for round-robin 2007-04-17 06:50:08 +00:00
Darren Ranalli 2e9142fe53 first rev 2007-04-17 06:49:06 +00:00
Darren Ranalli 89278bf460 added nullGen, loopGen, flywheel 2007-04-17 06:48:11 +00:00
greytower 4f51f073a0 deal with 0 duration projectile interval 2007-04-17 01:17:27 +00:00
David Rose 8d662e51f7 revert unfortunate fix 2007-04-17 00:07:03 +00:00
Darren Ranalli 590b711680 don't crash in job.remove if jobId not in timeslicesLeft 2007-04-16 21:29:59 +00:00
Darren Ranalli 45de2983b0 removed forced crash 2007-04-16 21:26:21 +00:00
Josh Wilson 1d286689b2 "fixed init/cleanup ordering issue" 2007-04-16 19:31:20 +00:00
Josh Wilson 9029fd64fc "Changed the way interest is maintained in the world by the local avatar (such as when teleporting, using doors or tunnels, or entering the game). Moved tunnels to be peers of the islands, rather than their children (in the interest graph). This enables the player to teleport to any game area. Enabled teleport to a friend (still needs work)" 2007-04-16 04:24:43 +00:00
Darren Ranalli da6d5fc3b9 catch exceptions in subjobs so AI won't crash 2007-04-13 18:58:30 +00:00
Josh Yelon c1ec8b0fb3 Added faster copy in case of rmdir 2007-04-13 17:44:12 +00:00
Darren Ranalli ddf3b5c518 catch exceptions in getContainerByIdGen, called by CheckContainers.run 2007-04-13 08:04:32 +00:00
Darren Ranalli 375ea545a8 added removeNonCollisions, removed default numSolidsInLeaves 2007-04-13 01:36:44 +00:00
Josh Wilson 71235ae279 "changed order of prefix, added documentation to report" 2007-04-12 19:18:46 +00:00
aignacio_sf ac89fe25bd Add unloadSfx function. 2007-04-11 21:55:15 +00:00
Samir Naik c390bb15ba added cellWidth as a required field of CartesianGrids 2007-04-11 21:38:26 +00:00
David Rose 95e30464a6 more verbose error messages when exception occurs during dc update 2007-04-11 21:33:14 +00:00
Darren Ranalli 184ff2a257 added getNumDescendants 2007-04-11 08:37:54 +00:00
Josh Wilson 645a40e7e8 don't reset TimeOutFailureCount. will never timeout 2007-04-11 00:44:40 +00:00
Darren Ranalli a0d32f9e29 use safeRepr to catch crashes in __repr__ and __str__ calls 2007-04-10 22:24:38 +00:00
Josh Yelon 0c34c9d377 Modified for local installation of CRT 2007-04-10 22:08:02 +00:00
Darren Ranalli 8464d45d9f split out FindContainers job 2007-04-10 08:34:50 +00:00
Darren Ranalli c5e0e5907a round-robin Jobs based on priority 2007-04-10 08:33:31 +00:00
Josh Wilson 8e9d2b85ab added optional 'from' collider node parameter to optimize triggered phase changes 2007-04-10 06:33:20 +00:00
Samir Naik 34793b5be7 removed printout 2007-04-10 04:09:51 +00:00
Darren Ranalli b3f7067483 break ParamObj garbage cycle 2007-04-10 02:32:48 +00:00
Josh Wilson 85a1b1bcdd handle the case where base.cTrav is not yet set 2007-04-09 21:15:24 +00:00
Justin Butler ee3d5337d5 (darren) fixed problem with generator running on destroyed ContainerRef 2007-04-09 20:25:57 +00:00
David Rose f7e01783ba oops 2007-04-09 20:23:36 +00:00
David Rose dd82d38eb9 allow cancelling requests 2007-04-09 20:18:25 +00:00
Josh Wilson 3bd78f3bf4 hiding collision spheres 2007-04-09 18:47:36 +00:00
Samir Naik 9dad81603f take noTransition out of fade ivals, that is just wrong 2007-04-09 18:36:52 +00:00
Josh Wilson 50cc26d546 made automatic cleanup optional. Now can have only one sphere if desired as long as you explicitly call cleanup when done with it 2007-04-09 17:56:50 +00:00
Darren Ranalli ad2d371605 log some items from leaking containers, shorter delay before first check 2007-04-09 07:34:20 +00:00
Darren Ranalli 47ffbc3ebd fixed __repr__, timeslice -> .5ms 2007-04-09 07:30:58 +00:00
Darren Ranalli b6cafaa582 put safeRepr and fastRepr in __builtin__ 2007-04-09 07:26:16 +00:00
Samir Naik 55374a72bf oops, fixed a cut and paste error 2007-04-08 05:22:55 +00:00
Darren Ranalli 98e5e19348 more fine-grained CPU usage, better notification messages 2007-04-07 21:21:52 +00:00
Samir Naik 42a7730537 added getter functions for fadeIn and fadeOut ivals for use in cutscenes 2007-04-07 21:07:23 +00:00
Darren Ranalli 786af32d44 don't use gc.get_referents (it's slow), more fine-grained CPU usage 2007-04-07 08:34:50 +00:00
Darren Ranalli e5fc82670d added Job pstats, derive from DirectObject 2007-04-07 08:26:30 +00:00
Josh Wilson 1b12685fee "switch inheritance order to satisfy MRO requirements. Removed debugging code. One-off traverse on render instead of only this object in order to preserve eventHandler states. Proper propagation of init parameters" 2007-04-07 06:44:39 +00:00
Josh Wilson 0698befa25 "adding PhasedObjects to showbase" 2007-04-07 04:50:50 +00:00
Darren Ranalli a463d3cffe added getBase to __builtin__ 2007-04-06 12:37:35 +00:00
Darren Ranalli 88950518ab many bug fixes, almost completed 2007-04-06 11:14:07 +00:00
Darren Ranalli 5e7eeef6e2 reduced debug logging 2007-04-06 11:09:56 +00:00
Darren Ranalli 375450db4b support for dict keys that can't be repr/eval'd 2007-04-05 09:38:41 +00:00
Darren Ranalli 47008cd950 crash fixes 2007-04-05 01:45:47 +00:00
Darren Ranalli 8829174d40 first revision of ContainerLeakDetector 2007-04-04 23:54:06 +00:00
David Rose cd85248a06 revert accidental checkin 2007-04-04 17:03:15 +00:00
David Rose f36b15fd99 loader.asyncFlattenStrong() 2007-04-04 17:00:20 +00:00
Darren Ranalli 990af2a153 added subdivideCollisions 2007-04-04 07:47:13 +00:00
Darren Ranalli 552af6f993 GridParents share cellOrigin nodes 2007-04-03 23:44:07 +00:00
Greg Wiatroski b39ca2fec5 Protect against crash on disable 2007-04-03 21:47:12 +00:00
Darren Ranalli 6413cc28e3 minor optimization in accept 2007-04-03 05:19:54 +00:00
Josh Yelon 018e01c326 Added line to install vs2005 runtime 2007-03-30 18:35:34 +00:00
David Rose 81d1f43ad0 allow connect-method config var 2007-03-30 16:36:00 +00:00
David Rose c9b1445b7c itemize intervals in pstats 2007-03-28 22:35:03 +00:00
Josh Yelon d3b05dc48c First attempt at code for raw mice under Linux 2007-03-23 19:42:19 +00:00
David Rose 1ca01f215c fixes to smoothing 2007-03-22 20:35:54 +00:00
Josh Yelon be067c60dd Added raw_mice flag to WindowProperties 2007-03-22 19:59:33 +00:00
Greg Wiatroski 9d0153e171 Removed debug code: 2007-03-21 04:47:38 +00:00
Redmond Urbino 4eeaa76c1a kill crash when closing window from diving game 2007-03-21 01:45:57 +00:00
Greg Wiatroski ab72021e6e Fix for autoscroll bug: 2007-03-20 22:59:43 +00:00
Redmond Urbino 2a19d8e7a5 kill crash when exiting toontown while you are receiving minigame beans 2007-03-19 23:56:54 +00:00
Josh Wilson dd2b5cd97c adjust way we use dConfigParam in report 2007-03-19 20:57:45 +00:00
Darren Ranalli 6b499afe05 changed __repr__ title 2007-03-15 11:59:05 +00:00
Darren Ranalli 2d7006f7e2 __repr__: 4 digits for priority, handle empty list 2007-03-15 05:48:58 +00:00
Darren Ranalli 408590f29e fixed KeyError problem when indexing into dicts with certain Messenger-accepting objects 2007-03-15 05:47:46 +00:00
Darren Ranalli 9ddf14614b added __repr__ 2007-03-15 05:31:05 +00:00
Darren Ranalli 61b30a423c added autoDestroy, extra output line at the end 2007-03-15 05:00:37 +00:00
Darren Ranalli bf6c45bf16 don't print context mismatch warnings 2007-03-15 03:41:07 +00:00
Darren Ranalli f7a9220832 added debug prints for job add/remove 2007-03-15 02:54:42 +00:00
Darren Ranalli e0ac96d42a show suspend/resume in test job 2007-03-15 02:25:51 +00:00
David Rose 1612f144ef deallocate arrays properly 2007-03-14 21:08:57 +00:00
Redmond Urbino 53a3560e97 kill toontown crash when you directly close the window 2007-03-14 19:12:43 +00:00
Darren Ranalli fb51077d6c converted to a Job 2007-03-14 08:36:04 +00:00
Darren Ranalli 6229b8bdcc added printingBegin/printingEnd to standardize suspend/resume logging 2007-03-14 08:34:01 +00:00
Darren Ranalli 78b10c41ba prevent Job generator leak, added JobManager.finish(job), logging GarbageReports auto-destroy 2007-03-14 03:09:23 +00:00
David Rose e2ac31938f use more standard __builtin__ module instead of hacky __builtins__ dictionary 2007-03-14 01:26:49 +00:00
Josh Wilson 41c519ad20 added prefix and network time (deltaStamp) reporting to report() 2007-03-13 23:41:16 +00:00
Josh Wilson d5d97fb009 scope -> context 2007-03-13 22:51:12 +00:00
Darren Ranalli 611cb9d8e8 support for runtime pstat connections 2007-03-12 23:26:23 +00:00
Redmond Urbino ad030f1b18 default numGarbage to zero
Fixes a toontown crash when you exit
2007-03-12 21:46:39 +00:00
Darren Ranalli f790a11254 converted to be a job 2007-03-10 13:12:16 +00:00
Darren Ranalli ac9c7274f6 handle job never returning Job.Done, allow yield None instead of yield Job.Continue, added suspend/resume 2007-03-10 13:05:09 +00:00
Darren Ranalli 89b2d71e56 added JobManager 2007-03-10 12:04:29 +00:00
Darren Ranalli 8a8b59d484 added JobManager 2007-03-10 11:06:21 +00:00
Samir Naik 6ef852b7eb took debugRunning out of debug only mode 2007-03-09 06:33:59 +00:00
David Rose 3f030819a1 fix crash in clearToInitial() 2007-03-08 22:39:12 +00:00
David Rose c424b85b73 build on osx 2007-03-08 00:20:27 +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 a88183a033 support for profiling multiple frames 2007-03-07 02:59:43 +00:00
Darren Ranalli cf20bf4630 added comment about use of makeList in _getMsgName 2007-03-06 01:53:35 +00:00
Redmond Urbino 4494188e36 correct the bug number 2007-03-06 00:56:16 +00:00