Commit graph

60772 commits

Author SHA1 Message Date
Pierre Schweitzer b8620eab1b [KERNEL32]
Don't pretend that ExceptionRecord.ExceptionInformation[2] is a pointer to a string in case of Delphi exception. This can lead to invalid pointer dereference in DbgPrint then.

For instance:
(../../dll/win32/kernel32/client/except.c:371) Delphi Exception at address: 50075885
(../../dll/win32/kernel32/client/except.c:372) Exception-Object: 00E885A8
(../../dll/win32/kernel32/client/except.c:373) Exception text: 2

svn path=/trunk/; revision=66354
2015-02-19 18:36:32 +00:00
Thomas Faber b45c1ca3a8 [EXPLORER]
- Fix uninitialized variable use in CTaskSwitchWnd::OnContextMenu

svn path=/trunk/; revision=66353
2015-02-19 16:30:37 +00:00
Thomas Faber 888d828ea7 [PSDK]
- Fix packing for system restore point API types (STATEMGRSTATUS in particular). Fixes VC++ 2012 redist installer.
CORE-8010 #resolve

svn path=/trunk/; revision=66352
2015-02-19 15:42:33 +00:00
Thomas Faber c845f97fbf [KMTESTS:RTL]
- Add some simple tests for RtlRaiseStatus to the RtlException test
- Add missing volatile in (disabled) stack overflow test that caused an infinite loop on GCC builds
CORE-8773

svn path=/trunk/; revision=66351
2015-02-19 12:55:57 +00:00
James Tabor d6caab357b [NtUser]
- Fix wine msg test_SetParent tests. See CORE-7447. Show owned pop up code was added for later testing.

svn path=/trunk/; revision=66350
2015-02-19 02:03:53 +00:00
Jérôme Gardou 3bb981743c [CRYPT32]
- Addenratum to r64026: Merge the certificate stores for real.
CORE-5675 #resolve

svn path=/trunk/; revision=66349
2015-02-18 21:27:40 +00:00
Pierre Schweitzer e8c27f3109 [ROSAUTOTESTS]
Remove redundant GetTickCount() call

svn path=/trunk/; revision=66348
2015-02-18 19:52:04 +00:00
Thomas Faber e6c4261148 [GDI32_APITEST]
- Refactor EnumFontFamilies test to be more generic, and check for some common expected system fonts. This shows that EnumFontFamilies behaves correctly, but that we're missing the System font in the enumeration.
CORE-9222

svn path=/trunk/; revision=66347
2015-02-18 13:18:30 +00:00
Thomas Faber 4b1e3b1eba [MSXML3_WINETEST]
- Re-enable test_save
CORE-6738 ROSTESTS-82

svn path=/trunk/; revision=66346
2015-02-18 11:44:01 +00:00
Thomas Faber 8c6ef59bc5 [GDIPLUS_WINETESTS]
- Re-enable test_font_metrics, test_logfont and test_fontfamily.
CORE-6660
ROSTESTS-79 CORE-6643 #resolve
- Skip test_font_substitution instead.
ROSTESTS-154

svn path=/trunk/; revision=66345
2015-02-18 11:20:37 +00:00
Thomas Faber 39cc028410 [GDIPLUS_WINETEST]
- Re-enable test_string_functions
CORE-6659 ROSTESTS-78 #resolve

svn path=/trunk/; revision=66344
2015-02-18 10:50:00 +00:00
Thomas Faber 53651189db [WININET_WINETEST]
- Re-enable test_cert_struct in test_secure_connection
ROSTESTS-121 #resolve

svn path=/trunk/; revision=66343
2015-02-18 10:06:46 +00:00
Jérôme Gardou fddcf61917 [WIN32SS/NTGDI]
- Reject bits data early in SetBitmapBits when it's clear that they can't fit in the destination bitmap.
Fixes ugly Office 2007 rulers showing garbage.

svn path=/trunk/; revision=66342
2015-02-17 20:41:51 +00:00
Jérôme Gardou d40314e7dd [NTOS/SE]
- Properly dereference thread object in NtOpenThreadTokenEx

svn path=/trunk/; revision=66341
2015-02-17 20:41:47 +00:00
Jérôme Gardou 8b177cb83f [NTOS]
- Properly close handle thread when failing to start it.

svn path=/trunk/; revision=66340
2015-02-17 20:41:40 +00:00
Thomas Faber b74ab8276c [PSDK]
- Move OFN_DONTADDTORECENT and OFN_ENABLEINCLUDENOTIFY to commdlg.h where they belong

svn path=/trunk/; revision=66339
2015-02-17 18:37:24 +00:00
Thomas Faber db58f63ba6 [WMIUTILS]
- The dll belongs in system32\wbem; make it so. Spotted by Robert Naumann.
CORE-9212

svn path=/trunk/; revision=66338
2015-02-17 18:23:06 +00:00
Jérôme Gardou c78bc820f6 [WS2_32]
- Do not free resources at process termination.
 - Free the provider catalog after the handle table, since the latter references the former.

svn path=/trunk/; revision=66337
2015-02-17 15:08:54 +00:00
Jérôme Gardou 52a5043b98 [RTL/DPH]
- Do not merge memory blocks if they don't belong to the same VM "region" (ie not allocated from the same NtAllocateVirtualMemory call)
Fixes failures of ZwProtectVirtualMemory calls.
Bugs see DPH rollin', they hatin'

svn path=/trunk/; revision=66336
2015-02-17 15:08:47 +00:00
Thomas Faber ddaa717558 [WMIUTILS]
- Import from Wine 1.7.27 (or your choice of any later version)
CORE-9212 #resolve

svn path=/trunk/; revision=66335
2015-02-17 15:07:56 +00:00
Jérôme Gardou 51fd410d89 [NTOSKRNL/MM]
- MiIsEntireRangeCommitted: Ensure the PTE we are checking is really faulted in.
 - Prefer MiPteToPde and MiPdeToPte (which should really be called MiFirstPteInPde) instead of MiAddressToPte and MiPteToAddress
Fixes weird failed ASSERT in page fault handler when using DPH.

svn path=/trunk/; revision=66334
2015-02-17 14:19:05 +00:00
Thomas Faber 873109862d [EXPLORER]
- Load default application icon and display it in the taskbar for windows that have no icon. Fixes "GetIconInfo failed" debug prints all over the place (and looks prettier).
CORE-9211 #resolve

svn path=/trunk/; revision=66333
2015-02-17 12:59:22 +00:00
James Tabor ec53fab6c4 [NtUser]
- Fix wine msg test_SetFocus tests. Use send message for WM_WINDOWPOSCHANGING. If nothing has been drawn and the no position changed bits set, set no Z order and no redraw. See CORE-7447.

svn path=/trunk/; revision=66332
2015-02-17 08:25:43 +00:00
Thomas Faber 9424c41250 [WIN32K:NTUSER]
- Remove unneeded casts, fix format specifiers, and clarify some logic in co_MsqSendMessage

svn path=/trunk/; revision=66331
2015-02-17 08:08:04 +00:00
James Tabor d85dd86c4d [User32]
- Add missing wParam for hooks. See CORE-7447.

svn path=/trunk/; revision=66330
2015-02-17 06:42:27 +00:00
Jérôme Gardou 296b072782 [RSHELL]
- Fix use after free (and spanish style issues ;-) )

svn path=/trunk/; revision=66329
2015-02-16 22:40:15 +00:00
Jérôme Gardou 12ac60c6f7 [EXPLORER]
- Prperly initialize members in CStartMenu constructor.

svn path=/trunk/; revision=66328
2015-02-16 22:33:15 +00:00
Jérôme Gardou b53f6e070e [RSHELL]
- Do not free invalid data.
See MSDN SHBindToParent documentation for details.

svn path=/trunk/; revision=66327
2015-02-16 22:33:08 +00:00
Jérôme Gardou 91ab921a3d [NTDLL_APITEST]
- Add tests showing windows behaviour in case of stack overflow.

svn path=/trunk/; revision=66326
2015-02-16 21:15:55 +00:00
Jérôme Gardou 03d126b2fa [NTDLL_APITEST]
- Add tests showing how NtAllocateVirtualMemory and NtQueryVirtualMemory work together

svn path=/trunk/; revision=66325
2015-02-16 21:15:27 +00:00
Jérôme Gardou b9ea54f29a [KERNEL32]
- Fix mixed arguments.
CORE-9201 #resolve
CORE-9124 #comment Please retest

svn path=/trunk/; revision=66324
2015-02-16 21:13:36 +00:00
Jérôme Gardou 660ebacbe6 [KERNEL32]
Revert r64525 - Always allocate a guard page at the bottom of the stack.

svn path=/trunk/; revision=66323
2015-02-16 21:12:51 +00:00
Daniel Reimer 14cf90ba59 ... ANSI vs UTF-8... sorry
svn path=/trunk/; revision=66322
2015-02-16 20:44:12 +00:00
Daniel Reimer 06b792b5bf [SERVICES]
German translation & Small fix I think which should be right for English ^^

svn path=/trunk/; revision=66321
2015-02-16 20:27:29 +00:00
Thomas Faber cc97feb5e1 [BOOTCDREGTEST]
- Add /n switch to rosautotest invocation to see how much of a difference it makes on testbot

svn path=/trunk/; revision=66320
2015-02-16 16:17:22 +00:00
Eric Kohl 723079bd61 [NTOSKRNL]
NtQueryInformationFile: Implement the FileModeInformation case according to 'File System Internals' page 485.

svn path=/trunk/; revision=66319
2015-02-16 15:33:34 +00:00
Thomas Faber 8e230698ba [ROSAUTOTEST]
- Add /n option to suppress console output. May or may not help to speed up testbot runs, but can't hurt to have in here.

svn path=/trunk/; revision=66318
2015-02-16 14:55:39 +00:00
Pierre Schweitzer d78a21fe33 [WMISVC]
Silence a DPRINT

svn path=/trunk/; revision=66317
2015-02-16 13:40:13 +00:00
Thomas Faber 1ea34407b8 [ROSAUTOTEST]
- Abstract unidirectional anonymous pipes into a CPipe class
- Abstract a process with redirected output into a CPipedProcess class
- Use these abstractions to avoid polling for output from test processes. Instead, use blocking read operations to yield the CPU while waiting for data.
ROSTESTS-144 #resolve

svn path=/trunk/; revision=66316
2015-02-16 13:17:04 +00:00
Eric Kohl 52106a09f2 [SERVICES]
Remove unused prototype.

svn path=/trunk/; revision=66315
2015-02-16 11:52:43 +00:00
Eric Kohl b34d3ab3cd [SERVICES]
Replace hard-coded strings by string resources.

svn path=/trunk/; revision=66314
2015-02-16 11:47:40 +00:00
Thomas Faber 5329a4681c [PSDK]
- Add missing OUT_SCREEN_OUTLINE_PRECIS, OUT_PS_ONLY_PRECIS & CLIP_DFA_DISABLE definitions aka fix build

svn path=/trunk/; revision=66313
2015-02-16 09:11:13 +00:00
Thomas Faber fee9806390 [GDI32_WINETEST]
- Sync to Wine 1.7.36
- Properly disable test_dib_formats. ROSTESTS-152, CORE-5922
- Fix skip message in test_mono_bitmap not to point to a resolved bug. ROSTESTS-153, CORE-5922
- Re-enable font tests that were left skipped even though the associated bug is correctly marked as resolved. ROSTESTS-8

svn path=/trunk/; revision=66312
2015-02-16 09:06:45 +00:00
Thomas Faber b7f3b58ad0 [USER32_WINETEST]
- Re-enable test_shell_window
ROSTESTS-23

svn path=/trunk/; revision=66311
2015-02-16 07:37:19 +00:00
James Tabor 0a97b2b39d [Win32ss]
- Fix wine msg:test_winevents.
- Fix global hooks while sending to same process different thread. Yes, interesting.
- Fix event hooks, use posting (faster) instead of sending. This fixed a problem while sending to the same thread.

svn path=/trunk/; revision=66310
2015-02-16 03:32:46 +00:00
James Tabor 2ff860c8f1 [NtUser]
- This fixes use after free linking in the message system. See CORE-9173. Dedicated to Thomas Faber.

svn path=/trunk/; revision=66309
2015-02-16 03:16:01 +00:00
Hermès Bélusca-Maïto b4899bb982 [KERNEL32][NTUSER]: Shut up some dprints.
CORE-9186

svn path=/trunk/; revision=66308
2015-02-15 23:55:52 +00:00
Eric Kohl 6a71e26135 [NTOSKRNL]
NtQueryInformationFile: Implement FileAccessInformation and FileAlignmentInformation cases according to 'File System Internals' page 485.

svn path=/trunk/; revision=66307
2015-02-15 23:06:30 +00:00
Hermès Bélusca-Maïto 9d4dbeb5c9 [WINSRV]
- Part 2/2 of SrvLogon (see r66303): load the per-user shutdown timeouts.
- Retrieve those per-user shutdown timeouts from the registry when the user logs on, adapted from Alex' shutdown patch plus existing code.
- Commit the main part of shutdown code (finally!), still unfinished yet:
  * Need to switch to the desktop where the hanging GUI app's window is present,
  * Need to deal with apps from other users
  * What about SYSTEM processes?
  * What about console processes?
- Reuse the old timeout code.
- Fix the sending of WM_QUERYENDSESSION and WM_ENDSESSION messages (this is done by win32k directly; for that winsrv needs just to send one WM_CLIENTSHUTDOWN message with the correct wParam parameter).

Part 13/X
CORE-8322 #comment Big commit in revision 66306!

svn path=/trunk/; revision=66306
2015-02-15 22:57:40 +00:00
Hermès Bélusca-Maïto c7457ca21e [NTOS]: Less "magic" indices.
svn path=/trunk/; revision=66305
2015-02-15 22:29:50 +00:00