reactos.git
10 hours ago[NtGDI] master trunk
jimtabor [Thu, 27 Apr 2017 19:20:09 +0000 (19:20 +0000)]
[NtGDI]
- Use internal function for setting brush origin. Related to CORE-13110.

git-svn-id: file:///srv/svn/reactos/trunk@74422 97493ccd-5924-5043-b1f5-66cb403b36ce

12 hours ago[NtGDI]
jimtabor [Thu, 27 Apr 2017 17:53:03 +0000 (17:53 +0000)]
[NtGDI]
- Update DC attributes while internally setting brush origin. Related to CORE-13110.

git-svn-id: file:///srv/svn/reactos/trunk@74421 97493ccd-5924-5043-b1f5-66cb403b36ce

14 hours ago[WIN32SS] Fix returning an uninitialized variable. Patch by Victor Martinez Calvo...
mjansen [Thu, 27 Apr 2017 15:37:08 +0000 (15:37 +0000)]
[WIN32SS] Fix returning an uninitialized variable. Patch by Victor Martinez Calvo. CID 1341417, CORE-11027 #comment Thanks!

git-svn-id: file:///srv/svn/reactos/trunk@74420 97493ccd-5924-5043-b1f5-66cb403b36ce

21 hours ago[GDI32]
tfaber [Thu, 27 Apr 2017 08:59:29 +0000 (08:59 +0000)]
[GDI32]
- Fix last error value returned from GdiSelectPen for invalid DCs. Fixes the last test failure in gdi32:gdiobj. Patch by Katayama Hirofumi MZ.
CORE-13132 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@74419 97493ccd-5924-5043-b1f5-66cb403b36ce

29 hours ago[EVENTVWR]
tfaber [Thu, 27 Apr 2017 00:23:04 +0000 (00:23 +0000)]
[EVENTVWR]
- Avoid two cases of uninitialized variable use in GetEventUserName. Based on a patch by Víctor Martínez Calvo. CID 1401250
CORE-12798 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@74418 97493ccd-5924-5043-b1f5-66cb403b36ce

29 hours ago[EVENTVWR]
tfaber [Thu, 27 Apr 2017 00:17:08 +0000 (00:17 +0000)]
[EVENTVWR]
- Make user name caching actually work
CORE-12798

git-svn-id: file:///srv/svn/reactos/trunk@74417 97493ccd-5924-5043-b1f5-66cb403b36ce

31 hours ago[CMD]: Improvements for the CHCP command.
hbelusca [Wed, 26 Apr 2017 22:29:07 +0000 (22:29 +0000)]
[CMD]: Improvements for the CHCP command.
- Display the informative CP-change message on stdout, using the *output* code page (and not the input CP);
- Correctly update the local codepage cache;
- Display the informative CP-change message when the CP change succeeded;
- Add source comments + informative TODO for what remains to be done.

git-svn-id: file:///srv/svn/reactos/trunk@74416 97493ccd-5924-5043-b1f5-66cb403b36ce

32 hours ago[BOOTDATA]
ekohl [Wed, 26 Apr 2017 21:21:02 +0000 (21:21 +0000)]
[BOOTDATA]
Make the timezone names translatable.
CORE-11855

git-svn-id: file:///srv/svn/reactos/trunk@74415 97493ccd-5924-5043-b1f5-66cb403b36ce

33 hours ago[KERNEL32]: Add/update localized codepage display names.
hbelusca [Wed, 26 Apr 2017 20:31:54 +0000 (20:31 +0000)]
[KERNEL32]: Add/update localized codepage display names.
- Slightly update the description of CP 28599;
- Add descriptions for CPs 28600, 28603, 28604 and 28606;
- Add CP 856 "OEM - Hebrew PC" (which differs from OEM Hebrew CP 862).
Note that while we also have codepages 424, 878 and 1006, I don't add their description because:
- CP 424 is actually CP 20424 "IBM EBCDIC - Hebrew" on Windows (documented in the resource files);
- CP 878 is actually CP 20866 "Russian - KOI8" on Windows (documented in the resource files);
- CP 1006 seems to be "IBM Arabic" according to Wine, but I don't know its corresponding number on Windows.

git-svn-id: file:///srv/svn/reactos/trunk@74414 97493ccd-5924-5043-b1f5-66cb403b36ce

36 hours ago[KERNEL32]: Little improvements/fixes for GetCPInfoExW and GetGeoInfoW:
hbelusca [Wed, 26 Apr 2017 17:38:57 +0000 (17:38 +0000)]
[KERNEL32]: Little improvements/fixes for GetCPInfoExW and GetGeoInfoW:
- Rework GetLocalisedText helper such that it looks more like LoadStringW. Also, if the string is not found (either because there is no associated string table, or because its resource length is zero), then return zero.
  Otherwise we return the correct number of characters copied into the user buffer, not counting the NULL terminator.
  This fixes the blank strings showing in the list of codepage user-friendly names in the console properties dialog.
- Simplify the code of NLS_GetGeoFriendlyName: we can directly use the user-provided buffer to retrieve the string.
Addendum to r65157.
CORE-13130 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@74413 97493ccd-5924-5043-b1f5-66cb403b36ce

37 hours ago[KERNEL32]: Add the Brunei in the list of localized countries.
hbelusca [Wed, 26 Apr 2017 17:10:51 +0000 (17:10 +0000)]
[KERNEL32]: Add the Brunei in the list of localized countries.
Translators, please localize the name!

git-svn-id: file:///srv/svn/reactos/trunk@74412 97493ccd-5924-5043-b1f5-66cb403b36ce

40 hours ago[UXTHEME] -Fix some resource leaks.
gadamopoulos [Wed, 26 Apr 2017 13:55:19 +0000 (13:55 +0000)]
[UXTHEME] -Fix some resource leaks.

git-svn-id: file:///srv/svn/reactos/trunk@74411 97493ccd-5924-5043-b1f5-66cb403b36ce

40 hours ago[COMMAND]: Disable COMMAND.COM debugging messages by default.
hbelusca [Wed, 26 Apr 2017 13:41:43 +0000 (13:41 +0000)]
[COMMAND]: Disable COMMAND.COM debugging messages by default.
Disable again this #define if you want to get the dbg messages back.
CORE-10710

git-svn-id: file:///srv/svn/reactos/trunk@74410 97493ccd-5924-5043-b1f5-66cb403b36ce

43 hours ago[USBOHCI]
tfaber [Wed, 26 Apr 2017 10:54:34 +0000 (10:54 +0000)]
[USBOHCI]
- Not building before committing is also a hack
CORE-9224

git-svn-id: file:///srv/svn/reactos/trunk@74409 97493ccd-5924-5043-b1f5-66cb403b36ce

43 hours ago[USBEHCI][USBOHCI]
tfaber [Wed, 26 Apr 2017 10:53:32 +0000 (10:53 +0000)]
[USBEHCI][USBOHCI]
- Touch the virtual address of DMA buffers before calling MmGetPhysicalAddress on them. This ensures page directories are correctly set up for the current process context, and fixes random DMA operation failures ("MM:MmGetPhysicalAddressFailed"). This is not a hack -- using MmGetPhysicalAddress for DMA in the first place is.
CORE-9224 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@74408 97493ccd-5924-5043-b1f5-66cb403b36ce

44 hours ago[UXTHEME] -Implement the tab background texture. NOTE: A hack was used to go around...
gadamopoulos [Wed, 26 Apr 2017 09:28:35 +0000 (09:28 +0000)]
[UXTHEME] -Implement the tab background texture. NOTE: A hack was used to go around the problem that SetBrushOrgEx doesn't really work. CORE-12978

git-svn-id: file:///srv/svn/reactos/trunk@74407 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[COMCTL32]
gadamopoulos [Tue, 25 Apr 2017 11:19:22 +0000 (11:19 +0000)]
[COMCTL32]
- Button, Trakbar: Send WM_CTLCOLORBTN or WM_CTLCOLORSTATIC and use their return value to paint the control despite the fact that DrawThemeParentBackground was called as well.
Part of the fix for CORE-12978

git-svn-id: file:///srv/svn/reactos/trunk@74406 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[CONSOLE.CPL]: Simplify some parts of font.c code.
hbelusca [Mon, 24 Apr 2017 17:01:07 +0000 (17:01 +0000)]
[CONSOLE.CPL]: Simplify some parts of font.c code.
- Use a helper function "AddFontToList" to add font names into the font list;
- Use string-safe functions where needed.

git-svn-id: file:///srv/svn/reactos/trunk@74405 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[WIN32K:ENG]
tfaber [Mon, 24 Apr 2017 16:28:04 +0000 (16:28 +0000)]
[WIN32K:ENG]
- In PDEVOBJ_vRefreshModeList, restore the current mode pointer, ppdev->pdmwDev, to a valid value.
CORE-13097 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@74404 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[USER32]
tfaber [Mon, 24 Apr 2017 15:04:00 +0000 (15:04 +0000)]
[USER32]
Fix heap corruption in EnumDisplaySettingsExA/W:
- Do not overwrite the user-provided buffer size in dmDriverExtra
- Fix broken pointer arithmetic
CORE-13097

git-svn-id: file:///srv/svn/reactos/trunk@74403 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[ACCESS]: Fix french el-typo, noticed by Kyle Katarn. Thanks!
hbelusca [Mon, 24 Apr 2017 11:17:10 +0000 (11:17 +0000)]
[ACCESS]: Fix french el-typo, noticed by Kyle Katarn. Thanks!
CORE-12482

git-svn-id: file:///srv/svn/reactos/trunk@74402 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[WININET]
tfaber [Mon, 24 Apr 2017 10:07:39 +0000 (10:07 +0000)]
[WININET]
- Silence Firefox/Safari debug spam
CORE-12853 CORE-12128 CORE-11135

git-svn-id: file:///srv/svn/reactos/trunk@74401 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[NTOS:MM]
tfaber [Mon, 24 Apr 2017 09:45:03 +0000 (09:45 +0000)]
[NTOS:MM]
- In MiFlushTbAndCapture, only print a fixme if we actually need to do something.
CORE-12074 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@74400 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[CONSOLE]
tfaber [Mon, 24 Apr 2017 07:19:41 +0000 (07:19 +0000)]
[CONSOLE]
- Fix build
CORE-12451

git-svn-id: file:///srv/svn/reactos/trunk@74399 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[CONSOLE.CPL]: Addendum to r74397: Fix a cast.
hbelusca [Mon, 24 Apr 2017 00:32:10 +0000 (00:32 +0000)]
[CONSOLE.CPL]: Addendum to r74397: Fix a cast.

git-svn-id: file:///srv/svn/reactos/trunk@74398 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[CONSOLE.CPL]: Add a list of available code pages in the console properties dialog.
hbelusca [Mon, 24 Apr 2017 00:24:34 +0000 (00:24 +0000)]
[CONSOLE.CPL]: Add a list of available code pages in the console properties dialog.
Display a list of available code pages, as done on Windows (NT/2k/2k3/Vista/7/8, when a CJK language is selected, and as always done on Windows 10 for all languages).
But contrary to Windows, do not limit this list to only CJK + CP-437 codepages, but list *all* the available CPs, retrieved from the registry. These CPs are also those available when using the "chcp" or "mode con cp" commands.
And contrary to Windows (where this is done only for the general console properties), always allow the user to view or change the code page even from the console properties dialog.

[CONSRV]: Support changing the current code page from the console properties dialog.

CORE-12451

git-svn-id: file:///srv/svn/reactos/trunk@74397 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[SYSETUP]
ekohl [Sun, 23 Apr 2017 21:56:36 +0000 (21:56 +0000)]
[SYSETUP]
Update the shown date and time on the Date and Time page until the user changes the date or time.
CORE-11896

git-svn-id: file:///srv/svn/reactos/trunk@74396 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[CRYPTNET]
tfaber [Sun, 23 Apr 2017 17:59:25 +0000 (17:59 +0000)]
[CRYPTNET]
- Fix ROS-Diff. Spotted by CRLF.
CORE-13117 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@74395 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[SERVMAN]
ekohl [Sun, 23 Apr 2017 17:39:26 +0000 (17:39 +0000)]
[SERVMAN]
- Make a copy of the service list where service and display name strings are separately allocated. We need this to update the service names rather than reload the list when the display name is changed.
- Write the display name, description or binary path to the registry when the user changed them.
- Disable the Edit button after it has been clicked.
- Do not add the service name to the argument vector in the call to StartServiceW. Services.exe already add the service name to the vector.
CORE-12743

git-svn-id: file:///srv/svn/reactos/trunk@74394 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[LOCALSPL]
cfinck [Sun, 23 Apr 2017 15:00:26 +0000 (15:00 +0000)]
[LOCALSPL]
Implement all corner cases of handling the Name parameter in EnumPrinters. This can be done in a common way for all levels.
Fixes more tests.

git-svn-id: file:///srv/svn/reactos/trunk@74393 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTOSKRNL] CcPurgeCacheSection: Check if SharedCacheMap is NULL. Change suggested...
gadamopoulos [Sun, 23 Apr 2017 11:12:48 +0000 (11:12 +0000)]
[NTOSKRNL] CcPurgeCacheSection: Check if SharedCacheMap is NULL. Change suggested by ThFabba. CORE-13115

git-svn-id: file:///srv/svn/reactos/trunk@74392 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTOS:MM]
tfaber [Sun, 23 Apr 2017 09:38:45 +0000 (09:38 +0000)]
[NTOS:MM]
- In NtMapViewOfSection, check for address alignment after validating the handles. This fixes the tests from the previous commit, but is also necessary because information about the section object is necessary to avoid the alignment checks for physical memory sections.
CORE-13113

git-svn-id: file:///srv/svn/reactos/trunk@74391 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[KMTESTS:MM]
tfaber [Sun, 23 Apr 2017 08:10:46 +0000 (08:10 +0000)]
[KMTESTS:MM]
- Show that NtMapViewOfSection validates section and process handles before checking base address alignment
CORE-13113

git-svn-id: file:///srv/svn/reactos/trunk@74390 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTOS:MM]
tfaber [Sun, 23 Apr 2017 07:24:44 +0000 (07:24 +0000)]
[NTOS:MM]
- Check for ROS section object before accessing the AllocationAttributes member in NtMapViewOfSection, since ARM3 sections use a different structure.
CORE-13113

git-svn-id: file:///srv/svn/reactos/trunk@74389 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[ACPPAGE] Implement custom compatibility mode selection + Expand paths CORE-10375
mjansen [Sat, 22 Apr 2017 17:11:52 +0000 (17:11 +0000)]
[ACPPAGE] Implement custom compatibility mode selection + Expand paths CORE-10375

git-svn-id: file:///srv/svn/reactos/trunk@74388 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[ACPPAGE] Update translations based on slayer. CORE-10375
mjansen [Sat, 22 Apr 2017 15:20:25 +0000 (15:20 +0000)]
[ACPPAGE] Update translations based on slayer. CORE-10375
Translators, please check your language, some text was changed!

git-svn-id: file:///srv/svn/reactos/trunk@74387 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[KMTESTS:MM]
tfaber [Fri, 21 Apr 2017 08:08:57 +0000 (08:08 +0000)]
[KMTESTS:MM]
- Enable MEM_RESERVED test in SimpleErrorChecks() since it no longer asserts. Patch by Serge Gautherie.
ROSTESTS-109 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@74386 97493ccd-5924-5043-b1f5-66cb403b36ce

7 days ago[INPUT.CPL]
hbelusca [Fri, 21 Apr 2017 00:22:39 +0000 (00:22 +0000)]
[INPUT.CPL]
- Remove an unneeded header inclusion;
- Fix a sizeof invocation;
- RegEnumKeyExW and RegEnumValueW take their fourth parameter (size of key / value name, resp.) as a size in number of *characters* (and not in number of bytes);
- Add a missing RegCloseKey call in LocaleList_Create.

git-svn-id: file:///srv/svn/reactos/trunk@74385 97493ccd-5924-5043-b1f5-66cb403b36ce

7 days ago[NTOS:KE]
tfaber [Thu, 20 Apr 2017 17:36:40 +0000 (17:36 +0000)]
[NTOS:KE]
- Reset DebugDpcTime before calling timer DPC routines. Avoids spurious "DPC routine > 1 sec" break-ins.

git-svn-id: file:///srv/svn/reactos/trunk@74384 97493ccd-5924-5043-b1f5-66cb403b36ce

7 days ago[NTOS:MM]
tfaber [Thu, 20 Apr 2017 08:58:45 +0000 (08:58 +0000)]
[NTOS:MM]
- Avoid reference leaks in failure cases of MmCreateCacheSection
CORE-6931

git-svn-id: file:///srv/svn/reactos/trunk@74383 97493ccd-5924-5043-b1f5-66cb403b36ce

7 days ago[VGADDI]
tfaber [Thu, 20 Apr 2017 07:30:01 +0000 (07:30 +0000)]
[VGADDI]
- Fix buffer overflow in DIB_BltFromVGA. A byte fits two pixels.

git-svn-id: file:///srv/svn/reactos/trunk@74382 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[TRANSLATION]
ekohl [Wed, 19 Apr 2017 22:10:00 +0000 (22:10 +0000)]
[TRANSLATION]
Romanian resources maintenance
Patch by Ștefan Fulea.
CORE-13099

git-svn-id: file:///srv/svn/reactos/trunk@74381 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[SHELL32] Fix for BuildPathsList, this solves some problems showing while copying...
mjansen [Wed, 19 Apr 2017 18:45:33 +0000 (18:45 +0000)]
[SHELL32] Fix for BuildPathsList, this solves some problems showing while copying folders. Patch by 'Gleb'. CORE-8434

git-svn-id: file:///srv/svn/reactos/trunk@74380 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[SHELL32] -CDesktopBrowser: Clone the pidl passed to SHOpenNewFrame as it will later...
gadamopoulos [Wed, 19 Apr 2017 16:24:59 +0000 (16:24 +0000)]
[SHELL32] -CDesktopBrowser: Clone the pidl passed to SHOpenNewFrame as it will later free it itself. This was masked by a hacky cast.

git-svn-id: file:///srv/svn/reactos/trunk@74379 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[NTOS:MM]
tfaber [Wed, 19 Apr 2017 14:40:53 +0000 (14:40 +0000)]
[NTOS:MM]
- Never use special pool for prototype PTEs. Avoids "(PointerPte >= (PMMPTE)MmPagedPoolStart) && (PointerPte <= (PMMPTE)MmPagedPoolEnd)" assertion failure in MiDecrementShareCount.
CORE-11474

git-svn-id: file:///srv/svn/reactos/trunk@74378 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[KERNEL32_WINETEST]
tfaber [Wed, 19 Apr 2017 14:08:51 +0000 (14:08 +0000)]
[KERNEL32_WINETEST]
- Improve the test_GetVolumePathNamesForVolumeNameW hack to avoid a stack buffer underrun.
CORE-11474

git-svn-id: file:///srv/svn/reactos/trunk@74377 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[OPENGL32]
tfaber [Wed, 19 Apr 2017 13:16:30 +0000 (13:16 +0000)]
[OPENGL32]
- Fix uninitialized variable use in IntGetIcdData
CORE-11474

git-svn-id: file:///srv/svn/reactos/trunk@74376 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[KMTESTS:OB]
tfaber [Wed, 19 Apr 2017 12:21:57 +0000 (12:21 +0000)]
[KMTESTS:OB]
- After ObCreateObject+ObInsertObject a handle close is enough to destroy the object, so do not dereference it in addition. Fixes use after free.
CORE-11474

git-svn-id: file:///srv/svn/reactos/trunk@74375 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[KMTESTS:NPFS]
tfaber [Wed, 19 Apr 2017 11:46:34 +0000 (11:46 +0000)]
[KMTESTS:NPFS]
- Remove tests that cause pool buffer overflows. NtQueryVolumeInformationFile does not validate buffer length for kernel mode callers, so passing an invalid length is not a good test.
CORE-11474

git-svn-id: file:///srv/svn/reactos/trunk@74374 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[WS2_32][DNSAPI]
tfaber [Wed, 19 Apr 2017 11:14:18 +0000 (11:14 +0000)]
[WS2_32][DNSAPI]
- Avoid stack buffer overflow in ParseV4Address
CORE-11474

git-svn-id: file:///srv/svn/reactos/trunk@74373 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[GDI32]
tfaber [Wed, 19 Apr 2017 10:33:58 +0000 (10:33 +0000)]
[GDI32]
- Use the number of WCHARs, not the number of ANSI chars in GetCharABCWidthsA. Fixes stack corruption when running gdi32_winetest:font
CORE-11474

git-svn-id: file:///srv/svn/reactos/trunk@74372 97493ccd-5924-5043-b1f5-66cb403b36ce

9 days ago[VARIOUS]
ekohl [Tue, 18 Apr 2017 17:47:08 +0000 (17:47 +0000)]
[VARIOUS]
Updating Turkish Translation
Patch by Erdem Ersoy.
CORE-12362

git-svn-id: file:///srv/svn/reactos/trunk@74371 97493ccd-5924-5043-b1f5-66cb403b36ce

9 days ago[USER32]
tfaber [Tue, 18 Apr 2017 14:31:33 +0000 (14:31 +0000)]
[USER32]
- In RealSystemParametersInfoA/SPI_GETDESKWALLPAPER, write the ansi wallpaper path directly into the user's buffer instead of using an allocation (and overrunning it). Fixes crash when running user32_winetest:sysparams with DPH.
Tangential to CORE-13097

git-svn-id: file:///srv/svn/reactos/trunk@74370 97493ccd-5924-5043-b1f5-66cb403b36ce

9 days ago[USER32] -CallWindowProc: Call PreWndProc and PostWndProc hooks for dialog messages...
gadamopoulos [Tue, 18 Apr 2017 12:35:57 +0000 (12:35 +0000)]
[USER32] -CallWindowProc: Call PreWndProc and PostWndProc hooks for dialog messages if the message is not hooked for PreDefDlgProc and PostDefDlgProc.

git-svn-id: file:///srv/svn/reactos/trunk@74369 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[CONCFG]: Addendum for r74366: Initialize the console settings information codepage...
hbelusca [Mon, 17 Apr 2017 23:31:48 +0000 (23:31 +0000)]
[CONCFG]: Addendum for r74366: Initialize the console settings information codepage with the current OEM codepage, and read the optional console "CodePage" DWORD registry setting.
CORE-12451

git-svn-id: file:///srv/svn/reactos/trunk@74368 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[CONCFG]: Use 'Success' boolean variable instead of an obscure 'RetVal'.
hbelusca [Mon, 17 Apr 2017 23:28:41 +0000 (23:28 +0000)]
[CONCFG]: Use 'Success' boolean variable instead of an obscure 'RetVal'.

git-svn-id: file:///srv/svn/reactos/trunk@74367 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[CONSOLE.CPL]: Paint the text samples using the correct character set (derived from...
hbelusca [Mon, 17 Apr 2017 23:26:07 +0000 (23:26 +0000)]
[CONSOLE.CPL]: Paint the text samples using the correct character set (derived from the current code page).
This e.g. fixes display for the backslash symbol in CJK languages (that should appear as the Chinese "yuan" / Japanese "yen" currency symbol ¥, or the Korean "won" currency symbol ₩).
CORE-12451

git-svn-id: file:///srv/svn/reactos/trunk@74366 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[CONSOLE.CPL]: Add support for Asian fonts & CJK codepage in the console properties...
hbelusca [Mon, 17 Apr 2017 23:21:13 +0000 (23:21 +0000)]
[CONSOLE.CPL]: Add support for Asian fonts & CJK codepage in the console properties dialog.
Based on a patch by Katayama Hirofumi MZ.
CORE-12451

git-svn-id: file:///srv/svn/reactos/trunk@74365 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[AT]
ekohl [Mon, 17 Apr 2017 22:28:42 +0000 (22:28 +0000)]
[AT]
Applied hotfix for russian translation.
Patch by Sergey Stopkin.
CORE-12961

git-svn-id: file:///srv/svn/reactos/trunk@74364 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[NEWDEV]
ekohl [Mon, 17 Apr 2017 22:20:44 +0000 (22:20 +0000)]
[NEWDEV]
When the driver installation fails, set the CONFIGFLAG_FAILEDINSTALL flag only if the user checked the 'Do not show this dialog anymore' checkbox.
CORE-13095

git-svn-id: file:///srv/svn/reactos/trunk@74363 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[NETID]
ekohl [Mon, 17 Apr 2017 21:05:02 +0000 (21:05 +0000)]
[NETID]
Load, display and store the computer description.
Patch by Grzegorz Araminowicz.
- Moved most of the code into separate functions and got rid of its deeply nested structure.
- Added some notification code, so that the Apply button gets enabled when the user changes the description.
CORE-12337

git-svn-id: file:///srv/svn/reactos/trunk@74362 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[KMTESTS:MM]
tfaber [Mon, 17 Apr 2017 20:37:26 +0000 (20:37 +0000)]
[KMTESTS:MM]
- Add some missing newlines and skip()s

git-svn-id: file:///srv/svn/reactos/trunk@74361 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[WIN32K]
tfaber [Mon, 17 Apr 2017 20:25:55 +0000 (20:25 +0000)]
[WIN32K]
Fix automatic resolution change when resizing the VirtualBox window. Based on a patch by Ismael Ferreras Morezuelas.
- Provide a function, PDEVOBJ_vRefreshModeList, to reload the list of display modes
- Call PDEVOBJ_vRefreshModeList from UserEnumDisplaySettings to get an updated list of modes each time
CORE-6742 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@74360 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[WIN32K:ENG]
tfaber [Mon, 17 Apr 2017 19:44:32 +0000 (19:44 +0000)]
[WIN32K:ENG]
- Split populating the display mode list out from EngpRegisterGraphicsDevice, into its own function, EngpPopulateDeviceModeList. Based on a patch by Ismael Ferreras Morezuelas.
CORE-6742

git-svn-id: file:///srv/svn/reactos/trunk@74359 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[NTOS:CC]
tfaber [Mon, 17 Apr 2017 18:37:12 +0000 (18:37 +0000)]
[NTOS:CC]
- Respect the TruncateSize parameter in CcUninitializeCacheMap. Avoids "freeing dirty VACB" messages for cache views beyond the end of the file.
CORE-12893 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@74358 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[NTOS:CC]
tfaber [Mon, 17 Apr 2017 18:13:17 +0000 (18:13 +0000)]
[NTOS:CC]
- Simplify CcSetFileSizes by using CcPurgeCacheSection
CORE-12893

git-svn-id: file:///srv/svn/reactos/trunk@74357 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[CONSOLE.CPL]: Code formatting only (in preparation of a subsequent commit).
hbelusca [Mon, 17 Apr 2017 17:45:18 +0000 (17:45 +0000)]
[CONSOLE.CPL]: Code formatting only (in preparation of a subsequent commit).

git-svn-id: file:///srv/svn/reactos/trunk@74356 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[NTOS:CC]
tfaber [Mon, 17 Apr 2017 17:29:10 +0000 (17:29 +0000)]
[NTOS:CC]
- Implement CcPurgeCacheSection
CORE-12893

git-svn-id: file:///srv/svn/reactos/trunk@74355 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[FASTFAT]
tfaber [Mon, 17 Apr 2017 16:54:28 +0000 (16:54 +0000)]
[FASTFAT]
- On rename/move, flush parent directory data from cache instead of purging it.
CORE-12893

git-svn-id: file:///srv/svn/reactos/trunk@74354 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[WIN32SS] Add full name support in FontFamilyFillInfo. Patch by Katayama Hirofumi...
mjansen [Mon, 17 Apr 2017 16:08:38 +0000 (16:08 +0000)]
[WIN32SS] Add full name support in FontFamilyFillInfo. Patch by Katayama Hirofumi MZ. CORE-10876

git-svn-id: file:///srv/svn/reactos/trunk@74353 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[WIN32SS] Add extra logging to failed SURFACE_AllocSurface calls. CORE-13036
mjansen [Mon, 17 Apr 2017 15:48:56 +0000 (15:48 +0000)]
[WIN32SS] Add extra logging to failed SURFACE_AllocSurface calls. CORE-13036

git-svn-id: file:///srv/svn/reactos/trunk@74352 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[ISOHYBRID]
cfinck [Mon, 17 Apr 2017 13:49:46 +0000 (13:49 +0000)]
[ISOHYBRID]
Don't include inttypes.h, which isn't available on MSVC < 2013. Add the 4 needed typedefs to reactos_support_code.h instead.
Fixes CORE-13031

git-svn-id: file:///srv/svn/reactos/trunk@74351 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[WINSPOOL]
cfinck [Mon, 17 Apr 2017 13:40:51 +0000 (13:40 +0000)]
[WINSPOOL]
Added tests for some more basic and newly discovered corner cases of EnumPrintersW.

git-svn-id: file:///srv/svn/reactos/trunk@74350 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[SERVMAN]
ekohl [Mon, 17 Apr 2017 12:48:51 +0000 (12:48 +0000)]
[SERVMAN]
Track changes to the general and and recovery pages.
CORE-12743

git-svn-id: file:///srv/svn/reactos/trunk@74349 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days agoAvoid attempts to reinstall a driver on reboot when a previous attempt has already...
ekohl [Mon, 17 Apr 2017 11:34:08 +0000 (11:34 +0000)]
Avoid attempts to reinstall a driver on reboot when a previous attempt has already failed.

[NEWDEV]
Set the CONFIGFLAG_FAILEDINSTALL flag in the new hardware wizards welcome page and remove it only when the driver was successfully installed.

[UMPNPMGR]
Do not invoke the device installer if the devices CONFIGFLAG_FAILEDINSTALL flag is set.

git-svn-id: file:///srv/svn/reactos/trunk@74348 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[BROWSEUI] Port some IAutoComplete changes from wine + fix a memory leak. This allows...
mjansen [Mon, 17 Apr 2017 09:35:08 +0000 (09:35 +0000)]
[BROWSEUI] Port some IAutoComplete changes from wine + fix a memory leak. This allows the dropdown to show with ACO_AUTOSUGGEST and an empty input.

git-svn-id: file:///srv/svn/reactos/trunk@74347 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[BROWSEUI] -Remove a couple of lines that shouldn't have been committed.
gadamopoulos [Mon, 17 Apr 2017 09:15:45 +0000 (09:15 +0000)]
[BROWSEUI] -Remove a couple of lines that shouldn't have been committed.

git-svn-id: file:///srv/svn/reactos/trunk@74346 97493ccd-5924-5043-b1f5-66cb403b36ce

10 days ago[BROWSEUI] -CBandSiteMenu: Add preliminary support for adding and removing bands...
gadamopoulos [Mon, 17 Apr 2017 09:02:49 +0000 (09:02 +0000)]
[BROWSEUI] -CBandSiteMenu: Add preliminary support for adding and removing bands in the taskbar. If a class was registered in the CATID_DeskBand category it will be shown in the menu and selecting it can add it or remove it from the taskbar. Showing the two built in ones (quick launch and desktop) is not implemented yet.

git-svn-id: file:///srv/svn/reactos/trunk@74345 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[WINMINE]
ekohl [Sun, 16 Apr 2017 22:42:38 +0000 (22:42 +0000)]
[WINMINE]
Fix vertical aligment of the digits in mines.bmp.
Patch by Andre Semaki.
CORE-12777

git-svn-id: file:///srv/svn/reactos/trunk@74344 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[SHELL]
ekohl [Sun, 16 Apr 2017 22:00:46 +0000 (22:00 +0000)]
[SHELL]
Update russian translation.
Patch by amber.
CORE-12525

git-svn-id: file:///srv/svn/reactos/trunk@74343 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[MEDIA/RAPPS]
ekohl [Sun, 16 Apr 2017 21:57:41 +0000 (21:57 +0000)]
[MEDIA/RAPPS]
Update russian translation.
Patch by amber.
CORE-12525

git-svn-id: file:///srv/svn/reactos/trunk@74342 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[OPENGLCFG]
ekohl [Sun, 16 Apr 2017 21:53:37 +0000 (21:53 +0000)]
[OPENGLCFG]
Add russain translation.
Patch by amber.
CORE-12525

git-svn-id: file:///srv/svn/reactos/trunk@74341 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[NET]
ekohl [Sun, 16 Apr 2017 21:48:43 +0000 (21:48 +0000)]
[NET]
Update russian translation.
Patch by amber.
CORE-12525

git-svn-id: file:///srv/svn/reactos/trunk@74340 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[LSASRV]
ekohl [Sun, 16 Apr 2017 21:45:43 +0000 (21:45 +0000)]
[LSASRV]
Update the russian translation.
Patch by amber.
CORE-12525

git-svn-id: file:///srv/svn/reactos/trunk@74339 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[AT]
ekohl [Sun, 16 Apr 2017 21:42:09 +0000 (21:42 +0000)]
[AT]
Fix outdated russian translation.

git-svn-id: file:///srv/svn/reactos/trunk@74338 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[HIVECLS]
ekohl [Sun, 16 Apr 2017 21:33:56 +0000 (21:33 +0000)]
[HIVECLS]
Update russian translation.
Patch by amber.
CORE-12525

git-svn-id: file:///srv/svn/reactos/trunk@74337 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[FONTVIEW]
ekohl [Sun, 16 Apr 2017 21:30:29 +0000 (21:30 +0000)]
[FONTVIEW]
Update the russain translation.
CORE-12525

git-svn-id: file:///srv/svn/reactos/trunk@74336 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[SHELL32]
ekohl [Sun, 16 Apr 2017 21:26:05 +0000 (21:26 +0000)]
[SHELL32]
Translate folder options.
CORE-12525

git-svn-id: file:///srv/svn/reactos/trunk@74335 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[NEWDEV]
ekohl [Sun, 16 Apr 2017 21:21:36 +0000 (21:21 +0000)]
[NEWDEV]
Fix control sizes in russian dialogs.
CORE-12525

git-svn-id: file:///srv/svn/reactos/trunk@74334 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[AT]
ekohl [Sun, 16 Apr 2017 20:57:30 +0000 (20:57 +0000)]
[AT]
Added RU translation to the AT command.

[BLACKSHADE]
Added RU translation to the blackshade theme.
CORE-12961

git-svn-id: file:///srv/svn/reactos/trunk@74333 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[DESK]
ekohl [Sun, 16 Apr 2017 20:39:37 +0000 (20:39 +0000)]
[DESK]
Added en-GB to desk.cpl.
CORE-13014

git-svn-id: file:///srv/svn/reactos/trunk@74332 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[USETUP]
ekohl [Sun, 16 Apr 2017 20:22:03 +0000 (20:22 +0000)]
[USETUP]
base/setup/usetup/it-IT translation patch.
CORE-12999 #resolve #comment Thanks a lot!

git-svn-id: file:///srv/svn/reactos/trunk@74331 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[SHLWAPI_UNDOC.H] -Fix definition of IUnknown_SetOwner.
gadamopoulos [Sun, 16 Apr 2017 19:35:19 +0000 (19:35 +0000)]
[SHLWAPI_UNDOC.H] -Fix definition of IUnknown_SetOwner.

git-svn-id: file:///srv/svn/reactos/trunk@74330 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[EXPLORER] -If rshell is present and CBandSiteMenu_CreateInstance or CBandSite_Create...
gadamopoulos [Sun, 16 Apr 2017 19:29:27 +0000 (19:29 +0000)]
[EXPLORER] -If rshell is present and CBandSiteMenu_CreateInstance or CBandSite_CreateInstance are exported, use them instead of using the one provided by the system. Now we can start developing CBandSite and CBandSiteMenu on windows to implement support for taskbar toolbars.

git-svn-id: file:///srv/svn/reactos/trunk@74329 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days agoFix GCC build, part 4/X (losing my optimism)
cfinck [Sun, 16 Apr 2017 15:51:44 +0000 (15:51 +0000)]
Fix GCC build, part 4/X (losing my optimism)

git-svn-id: file:///srv/svn/reactos/trunk@74328 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days agoFix GCC build (3/3) :)
cfinck [Sun, 16 Apr 2017 15:44:22 +0000 (15:44 +0000)]
Fix GCC build (3/3) :)

git-svn-id: file:///srv/svn/reactos/trunk@74327 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days agoFix GCC build (2/2)
cfinck [Sun, 16 Apr 2017 15:37:31 +0000 (15:37 +0000)]
Fix GCC build (2/2)

git-svn-id: file:///srv/svn/reactos/trunk@74326 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days agoFix GCC build
cfinck [Sun, 16 Apr 2017 14:30:07 +0000 (14:30 +0000)]
Fix GCC build

git-svn-id: file:///srv/svn/reactos/trunk@74325 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[LOCALSPL]
cfinck [Sun, 16 Apr 2017 14:12:01 +0000 (14:12 +0000)]
[LOCALSPL]
- Refactor LocalEnumPrinters to make it ready for supporting additional levels.
- Correctly handle all passed flags for Level 1 queries to the Local Print Provider.
- Introduce strsafe functions to LocalEnumPrinters in a way that actually makes the code smaller. To be done in other parts too.
- Use PackStrings in LocalEnumPrinters to simplify the code.
- Return the correct 3 strings in the Description field of Level 1 queries. That also introduces the "Location" field.
- Remove debug spam in _OpenEnvironment.

[SPOOLSV]
- Make use of the newly implemented AlignRpcPtr/UndoAlignRpcPtr. Fixes a test.

[WINSPOOL]
- Dismiss invalid levels already in EnumPrintersW and zero the input buffer here (but not in localspl). Verified by a test.

EnumPrintersW for Level 1 should be fully supported now.

git-svn-id: file:///srv/svn/reactos/trunk@74324 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[SPOOLSS]
cfinck [Sun, 16 Apr 2017 10:36:16 +0000 (10:36 +0000)]
[SPOOLSS]
Add ASSERTs, improve documentation and the variety of tests for AlignRpcPtr/UndoAlignRpcPtr.
Based on comments by Serge Gautherie.

git-svn-id: file:///srv/svn/reactos/trunk@74323 97493ccd-5924-5043-b1f5-66cb403b36ce