5999 Commits

Author SHA1 Message Date
Robin Dunn
b5ec0c87be Add code to build wxPython(phoenix) based on the command line options.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-07 03:00:31 +00:00
Robin Dunn
9a7f1269c1 Generate CppMethods as a separate function that is called from the wrapper, instead of embedding it in the wrapper itself. This helps us be less SIP-specific and also be able to do things like 'return' the value and use 'self->' instead of having to use variable names that make less sense.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-07 02:58:21 +00:00
Robin Dunn
75fcd3dcc1 Add the pyInt annotation to some character typdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-07 02:55:22 +00:00
Robin Dunn
8bd4a9aa80 Don't keep the generated C++ files in SVN (at least for now) as they change too much and it's mostly just noise.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-07 02:46:17 +00:00
Robin Dunn
85b85500b9 no longer need these files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-07 02:38:22 +00:00
Robin Dunn
bec66711ce Added the beginnings of a new all-in-one build script like the build-wxpython.py in the wxPython folder. Made it command+options based instead of just options, and make it easy to extend with new commands.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-04 00:32:25 +00:00
Robin Dunn
a938e6a76f Move runtests.py to unittests folder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-04 00:28:47 +00:00
Robin Dunn
a16f7ef06b Rename wx.Platform* to wx.Port*. Renable wx.PySimpleApp with a deprecation wrapper.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-04 00:28:19 +00:00
Robin Dunn
84c12b120b update siplib from new upstream code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-04 00:23:08 +00:00
Robin Dunn
971d058e6b Add the ability to replacde the implementation of a wrapper with C++ code, but still keep all the info we pulled from the DoxyXML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-04 00:22:00 +00:00
Robin Dunn
3c8221d912 More refactoring and add some more classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-03 23:41:07 +00:00
Robin Dunn
833fa43787 A bit of refactoring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-28 03:43:30 +00:00
Robin Dunn
565c223b47 for the time being we'll use "wxPhoenix" as the name of the package dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-27 09:02:13 +00:00
Robin Dunn
af4836a25a regenerated .sip files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-27 08:56:14 +00:00
Robin Dunn
96717983ad A boatload of changes and additions, all my Phoenix work for the past few days. Lots of lower level classes are wrapped, wxApp is working up through OnInit, plus there's a good start on some unit tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-27 08:53:17 +00:00
Robin Dunn
2279df7926 updated siplib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-27 08:43:57 +00:00
Robin Dunn
f765afe0c3 Deal with the pure-virtual nature of wxEvent::Clone, SIP needs to see that it i implemented in derved classes. Add some unittests for the event classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-19 08:03:01 +00:00
Robin Dunn
502550bcb8 oops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-18 08:38:59 +00:00
Robin Dunn
d8edb98271 Move Phoenix to wxPython area of the repository for convenience
git-svn-id: https://svn.wxwidgets.org/svn/wx/Phoenix/trunk@66200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-18 08:37:24 +00:00
Robin Dunn
62e8448d8e regenerated sip and c++ files
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-18 08:32:48 +00:00
Robin Dunn
84a949378c regenerated sip and c++ files
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-18 08:31:06 +00:00
Robin Dunn
d98847ea83 updated siplib
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-18 08:27:15 +00:00
Robin Dunn
5d686a914f Add more helper functions to the exgractor classes.
Make it possible to distinguish between virtual and pure-virtual methods.
Switch to %AutoPyName and don't automatically use /PyName/ just to drop the leading 'wx'
Write %ModuleHeaderCode items before %Include items

git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-18 08:25:38 +00:00
Robin Dunn
548d52253c minor fix in the file header
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-18 08:19:45 +00:00
Robin Dunn
b77539c5db new unit tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-18 08:17:40 +00:00
Robin Dunn
f753505dbc describe how the files are named.
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-18 08:17:09 +00:00
Robin Dunn
35fcd7e932 Add etg scripts for the windowid, tracker, kbdstate, mousestate and event header files.
Other etg weaks and cleanups as needed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-18 08:13:57 +00:00
Robin Dunn
bbbdae3651 Add implemenation for the wxString MappedType
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-18 08:11:59 +00:00
Robin Dunn
b3ba3f0f70 Add etg scripts for the windowid, tracker, kbdstate, mousestate and event header files.
Other etg weaks and cleanups as needed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-18 08:11:31 +00:00
Robin Dunn
5e4f2bfbff fixes for the build on MSW and other tweaks and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-18 08:05:50 +00:00
Robin Dunn
b9e74764ec More properties, magic methods and unit tests for gdicmn
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-14 07:57:09 +00:00
Robin Dunn
24c86126d9 Add magic methods to wx.Size and add unit tests for wx.Size. Also a bit of related refactoring and cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-14 01:29:52 +00:00
Robin Dunn
70fdcc702e regenerate everything
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-13 08:18:36 +00:00
Robin Dunn
36e09a96ad Unit tests for wx.Point
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-13 08:15:40 +00:00
Robin Dunn
2cce365c83 "c++" --> "C++"
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-13 08:07:02 +00:00
Robin Dunn
48e6567723 rearrainge things a little
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-13 08:06:19 +00:00
Robin Dunn
1c9b633170 updated siplib
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-13 08:00:53 +00:00
Robin Dunn
7b6b240efd Give some explanation about what all the project folders are for.
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-12 22:26:02 +00:00
Robin Dunn
4621365d2d Add sequence protocol methods and other goodies to wx.Point
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-12 22:25:18 +00:00
Robin Dunn
37de9a8436 Add ability to generate code into a .py file which does the import of the extension module. This will be used to add Python code to a module so we dont' have to do everything in C++.
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-12 22:21:15 +00:00
Robin Dunn
4b9c4f29c7 Add ability to generate code into a .py file which does the import of the extension module. This will be used to add Python code to a module so we dont' have to do everything in C++.
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-12 22:20:16 +00:00
Robin Dunn
7ddbef68b5 Add ability to generate code into a .py file which does the import of the extension module. This will be used to add Python code to a module so we dont' have to do everything in C++.
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-12 22:19:32 +00:00
Robin Dunn
8ffaf69b50 cosmetic indentation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-12 22:16:28 +00:00
Robin Dunn
f3b3b92f7d Add file headers to the rest of the source files, don't bother with cvs keywords, fix some typos, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-11 00:54:33 +00:00
Robin Dunn
2c4ebc512e Add file headers to the rest of the source files, don't bother with cvs keywords, fix some typos, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-11 00:54:15 +00:00
Robin Dunn
bb5ae183da generated sip and c++ files
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-11 00:16:20 +00:00
Robin Dunn
d3a13a9800 fix some ignores
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-11 00:12:05 +00:00
Robin Dunn
ab37739a9b initial commit of experimental Phoenix code
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-11 00:08:20 +00:00
Robin Dunn
3122bf4f1f Making a temporary place for Robin's Phoenix project
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-10 20:19:15 +00:00