Commit Graph

231 Commits

Author SHA1 Message Date
Robin Dunn
93b269ca82 If the memberVar has a docstring, use it. 2016-09-07 13:33:54 -07:00
Robin Dunn
2f1f0ee1e9 XRC and MemoryFSHandler fixes 2016-08-10 19:46:58 -07:00
Robin Dunn
048f8dfe06 PyFunctionDef should also have a hasOverloads() method for quacking like a duck. 2016-08-05 21:17:15 -07:00
Robin Dunn
b1c22a32a4 Merge branch 'master' into wip-demo 2016-08-05 21:04:57 -07:00
Robin Dunn
50c1acd136 Don't use "*args, **kw" in the docs when only one of the overloads is not ignored. 2016-08-05 16:21:35 -07:00
Robin Dunn
854f2b509a Merge branch 'master' into wip-demo 2016-08-05 13:24:13 -07:00
Robin Dunn
1429bb0dd2 Add missing "PyErr_Clear();" for cppCtors 2016-08-05 12:00:17 -07:00
Robin Dunn
b00620f286 Reorder overloads when adding a new one, in case the primary FunctionDef has been ignored. 2016-08-04 12:02:04 -07:00
Robin Dunn
054067ae71 Don't set the id parameter default to wx.ID_ANY if there is a default. 2016-08-02 10:50:07 -07:00
Robin Dunn
23fa4115ca More tweaks and fixes from testing the demo modules 2016-08-01 19:53:37 -07:00
Robin Dunn
d8ad925f60 Fix TextExtent methods in wx.DC 2016-07-15 16:28:33 -07:00
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