reactos.git
13 years ago[WIN32K]
Timo Kreuzer [Tue, 8 Jun 2010 02:27:28 +0000 (02:27 +0000)]
[WIN32K]
NtGdiGetDIBitsInternal: don't use the unsafe usermode pointer after the BITMAPINFO has been converted and protect writing back the result with SEH.

svn path=/branches/reactos-yarotows/; revision=47692

13 years ago[WIN32K]
Jérôme Gardou [Tue, 8 Jun 2010 00:40:42 +0000 (00:40 +0000)]
[WIN32K]
  - remove duplicate prototypes.
  - Add missing trail to debug print
  - replace some now superfluous checks on bitmap palette with sanity ASSERTS
  - begin using BITMAPV5HEADER as a default bitmap format, and introduce conversion to and from everything prior that.
Congratulations to BITMAPCOREHEADER, for its backward compatibility personal failure.

svn path=/branches/reactos-yarotows/; revision=47690

13 years ago[WIN32K]
Timo Kreuzer [Mon, 7 Jun 2010 15:55:03 +0000 (15:55 +0000)]
[WIN32K]
Introduce GreCreateBitmapEx, which has the extended functionality needed by some callers, GreCreateBitmap calls GreCreateBitmapEx to keep the simple syntax. Use it in DIB_CreateDIBSection to fix build. Also pass the size of the image (still ignored), which is needed for compressed bitmaps (we currently assume that RLEs take as much space as an uncompressed bitmap)

svn path=/branches/reactos-yarotows/; revision=47663

13 years ago[WIN32K]
Timo Kreuzer [Sun, 6 Jun 2010 22:01:41 +0000 (22:01 +0000)]
[WIN32K]
Rewrite the bitmap API. There were a lot of bugs. NtGdiCreateBitmap allowed a negative height, leading to either topdown or bottomup bitmaps, a behaviour that Windows doesn't have. The function copied the bitmap bits directly from the caller to the bitmap using RtlCopyMemory, ignoring different scanline length and direction (resulting in bitmaps being upside down), not SEH protected. This function (IntSetBitmapBits) is replaced by a better solution UnsafeSetBitmapBits, that takes these things into account. The name is chosen to give a hint that the function can/should be SEH protected. IntSetBitmapBits is still there, as its retarded behaviour is actually required in some places. There were also IntCreateBitmap and IntGdiCreateBitmap, now both being replaced by GreCreateBitmap. The code that set the palette is removed, as it's already done in SURFACE_AllocSurface, here gpalRGB is replaced with gpalBGR, fixing some inverted color issues. The alignment correction in SURFACE_bSetBitmapBits is reapplied, now that the callers are behaving as they are supposed to do.

svn path=/branches/reactos-yarotows/; revision=47641

13 years ago[WIN32K]
Timo Kreuzer [Sun, 6 Jun 2010 20:56:58 +0000 (20:56 +0000)]
[WIN32K]
Make the bitmap data for the extpens (making extpens bitmaps is a bad idea anyway) 4 bytes long instead of 3, to fulfill alignment requirements.

svn path=/branches/reactos-yarotows/; revision=47638

13 years ago[WIN32K]
Timo Kreuzer [Sun, 6 Jun 2010 11:11:30 +0000 (11:11 +0000)]
[WIN32K]
Disable the additional alignment code for now, it breaks selections (text / icons)

svn path=/branches/reactos-yarotows/; revision=47619

13 years ago[WIN32K]
Timo Kreuzer [Sun, 6 Jun 2010 09:09:04 +0000 (09:09 +0000)]
[WIN32K]
Add Windows compatible alignment code.

svn path=/branches/reactos-yarotows/; revision=47618

13 years ago[WIN32K]
Timo Kreuzer [Sun, 6 Jun 2010 07:02:15 +0000 (07:02 +0000)]
[WIN32K]
- Move RLE specific code to it's own file (rlecomp.c)
- Relace BitsPerFormat function with an array of UCHARs
- Rewrite surface creation. Surfaces are now allocated from one central function SURFACE_AllocSurface, which sets the size, iType, iUniq, the handle and the default palette.
- Implement SURFACE_vSetDefaultPalette, which sets the default RGB palette, based on bit depth.
- Implement SURFACE_bSetBitmapBits, wich sets cjBits, pvBits, pvScan0 and lDelta and allocates memory if neccessary.
- Use these functions for EngCreateBitmap, EngCreateDeviceBitmap, EngCreateDeviceSurface and IntCreateBitmap

svn path=/branches/reactos-yarotows/; revision=47612

13 years ago[WIN32K]
Timo Kreuzer [Sun, 6 Jun 2010 06:32:01 +0000 (06:32 +0000)]
[WIN32K]
Once again: Do not free the memory for the bitmap bits, when you have not allocated them.

svn path=/branches/reactos-yarotows/; revision=47611

13 years ago[WIN32K]
Timo Kreuzer [Sun, 6 Jun 2010 05:47:31 +0000 (05:47 +0000)]
[WIN32K]
Add another failure check to EngAllocSectionMem

svn path=/branches/reactos-yarotows/; revision=47610

13 years ago[WIN32K]
Timo Kreuzer [Sun, 6 Jun 2010 05:45:36 +0000 (05:45 +0000)]
[WIN32K]
Do not free the memory for the bitmap bits, when you have not allocated them. Fixes bugcheck with VBox driver.

svn path=/branches/reactos-yarotows/; revision=47609

13 years ago[WIN32K]
Timo Kreuzer [Sun, 6 Jun 2010 03:12:56 +0000 (03:12 +0000)]
[WIN32K]
- Allocate bitmaps as kernel sections, instead of from paged pool, like it's done in windows.
- Fix SURFACE_Cleanup. It was only freeing the memory for API_BITMAPs. If memory was allocated by a driver it never got freed.
- Add BMF_RLE_HACK flag to free decompressed RLE bits
- Support FL_ZERO_MEMORY in EngAllocSectionMem
- Set SURFOBJ::iType when creating a surface

svn path=/branches/reactos-yarotows/; revision=47606

13 years ago[WIN32K]
Timo Kreuzer [Sat, 5 Jun 2010 21:19:41 +0000 (21:19 +0000)]
[WIN32K]
Make the SURFACE structure a bit more like the half documented windows version.

svn path=/branches/reactos-yarotows/; revision=47603

13 years ago[WIN32K]
Timo Kreuzer [Sat, 5 Jun 2010 15:58:01 +0000 (15:58 +0000)]
[WIN32K]
- Simplify the logic of the mapping functions a bit, by using either FILEVIEW or ENGSECTION, not both.
- Set FILEVIEW::LastWriteTime

svn path=/branches/reactos-yarotows/; revision=47591

13 years ago[WIN32K]
Timo Kreuzer [Sat, 5 Jun 2010 04:34:12 +0000 (04:34 +0000)]
[WIN32K]
Implement EngCreateSection, EngMapSection, EngFreeSectionMem, EngAllocSectionMem, EngLoadModuleEx, EngLoadModule, EngLoadModuleForWrite, EngMapModule, EngFreeModule, EngMapFile, EngUnmapFile. Unused & untested.

svn path=/branches/reactos-yarotows/; revision=47583

13 years ago[WIN32K] UserDrawIconEx
Jérôme Gardou [Mon, 31 May 2010 14:19:37 +0000 (14:19 +0000)]
[WIN32K] UserDrawIconEx
  - There is no need to recalculate size of the Icon, we already have this piece of information
  - Draw monochrome cursor/icons, not only their mask.

svn path=/branches/reactos-yarotows/; revision=47495

13 years ago[WIN32K]
Jérôme Gardou [Sun, 30 May 2010 16:31:56 +0000 (16:31 +0000)]
[WIN32K]
  - Simplify UserDrawIconEx
  - NtUserCreateCursorIconHandle : Get Information from bitmaps even on indirect creation and fix calculation of icon height in case of monochrome icons.
Fixes ~15 user32:cursoricon winetests.

svn path=/branches/reactos-yarotows/; revision=47451

13 years ago[USER32]
Jérôme Gardou [Fri, 28 May 2010 21:58:33 +0000 (21:58 +0000)]
[USER32]
  - Change ChangeDisplaySettingsExA to look more like wine's one
[WIN32K]
  - Return correct value if buffer is to small in UserChangeDisplaySettings (wine tests)
  - Do not set an invalid size to the devmode we're passing ti UserChangeDisplaySettings, we might access garbage
Now all ChangeDisplaySettings related wine tests pass.

svn path=/branches/reactos-yarotows/; revision=47386

13 years agoSync with trunk r47367
Jérôme Gardou [Wed, 26 May 2010 23:20:20 +0000 (23:20 +0000)]
Sync with trunk r47367

svn path=/branches/reactos-yarotows/; revision=47369

13 years ago[WIN32K]
Jérôme Gardou [Wed, 26 May 2010 23:04:02 +0000 (23:04 +0000)]
[WIN32K]
  - sync subsystems/win32/win32k.objects/cliprgn.c with trunk.

svn path=/branches/reactos-yarotows/; revision=47368

13 years ago[WIN32K]
Jérôme Gardou [Wed, 26 May 2010 22:29:45 +0000 (22:29 +0000)]
[WIN32K]
  - merge r47350, slightly modified to get it the yarotows way

svn path=/branches/reactos-yarotows/; revision=47366

13 years agorevert something that should never have been commited
Jérôme Gardou [Wed, 26 May 2010 00:20:00 +0000 (00:20 +0000)]
revert something that should never have been commited

svn path=/branches/reactos-yarotows/; revision=47357

13 years ago[WIN32K]
Jérôme Gardou [Tue, 25 May 2010 23:45:55 +0000 (23:45 +0000)]
[WIN32K]
  - Set right flags when reading display modes from registry
  - Implement UserEnumRegistryDisplaySettings

svn path=/branches/reactos-yarotows/; revision=47356

13 years ago[WIN32K]
Jérôme Gardou [Tue, 25 May 2010 22:46:57 +0000 (22:46 +0000)]
[WIN32K]
  - Check devmode size in NtUserChangeDisplaySettings
  - Copy memory instead of setting fields in UserEnumDisplaySettings, so we don't lost anything.

svn path=/branches/reactos-yarotows/; revision=47355

13 years ago[WIN32K]
Jérôme Gardou [Tue, 25 May 2010 22:17:52 +0000 (22:17 +0000)]
[WIN32K]
  - UserChangeDisplaySettings : add some checks and fixes to what was passed to us
More wine tests pass.

svn path=/branches/reactos-yarotows/; revision=47354

13 years ago[WIN32K]
Jérôme Gardou [Tue, 25 May 2010 20:24:21 +0000 (20:24 +0000)]
[WIN32K]
  - Set DISPLAY_DEVICE_PRIMARY_DEVICE to Graphics device object when creating the primary device object
  - switch state flags of the graphics device objects when switching mode
  - Only compare valid fields when searching for a device mode in a device object
  - implement CDS_TEST flag in NtUserSetDisplaySettings

svn path=/branches/reactos-yarotows/; revision=47353

13 years ago[WIN32K]
Jérôme Gardou [Tue, 25 May 2010 14:41:44 +0000 (14:41 +0000)]
[WIN32K]
  - Initialize virtual device coordinates when creating a DC
All gdi32::mapping tests pass now

svn path=/branches/reactos-yarotows/; revision=47352

13 years agosync with trunk r47346
Jérôme Gardou [Tue, 25 May 2010 10:27:42 +0000 (10:27 +0000)]
sync with trunk r47346

svn path=/branches/reactos-yarotows/; revision=47347

13 years ago[USETUP]
Gabriel Ilardi [Tue, 25 May 2010 08:16:09 +0000 (08:16 +0000)]
[USETUP]
- Polish and Czech (#5429) translations of required disk space by Maciej Bialas and Radek Liska
- Some fixes and updates to Italian and Spanish resources

svn path=/trunk/; revision=47346

13 years ago[USETUP]
Eric Kohl [Mon, 24 May 2010 22:32:23 +0000 (22:32 +0000)]
[USETUP]
Make the required minimum disk space configurable from the txtsetup.sif file.

svn path=/trunk/; revision=47345

13 years ago[USETUP]
Eric Kohl [Mon, 24 May 2010 21:43:51 +0000 (21:43 +0000)]
[USETUP]
Made the 'Copying file...' status line message left aligned like all the other status line messages.

svn path=/trunk/; revision=47343

13 years ago[USETUP]
Eric Kohl [Mon, 24 May 2010 21:08:06 +0000 (21:08 +0000)]
[USETUP]
- Add german translation of required minimum disk space warning.

svn path=/trunk/; revision=47342

13 years ago[USETUP]
Gabriel Ilardi [Mon, 24 May 2010 20:53:32 +0000 (20:53 +0000)]
[USETUP]
- Check for required minimum disk space eventually warn the user.
- Added Italian and Spanish warnings, the other languages need translation.
- Patch by R.T.Sivakumar modified by me.
See issue #3302 for more details.

svn path=/trunk/; revision=47341

13 years ago[WIN32K / WIN32CSR]
Timo Kreuzer [Mon, 24 May 2010 13:34:08 +0000 (13:34 +0000)]
[WIN32K / WIN32CSR]
Get rid of FASTCALL specifier for static functions and functions with no parameters.

svn path=/trunk/; revision=47340

13 years ago[WIN32K]
Timo Kreuzer [Mon, 24 May 2010 12:57:03 +0000 (12:57 +0000)]
[WIN32K]
When destroying a window, generate a mouse move message, so that the underlying window is notified about the mouse position and can update the pointer if neccessary. Fixes bug #4499 and bug #3893

See issue #4499 for more details.

svn path=/trunk/; revision=47339

13 years ago- Revert 47310. Please find a way to enable kmtest only when building the testing...
Aleksey Bragin [Mon, 24 May 2010 08:51:52 +0000 (08:51 +0000)]
- Revert 47310. Please find a way to enable kmtest only when building the testing cd image, not the installation/live one.

svn path=/trunk/; revision=47338

13 years ago[WIN32CSR] fix tuiconsole
Jeffrey Morlan [Mon, 24 May 2010 00:04:56 +0000 (00:04 +0000)]
[WIN32CSR] fix tuiconsole

svn path=/trunk/; revision=47337

13 years ago[SMSS]
Eric Kohl [Sun, 23 May 2010 23:41:16 +0000 (23:41 +0000)]
[SMSS]
- Add the system environment variables PROCESSOR_LEVEL and PROCESSOR_REVISION.

svn path=/trunk/; revision=47336

13 years ago[WIN32CSR]
Jeffrey Morlan [Sun, 23 May 2010 22:38:16 +0000 (22:38 +0000)]
[WIN32CSR]
- Make consistent use of RECT/SMALL_RECT structures: a RECT uses pixel coordinates relative to the window client area and is endpoint-exclusive; a SMALL_RECT uses character coordinates relative to the screen buffer and is endpoint-inclusive.
- Allow text selections outside of the visible window
- Implement GetConsoleSelectionInfo

svn path=/trunk/; revision=47335

13 years ago[REGEDIT]
Eric Kohl [Sun, 23 May 2010 20:41:03 +0000 (20:41 +0000)]
[REGEDIT]
Ignore the case when sorting value names.

svn path=/trunk/; revision=47334

13 years ago[SMSS]
Eric Kohl [Sun, 23 May 2010 19:27:04 +0000 (19:27 +0000)]
[SMSS]
- Remove the system environment variable OS from the hivesys*.inf files.
- Change the type of the system environment variable PATHEXT in the hivesys*.inf files from REG_EXPAND_SZ to REG_SZ.
- Let SMSS add the system environment variables OS and NUMBER_OF_PROCESSORS to the registry.

svn path=/trunk/; revision=47333

13 years ago[KERNEL32], [WIN32CSR] More fixes for console winetest
Jeffrey Morlan [Sun, 23 May 2010 17:40:54 +0000 (17:40 +0000)]
[KERNEL32], [WIN32CSR] More fixes for console winetest
- BasepInitConsole: Initialize console input EXE name
- GetConsoleProcessList: Use capture buffer; only copy IDs if buffer has enough room for all of them; return total number of processes.

svn path=/trunk/; revision=47331

13 years ago[SMSS]
Eric Kohl [Sun, 23 May 2010 17:28:06 +0000 (17:28 +0000)]
[SMSS]
- Remove the system environment variable PROCESSOR_ARCHITECTURE from the hivesys*.inf files.
- Let SMSS add the system environment variables PROCESSOR_ARCHITECTURE and PROCESSOR_IDENTIFIER to the registry.

svn path=/trunk/; revision=47330

13 years ago[INTL]
Gabriel Ilardi [Sun, 23 May 2010 17:07:56 +0000 (17:07 +0000)]
[INTL]
- Polish translation of Metric and Imperial by Olaf Siejka.

svn path=/trunk/; revision=47329

13 years ago[REGEDIT]
Gabriel Ilardi [Sun, 23 May 2010 17:01:06 +0000 (17:01 +0000)]
[REGEDIT]
- Don't display "finished" message if search is aborted.
Patch by Katayama Hirofumi.
See issue #5421 for more details.

svn path=/trunk/; revision=47328

13 years agoPerform case insensitive comparison against the selected language id.
Sylvain Petreolle [Sun, 23 May 2010 16:26:11 +0000 (16:26 +0000)]
Perform case insensitive comparison against the selected language id.

svn path=/trunk/; revision=47327

13 years ago[KERNEL32], [WIN32CSR] Implement the CREATE_NO_WINDOW flag which creates a console...
Jeffrey Morlan [Sun, 23 May 2010 15:56:37 +0000 (15:56 +0000)]
[KERNEL32], [WIN32CSR] Implement the CREATE_NO_WINDOW flag which creates a console with an invisible window.

svn path=/trunk/; revision=47326

13 years ago[win32k]
Michael Martin [Sun, 23 May 2010 11:53:01 +0000 (11:53 +0000)]
[win32k]
- For the Low Level Mouse Hook (WH_MOUSE_LL), input can come from the mouse driver or mouse_event. Both of which result in a call to UserSetCursorPos.
UserMode SetCursorPos API also ends up here. Add BOOL parameter that can be used to determine if hooks are to be called.
- Move the code related to calling the hook procedure from MsqInsertSystemMessage into UserSetCursorPos and call the hook procedure here if needed.
If hook procedure returns non 0 value. Dont insert the system message.
- Fixes a recursive call to the hook procedure resulting thread using to much stack exposed by user32 winetest for input.

svn path=/trunk/; revision=47325

13 years ago[WINLOGON]
Eric Kohl [Sun, 23 May 2010 11:35:08 +0000 (11:35 +0000)]
[WINLOGON]
- Set the APPDATA environment variable without loading shell32.dll.
This should fix bug #5398.

svn path=/trunk/; revision=47324

13 years ago[kernel32_winetest]
Giannis Adamopoulos [Sun, 23 May 2010 10:59:41 +0000 (10:59 +0000)]
[kernel32_winetest]
- kernel32 tests need a resource file

svn path=/trunk/; revision=47322

13 years ago[WIN32CSR] Implement FILE_SHARE_* flags for console handles. Fixes some more winetests.
Jeffrey Morlan [Sun, 23 May 2010 09:10:02 +0000 (09:10 +0000)]
[WIN32CSR] Implement FILE_SHARE_* flags for console handles. Fixes some more winetests.

svn path=/trunk/; revision=47319

13 years ago[WIN32CSR] Delete even the active screen buffer when all handles are closed. Fixes...
Jeffrey Morlan [Sun, 23 May 2010 06:04:15 +0000 (06:04 +0000)]
[WIN32CSR] Delete even the active screen buffer when all handles are closed. Fixes a winetest.

svn path=/trunk/; revision=47318

13 years ago[WIN32CSR]
Jeffrey Morlan [Sun, 23 May 2010 05:33:21 +0000 (05:33 +0000)]
[WIN32CSR]
- Simplify locking: having a lock for each screen buffer is overkill since most programs only use one screen buffer at a time. (besides, almost all APIs were taking the console lock anyway) Reduce to just having one lock for a console.
- Instead of keeping track of how many references a screen buffer has, keep track of handles only.  When all handles to a screen buffer are closed, it should be deleted even if it's the active buffer (not yet implemented).

svn path=/trunk/; revision=47317

13 years ago[WIN32CSR] Protect ProcessData->Console with the HandleTableLock.
Jeffrey Morlan [Sun, 23 May 2010 02:58:23 +0000 (02:58 +0000)]
[WIN32CSR] Protect ProcessData->Console with the HandleTableLock.

svn path=/trunk/; revision=47316

13 years ago[WIN32CSR] Clean up the debris from r47314: Removed some redundant code, reorganized...
Jeffrey Morlan [Sun, 23 May 2010 00:51:29 +0000 (00:51 +0000)]
[WIN32CSR] Clean up the debris from r47314: Removed some redundant code, reorganized headers, fixed win32csr.rbuild indentation

svn path=/trunk/; revision=47315

13 years ago[CSRSRV], [WIN32CSR]
Jeffrey Morlan [Sat, 22 May 2010 23:47:54 +0000 (23:47 +0000)]
[CSRSRV], [WIN32CSR]
- Move code for managing console handles from csrsrv to win32csr, where the rest of the console code is. No changes in functionality intended.
- Unify the csrsrv->win32csr callbacks (now numbering 4) into one table to avoid excessive code duplication.

svn path=/trunk/; revision=47314

13 years ago[WIN32CSR] Make CsrFreeConsole close the process's console handles.
Jeffrey Morlan [Sat, 22 May 2010 21:40:20 +0000 (21:40 +0000)]
[WIN32CSR] Make CsrFreeConsole close the process's console handles.

svn path=/trunk/; revision=47313

13 years ago[INTL]
Eric Kohl [Sat, 22 May 2010 20:27:14 +0000 (20:27 +0000)]
[INTL]
Translation for entries added by r47298.
Patch by Radek Liska. Fixes bug #5416.

svn path=/trunk/; revision=47312

13 years ago[DEVMGR]
Eric Kohl [Sat, 22 May 2010 20:10:52 +0000 (20:10 +0000)]
[DEVMGR]
devman.dll improvements by Viliam Lejcik:

- display version info for selected driver file in 'Driver File Details' dialog
- resource modification - changed some labels to read-only editboxes

Fixes bug #4875.

svn path=/trunk/; revision=47311

13 years ago[HIVESYS.INF]
Cameron Gutman [Sat, 22 May 2010 18:34:54 +0000 (18:34 +0000)]
[HIVESYS.INF]
- Enable kmtest

svn path=/trunk/; revision=47310

13 years ago[KMTEST]
Cameron Gutman [Sat, 22 May 2010 18:34:01 +0000 (18:34 +0000)]
[KMTEST]
- Add support for recovering from crashed tests
- Add check to prevent us from running the test every boot
- Delete some useless code
- Record test result information in the registry
- Under the Kmtest\Parameters key, you will find CurrentStage which is the stage that testing is on (almost always 8 if it boots). You will also find <Test Name>SuccessCount which is the number of successful tests, <Test Name>FailureCount which is the number of failed tests, <Test Name>TotalCount which is the total number of tests, and <Test Name>SkippedCount which is the number of tests that have been skipped
- Enjoy your reg testing! :)

svn path=/trunk/; revision=47309

13 years ago[NTOSKRNL]
Cameron Gutman [Sat, 22 May 2010 16:12:59 +0000 (16:12 +0000)]
[NTOSKRNL]
- Print a warning instead of crashing when a driver provides a NULL pointer in the MajorFunction array

svn path=/trunk/; revision=47308

13 years ago[NTOSKRNL]
Cameron Gutman [Sat, 22 May 2010 16:03:25 +0000 (16:03 +0000)]
[NTOSKRNL]
- Free the string buffer after the DPRINT1 that prints the contents of the string
- Fixes debug print corruption found by kmtest

svn path=/trunk/; revision=47307

13 years ago[REACTOS.DFF]
Cameron Gutman [Sat, 22 May 2010 15:28:23 +0000 (15:28 +0000)]
[REACTOS.DFF]
- Add kmtest.sys and kmtestassist.sys to bootcd (optional)

svn path=/trunk/; revision=47306

13 years ago[SHELL32]
Gregor Schneider [Sat, 22 May 2010 15:16:14 +0000 (15:16 +0000)]
[SHELL32]
- Duplicate the string instead of freeing the memory twice at two different positions
- Fixes a heap warning when stating cmd from the desktop
See issue #4924 for more details.

svn path=/trunk/; revision=47305

13 years ago[WIN32K]
Timo Kreuzer [Sat, 22 May 2010 14:54:48 +0000 (14:54 +0000)]
[WIN32K]
- Simplify EBRUSHOBJ_vInit and EBRUSHOBJ_bRealizeBrush a bit more

svn path=/branches/reactos-yarotows/; revision=47304

13 years ago[INTL]
Gabriel Ilardi [Sat, 22 May 2010 10:49:28 +0000 (10:49 +0000)]
[INTL]
Translate 'Metric' and 'Imperial' strings into Italian and Spanish.

svn path=/trunk/; revision=47299

13 years ago[INTL]
Eric Kohl [Sat, 22 May 2010 10:20:56 +0000 (10:20 +0000)]
[INTL]
- Replace hard-coded unit strings ('Metric' and 'Imperial') by resource strings.
- Add the required resource strings to all supported languages.
- Translators: Please translate these strings.

svn path=/trunk/; revision=47298

13 years ago[WIN32K]
Timo Kreuzer [Sat, 22 May 2010 02:42:38 +0000 (02:42 +0000)]
[WIN32K]
Remove WS_EX_SETANSICREATOR from Ex style in co_IntCreateWindowEx

svn path=/trunk/; revision=47297

13 years ago[USER32]
Timo Kreuzer [Sat, 22 May 2010 02:32:28 +0000 (02:32 +0000)]
[USER32]
Fix uninitialized variable

svn path=/trunk/; revision=47296

13 years ago[WIN32K / USER32]
Timo Kreuzer [Sat, 22 May 2010 01:05:31 +0000 (01:05 +0000)]
[WIN32K / USER32]
Convert the window text string from UNICODE_STRING to LARGE_STRING and fix NtUserCreateWindowEx parameters. We currently still pass UNICODE only LARGE_STRINGs, as the rest of the code in win32k expects this.
Fixes display of large text windows, like the winzip license.
See issue #2900 for more details.

svn path=/trunk/; revision=47295

13 years ago[IPHLPAPI]
Cameron Gutman [Fri, 21 May 2010 20:17:35 +0000 (20:17 +0000)]
[IPHLPAPI]
- Fix some code left over from a previous attempt

svn path=/trunk/; revision=47294

13 years ago[DHCPCSVC]
Cameron Gutman [Fri, 21 May 2010 20:16:48 +0000 (20:16 +0000)]
[DHCPCSVC]
- Remove the unused include folder

svn path=/trunk/; revision=47293

13 years ago[DHCP/DHCPCSVC]
Cameron Gutman [Fri, 21 May 2010 20:14:56 +0000 (20:14 +0000)]
[DHCP/DHCPCSVC]
- Restore the SVN history
- Part 3 of 3 (hopefully)

svn path=/trunk/; revision=47292

13 years ago[DHCP]
Cameron Gutman [Fri, 21 May 2010 19:30:13 +0000 (19:30 +0000)]
[DHCP]
- Restore SVN history
- Part 2 of x

svn path=/trunk/; revision=47291

13 years ago[DHCPCSVC]
Cameron Gutman [Fri, 21 May 2010 19:22:09 +0000 (19:22 +0000)]
[DHCPCSVC]
- Restore SVN history
- Part 1 of x

svn path=/trunk/; revision=47290

13 years agoDHCPCSVC]
Cameron Gutman [Fri, 21 May 2010 06:08:15 +0000 (06:08 +0000)]
DHCPCSVC]
- Move code from dhcp to dhcpcsvc
- Export ServiceMain from dhcpcsvc
- Now our DHCP service is compatible with the Windows architecture
[DHCP]
- Remove dhcp from build
[IPHLPAPI]
- Use dhcpcsvc APIs to control the DHCP service
- Add a missing DhcpCApiInitialize
- Fix include path in the rbuild file
[BOOTDATA]
- Add DHCP to the service list to be loaded by svchost in the netsvcs group
- Add the correct registry keys in the DHCP service key for loading by svchost
- Remove dhcp.exe from bootcd

- Part 3 of 3

svn path=/trunk/; revision=47288

13 years ago[DHCP]
Cameron Gutman [Fri, 21 May 2010 05:57:05 +0000 (05:57 +0000)]
[DHCP]
- Delete the old DHCP service
- Part 2 of x

svn path=/trunk/; revision=47287

13 years ago[DHCP]
Cameron Gutman [Fri, 21 May 2010 05:44:35 +0000 (05:44 +0000)]
[DHCP]
- Delete the old dhcp service
- Part 1 of x

svn path=/trunk/; revision=47286

13 years ago[win32k]
Michael Martin [Thu, 20 May 2010 21:45:15 +0000 (21:45 +0000)]
[win32k]
- Move the initialization of MasterTimer into InitInputImp which is called from win32k DriverEntry routine instead of initializing it in the secondary thread RawInputThreadMain.

svn path=/trunk/; revision=47285

13 years ago[win32k]
Michael Martin [Thu, 20 May 2010 21:07:53 +0000 (21:07 +0000)]
[win32k]
- Set MasterTimer initial value to NULL and Initialize MasterTimer at the beginning of RawInputThreadMain before doing anything else.
- Add ASSERTs to catch if MasterTimer is NULL.

svn path=/trunk/; revision=47284

13 years ago[win32k]
Giannis Adamopoulos [Thu, 20 May 2010 12:25:50 +0000 (12:25 +0000)]
[win32k]
-Remove an incorrect debug message and silence one

svn path=/trunk/; revision=47283

13 years ago[WIN32CSR]
Timo Kreuzer [Wed, 19 May 2010 22:15:49 +0000 (22:15 +0000)]
[WIN32CSR]
Silence a debugprint

svn path=/trunk/; revision=47282

13 years ago[win32k]
Giannis Adamopoulos [Wed, 19 May 2010 19:08:25 +0000 (19:08 +0000)]
[win32k]
-Correctly adjust values returned from co_WinPosGetMinMaxInfo

svn path=/trunk/; revision=47281

13 years ago[win32k]
Giannis Adamopoulos [Wed, 19 May 2010 18:47:39 +0000 (18:47 +0000)]
[win32k]
-Sync co_WinPosGetMinMaxInfo with wine

svn path=/trunk/; revision=47280

13 years ago[WIN32K]
Jérôme Gardou [Wed, 19 May 2010 17:41:56 +0000 (17:41 +0000)]
[WIN32K]
   Some cleanup, no code change.

svn path=/branches/reactos-yarotows/; revision=47279

13 years ago[WIN32K]
Timo Kreuzer [Wed, 19 May 2010 16:23:33 +0000 (16:23 +0000)]
[WIN32K]
Simplify EXLATEOBJ_vInitXlateFromDCs and remove EXLATEOBJ_vInitBrushXlate. Less code, more fun.

svn path=/branches/reactos-yarotows/; revision=47278

13 years ago[userenv]
Gabriel Ilardi [Wed, 19 May 2010 12:53:03 +0000 (12:53 +0000)]
[userenv]
german translation of sendto
Patch by Egon Ashrafinia
See issue #5411 for more details.

svn path=/trunk/; revision=47277

13 years ago[userenv]
Gabriel Ilardi [Wed, 19 May 2010 12:03:41 +0000 (12:03 +0000)]
[userenv]
- Fix Italian commonfiles
- Fix a typo and some Spanish environment variables

svn path=/trunk/; revision=47276

13 years ago[win32k]
Giannis Adamopoulos [Wed, 19 May 2010 11:50:21 +0000 (11:50 +0000)]
[win32k]
-Store the monitor work area in the monitor and not in the desktop

svn path=/trunk/; revision=47275

13 years ago[win32k]
Giannis Adamopoulos [Wed, 19 May 2010 09:18:24 +0000 (09:18 +0000)]
[win32k]
-WM_WINDOWPOSCHANGED should contain the final window position

svn path=/trunk/; revision=47273

13 years agosync with trunk (r47268)
Timo Kreuzer [Wed, 19 May 2010 03:44:15 +0000 (03:44 +0000)]
sync with trunk (r47268)

svn path=/branches/reactos-yarotows/; revision=47271

13 years ago[WIN32K]
Timo Kreuzer [Wed, 19 May 2010 02:36:38 +0000 (02:36 +0000)]
[WIN32K]
Add back a break that got removed by accident. Fixes icon color regression.

svn path=/branches/reactos-yarotows/; revision=47270

13 years ago[WIN32K]
Timo Kreuzer [Wed, 19 May 2010 01:54:43 +0000 (01:54 +0000)]
[WIN32K]
- When initializing the EXLATEOBJ to translate the solid brush color in EBRUSHOBJ_vSetSolidBrushColor, also pass the EBRUSHOBJs back color. This fixes wrong colors when the destination surface is mono (e.g. disabled buttons)

svn path=/branches/reactos-yarotows/; revision=47269

13 years ago[QMGR]
Cameron Gutman [Tue, 18 May 2010 22:48:09 +0000 (22:48 +0000)]
[QMGR]
- Add the FLG_ADDREG_APPEND flag when writing the netsvcs value because, unlike WINE, we are actually going to have values in there

svn path=/trunk/; revision=47268

13 years ago[SETUPAPI]
Cameron Gutman [Tue, 18 May 2010 22:43:02 +0000 (22:43 +0000)]
[SETUPAPI]
- Fix an incorrect length value that corrupted REG_MULTI_SZ values when they had strings appended
- I'm not sure if this is synced with WINE, but if it is, they need this patch too

svn path=/trunk/; revision=47267

13 years agoAdd SvcHost registry entries.
Sylvain Petreolle [Tue, 18 May 2010 22:35:00 +0000 (22:35 +0000)]
Add SvcHost registry entries.

svn path=/trunk/; revision=47266

13 years ago[REGEDIT]
Gregor Schneider [Tue, 18 May 2010 17:40:38 +0000 (17:40 +0000)]
[REGEDIT]
- Japanese resource fix by Katayama Hirofumi
- Adopt making the abort search button default for all languages
See issue #5409 for more details.

svn path=/trunk/; revision=47265

13 years ago[Win32k]
Giannis Adamopoulos [Tue, 18 May 2010 09:01:08 +0000 (09:01 +0000)]
[Win32k]
- Rename co_InflateRect to RECTL_vInflateRect and move it to rect.c
- Sync WinPosFillMinMaxInfoStruct with wine
Fixes some user32:win tests

svn path=/trunk/; revision=47264

13 years ago[Kernel32]
Michael Martin [Tue, 18 May 2010 06:34:48 +0000 (06:34 +0000)]
[Kernel32]
- Implement UTF7 Support. Patch by Katayama Hirofumi.

svn path=/trunk/; revision=47263