Commit graph

68406 commits

Author SHA1 Message Date
Thomas Faber
599c80f8f2 [VGADDI]
- Fix buffer overflow in DIB_BltFromVGA. A byte fits two pixels.

svn path=/trunk/; revision=74382
2017-04-20 07:30:01 +00:00
Eric Kohl
e9940a928b [TRANSLATION]
Romanian resources maintenance
Patch by Ștefan Fulea.
CORE-13099

svn path=/trunk/; revision=74381
2017-04-19 22:10:00 +00:00
Mark Jansen
fd91fe3337 [SHELL32] Fix for BuildPathsList, this solves some problems showing while copying folders. Patch by 'Gleb'. CORE-8434
svn path=/trunk/; revision=74380
2017-04-19 18:45:33 +00:00
Giannis Adamopoulos
5db681f766 [SHELL32] -CDesktopBrowser: Clone the pidl passed to SHOpenNewFrame as it will later free it itself. This was masked by a hacky cast.
svn path=/trunk/; revision=74379
2017-04-19 16:24:59 +00:00
Thomas Faber
ef27450876 [NTOS:MM]
- Never use special pool for prototype PTEs. Avoids "(PointerPte >= (PMMPTE)MmPagedPoolStart) && (PointerPte <= (PMMPTE)MmPagedPoolEnd)" assertion failure in MiDecrementShareCount.
CORE-11474

svn path=/trunk/; revision=74378
2017-04-19 14:40:53 +00:00
Thomas Faber
a909a0807a [KERNEL32_WINETEST]
- Improve the test_GetVolumePathNamesForVolumeNameW hack to avoid a stack buffer underrun.
CORE-11474

svn path=/trunk/; revision=74377
2017-04-19 14:08:51 +00:00
Thomas Faber
85f31b899e [OPENGL32]
- Fix uninitialized variable use in IntGetIcdData
CORE-11474

svn path=/trunk/; revision=74376
2017-04-19 13:16:30 +00:00
Thomas Faber
424bbf064b [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

svn path=/trunk/; revision=74375
2017-04-19 12:21:57 +00:00
Thomas Faber
eff26a3a92 [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

svn path=/trunk/; revision=74374
2017-04-19 11:46:34 +00:00
Thomas Faber
497a20b8a0 [WS2_32][DNSAPI]
- Avoid stack buffer overflow in ParseV4Address
CORE-11474

svn path=/trunk/; revision=74373
2017-04-19 11:14:18 +00:00
Thomas Faber
77ec221feb [GDI32]
- Use the number of WCHARs, not the number of ANSI chars in GetCharABCWidthsA. Fixes stack corruption when running gdi32_winetest:font
CORE-11474

svn path=/trunk/; revision=74372
2017-04-19 10:33:58 +00:00
Eric Kohl
ae3886b65f [VARIOUS]
Updating Turkish Translation
Patch by Erdem Ersoy.
CORE-12362

svn path=/trunk/; revision=74371
2017-04-18 17:47:08 +00:00
Thomas Faber
202ae322fb [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

svn path=/trunk/; revision=74370
2017-04-18 14:31:33 +00:00
Giannis Adamopoulos
fc00a030f4 [USER32] -CallWindowProc: Call PreWndProc and PostWndProc hooks for dialog messages if the message is not hooked for PreDefDlgProc and PostDefDlgProc.
svn path=/trunk/; revision=74369
2017-04-18 12:35:57 +00:00
Hermès Bélusca-Maïto
3d8292ede6 [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

svn path=/trunk/; revision=74368
2017-04-17 23:31:48 +00:00
Hermès Bélusca-Maïto
aac777cc7f [CONCFG]: Use 'Success' boolean variable instead of an obscure 'RetVal'.
svn path=/trunk/; revision=74367
2017-04-17 23:28:41 +00:00
Hermès Bélusca-Maïto
417e293fac [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

svn path=/trunk/; revision=74366
2017-04-17 23:26:07 +00:00
Hermès Bélusca-Maïto
35fae98753 [CONSOLE.CPL]: Add support for Asian fonts & CJK codepage in the console properties dialog.
Based on a patch by Katayama Hirofumi MZ.
CORE-12451

svn path=/trunk/; revision=74365
2017-04-17 23:21:13 +00:00
Eric Kohl
de6836080a [AT]
Applied hotfix for russian translation.
Patch by Sergey Stopkin.
CORE-12961

svn path=/trunk/; revision=74364
2017-04-17 22:28:42 +00:00
Eric Kohl
ad372d31e3 [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

svn path=/trunk/; revision=74363
2017-04-17 22:20:44 +00:00
Eric Kohl
f7928467e7 [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

svn path=/trunk/; revision=74362
2017-04-17 21:05:02 +00:00
Thomas Faber
97a27e2c87 [KMTESTS:MM]
- Add some missing newlines and skip()s

svn path=/trunk/; revision=74361
2017-04-17 20:37:26 +00:00
Thomas Faber
602f37c6ae [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

svn path=/trunk/; revision=74360
2017-04-17 20:25:55 +00:00
Thomas Faber
670ebb242c [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

svn path=/trunk/; revision=74359
2017-04-17 19:44:32 +00:00
Thomas Faber
4677d6bfe0 [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

svn path=/trunk/; revision=74358
2017-04-17 18:37:12 +00:00
Thomas Faber
25db42d246 [NTOS:CC]
- Simplify CcSetFileSizes by using CcPurgeCacheSection
CORE-12893

svn path=/trunk/; revision=74357
2017-04-17 18:13:17 +00:00
Hermès Bélusca-Maïto
ef88fe7a1a [CONSOLE.CPL]: Code formatting only (in preparation of a subsequent commit).
svn path=/trunk/; revision=74356
2017-04-17 17:45:18 +00:00
Thomas Faber
73e2aff9c5 [NTOS:CC]
- Implement CcPurgeCacheSection
CORE-12893

svn path=/trunk/; revision=74355
2017-04-17 17:29:10 +00:00
Thomas Faber
880f06c728 [FASTFAT]
- On rename/move, flush parent directory data from cache instead of purging it.
CORE-12893

svn path=/trunk/; revision=74354
2017-04-17 16:54:28 +00:00
Mark Jansen
4923220ed0 [WIN32SS] Add full name support in FontFamilyFillInfo. Patch by Katayama Hirofumi MZ. CORE-10876
svn path=/trunk/; revision=74353
2017-04-17 16:08:38 +00:00
Mark Jansen
7a5cfecf02 [WIN32SS] Add extra logging to failed SURFACE_AllocSurface calls. CORE-13036
svn path=/trunk/; revision=74352
2017-04-17 15:48:56 +00:00
Colin Finck
8c0a8b2873 [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

svn path=/trunk/; revision=74351
2017-04-17 13:49:46 +00:00
Colin Finck
daf94f98b0 [WINSPOOL]
Added tests for some more basic and newly discovered corner cases of EnumPrintersW.

svn path=/trunk/; revision=74350
2017-04-17 13:40:51 +00:00
Eric Kohl
60f3172c4f [SERVMAN]
Track changes to the general and and recovery pages.
CORE-12743

svn path=/trunk/; revision=74349
2017-04-17 12:48:51 +00:00
Eric Kohl
dd0e23b691 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.

svn path=/trunk/; revision=74348
2017-04-17 11:34:08 +00:00
Mark Jansen
1313fd5c76 [BROWSEUI] Port some IAutoComplete changes from wine + fix a memory leak. This allows the dropdown to show with ACO_AUTOSUGGEST and an empty input.
svn path=/trunk/; revision=74347
2017-04-17 09:35:08 +00:00
Giannis Adamopoulos
43527efc13 [BROWSEUI] -Remove a couple of lines that shouldn't have been committed.
svn path=/trunk/; revision=74346
2017-04-17 09:15:45 +00:00
Giannis Adamopoulos
f24e5deac9 [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.
svn path=/trunk/; revision=74345
2017-04-17 09:02:49 +00:00
Eric Kohl
789449896d [WINMINE]
Fix vertical aligment of the digits in mines.bmp.
Patch by Andre Semaki.
CORE-12777

svn path=/trunk/; revision=74344
2017-04-16 22:42:38 +00:00
Eric Kohl
77d8a7f5ee [SHELL]
Update russian translation.
Patch by amber.
CORE-12525

svn path=/trunk/; revision=74343
2017-04-16 22:00:46 +00:00
Eric Kohl
bb2c79c089 [MEDIA/RAPPS]
Update russian translation.
Patch by amber.
CORE-12525

svn path=/trunk/; revision=74342
2017-04-16 21:57:41 +00:00
Eric Kohl
5830fef205 [OPENGLCFG]
Add russain translation.
Patch by amber.
CORE-12525

svn path=/trunk/; revision=74341
2017-04-16 21:53:37 +00:00
Eric Kohl
49455e979d [NET]
Update russian translation.
Patch by amber.
CORE-12525

svn path=/trunk/; revision=74340
2017-04-16 21:48:43 +00:00
Eric Kohl
21862af108 [LSASRV]
Update the russian translation.
Patch by amber.
CORE-12525

svn path=/trunk/; revision=74339
2017-04-16 21:45:43 +00:00
Eric Kohl
d8187f248b [AT]
Fix outdated russian translation.

svn path=/trunk/; revision=74338
2017-04-16 21:42:09 +00:00
Eric Kohl
e70a305963 [HIVECLS]
Update russian translation.
Patch by amber.
CORE-12525

svn path=/trunk/; revision=74337
2017-04-16 21:33:56 +00:00
Eric Kohl
c2e52c6046 [FONTVIEW]
Update the russain translation.
CORE-12525

svn path=/trunk/; revision=74336
2017-04-16 21:30:29 +00:00
Eric Kohl
28877f472f [SHELL32]
Translate folder options.
CORE-12525

svn path=/trunk/; revision=74335
2017-04-16 21:26:05 +00:00
Eric Kohl
b026b17386 [NEWDEV]
Fix control sizes in russian dialogs.
CORE-12525

svn path=/trunk/; revision=74334
2017-04-16 21:21:36 +00:00
Eric Kohl
cc01ed0b73 [AT]
Added RU translation to the AT command.

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

svn path=/trunk/; revision=74333
2017-04-16 20:57:30 +00:00