Commit Graph

77 Commits

Author SHA1 Message Date
Robin Dunn
911d90273c Lots of little changes made to Phoenix code over the past few months, plus some tweaks to get it running with the current wx.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@68905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-25 23:45:50 +00:00
Robin Dunn
f330955043 Update siplib to version 4.12.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@68904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-25 23:43:02 +00:00
Robin Dunn
6733e06ff2 We can now use PyObject* instead of SIP_PYOBJECT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-31 19:26:22 +00:00
Robin Dunn
9512216cf2 Upstream siplib update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-31 18:33:01 +00:00
Robin Dunn
ca6859b831 Add a tool that generates a wrapper around a wxList derived class, such as wxWindowList.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-31 18:31:29 +00:00
Robin Dunn
b47abd88ff SIP now does the RightThing with __[sg]etattr__ methods, so use them to provide a simpler implementation for wx.PyEvent and wx.PyCommandEvent. Put any attributes set from Python into a separate dictionary object, and copy that dictionary in Clone().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-29 02:09:50 +00:00
Robin Dunn
80898eba5b a bit of cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-29 02:06:02 +00:00
Robin Dunn
0d0873b8c8 new snapshot of the siplib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-29 02:05:05 +00:00
Robin Dunn
0628e885d1 print the version at startup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 20:51:02 +00:00
Robin Dunn
89c825b7e9 fix a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 20:38:10 +00:00
Robin Dunn
39b5167c96 fix a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 20:36:49 +00:00
Robin Dunn
6ee75900a9 Drop the leading underscore for the -X arg in the sip command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 19:24:22 +00:00
Robin Dunn
db4df36af3 updated siplib to 4.12 release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 19:15:47 +00:00
Robin Dunn
05311d6b77 regen sip files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 19:04:08 +00:00
Robin Dunn
dbed101ca5 add some more testing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 19:03:48 +00:00
Robin Dunn
efd05f36dc cleanups and tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 19:00:33 +00:00
Robin Dunn
53b1694757 cleanups and tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 18:59:28 +00:00
Robin Dunn
56b229d99e cleanups and tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 18:59:06 +00:00
Robin Dunn
68542755de Uncommented CallAfter() and test it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 18:58:39 +00:00
Robin Dunn
0dbb56bbb5 Verify parameter types passed to Bind()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 18:56:41 +00:00
Robin Dunn
b6ca75118a Add %ConvertToSubclass to wxObject class. Uses wxRTTI to select the real class type (or as close as possible) for any wxObject* return value.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 18:55:05 +00:00
Robin Dunn
8fffd8c53e Add wxProcess, utils.h and the wx.Py events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 18:53:41 +00:00
Robin Dunn
49f7460098 Enable running just one unittest module via the master build script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-27 18:48:31 +00:00
Robin Dunn
212f1ff9f0 Gobs and gobs of changes, and tons of progress made. Can now create a wx.App, show a wx.Frame, run the MainLoop, bind event handlers and dispatch the events to the handler! YeeHa!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-17 08:08:24 +00:00
Robin Dunn
044a2f2ed1 updates to the sip files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-07 03:18:21 +00:00
Robin Dunn
fcf745d0ca A bit of code reoganization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-07 03:17:10 +00:00
Robin Dunn
80ddad4ab7 ignore generated c++ files for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-07 03:04:51 +00:00
Robin Dunn
6a637bf52a Add toplevel module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-07 03:03:27 +00:00
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