Thomas Faber [Fri, 17 Feb 2017 12:17:20 +0000 (12:17 +0000)]
[WINDOWSCODECS]
- Fix some MSVC-specific definitions
svn path=/trunk/; revision=73809
Pierre Schweitzer [Fri, 17 Feb 2017 11:38:05 +0000 (11:38 +0000)]
[FASTFAT]
Thomas->happiness++;
svn path=/trunk/; revision=73808
Pierre Schweitzer [Fri, 17 Feb 2017 11:08:38 +0000 (11:08 +0000)]
[FASTFAT]
Fix a few ugly things.
Both Thomas & cppcheck should be happier now!
svn path=/trunk/; revision=73807
Giannis Adamopoulos [Fri, 17 Feb 2017 11:07:14 +0000 (11:07 +0000)]
[WIN32k]
-Fix a couple of cases where we use the versioned class atom instead of the non versioned one.
[USER32]
- Add support for versioned classes in RegisterClassExWOWW, GetClassInfoExW, GetClassInfoExA, UnregisterClassA, UnregisterClassW, and User32CreateWindowEx
- Make ClassNameToVersion return the name of the versioned class and the library name that implements it while preserving a hack that lets user32 know which classes are registered by comctl32 (this is needed because the default activation context doesn't contain the non versioned classes yet).
- Make VersionRegisterClass to load the specified library and make it register its classes which is used when the class is not registered yet but its manifest is active.
svn path=/trunk/; revision=73806
Thomas Faber [Fri, 17 Feb 2017 11:05:50 +0000 (11:05 +0000)]
[LIBJPEG]
- Update to version 9b
CORE-12775
svn path=/trunk/; revision=73805
Thomas Faber [Fri, 17 Feb 2017 10:42:03 +0000 (10:42 +0000)]
[LIBPNG]
- Update to version 1.6.28
CORE-12775
svn path=/trunk/; revision=73804
Giannis Adamopoulos [Fri, 17 Feb 2017 10:04:24 +0000 (10:04 +0000)]
[COMCTL32]
- Add and install a manifest for comctl32 version 5.82.
- Since our comctl32 tries to imitate both version 5 and version 6, register its classes twice, once while having the version 6 manifest active and once when having the version 5 active.
- Register the themed versions of the built in controls while having the version 6 manifest active (and register them as global classes). This breaks theming of built in controls until versioned classes get implemented.
- Do not try to subclass the dialog class. This is incorrect and can lead to problems like in CORE-8534, CORE-12727, CORE-8387. This removes the background texture of the themed tabs which will be implemented in the future in uxtheme using api hooks.
This breaks a great deal of theming but keep in mind that it is in the middle of a transition to have them implemented correctly without the terrible side effects (broken ansi conversion, not always using themes for built in controls. However comctl32 is now ready for versioned classes to be enabled.
CORE-12285
svn path=/trunk/; revision=73803
Kamil Hornicek [Wed, 15 Feb 2017 10:53:41 +0000 (10:53 +0000)]
[SPIDER]
- Make the formatting a bit more consistent.
[EVENTVWR]
- Remove an useless cast.
svn path=/trunk/; revision=73802
Alex Ionescu [Wed, 15 Feb 2017 00:53:15 +0000 (00:53 +0000)]
[BOOTLIB]: Fix assembly file containing Archx86TransferTo32BitApplicationAsm to use assume:nothing, otherwise we end up with SS segment overrides everywhere.
[BOOTLIB]: Correctly bias access to GDT/IDT registers by 2 bytes since this is a 48-bit instruction. The loaded GDT/IDT was previously invalid and causing random GPFs.
[BOOTLIB]: Fix EfiStall in protected mode. It was previously not stalling.
[BOOTLIB]: Fix calculation in MmMapPhysicalAddress
[BOOTLIB]: Fix missing goto in MmSelectMappingAddress which broke the function in real mode.
[BOOTLIB]: Fix incorrect ranges in MmSelectMappingAddress.
[BOOTLIB]: Fix incorrect offset calculation in MmSelectMappingAddress.
Now hitting (as expected), unimplemented virtual code path in BlMmMapPhysicalAddressEx.
svn path=/trunk/; revision=73801
Giannis Adamopoulos [Tue, 14 Feb 2017 09:47:13 +0000 (09:47 +0000)]
[RUNDLL32] -Load and activate the manifest of the hosted dll before loading the library.
svn path=/trunk/; revision=73799
Giannis Adamopoulos [Tue, 14 Feb 2017 09:41:38 +0000 (09:41 +0000)]
[NEWDEV] -Use manifest_hosted.rc.
svn path=/trunk/; revision=73798
Alex Ionescu [Mon, 13 Feb 2017 23:47:06 +0000 (23:47 +0000)]
[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
Eric Kohl [Mon, 13 Feb 2017 22:59:40 +0000 (22:59 +0000)]
[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
Eric Kohl [Mon, 13 Feb 2017 22:38:11 +0000 (22:38 +0000)]
[NTOSKRNL]
Implement IopGetDeviceRelations().
svn path=/trunk/; revision=73795
Giannis Adamopoulos [Mon, 13 Feb 2017 22:09:14 +0000 (22:09 +0000)]
[SHELL32] -Call CPlApplet export of control panel applets with the correct activation context.
svn path=/trunk/; revision=73794
Pierre Schweitzer [Mon, 13 Feb 2017 21:17:26 +0000 (21:17 +0000)]
[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
Giannis Adamopoulos [Mon, 13 Feb 2017 18:45:18 +0000 (18:45 +0000)]
[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
Giannis Adamopoulos [Mon, 13 Feb 2017 17:31:14 +0000 (17:31 +0000)]
[UXTHEME] -Remove an overzealous check that prevented the scrollbar from being repainted when the cursor was moving in it.
svn path=/trunk/; revision=73791
Giannis Adamopoulos [Mon, 13 Feb 2017 17:27:13 +0000 (17:27 +0000)]
[UXTHEME] -Fix the size of the thump in the themed scrollbar. CORE-7988
svn path=/trunk/; revision=73790
Giannis Adamopoulos [Mon, 13 Feb 2017 15:08:47 +0000 (15:08 +0000)]
[COMCTL32] -Fix drawing the borders of themed controls. Patch by Sylvain Deverre. CORE-10761
svn path=/trunk/; revision=73789
Giannis Adamopoulos [Mon, 13 Feb 2017 15:04:03 +0000 (15:04 +0000)]
[BROWSEUI] -Fix a couple of cases where the tree view can cause a crash.
svn path=/trunk/; revision=73788
Giannis Adamopoulos [Mon, 13 Feb 2017 09:58:06 +0000 (09:58 +0000)]
[USER32_APITEST]: Add a couple more tests for GetClassInfoExW.
svn path=/trunk/; revision=73787
Giannis Adamopoulos [Mon, 13 Feb 2017 09:56:35 +0000 (09:56 +0000)]
[WIN32KNT_APITEST]: Make a test for NtUserGetClassInfo more strict to test its exact return value.
svn path=/trunk/; revision=73786
Thomas Faber [Sun, 12 Feb 2017 23:09:35 +0000 (23:09 +0000)]
[WIN32K:NTUSER]
- Kill a noisy debug print
svn path=/trunk/; revision=73785
Pierre Schweitzer [Sun, 12 Feb 2017 19:31:31 +0000 (19:31 +0000)]
[FASTFAT]
Don't attempt to verify volume if it was already verified in between
svn path=/trunk/; revision=73784
Giannis Adamopoulos [Sun, 12 Feb 2017 12:11:18 +0000 (12:11 +0000)]
[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
Pierre Schweitzer [Sun, 12 Feb 2017 08:49:53 +0000 (08:49 +0000)]
[SMSS]
Remove useless nullptr check
svn path=/trunk/; revision=73782
Pierre Schweitzer [Sun, 12 Feb 2017 08:42:03 +0000 (08:42 +0000)]
[SERVMAN]
Remove duplicated condition
svn path=/trunk/; revision=73781
Pierre Schweitzer [Sun, 12 Feb 2017 08:25:42 +0000 (08:25 +0000)]
[FASTFAT]
Remove useless assignement
svn path=/trunk/; revision=73780
Thomas Faber [Sat, 11 Feb 2017 23:13:45 +0000 (23:13 +0000)]
[IP]
- Handle chained pbuf structures in TCPSendDataCallback
CORE-10715
svn path=/trunk/; revision=73779
Pierre Schweitzer [Sat, 11 Feb 2017 20:26:33 +0000 (20:26 +0000)]
[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
Pierre Schweitzer [Sat, 11 Feb 2017 18:33:47 +0000 (18:33 +0000)]
[FASTFAT]
Remove useless assignement
svn path=/trunk/; revision=73777
Kamil Hornicek [Sat, 11 Feb 2017 16:02:49 +0000 (16:02 +0000)]
[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
Thomas Faber [Sat, 11 Feb 2017 15:55:56 +0000 (15:55 +0000)]
[CRT]
- Add missing _sgdt declaration in intrin.h
svn path=/trunk/; revision=73775
Thomas Faber [Sat, 11 Feb 2017 13:36:05 +0000 (13:36 +0000)]
[IP]
- Apparently MIN_TRACE isn't enough to get printed...
CORE-10715
svn path=/trunk/; revision=73774
Giannis Adamopoulos [Sat, 11 Feb 2017 12:18:06 +0000 (12:18 +0000)]
[USER32] -class.c: Try to use 4 space indentation. Convert tabs to spaces.
svn path=/trunk/; revision=73773
Thomas Faber [Sat, 11 Feb 2017 11:46:38 +0000 (11:46 +0000)]
[IP]
- Print some debugging information when hitting 'p->tot_len == p->len' assertion in TCPSendDataCallback.
CORE-10715
svn path=/trunk/; revision=73772
Thomas Faber [Sat, 11 Feb 2017 10:54:09 +0000 (10:54 +0000)]
[IPHLPAPI][NETCFGX]
- Don't check arrays against NULL. CID 513720, 513721,
1322048,
1322049
svn path=/trunk/; revision=73771
Kamil Hornicek [Sat, 11 Feb 2017 10:34:35 +0000 (10:34 +0000)]
[UMPNPMGR]
- Fix a possible null pointer dereference. CID 515158
svn path=/trunk/; revision=73770
Giannis Adamopoulos [Sat, 11 Feb 2017 10:01:13 +0000 (10:01 +0000)]
[USER32_APITEST] -Add more tests for versioned classes.
svn path=/trunk/; revision=73769
James Tabor [Fri, 10 Feb 2017 16:05:15 +0000 (16:05 +0000)]
[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
Giannis Adamopoulos [Fri, 10 Feb 2017 00:00:28 +0000 (00:00 +0000)]
[KERNEL32_APITESTS]: Add more tests for FindActCtxSectionStringW.
svn path=/trunk/; revision=73767
Giannis Adamopoulos [Thu, 9 Feb 2017 13:27:36 +0000 (13:27 +0000)]
[WINLOGON][MSGINA] -Remove resource manifests. These two components need some special handling regarding manifests.
svn path=/trunk/; revision=73766
Mark Jansen [Thu, 9 Feb 2017 00:12:36 +0000 (00:12 +0000)]
[NTOSKRNL] Fix some possible overruns in FsRtlIsNameInExpressionPrivate + add a test from Thomas. CORE-12121
svn path=/trunk/; revision=73765
Hermès Bélusca-Maïto [Wed, 8 Feb 2017 23:34:08 +0000 (23:34 +0000)]
[HIVECLS]: Fix /file switch in the open command for MSThemes files.
svn path=/trunk/; revision=73764
Hermès Bélusca-Maïto [Wed, 8 Feb 2017 23:30:05 +0000 (23:30 +0000)]
[FONTVIEW][HIVECLS]: Addendum to r73755 and r73759: .otc is an OpenType Font Collection file .
svn path=/trunk/; revision=73763
Hermès Bélusca-Maïto [Wed, 8 Feb 2017 23:00:43 +0000 (23:00 +0000)]
Je parle la france.
svn path=/trunk/; revision=73762
Hermès Bélusca-Maïto [Wed, 8 Feb 2017 22:53:28 +0000 (22:53 +0000)]
[HIVECLS]: Fix few command paths.
svn path=/trunk/; revision=73761
Kamil Hornicek [Wed, 8 Feb 2017 22:52:46 +0000 (22:52 +0000)]
[TASKMGR]
- ellipsis is a pointer not an array. CID
1321855
svn path=/trunk/; revision=73760
Mark Jansen [Wed, 8 Feb 2017 22:41:10 +0000 (22:41 +0000)]
[HIVECLS|FONTVIEW] Fix fontview registration and add additional extensions. Patch by Katayama Hirofumi MZ. CORE-6621
svn path=/trunk/; revision=73759
Mark Jansen [Wed, 8 Feb 2017 22:24:47 +0000 (22:24 +0000)]
[SHELL32] CDefaultContextMenu: Fix starting applications with just one 'static' menu item.
svn path=/trunk/; revision=73758
Mark Jansen [Wed, 8 Feb 2017 17:56:22 +0000 (17:56 +0000)]
[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
Kamil Hornicek [Tue, 7 Feb 2017 22:33:02 +0000 (22:33 +0000)]
[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
Mark Jansen [Tue, 7 Feb 2017 16:45:50 +0000 (16:45 +0000)]
[KERNEL32] Silence some noise during process creation.
svn path=/trunk/; revision=73748
Giannis Adamopoulos [Tue, 7 Feb 2017 12:11:26 +0000 (12:11 +0000)]
[USER32_APITEST]: Add more tests for RegisterClassEx.
svn path=/trunk/; revision=73747
Mark Jansen [Tue, 7 Feb 2017 11:37:36 +0000 (11:37 +0000)]
[GDI32_APITEST] Add tests for font creation. Patch by Katayama Hirofumi MZ. CORE-6621
svn path=/trunk/; revision=73746
Mark Jansen [Tue, 7 Feb 2017 10:35:35 +0000 (10:35 +0000)]
[CRT_APITEST] Add additional test for __getmainargs
svn path=/trunk/; revision=73745
Mark Jansen [Tue, 7 Feb 2017 10:33:42 +0000 (10:33 +0000)]
[WIN32SS] Mute a major spammer in AHK tests.
svn path=/trunk/; revision=73744
Mark Jansen [Tue, 7 Feb 2017 10:32:20 +0000 (10:32 +0000)]
[BOOTLIB] Additional EfiPrintf conversion like r73736 for MSVC 2013
svn path=/trunk/; revision=73743
Alex Ionescu [Tue, 7 Feb 2017 04:26:21 +0000 (04:26 +0000)]
[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
Alex Ionescu [Tue, 7 Feb 2017 03:34:49 +0000 (03:34 +0000)]
[BOOTLIB]: Finish implementing Mmx86pMapMemoryRegions.
svn path=/trunk/; revision=73741
Alex Ionescu [Tue, 7 Feb 2017 01:52:57 +0000 (01:52 +0000)]
[BOOTLIB]: Implement most of Mmx86pMapMemoryRegions. Just missing the UEFI mappings now.
svn path=/trunk/; revision=73740
Alex Ionescu [Tue, 7 Feb 2017 01:35:11 +0000 (01:35 +0000)]
[BOOTLIB]: Don't use PTE_BASE/PDE_BASE in bootlib. Use MmPteBase and MmPdeBase instead.
[BOOTLIB]: Implement MmDefpMapPhysicalAddress, MmDefpTranslateVirtualAddress. Fix definition of Mmx86MapPhysicalAddress.
svn path=/trunk/; revision=73739
Alex Ionescu [Mon, 6 Feb 2017 23:13:47 +0000 (23:13 +0000)]
[BOOTLIB]: Implement BlMmIsTranslationEnabled and MmMapPhysicalAddress. MmDefpMapPhysicalAddress is missing at this point.
svn path=/trunk/; revision=73738
Hermès Bélusca-Maïto [Mon, 6 Feb 2017 22:58:20 +0000 (22:58 +0000)]
[USERENV]
- Fix some DPRINTs;
- Add parameter validation in CreateUserProfileExW;
- Return the directory path of the created profile in CreateUserProfileExW, if the user wants it;
- Add value type validation for RegQueryValueExW calls;
- Use ARRAYSIZE where needed;
- Add parameter validation in GetAllUsersProfileDirectoryA, GetDefaultUserProfileDirectoryA;
- Correctly return error code in GetAllUsersProfileDirectoryW, GetDefaultUserProfileDirectoryW, GetProfilesDirectoryW and GetUserProfileDirectoryW. Should fix the userenv_apitest:GetProfileDirs tests.
svn path=/trunk/; revision=73737
Hermès Bélusca-Maïto [Mon, 6 Feb 2017 22:46:57 +0000 (22:46 +0000)]
[BOOTLIB]: Make the EfiPrintf with __FUNCTION__ work also on GCC. Also, on MSVC (2010 at least), concatenating without converting __FUNCTION__ to unicode and adding 'L' for the "\r\n" returned error C2308.
svn path=/trunk/; revision=73736
Hermès Bélusca-Maïto [Mon, 6 Feb 2017 22:14:50 +0000 (22:14 +0000)]
[USERENV_APITEST]: Add some simple tests for Get[AllUsers|DefaultUser|User]Profile[s]Directory APIs (checking return values & last errors).
svn path=/trunk/; revision=73735
Alex Ionescu [Mon, 6 Feb 2017 22:11:21 +0000 (22:11 +0000)]
[BOOTLIB]: Finish implementation of MmMdRemoveRegionFromMdlEx for other straddling scenarios.
[BOOTLIB]: Implement Mmx86MapInitStructure and most of Mmx86InitializeMemoryMap.
[BOOTLIB]: Continue implementation of MmDefInitializeTranslation.
[BOOTLIB]: More explicitly mark paths which are not yet implemented for paging mode yet (but only on compilers that don't give compiler errors when trying to use __FUNCTION__.
svn path=/trunk/; revision=73734
Pierre Schweitzer [Mon, 6 Feb 2017 19:43:48 +0000 (19:43 +0000)]
[FASTFAT]
Take the volume label into account when comparing the FAT volumes in case of a verify.
This helps avoiding remounting every removable device on verify. Current hack is only kept for FATX volumes for now.
svn path=/trunk/; revision=73733
Alex Ionescu [Mon, 6 Feb 2017 19:34:15 +0000 (19:34 +0000)]
[BOOTLIB]: Don't use __getcallerseflags() in Archx86IsCpuidSupported -- __readeflags should be good enough.
svn path=/trunk/; revision=73732
Eric Kohl [Mon, 6 Feb 2017 19:22:48 +0000 (19:22 +0000)]
[ACCESS]
Get rid of the calculated control positions and sizes.
svn path=/trunk/; revision=73731
Alex Ionescu [Mon, 6 Feb 2017 19:21:01 +0000 (19:21 +0000)]
Cleanly compiles with both VS/GCC on my system even though bcd.h is not included. I have no idea how. Evidence in IRC channel.
svn path=/trunk/; revision=73730
Alex Ionescu [Mon, 6 Feb 2017 19:07:17 +0000 (19:07 +0000)]
[BOOTLIB]: Implement MmPaReserveSelfMapPages, MmPaReleaseSelfMapPages
[BOOTLIB]: Stub MmDefMoveVirtualAddressRange, MmDefZeroVirtualAddressRange, MmDefRelocateSelfMap, MmDefpDestroySelfMap, MmDefpUnmapVirtualAddress, MmDefpRemapVirtualAddress, MmDefpMapPhysicalAddress, MmDefpTranslateVirtualAddress,
[BOOTLIB]: Implement MmDefpFlushTlbEntry, MmDefpFlushTlb
[BOOTLIB]: Implement MmPaReleaseSelfMapPages, MmPaReserveSelfMapPages.
[BOOTLIB]: Implement Archx86IsCpuidSupported, BlArchIsCpuIdFunctionSupported, BlArchCpuId, BlArchGetPerformanceCounter.
[BOOTLIB]: Implement MmArchInitialize.
[BOOTLIB]: Implement most of MmDefInitializeTranslation. Almost ready to turn on paging.
svn path=/trunk/; revision=73729
Hermès Bélusca-Maïto [Mon, 6 Feb 2017 18:57:57 +0000 (18:57 +0000)]
[USERENV]
- Remove old file comment header (the code license is already present in COPYING in the main directory);
- Fix DPRINT;
- Use new-style annotations for exported APIs.
svn path=/trunk/; revision=73728
Pierre Schweitzer [Mon, 6 Feb 2017 18:14:01 +0000 (18:14 +0000)]
[FASTFAT]
Optimize the FAT mount process: there is no need to recognize the FS twice on mounting.
svn path=/trunk/; revision=73727
Hermès Bélusca-Maïto [Mon, 6 Feb 2017 16:56:32 +0000 (16:56 +0000)]
[RPCSS][THMSVC]: Perform the internal cleanup tasks before calling SetServiceStatus with 'dwCurrentState = SERVICE_STOPPED', because otherwise (if internal cleanup is done after calling SetServiceStatus) the SCM could kill the service in the middle of its cleanup tasks.
[SVCHOST][WINLOGON][LSASRV][SAMSRV]: Use the SDK-defined constant RPC_C_PROTSEQ_MAX_REQS_DEFAULT instead of hardcoding its value in the RpcServerUseProtseqEpW calls.
svn path=/trunk/; revision=73726
Giannis Adamopoulos [Mon, 6 Feb 2017 16:33:25 +0000 (16:33 +0000)]
[USER32_APITEST] -Add tests for global classes and versioned classes for RegisterClassEx.
svn path=/trunk/; revision=73725
Hermès Bélusca-Maïto [Mon, 6 Feb 2017 15:49:23 +0000 (15:49 +0000)]
The 'UNIMPLEMENTED' macro call should be followed explicitely by a semicolon.
svn path=/trunk/; revision=73724
Hermès Bélusca-Maïto [Mon, 6 Feb 2017 15:18:33 +0000 (15:18 +0000)]
[EXPLORER]: One indentation and one return value fix.
svn path=/trunk/; revision=73723
Alex Ionescu [Mon, 6 Feb 2017 03:14:14 +0000 (03:14 +0000)]
[BOOTLIB]: Clarify that BlMemoryReserved == BlMemoryBelow1MB
[BOOTLIB]: Implement EfiAllocatePages, EfiFreePages for Protected Mode.
[BOOTLIB]: Fix a "Todo" in MmFwGetMemoryMap: We now free the EFI buffer used for the memory map itself, and unmap it from the memory map (which would show it as 'in-use' while we're dumping it).
svn path=/trunk/; revision=73722
Alex Ionescu [Sun, 5 Feb 2017 22:34:47 +0000 (22:34 +0000)]
[BOOTLIB]: Implement MmArchTranslateVirtualAddress for non-paging mode. Stub Mmx86TranslateVirtualAddress.
[BOOTLIB]: Support EfiPrintf in Protected mode.
[BOOTLIB]: Support EfiGetMemoryMap in Protected Mode.
svn path=/trunk/; revision=73721
Alex Ionescu [Sun, 5 Feb 2017 22:17:07 +0000 (22:17 +0000)]
[BOOTMGR]: Fix more gcc warnings. Maybe we should stop building GCC with /Wall but MSVC with /Wnothing?
[BOOTLIB]: Hack EfiPrintf temporarily so we can get print outs even in "Protected mode".
[ROSLOAD]: Begin implementation. First, many bootlib fixes needed.
svn path=/trunk/; revision=73720
Alex Ionescu [Sun, 5 Feb 2017 22:03:27 +0000 (22:03 +0000)]
[BOOTLIB]: Fix bug in MmPapFreePhysicalPages.
svn path=/trunk/; revision=73719
Alex Ionescu [Sun, 5 Feb 2017 22:02:24 +0000 (22:02 +0000)]
[BOOTMGR]: Finish alloc/free test. It shows that it seems? to be working ok? :-)
[BOOTLIB]: Wrap-up implementation of MmPapFreePhysicalPages. We no longer leak RAM.
svn path=/trunk/; revision=73718
Eric Kohl [Sun, 5 Feb 2017 21:52:49 +0000 (21:52 +0000)]
[VARIOUS]
- Complete and updated translation for: runonce, winlogon, deskadp, deskmon, slayer, user32 and winsrv.
- Added right-to-left extended style for all dialogs.
Patch by Baruch Rutman.
CORE-6904 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=73717
Alex Ionescu [Sun, 5 Feb 2017 21:50:14 +0000 (21:50 +0000)]
[BOOTMGR]: Fix bug in test.
[BOOTLIB]: Fix bug in MmMdFindDescriptorFromMdl.
[BOOTLIB]: Implement MmFwFreePages.
[BOOTLIB]: Implement most of MmPapFreePhysicalPages. The rest is coming next.
[BOOTMGR]: Add test for alloc/free.
svn path=/trunk/; revision=73716
Eric Kohl [Sun, 5 Feb 2017 21:46:51 +0000 (21:46 +0000)]
[APPWIZ]
Replace resource metrics by fixed sizes.
svn path=/trunk/; revision=73715
Eric Kohl [Sun, 5 Feb 2017 21:15:25 +0000 (21:15 +0000)]
[CPL]
Remove unused resource metrics.
svn path=/trunk/; revision=73714
Alex Ionescu [Sun, 5 Feb 2017 20:52:00 +0000 (20:52 +0000)]
[BOOTLIB]: Fix GCC build. Maybe I should stop using MSVC.
svn path=/trunk/; revision=73713
Alex Ionescu [Sun, 5 Feb 2017 19:55:49 +0000 (19:55 +0000)]
[BOOTMGR]: Add the basics of some memory allocator/descriptor tests.
[BOOTLIB]: Implement MmMdFindDescriptorFromMdl (broken?)
[BOOTLIB]: Implement MmMdFindDescriptor.
[BOOTLIB]: Implement BlMmFreePhysicalPages.
[BOOTLIB]: Implement MmPapFreePages for physical memory translation scenario only.
svn path=/trunk/; revision=73712
Kamil Hornicek [Sun, 5 Feb 2017 18:17:27 +0000 (18:17 +0000)]
[SPIDER]
- Add a null pointer check. CID 500248
- Check for a memory allocation failure.
- Improve Czech resources.
svn path=/trunk/; revision=73711
Pierre Schweitzer [Sun, 5 Feb 2017 17:14:42 +0000 (17:14 +0000)]
[FASTFAT]
Addendum to r73709:
- Also apply the override to FATX partitions
CORE-9988
svn path=/trunk/; revision=73710
Pierre Schweitzer [Sun, 5 Feb 2017 17:07:31 +0000 (17:07 +0000)]
[FASTFAT]
- Modify the VfatHasFileSystem() so that it allows a DO_VERIFY_VOLUME override, when required
- Fix the implementation of VfatVerify() so that it actually really does the job it's supposed to do:
- it will now use the appropriate DO for verification (lower DO and not volume DO)
- it will properly clear the DO_VERIFY_VOLUME flag
- Introduce a hack in VfatVerify() so that in case of removal media, if FATInfo is the same, it forces a dismount
Effects of this commit:
- It properly fixes CORE-9988. That means if a FAT media changes, now FastFAT properly handles it, and does not go to a code path producing (expected!) BSODs
- The hack introduces a hacky way to make ReactOS remount FAT floppies when changed
In short, changing FAT floppy in ReactOS doesn't make it BSOD any longer.
CORE-9988
svn path=/trunk/; revision=73709
Kamil Hornicek [Sun, 5 Feb 2017 15:42:23 +0000 (15:42 +0000)]
[KBSWITCH]
- Don't fall through to the default label. CID 515166
[NTUSER]
- Fix a copypasta.
[USER32]
- Fix computing of HKL for layouts with Layout id.
- Don't call NtUserLoadKeyboardLayoutEx with bogus keyboard layout id.
- Ideally LoadKeyboardLayout should return the default system layout on failure - to be continued.
svn path=/trunk/; revision=73708
Alex Ionescu [Sun, 5 Feb 2017 15:14:44 +0000 (15:14 +0000)]
[BOOTLIB]: Stub MmPapFreePages
[BOOTLIB]: Implement BlImgUnallocateImageBuffer
[BOOTLIB]: Stub BlMmTranslateVirtualAddress
svn path=/trunk/; revision=73707
Giannis Adamopoulos [Sun, 5 Feb 2017 13:41:45 +0000 (13:41 +0000)]
[BROWSEUI]
-CExplorerBand: Commit the last part of the work submitted by Sylvain Deverre. Sorry for not committing all this time. Unfortunately some parts were changed and some parts don't work well and we need to debug it a bit.
CORE-10838
svn path=/trunk/; revision=73706
Giannis Adamopoulos [Sun, 5 Feb 2017 12:35:47 +0000 (12:35 +0000)]
[SHELL32] -CDesktopBrowser: Implement handling FCIDM_DESKBROWSER_REFRESH.
svn path=/trunk/; revision=73705
Giannis Adamopoulos [Sun, 5 Feb 2017 12:27:53 +0000 (12:27 +0000)]
[SHELL32] -The only change I did in the previous patch was buggy.
svn path=/trunk/; revision=73704
Giannis Adamopoulos [Sun, 5 Feb 2017 12:15:59 +0000 (12:15 +0000)]
[SHELL32]
- Implement View tab in Folder options dialog.
CORE-12540
Patch by Katayama Hirofumi MZ with a tiny improvement by me to refresh explorer in a better way.
svn path=/trunk/; revision=73703
Giannis Adamopoulos [Sun, 5 Feb 2017 11:01:24 +0000 (11:01 +0000)]
[BROWSEUI] - CShellBrowser: Implement Refresh menu item in the View menu.
svn path=/trunk/; revision=73702