Hi!
I checked this and it is all wrong,,,,, I reverted part of revision 19267:
Replacing the code with the original wine code that behaves like
"Windows code" but should be called inside EngCreateBitmap if (pvBits)
Width = DIB_GetDIBWidthBytes( lWidth, iFormat); .
As it should be:
INT FASTCALL DIB_GetDIBWidthBytes (INT width, INT depth)
{
// return ((width * depth + 31) & ~31) >> 3;
int words;
switch(depth)
{
case 1: words = (width + 31) / 32; break;
case 4: words = (width + 7) / 8; break;
case 8: words = (width + 3) / 4; break;
case 15:
case 16: words = (width + 1) / 2; break;
case 24: words = (width * 3 + 3)/4; break;
default:
DPRINT1("(%d): Unsupported depth\n", depth );
/* fall through */
case 32:
words = width;
}
return 4 * words;
}
On Sat, May 31, 2008 at 7:15 PM, <tkreuzer(a)svn.reactos.org> wrote:
> Author: tkreuzer
> Date: Sat May 31 18:15:34 2008
> New Revision: 33792
>
> URL: http://svn.reactos.org/svn/reactos?rev=33792&view=rev
> Log:
> preserve code for NtGdiCreateEnhMetaFile from win32k (where it's going to be removed later) in gdi32 (where it's going to be implemented later)
if your going to implement it all in usermode are you going to try to
just rip the Wine metafile and enhanced metefile drivers?
Thanks
--
Steven Edwards
"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo
I hope everyone is clear in his mind about the fact that this makes up
20 % of the complete reactos source or in other words increases the size
of the code by 25% ...
> [ros-diffs] [hyperion] 33703: added nls added nls/3rdparty added nls/3rdparty/icu We
> officially welcome IBM's excellent ICU4C library for Unicode support to
> our humble source tree. May our marriage be long, happy and fertile.
>
>
Hi,
Owner Menu Drawing if I remember right, which allows application to
draw their own menus. Yes that is right! Not all applications use MDI.
Well, it is now all broken (It was in a state of NEAR DO WELL). I
understand the reason for wine testing but please understand What You
See Is What You Get.
>From the debug output:
IntSetMenuItemInfo: Invalid combination of fMask bits used
It draws a small little box with the line separators. 8^' looks cute~
I need to stay focus on the issues I'm working on,, please help me by
fixing this new issue, please don't send me patches,
8^)
James
On Thu, May 29, 2008 at 9:27 PM, <greatlrd(a)svn.reactos.org> wrote:
> Author: greatlrd
> Date: Thu May 29 20:27:29 2008
> New Revision: 33764
>
> URL: http://svn.reactos.org/svn/reactos?rev=33764&view=rev
> Log:
> 1. do not use wine def for reactos
> 2. this is almost 100% correct list of windows 2003 export list of msvcrt.def and it will make abiword working again for it was missing api wfreopen and allot more api from msvcrt
> 3. this add back api that was remove api they exists in windows 2003 export list
> 4. List was provide from colin f
>
> See issue #3293 for more details.
I'd suggest putting a comment at the top of the def so that in the
future someone won't make this mistake again. Any idea why it works on
Wine with the missing exports but not ReactOS?
--
Steven Edwards
"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo
Hi,
Could it be easier to just:
static GDIDEVICE PrimarySurface;
PGDIDEVICE pPrimarySurface = &PrimarySurface;
then use pPrimarySurface through out? I will have to rewrite
everything later to support the new HDEV code.
IDEA~! Stefan100 theres a good patch! ;^D
Thanks,
James
On May 28, 2008, at 4:41 AM, tkreuzer(a)svn.reactos.org wrote:
> 1.28: Jonathan Ernst <jonathan(a)ernstfamily.ch>
> Update the address of the Free Software Foundation.
This should fix a lot of crashes, since many apps would try to
dereference FSF's address, but it would be invalid!
:-)
WBR,
Aleksey Bragin.
On Fri, May 23, 2008 at 1:55 PM, <fireball(a)svn.reactos.org> wrote:
> - msiexec is GUI app, not CUI.
Is this a Wine bug then? It has it listed as a console based
application. When you run msiexec directly on Windows I know it does
not start a console window so I guess this would imply it is a GUI
with a hidden window right?
--
Steven Edwards
"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo
On Tue, May 20, 2008 at 8:53 AM, <dchapyshev(a)svn.reactos.org> wrote:
> +#include "../kbswitch.h"
Could you set an include path and remove the ../ from the source?
gnumake throws a fit with parallel makes and relative paths.
--
Steven Edwards
"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo