Robin Dunn
ba5baabe77
Fix links in method and properties summaries
2016-05-24 01:37:11 -07:00
Robin Dunn
68844e4b52
Add the functions to the module index pages.
...
Call them moduleindex pages instead of classindex.
Use the fullname for function links.
2016-05-23 23:43:11 -07:00
Robin Dunn
4a4bd9515c
Fix the currentmodule tag to not include the class name in nested classes/enums
2016-05-23 15:32:08 -07:00
Robin Dunn
4ef1113789
Fix case which could incorrectly clear the data from the file.
2016-05-23 00:00:59 -07:00
Robin Dunn
24e2b78806
Lots more docs changes.
...
Add a generator that updates a persistent mapping of item (functions, classes, etc.) to the module names they are a member of.
Remove the NO_MODULE dictionary as we're tracking all the item --> module names now.
Consolidate the 2 removeWxPrefix implementations to just one.
Fix taking out too much space in the class index when removing the :ref: for unknown items, which caused ReST problems.
Use pyName if it is set
When renaming classes we also need to change the className in the method objects
Properly deal with nested classes
2016-05-22 23:39:40 -07:00
Robin Dunn
7d69bda471
A little more name refactoring
2016-05-20 19:56:06 -07:00
Robin Dunn
4c29dfae85
More copyright updates
2016-05-19 23:57:17 -07:00
Robin Dunn
a83ca5e94f
Refactor lots of functions to use camelCase names
2016-05-19 23:53:40 -07:00
Robin Dunn
e2f853d0e0
Put the module docstrings on the module index pages
...
Plus some other changes to start using using the "wx." prefix on names in the docs. (More are still needed but this is a start.
2016-05-19 21:04:14 -07:00
Robin Dunn
b6488bfb7c
Put the module docstring in the .pi and .pyi files too
2016-05-19 20:56:39 -07:00
Robin Dunn
b4132cbaa0
If we're processing a real[*] module grab and save the etg docstring.
...
[*] A "real" module is defined by the etg scripts which include others, like wx._core, wx._adv, etc. These are the ones turned into the actual extension modules in the final parts of the build.
2016-05-19 14:57:07 -07:00
Robin Dunn
f8d638b64e
Update copyrights in sip_generator too
2016-05-07 19:16:27 -07:00
Robin Dunn
6a0e7cf50c
Generate interface files for PyCharm too.
...
Currently they are just copies of what we were already doing for WingIDE, but we can add more advanced things like type-hinting later...
2016-05-07 19:16:27 -07:00
Robin Dunn
c96d31f919
Instead of hacking the generated C++ after the fact,
...
generate the sip code a little differently for the int tricky constants,
and add some tests.
2016-05-07 01:27:28 -07:00
Robin Dunn
cb701bd77e
Reinstate the size_t MappedType with compile-time bit size checking
...
Replace the use of size_t in custom code with ulong so SIP doesn't try to use the MappedType there (it only uses pointers for them.)
2016-03-04 21:05:46 -08:00
Scott Talbert
aa0be2719e
Fix extraction for #define's when not an integer or string
...
Some #define values fall outside the range of int, so we need to override the
types.
2016-03-01 22:50:19 -05:00
Robin Dunn
91110d0db6
Merge branch 'master' into sip-4.16
2015-03-20 11:03:24 -07:00
Robin Dunn
42c661cf54
More Python3 fixes
2015-03-20 10:56:33 -07:00
Robin Dunn
efb3824a17
comment tweaks
2015-03-17 13:22:10 -07:00
Robin Dunn
62a222180b
Sip needs to see declarations of TryBefore/TryAfter in all classes where it might be overridden. Otherwise searching for event handlers could fail in some cases.
2015-03-07 14:44:13 -08:00
Robin Dunn
30e7d68f76
Allow typedefs to be nested in classes.
2015-03-03 20:53:18 -08:00
Robin Dunn
d1dfc4e035
Update to Doxygen 1.8.8 (the same version currently used by wxWidgets)
2015-02-28 15:34:57 -08:00
Robin Dunn
fe9f19f159
Provide a more informative error message and an exception when a XML file is not found for an item.
2015-02-27 21:01:30 -08:00
Robin Dunn
2e1b3ec664
Add prettifyNode tool function
2015-02-26 16:20:31 -08:00
Robin Dunn
1ab6de95a6
Add helper functions that can inject some text into docstrings, use it in wx.AppConsole.
2015-02-12 16:08:44 -08:00
Robin Dunn
60e42e6627
Fix typo in comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@77733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-19 23:20:12 +00:00
Robin Dunn
bb10ffb496
Create sphinx build dirs that don't already exist.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-19 21:24:20 +00:00
Robin Dunn
336911e737
Allow Destroy to be overridden (virtualized)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-06 08:04:35 +00:00
Robin Dunn
bb9ac44914
Allow overriding the list of base class names to be used in the *.pi files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:35:25 +00:00
Robin Dunn
ed516efe78
If a name has already been prefixed with 'wx.' then leave it alone.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:34:56 +00:00
Robin Dunn
480bc21a84
Add a tool function that ignores one overloaded method if another overload only differs in constness. Use it in richtextbuffer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:31:44 +00:00
Robin Dunn
13d5942cbb
Add wxArrayPtrWrapperTemplate to wrap the wxArrays using the pointer version of the macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 23:30:44 +00:00
Robin Dunn
df8589a8cd
Don't lose the newlines from the docstring of a PyMethodDef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-06 01:59:04 +00:00
Robin Dunn
058ed937da
wx.ComboBox fixes.
...
- disambiguate GetSelection by renaming an overload to GetTextSelection.
- add a SetTextSelection to go with it, but keep both original SetSelection overloads too.
- add deprecated SetMark/GetMark aliases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:06:10 +00:00
Robin Dunn
5f21090a6f
OnEnabled is gone
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-31 05:05:57 +00:00
Robin Dunn
2981869eca
Fix typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-22 01:29:48 +00:00
Robin Dunn
3f274356d0
Move check for XMLSRC to etg command instead of when the etgtools are imported.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-26 00:45:26 +00:00
Robin Dunn
bbe768fcdc
Allow fixWindowClass and similar tweakers to turn off the ignored flag for all protected methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 05:12:39 +00:00
Robin Dunn
720adb7ac1
Add a helper for displaying the function signatures so it is easier to write code that selects one of them.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 05:12:31 +00:00
Robin Dunn
742d02d53b
Enable handling #define's that are string constants
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-12 05:12:23 +00:00
Robin Dunn
35fd2e16bf
Update copyright year
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-21 02:13:03 +00:00
Robin Dunn
591175c16b
The deprecated attribute might not be a string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 19:42:33 +00:00
Robin Dunn
0e6e598099
Support isStatic for PyMethods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-23 03:08:03 +00:00
Robin Dunn
79db08515d
addDefaultCtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 08:00:42 +00:00
Robin Dunn
295d3f6442
* Upgrade to the newest six module (1.2.0) and call it six instead of wx2to3.
...
* Tweak six a little, adding its license text since we'll only be distributing the module, fix the name of the dummy moves module, and add a PY33 constant since the change in memoryview affects our code.
* Update all modules already using the old wx2to3
* Tweak lots of unit tests and other modules to work with Python 3.3 (still a few more that will need some work.)
* Try to deal with memoryview changes in Py3.3, without much luck...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-16 01:15:41 +00:00
Robin Dunn
5b8bc4fe17
Use textfile_open when loading core.pi to avoid encoding errors in Python3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-16 01:15:21 +00:00
Andrea Gavana
7dc13f1e2b
Work around for the buildbot sphinx generator which seems unable to find tables and snippets (hopefully this will do the job)...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-08 15:11:14 +00:00
Andrea Gavana
9decb82713
Phoenix: Revise the way `:param: and :rtype: are handled in sphinx_generator.py so that the module name does not appear in front of the class. Minor cleanups to the docstrings generators. Fixed interlinks in wx.lib.busy.py and wx.lib.softwareupdate.py`.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-06 20:33:39 +00:00
Andrea Gavana
66840744d2
Phoenix: few corrections to the overviews; Added some more contributed snippets; Fixed some more converted snippets; Added the correct interlink references in the etg files; better handling of the Doxygen stuff.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-05 20:44:52 +00:00
Andrea Gavana
6eb532bdc5
Phoenix: better handling of XML tail items after source code...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-04 21:26:03 +00:00