All the news that fits, we print.
Crtdll Implementation | Archive | |
---|---|---|
Patrik Stridvall sent out a RFC about the implementation of the CRTDLL and
the way to use functions (and function prototypes) defined both by Windows
in CRTDLL and the underlying Unix OS libc.
Editor's note: for clarity, the reader must not be confused by
native
. Here, it does not refer to Windows's libraries being used by
Wine, but rather the host OS libraries being used by Wine.
What Patrik wants to achieve is something like:
CRTDLL calls libc
Other parts of Wine calls CRTDLL when ever possible.
We needn't do 2 if we doesn't want to.
To provide at least the step 1/, Patrick proposed:
#include <stdio.h> /* libc */
#include "native/stdio.h" /* libc */
|
CRTDLL implementation | Archive | |
---|---|---|
Albert den Haan also discussed about memory allocation under Wine:
#include "internal/stdio.h"
and if you want the native version you do #include "native/stdio.h"
The files can be made work in two different modes depend on the current configuration.
#include <stdio.h>
to #include "internal/stdio.h"
and fixing the compile errors and in some cases bugs due to CRTDLL libc differences. When (2) works and if we decide to dump support for (1) remove the -I- option and just rename all #include "internal/stdio.h" to #include <stdio.h> since the internal stdio.h has priority over the native stdio.h. Of course we have to rename the #include <stdio.h> include in native/stdio.h to #include "/usr/include/stdio.h" but it doesn't matter since it is a generated files anyway and thus we can have configure easily change the path on system that the libc include is not /usr/include. |
Binary resources and CVS | Archive | |
---|---|---|
Francis Beaudet asks how I would go about
submitting a BMP (or any binary file) to the CVS tree.
Ulrich Weigand proposed to distribute
bitmaps in XPM format (which is source code), and either use
tools (like netpbm) to convert them to BMP by Makefile rules,
or maybe even teach wrc to load bitmaps from XPM format directly
(and convert them to BMP in the binary resource format)?
Patrik Stridval disliked the use of netpbm for porting
issues. He'd rather see wrc convert XPM to BMP.
Bertho Stultiens agreed that wrc
should handle xpm format automagically., and asks for a
small and easy library to do it (out of ImageMagic which is
too large). Ulrich Weigand proposed libXpm, but noted that it would
introduce dependency on libX11 itself as well.
Ove Kåven rather proposed to embed bitmaps as hex codes as
Borland's Resource Workshop does. Bertho Stultiens confirmed that
wrc knows about this syntax.
Pavel Roskin reminds some option from CVS:
cvs add -kb picture.bmp
"-kb" means that the file should be treated as binary. Merging, keyword
expansion and LF-CRLF conversion are disabled for such files.
|
Wine clipboard enhancement plan | Archive | |
---|---|---|
Noel Borthwick he's looking into making some changes
to the windows clipboard code in order to allow the wine clipboard to
integrate better with the X clipboard.
He proposed (for comments):
err:heap:HeapValidate Heap 40330000: block 40903ba0 is not inside heap
That's why it works (usually) in the other direction. When another
application has placed data in the X clipboard, and a Wine
application request data from clipboard, there is no X event,
and so there is no context change. But you can't copy from a
Wine application since when the other application request data,
Wine can't find the data (it is searching it in the wrong heap)
Now, how to fix ? To do it, it would be necessary to implement
a shared memory scheme and control the access through the wine
server (this is a citation of Ulrich Weygand; I have absolutely no
idea of how implement it in fact).
So a true solution will (probably) to wait for the completion of
the separation of address spaces; at this moment, I presume that
the Wine gurus will implement some mechanisms to share memory
and then the clipboard will work like it should.
|
Address Space Separation / Stability vs Correctness | Archive | |
---|---|---|
Gavriel State expressed some concerns regarding address spaces:
|
DOS memory mapping (and some bits of paranoia) | Archive | |
---|---|---|
Ian Schmidt reported some crash while running Excel 2000:
|
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.