Commit Graph

61 Commits

Author SHA1 Message Date
Andrea Gavana
2037469921 - Use vertical layout for Graphviz-generated class inheritance diagrams (to get the old behaviour back, change the rankdir arguments from "TB" to "LR" in the inheritance.py script;
- Do not generate module-level inheritance diagrams anymore;
- Correct a few ReST typos in `newevent.py`, `expando.py` and `buttons`;
- Include a toctree ReST reference to `classic_vs_phoenix.txt` in the `MigrationGuide.txt` document, to stop Sphinx complaining about it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 15:28:20 +00:00
Robin Dunn
dca339e4a0 Move the wx.lib modules to a new section, and link to the new modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:06:31 +00:00
Robin Dunn
4deca77199 Mention moved and removed wx.lib modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-17 01:06:20 +00:00
Andrea Gavana
1eea0d8612 Phoenix:
- Reformat the `classic_vs_phoenix.rst` document for a nicer view, and correct few missing method links.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-15 10:05:26 +00:00
Andrea Gavana
feb4a4b6cc Phoenix:
- Add a new document listing the most common modifications needed to port Classic code to Phoenix; the list contains the conversion for wxPython functions, classes and `wx.Window` / `wx.Sizer` methods.
- Add a reference to this document in the `MigrationGuide.txt` file.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-14 22:19:16 +00:00
Andrea Gavana
8798cc15f8 Phoenix:
Add support for `HeaderCtrl` and its friends in the documentation builder (snippets added).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-10 22:02:54 +00:00
Andrea Gavana
aacea1b672 Phoenix:
- Add support for `RearrangeDialog` and its friends in the documentation builder;
- Add XXXBook images for the various platforms.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-29 19:04:17 +00:00
Robin Dunn
c8c2e1d97b set svn:eol-style to native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-22 21:02:42 +00:00
Andrea Gavana
01296cf8cb Phoenix:
- Add support for `wx.Caret` and `wx.BusyInfo` in the documentation builder.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-18 19:41:24 +00:00
Robin Dunn
6416c3639e Set svn:eol-style property to native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-13 20:00:47 +00:00
Andrea Gavana
9233e2747b Phoenix:
- Add support for `wx.adv.Wizard` and its related classes.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-10 21:08:29 +00:00
Andrea Gavana
14c7c36924 Phoenix:
- Latest Phoenix development integrated in the documentation builder;
- Added the latest `BitmapComboBox`, `RichToolTip` etc..., with their sample;
- Adapted the existing `adv` samples to use `wx.adv` in the code;
- Fixed wrong rendering of various snippets.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-07 21:07:40 +00:00
Andrea Gavana
fc5b4a31ca Phoenix:
- Add support for `wx.adv.OwnerDrawnComboBox` and `wx.ComboCtrl` in the documentation building process. Add the appropriate samples as well (and wonder why the sample in `wx.ComboCtrl` doesn't get properly highlighted...).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-06 19:36:04 +00:00
Robin Dunn
a0c031bcce Add note about multiple inheritance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-06 01:15:07 +00:00
Andrea Gavana
c56045244f Phoenix:
- Update the `sphinx_generator.py` to handle the latest `sashwin.py` and `laywin.py`;
- Remove non-pertinent sections from the wxWidgets docs (stuff talking about cpp/h include files);
- Optimize the handling of enumeration stuff thus reducing the number of unreferenced classes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-30 19:06:06 +00:00
Robin Dunn
93e5c5de43 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-30 03:15:02 +00:00
Andrea Gavana
4fee2a598a Phoenix:
- Reformat the documentation generator to take into account the "adv" sub-package;
- Make the `sphinx_generator.py` and the `sphinxtools` package Python 3 - compliant.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-29 20:11:36 +00:00
Andrea Gavana
ef79b8c371 - Shorten up the documentation page header;
- Add samples for wx.SplashScreen and AffineMatrix2D.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-26 20:35:44 +00:00
Andrea Gavana
8c1db7a994 Phoenix:
- Add the BannerWindow sample to the snippets;
- Add the animationctrl.png images for the various platforms.

I'm running out of space at the xoomer domain :-(

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-22 19:27:06 +00:00
Andrea Gavana
276acdab9a Phoenix:
- Add the 2 snippets of code related to `FileType`.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-21 20:02:03 +00:00
Andrea Gavana
87ef3295a7 Phoenix:
- Add the `DataObject` overview;
- Correct some missing link to the print dialog overview;
- Add converted snippets for wx.Sound, wx.DataObject and friends.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-17 20:56:11 +00:00
Robin Dunn
aa5bc9b6b6 * Add the rest of the wx.DataObject classes and unittests.
* Enable all the important virtual methods to be overridden in Pytyhon subclasses.
* Use Python buffer object APIs and objects for data transfer where appropriate.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-10 22:39:37 +00:00
Robin Dunn
95fac68451 Add wxDropSource and wxDropTarget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-03 23:30:43 +00:00
Andrea Gavana
0921891d22 Phoenix: support latest changes to the codebase in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-29 23:53:03 +00:00
Robin Dunn
c2e5a59a8f * Add a new wxPyBuffer class and MappedType to help facilitate checking input and getting the pointer and size of Python Buffer compatible objects.
* Use wxPyBuffer with wx.Image
* Return bytearrays from GetData and GetAlpha
* Return memoryviews from GetDataBuffer and GetAlphaBuffer
* Add some notes about these changes to the migration guide

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-28 04:04:53 +00:00
Robin Dunn
8fecc2b5f9 * Rename the wrappers for the C++ wxPlatformInfo to wx.PlatformInformation.
* Restore the wx.PlatformInfo tuple like it exists in Classic.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-24 00:15:33 +00:00
Robin Dunn
053aadb224 Add notes about 2-phase create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-24 00:15:22 +00:00
Andrea Gavana
5e1bfb8ada Phoenix: add the print dialog/data stuff, the pickers and the new tip provider overview in the documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-22 10:22:26 +00:00
Robin Dunn
e16b81ee23 Add some new images for the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-19 16:54:38 +00:00
Robin Dunn
0fc8a04d30 Add wx.DragImage and wx.GenericDragImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-10 03:23:32 +00:00
Robin Dunn
f404c31784 set svn:eol-style property to native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-10 03:16:37 +00:00
Andrea Gavana
bd26715e78 Phoenix:
- Fix some over-aggressive substitutions of `this` with `self` in the snippets;
- Fix `inheritance.py` (`class_summary` parameter was not defaulted).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-09 11:54:44 +00:00
Andrea Gavana
f748a0b068 Phoenix:
- Add hyperlinks to external references (such as threading, code, exceptions and so on) to inheritance diagrams and sub/super classes;
- Add a stub for the overview "Writing Non-English Applications";
- Better handling of `wx.lib` documentation extraction.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-08 23:51:22 +00:00
Andrea Gavana
cb33bc0d7d Phoenix: Add a stub page for 'Writing Non-English Applications' overview (not sure we want to add it or not to the main documentation pages).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-08 11:31:28 +00:00
Andrea Gavana
e262cef61a Phoenix:
1. Add a substitution of the |SVN| string using subprocess;
2. Add the latest ArtProvider stuff (and replace `ArtID` and `ArtClient` parameter types with `string`). 

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-08 11:13:07 +00:00
Andrea Gavana
ff175387b3 Phoenix: Add support for documenting wx.lib, wx.py and wx.tools (that's the whole wxPython/Phoenix documentation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-07 21:00:39 +00:00
Andrea Gavana
d44af0e4f4 Phoenix: new updates to better handle wx.lib documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-06 18:22:52 +00:00
Andrea Gavana
77338050a0 Phoenix:
- First stub at integrating `wx.lib` (116 warnings);
- Added `internationalization.rst` file from Werner (with a cool sample app as well);
- Added new samples for AffineMatrix2D.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-05 18:28:47 +00:00
Andrea Gavana
94c66c0a34 Phoenix updates:
1) Keep the sidebar always visible;
2) Put the search stuff on the scrolling header;
3) Implement accordion-style JavaScrip stuff to show/hide user-contributed samples;
4) Minor clean-ups.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-03 18:41:48 +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
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
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
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
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
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
Andrea Gavana
f97b2e4e6b Phoenix documentation:
* Added overviews for wx.FileSystem, wx.ToolBar and wx.DateTime (thanks to the wxWidgets docs);
* Converted many snippets from C++ to Python for wx.ToolBar, wx.DateTime and wx.TextEntry;
* Updated the conf.py file.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-12 21:03:35 +00:00
Andrea Gavana
47aa4014fa Phoenix: update the sphinx_generator.py file and correct the Sphinx documentation for missing image header, unwanted sections in wx.TextCtrl and other minor cosmetic adjustments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-28 22:18:11 +00:00
Robin Dunn
611a5cb3a2 Add some new snippets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-02 23:39:41 +00:00