Commit graph

25973 commits

Author SHA1 Message Date
Timo Kreuzer e97388eec3 small bugfix: don't zero terminate the szCSDVersion sting beyond the buffer.
svn path=/trunk/; revision=28111
2007-08-02 22:23:27 +00:00
Timo Kreuzer 9e4807d6e5 NtGdiGetSetBitmapBits:
- use SEH and probe the user mode buffers
- SetLastWin32Error on invalid handle
- move the copying to IntGetSetBitmapBits
- only use IntGetSetBitmapBits from inside win32k
- move NtGdiGetBitmapBits to bitmap.c
- allow copying a number of bytes not matching one entire line, like on windows
I think that was all changes.

svn path=/trunk/; revision=28110
2007-08-02 22:14:32 +00:00
James Tabor 20f9953389 Add NtGdiTransformPoints stub.
svn path=/trunk/; revision=28109
2007-08-02 22:02:23 +00:00
Timo Kreuzer 041123983d remove NtGdiArc, NtGdiArcTo and NtGdiChord from ntgdibad.h
svn path=/trunk/; revision=28107
2007-08-02 21:50:05 +00:00
Timo Kreuzer 603ac00e50 an API test kit + win32k native API test app.
It does syscalls on ros by linking to w32kdll.dll
On windows it uses syscall tables (only winxp sp2 available atm)

svn path=/trunk/; revision=28106
2007-08-02 21:42:37 +00:00
Hervé Poussineau 24de999ac2 Support "root" attribute in <directory> elements
svn path=/trunk/; revision=28102
2007-08-02 14:14:19 +00:00
Thomas Bluemel d645b9c6d7 Add keyboard layouts again that were removed in r27723
svn path=/trunk/; revision=28099
2007-08-02 10:26:52 +00:00
Thomas Bluemel 5165b3275e Remove cmd_test for now...
svn path=/trunk/; revision=28097
2007-08-02 07:39:55 +00:00
Thomas Bluemel 4f2a8ebce4 Fix compiling rostests
svn path=/trunk/; revision=28096
2007-08-02 06:59:36 +00:00
Thomas Bluemel e83fc637ea Include stddef.h for ptrdiff_t
svn path=/trunk/; revision=28095
2007-08-02 04:19:52 +00:00
Thomas Bluemel 5a7f727906 Fix buffer overflow in InfpAddSection.
See issue #2516 for more details.

svn path=/trunk/; revision=28094
2007-08-02 04:09:19 +00:00
Christoph von Wittich 4932311395 fix a crash
svn path=/trunk/; revision=28093
2007-08-02 03:08:17 +00:00
Christoph von Wittich e470bad721 fix null pointer check
svn path=/trunk/; revision=28092
2007-08-02 01:45:02 +00:00
Timo Kreuzer 48428871b5 remove NtGdiArc, NtGdiArcTo and NtGdiChord from win32k, they are not used any longer.
svn path=/trunk/; revision=28091
2007-08-02 01:44:59 +00:00
Christoph von Wittich 2e7009f963 fix another memory leak
svn path=/trunk/; revision=28090
2007-08-02 01:13:28 +00:00
Timo Kreuzer 2ab8c8635c update ntgdibad.h
svn path=/trunk/; revision=28089
2007-08-02 00:25:02 +00:00
Timo Kreuzer a0c19eb6f9 rename NtGdiSetDCState to IntGdiSetDCState
svn path=/trunk/; revision=28088
2007-08-02 00:23:48 +00:00
Timo Kreuzer 9574b5dbe1 rename NtGdiSetHookFlags into IntGdiSetHookFlags
svn path=/trunk/; revision=28087
2007-08-02 00:16:31 +00:00
Timo Kreuzer bedc89bb5f rename NtGdiGetDCState to IntGdiGetDCState
svn path=/trunk/; revision=28086
2007-08-02 00:10:15 +00:00
Christoph von Wittich 1ef29d0d83 fix a memory leak
svn path=/trunk/; revision=28085
2007-08-01 22:50:58 +00:00
Christoph von Wittich 953da5af6e fix a memory leak
svn path=/trunk/; revision=28084
2007-08-01 22:41:35 +00:00
Christoph von Wittich 5440600381 don't double free hFile
See issue #2499 for more details.

svn path=/trunk/; revision=28083
2007-08-01 22:04:04 +00:00
Thomas Bluemel 8d60466f8a Special handling for some fake dos devices
svn path=/trunk/; revision=28081
2007-08-01 19:50:28 +00:00
James Tabor 29241f09f4 Move meta code from painting to arc. Including the new Pie function with ifed out.
svn path=/trunk/; revision=28079
2007-08-01 19:26:55 +00:00
Thomas Bluemel e6e690ba9a Don't output "file not found" messages in recursive searches
svn path=/trunk/; revision=28078
2007-08-01 18:55:47 +00:00
Thomas Bluemel 604b0f6c03 Fix displaying the free space on the volume
svn path=/trunk/; revision=28077
2007-08-01 18:36:23 +00:00
Thomas Bluemel 790a3ef810 Improve output of directory summaries
svn path=/trunk/; revision=28076
2007-08-01 18:18:26 +00:00
Thomas Bluemel e098f7d858 - Correctly detect volume changes when querying in multiple directories
- "dir directory" displays the contents of a directory

svn path=/trunk/; revision=28075
2007-08-01 17:48:08 +00:00
Thomas Bluemel 1f6dec06f4 Simplify and fix code by using GetFullPathName and GetVolumePathName instead of re-inventing the wheel once again.
See issue #2041 for more details.

svn path=/trunk/; revision=28074
2007-08-01 16:20:16 +00:00
Thomas Bluemel e42a8d41ff Fix a memory leak in the dir command
svn path=/trunk/; revision=28073
2007-08-01 14:32:57 +00:00
Thomas Bluemel c16f477a80 Fix buffer overflow bug in mkdir command
See issue #2499 for more details.

svn path=/trunk/; revision=28072
2007-08-01 13:34:48 +00:00
Thomas Bluemel f5b38b5d3b Remove debug statements I accidently committed
svn path=/trunk/; revision=28071
2007-08-01 13:27:16 +00:00
Thomas Bluemel c8479ce1cb - Detect memory leaks when cmd exits
- Use _tmain

svn path=/trunk/; revision=28070
2007-08-01 12:34:49 +00:00
Timo Kreuzer 9787ba0ce3 implement Arc, ArcTo, Chord, calling NtGdiArcInternal
svn path=/trunk/; revision=28069
2007-08-01 12:34:38 +00:00
Thomas Bluemel 683519ff1c Compile memory heap corruption detection code with _DEBUG_MEM and define it by default (for now)
svn path=/trunk/; revision=28068
2007-08-01 12:04:49 +00:00
Thomas Bluemel 8026c569b2 Improve debug message
svn path=/trunk/; revision=28067
2007-08-01 10:41:22 +00:00
Thomas Bluemel fc6d0b3bc7 Allocate correct amount of memory.
See issue #2499 for more details.

svn path=/trunk/; revision=28066
2007-08-01 10:39:49 +00:00
Thomas Bluemel df91a99233 - Add code to detect buffer overflows and buffer underflows on memory operations. This code is only enabled if _DEBUG is defined.
- Change all calls to malloc, realloc and free to cmd_alloc, cmd_realloc and cmd_free

svn path=/trunk/; revision=28065
2007-08-01 10:17:13 +00:00
Ged Murphy 9da2ad12a6 - update cards.dll to use GPL cards which don't resemble the Windows counterparts
- cards taken from http://sourceforge.net/projects/macsolitairex

svn path=/trunk/; revision=28064
2007-08-01 09:30:28 +00:00
Timo Kreuzer 478d0d4bc5 Implement ExtEscape, MaskBlt, PlgBlt, wich were linked to the Nt functions before. But those have a different parameter count. Fixes compilation.
svn path=/trunk/; revision=28063
2007-08-01 02:07:15 +00:00
Timo Kreuzer 369bfa51f2 NtGdiMaskBlt has 13 params not 12
NtGdiPlgBlt has 11 params not 10
NtGdiSetPixelFormat has 2 params not 3

svn path=/trunk/; revision=28062
2007-08-01 02:05:24 +00:00
Timo Kreuzer e80f3b112e fix parameter count for NtGdiExtEscape in w32ksvc.db (8 parameters not 6)
svn path=/trunk/; revision=28061
2007-08-01 00:57:17 +00:00
Timo Kreuzer 4ef86834f9 fix nci tool to only generate one stub file for our win32ksys lib to silence the warning. Fix some comments.
svn path=/trunk/; revision=28060
2007-07-31 23:00:31 +00:00
Ged Murphy 2412a1aeb1 convert timedate.cpl to unicode
svn path=/trunk/; revision=28059
2007-07-31 22:17:07 +00:00
Magnus Olsen 71705afb69 revers guiconsole.c changes that was mistake committed in r28057
svn path=/trunk/; revision=28058
2007-07-31 21:41:15 +00:00
Magnus Olsen d848c8c8f4 adding win32ksys the syscall lib for win32k
waring 
type make clean, 
delete makefile.auto
make clean does not delete the gdi32/misc/i386 delete that folder and need delete it u self
make clean does not delete the user32/misc/i386 delete that folder and need delete it u self



svn path=/trunk/; revision=28057
2007-07-31 21:38:52 +00:00
Ged Murphy 1fb9e7536b - don't write more bytes to the reg key than is required. fixes bug 2402
- use unicode explicitly
See issue #2402 for more details.

svn path=/trunk/; revision=28056
2007-07-31 21:17:57 +00:00
Magnus Olsen 59bf5f271d user32 cleanup lite
redirect the InvalidateRect@12 to NtUserInvalidateRect@12 in the def file

nci tools changes (done of timo and me)
frist part moving the w32ksvc.db and sysfuncs.lst where they belong


svn path=/trunk/; revision=28055
2007-07-31 20:22:13 +00:00
James Tabor 6428c40f66 Add NtGdiCreate-DeleteClientObj to win32k. This is used for Metafile not EnhMeta.
svn path=/trunk/; revision=28054
2007-07-31 07:06:06 +00:00
James Tabor 9d0415f7a7 Remove NtGdiGdiGet-SetBatchLimit.
svn path=/trunk/; revision=28053
2007-07-31 04:41:24 +00:00