Commit Graph

73 Commits

Author SHA1 Message Date
rdb f7718b466b direct: Fix assorted issues when using mypyc 2023-10-10 12:52:26 +02:00
rdb 37b5c9ad9e direct: More code style changes 2023-02-22 11:52:19 +01:00
WMOkiishi c7c70bc32a
direct: Cut down on usage of `import *` (#1454)
* Remove most `import *`s in `direct`

* Address feedback
2023-02-12 13:16:52 +00:00
rdb 3fe1780f16 direct: Fix use of various deprecated APIs 2021-03-09 19:21:26 +01:00
Timothy Paustian 2493c0689f direct: Use warnings module for more verbose deprecation prints
Closes #1067
Fixes #669
2021-03-09 18:34:53 +01:00
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 b38e9d552a Merge branch 'release/1.10.x' 2020-12-28 16:26:48 +01:00
rdb e7a6d735e3 dgui: Add "versionadded" to docstrings of newly added methods 2020-12-27 10:48:12 +01:00
rdb 2156e6deb2 Merge branch 'release/1.10.x' 2020-12-26 14:00:29 +01:00
rdb d5c2dc6447 dgui: Add setTextPos, etc. aliases for setPos
setPos will be deprecated in a future version.

See #1041
2020-12-26 13:59:19 +01:00
rdb a5ae292c3e Merge branch 'release/1.10.x' 2020-12-18 12:56:31 +01:00
rdb 8883bf9bdd dgui: Fix ability to create OnscreenGeom/Image/Text without ShowBase 2020-12-15 11:45:52 +01:00
rdb d799a09002 cleanup: Remove support for EOL versions of Python
Fixes #905
2020-04-26 20:07:56 +02: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
rdb 160f652d58 text: use HarfBuzz for text shaping; support right-to-left text 2017-04-25 12:25:31 +02:00
rdb 12af395012 Fixes to DirectScrolledList; remove unnecessary inheritance 2016-04-09 19:21:49 +02:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
rdb dafe48a6bc Begin to add snake_case/property interfaces to important direct classes 2015-12-26 17:00:51 +01:00
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05: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 51dffd0f5a Commit patch by cfsworks to clean up use of exec() and eval() 2014-04-16 13:09:12 +00:00
David Rose 807a6f61da Add patch from community member teedee to improve alternate coordinate-system support 2011-11-17 19:41:33 +00:00
rdb 804a72b716 Partially apply typo fix patch I found somewhere on the web, by someone named Christoph Korn 2010-11-16 08:58:45 +00:00
David Rose 1706138704 export text types 2009-01-08 12:25:32 +00:00
David Rose 4d39d16a69 default mayChange = True 2008-12-17 14:55:03 +00:00
Josh Wilson 0864197d05 "added getWordWrap()" 2007-05-10 06:25:18 +00:00
David Rose 9433b488ec minor assertion check 2006-10-12 14:19:59 +00:00
Josh Yelon 1b058da878 Added __all__ declarations 2006-08-09 20:49:19 +00:00
Dave Schuyler 64a75159c6 formatting 2006-03-17 23:32:40 +00:00
Dave Schuyler 9e51cf2f8a changed import of panda modules 2006-02-14 22:20:44 +00:00
David Rose b57675552f add setDecal 2006-02-12 20:18:38 +00:00
David Rose 7f35c53ae5 transparently interpret Unicode strings 2006-01-24 17:23:03 +00:00
Dave Schuyler c76f0eea10 PandaObject to DirectObject 2005-12-20 04:26:50 +00:00
David Rose b1db93fb87 explicit import paths 2004-06-01 19:31:48 +00:00
David Rose 5d121b8ed9 support multi-state text blocks; also show IME candidate strings in DirectEntry fields 2004-04-08 01:17:50 +00:00
Mark Mine 75dd4f1771 *** empty log message *** 2003-11-28 17:09:30 +00:00
Dave Schuyler e06875f537 added clearText() and appendText() 2003-10-23 03:15:32 +00:00
David Rose 78164ebad6 fix problem with setShadow after creation 2003-07-31 15:22:01 +00:00
David Rose fcd3df851a preparation for new window code 2003-01-09 20:31:14 +00:00
David Rose e866143a8f can't use *shadow 2002-10-03 20:22:06 +00:00
Joe Shochet 44cccfffd0 shadow offset 2002-10-03 06:20:49 +00:00
David Rose b257675d04 don't set draw bin for text 2002-08-28 17:38:00 +00:00
David Rose 9c355f52b6 more pgraph refinements 2002-03-20 01:36:03 +00:00
David Rose 98285edbeb a few more interfaces for pgraph pgui 2002-03-14 17:20:01 +00:00
David Rose 7346c65f35 TMALIGN -> TextNode.A* 2002-03-13 21:52:25 +00:00
David Rose 01de7cd35a delay default parameters 2001-10-27 00:10:30 +00:00
Mark Mine 6cfa7cc2b5 *** empty log message *** 2001-10-26 23:39:45 +00:00
Mark Mine dba1abc3a4 *** empty log message *** 2001-10-11 17:46:21 +00:00
David Rose 43a83a5e96 tabs to spaces 2001-08-21 03:45:07 +00:00
Joe Shochet 1b0b4e74d4 *** empty log message *** 2001-07-27 22:19:25 +00:00