370 Commits

Author SHA1 Message Date
Robin Dunn
9f8a5b8d9a Fix bug when there are more than one code snippets in a set of overloaded methods. 2016-07-15 16:25:05 -07:00
Robin Dunn
d8c7b21911 More Clone methods that need to be marked as Factories. 2016-06-22 14:33:05 -07:00
Robin Dunn
b098f2378c Don't map ignored items 2016-06-21 20:28:43 -07:00
Robin Dunn
a485513e4a Update copyright text added written to %Copying blocks 2016-06-21 20:28:15 -07:00
Robin Dunn
5983df8a5f Generate attribute docs for exposed C++ attributes like properties. 2016-06-17 16:01:38 -07:00
Robin Dunn
664d5b765a Fixes for inheritance diagrams 2016-06-08 00:31:10 -07:00
Robin Dunn
874bdd2626 Don't remove leading wx when postprocessing 2016-06-04 16:08:29 -07:00
Robin Dunn
2355ceb198 Use fullname on constants in the converted text 2016-06-04 14:44:08 -07:00
Robin Dunn
a21a23d32f Refactor map_generator, and add tracking of enum element names. 2016-06-03 20:28:55 -07:00
Robin Dunn
fd5f8a0ca2 update TODO 2016-06-03 16:17:11 -07:00
Robin Dunn
126f61abcf Items in an Xref's child elements may come in any order, so we can't depend on the refid and link being in the first child. 2016-05-30 07:16:07 -07:00
Robin Dunn
3fbecd36cf Fix generation of "classwx_" links 2016-05-29 23:20:30 -07:00
Robin Dunn
ba827eeaaa Update comment about custom table snippets 2016-05-27 14:58:50 -07:00
Robin Dunn
be90ee5427 Fix incorrect doubling on ** in some cases.
More nested enum fixes.
2016-05-27 14:57:57 -07:00
Robin Dunn
eca3ab1f1d add toctree items for the nested enums 2016-05-26 23:34:03 -07:00
Robin Dunn
62609f66da Fix fullname issues for enums nested in a class 2016-05-25 09:22:35 -07:00
Robin Dunn
8f41607c73 Fixes for PyClass and PyProperties 2016-05-24 23:41:35 -07:00
Robin Dunn
045773b119 Try without the currentmodule directive... 2016-05-24 23:40:58 -07:00
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