Commit graph

75754 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 658d5a3ff5
[FREELDR] Rename the PE loader functions 'PeLdr*' instead of 'WinLdr*'. 2019-09-19 02:53:57 +02:00
Hermès Bélusca-Maïto 97f31ac396
[SDK:NT] Remove Win32-isms. 2019-09-19 02:39:59 +02:00
Hermès Bélusca-Maïto e18e7b100c
[FREELDR] Implement 'SeekRelative' mode for the *Seek() methods for disks & filesystems. 2019-09-18 02:42:56 +02:00
Hermès Bélusca-Maïto dd46d40fd2
[FREELDR] Addendum / actual fix for ef76709b
According to the Advanced RISC Computing Specification v1.2, for partitions,
StartingAddress and EndingAddress are the start and end positions of the
partition in terms of byte offsets from the start of the disk.
CurrentAddress is the current offset into (i.e. relative to) the partition.

Fix also the FAT filesystem in accordance.

- FIXME fix: Retrieve the size of the disk in number of sectors in DiskOpen().
- Add extra validity checks in the DiskSeek() functions.
- Explicitly call PcDisk* functions in machpc.c and pcdisk.c, and
  XboxDisk* functions in machxbox.c (the code in these files is not
  called cross-platform).

CORE-16216 CORE-16248
2019-09-18 01:12:58 +02:00
Hermès Bélusca-Maïto ff85aa0c38
[FREELDR] Other enhancements.
- Modify DiskReportError() to use an internal "display counter", so that
  imbricated DiskReportError(FALSE) ... DiskReportError(TRUE) can behave
  as expected.
- Merge LoadAndBootDrive(), LoadAndBootPartition(),
  LoadAndBootBootSector() into one LoadAndBootDevice() function + its
  helpers (in progress...).
2019-09-18 00:27:53 +02:00
Hermès Bélusca-Maïto fc29a6c41c
[FREELDR] Minor code improvements + 1 bug-fix.
- "FrldrBootPath" -> "FrLdrBootPath";
- Get rid of GetFreeLoaderVersionString() and use FrLdrVersionString
  directly instead;
- Rephrase some comments;
- Use RTL_NUMBER_OF();
- Reduce indent level in LoadOperatingSystem() and EditOperatingSystemEntry().

Bug fix:
- Fix DissectArcPath() for "ramdisk(0)" case.
2019-09-17 23:24:51 +02:00
Pierre Schweitzer 86c94e7858
[BROWSEUI] Translate search function into French
CORE-9279
2019-09-17 23:06:34 +02:00
Eric Kohl a66c7d2ecc [LSA][SECUR32] Check for untrusted clients
Calls  to LsapCallAuthenticationPackage are routed to LsaApCallPackageUntrusted instead of LsaApCallPackage for  untrusted clients.
2019-09-17 12:58:11 +02:00
Eric Kohl ba43d1e839 [MSV1_0] Implement LsaApCallPackageUntrusted()
An untrusted client is only allowed to change passwords
2019-09-17 12:46:49 +02:00
Eric Kohl 95dd1c6705 [SYSDM] Store the profile path in the PROFILEDATA struct for deleting and copying the profiles 2019-09-16 08:51:08 +02:00
Brock Mammen 9b75b67e9d [SHELLFIND] Use IS_INTRESOURCE() 2019-09-15 19:46:36 +03:00
Brock Mammen e9bd402713 [COM_APITEST] Remove duplicate interface 2019-09-15 19:46:36 +03:00
Brock Mammen 8da23e7eb9 [SHELLFIND] Add missing dependency to CMakeLists.txt 2019-09-15 19:46:36 +03:00
Brock Mammen b16b396ca0 [COM_APITEST] Add CFindFolder test 2019-09-15 19:46:36 +03:00
Brock Mammen 80f67b1111 [BROWSEUI] Add search strings to all language resources 2019-09-15 19:46:36 +03:00
Brock Mammen e32b88be3d [BROWSEUI] Add search dialog to all language resources 2019-09-15 19:46:36 +03:00
Brock Mammen 0311544bb3 [SHELLFIND] Fix return values 2019-09-15 19:46:36 +03:00
Brock Mammen b766576487 [SHELLFIND] Remove unused COM interfaces 2019-09-15 19:46:36 +03:00
Brock Mammen 8228844241 [SHELLFIND] Remove unused functions 2019-09-15 19:46:36 +03:00
Brock Mammen 12451dc172 [SHELLFIND] Change parameter from array reference to pointer 2019-09-15 19:46:36 +03:00
Brock Mammen 7ac9fd9f51 [SHELLFIND] Remove unnecessary cast 2019-09-15 19:46:36 +03:00
Brock Mammen 0eee3ed368 [SHELLFIND] Remove redundant check 2019-09-15 19:46:36 +03:00
Brock Mammen 2513c47452 [SHELLFIND] Fix unsafe cast 2019-09-15 19:46:36 +03:00
Brock Mammen fbdc08dceb [SHELLFIND] Use CoTaskMemAlloc instead of SHAlloc 2019-09-15 19:46:36 +03:00
Brock Mammen d0171027e0 [SHELLFIND] Fix IImageList leak 2019-09-15 19:46:36 +03:00
Brock Mammen a3ee648d8b [SHELLFIND] Simplify PIDLs to paths 2019-09-15 19:46:36 +03:00
Brock Mammen 0f995d77d1 [SHELLFIND] Remove search results folder from address edit box 2019-09-15 19:46:36 +03:00
Brock Mammen e6a5821e0c [SHELLFIND] Subscribe to folders that are already opened 2019-09-15 19:46:36 +03:00
Brock Mammen 07d37180a1 [SHELLFIND] Open search bar when search results folder is opened 2019-09-15 19:46:36 +03:00
Brock Mammen 312b628fe1 [SHELLFIND] Remove dependency on internal shell32 functions 2019-09-15 19:46:36 +03:00
Brock Mammen 6c6fd6d989 [SHELLFIND] Localize column names 2019-09-15 19:46:36 +03:00
Brock Mammen 641988a386 [SHELLFIND] Rename data members 2019-09-15 19:46:36 +03:00
Brock Mammen fe5c76a034 [SHELLFIND] Fix handle leak for stop event 2019-09-15 19:46:36 +03:00
Brock Mammen dce5ccec4e [SHELLFIND] Use DeferWindowPos for resizing child windows 2019-09-15 19:46:36 +03:00
Brock Mammen 8aa063b451 [SHELLFIND] Use assignment instead of memcpy 2019-09-15 19:46:36 +03:00
Brock Mammen 3b9508e98f [SHELLFIND] Fix copyright headers 2019-09-15 19:46:36 +03:00
Brock Mammen e15445e0c5 [SHELLFIND] Remove unused function 2019-09-15 19:46:36 +03:00
Brock Mammen ff7e9870ce [SHELLFIND] Remove unnecessary data member for focus 2019-09-15 19:46:36 +03:00
Brock Mammen a905699ac6 [SHELLFIND] Use case-insensitive string comparison 2019-09-15 19:46:36 +03:00
Brock Mammen 87c1f457eb [SHELLFIND] Improve search bar UI 2019-09-15 19:46:36 +03:00
Brock Mammen c46d60360a [SHELLFIND] Update status bar text 2019-09-15 19:46:36 +03:00
Brock Mammen 8246cd4e1b [SHELLFIND] Remove duplicate search code 2019-09-15 19:46:36 +03:00
Brock Mammen 41f9ad120d [SHELLFIND] Add stop search command 2019-09-15 19:46:36 +03:00
Brock Mammen 41d7b3700d [SHELLFIND] Add search command events 2019-09-15 19:46:36 +03:00
Brock Mammen 2f3db8d9a3 [SHELLFIND] Add search functionality 2019-09-15 19:46:36 +03:00
Brock Mammen 3583900b17 [SHELLFIND] Move window message constants to header file 2019-09-15 19:46:36 +03:00
Brock Mammen 6d6bc885cb [SHELLFIND] Use smart pointers for PIDLs 2019-09-15 19:46:36 +03:00
Brock Mammen 27ca55bce6 [SHELLFIND] Add edit box for search location 2019-09-15 19:46:36 +03:00
Brock Mammen 363ddf9c70 [SHELLFIND] Set status bar text after opening search results folder 2019-09-15 19:46:36 +03:00
Brock Mammen 04fcbe3202 [SHELLFIND] Message handler for updating status bar text 2019-09-15 19:46:36 +03:00