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
Robin Dunn
ab0629c8d2
Don't forget about PseudoDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-17 21:09:09 +00:00
Robin Dunn
8b3348b371
Add code to measure and display the run time for each command. Because we are Geeks.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-17 20:37:55 +00:00
Robin Dunn
aa8c0d679f
build fixes for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-17 20:37:51 +00:00
Robin Dunn
3a7de14aff
First phase of the build.py/waf integration. A versioned waf command is downlaoded like we do for sip, and either setup.py or waf can still be used for the build. Also enable specifying more than one arch for universal mac builds now that wx's configure can handle it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-17 02:56:32 +00:00
Robin Dunn
c4e9d6b90d
Correct help string for --cairo option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-17 02:56:26 +00:00
Robin Dunn
7cbb3b3b34
Accept --jobs option, pass it on to build_wxwidgets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-17 02:56:22 +00:00
Robin Dunn
a2ee1312c9
Move the Apple SIZEOF hacks to the wxpy_utils header file.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-17 02:56:17 +00:00
Robin Dunn
e79b147024
Initial changes for getting waf builds working well for Phoenix. wx-config based builds are working, still need to do integration with build.py and MSW builds.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-17 02:56:11 +00:00
Robin Dunn
18956e8e2e
refactor some of the utils and array code to fix a compile errors from pervious changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-15 05:06:20 +00:00
Robin Dunn
fce03ea619
Mention Python 3.x TODOs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-15 05:06:11 +00:00
Robin Dunn
c01317fe26
mention the need for exporting a C API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-14 20:56:13 +00:00
Robin Dunn
3b097a731e
fix indent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-14 20:56:09 +00:00
Robin Dunn
f525cad436
Acquire the GIL for INCREF's where needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-14 20:56:04 +00:00
Robin Dunn
e9a0da2888
Add infobar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-14 20:55:56 +00:00
Robin Dunn
c2dbb1f5e8
Add some helper functions for converting to/from Python datetime objects similar to what is in Classic.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-14 20:55:49 +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
Robin Dunn
a0e072688a
Remove our wxPrintQuality typedef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-10 19:56:37 +00:00
Robin Dunn
187a614c8b
Fix quotes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-10 00:24:55 +00:00