Commit graph

67841 commits

Author SHA1 Message Date
Giannis Adamopoulos c2c30fe940 [NEWDEV] -Use manifest_hosted.rc.
svn path=/trunk/; revision=73798
2017-02-14 09:41:38 +00:00
Alex Ionescu c80fda1b0a [BOOTLIB]: Clarify some attributes now that their meaning is clearer.
[BOOTLIB]: Implement MmSelectMappingAddress and fix its prototype.
[BOOTLIB]: Implement MmPapPageAllocatorExtend and fix MmPapAllocatePagesInRange to use it.
We are trying to choose VA 0 for PA 0x8000 and currently fail due to conflicts. TBD.

svn path=/trunk/; revision=73797
2017-02-13 23:47:06 +00:00
Eric Kohl 8c77497afc [UMPNPMGR]
PNP_GetDeviceList and PNP_GetDeviceListSize:
- Do not return CR_CALL_NOT_IMPLEMENTED by default.
- pulLength is counted in characters, not in bytes!
- Use the correct Relations value for PowerRelations.

[NDK]
Add the PowerRelations value to a comment.

[DEVMGR]
CM_Get_Device_ID_List_Size_ExW and CM_Get_Device_ID_List_ExW count the buffer length in characters, not in bytes!

svn path=/trunk/; revision=73796
2017-02-13 22:59:40 +00:00
Eric Kohl afde7ef918 [NTOSKRNL]
Implement IopGetDeviceRelations().

svn path=/trunk/; revision=73795
2017-02-13 22:38:11 +00:00
Giannis Adamopoulos 6f4d361e2f [SHELL32] -Call CPlApplet export of control panel applets with the correct activation context.
svn path=/trunk/; revision=73794
2017-02-13 22:09:14 +00:00
Pierre Schweitzer 78544a017e [FASTFAT]
In order to make VfatVerify() work on something else than floppies, ask for change count when issuing IOCTL_DISK_CHECK_VERIFY

svn path=/trunk/; revision=73793
2017-02-13 21:17:26 +00:00
Giannis Adamopoulos 25f693843f [UXTHEME] -Move the global variables for the scrollbars into the WND_CONTEXT. Hook ThemeGetScrollInfo to set the correct tracking position as tracking is handled completely in uxtheme. Fixes scrolling while dragging the scrollbar thumb in the listview control.
svn path=/trunk/; revision=73792
2017-02-13 18:45:18 +00:00
Giannis Adamopoulos ffcce8faae [UXTHEME] -Remove an overzealous check that prevented the scrollbar from being repainted when the cursor was moving in it.
svn path=/trunk/; revision=73791
2017-02-13 17:31:14 +00:00
Giannis Adamopoulos 8e63468492 [UXTHEME] -Fix the size of the thump in the themed scrollbar. CORE-7988
svn path=/trunk/; revision=73790
2017-02-13 17:27:13 +00:00
Giannis Adamopoulos aae34d2409 [COMCTL32] -Fix drawing the borders of themed controls. Patch by Sylvain Deverre. CORE-10761
svn path=/trunk/; revision=73789
2017-02-13 15:08:47 +00:00
Giannis Adamopoulos a5ad497158 [BROWSEUI] -Fix a couple of cases where the tree view can cause a crash.
svn path=/trunk/; revision=73788
2017-02-13 15:04:03 +00:00
Giannis Adamopoulos 126bbfdb97 [USER32_APITEST]: Add a couple more tests for GetClassInfoExW.
svn path=/trunk/; revision=73787
2017-02-13 09:58:06 +00:00
Giannis Adamopoulos 6f9bc0e872 [WIN32KNT_APITEST]: Make a test for NtUserGetClassInfo more strict to test its exact return value.
svn path=/trunk/; revision=73786
2017-02-13 09:56:35 +00:00
Thomas Faber 25d242883a [WIN32K:NTUSER]
- Kill a noisy debug print

svn path=/trunk/; revision=73785
2017-02-12 23:09:35 +00:00
Pierre Schweitzer 5b66f1e47b [FASTFAT]
Don't attempt to verify volume if it was already verified in between

svn path=/trunk/; revision=73784
2017-02-12 19:31:31 +00:00
Giannis Adamopoulos 935904f4a0 [WIN32KNT_APITEST]: -Make sure that NtUserUnregisterClass works when it gets the versioned class name. Show that NtUserFindWindowEx needs the non versioned class name.
svn path=/trunk/; revision=73783
2017-02-12 12:11:18 +00:00
Pierre Schweitzer a03264afb2 [SMSS]
Remove useless nullptr check

svn path=/trunk/; revision=73782
2017-02-12 08:49:53 +00:00
Pierre Schweitzer 6ec8989b85 [SERVMAN]
Remove duplicated condition

svn path=/trunk/; revision=73781
2017-02-12 08:42:03 +00:00
Pierre Schweitzer d81bed0847 [FASTFAT]
Remove useless assignement

svn path=/trunk/; revision=73780
2017-02-12 08:25:42 +00:00
Thomas Faber 532649d4b1 [IP]
- Handle chained pbuf structures in TCPSendDataCallback
CORE-10715

svn path=/trunk/; revision=73779
2017-02-11 23:13:45 +00:00
Pierre Schweitzer 0d480e9966 [FASTFAT]
In case of an error while trying to verify the volume, only return STATUS_WRONG_VOLUME is raw mounts are allowed

svn path=/trunk/; revision=73778
2017-02-11 20:26:33 +00:00
Pierre Schweitzer 90905aac47 [FASTFAT]
Remove useless assignement

svn path=/trunk/; revision=73777
2017-02-11 18:33:47 +00:00
Kamil Hornicek 390a07e59a [REGEDIT]
- Fix a possible null pointer dereference. CID 731448
- Check string length before copying into a fixed size buffer. CID 515207
- Bail out of _CmdWndProc if keyPath is null. CID 1102164
- Use strsafe functions. CID 1102477

svn path=/trunk/; revision=73776
2017-02-11 16:02:49 +00:00
Thomas Faber f3fbc9263c [CRT]
- Add missing _sgdt declaration in intrin.h

svn path=/trunk/; revision=73775
2017-02-11 15:55:56 +00:00
Thomas Faber 3024860a8b [IP]
- Apparently MIN_TRACE isn't enough to get printed...
CORE-10715

svn path=/trunk/; revision=73774
2017-02-11 13:36:05 +00:00
Giannis Adamopoulos f349496e1d [USER32] -class.c: Try to use 4 space indentation. Convert tabs to spaces.
svn path=/trunk/; revision=73773
2017-02-11 12:18:06 +00:00
Thomas Faber 6660eb455a [IP]
- Print some debugging information when hitting 'p->tot_len == p->len' assertion in TCPSendDataCallback.
CORE-10715

svn path=/trunk/; revision=73772
2017-02-11 11:46:38 +00:00
Thomas Faber d4ede62fde [IPHLPAPI][NETCFGX]
- Don't check arrays against NULL. CID 513720, 513721, 1322048, 1322049

svn path=/trunk/; revision=73771
2017-02-11 10:54:09 +00:00
Kamil Hornicek ac044acb7d [UMPNPMGR]
- Fix a possible null pointer dereference. CID 515158

svn path=/trunk/; revision=73770
2017-02-11 10:34:35 +00:00
Giannis Adamopoulos a5ab07e889 [USER32_APITEST] -Add more tests for versioned classes.
svn path=/trunk/; revision=73769
2017-02-11 10:01:13 +00:00
James Tabor ebc1f941e0 [User32]
- Patch by Dmitry Timoshkov : Fix groupbox rectangle calculation in the button's WM_SETTEXT handler. BUTTON_CalcLabelRect should use the button font. Otherwise WM_SETTEXT handler gets wrong rectangle to erase an old text.
- Fixes CORE-12464.

svn path=/trunk/; revision=73768
2017-02-10 16:05:15 +00:00
Giannis Adamopoulos dd6803f824 [KERNEL32_APITESTS]: Add more tests for FindActCtxSectionStringW.
svn path=/trunk/; revision=73767
2017-02-10 00:00:28 +00:00
Giannis Adamopoulos e43a13448e [WINLOGON][MSGINA] -Remove resource manifests. These two components need some special handling regarding manifests.
svn path=/trunk/; revision=73766
2017-02-09 13:27:36 +00:00
Mark Jansen 4e9706e794 [NTOSKRNL] Fix some possible overruns in FsRtlIsNameInExpressionPrivate + add a test from Thomas. CORE-12121
svn path=/trunk/; revision=73765
2017-02-09 00:12:36 +00:00
Hermès Bélusca-Maïto 9e0186b983 [HIVECLS]: Fix /file switch in the open command for MSThemes files.
svn path=/trunk/; revision=73764
2017-02-08 23:34:08 +00:00
Hermès Bélusca-Maïto 9c1e8ef08d [FONTVIEW][HIVECLS]: Addendum to r73755 and r73759: .otc is an OpenType Font Collection file .
svn path=/trunk/; revision=73763
2017-02-08 23:30:05 +00:00
Hermès Bélusca-Maïto 876ddcbeed Je parle la france.
svn path=/trunk/; revision=73762
2017-02-08 23:00:43 +00:00
Hermès Bélusca-Maïto da88b8a4af [HIVECLS]: Fix few command paths.
svn path=/trunk/; revision=73761
2017-02-08 22:53:28 +00:00
Kamil Hornicek 42f43a36a5 [TASKMGR]
- ellipsis is a pointer not an array. CID 1321855

svn path=/trunk/; revision=73760
2017-02-08 22:52:46 +00:00
Mark Jansen ba8f65ba67 [HIVECLS|FONTVIEW] Fix fontview registration and add additional extensions. Patch by Katayama Hirofumi MZ. CORE-6621
svn path=/trunk/; revision=73759
2017-02-08 22:41:10 +00:00
Mark Jansen 9ff4f04538 [SHELL32] CDefaultContextMenu: Fix starting applications with just one 'static' menu item.
svn path=/trunk/; revision=73758
2017-02-08 22:24:47 +00:00
Mark Jansen 3f81e26f34 [FONTVIEW] Add support for font collections + show some extra font properties. Patch by Katayama Hirofumi MZ. CORE-6621
Some minor changes by me

svn path=/trunk/; revision=73755
2017-02-08 17:56:22 +00:00
Kamil Hornicek ca7ae9bbef [EVENTVWR]
- Attempt to speed up loading and displaying logs in EnumEventsThread:
- Rewriting the code fix an infinite loop that could happen under low memory conditions (this potentially speeds things up quite a lot).
- Remove ListView subclassing - sorry Hermès but not only it keeps constantly redrawing under Windows but also adds too much overhead.
- Don't read the event log records one by one but in chunks of roughly 0x7ffff bytes (maximum size allowed).
- Use poor man's "caching" of the event user name (optimizing/caching rest of the stuff in the loop didn't yield any significant speed up).

Result: Loading ~40000 records under Win7 went from 4.5 minutes to 65 seconds.

svn path=/trunk/; revision=73749
2017-02-07 22:33:02 +00:00
Mark Jansen ab5f5755fc [KERNEL32] Silence some noise during process creation.
svn path=/trunk/; revision=73748
2017-02-07 16:45:50 +00:00
Giannis Adamopoulos 47ee20b4ab [USER32_APITEST]: Add more tests for RegisterClassEx.
svn path=/trunk/; revision=73747
2017-02-07 12:11:26 +00:00
Mark Jansen 21dd348b8e [GDI32_APITEST] Add tests for font creation. Patch by Katayama Hirofumi MZ. CORE-6621
svn path=/trunk/; revision=73746
2017-02-07 11:37:36 +00:00
Mark Jansen f605f83671 [CRT_APITEST] Add additional test for __getmainargs
svn path=/trunk/; revision=73745
2017-02-07 10:35:35 +00:00
Mark Jansen b926d3c9a4 [WIN32SS] Mute a major spammer in AHK tests.
svn path=/trunk/; revision=73744
2017-02-07 10:33:42 +00:00
Mark Jansen 9607bedb48 [BOOTLIB] Additional EfiPrintf conversion like r73736 for MSVC 2013
svn path=/trunk/; revision=73743
2017-02-07 10:32:20 +00:00
Alex Ionescu 49216293a4 [BOOTLIB]: Implement MmFwGetMemoryMap when virtual memory is being enabled.
[BOOTLIB]: Implement MmPapAllocatePagesInRange when virtual memory is being enabled.
What's left now is implementing extension for the PA allocator when VM is enabled.

svn path=/trunk/; revision=73742
2017-02-07 04:26:21 +00:00