Commit graph

26170 commits

Author SHA1 Message Date
Ged Murphy
0c529df2e0 simplify some code
svn path=/trunk/; revision=28472
2007-08-23 14:57:44 +00:00
Magnus Olsen
520d244fe2 create stub for both CreateCompatibleDC and CreateCompatibleBitmap instead for redirect them, they need share memory, and it need do some stuff in user mode
svn path=/trunk/; revision=28470
2007-08-23 14:02:10 +00:00
Magnus Olsen
ed494d70d2 remove redirect of CombineRgn and CreateBitmap some part are need be done in user mode. not in win32k,
implement it as stub, and doing the syscall until some got time review and rewrite this code right

svn path=/trunk/; revision=28469
2007-08-23 12:54:09 +00:00
Magnus Olsen
0c8c94eb0d sorry fixed break in comping
svn path=/trunk/; revision=28468
2007-08-23 12:43:06 +00:00
Magnus Olsen
14b913746c Redirect : BRUSHOBJ_pvGetRbrush@4 to NtGdiBRUSHOBJ_pvGetRbrush@4
Redirect : BRUSHOBJ_ulGetBrushColor@4 to NtGdiBRUSHOBJ_ulGetBrushColor@4
Redirect : CLIPOBJ_bEnum@12 to  NtGdiCLIPOBJ_bEnum@12
Redirect : CLIPOBJ_cEnumStart@20  to  NtGdiCLIPOBJ_cEnumStart@20
Redirect : CLIPOBJ_ppoGetPath@4 to NtGdiCLIPOBJ_ppoGetPath@4

svn path=/trunk/; revision=28467
2007-08-23 12:10:13 +00:00
Magnus Olsen
46fb3ca2dc Implement stub : NtGdiCLIPOBJ_bEnum
Implement stub : NtGdiCLIPOBJ_cEnumStart
Implement stub : NtGdiCLIPOBJ_ppoGetPath
Implement stub : NtGdiBRUSHOBJ_ulGetBrushColor
Implement stub : NtGdiBRUSHOBJ_pvAllocRbrush
Implement stub : NtGdiBRUSHOBJ_pvGetRbrush

svn path=/trunk/; revision=28466
2007-08-23 12:07:37 +00:00
Magnus Olsen
94e74e9b8b Bugfix : AddFontResourceExW, SetLastError to invaild param when the fl are not set.
Redirect : AnyLinkedFonts@0 to NtGdiAnyLinkedFonts@0 (stubed in win32k)
Redirect : BRUSHOBJ_hGetColorTransform@4 to NtGdiBRUSHOBJ_hGetColorTransform@4 (stubed in win32k)
Redirect : BRUSHOBJ_pvAllocRbrush@8 to  NtGdiBRUSHOBJ_pvAllocRbrush@8  (stubed in win32k)
partly working : GdiAddFontResourceW is parttly working but it does not works as windows version, instead for being stub, it is not finish implementions of it. This is nassry to clean up some mess. 


svn path=/trunk/; revision=28465
2007-08-23 09:52:31 +00:00
Magnus Olsen
851f4ff721 adding stub for NtGdiAnyLinkedFonts, NtGdiBRUSHOBJ_hGetColorTransform, NtGdiBRUSHOBJ_pvAllocRbrush
svn path=/trunk/; revision=28464
2007-08-23 09:44:26 +00:00
Aleksey Bragin
1ca48793e3 Dmitry Chapyshev <lentind@yandex.ru>:
- Add a shortcut to a charmap tool, create start menu group for it.

svn path=/trunk/; revision=28463
2007-08-23 09:05:04 +00:00
Aleksey Bragin
ade3d4b9af Dmitry Chapyshev <lentind@yandex.ru>
- Change control panel icon to a better one

svn path=/trunk/; revision=28462
2007-08-23 08:05:05 +00:00
James Tabor
81666beff6 Add NtGdiFlushUserBatch callback.
svn path=/trunk/; revision=28461
2007-08-23 01:51:22 +00:00
Timo Kreuzer
dd008296b0 maze as a screensaver ;-)
svn path=/trunk/; revision=28460
2007-08-23 00:43:25 +00:00
Timo Kreuzer
95ba212738 - NtGdiAnimatePalette, NtGdiGe/SetPaletteEntries, NtGdiGetSystemPaletteEntries, NtGdiGet/SetDIBColorTable: rename into IntXxx, remove SEH and remove functions from w32ksvc.db
- implement NtGdiDoPalette calling the Int functions using SEH & ProbeForXxx and add it to w32ksvc.db
- change parameters of NtGdiDoPalette: HPALETTE -> HGDIOBJ, as it also accepts HDC, LPPALETTENTRY -> LPVOID as it also accepts RGBQUAD*
- implement stub functions in gdi32.dll calling NtGdiDoPalette instead of redirecting to the old NtGdixxx functions
- update ntgdibad.h


svn path=/trunk/; revision=28459
2007-08-23 00:31:26 +00:00
Timo Kreuzer
e2167fe00e one more TEST -> RTEST for NtGdiGetRandomRgn
svn path=/trunk/; revision=28458
2007-08-23 00:20:30 +00:00
Timo Kreuzer
3385ef604e some tests for NtGdiDoPalette
svn path=/trunk/; revision=28457
2007-08-23 00:19:00 +00:00
Timo Kreuzer
d99309335f win32k syscall dlls for win xp and 2k
svn path=/trunk/; revision=28456
2007-08-22 21:49:49 +00:00
James Tabor
28dafc3348 - Removed NtGdiGetDIBits from w32ksvc.db and updated ntgdibad.h.
- Created support function for GetDIBits when calling NtGdiGetDIBitsInternal.
- Connected the gdi32 parts.

svn path=/trunk/; revision=28455
2007-08-22 19:45:06 +00:00
Johannes Anderwald
12d4e8967e - fix description by Pierre Schweitzer (heis spiter at hotmail com)
svn path=/trunk/; revision=28454
2007-08-22 18:29:20 +00:00
Hervé Poussineau
00ea7e6ada Move generic part of ReactOS-$(ARCH).rbuild to ReactOS-generic.rbuild
svn path=/trunk/; revision=28453
2007-08-22 15:06:43 +00:00
James Tabor
33c9fa8993 Removed NtUserReleaseDC, replaced it with CallOneParam.
svn path=/trunk/; revision=28452
2007-08-22 14:12:55 +00:00
Art Yerkes
01d8c61545 Bug found by arty, thanks to alex for helping fix it:
Process termination fixes part 1: don't suicide our process when we're killing
a sibling.

 - Clarify the use of KillByHandle.  It does *not* mean "suicide".
 - In fact, we had considered the use of KillByHandle backward, that is,
   our process would commit suicide if it was killing a sibling process.
 - Make suicide contingent on killing the same process.
 - Properly handle DBG_TERMINATE_PROCESS semidocumented debugger hack.

svn path=/trunk/; revision=28451
2007-08-22 07:28:45 +00:00
James Tabor
2858198372 Win32 User32 rewrite example.
svn path=/trunk/; revision=28450
2007-08-22 02:54:22 +00:00
James Tabor
7dc8712f1b Cleanup, dont call inside SEH with SEH. IntGdiModifyWorldTransform calls DC_UpdateXforms which calls DCU_UpdateUserXForms and it calls SEH. Moved NtGdiFlush to dcutil.c
svn path=/trunk/; revision=28449
2007-08-21 23:27:44 +00:00
Johannes Anderwald
272d2be738 - Some typos and fixes for greek resource file for ncpa by Apostolos Alexiadis aka Apal (djapal at gmail dot com)
See issue #2582 for more details.

svn path=/trunk/; revision=28447
2007-08-21 16:34:23 +00:00
James Tabor
1deecb4b19 - Removed NtGdiSetMapMode from w32ksvc.db and updated ntgdibad.h.
- Moved NtGdiSetMapMode to an internal function.
- Changed NtGdiPaintRgn and added IntdiPaintRgn.
- Cleaned up win32k path.c.
- Connected the gdi32 parts.


svn path=/trunk/; revision=28446
2007-08-21 09:28:51 +00:00
James Tabor
c27ffbed0c Sorry missed this one. Turn it off.
svn path=/trunk/; revision=28445
2007-08-21 07:45:02 +00:00
James Tabor
1cdbcdc32e Turn Dc_Attr off.
svn path=/trunk/; revision=28444
2007-08-21 07:21:26 +00:00
James Tabor
ba4d4c6863 Turn off copy to user for now.
svn path=/trunk/; revision=28443
2007-08-21 06:47:49 +00:00
James Tabor
e308fab607 - Started the use of DC_ATTR. Created dcutil.c to handle xfers. I choose XForms this time and still trouble shooting it. If anyone wants to join in and help. Optimize syncing the data packets, add more, etc. Don't be shy!
- Removed NtGdiGetWorldTransform from w32ksvc.db and updated ntgdibad.h.
- Implemented GetTransform redirect to NtGdiGetTransform.
- Connected the gdi32 parts.


svn path=/trunk/; revision=28442
2007-08-21 05:01:00 +00:00
James Tabor
e2e96c6bc8 Bug patch 2382 by Zavyalov Alexey. GetCurrencyFormatW() added superfluous group sign in negative numbers and reformatting code.
svn path=/trunk/; revision=28441
2007-08-20 22:55:48 +00:00
Johannes Anderwald
d708f1133e - Some typos and fixes for greek resource file for newdev by Apostolos Alexiadis aka Apal (grad0621 at di dot uoa dot gr)
See issue #2576 for more details.

svn path=/trunk/; revision=28440
2007-08-20 22:29:40 +00:00
Johannes Anderwald
12fb19e113 - set check when theres a timeout
svn path=/trunk/; revision=28439
2007-08-20 22:10:55 +00:00
Johannes Anderwald
7f430604fd - implement writing startup recovery options
svn path=/trunk/; revision=28438
2007-08-20 22:01:54 +00:00
Johannes Anderwald
4871c23639 - implement reading startup / recovery options
svn path=/trunk/; revision=28437
2007-08-20 21:41:05 +00:00
Magnus Olsen
0b103054a4 Fix NtUserGetClipboardViewer in w32ksvc a smaller typo
svn path=/trunk/; revision=28436
2007-08-20 21:02:25 +00:00
Johannes Anderwald
e7fd85126b - support reading multiple boot configuration
- support saving prefered boot configuration (freeldr / boot ini style)
- parsing of boot options needs to be done

svn path=/trunk/; revision=28433
2007-08-20 19:21:54 +00:00
Magnus Olsen
7253f38afd Remove some expremnt code, need rehink how I can get current range of video memory pointer
svn path=/trunk/; revision=28432
2007-08-20 15:17:06 +00:00
Hervé Poussineau
07277867b0 Fix typo
svn path=/trunk/; revision=28431
2007-08-20 12:06:12 +00:00
Hervé Poussineau
bd443f4d74 Add rbuild file for winsta.dll, and add it to bootcd
See issue #2574 for more details.

svn path=/trunk/; revision=28430
2007-08-20 09:34:18 +00:00
Johannes Anderwald
7a1bf66462 - update available software items in configuration file by Pierre Schweitzer (heis_spiter at hotmail com)
See issue #2566 for more details.

svn path=/trunk/; revision=28429
2007-08-20 09:19:07 +00:00
Timo Kreuzer
0e85f8a438 - rename NtGdiSelectPalette to NtUserSelectPalette, move it to ntuser/windc.c and implement stub function SelectPalette in gdi32.dll calling it (Don't ask me why it is named this way, but it is on windows)
- rename NtGdiSetDIBitsToDevice to NtGdiSetDIBitsToDeviceInternal and implement stub function in gdi32.dll
- update ntgdibad.h

svn path=/trunk/; revision=28428
2007-08-19 23:49:47 +00:00
Ziliang Guo
263feb7b7d Fix kdbg disasm bug, patch by SamB
See issue #2408 for more details.

svn path=/trunk/; revision=28427
2007-08-19 22:51:10 +00:00
Johannes Anderwald
b4c3f2b5e3 more.c should not close INVALID_HANDLE_VALUE
patch by Apal
remove tab and quit when failing to open file (tested with Windows XP SP2)

svn path=/trunk/; revision=28426
2007-08-19 20:16:10 +00:00
Colin Finck
82f18756f0 - mkhive's "registry.c" used wcsncmp for comparing two strings. But this function seems to work different on different hosts (probably due to different handling of wchar_t's or whatever).
To avoid this problem, use memcmp now to compare the strings as it's done two lines later. This fixes the Live-CD on Linux/Unix hosts.
  (For the first time, Live-CDs created by our 64-Bit Debug Buildslave are usable :-)
- Change __volatile to volatile in "winddk.h". This fixes compilation problems under MSVC.
- Make the prototype of RtlCompareMemory in "winnt.h" similar to the one in "winddk.h". Fixes a compilation problem in MSVC.
- Define the prototype for xwcschr in "mkhive.h". Silences a warning in MSVC.
- Add some casts to "reginf.c" to silence some warnings in MSVC.
- Add a MSVC 2005 project file for mkhive. mkhive can be compiled under MSVC with this project file, when cmlib and inflib_host are compiled.
- Remove the duplicate definition of CMLIB_HOST in "cmlib.mak".

svn path=/trunk/; revision=28425
2007-08-19 19:37:47 +00:00
Eric Kohl
0f123ca26f - Implement the mouse keys dialog.
- Fix a tiny bug in the mouse keys dialog resource.
- Update file header.

svn path=/trunk/; revision=28424
2007-08-19 16:11:04 +00:00
Colin Finck
cddcaa508e - Always include "wine/unicode.h" before all other headers, when we need the wchar_t type.
unicode.h includes windef.h, which includes winnt.h, which has the handling for the wchar_t type. As it's the first included header, no other wchar_t type will be defined before.
- Remove the wchar_t definition from the Makefile as the winnt.h header will define it as "unsigned short" automatically.

svn path=/trunk/; revision=28423
2007-08-19 15:38:21 +00:00
Colin Finck
fd468bc98a Change the wchar_t logic once more to make it a bit simplier.
A host can only have one special wchar_t definition, so we don't need to define all. Also _WCHAR_T_DEFINED is the only definition used for overriding the wchar_t setting by applications.
So use the previous logic to check and define the wchar_t definitions for the host and at the end check for _WCHAR_T_DEFINED. In all cases, define _WCHAR_T_DEFINED.

Additionally, __need_wchar_t has to be undefined after including "ctype.h" as "ctype.h" defines it.

svn path=/trunk/; revision=28422
2007-08-19 14:04:20 +00:00
Sylvain Petreolle
4a878b945f update ncpa french translation
svn path=/trunk/; revision=28421
2007-08-19 12:49:29 +00:00
Eric Kohl
ec36584855 Add resources for the mouse keys settings dialog.
svn path=/trunk/; revision=28420
2007-08-19 10:52:59 +00:00
Art Yerkes
f6051eed12 Add async name functions, imported from wine. Modified for ReactOS, original
copyright assigment:

 * Copyright (C) 1993,1994,1996,1997 John Brezak, Erik Bos, Alex Korobka.
 * Copyright (C) 1999 Marcus Meissner

async.c was original licensed under the GNU Lesser General Public License v2.1

svn path=/trunk/; revision=28419
2007-08-19 10:39:26 +00:00