All the news that fits, we print.
This is the 256th issue of the Wine Weekly News publication. Its main goal is to recover from the holidays. 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.org
This week, 196 posts consumed 969 K. There were 72 different contributors. 42 (58%) posted more than once. 27 (37%) posted last week too. The top 5 posters of the week were:
|
News: 'Trouble-Free Computing' | 01/01/2005 | Archive |
---|---|---|
News
Robin Miller has written a new book published by Prentice Hall, PTR titled "Point & Click Linux: Your Guide to Trouble-Free Computing" . Apparently using CrossOver Office is discussed in the book and SearchEnterpriseLinux.com covered that aspect briefly in an article. This seems to be the second part of a series, but I was unable to find the first part. |
Wine - A Look Ahead | 01/02/2005 | Archive |
---|---|---|
Status Updates
There's a lot of work being done on Wine right now, just about more than we've ever seen. Mike Hearn put together a really nice summary of things going on and where we're headed going into 2005: Happy new year everybody! Being the patch fetishist that I am, I couldn't help noticing that in December 2004 we cleared 8MB of patches: that's by far the largest since the current archives began in October 2000. The extra traffic came from a lot of places:
Now time for some crystal ball gazing. Here are some interesting patches we might be seeing in 2005:
Who knows what the new year will bring? More apps working out of the box, that's for sure! Have fun! Rein Klazes put together a graph showing how much Wine's codebase has grown: For those that like such statistics: |
DCOM Status Update and Roadmap | 01/06/2005 | Archive |
---|---|---|
Status Updates
Wine's DCOM implementation has been a thorn in the side for quite a while. It's an extremely difficult area to work on and it's not exactly something you can just blindly jump into. For that reason, you'll find a lot of suggestions for downloading Microsoft's DCOM implementation for Windows9x and use that. Since InstallShield installers need it, you'll find it's a common suggestion. A rewrite of Wine's DCOM has been planned for well over a year, work began last month, and patches have been coming in almost daily. Mike Hearn dropped a note to let everyone know what's going on: I thought I'd post an update on where Rob and I are up to, and where we're going. This is the plan that I have in my head, Rob may want to do things in a slightly different order etc so don't be surprised if we change some stuff around as a result of this email. We're currently reworking, extending and in some cases rewriting the code Marcus wrote originally to work more like native DCOM does. This means that new features and major improvements are *not* going to happen for a while, because before we can extend our support for DCOM we have to migrate to the same architecture that Microsoft uses internally. This has several benefits:
Getting to a more native-style architecture has already been started, but won't be finished for a while. Here are the steps we need to take, the ones marked with a * are already done, - [ed note: or a bullet ] means they are still to do.
I probably forgot some items as well. But as you can see we only just begun. Also remember that Rob may want to modify it and also we may change direction at any point to make stuff we want internally work (like native MSIv2 ...) Huw Davies is doing a lot of the work on widl, and this week posted an interesting patch: This adds preliminary support for typelib generation to widl. It's not enough to generate stdole32.tlb mainly because it doesn't cope with some of the builtin types, like VARIANT, properly yet. However it should be possible to generate simple typelibs (for testing the typelib marshaller for instance). I'm going to continue to work on this so let me know if you're interested in helping out. |
Removing DCOM From SourceForge | 01/03/2005 | Archive |
---|---|---|
Status Updates
Jeremy Newman found someone had made some changes to SourceForge and wondered why: Somebody removed dcom95.exe from sf.net. Was there a reason for that? We really need to keep that file mirrored. It's an essential file for many programs to run under wine. I've re-added the file as a hidden file for the moment. It won't show up in the download list, but we can still link to it. Ivan Leo Puoti took responsibility, There is a very precise reason for that, according to the sf rules you must provide the source code of all binaries hosted there, and all files must comply to the open source definition. I think that ignoring this rule would be an abuse of sf resources, and disrespectful to other projects. I can host the file elsewhere if you think we must have a mirror for it. Ivan mirrored the file on his own site, but Newman wanted reliable US and international mirrors. Shachar Shemesh suggested just asking SourceForge if we could host it there, so Ivan tried. The response he got back was a definitive no . A lot of people were mad at Ivan, including Mike Hearn: Really Ivan, you may be technically in the right here, but the fact is you should absolutely have discussed this on wine-devel first. That file is referenced by various third party scripts/howtos and such, I know this because I've written these things before. By taking this matter into your own hands and not discussing it first you went behind the backs of the community and broke a lot of code and documentation by doing so. My IE installer script is one example iirc, but I'm sure there are others. Your admin access on Sourceforge is so you can upload the Mandrake RPMs, it is *not* so you can interfere with decisions that were made a long time ago at will. Please remember that in future. Ivan pointed out he did ask, Hem, Mike I did ask about this on wine-devel and got no answers. I am *not* the sort of person that would take decisions like that one without discussing it first, but as nobody answered I thought nobody cared, it is not my intent to interfere with anything. I just don't think it's nice to violate the sf.net rules, and I believe it's disrespectful to other projects. Closed source files can be useful to linux users, but this is no excuse. If the wine community thinks the sf TOS isn't important, fine, but I disassociate myself from such a decision. Jeremy White apologized: I was puzzled by this, because I shared Mike's concern that you unilaterally removed this file, and it seemed abrupt and unannounced to me as well. So I searched around, and I see that you brought this up in April, and then nicely followed through by submitting patches to change Wine to not point to SF, but instead to Microsoft. So, I guess that the only thing we could have asked is if you had posted a note saying something to the effect 'okay, guys, now that I cleaned up the code to not point to SF, I'm removing the file now...', which would have wacked us with the clue bat. And it's a bit tough to ask us to remember things 8 months out of context... But it is clear to me that you did try to do 'the right thing', and we jumped down your throat a bit too quickly. Sorry about that. As it stands, SourceForge no longer hosts the dcom95.exe archive and several alternative sites have been provided, including:
|
Another Kernel Issue | 01/01/2005 | Archive |
---|---|---|
Integration
We've covered some kernel related problems over the past few months and last week (WWN #255 ) it seemed like all the issues were taken care of. One issue, reported by Thomas Sailer and fixed by Mike Hearn, remains open though. Mike explained the problem with his solution: I'm afraid Alexandre has decided not to apply this patch (the ABI personality syscall). His reasoning is as follows:
Could you upload a +relay,+tid,+seh,+msgbox trace somewhere please? Of course if you could investigate it yourself that'd be the best thing. I wasn't sure whether to CC some kernel people or not, but it seems from previous threads that the ABI personality syscall system is meant for people like us who are trying to keep "legacy" binaries working. Unfortunately this sort of unbreak-me-please flag isn't really what we need/want from the kernel. Also a precise description of what flex-mmap does would be good. Google wasn't too informative, best I could get was that it means mmap allocates from the "top" of the address space down. But where is the top exactly? Andrew Morton explained the new mmap procedure: Ingo has described it thus: before:
0x08xxxxxx ... brk area 0x40000000 ... start of mmap, new mmaps go after old ones 0xbfxxxxxx ... stack after:
0x08xxxxxx ... brk area 0xbfxxxxxx ... _end_ of all mmaps, new mmaps go below old ones 0xbfyyyyyy ... stack the 'after' layout guarantees that brk area (malloc()) can grow unlimited and mmap() can grow unlimited - they will meet somewhere inbetween when almost all of the VM is used up. [the 'top' of the mmaps in the 'after' layout is constrained by the stack ulimit - the stack must still fit and we never allocate into the stack's yet unallocated and growable hole.] with the 'before' layout we've got 900 MB for brk() and 1.9GB for mmaps() - a rigid limit. Ingo Molnar offered a workaround: another workaround to switch off flex-mmap is to set the stack ulimit to 'unlimited':
saturn:~> cat /proc/self/maps | tail -7
e.g. SuSE defaults to an unlimited stack so flex-mmap is effectively disabled there. To set the VM to legacy, for all apps, set /proc/sys/vm/legacy_va_layout to 1. With regards to creating a new mmap API mentioned by Mike, Alexandre described what he'd like to see: Probably the easiest would be to have a way for an app to specify the mmap range it wants. So instead of having the kernel try to guess from brk and stack ulimit, both of which are meaningless for Win32 apps, we could set the range from "end of win32 exe" to 0x7ff0000. This would also avoid the need to preallocate everything above 0x80000000 that we currently do and that plays havoc with address space limits. |
All Kernel Cousin issues and summaries are copyright their original authors, and distributed
under the terms of the
GNU General Public License,
version 2.0.