Commit graph

60733 commits

Author SHA1 Message Date
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
Thomas Faber 88db04e8d6 [SHELL32]
- Rename "Insert" to "Paste" in CDefaultContextMenu

svn path=/trunk/; revision=66288
2015-02-15 15:21:52 +00:00
Timo Kreuzer 18ee2fa09b [FRAMEDYN]
Fix compilation on x64

svn path=/trunk/; revision=66287
2015-02-15 14:39:02 +00:00
Timo Kreuzer ee423a157c [LIBS]
Fix some MSVC warnings (and potential bugs) regarding signed/unsigned comparison.

svn path=/trunk/; revision=66286
2015-02-15 11:24:52 +00:00
Timo Kreuzer 5bc307769c [PSDK]
Add _SH_ to processor definitions, fix some processor #ifdefs
Patch by Yuntian Zhang
CORE-7946 #resolve

svn path=/trunk/; revision=66285
2015-02-15 11:22:29 +00:00
Timo Kreuzer 2cb0d0e242 [SHELL32]
Fix prototype of COpenWithDialog::NoOpenDlgProc. DLGPROCs return INT_PTR, not BOOL. Fixes amd64 build.

svn path=/trunk/; revision=66284
2015-02-15 11:21:31 +00:00
Timo Kreuzer 526eda105e [KDVBOX]
Fix amd64 build

svn path=/trunk/; revision=66283
2015-02-15 11:13:30 +00:00
Timo Kreuzer 3a6df0d8b5 [FREELDR]
Fix non-x86 build

svn path=/trunk/; revision=66282
2015-02-15 11:10:09 +00:00
Thomas Faber e6c56afe8c [KMTESTS]
- Add KmtGetSystemRoutineAddress and use it to avoid importing functions that are not available in some versions of Windows. This allows running kmtests on Windows XP SP3 (and probably Server 2003 SP0/SP2). Note that failures on XP are still not valid bugs, this is purely for convenience!  Dedicated to Jérôme.
ROSTESTS-150

svn path=/trunk/; revision=66281
2015-02-15 10:23:21 +00:00
James Tabor af36a2a4df [User32]
- Move notify window event to a better location for passing wine msg:test_winevents. See CORE-7447.

svn path=/trunk/; revision=66280
2015-02-15 10:14:18 +00:00
Pierre Schweitzer c1e830e073 [BOOTDATA]
Errm...
Spotted by Giannis

svn path=/trunk/; revision=66279
2015-02-15 10:02:57 +00:00
Pierre Schweitzer 8ea7e85637 [BOOTDATA]
msiexec can be used as a service (and might be required by some MSIs)

svn path=/trunk/; revision=66278
2015-02-15 09:59:29 +00:00
Thomas Faber bc8701e5b7 [KMTESTS:KE]
- Enable KeSpinLock test that apparently never made it into testlist.c for some reason?

svn path=/trunk/; revision=66277
2015-02-15 09:29:32 +00:00
Johannes Anderwald 5ff3a2b55c [INF]
- add wdmaudio.inf 

svn path=/trunk/; revision=66276
2015-02-15 09:03:08 +00:00
Hermès Bélusca-Maïto 4c28eeae21 [WINLOGON][USER32]
Fix the explanations of how Windows/ReactOS should shut down (it's winlogon itself that calls NtShutdownSystem, not something else; that story about "SMSS API #1" concerns the SMSS API SmpSessionCompleteApi called by the helper function SmSessionComplete which is in turn called by CSRSS function CsrDereferenceNtSession, when all win32 processes are gone, as it should).
The webpage http://www.reactos.org/wiki/ShutdownProcess should be corrected for.

[USER32]
Whitespace fixes for winstation code.

svn path=/trunk/; revision=66275
2015-02-15 02:07:23 +00:00
Timo Kreuzer 61ec2f8e01 [NTOSKRNL]
Demote the "HACK: RemainingAccess = 0x%08lx  DesiredAccess = 0x%08lx\n" from DPRINT1 to DPRINT, since it's massively spamming the log.
See CORE-9184

svn path=/trunk/; revision=66274
2015-02-15 00:26:41 +00:00
Timo Kreuzer e07232f673 [WIN32K]
In NtGdiGetDIBitsInternal limit the size of what is being copied back to to usermode to the cjMaxInfo parameter. Fixes crash of Firefox when downloading files.
CORE-8895 #resolve

svn path=/trunk/; revision=66273
2015-02-15 00:05:50 +00:00
Pierre Schweitzer 5b0af50bdc [NTFS]
Query the value of NtfsMftZoneReservation on mount.
Not used yet.
CORE-8725

svn path=/trunk/; revision=66272
2015-02-14 20:55:47 +00:00
Hermès Bélusca-Maïto 4f6f4969d9 [SHELL32]
- magic_value--;
- Don't assign a desktop background colour by default. So that we can get the safe-mode background working (in safe mode), while having the default desktop background colours in normal situations.
Patch by Giannis.

svn path=/trunk/; revision=66271
2015-02-14 19:56:04 +00:00
Thomas Faber a3e8496b8d [RTL]
- Implement RtlIpv4StringToAddressExW. Patch by Mark Jansen.
CORE-6490

svn path=/trunk/; revision=66270
2015-02-14 19:14:32 +00:00
Timo Kreuzer 279e2f65b3 [DRIVERS]
Fix a few MSVC warnings

svn path=/trunk/; revision=66269
2015-02-14 19:07:36 +00:00
Timo Kreuzer 2566611f13 [CMAKE]
Disable MSVC linker warning LNK4078 (multiple sections found with different attributes) for INIT sections.

svn path=/trunk/; revision=66268
2015-02-14 18:58:52 +00:00
Timo Kreuzer d932c7c5bf [PSDK]
Add #ifdef include guards to winnt.h. RC doesn't seem to support #pragma once and emits a redefinition warning, since with RC we first include winnt.h without STRICT defined, then again from windef.h with STRICT defined.

svn path=/trunk/; revision=66267
2015-02-14 17:04:42 +00:00
Timo Kreuzer 1605785f0b [CMAKE]
- Disable warning C4800: forcing value to bool 'true' or 'false' (performance warning). This  is emitted when assigning an integer value to a C++ bool, which is always true (1) or false (0), so assigning an integer to it, will result in an implicit comparison against 0. But "fixing" this warning by adding an explicit comparison ("bool f = (i != 0);") will actually result in LESS efficient code (for whatever reasons). So this warning can be considered entirely useless and counter productive.
- Remove C4018 (signed/unsigned mismatch) from the TODO in the disable list. A comparison between an unsigned and a signed value will very likely result in wrong behavior and can easily cause hard to spot security bugs (e.g. when doing overflow checks). It is also often easy to fix.

svn path=/trunk/; revision=66266
2015-02-14 15:44:44 +00:00