Commit graph

61006 commits

Author SHA1 Message Date
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
Thomas Faber 05b349a93c [NTOS]
- In ExpReleaseOrWaitForKeyedEvent, always restore previous values for ETHREAD::KeyedWaitValue and ETHREAD::KeyedWaitChain, as these fields have alternative meanings outside of keyed events
- Add missing list walk in ExpReleaseOrWaitForKeyedEvent
- In Nt(WaitFor|Release)KeyedEvent, refuse keys that are not two-byte aligned as shown by Wine tests
- Don't forget to set KTHREAD::Process on thread creation
Fixes hang when running ntdll_winetest:om as well as failing tests.
ROSTESTS-118 #resolve

svn path=/trunk/; revision=66304
2015-02-15 22:20:34 +00:00
Hermès Bélusca-Maïto 3ce6fcf3b2 [USER32]
Implement SrvLogon (client-side), called by the SetWindowStationUser API (called by winlogon) when a user logs-on (or off).
See also http://www.openrce.org/reference_library/win32_call_chains/2003SP1/USER32/SetWindowStationUser and http://www.openrce.org/reference_library/win32_call_chains/2003SP1/USER32/Logon for details.
Part 1/2

svn path=/trunk/; revision=66303
2015-02-15 21:56:03 +00:00
Thomas Faber c5dcd5d90a [ADVAPI32_WINETEST]
- Skip over service timeout tests because they take too long. This is not a bug, the tests are completing successfully -- however they are designed to cause service manager timeouts and take two minutes in doing so. Testbot time is too valuable to do this on every commit.
ROSTESTS-151

svn path=/trunk/; revision=66302
2015-02-15 18:20:59 +00:00
David Quintana 384d4f06d5 [SHELL32]
* Include enumeration of hidden files in the default shell view, until we have a proper way of toggling it.
CORE-9192

svn path=/trunk/; revision=66301
2015-02-15 18:05:34 +00:00
Thomas Faber b3038d2a51 [TDILIB][IPHLPAPI][WSHTCPIP]
- Request only the access rights that are actually required in openTcpFile. Fixes many should-be access denied errors originating from netshell. While this doesn't fix the root cause of CORE-9172, it is a required step if we ever want netshell to work for non-Admin users.
CORE-9172

svn path=/trunk/; revision=66300
2015-02-15 17:57:34 +00:00
Thomas Faber 4db087dde9 [OLEAUT32_WINETEST]
- Re-enable test_apm and test_enhmetafile.
ROSTESTS-2

svn path=/trunk/; revision=66299
2015-02-15 17:54:41 +00:00
Thomas Faber e31687b11f [URLMON_WINETEST]
- Re-enable protocol test.
ROSTESTS-38

svn path=/trunk/; revision=66298
2015-02-15 17:50:18 +00:00
Hermès Bélusca-Maïto ee1471efd0 [MSISERVER]: Fix few things after commits 66278 and 66279.
[WMISVC]: Add RPCSS dependency (ok it's not really used now since wmisvc is a stub, but it's for the future).

svn path=/trunk/; revision=66297
2015-02-15 17:28:41 +00:00
Pierre Schweitzer 848766e7d3 [BOOTDATA]
Add missing quote.
Spotted by Hermès

svn path=/trunk/; revision=66296
2015-02-15 17:22:13 +00:00
Pierre Schweitzer 0db7698abb [WMISVC]
Add a stub for the "Windows Management Infrastructure" service.
This helps the Intel PRO eth card installer to go a bit farther 

svn path=/trunk/; revision=66295
2015-02-15 17:19:57 +00:00
Sylvain Petreolle c7f86181e1 Remove duplicated flag KLF_SETFORPROCESS.
Patch by Kudratov Olimjon.
CORE-8545

svn path=/trunk/; revision=66294
2015-02-15 16:41:08 +00:00
Timo Kreuzer 1492f3e41a [FRAMEDYN]
Fix copypasta in the spec file

svn path=/trunk/; revision=66293
2015-02-15 16:18:18 +00:00
Hermès Bélusca-Maïto 83b14404e5 Forgot those files too.
svn path=/trunk/; revision=66292
2015-02-15 16:11:08 +00:00
Hermès Bélusca-Maïto 2ee57cd570 [WINSRV]: Remove the now-unneeded switch-app dialog that was moved to user32 since revision 51459.
svn path=/trunk/; revision=66291
2015-02-15 16:08:36 +00:00
Sylvain Petreolle b9d092f271 Fix sysfile association.
Patch by Kudratov Olimjon.
CORE-8545

svn path=/trunk/; revision=66290
2015-02-15 15:49:33 +00:00
Thomas Faber ea641395a6 [INF]
- Save inf files as UTF-8 in SVN, convert them to UTF-16 at build time as needed.
CORE-8221

svn path=/trunk/; revision=66289
2015-02-15 15:42:00 +00:00