Gilles Depeyrot
af49c4b8a2
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Vadim Zeitlin
dac348b9e2
fixed compilation with CW8 (SF patch 567845) and also added alignment fillers for wxCriticalSection::m_buffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 22:33:22 +00:00
Vadim Zeitlin
d42e3d592b
restored inline for wxCriticalSection methods for !MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:46:44 +00:00
Julian Smart
76df57d24e
Removed 'inline' which was causing unresolved symbols
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 18:32:06 +00:00
Vadim Zeitlin
4562f6852f
added wxCRITICAL_SECTION macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 00:34:56 +00:00
Vadim Zeitlin
9e84b84742
wxMutex changes (explicitly specify the type), return values for all wxMutex/wxSemaphore/wxCondition methods and general cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 18:31:59 +00:00
Gilles Depeyrot
be52b34172
added DECLARE_NO_COPY_CLASS where appropriate since wxObject should not
...
provide implicit copy constructor or assignement (will be corrected)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:30:26 +00:00
Vadim Zeitlin
c112e10026
changed wxCondition API to take a reference, not pointer, to wxMutex
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 15:37:57 +00:00
Vadim Zeitlin
be80986891
added wxSemaphore (with docs), new version of wxCondition and bug fixes to wxThread (patch 538242 by K.S. Sreeram)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 13:15:16 +00:00
Vadim Zeitlin
8d5eff606a
attempts to make wxCondition::Broadcast() and Signal() work simultaneously - currently they do but something else doesn't
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 19:11:54 +00:00
Vadim Zeitlin
547b93ab04
attempts to make wxCondition::Broadcast() work - it still doesn't
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 22:49:13 +00:00
Jouk Jansen
a7aef4a92a
Committing in .
...
update OpenVMS compile support
Modified Files:
wxWindows/setup.h_vms wxWindows/include/wx/thread.h
wxWindows/src/common/descrip.mms
wxWindows/src/common/iffdecod.cpp
wxWindows/src/unix/threadpsx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 15:07:55 +00:00
Robin Dunn
4958ea8f7b
Added wxThread::GetCurrentId(), which returns an ID for the current
...
thread, even if it is not a wxThread.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 06:28:11 +00:00
Vadim Zeitlin
414c639cc2
moved Watcom thread stack size fix from .h to the .cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 19:07:32 +00:00
Ron Lee
6fe7378863
Added (and documented :) optional stack size specification for wxThread.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 05:53:39 +00:00
Jouk Jansen
13d068d93e
Committing in .
...
Modified Files:
wxWindows/include/wx/thread.h wxWindows/src/unix/threadpsx.cpp
Changed for OPenVMS only
problem: The compiler complained about the fact that some pointer were
assigned to a smaller integer. Maybe this problems also holds for
other 64-bit OS's
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 11:10:29 +00:00
Stefan Csomor
acd9676ebb
thread support for mac finished
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 08:15:51 +00:00
Vadim Zeitlin
ef8d96c29c
wxThread::GetCPUCount() and SetConcurrency() added and documented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 12:31:04 +00:00
Vadim Zeitlin
bdc72a2268
1. wxGetOsDescription() function added
...
2. wxApp::GetComCtlVersion() slightly updated
3. wxToolBar::AddControl() should work on all systems, DeleteTool() added
4. wxListCtrl custom draw changes (custom colours/fonts)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 22:34:54 +00:00
Vadim Zeitlin
9fc3ad34c5
joinable and detached POSIX threads (not fully tested yet)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 23:05:23 +00:00
Vadim Zeitlin
b568d04ffa
1. wxThread changes (detached/joinable) for MSW and docs updates
...
2. wxUSE_GUI=0 compilation for MSW (use vc6dll.t with tmake) and many small
fixes related to this
3. an attempt to make wxLog more MT friendly
4. a small fix for wxRegConfig: it doesn't create empty unused keys any
more (SetPath() would always create a key, now it's deleted if it was
empty)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 22:57:06 +00:00
Vadim Zeitlin
6d167489bd
1. wxIcon/wxCursor change, wxGDIImage class added
...
2. wxCriticalSection doesn't alloc memory any more
3. many minor fixes in bitmap/icon code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 12:30:56 +00:00
David Webster
20947e08ca
OS/2 thread updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 05:27:57 +00:00
David Webster
d45d30c868
Minor tweek for WXPM
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 04:48:33 +00:00
Stefan Csomor
e75491071d
mac adaptions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 15:24:52 +00:00
Vadim Zeitlin
dcda1c71b1
fix for FreeBSD compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 14:32:40 +00:00
David Webster
57c4d796c5
OS/2 PM specific fixes for validators and fonts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 05:18:15 +00:00
David Webster
d8dd11bab4
thread #ifdefs for WXPM
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 04:37:45 +00:00
Vadim Zeitlin
72cdf4c9b3
1. wxApp::ProcessPendingEvents() is now common, added appcmn.cpp and
...
regenerated the makefiles. wxPostEvent() should work for wxGTK too (untested)
2. long -> wxCoord change for wxGTK and wxMSW, use
wxUSE_COMPATIBLE_COORD_TYPES to get the old behaviour
3. wxHTML compilation fixes (for !wxUSE_HTML case)
4. a couple of handy macros in thread.h added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 15:14:52 +00:00
Robert Roebling
ed58dbeab6
Changed a few #include <xxx.h> to #include "xxx.h"
...
Added endl operator to wxTextStream
Corrrected a few misbehaviours in wxFileDialog,
Corrected tab traversal a bit
Corrected wxImage::SetData() to not copy, but take
the data and care for ref couting as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-20 22:52:21 +00:00
David Webster
bac507e062
*** empty log message ***
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-28 04:16:50 +00:00
David Webster
1777b9bbf4
*** empty log message ***
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-28 03:38:12 +00:00
Guilhem Lavaux
a737331db6
* Committing new wxSocket core (socket.cpp sckint.cpp). It has to be improved ...
...
* Adding sckint.cpp to various makefiles.
* Fixes in threadpsx.cpp (Pause/Resume)
* Fixes in threaded event dispatching
* Added Clone() to wxObject
* Implemented Clone() in wxEvent and wxSocketEvent
* wxSocket sample save the data got from the URL in test.url (this will change)
* As I only tested wxSocket on Linux Redhat 5.2 I disabled it by default on
Windows, Mac and Unix platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 18:16:56 +00:00
Karsten Ballüder
80cb83bef2
Fixed configure/linkage for non-threaded case.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-11 10:37:09 +00:00
Vadim Zeitlin
518b5d2ffb
1. the common helper functions are now in src/unix/utilsunx.cpp
...
2. POSIX threads are in src/unix/threadpsx.cpp
3. some more functions are detected using configure and not guessed from the
platform type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-06 00:11:27 +00:00
Vadim Zeitlin
68401dfe2c
(more) FreeBSD thread fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-05 16:24:07 +00:00
Julian Smart
9838df2cef
Added some Motif wxGLCanvas support; some more Motif bugs cured; print dialogs
...
look OK on Motif now; got rid of some #ifdef wxUSE_... instances
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-24 14:57:09 +00:00
Vadim Zeitlin
8c10faf1bd
TestDestroy() is not const any more (warnings suppressed)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-22 18:35:42 +00:00
Vadim Zeitlin
7c3d7e2d77
wxThread POSIX implementation seems to work (under libc6 Linux at least)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-22 16:21:24 +00:00
Vadim Zeitlin
bf1852e121
wxThread fixes - compilation under Unix temporarily broken, sorry.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-17 22:39:58 +00:00
Vadim Zeitlin
a0abb8a882
changed "inline"s to "extern"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-12 23:39:07 +00:00
Julian Smart
054d497f28
Corrected thread.h inline problem. Set WXWIN_COMPATIBILITY to 0 by default in wxMSW.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-11 16:05:33 +00:00
Vadim Zeitlin
f6ddc54a65
wxCriticalSection implemented using mutexes for !MSW (sample compiles again)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-11 15:51:45 +00:00
Vadim Zeitlin
cb4f1ca43a
assignment operators/copy ctors are private for classes which can't be copied
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-10 00:04:07 +00:00
Vadim Zeitlin
bee503b05f
thread fixes for MSW (samples doesn't compile currently under !MSW, will
...
be fixed a.s.a.p.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-09 00:28:27 +00:00
Robert Roebling
06cfab1738
Compilation fixes
...
Found out how to do wxUSE_XX 0 and 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-06 21:09:17 +00:00
Vadim Zeitlin
9d133d8787
file I forgot to commit last time (wxCritSection)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-05 03:04:48 +00:00
Robert Roebling
d524867f4c
Triued in vain to fix threads segvs with gcc
...
Removed wxDebugStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-02 22:24:41 +00:00
Vadim Zeitlin
a6b0bd49c7
1. Pause()/Resume() implemented for wxMSW
...
2. crash on startup in the sample corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-27 00:54:53 +00:00
Robert Roebling
f3855ef064
Makefile tweaks
...
Threads work now under wxGTK and glibc 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-26 20:09:03 +00:00