Commit Graph

87 Commits

Author SHA1 Message Date
rdb aa90b7b0c0 showbase: disable track-gui-items by default, remove want-e3-hacks 2018-02-23 22:26:27 +01:00
rdb e6c2d3b609 showbase: allow DirectGui elements to be created before ShowBase
This is done by precreating aspect2d inside ShowBaseGlobal.
2018-02-23 22:15:34 +01:00
rdb d576c6b638 Improvements to generated API docs, especially in direct tree.
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
deflected 9300bca1a4 direct.gui: Correct strings checks
- str in Python3 is always unicode, but not in Python2.
        Avoid crashes when unicode is used

Signed-off-by: deflected <deflected@github>
2016-04-01 21:18:52 +02:00
Dennis Brakhane ed9bed425f do not mutate dict we are iterating over
Risky at best, and actually raises an error on modern Python versions.
2016-03-29 19:45:37 +02:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
rdb 54fa31ba17 StandardError -> Exception, other 2to3 changes, threaded 2to3 2016-03-25 17:13:09 +01:00
rdb 0d03207d1b Dramatically reduce size of frozen/compiled code by pruning/masking unnecessary imports/code 2016-02-12 22:20:27 +01:00
rdb 0eeec6b02f Merge and expand on config fix from 'release/1.9.x' 2015-07-06 15:54:45 +02:00
rdb 2514ca29d8 Fix config error when DirectGuiBase is imported before ShowBase 2015-07-06 15:52:57 +02:00
rdb d9342043b0 Deprecate pandac.PandaModules and genPyCode, move extensions to panda3d/, clean up imports and deprecated behaviour 2015-06-28 13:55:31 +02:00
rdb 862e22e548 remove Python-2-isms from DirectGui and FSM to make them work with Python 3 2014-05-19 17:33:36 +00:00
rdb 88048bf3da Fix use of has_key and map() 2013-12-17 19:49:09 +00:00
David Rose f195d4d462 contributes from forum user to make DirectGui coordinate-system agnostic 2011-08-03 23:41:19 +00:00
David Rose 5d8b61ca86 PGFrameStyle::T_texture_border 2009-12-13 07:20:23 +00:00
David Rose c69c8680e8 asList() etc. no longer needed 2008-11-12 20:37:20 +00:00
Josh Wilson cf6cb4897f __dev__ -> __debug__ 2008-09-18 03:53:30 +00:00
Josh Wilson 5101b87561 allowing the call of defineoptions() in all subclasses of a direct gui object. It should now correctly process your optiondefs 2008-09-18 03:23:12 +00:00
Darren Ranalli 987c41f50a disable creation stack recording by default 2008-05-22 01:42:10 +00:00
Darren Ranalli 8e4ea9d011 fixed messenger leak stack trace print 2008-04-09 01:18:54 +00:00
Darren Ranalli ba6a59d1dc reduced memory footprint for creation stack traces 2008-03-25 00:57:44 +00:00
Josh Wilson 9da136db47 accept VBase4 as a more general Vec4 2007-09-07 22:49:08 +00:00
David Rose 9e25cda240 fix typo discovered by Panda user ThomasEgi 2007-05-16 03:21:36 +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 7267bee98a added ~guicount 2007-05-10 22:48:20 +00:00
Redmond Urbino 60b62dd82f when destroying a gui object, properly destroy it's child gui objects 2007-02-02 03:10:12 +00:00
Darren Ranalli ebd1a01733 added creation stack trace to all GUI items in __debug__ 2007-01-30 21:51:16 +00:00
Joe Shochet 91383bf77f gui elements now show their class name in their node name 2007-01-18 02:02:41 +00:00
David Rose d7dcd2bc0b add barTexture 2006-10-10 16:24:36 +00:00
Joe Shochet 6fb7334512 added unique name function 2006-09-05 05:15:08 +00:00
Redmond Urbino 09628e21d6 make toontown work with Direct revamp 2006-08-10 02:37:28 +00:00
Josh Yelon 1b058da878 Added __all__ declarations 2006-08-09 20:49:19 +00:00
Darren Ranalli df9ae1f69f don't need to check E3hacks anymore 2006-05-17 21:06:50 +00:00
Asad M. Zaman bc1570ce98 patch around e3hack for stansalone 2006-05-07 22:31:30 +00:00
Darren Ranalli b760defb50 enabled base.guiItems as an e3 hack 2006-05-06 05:43:34 +00:00
Darren Ranalli 0223f1cb38 fixed bug in track-gui-items cleanup 2006-05-04 20:13:47 +00:00
Darren Ranalli a8697a4594 track-gui-items and cTrav stack 2006-05-04 20:09:30 +00:00
Dave Schuyler a1cb222bed check for frameStyle before deleting 2006-04-29 00:22:31 +00:00
Dave Schuyler 64a75159c6 formatting 2006-03-17 23:32:40 +00:00
Dave Schuyler 71243aa874 formatting 2006-01-27 02:54:41 +00:00
Dave Schuyler c76f0eea10 PandaObject to DirectObject 2005-12-20 04:26:50 +00:00
David Rose 89d5783e95 further robustification 2005-08-31 14:17:28 +00:00
David Rose 1e81e656ab PGItemNotify interface, PGScrollFrame, and more general PGSliderBar 2005-08-27 00:15:54 +00:00
David Rose 1d72ba0f7e support unicode types transparently 2005-07-13 23:05:35 +00:00
Dave Schuyler 758d8662cf minor changes 2005-02-23 23:36:24 +00:00
Asad M. Zaman 86787b3d98 merged make-a-pirate 2005-01-19 23:50:46 +00:00
Dave Schuyler fccd4f5b8e formatting 2004-06-08 22:10:07 +00:00
David Rose b1db93fb87 explicit import paths 2004-06-01 19:31:48 +00:00
Dave Schuyler 130215ba73 formatting 2004-05-14 21:25:25 +00:00