Wine Traffic #202 For 26 Dec 2003 By Brian Vincent Table Of Contents * Standard Format * Text Format * XML Source * Introduction * Mailing List Stats For This Week * Threads Covered 1. 20 Dec 2003 - 26 Dec 2003 (1 News: CrossOver Plugin 2.1.0 post) 2. 22 Dec 2003 - 24 Dec 2003 (3 Setting Up MinGW Cross-Compiling posts) Environment 3. 24 Dec 2003 (1 Critical Section Document post) 4. 25 Dec 2003 (3 Wine's RichEdit Control Sucks posts) 5. 19 Dec 2003 (2 Winamp 3 Source Released posts) Introduction This is the 202nd issue of the Wine Weekly News publication. Its main goal is to give Santa something to read while he drives his sleigh. It also serves to inform you of what's going on around Wine. Wine is an open source implementation of the Windows API on top of X and Unix. Think of it as a Windows compatibility layer. Wine does not require Microsoft Windows, as it is a completely alternative implementation consisting of 100% Microsoft-free code, but it can optionally use native system DLLs if they are available. You can find more info at www.winehq.com (http://www.winehq.com) Mailing List Stats For This Week We looked at 145 posts in 545K. There were 41 different contributors. 26 posted more than once. 21 posted last week too. The top posters of the week were: * 15 posts in 36K by Mike Hearn * 14 posts in 42K by Dimitrie O. Paun * 9 posts in 57K by Boaz Harrosh * 9 posts in 56K by Kevin Atkinson * 9 posts in 24K by Dmitry Timoshkov * Full Stats 1. News: CrossOver Plugin 2.1.0 20 Dec 2003 - 26 Dec 2003 (1 post) Archive Link: "News" Topics: News People: Jeremy White, CodeWeavers, , codeweavers, News CodeWeavers had a last minute gift for everyone. On Tuesday they released CrossOver Plugin 2.1. An official press release appears to still be in the making. Jeremy White emailed an announcement (http://crossover.codeweavers.com/ pipermail/announce/2003-December/000019.html) that included the following: This release is primarily intended as a maintenance release; it brings forward some of the internal system changes we made for CrossOver Office so that the Plugin should work on all Linux distributions again. It also has a range of bug fixes, and supports updated versions of various plugins. A full changelog is in line, below. There's some interesting threads I didn't cover this week. You'll just have to read the archives (http://www.winehq.com/hypermail/wine-devel/2003/12/) for the details. Merry Christmas! 2. Setting Up MinGW Cross-Compiling Environment 22 Dec 2003 - 24 Dec 2003 (3 posts) Archive Link: "MinGW cross compilation enviroment setup" Topics: Build Process People: Michael Stefaniuc, Boaz Harrosh, Ferenc Wagner, Michael Stefaniuc put together a short recipe for setting up a MinGW cross-compiling environment. This would be useful if you wanted to do something like compile Wine's test suite on Linux in order to run it on Windows: Here are the steps needed to setup a MinGW on a Red Hat Linux like rpm based system (Fedora Core, Mandrake Linux, ... should probably work even on a SuSE Linux) * Download the mingw-binutils and mingw-gcc srpm's from http://ftp.redhat.com /pub/contrib/libc6/SRPMS/ (http://ftp.redhat.com/pub/contrib/libc6/SRPMS/) * Download the mingw-3.0-1.src.rpm srpm from http://ftp.redhat.com/pub/ contrib/libc6/noarch/SRPMS/ (http://ftp.redhat.com/pub/contrib/libc6/noarch /SRPMS/) * Build the mingw and mingw-binutils rpm's (rpmbuild --rebuild $SRPM) and install them. * After the above step you can build the mingw-gcc rpm too. Install it. * That's almost everything: you need this patch (http://people.redhat.com/ mstefani/wine/patches/mingw.diff) for wine's configure to make it find your mingw binaries. * For instructions how to build the Wine tests for Windows see the Wine Documentation. You may want to try your local Red Hat mirror for the above srpm's. This info can be found also on http://people.redhat.com/mstefani/wine/ (http:// people.redhat.com/mstefani/wine/) Boaz Harrosh added, " Just a side note, if we are at the subject. One can download the full package of "MinGW Developer Studio" (http://www.parinya.ca) It comes complete with a compiled tool chain. The Installer runs flawlessly under wine. And so is the Dev-Studio and the compiler. (1:0) for wine. The only thing that does not work is MinGW-gdb. One day I intend to check this code out and fix this area on wine. " Ferenc Wagner described the setup process for Debian: And here are the steps needed to setup MinGW on Debian Woody (stable) (hope I remember correctly and you have unstable in sources.list): # apt-get install mingw32 mingw32-runtime/unstable 3. Critical Section Document 24 Dec 2003 (1 post) Archive Link: "Useful document on critical sections" Topics: Documentation People: Mike Hearn, If you've ever seen the term "critical section" and wondered what that meant, Mike Hearn found an article that may interest you: I found this article: http://msdn.microsoft.com/msdnmag/issues/03/12/CriticalSections/ (http:// msdn.microsoft.com/msdnmag/issues/03/12/CriticalSections/) There are two points of interest that we don't seem to cover: * RtlpWaitForCriticalSection will NOT block if the process is shutting down and the wait is on the loader lock. I've seen a fair few times when an app deadlocks on shutdown on the loader lock - could this be the cause? * The loader lock is stored at offset 0xA0 in the PEB. I doubt this is important, but now the info is published murphies law says one day an app will try and get to it directly. 4. Wine's RichEdit Control Sucks 25 Dec 2003 (3 posts) Archive Link: "Yeah - our RichEDit needs some work" Topics: Architecture People: Subhobroto Sinha, Joshua Walker, , Microsoft Microsoft's Rich Edit (http://msdn.microsoft.com/library/default.asp?url=/ library/en-us/shellcc/platform/commctls/richedit/richeditcontrols.asp) controls are responsible for everything from text entry to paragraph formatting. A good example would be things "Wordpad" does. Subhobroto Sinha had a gripe about the status of Wine's builtin version: Actually, I noticed this many times before (text not displaying at all in a RichEdit control..) I am one of those (un)fortunate enough to not have a real Windows, and often download Win32 freeware to see how WINE's doing from time to time... IMHO, one of the best tests are Steve Gibson's (www.grc.com (http://www.grc.com ) ) freeware tools - this guy writes in pure ASM. and thus we can be sure that his code will be the least messy (lesser MS stuff..) However, if you try his 'Wizmo' or 'DCOMObulator', you will see that the RichEdit textareas as blank ! Joshua Walker wrote back with a pointer to a possible resource: If you need the source of a program that can uses RTF as it's native format, can spit out microsoft-compatible RTF files, has all the tools for editing Rick Text, and the source is aviliable in C... then use the Source for "Ted" http://www.nllgg.nl/Ted/ I would toss it in myself, but I suck a coding. I wouldn't even know where to begin. Good ol' ted. A long, long time ago it was my favorite editor (for a month.) Still, the properties of ted would might be a good starting point for working on this control. Any volunteers? 5. Winamp 3 Source Released 19 Dec 2003 (2 posts) Archive Link: "Winamp 3" Topics: Winelib People: Brian Vincent, I posted the following note because I thought it was interesting: Looks like Nullsoft has released the Winamp 3 code as open source. I have no idea what their build process is like, but maybe porting it could be added to the Winelib page? http://www.wasabidev.org/ Dimi replied with a short blurb for the Winelib page. Sharon And Joy Kernel Traffic is grateful to be developed on a computer donated by Professor Greg Benson and Professor Allan Cruse in the Department of Computer Science at the University of San Francisco. This is the same department that invented FlashMob Computing. Kernel Traffic is hosted by the generous folks at kernel.org. All pages on this site are copyright their original authors, and distributed under the terms of the GNU General Public License version 2.0.