Commit graph

25944 commits

Author SHA1 Message Date
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
Christoph von Wittich
fd37f2607a don't allow renaming of root keys
See issue #2508 for more details.

svn path=/trunk/; revision=28052
2007-07-30 23:27:52 +00:00
Christoph von Wittich
b430b691ac add a NULL pointer check
See issue #2508 for more details.

svn path=/trunk/; revision=28050
2007-07-30 21:04:38 +00:00
Christoph von Wittich
cb9cf60a0d Norwegian translation for msgina and mmc path by Frode Lillerud (frode at enkelt dot no)
See issue #2507 for more details.

svn path=/trunk/; revision=28049
2007-07-30 18:28:55 +00:00
Colin Finck
a98c23a440 Revert w3seek's changes from r27978, mkhive segfaults with them on 64-bit systems
svn path=/trunk/; revision=28047
2007-07-30 16:02:00 +00:00
Thomas Bluemel
ac648888c7 Only return valid values from WM_NOTIFYFORMAT with NF_QUERY in DefWindowProc
svn path=/trunk/; revision=28046
2007-07-30 15:16:15 +00:00
Timo Kreuzer
a2171e8ec6 - implement NtUserHideCaret, make NtUserShowCaret prototype match XP ones.
- update w32ksvc.db
- update ntuser.h
- remove implementations of ShowCaret and HideCaret from user32, redirectexports to nt functions
- add macros for ShowCaret / HideCaret to user32p.h to resolve user32 internal references

svn path=/trunk/; revision=28045
2007-07-30 15:08:14 +00:00
Hervé Poussineau
7855dd896f Remove ExportDriver concept.
If you want a driver which exports some functions, simply set it as kernelmodedriver and add a .def file

svn path=/trunk/; revision=28043
2007-07-30 13:18:35 +00:00
Daniel Reimer
1c474e61da Make output of "vol" command (more) compatible with windows (Bug 2255) from Coviti (coviti {at} gmail {dot} com)
svn path=/trunk/; revision=28042
2007-07-30 13:16:42 +00:00
Ged Murphy
41ba310733 remove the 'enterprise' text, I don't think we're worthy of it just yet.
svn path=/trunk/; revision=28040
2007-07-30 10:17:20 +00:00
Colin Finck
a2b61f49fb Add a Logon screensaver similar to the one of Windows developed by Marc Piulachs (marc DOT piulachs AT codexchange DOT net)
I modified the code, so the screensaver is listed as "Logon ScreenSaver" instead of "Default ScreenSaver"

I also added the other screensavers we have to the Boot-CD.
Some of them highlight some bugs in ReactOS, when you try to use them.
See issue #2505 for more details.

svn path=/trunk/; revision=28038
2007-07-30 09:36:32 +00:00
Christoph von Wittich
a629f387b9 fix broken condition in CallWindowProc
svn path=/trunk/; revision=28037
2007-07-30 08:44:52 +00:00
Timo Kreuzer
c5eb377a58 use NtUserInvalidateRect and NtUserInvalidateRgn in user32. Should be redirected directly in.def file, but it breaks a lot of references, so currently only calling it.
svn path=/trunk/; revision=28036
2007-07-30 04:03:00 +00:00
Timo Kreuzer
3b7f8774ac add NtUserInvalidateRect and NtUserInvalidateRgn to w32ksvc.db
svn path=/trunk/; revision=28035
2007-07-30 03:42:40 +00:00
Timo Kreuzer
54d13b61db add NtUserInvalidateRect and NtUserInvalidateRgn
svn path=/trunk/; revision=28034
2007-07-30 03:41:48 +00:00
Timo Kreuzer
52b31af55d implement NtUserInvalidateRect and NtUserInvalidateRgn
svn path=/trunk/; revision=28033
2007-07-30 03:30:55 +00:00
Timo Kreuzer
59d3012d08 simplify VIS_ComputeVisibleRegion
svn path=/trunk/; revision=28032
2007-07-30 02:49:11 +00:00
Timo Kreuzer
b8c09110a6 fix a DPRINT
svn path=/trunk/; revision=28031
2007-07-30 02:29:52 +00:00
Timo Kreuzer
133adbc1a6 update ntgdibad.h
svn path=/trunk/; revision=28030
2007-07-30 02:24:48 +00:00
Timo Kreuzer
ce40832234 rename NtGdiSelectVisRgn to IntGdiSelectVisRgn
svn path=/trunk/; revision=28029
2007-07-30 02:24:08 +00:00
Timo Kreuzer
0aa1be9e3f probe and copy hdc from usermode PAINTSTRUCT using SEH
svn path=/trunk/; revision=28028
2007-07-30 01:39:26 +00:00
Timo Kreuzer
7f423ecbdb remove useless NtGdiOffsetRgn
svn path=/trunk/; revision=28027
2007-07-30 01:26:57 +00:00
Timo Kreuzer
984be48dd5 - rename NtGdiGetTextMetrics to NtGdigetTextMetricsW and add cj parameter
- GetTextMetricsAW: call NtGdigetTextMetricW with cj set to sizeof(TMW_INTERNAL), use TextMetric member
- update w32ksvc.db
- update ntgdibad.h

svn path=/trunk/; revision=28026
2007-07-30 01:10:35 +00:00
Eric Kohl
380e7f70eb - Add sticky keys settings and make the existing settings work.
- Add empty filter keys dialog and toggle keys dialog.

svn path=/trunk/; revision=28024
2007-07-29 21:07:41 +00:00
Colin Finck
ddfbe083e9 Various cmd fixes by Carlo Bramini (carlo DOT bramix AT libero DOT it)
See issue #2232 for more details.

svn path=/trunk/; revision=28022
2007-07-29 19:53:17 +00:00
Christoph von Wittich
8fd67d96e0 Fix bug in IsValidLocale(), GetNumberFormatW(), GetCurrencyFormatW()
patch by Zavyalov Alexey (reactos at ilimschool dot ru)
See issue #2374 for more details.

svn path=/trunk/; revision=28020
2007-07-29 19:04:03 +00:00
Christoph von Wittich
e137a5326a Implement IsValidLanguageGroup, EnumDateFormatsExA, EnumDateFormatsExW
patch by Zavyalov Alexey (reactos at ilimschool dot ru)
See issue #2368 for more details.

svn path=/trunk/; revision=28019
2007-07-29 18:42:18 +00:00
Magnus Olsen
f1fce2a5f3 remove the title name hack some did
comment why popup menu does not working in cmd, it seam we never getting the process name, why ??

svn path=/trunk/; revision=28018
2007-07-29 18:39:32 +00:00
Christoph von Wittich
98ddfb0831 Load correct screensaver's name patch by piulachs (marc dot piulachs at codexchange dot net)
See issue #2500 for more details.

svn path=/trunk/; revision=28016
2007-07-29 18:09:42 +00:00
Christoph von Wittich
6ae0b2c8a0 remove ZeroMemory - not needed anymore since GetLogicalDriveStrings is fixed
svn path=/trunk/; revision=28015
2007-07-29 18:03:41 +00:00