Commit graph

51112 commits

Author SHA1 Message Date
Timo Kreuzer 3f8f2a7550 [GDI32_APITEST]
Add tests for CreateBitmap, CreateIconIndirect, GetRandomRgn and PatBlt

svn path=/trunk/; revision=56393
2012-04-23 10:42:22 +00:00
Timo Kreuzer 568c7307a6 [WIN32K]
- Fix calculation of the brush origin. The coordinates passed to EngBitBlt "defines which pixel in the mask corresponds to the upper left corner of the destination rectangle." Our code was using it as corresponding to the surface origin.
The fix is currently only used when the new dib code is compiled. The old dib code is broken and expects the broken behaviour

svn path=/trunk/; revision=56392
2012-04-23 10:12:35 +00:00
Sylvain Petreolle fa3a49d6e8 [ADVAPI32/SERVICES]
Fix changing a service description in (R)ChangeServiceConfig2W.

Fixes bad service description in Vmware Tools.

svn path=/trunk/; revision=56391
2012-04-23 00:17:01 +00:00
Eric Kohl d0ca2665de [USETUP]
Treat REG_DWORD values in inf files as unsigned values.

svn path=/trunk/; revision=56390
2012-04-22 22:40:43 +00:00
Thomas Faber 5258184b49 [AFD/FORMATTING]
- Try to fix indentation nightmare

svn path=/trunk/; revision=56389
2012-04-22 13:11:54 +00:00
Timo Kreuzer 85b693d42d [DIBLIB]
Fix calculation of pattern pointer
[WIN32K]
Fix (almost) calculation of pattern origin. There's still a bugger left.

svn path=/trunk/; revision=56388
2012-04-21 21:00:08 +00:00
Timo Kreuzer e3411f18ca [DIBLIB]
Fix a bug that caused all BitBlt functions with for a solid brush to ignore the XLATEOBJ

svn path=/trunk/; revision=56387
2012-04-21 18:42:14 +00:00
James Tabor 814e1a9ae5 [Win32k]
- Troubleshooting bug 5630, moved DestroyProcessClasses from process to thread since process is called first. This way, it is assured the class destruction is on queue, but not before thread death.
- Added a global pointer to be used in a later commit.
- Warning: this does not fix bug 5630.

svn path=/trunk/; revision=56386
2012-04-21 18:18:59 +00:00
Thomas Faber 68ce44de26 [NTOSKRNL]
- Export base MCB functions

svn path=/trunk/; revision=56385
2012-04-21 17:52:29 +00:00
Timo Kreuzer fd2013dc9e [WIN32K]
In NtGdiGetTextExtentExW fail when Count is negative.

svn path=/trunk/; revision=56384
2012-04-21 16:05:24 +00:00
Amine Khaldi 9dbd062a44 [PSDK]
* Sync cryptuiapi.h with Wine. Patch by Carlo Bramini.
See issue #7016 for more details.

svn path=/trunk/; revision=56383
2012-04-21 13:22:52 +00:00
Amine Khaldi 88e4b7735f [CHARMAP]
* Implement LoadSettings() and SaveSettings(). Patch by Edijs Kolesnikovics with some minor changes by me.
See issue #6925 for more details.

svn path=/trunk/; revision=56382
2012-04-21 10:57:16 +00:00
Amine Khaldi ca75cf2a0d [MSCONFIG]
* Correctly update the selected command line text. Patch by Edijs Kolesnikovics.
See issue #6963 for more details.

svn path=/trunk/; revision=56381
2012-04-21 10:46:07 +00:00
Amine Khaldi 0c1c4c5793 [MSCONFIG]
* Get the timeout correctly. Patch by Edijs Kolesnikovics.
See issue #6964 for more details.

svn path=/trunk/; revision=56380
2012-04-21 10:41:16 +00:00
Thomas Faber 1a908c8114 [KMTESTS/OB]
- Add ObTypes test that checks all object types that should be present on Windows

svn path=/trunk/; revision=56379
2012-04-21 09:06:54 +00:00
Thomas Faber 95e2e118d0 [RTL/NDK]
- RtlGetFullPathName_UstrEx returns NTSTATUS

svn path=/trunk/; revision=56378
2012-04-21 06:57:07 +00:00
Thomas Faber 7495c41a26 [NDK]
- Add PsJobType, LpcPortObjectType

svn path=/trunk/; revision=56377
2012-04-21 06:44:26 +00:00
Thomas Faber 4b9b72182c [NTOSKRNL]
- Export SeTokenObjectType

svn path=/trunk/; revision=56376
2012-04-21 06:35:45 +00:00
Timo Kreuzer dd414ba20f [[NTOSKRNL]
Fix another typo



svn path=/trunk/; revision=56375
2012-04-20 19:35:27 +00:00
Timo Kreuzer fef455ec53 [NTOSKRNL]
Fix a typo ;-)

svn path=/trunk/; revision=56374
2012-04-20 19:32:36 +00:00
Timo Kreuzer 9f34d2cfc7 [NTOSKRNL]
Implement keyed events (untested)

svn path=/trunk/; revision=56373
2012-04-20 19:31:07 +00:00
Amine Khaldi 3da4729f56 * Missed this in my previous commit.
svn path=/trunk/; revision=56372
2012-04-20 19:24:27 +00:00
Amine Khaldi 9714322e59 [EXPLORER]
* Handle the /select cmd option. Patch by Edijs Kolesnikovics.
See issue #6096 for more details.

svn path=/trunk/; revision=56371
2012-04-20 19:21:16 +00:00
Amine Khaldi b9a7b90af3 [FORMATTING]
* No code changes.

svn path=/trunk/; revision=56370
2012-04-20 19:12:07 +00:00
Timo Kreuzer 54d9802905 [NDK]
- Fix name of ETHREAD::KeyedWaitSemaphore
- Reorder some amd64 msr constants

svn path=/trunk/; revision=56369
2012-04-20 19:01:15 +00:00
Timo Kreuzer f237b33f0e [CMAKE]
- Rename CreateBootSectorTarget2 to CreateBootSectorTarget and remove the old rbuild version

svn path=/trunk/; revision=56368
2012-04-20 12:39:00 +00:00
Pierre Schweitzer c20ab1959d [NTOSKRNL]
Fix a memory leak


svn path=/trunk/; revision=56367
2012-04-19 20:55:59 +00:00
Timo Kreuzer a9d728c50a [NTOSKRNL]
Fix a bug in MiAllocatePoolPages, that made the function succeed, when MAX_ULONG / -1 / 0xFFFFFFFF bytes were requested. The value overflowed into 0 and 0 pages were returned. When freeing this block, it could either free the next following large allocation or ASSERT when the end of the pool was reached without finding the end of the allocation.
Fixes FoxitReader 4.2/4.3

svn path=/trunk/; revision=56366
2012-04-19 14:33:53 +00:00
Timo Kreuzer daedde8ad3 [CRT TEST]
disable the crt tests until the cmake issues are resolved

svn path=/trunk/; revision=56365
2012-04-18 18:06:23 +00:00
Timo Kreuzer a791cb5f36 [CRT TEST]
for now disable the static test, it needs some fixes first

svn path=/trunk/; revision=56364
2012-04-18 17:37:21 +00:00
Timo Kreuzer 005d1d2a0c [TESTS]
Add a test framework for crt (ntdll, crtdll, msvcrt and static)

svn path=/trunk/; revision=56363
2012-04-18 17:21:18 +00:00
Timo Kreuzer 7bffecda7b [CRTDLL]
Create an import lib (needed for upcoming test)

svn path=/trunk/; revision=56362
2012-04-18 17:18:11 +00:00
Timo Kreuzer 8466be8d1c [NTDLL]
Mark _chkstk as extern to avoid duplication with msvcrtex library (using alloca will cause _alloca_probe to be linked, which aliases _chkstk)

svn path=/trunk/; revision=56361
2012-04-18 16:26:41 +00:00
Timo Kreuzer 820028e183 [CRT]
Fix warnings

svn path=/trunk/; revision=56360
2012-04-18 15:30:36 +00:00
Timo Kreuzer 8b5d4fe0e3 [CRT]
Sync startup code with mingw-w64, reduce difference a bit, remaining changes were passed upstream

svn path=/trunk/; revision=56359
2012-04-18 15:12:45 +00:00
Sylvain Petreolle 45aa7bfa9d [DXDIAG]
Fix warning in Turkish translation.

svn path=/trunk/; revision=56358
2012-04-18 14:35:42 +00:00
Timo Kreuzer 038a2fbb39 [NTOSKRNL]
- Implement saving / restoring debug registers on traps
- Replace the loop in KeContextToTrapFrame with something less ridiculous
- fixes a number of ntdd exception winetests

svn path=/trunk/; revision=56357
2012-04-18 13:39:19 +00:00
Timo Kreuzer ebccbcb163 [NTOSKRNL]
Fix SepGet*FromDescriptor, returning NULL, when the relative offset is 0.
Fixes VMware tools installer.

svn path=/trunk/; revision=56356
2012-04-18 11:27:03 +00:00
Olaf Siejka 615239a26b [TRANSLATION]
- turkish partial translation of setup and user32 by Arda Tanrýkulu (bug no. 6999);


svn path=/trunk/; revision=56355
2012-04-16 20:26:26 +00:00
Timo Kreuzer 9e4ed3a0d8 [PSDK/NDK]
- Add missing PEXCEPTION_ROUTINE, RtlLookupFunctionEntry, RtlVirtualUnwind to winnt.h
- Remove PEXCEPTION_ROUTINE from NDK
- delete obsolete reactos/mingw-w64 folder

svn path=/trunk/; revision=56354
2012-04-16 12:47:36 +00:00
Timo Kreuzer dda26dddae [EXPLORER]
Expand the environment variables when running startup programs
Patch by Edijs Kolesnikovics, slightly modified by me
See issue #6953 for more details.

svn path=/trunk/; revision=56353
2012-04-15 19:11:29 +00:00
Timo Kreuzer 13e0a82ad5 [RTL/AMD64]
- Fix a bug in DbgBreakPointWithStatus: the int 3 must be after RtlpBreakWithStatusInstruction

svn path=/trunk/; revision=56352
2012-04-15 13:52:00 +00:00
James Tabor 8280d46614 - Allow warnings when needed.
svn path=/trunk/; revision=56351
2012-04-15 01:32:04 +00:00
Timo Kreuzer 24cace2a24 [CMD]
Add quotes to autocompleted names, when certain characters are present, not only spaces. Not sure if that's really all, but should be the most common.

svn path=/trunk/; revision=56350
2012-04-14 22:22:20 +00:00
Timo Kreuzer ece4aa3f3f [CMD]
Handle the + character only optionally as a token seperator, so that other commands like rename are not affected.

svn path=/trunk/; revision=56349
2012-04-14 21:35:58 +00:00
Timo Kreuzer a77220cc37 Remove confusing comments
svn path=/trunk/; revision=56348
2012-04-14 21:19:12 +00:00
Timo Kreuzer 49a81a2b04 [CMD]
Fix several bugs in the copy command:
- "x:" is not a valid source path (see bug #5709)
- when appending files using "+", cmd must distinguish between + as operator and + as part of the source file, when being put in "". For that reason the tokenizer was modified to make + a seperate token, which is replaced with | when creating the string of multiple files (since + is a valid file character)
- ? was not correctly handled when passed in the output file name
- factor out the code to create the file name from wildcards and make it readable (no, p, q, r are NOT reasonable variable names!)
- Move code out of the loop that doesn't belong there
- Make sure the file names are printed when multiple files are copied or appended
- write the count of written files (which is 1 when appending), not source files after the copy process is done
- Remove an excessive newline when writing strings with ConPuts()
- Improve readability a bit

svn path=/trunk/; revision=56346
2012-04-14 20:57:38 +00:00
Timo Kreuzer 847a74660e [SHELL32]
Fix a trace message, noticed by Edijus

svn path=/trunk/; revision=56345
2012-04-14 12:10:02 +00:00
Timo Kreuzer c001d46f1c [SHELL32]
Remove trailing backslash in shellink working dir
Patch by Edijs Kolesnikovics (terminedijs at yahoo dot com)

See issue #7000 for more details.

svn path=/trunk/; revision=56344
2012-04-14 10:40:21 +00:00
Amine Khaldi b4d5aaed08 [NTKRNLMP]
* Properly set the exports to refer to ntkrnlmp.exe instead of ntoskrnl.exe.

svn path=/trunk/; revision=56343
2012-04-13 21:35:00 +00:00