Commit Graph

357 Commits

Author SHA1 Message Date
Robin Dunn
ff99019214 Reorder items in the module before the tweaker stage is run such that enums and other constants are processed before the functions and classes that may be using them, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-31 02:42:38 +00:00
Robin Dunn
2cbfe087a8 * Add Scrollbar.
* Reorder modules a bit in _core to try to keep declarations before the place where they are used.
* Reorder classes within some etg scripts for same reason.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-31 02:37:22 +00:00
Robin Dunn
819fe46a95 Go back to latest sip build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-31 02:31:05 +00:00
Robin Dunn
8db6d43f14 set version to 2.9.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-31 02:30:30 +00:00
Andrea Gavana
31e7a5dce9 Another try at the phoenix root doxy root stuff (BTW, thanks for NOT setting the WXWIN environ variable)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-30 21:36:17 +00:00
Andrea Gavana
07c4bfc91b - Workaround missing WXWIN environ variable for Sphinx docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-30 21:14:57 +00:00
Robin Dunn
78c1a61993 Move wxDir() and phoenixDir() to buildtools.config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-30 21:01:09 +00:00
Andrea Gavana
ca4746f13c - Initial commit of the Python scripts to ReSTify the XML documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-30 19:17:09 +00:00
Robin Dunn
7b064bc226 Need an explicit #include to avoid compile errors. Not sure why it isn't using the one it the %TypeHeaderCode...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-30 19:00:41 +00:00
Kevin Ollivier
55c6e44de5 Add an option to upload the package produced by bdist to the package server, which is specified on the local machine by a config file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-28 07:22:11 +00:00
Robin Dunn
289f118d09 Move more Python code to extractor objects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 18:46:45 +00:00
Robin Dunn
2460ebef3c Move event related PyMethods and PyClasses out of the external code block and into extractor objects so the generators know their details.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 17:43:47 +00:00
Robin Dunn
d07f438612 Add wxLogFormatter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 17:41:56 +00:00
Robin Dunn
4337dbb04e No need to have both __nonzero__ and operator bool.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 01:22:55 +00:00
Robin Dunn
01c3c738a6 Don't use the method name in the pyArgsString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 01:22:25 +00:00
Robin Dunn
a993a8b2ed Change names of "from" parameters since it is a reserved word.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 01:22:00 +00:00
Robin Dunn
a47c664ec3 Prevent from generating some syntax errors in the pi_generator, and other generator tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 01:20:25 +00:00
Robin Dunn
1731568c7b Add wxPosition and variable scrolled windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 01:18:43 +00:00
Robin Dunn
d84dec39b0 Add FunctionDef.hasOverloads()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-20 22:33:09 +00:00
Robin Dunn
36e182f5bd tipwin is done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 21:06:54 +00:00
Robin Dunn
30c809c9f6 only do the ignore trick if we are ignoring, not unignoring.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 21:06:43 +00:00
Robin Dunn
6f9276360c Add PopupWindow and TipWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 20:59:32 +00:00
Robin Dunn
a09e00e539 We have stream support now, reenable those tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 20:58:34 +00:00
Robin Dunn
5452fdab46 Minor tweaks and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 20:58:03 +00:00
Robin Dunn
fd71827916 Ignore all global operator functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 20:56:36 +00:00
Robin Dunn
fbd4a6fa9e If the primary item in a chain of overloaded functions/methods is set ignored then reorder them so one of the overloads that is not ignored (if any) becomes the primary item.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-19 20:21:45 +00:00
Robin Dunn
008c1f4a12 new sip and siplib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-16 00:02:59 +00:00
Robin Dunn
9912e33123 * Add PyFunctionDef and PyClassDef extractor classes, which can be used for defining pure python functions and classes instead of just including them as blocks of text. This way the meta-data is preserved so it can be used by generators such as the sphinx generator.
* Implement wx.CallAfter and wx.CallLater this way for the initial test cases.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-15 02:36:01 +00:00
Robin Dunn
9ffe824ba3 Added notes about additional TODO's needed for the core modules, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-10 04:38:38 +00:00
Robin Dunn
4643fcf19d chm does html too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-10 04:38:06 +00:00
Robin Dunn
29db1ae9bd Disabled part of a test on MSW, added a TODO to figure out if it's really a bug or not.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-10 04:37:48 +00:00
Robin Dunn
06a7072ddf docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-10 04:36:51 +00:00
Robin Dunn
db885e8ab0 Add GridBagSizer and related classes, and some transfer fixes in wxSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-10 04:36:21 +00:00
Robin Dunn
3ab334932e renamed wx.PyAssertionError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-03 01:00:44 +00:00
Robin Dunn
82c372cdce Remove the old (commented out) dead object code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 23:35:54 +00:00
Robin Dunn
9497ff98b9 SIP handles raising an eception for dead objects for us. Add a __nonzero__ and some tests to go along with it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 23:34:10 +00:00
Robin Dunn
1f91b5be03 a bit of cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 20:04:41 +00:00
Robin Dunn
a236ea1867 * Use all_raise_py_exception=True in the %Module directive.
* remove pyRaisesException (May want to add it back later with different meaning...)
* Fix use of const for CppMethods
* Make flattenNode optionally not rstrip the string segments

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 01:10:49 +00:00
Robin Dunn
5d9f463534 Print help if no args
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 01:07:21 +00:00
Robin Dunn
ef5d0980e2 The deprecation of SetSizeWH is already handled, no need to do it again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 01:07:06 +00:00
Robin Dunn
211bec4441 Some cleanup and fixes for const-ness related things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 01:05:50 +00:00
Robin Dunn
a9cecfff46 The new SIP lets us use the wxScrolled template as-is, not need to turn it into fake wxScrolledWindow and wxScrolledCanvas classes anymore.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 01:05:01 +00:00
Robin Dunn
d4b5a463a6 switch to new SIP snapshot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 01:02:50 +00:00
Robin Dunn
18c749c40e Add eventfilter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 01:02:18 +00:00
Robin Dunn
a62cac6a62 Optionally remove the "#line" lines from the SIP-generated files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-24 01:42:49 +00:00
Robin Dunn
c6351e0d1a Add a reminder about the activation context
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-24 01:41:52 +00:00
Robin Dunn
617698bcd3 some minor fixes for wxIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-24 01:41:37 +00:00
Robin Dunn
58939ed762 Add new and improved wxInputStream and wxOutputStream support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-24 01:40:18 +00:00
Robin Dunn
5be76ec3e4 minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-17 03:58:12 +00:00
Robin Dunn
621a7b97d9 Add a note about PyDeadObjectError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-17 03:54:23 +00:00