Commit Graph

492 Commits

Author SHA1 Message Date
Andrea Gavana
a76c594a58 Phoenix: fixed few issues on the gallery and on parameter types.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-02 22:07:08 +00:00
Andrea Gavana
721cf235ae Phoenix: fixed few issues on the parameters hyperlinks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-02 19:45:44 +00:00
Andrea Gavana
ab4c250c14 Phoenix: Minor tweaks to postprocess.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-01 21:10:53 +00:00
Andrea Gavana
aed67e3c7b git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 2012-04-01 21:01:09 +00:00
Andrea Gavana
dfc8c5e69f Phoenix stuff:
1) Fixes on the problems reported by Werner on wx.EvtHandler (and there were many others, hopefully they should be OK now);
2) Integration of Chris' samples on wx.GridBagSizer (see http://xoomer.virgilio.it/infinity77/Phoenix/GridBagSizer.html#gridbagsizer);
3) Start on the Documentation guidelines (see http://xoomer.virgilio.it/infinity77/Phoenix/DocstringsGuidelines.html);
4) Integration of Werner's patches on _core.py and app.py for the docstrings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-01 17:56:57 +00:00
Robin Dunn
d695edca04 common dialogs are done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-31 04:42:06 +00:00
Robin Dunn
40f3ba1486 Add Find/Replace dialog and related classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-31 04:42:02 +00:00
Robin Dunn
103842d100 Tweaks and cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-31 04:41:55 +00:00
Robin Dunn
fd80d0b98d Add wx.ColourDialog, wx.MultiChoiceDialog and wx.SingleChoiceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-31 04:41:44 +00:00
Robin Dunn
d9038109fc Add wxGenericProgressDialog so both it and the native progress dialog (if the platform has one) can be used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-31 04:41:34 +00:00
Robin Dunn
62ef84af17 Add dirctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-30 18:29:36 +00:00
Robin Dunn
289888aa8e Don't write a function stub if there is no pyName (such as for operator functions)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-29 16:59:34 +00:00
Robin Dunn
547ad2938e * Switch wxTreeItemData to be a %MappedType instead of something that the programmer has to deal with.
* Make [G|S]etItemData be the same as the [G|S]etItemPyData methods in Classic, and make the latter be deprecated aliases.
* Adjust unittests and add one for GetSelections.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-29 16:59:30 +00:00
Robin Dunn
95c5c5f50e Add treectrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-29 16:59:21 +00:00
Robin Dunn
63796d6f95 Add comment about doing other setup.py things from wscript
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-29 16:59:12 +00:00
Robin Dunn
c4339c04f0 Add deprecated wrappers for the "LabelTool" methods too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-29 16:59:08 +00:00
Robin Dunn
3d33b1c1ac Add a (failing) unittest stub when making a new etg file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-29 16:59:03 +00:00
Robin Dunn
647e0fc6a6 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-29 16:58:59 +00:00
Robin Dunn
a143905fef Don't write sip docstrings for functions that are operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-29 16:58:54 +00:00
Andrea Gavana
003fb0a804 Phoenix:
1) Update documentation generator for `InfoBar`, `ListCtrl` and new additions;
2) Correct the `writeIfChanged` method, we can't use `str(text)` if the wxWidgets docs contain non-ascii compliant docstrings. Just treat them as unicode objects and use `codecs.open` to compare existing files with new docstrings;
3) Add empty stubs for the `ListCtrl Overview` and `Internationalization`, hopefully someone will populate them...
4) Small fix to the `MigrationGuide.txt`.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-27 20:54:15 +00:00
Robin Dunn
1d54d41e7b Encode generator output as utf-8 in case there is any non-ascii text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-26 19:22:19 +00:00
Robin Dunn
7ff0880c64 Add note about doing a dependency check before running sip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-26 19:22:14 +00:00
Robin Dunn
af2a23c0ee Add listctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-26 19:22:09 +00:00
Robin Dunn
f568f54a60 Add a migration note about the organization of the extension modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-26 19:22:01 +00:00
Robin Dunn
64799fed62 Document which etg files should go into the _adv extension when they are implemented.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-26 19:21:56 +00:00
Robin Dunn
3bee9be6f8 Fix typo and do a little cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-26 19:21:52 +00:00
Robin Dunn
720788bdbf Mention cygwin and mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-26 19:21:46 +00:00
Robin Dunn
5490349f39 Regardless of the command-line flag there are a few methods that should always release the GIL, those that are expected to block or to take a long time. Add the annotations now in case I ever decide to change the default again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-23 03:20:08 +00:00
Robin Dunn
1f9c6d88b0 Turn on the SIP command-line flag that will generate code around every wrapped C++ call to release and reacquire the GIL. After some testing this seems to be the best option and the additional overhead is mostly negligible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-23 03:19:56 +00:00
Robin Dunn
16109cd7bc Support setting the HoldGIL annotation for when the -g command line flag is used to always release and reacquire by default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-23 03:19:51 +00:00
Robin Dunn
b627541615 Ensure that the API pointer has been initialized after the CObject has been created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-23 03:19:45 +00:00
Robin Dunn
b0298e71e5 Optionally return an empty list from makeLibName if we're using the monolithic wx lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-23 01:54:42 +00:00
Robin Dunn
78f2d605b8 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-23 01:54:36 +00:00
Robin Dunn
ffa57cc0b4 Don't hide the Destroy inherited from wxObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-23 01:54:31 +00:00
Robin Dunn
aeda101cf4 build changes to add extra libs for non-core modules for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 21:37:07 +00:00
Robin Dunn
0358c27467 Don't unconditionally use the adv and html libs in MSW builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 21:37:02 +00:00
Robin Dunn
838199f9f0 We need the net lib too in multi-lib builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 21:36:56 +00:00
Robin Dunn
8bac95e6e0 minor tweaks for the pi generator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 20:30:45 +00:00
Robin Dunn
19db0eb058 Add a new wx.adv extension module for those items that are in the wx adv lib in multi-lib builds.
Add AboutDialog.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 20:30:37 +00:00
Robin Dunn
ba27e28401 A little reorganization and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 20:30:28 +00:00
Robin Dunn
b7c12003d3 Only remove the first _ for the .py filename.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 20:30:22 +00:00
Robin Dunn
c99efff700 ignore the const string warning for all gcc, not just on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 04:15:07 +00:00
Robin Dunn
74c3bb39d1 Set up and export the API structure of function pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 04:15:02 +00:00
Robin Dunn
3ce4dd7927 Rename wxpy_utils to wxpy_api
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 04:14:55 +00:00
Robin Dunn
7e965550d4 ignore DLLs and PDB files in wx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 03:31:47 +00:00
Robin Dunn
c1ee495df2 Ignore the waf runtime and lock files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 03:31:42 +00:00
Robin Dunn
a058f8306f add .hgignore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 03:28:52 +00:00
Robin Dunn
43645b107c update the note about the build to add installation support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-21 17:17:14 +00:00
Robin Dunn
9ef3e60992 msw build tweaks for waf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-21 17:17:10 +00:00
Robin Dunn
919078c196 Let the distutils build handle multiple architectures in the ARCH= flag too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-17 23:51:07 +00:00