Commit Graph

20682 Commits

Author SHA1 Message Date
David Elliott
ca6c45b23d Regenerated with Bakefile.
wxCocoa: Added src/mac/gsockosx.c to build.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 19:37:09 +00:00
Ryan Norton
ad18ae6252 Fixed compilation and
only does mdi tests when enabled in setup.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 19:27:47 +00:00
Václav Slavík
30f2fa6c53 fixing the regex mess that Ryan wasn't yet able to fix himself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 12:42:57 +00:00
Ryan Norton
2138129e25 wxMenuBar derives from wxWindow...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 04:52:48 +00:00
Ryan Norton
010024e17e Fixed one of the two MDI problems...see comments
for possible solutions to the others.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 04:47:00 +00:00
David Elliott
7c52e8ef95 wxCocoa: Enable wxSocket support using new CFSocket implementation from wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 04:39:05 +00:00
David Elliott
a38b65ab35 * Implemented according to Apple CFSocket documentation:
kCFSocketConnectCallBack: Called in response to a successful connect() and
    of course applies to client sockets only. Fails assertion if received
    from a server socket. Calls GSocket's Detected_Write otherwise.
  kCFSocketReadCallBack: Called whenever data is available to read or in
    the event that a new connection is waiting to be accepted. Call's
    GSocket's Detected_Read.
  kCFSocketWriteCallBack: Called whenever data can be written to kernel buffer.
    Call's GSocket's Detected_Write
* Added ALL_CALLBACK_TYPES macro which specifies all of the above three.
* Added (by virtue of ALL_CALLBACK_TYPES) the kCFSocketConnectCallBack to
  the calls to CFSocketCreateWithNative and CFSocketDisableCallBacks during
  GUI socket data creation.
* Use the default flags for CFSocket which automatically reenable the
  callbacks, but continue to disable close of fd on CFSocket invalidation.
  Eventually, GSocket should allow the GUI implementation to override close
  so that we can avoid calling the > 10.2 CFSocketSetSocketFlags function.
* CFRelease the socket after invalidating it (fixes memory leak)
* When adding/removing callbacks use kCFSocketReadCallBack for server
  GSOCK_CONNECTION and kCFSocketConnectCallback for client.
* When adding/removing callbacks GSOCK_LOST should do the same thing as
  GSOCK_INPUT (Thanks Kevin Hock)
* When enabling events, do not enable kCFSocketConnectCallBack for servers.
  It should never be called anyway since connect() should never be used
  on a server socket.
* When disabling events, disable ALL_CALLBACK_TYPES.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 04:04:40 +00:00
Robin Dunn
dae0faa6be reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 03:09:10 +00:00
David Elliott
1c7edd1d3c In GSocket_Destroy reorder GUI_Destroy and Shutdown when compiling for Darwin.
This is necessary to comply with the Apple documentation for CFSocket which
states quite explcitly that the CFSocket must be invalidated prior to close.

Likewise in GSocket_Read don't enable input events until we have finished
reading the data.  This is necessary because an input event will be
immediately generated but all the data will have been read by the current
callback which leads to the GSocket code thinking the connection has been
lost and when wxYield recursion is involved will lead to crashes or an assert.

Because we are doing a compile time test only for Darwin this will also
affect wxGTK running on Darwin. It appears possible for the new order to work
on all platforms but more testing would be required.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 02:49:07 +00:00
Robin Dunn
f775c30dd9 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 02:45:57 +00:00
Robin Dunn
7eae615bad reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 02:38:31 +00:00
Robin Dunn
5cbdf16dac regnenerated image modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 02:36:30 +00:00
Robin Dunn
54b29c1f98 Fixed a couple wxString typemaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 02:35:33 +00:00
Robin Dunn
dd83f6184e delete the .pyc files before making a preview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 01:39:22 +00:00
Robin Dunn
998e6e9fdb Fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 01:26:42 +00:00
Robin Dunn
88c0b10897 Aliasing wxDC methods like was dangerous...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 01:24:58 +00:00
Robin Dunn
d40e73919c More adjustments to aliases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 01:12:25 +00:00
Robin Dunn
0dd25e819c Tool tweaks and metadata update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 01:09:51 +00:00
Robin Dunn
61940a7061 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 23:27:57 +00:00
Robin Dunn
487febf601 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 21:39:24 +00:00
Robin Dunn
cf763f5b94 backwards compatibility aliases can be used in the wxPython namespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 21:37:21 +00:00
Robin Dunn
82a074ce2b typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 21:35:31 +00:00
Robin Dunn
3798e298a4 Updated tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 19:56:51 +00:00
Julian Smart
1066fece29 MOre wxUSE_... fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 19:42:05 +00:00
Robin Dunn
0f43fbdf6f wxPython metadata xml
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 19:31:59 +00:00
Robin Dunn
685d898512 Added XML simplification scripts for generating the wxPython metadata xml.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 17:45:54 +00:00
Julian Smart
f49347d1b7 Removed out of date comment about Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 16:07:40 +00:00
Ryan Norton
128b33a6fc Fixed newlines :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 15:56:20 +00:00
Julian Smart
35eace3ae6 Added wxUSE_TOOLBAR, wxUSE_STATUSBAR tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 12:39:33 +00:00
Julian Smart
5feef956ce Applied patch [ 864570 ] adjustement of FL contrib to change in wx/log.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 10:47:39 +00:00
Julian Smart
23290a8c8f Applied patch [ 861884 ] adjustement of bombs demo to wxBombsCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 10:45:28 +00:00
Julian Smart
e176d9f7c0 Added Bombs demo eVC project file from ABX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 10:32:21 +00:00
Julian Smart
965f1e4388 Added minimal sample WinCE project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 10:17:28 +00:00
Julian Smart
5671b3b68f Added comments for WinCE shortcut suggestion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 10:02:08 +00:00
Julian Smart
676d655065 Some WinCE fixes from ABX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 09:18:16 +00:00
Ryan Norton
6ed8156e8a Added note about deleting returned object (OpenFile)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 03:16:37 +00:00
Dimitri Schoolwerth
bd5d41f65d Applied patch #864557 (Adjustment of richedit sample to new FindColour solution).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 03:01:37 +00:00
Robin Dunn
4a9067b921 wxTaskBarIcon works on wxGTK now too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-22 21:25:58 +00:00
Robin Dunn
a253aa2044 Make the comment colors have a bit more contrast, and reduce the
timeout on the splashscreen.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-22 20:59:16 +00:00
Ryan Norton
55448f251a Removed regextest :).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-22 20:38:18 +00:00
Robin Dunn
d4b73b1b8e More lib and demo patches to drop the wx prefix (Jeff has been busy!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-22 19:09:54 +00:00
Ryan Norton
88568e48e4 1.
Changed things others suggested

2.
Changed search text cntrl to a multiline one


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-22 09:36:19 +00:00
Ryan Norton
e2d1ad0cc1 1.
Only owner draw menus on MSW

2.
Handle GRETA compilations errors


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-21 22:44:53 +00:00
Ryan Norton
4e3b466588 Added Status Bar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-21 22:19:25 +00:00
Ryan Norton
acee956c6d Added -
1.
Owner drawn menu items (sort of)

2.
Match/Compile time


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-21 22:03:12 +00:00
Ryan Norton
81e6573009 Changed main frame style to wxDEFAULT_FRAME_STYLE | wxTAB_TRAVERSAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-21 20:37:17 +00:00
Julian Smart
00cb0756b4 Correction for gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-21 13:19:44 +00:00
Ryan Norton
7c11dce5f2 Changed GRETA compile flag - fixing output (was matching in reverse before....)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-21 12:22:59 +00:00
Ryan Norton
b5bdef5532 Too many changes :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-21 11:51:33 +00:00
Václav Slavík
651bb0c9e5 link against the net library, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-21 10:27:13 +00:00