]> git.saurik.com Git - wxWidgets.git/commitdiff
Added a note about bug in Mingw32 headers.
authorJulian Smart <julian@anthemion.co.uk>
Sun, 8 Sep 2002 14:46:17 +0000 (14:46 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 8 Sep 2002 14:46:17 +0000 (14:46 +0000)
Other Mingw32-related fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

distrib/msw/tardist
distrib/msw/zipdistinno.bat
distrib/msw/zipwxmac.bat
distrib/msw/zipwxos2.bat
docs/changes.txt
docs/msw/install.txt
src/msw/ole/automtn.cpp
src/msw/ole/dataobj.cpp

index c3512b27470d516d4fec0352c868e08d05ff10a7..4db301f31cae06fe8f00deaa53da62a5acfd9a23 100644 (file)
@@ -156,6 +156,24 @@ $TAR cf $2/wxMac-${WXVER}.tar wxWindows-${WXVER}/*
 rm -f -r wxWindows-${WXVER}
 gzip $2/wxMac-${WXVER}.tar
 
+### wxAll: all distributions in one giant archive
+cd $1
+cat $1/distrib/msw/generic.rsp $1/distrib/msw/msw.rsp $1/distrib/msw/vc.rsp $1/distrib/msw/cw.rsp $1/distrib/msw/cw_mac.rsp $1/distrib/msw/gtk.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/mac.rsp $1/distrib/msw/os2.rsp $1/distrib/msw/x11.rsp $1/distrib/msw/univ.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/utilmake.rsp $1/distrib/msw/utils.rsp $1/distrib/msw/mmedia.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/dialoged.rsp $1/distrib/msw/ogl.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp $1/distrib/msw/docsrc.rsp | uniq > /tmp/wxall_in.txt
+expandlines /tmp/wxall_in.txt /tmp/wxall.txt
+$TAR cf $2/wxAll-${WXVER}.tar -T /tmp/wxall.txt
+
+echo Re-tarring wxAll in a subdirectory...
+cd $2
+mkdir wxWindows-${WXVER}
+cd wxWindows-${WXVER}
+$TAR xf ../wxAll-${WXVER}.tar
+cd ..
+rm -f wxAll-${WXVER}.tar
+$TAR cf $2/wxAll-${WXVER}.tar wxWindows-${WXVER}/*
+rm -f -r wxWindows-${WXVER}
+gzip $2/wxAll-${WXVER}.tar
+
+
 ### Doc sources
 #cd $1
 #cat $1/distrib/msw/docsrc.rsp > /tmp/docsrc_in.txt
index 7024110549e7604c20c0d3b97fd0521964a0b52e..6c3d78c339a638b697941cf33e49894e929b617a 100755 (executable)
@@ -76,7 +76,7 @@ zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\contrib.rsp
 zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\makefile.rsp
 
 Rem Rearchive under wxWindows-%version%
-if direxist %dest%\wxWindows-%version% erase /sxyz %dirname%\wxWindows-%version%
+if direxist %dest%\wxWindows-%version% erase /sxyz %dest%\wxWindows-%version%
 
 mkdir %dest%\wxWindows-%version%
 cd %dest%\wxWindows-%version%
@@ -120,7 +120,7 @@ zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\makefile.rsp
 
 erase /Y %src%\include\wx\setup.h
 
-if direxist %dest%\wxWindows-%version% erase /sxyz %dirname%\wxWindows-%version%
+if direxist %dest%\wxWindows-%version% erase /sxyz %dest%\wxWindows-%version%
 
 mkdir %dest%\wxWindows-%version%
 cd %dest%\wxWindows-%version%
index e09f5f3aaa779e6691023e06a435de4e157ab81d..2ae9621a1684289098149696a1e11c0d540067c7 100755 (executable)
@@ -47,7 +47,7 @@ zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\makefile.rsp
 
 erase /Y %src%\include\wx\setup.h
 
-if direxist %dest%\wxWindows-%version% erase /sxyz %dirname%\wxWindows-%version%
+if direxist %dest%\wxWindows-%version% erase /sxyz %dest%\wxWindows-%version%
 
 mkdir %dest%\wxWindows-%version%
 cd %dest%\wxWindows-%version%
index 48f956dd00e05cabc41f276f35cd3b3617c460b5..5aeb6a40dac82f2a813a61638dc739ee188a4ae1 100755 (executable)
@@ -44,7 +44,7 @@ zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\makefile.rsp
 
 Rem erase /Y %src%\include\wx\setup.h
 
-if direxist %dest%\wxWindows-%version% erase /sxyz %dirname%\wxWindows-%version%
+if direxist %dest%\wxWindows-%version% erase /sxyz %dest%\wxWindows-%version%
 
 mkdir %dest%\wxWindows-%version%
 cd %dest%\wxWindows-%version%
index fcdc24fb8ab68ca765c2008d9fb6e31bed73f269..56e0b2e446bcd3405fb9097cbbfb817db8e37af5 100644 (file)
@@ -193,6 +193,7 @@ wxBase:
 - added wxEXPLICIT macro
 - IPC classes improved and memory leaks fixed (Michael Fielding).
   Global buffer removed, duplication in docs removed
+- debug new/free implementations made thread-safe
 
 Unix (Base/GUI):
 
@@ -301,6 +302,7 @@ wxGTK:
 - implemented wxChoice::Delete()
 - fixed bad memory leak in wxFileDialog (Chris Elliott)
 - made internal GC pool dynamically growable
+- added GTK+ 2 and Unicode support
 
 wxMotif:
 
@@ -312,6 +314,19 @@ wxMotif:
 - fixed wxSpinCtrl and wxStaticLine when used with sizers
 - wxStaticBitmap now shows transparent icons correctly
 
+wxX11:
+
+- added generic MDI implementation (Hans Van Leemputten)
+- first cut at wxSocket support (not yet working)
+
+wxMac:
+
+- Many improvements
+
+wxOS2:
+
+- First alpha-quality release
+
 wxHTML:
 
 - fixed wxHtmlHelpController's cache files handling on big endian machines
index d9615096b91b8fb32567d518a5270c79008338fb..264b2c6e51ca28a7b82b07bad615f657193a40fa 100644 (file)
@@ -601,10 +601,19 @@ Notes:
 1. See also the Cygwin/Mingw32 on the web site or CD-ROM for
    further information about using wxWindows with these compilers.
 
-2. libwx.a is 48 MB or more - but much less if compiled with no
+2. libwx.a is 100 MB or more - but much less if compiled with no
    debug info (-g0) and level 4 optimization (-O4).
 
-3. There's a bug in Mingw32 headers for some early distributions.
+3. If you get a link error under Mingw32 2.95.2 referring to:
+
+   EnumDAdvise__11IDataObjectPP13IEnumSTATDATA@8
+
+   then you need to edit the file objidl.h at line 663 and add
+   a missing PURE keyword:
+
+   STDMETHOD(EnumDAdvise)(THIS_ IEnumSTATDATA**) PURE;
+
+4. There's a bug in Mingw32 headers for some early distributions.
 
    in include/windows32/defines.h, where it says:
 
@@ -616,14 +625,14 @@ Notes:
 
    (a missing bracket).
 
-4. If there's a problem with the copy or remove commands in
+5. If there's a problem with the copy or remove commands in
    src/msw/makefile.g95, you may need to change the COPY and
    RM variables in makeg95.env.
 
-5. If there's a problem executing the windres program, try
+6. If there's a problem executing the windres program, try
    commenting out RCPREPROCESSOR in makeg95.env.
 
-6. OpenGL support should work with Mingw32 as-is. However,
+7. OpenGL support should work with Mingw32 as-is. However,
    if you wish to generate import libraries appropriate either for
    the MS OpenGL libraries or the SGI OpenGL libraries, go to
    include/wx/msw/gl and use:
index 98ac908d202fdbacf89f5e7d2026ab875721575c..826bfe2cb3cfbd246b98d59ac36d17394ca7761b 100644 (file)
@@ -588,16 +588,20 @@ bool ConvertVariantToOle(const wxVariant& variant, VARIANTARG& oleVariant)
 
     wxString type(variant.GetType());
 
-               if (type == wxT("char"))
-               {
-                       oleVariant.vt=VT_I1;                    // Signed Char
-                       oleVariant.cVal=variant.GetChar();
-               }
-    else if (type == wxT("long"))
+
+    if (type == wxT("long"))
     {
         oleVariant.vt = VT_I4;
         oleVariant.lVal = variant.GetLong() ;
     }
+    // cVal not always present
+#ifndef __GNUWIN32__
+    else if (type == wxT("char"))
+    {
+        oleVariant.vt=VT_I1;                   // Signed Char
+        oleVariant.cVal=variant.GetChar();
+    }
+#endif
     else if (type == wxT("double"))
     {
         oleVariant.vt = VT_R8;
index 4f2e89f41d753ff63ae9c2d0d658a750ea1afd3b..a909b3e85e49c11871194d7953f3611ea3bc116b 100644 (file)
@@ -1067,7 +1067,6 @@ bool wxFileDataObject::GetDataHere(void *pData) const
 // wxURLDataObject
 // ----------------------------------------------------------------------------
 
-
 class CFSTR_SHELLURLDataObject : public wxCustomDataObject
 {
 public: