Timo Kreuzer [Sun, 5 Aug 2007 03:32:24 +0000 (03:32 +0000)]
- make apitest.c into a static lib to be used by different tests
- add a gdi32 api test, based on the one in the win32 folder
- add a user32 api test
- change type of test functions to int
- implement a quick 'n dirty html api status output
- uncomment NtGdiTransormPoints in w32kdll.def
- add ASSERT1 macro (ASSERT is already used)
- include some more headers
svn path=/trunk/; revision=28169
James Tabor [Sat, 4 Aug 2007 22:02:39 +0000 (22:02 +0000)]
Removed non Enh Metafile stubs from win32k:
- Updated ntgdibad.h.
- List of known functions:
NtGidConvertMetafileRect
NtGdiCreateMetafileDC
NtGdiCreateServerMetaFile
NtGdiGetServerMetaFileBits
NtGdiSetMetaRgn
- No updates for Enh Metafile.
svn path=/trunk/; revision=28166
James Tabor [Sat, 4 Aug 2007 21:02:55 +0000 (21:02 +0000)]
Copy Metafile.c to EnhMFile.c. Separating the code.
svn path=/trunk/; revision=28165
Daniel Reimer [Sat, 4 Aug 2007 20:51:54 +0000 (20:51 +0000)]
revert some accidently commited changes in my tree.
svn path=/trunk/; revision=28164
Daniel Reimer [Sat, 4 Aug 2007 20:13:19 +0000 (20:13 +0000)]
Add 8 new Backgrounds to cards.dll. thx to Mario Kacmar (kario@szm.sk) (Bug 2416)
svn path=/trunk/; revision=28162
Timo Kreuzer [Sat, 4 Aug 2007 16:51:10 +0000 (16:51 +0000)]
small bugfix
svn path=/trunk/; revision=28161
Timo Kreuzer [Sat, 4 Aug 2007 16:45:12 +0000 (16:45 +0000)]
- implement quick 'n dirty HTML api status output
- change test function return type to INT
- add ASSERT macro
- include some more headers
svn path=/trunk/; revision=28160
Eric Kohl [Sat, 4 Aug 2007 16:41:30 +0000 (16:41 +0000)]
Add remaining sticky keys options.
svn path=/trunk/; revision=28159
Christoph von Wittich [Sat, 4 Aug 2007 15:52:17 +0000 (15:52 +0000)]
Fix scanning affinity in IoConnectInterrupt (patch by w3seek)
svn path=/trunk/; revision=28158
Sylvain Petreolle [Sat, 4 Aug 2007 13:22:48 +0000 (13:22 +0000)]
C uses / as dir separator, not \
svn path=/trunk/; revision=28157
Ged Murphy [Sat, 4 Aug 2007 11:19:51 +0000 (11:19 +0000)]
revert the unicode build for now as it causes a problem with our gcc build
svn path=/trunk/; revision=28156
Aleksey Bragin [Sat, 4 Aug 2007 10:59:01 +0000 (10:59 +0000)]
- Fix kernel32 compile.
svn path=/trunk/; revision=28155
Eric Kohl [Sat, 4 Aug 2007 10:22:44 +0000 (10:22 +0000)]
- Ask the user when he closes the window only if the game is still running.
svn path=/trunk/; revision=28154
Aleksey Bragin [Sat, 4 Aug 2007 08:49:47 +0000 (08:49 +0000)]
- Fix NtSetInformationThread(ThreadBasePriority)
- Fix buffer overflow in KeRosDumpStackFrames
- Fix usage of garbage/uninitialized handle entry local variable in ObpCreateHandle
- Fix buffer overflow and logic bug in IoConnectInterrupt
- Fix MSVC warnings
svn path=/trunk/; revision=28153
Aleksey Bragin [Sat, 4 Aug 2007 08:47:52 +0000 (08:47 +0000)]
- Appropriate changes to kmtest
svn path=/trunk/; revision=28152
Aleksey Bragin [Sat, 4 Aug 2007 08:26:58 +0000 (08:26 +0000)]
- WDK and MSVC compatibility fixes.
svn path=/trunk/; revision=28151
James Tabor [Sat, 4 Aug 2007 07:37:27 +0000 (07:37 +0000)]
Dc.c :
- Update Get/SetDCBrush/PenColor code.
* Added dcattr sync flags to Set functions.
* if'ed out, does compile.
Painting.c :
- Update LP to DP to LP code.
* Added update flags for Xforms, the best way I understand them.
* if'ed out.
- Moved Fixme line down and above GetDCObject.
svn path=/trunk/; revision=28150
Timo Kreuzer [Fri, 3 Aug 2007 22:31:55 +0000 (22:31 +0000)]
fix some names
svn path=/trunk/; revision=28149
Colin Finck [Fri, 3 Aug 2007 21:36:53 +0000 (21:36 +0000)]
- Define one LANGUAGE, SUBLANG pair per resource file and not per resource.
This makes it easier for translators and also fixes a mix-up of languages.
- Move the brazilian translations from pt-PT.rc to a new pt-BR.rc file.
- Remove the "#ifdef LANG_WALON" statement from wa-WA.rc and disable this resource file in rsrc.rc instead like it's done for eo-EO.rc.
These are WINE-specific LANG defines. We also have them in include/reactos/wine/winnt.h, but this file is not included. It has to be decided later how to handle these languages.
See issue #2523 for more details.
svn path=/trunk/; revision=28148
Eric Kohl [Fri, 3 Aug 2007 18:04:34 +0000 (18:04 +0000)]
Enable "Deck" menu item.
svn path=/trunk/; revision=28146
Ged Murphy [Fri, 3 Aug 2007 18:01:04 +0000 (18:01 +0000)]
build sol as unicode
svn path=/trunk/; revision=28145
Ged Murphy [Fri, 3 Aug 2007 17:48:24 +0000 (17:48 +0000)]
don't rename the executable for make install. This should keep w3seek happy for a while :)
svn path=/trunk/; revision=28144
Ged Murphy [Fri, 3 Aug 2007 17:34:55 +0000 (17:34 +0000)]
don't link to a non existent lib
svn path=/trunk/; revision=28143
Ged Murphy [Fri, 3 Aug 2007 17:25:22 +0000 (17:25 +0000)]
don't ask everytime the user wants to close the window
svn path=/trunk/; revision=28142
Hervé Poussineau [Fri, 3 Aug 2007 16:09:09 +0000 (16:09 +0000)]
Fix non mingw backend invocations
svn path=/trunk/; revision=28139
Hervé Poussineau [Fri, 3 Aug 2007 15:33:45 +0000 (15:33 +0000)]
Create resource output directory before calling bin2res
svn path=/trunk/; revision=28138
Thomas Bluemel [Fri, 3 Aug 2007 15:14:49 +0000 (15:14 +0000)]
Patch by Frode Lillerud <frode@enkelt.no>
- Basic implementation of logoff.exe
See issue #2509 for more details.
svn path=/trunk/; revision=28137
Colin Finck [Fri, 3 Aug 2007 15:12:08 +0000 (15:12 +0000)]
Updated ukrainian translations by Artem Reznikov (temarez AT yandex DOT ru)
See issue #2524 for more details.
svn path=/trunk/; revision=28136
Hervé Poussineau [Fri, 3 Aug 2007 14:33:43 +0000 (14:33 +0000)]
syssetup.inf really belongs to output directory, not intermediate one
svn path=/trunk/; revision=28135
Hervé Poussineau [Fri, 3 Aug 2007 13:51:19 +0000 (13:51 +0000)]
Extract resources to intermediate directory
svn path=/trunk/; revision=28134
Hervé Poussineau [Fri, 3 Aug 2007 13:47:51 +0000 (13:47 +0000)]
Add -O option, to define where are stored extracted resources
svn path=/trunk/; revision=28133
Daniel Reimer [Fri, 3 Aug 2007 12:57:12 +0000 (12:57 +0000)]
Translate new stuff in German RC File.
svn path=/trunk/; revision=28132
Ged Murphy [Fri, 3 Aug 2007 12:54:41 +0000 (12:54 +0000)]
add language resources
svn path=/trunk/; revision=28131
Ged Murphy [Fri, 3 Aug 2007 12:50:49 +0000 (12:50 +0000)]
add a few more card back bitmaps
svn path=/trunk/; revision=28130
Ged Murphy [Fri, 3 Aug 2007 12:47:40 +0000 (12:47 +0000)]
- add a dialog to allow users to change the card backs
- highlights a few drawing bugs in ros
svn path=/trunk/; revision=28129
Hervé Poussineau [Fri, 3 Aug 2007 12:12:41 +0000 (12:12 +0000)]
Add missing include directory
svn path=/trunk/; revision=28128
Colin Finck [Fri, 3 Aug 2007 12:10:43 +0000 (12:10 +0000)]
Check if the same Monitor ID (= 10 bytes from the EDID, which can be used to uniquely identify a monitor) appears two times and stop the enumeration in this case.
This is needed for some older monitors (1994-1999), which transmit the EDID data according to the VBE/DDC Standard 1.0.
We assumed that the function for reading the EDID fails, when we input higher controller unit numbers, but some older monitors don't care about the controller unit number and always return valid EDID data.
More information is available at: http://www.vesa.org/public/VBE/VBEDDC11.PDF
See issue #2239 for more details.
svn path=/trunk/; revision=28127
Hervé Poussineau [Fri, 3 Aug 2007 11:54:33 +0000 (11:54 +0000)]
Move some more autogenerated files to intermediate directory
Remove POSTAUTO hack in Makefile
svn path=/trunk/; revision=28126
Hervé Poussineau [Fri, 3 Aug 2007 11:35:01 +0000 (11:35 +0000)]
Add ROS_ARCH environment variable
Set -r option of rbuild as mandatory
svn path=/trunk/; revision=28124
Thomas Bluemel [Fri, 3 Aug 2007 10:23:19 +0000 (10:23 +0000)]
Revert r28121 as it removes an optimization
svn path=/trunk/; revision=28122
Thomas Bluemel [Fri, 3 Aug 2007 10:21:59 +0000 (10:21 +0000)]
Improve calculation of new buffer size
svn path=/trunk/; revision=28121
Thomas Bluemel [Fri, 3 Aug 2007 10:12:25 +0000 (10:12 +0000)]
Fix buffer overflow
See issue #2516 for more details.
svn path=/trunk/; revision=28120
Hervé Poussineau [Fri, 3 Aug 2007 10:12:03 +0000 (10:12 +0000)]
Create directory before rbuild tries to access it
svn path=/trunk/; revision=28119
Hervé Poussineau [Fri, 3 Aug 2007 09:41:42 +0000 (09:41 +0000)]
Autogenerate syssetup.inf file in intermediate directory
svn path=/trunk/; revision=28118
Hervé Poussineau [Fri, 3 Aug 2007 09:28:01 +0000 (09:28 +0000)]
Create the invisible SAS window even in setup mode
Explicitly reboot at the end of 2nd stage
See issue #2431 for more details.
svn path=/trunk/; revision=28116
Thomas Bluemel [Fri, 3 Aug 2007 08:19:47 +0000 (08:19 +0000)]
Remove GetClassLong hack for GCL_MENUNAME, this is no longer needed
svn path=/trunk/; revision=28115
Thomas Bluemel [Fri, 3 Aug 2007 07:35:39 +0000 (07:35 +0000)]
Patch by Carlo Bramix <carlo.bramix@libero.it>
- Get rid of some code duplication
See issue #2517 for more details.
svn path=/trunk/; revision=28114
Ged Murphy [Thu, 2 Aug 2007 23:31:32 +0000 (23:31 +0000)]
activate the properties option in the menu, also make it bold
See issue #2522 for more details.
svn path=/trunk/; revision=28113
Timo Kreuzer [Thu, 2 Aug 2007 23:29:43 +0000 (23:29 +0000)]
0x124a is NtUserValidateTimerCallback, thanks jimtabor for finding this out.
svn path=/trunk/; revision=28112
Timo Kreuzer [Thu, 2 Aug 2007 22:23:27 +0000 (22:23 +0000)]
small bugfix: don't zero terminate the szCSDVersion sting beyond the buffer.
svn path=/trunk/; revision=28111
Timo Kreuzer [Thu, 2 Aug 2007 22:14:32 +0000 (22:14 +0000)]
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
James Tabor [Thu, 2 Aug 2007 22:02:23 +0000 (22:02 +0000)]
Add NtGdiTransformPoints stub.
svn path=/trunk/; revision=28109
Timo Kreuzer [Thu, 2 Aug 2007 21:50:05 +0000 (21:50 +0000)]
remove NtGdiArc, NtGdiArcTo and NtGdiChord from ntgdibad.h
svn path=/trunk/; revision=28107
Timo Kreuzer [Thu, 2 Aug 2007 21:42:37 +0000 (21:42 +0000)]
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
Hervé Poussineau [Thu, 2 Aug 2007 14:14:19 +0000 (14:14 +0000)]
Support "root" attribute in <directory> elements
svn path=/trunk/; revision=28102
Thomas Bluemel [Thu, 2 Aug 2007 10:26:52 +0000 (10:26 +0000)]
Add keyboard layouts again that were removed in r27723
svn path=/trunk/; revision=28099
Thomas Bluemel [Thu, 2 Aug 2007 07:39:55 +0000 (07:39 +0000)]
Remove cmd_test for now...
svn path=/trunk/; revision=28097
Thomas Bluemel [Thu, 2 Aug 2007 06:59:36 +0000 (06:59 +0000)]
Fix compiling rostests
svn path=/trunk/; revision=28096
Thomas Bluemel [Thu, 2 Aug 2007 04:19:52 +0000 (04:19 +0000)]
Include stddef.h for ptrdiff_t
svn path=/trunk/; revision=28095
Thomas Bluemel [Thu, 2 Aug 2007 04:09:19 +0000 (04:09 +0000)]
Fix buffer overflow in InfpAddSection.
See issue #2516 for more details.
svn path=/trunk/; revision=28094
Christoph von Wittich [Thu, 2 Aug 2007 03:08:17 +0000 (03:08 +0000)]
fix a crash
svn path=/trunk/; revision=28093
Christoph von Wittich [Thu, 2 Aug 2007 01:45:02 +0000 (01:45 +0000)]
fix null pointer check
svn path=/trunk/; revision=28092
Timo Kreuzer [Thu, 2 Aug 2007 01:44:59 +0000 (01:44 +0000)]
remove NtGdiArc, NtGdiArcTo and NtGdiChord from win32k, they are not used any longer.
svn path=/trunk/; revision=28091
Christoph von Wittich [Thu, 2 Aug 2007 01:13:28 +0000 (01:13 +0000)]
fix another memory leak
svn path=/trunk/; revision=28090
Timo Kreuzer [Thu, 2 Aug 2007 00:25:02 +0000 (00:25 +0000)]
update ntgdibad.h
svn path=/trunk/; revision=28089
Timo Kreuzer [Thu, 2 Aug 2007 00:23:48 +0000 (00:23 +0000)]
rename NtGdiSetDCState to IntGdiSetDCState
svn path=/trunk/; revision=28088
Timo Kreuzer [Thu, 2 Aug 2007 00:16:31 +0000 (00:16 +0000)]
rename NtGdiSetHookFlags into IntGdiSetHookFlags
svn path=/trunk/; revision=28087
Timo Kreuzer [Thu, 2 Aug 2007 00:10:15 +0000 (00:10 +0000)]
rename NtGdiGetDCState to IntGdiGetDCState
svn path=/trunk/; revision=28086
Christoph von Wittich [Wed, 1 Aug 2007 22:50:58 +0000 (22:50 +0000)]
fix a memory leak
svn path=/trunk/; revision=28085
Christoph von Wittich [Wed, 1 Aug 2007 22:41:35 +0000 (22:41 +0000)]
fix a memory leak
svn path=/trunk/; revision=28084
Christoph von Wittich [Wed, 1 Aug 2007 22:04:04 +0000 (22:04 +0000)]
don't double free hFile
See issue #2499 for more details.
svn path=/trunk/; revision=28083
Thomas Bluemel [Wed, 1 Aug 2007 19:50:28 +0000 (19:50 +0000)]
Special handling for some fake dos devices
svn path=/trunk/; revision=28081
James Tabor [Wed, 1 Aug 2007 19:26:55 +0000 (19:26 +0000)]
Move meta code from painting to arc. Including the new Pie function with ifed out.
svn path=/trunk/; revision=28079
Thomas Bluemel [Wed, 1 Aug 2007 18:55:47 +0000 (18:55 +0000)]
Don't output "file not found" messages in recursive searches
svn path=/trunk/; revision=28078
Thomas Bluemel [Wed, 1 Aug 2007 18:36:23 +0000 (18:36 +0000)]
Fix displaying the free space on the volume
svn path=/trunk/; revision=28077
Thomas Bluemel [Wed, 1 Aug 2007 18:18:26 +0000 (18:18 +0000)]
Improve output of directory summaries
svn path=/trunk/; revision=28076
Thomas Bluemel [Wed, 1 Aug 2007 17:48:08 +0000 (17:48 +0000)]
- Correctly detect volume changes when querying in multiple directories
- "dir directory" displays the contents of a directory
svn path=/trunk/; revision=28075
Thomas Bluemel [Wed, 1 Aug 2007 16:20:16 +0000 (16:20 +0000)]
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
Thomas Bluemel [Wed, 1 Aug 2007 14:32:57 +0000 (14:32 +0000)]
Fix a memory leak in the dir command
svn path=/trunk/; revision=28073
Thomas Bluemel [Wed, 1 Aug 2007 13:34:48 +0000 (13:34 +0000)]
Fix buffer overflow bug in mkdir command
See issue #2499 for more details.
svn path=/trunk/; revision=28072
Thomas Bluemel [Wed, 1 Aug 2007 13:27:16 +0000 (13:27 +0000)]
Remove debug statements I accidently committed
svn path=/trunk/; revision=28071
Thomas Bluemel [Wed, 1 Aug 2007 12:34:49 +0000 (12:34 +0000)]
- Detect memory leaks when cmd exits
- Use _tmain
svn path=/trunk/; revision=28070
Timo Kreuzer [Wed, 1 Aug 2007 12:34:38 +0000 (12:34 +0000)]
implement Arc, ArcTo, Chord, calling NtGdiArcInternal
svn path=/trunk/; revision=28069
Thomas Bluemel [Wed, 1 Aug 2007 12:04:49 +0000 (12:04 +0000)]
Compile memory heap corruption detection code with _DEBUG_MEM and define it by default (for now)
svn path=/trunk/; revision=28068
Thomas Bluemel [Wed, 1 Aug 2007 10:41:22 +0000 (10:41 +0000)]
Improve debug message
svn path=/trunk/; revision=28067
Thomas Bluemel [Wed, 1 Aug 2007 10:39:49 +0000 (10:39 +0000)]
Allocate correct amount of memory.
See issue #2499 for more details.
svn path=/trunk/; revision=28066
Thomas Bluemel [Wed, 1 Aug 2007 10:17:13 +0000 (10:17 +0000)]
- 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
Ged Murphy [Wed, 1 Aug 2007 09:30:28 +0000 (09:30 +0000)]
- 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
Timo Kreuzer [Wed, 1 Aug 2007 02:07:15 +0000 (02:07 +0000)]
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
Timo Kreuzer [Wed, 1 Aug 2007 02:05:24 +0000 (02:05 +0000)]
NtGdiMaskBlt has 13 params not 12
NtGdiPlgBlt has 11 params not 10
NtGdiSetPixelFormat has 2 params not 3
svn path=/trunk/; revision=28062
Timo Kreuzer [Wed, 1 Aug 2007 00:57:17 +0000 (00:57 +0000)]
fix parameter count for NtGdiExtEscape in w32ksvc.db (8 parameters not 6)
svn path=/trunk/; revision=28061
Timo Kreuzer [Tue, 31 Jul 2007 23:00:31 +0000 (23:00 +0000)]
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
Ged Murphy [Tue, 31 Jul 2007 22:17:07 +0000 (22:17 +0000)]
convert timedate.cpl to unicode
svn path=/trunk/; revision=28059
Magnus Olsen [Tue, 31 Jul 2007 21:41:15 +0000 (21:41 +0000)]
revers guiconsole.c changes that was mistake committed in r28057
svn path=/trunk/; revision=28058
Magnus Olsen [Tue, 31 Jul 2007 21:38:52 +0000 (21:38 +0000)]
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
Ged Murphy [Tue, 31 Jul 2007 21:17:57 +0000 (21:17 +0000)]
- 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
Magnus Olsen [Tue, 31 Jul 2007 20:22:13 +0000 (20:22 +0000)]
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
James Tabor [Tue, 31 Jul 2007 07:06:06 +0000 (07:06 +0000)]
Add NtGdiCreate-DeleteClientObj to win32k. This is used for Metafile not EnhMeta.
svn path=/trunk/; revision=28054
James Tabor [Tue, 31 Jul 2007 04:41:24 +0000 (04:41 +0000)]
Remove NtGdiGdiGet-SetBatchLimit.
svn path=/trunk/; revision=28053
Christoph von Wittich [Mon, 30 Jul 2007 23:27:52 +0000 (23:27 +0000)]
don't allow renaming of root keys
See issue #2508 for more details.
svn path=/trunk/; revision=28052