What was wrong with a previous naming convention?
x0gone.c were supposed to contain implementation of functions, which
became legacy in that major version of NDIS. Now you substituted it
with x0stubs.c, which means it's going to contain stubs only. Was
that intentionally?
On Mar 21, 2009, at 12:29 AM, cgutman(a)svn.reactos.org wrote:
> Author: cgutman
> Date: Sat Mar 21 00:29:53 2009
> New Revision: 40142
>
> URL: http://svn.reactos.org/svn/reactos?rev=40142&view=rev
> Log:
> - Reorganize NDIS code
>
> Added:
> trunk/reactos/drivers/network/ndis/ndis/30stubs.c
> - copied, changed from r40140, trunk/reactos/drivers/network/
> ndis/ndis/40gone.c
> trunk/reactos/drivers/network/ndis/ndis/40stubs.c
> - copied, changed from r40141, trunk/reactos/drivers/network/
> ndis/ndis/50gone.c
> trunk/reactos/drivers/network/ndis/ndis/50stubs.c
> - copied, changed from r40113, trunk/reactos/drivers/network/
> ndis/ndis/stubs.c
> trunk/reactos/drivers/network/ndis/ndis/misc.c (with props)
> Removed:
> trunk/reactos/drivers/network/ndis/ndis/40gone.c
> trunk/reactos/drivers/network/ndis/ndis/50gone.c
> trunk/reactos/drivers/network/ndis/ndis/stubs.c
Hi,
1.) Is there a reason, why some exports of advapi32 are forwarded
instead of just set to the proper function? Forwarding is more work for
the loader.
2.) kernel32 imports from itself. Which will probably lead to the same
result as bug 4292.
This is because the mingw lib imports from kernel32 and requires
kernel32 library to be added afterwards. But rbuild likes to add mingw
lib at the very end of the library list which requires adding kernel32
as a library to mingw_common to resolve imports. This should be fixed
and mingw added as the very first library.
I wonder if those 2 are even allowed on Windows, as both don't make sense.
Timo
Hi All!
Good to see it go, I had it in as a safeguard, and now we moved on to
the next phase of the rewrite!
Thanks Timo!
James
8^D
On Fri, Mar 20, 2009 at 4:47 AM, Aleksey Bragin <aleksey(a)reactos.org> wrote:
> Oh, finally! ;)
>
> On Mar 20, 2009, at 7:51 AM, tkreuzer(a)svn.reactos.org wrote:
>
>> Author: tkreuzer
>> Date: Fri Mar 20 07:51:26 2009
>> New Revision: 40115
>>
>> URL: http://svn.reactos.org/svn/reactos?rev=40115&view=rev
>> Log:
>> rename DCs pDc_Attr to pdcattr, like in gdikdx.
>> Make pdcattr alsways point to a DC_ATTR, either the user mode
>> struct or the local part. Get rid of all the If (!pdcattr) pdcattr
>> = &dc->Dc_Attr; That are not required anymore.
>
Oh, finally! ;)
On Mar 20, 2009, at 7:51 AM, tkreuzer(a)svn.reactos.org wrote:
> Author: tkreuzer
> Date: Fri Mar 20 07:51:26 2009
> New Revision: 40115
>
> URL: http://svn.reactos.org/svn/reactos?rev=40115&view=rev
> Log:
> rename DCs pDc_Attr to pdcattr, like in gdikdx.
> Make pdcattr alsways point to a DC_ATTR, either the user mode
> struct or the local part. Get rid of all the If (!pdcattr) pdcattr
> = &dc->Dc_Attr; That are not required anymore.
Hi,
I's like to suggest a workaround to the problem that we have to deal
with both RECT and RECTL structures in win32k and as they
are incompatible need to typecast in a lot of places.
RECTL is what the DDI interface uses (almost) exclusively. While the
NtGdi Interface and a lot of User structures also use RECT.
Both structures are equal, but not compatible when it comes to assigning
one to another, So we need to do all these nasty typecasts.
My suggestion is adding some defines after the inclusion of windef.h:
#define RECT RECTL
#define PRECT PRECTL
#define LPRECT LPRECTL
#define LPCRECT LPCRECTL
same for POINT and POINTL
I'd like to hear your opinion on that.
Thanks,
Timo
Looking at the patch only this looks wrong to me.
Assuming this is radio button it should use the marlett font.
Ged.
-----Original Message-----
From: ros-diffs-bounces(a)reactos.org [mailto:ros-diffs-bounces@reactos.org] On Behalf Of mkupfer(a)svn.reactos.org
Sent: 04 March 2009 16:30
To: ros-diffs(a)reactos.org
Subject: [ros-diffs] [mkupfer] 39871: Sascha Clausen <r4v3r AT hotmail DOT de> - Draw bullet for menu radio group. - See issue #4193 for details.
Author: mkupfer
Date: Wed Mar 4 19:29:57 2009
New Revision: 39871
URL: http://svn.reactos.org/svn/reactos?rev=39871&view=rev
Log:
Sascha Clausen <r4v3r AT hotmail DOT de>
- Draw bullet for menu radio group.
- See issue #4193 for details.
Modified:
trunk/reactos/dll/win32/user32/windows/draw.c
Modified: trunk/reactos/dll/win32/user32/windows/draw.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/d…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/draw.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/draw.c [iso-8859-1] Wed Mar 4 19:29:57 2009
@@ -1276,11 +1276,12 @@
yc = myr.top + SmallDiam - SmallDiam/2;
i = 234*SmallDiam/750;
i = i < 1 ? 1 : i;
- myr.left = xc - i+i/2;
+ myr.left = xc - i/2;
myr.right = xc + i/2;
- myr.top = yc - i+i/2;
+ myr.top = yc - i/2;
myr.bottom = yc + i/2;
- Pie(dc, myr.left, myr.top, myr.right, myr.bottom, xe, ye, xe, ye);
+ // if the start and the end point are equal, Pie() only draws a single line, so start one pixel lower
+ Pie(dc, myr.left, myr.top, myr.right, myr.bottom, xe, ye+1, xe, ye);
break;
case DFCS_MENUCHECK:
It's not UserDrawIconEx which is hacky, it's just the code you added for detecting alpha pixels
Ged.
-----Original Message-----
From: ros-diffs-bounces(a)reactos.org [mailto:ros-diffs-bounces@reactos.org] On Behalf Of mkupfer(a)svn.reactos.org
Sent: 13 March 2009 00:21
To: ros-diffs(a)reactos.org
Subject: [ros-diffs] [mkupfer] 39997: - Add a hackfix comment for issue #4243 due to several requests.
Author: mkupfer
Date: Fri Mar 13 03:20:48 2009
New Revision: 39997
URL: http://svn.reactos.org/svn/reactos?rev=39997&view=rev
Log:
- Add a hackfix comment for issue #4243 due to several requests.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c [iso-8859-1] Fri Mar 13 03:20:48 2009
@@ -1389,6 +1389,7 @@
}
+/* FIXME: ReactOS specific hack */
BOOL
UserDrawIconEx(
HDC hDc,