Commit graph

63866 commits

Author SHA1 Message Date
Robert Naumann ec3ab6d477 [SHELL32] Update German translation
svn path=/trunk/; revision=69470
2015-10-09 06:26:34 +00:00
Giannis Adamopoulos ff4c32a5fb [SHELL32]
- "Fix" SHChangeNotifyRegister to report file system changes. I am not really sure if these changes are correct but really make it work now.
CORE-1171

svn path=/trunk/; revision=69469
2015-10-09 00:31:47 +00:00
Giannis Adamopoulos 203f452b02 [SHELL32]
- CDefView: Implement updating the status bar . Based on patch by Barrett Karish 
CORE-10300

svn path=/trunk/; revision=69468
2015-10-09 00:27:34 +00:00
Stefan Ginsberg 3a23a2677a Fix the fix
svn path=/trunk/; revision=69467
2015-10-08 17:19:40 +00:00
Stefan Ginsberg a11d988984 [KERNEL32] Fix bug in CreateFiberEx that made it replace the CONTEXT_FULL bits rather than ORing in CONTEXT_FLOATING_POINT when caller wanted FPU state saved. SwitchToFiber checks for CONTEXT_FULL OR CONTEXT_FLOATING_POINT so the save/restore would fail. Moreover, fix BaseInitializeContext that was not checking CONTEXT_FLOATING_POINT correctly for some fibers and, as a result, not initializing FPU context correctly for callers of ConvertThreadToFiberEx. Finally, because trying to access address 0x6 is generally a bad idea, fix SwitchToFiber to use the correct shared user data offsets. Misc cleanup all around. Bonus: Sort TEB/PEB asm offsets and add GDI Batch Count offset, needed soon.
svn path=/trunk/; revision=69466
2015-10-08 16:26:29 +00:00
Stefan Ginsberg 68958bc083 [NTDLL] Expose the last of the system call exports so that we finally, once and for all, have the whole NTOS API properly exposed to user mode. Only real change is some NtLoadKey* functionality, rest is a bunch of EFI stubs.
svn path=/trunk/; revision=69464
2015-10-08 12:22:33 +00:00
Robert Naumann d1cf74cb88 [SYSDM] Change the applet icon to a new, better looking one. By Ismael Ferreras Morezuelas CORE-10107
svn path=/trunk/; revision=69463
2015-10-07 12:33:47 +00:00
Thomas Faber 42547f689d [NTOBJSHEX]
- Correctly handle NULL ppidl in EnumerateNext as required by Skip() callers
- Don't reenumerate NT directories every time EnumerateNext is called from Skip()
CORE-10311 #resolve

svn path=/trunk/; revision=69462
2015-10-07 10:23:06 +00:00
Hermès Bélusca-Maïto 51553f4652 [RAPPS(_new)]
Remove few trailing whitespace in lang resources.

svn path=/trunk/; revision=69461
2015-10-06 01:14:02 +00:00
Hermès Bélusca-Maïto 2a51072445 [RAPPS(_new)]
- French translation update.
- Sync french translation with rapps_new.

svn path=/trunk/; revision=69460
2015-10-06 01:13:31 +00:00
Thomas Faber b65d0f5cc4 [RAPPS]
- Add support for SHA-1 validation of completed downloads. Patch by Ismael Ferreras Morezuelas
CORE-10301 #resolve

svn path=/trunk/; revision=69459
2015-10-06 00:22:07 +00:00
Amine Khaldi 6e1effdda5 [WIN32SS::WINSRV] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE-10114
svn path=/trunk/; revision=69458
2015-10-05 12:21:25 +00:00
Amine Khaldi 9cade9234a [SCHANNEL] Fix missing p in the function pointers. By Ismael Ferreras Morezuelas. CORE-9065
svn path=/trunk/; revision=69457
2015-10-05 11:43:41 +00:00
Thomas Faber 89a9c63c2d [RAPPS]
- Fix another potential buffer overflow

svn path=/trunk/; revision=69456
2015-10-05 11:25:49 +00:00
Thomas Faber aa0a9559ed [RAPPS]
- Fix buffer overflow when displaying the URL in download dialog

svn path=/trunk/; revision=69455
2015-10-05 09:17:21 +00:00
Alex Ionescu 1a9d2da6dc [BOOTLIB]:
- Implement BiInitializeAndValidateHive, BiLoadHive. Leveraging our existing cmlib and the previously committed code, we are now able to read the BCD file, parse it as a registry hive, and lookup the BCD Objects subkey! The BCD Data Store is now available to the Boot Manager (which also validates that reading from ETFS works).

svn path=/trunk/; revision=69454
2015-10-05 07:25:27 +00:00
Alex Ionescu 0f6b79b197 [HIVEBCD]:
- The Objects key is in the root, not under Description.
[MKHIVE]:
- Make it *actually* build a BCD hive. It was doing nothing before, because it turns out that irrespective of what appear to be dynamic, command-line driven behavior modes, all of mkhive's logic is deeply tied together through C-level changes and knowledge. (for example, that's why calling it with a single .inf, it still wants to build 6 hives for you). There were also some copy/pasta bugs in the BCD handling code, now fixed.

svn path=/trunk/; revision=69453
2015-10-05 07:22:11 +00:00
Alex Ionescu 0cc3cfadf3 [BOOTLIB]:
- Fix multiple bugs in ETFS code (confusion between file offset vs. disk offset)
- Implement EtfsGetInformation, EtfsSetInformation, and fix ETFS_FILE definition to make this easy.
- Implement EtfsRead.
- Fix multiple bugs in file I/O code (swapped/reversed validation checks)
- Make BlStatusPrint call EfiPrintf on debug builds, even without BD.
- Add some additional error logging.

svn path=/trunk/; revision=69452
2015-10-05 05:53:40 +00:00
Alex Ionescu 10dbbf573b [BOOTLIB]:
- Fix a regression
- Add a few more flags
- Don't look for BCD in "Microsoft" directory

svn path=/trunk/; revision=69451
2015-10-05 04:51:32 +00:00
Alex Ionescu b25523b5e3 [BOOTLIB]:
- Fix BCD bugs.

svn path=/trunk/; revision=69450
2015-10-05 01:02:56 +00:00
Eric Kohl b099514289 [INTL]
- Improve the internal locale storage. Replace the array of strings by a customized struct.
- Implement the locale customization properly. The customization property sheet modifies the internal locale storage rather than the registry. Now, cancelling changes works properly.

CORE-10074

svn path=/trunk/; revision=69449
2015-10-04 21:57:03 +00:00
Alex Ionescu a1100ebbb1 People's local builds use PCH by default, rosbuilds do not. A recipe for success.
svn path=/trunk/; revision=69448
2015-10-04 21:11:48 +00:00
Alex Ionescu e7dee1f989 [BOOTLIB]:
- WIP work to begin reading, parsing, mounting and loading the BCD hive into a data store. Untested, has missing pieces.
- Implement BlFileSet/GetInformation, BlFileReadEx, BlFileReadAtOffsetEx and helper structures/functions. Document multiple previously unknown/magic flags.
- Implement BlMmAllocatePhysicalPages. Stub BlMmFreePhysicalPages.
- Implement MmUnmapVirtualAddress, BlMmUnmapVirtualAddressEx when operating in real mode.
- Implement ImgpGetFileSize, ImgpReadFileAtOffset, ImgpOpenFile, ImgpCloseFile, BlImgAllocateImageBuffer, BlImgLoadImageWithProgress2.
- Implement BdDebuggerInitialized, BlBdDebuggerEnabled, BlStatusPrint, BlStatuserror. Stub BlBdPullRemoteFile.
- Implement BlGetBootOptionDevice.
- Implement BiReferenceHive, BiDereferenceHive, BiCloseKey, BiOpenKey. Stub BiFlushKey, BiLoadHive.
- Implement BiAddStoreFromFile, BcdOpenStoreFromFile.
- Stub BlUtlUpdateProcess and BlResourceFindMessage.
- Other misc. cleanups.
[BOOTMGR]:
- Implement BmpFatalErrorMessageFilter, BmErrorPurge, BmpErrorLog, BmFatalErrorEx.
- Implement BmpFwGetFullPath.
- Implement BmOpenDataStore.
- Stub BmOpenBootIni

svn path=/trunk/; revision=69447
2015-10-04 21:07:12 +00:00
Alex Ionescu e17f8bc3e7 [CMLIB]:
- Missing header change from previous commit.

svn path=/trunk/; revision=69446
2015-10-04 20:24:52 +00:00
Alex Ionescu d934457d73 [MKHIVE]:
- Whoever wrote mkhive ran into the problem I just did, and realized hey-i-dont-fucking-want-to-use-that-almost-copy-pasted-but-not-shared-code-so-why-dont-i-use-the-good-kernel-code-instead... but instead of taking the time to create a fucking library like I just did (cause that would be hard man, and fixing headers n' shit), just hard-coded the paths to the kernel files directly like a lazy shit. Fix mkhive to just rely on cmlib, which now has the files shared there.

svn path=/trunk/; revision=69445
2015-10-04 20:23:25 +00:00
Alex Ionescu 85b39039dd [CMLIB/NTOSKRNL]:
- Move cmindex.c and cmname.c to cmlib, because bootmgr/winload use the kernel's cm implementation, unlike our freeldr which uses an almost copy-pasted-but-not-shared-because-hey-why-not-have-to-fix-the-bugs-in-two-places-instead-of-just-one implementation.
- Minor fixes to headers to allow those two files to be used/built outside of ntoskrnl.

svn path=/trunk/; revision=69444
2015-10-04 20:18:49 +00:00
Thomas Faber f7a1eb0c1a [RAPPS]
- Fix incorrect buffer sizes
- Use safe string functions
- Avoid extended chars in string literals

svn path=/trunk/; revision=69443
2015-10-04 19:39:23 +00:00
Alex Ionescu bde25860e7 [FS_REC]: Guard against ROUND_UP/DOWN already being defined.
svn path=/trunk/; revision=69442
2015-10-04 17:14:24 +00:00
Alex Ionescu 6c476394c7 [NTOSKRNL]: Jerome _was_ nice enough to make our cells ordered (64222).
svn path=/trunk/; revision=69441
2015-10-04 17:13:38 +00:00
Amine Khaldi 0839fbe8c2 [MBEDTLS] Update mbedtls to v2.1.1. By Ismael Ferreras Morezuelas with a fix by Roy Tam. CORE-9065
svn path=/trunk/; revision=69440
2015-10-04 17:08:38 +00:00
Amine Khaldi ec120a57d3 [NTOS] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE-10114
svn path=/trunk/; revision=69439
2015-10-04 11:54:25 +00:00
Amine Khaldi 04cf45ec29 [NTVDM] Revert r69435.
svn path=/trunk/; revision=69438
2015-10-04 11:49:28 +00:00
Sylvain Petreolle b86a4b8e83 Fix 0x%lu specifier in our skeleton service and its only user tcpsvcs.
svn path=/trunk/; revision=69437
2015-10-03 22:38:05 +00:00
Sylvain Petreolle 1a33bc3cdf [ROSTESTS]
Fix 0x%lu specifier.
Add cmake file for notificationtest.

svn path=/trunk/; revision=69436
2015-10-03 22:21:19 +00:00
Amine Khaldi f24e24d07c [NTVDM] Improve the PCH situation.
svn path=/trunk/; revision=69435
2015-10-03 21:47:46 +00:00
Sylvain Petreolle 4aa8ae13c2 [user32_apitest]
0x%lu does not mean anything correct.

svn path=/trunk/; revision=69434
2015-10-03 21:41:10 +00:00
Amine Khaldi 7015fd7b50 [NTVDM] Fix PCH w.r.t. using the debug routines. The PCH use here in itself could use *a lot* of improvements but that's another story.
svn path=/trunk/; revision=69433
2015-10-03 19:17:55 +00:00
Hermès Bélusca-Maïto 0e9fed957d [NTVDM]
- French translation fix.
- Add PCH support.
- Properly track RC files dependencies. CORE-9806

svn path=/trunk/; revision=69432
2015-10-03 18:57:06 +00:00
Hermès Bélusca-Maïto cf07fbe7ba [NTVDM]
Usability fixes (part 2):
- Properly keep the mouse show state across screenbuffer switches.
- Use unicode strings for the disk menu items.
See r69428.

svn path=/trunk/; revision=69431
2015-10-03 15:06:24 +00:00
Hermès Bélusca-Maïto 9fef17180f [WIN32SS:GDI]
Convert COLOR16 values to byte range before calling XLATEOBJ_iXlate.
This fixes gradient colors in some applications, as for example in Code::Blocks.
Patch by Vort. This is a fix for code written in revision r8117, so old !!
CORE-8652 #comment Committed in r69430, thanks guys!

svn path=/trunk/; revision=69430
2015-10-03 13:30:15 +00:00
Amine Khaldi 161dd3557d [RAPPS] Fix SSL certificate pinning, allow HTTPS links, add URL args support, some UX fixes, comment improvements and fix stopping the download process when pressing cancel. By Ismael Ferreras Morezuelas. CORE-9060 CORE-10289
svn path=/trunk/; revision=69429
2015-10-03 08:39:05 +00:00
Hermès Bélusca-Maïto a2871b319a [NTVDM]
Usability fixes:
- Update the menu each time the user chooses to show or hide the mouse pointer.
- Keep the mouse show state across screenbuffer switches (text/graphics) (half-hackish at the moment; will be elegantly fixed later on).
- Update the floppy disk menu items each time the user mounts / ejects a disk; display the disk image file name currently mounted (CHAR strings used at the moment, WCHAR conversion will follow soon).

svn path=/trunk/; revision=69428
2015-10-03 02:36:35 +00:00
Aleksandar Andrejevic 7fe13943a9 [FAST486]
Reading/writing to memory should #SS(0) when the segment is the stack segment,
and #GP(0) otherwise. It should never generate #NP.


svn path=/trunk/; revision=69427
2015-10-02 15:11:24 +00:00
Amine Khaldi a1ae94ce52 [INCLUDES] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE-10114
svn path=/trunk/; revision=69426
2015-10-01 18:12:45 +00:00
Amine Khaldi 0efc45dd0b [RAPPS] Get rid of the flickering of the URL in the download dialog and decode it. By Ismael Ferreras Morezuelas. CORE-9060
svn path=/trunk/; revision=69425
2015-10-01 09:37:55 +00:00
Aleksandar Andrejevic 2efd4b6466 [FAST486]
Fix the TSS limit validity check.
Implement I/O privilege checking.


svn path=/trunk/; revision=69424
2015-10-01 02:24:17 +00:00
Hermès Bélusca-Maïto 66aea017f9 [NTVDM]: Fix the open-file dialog filter.
svn path=/trunk/; revision=69423
2015-10-01 02:03:31 +00:00
Hermès Bélusca-Maïto 1f6976b003 [NTVDM]
- Temporarily hack the boot sequence to floppy, then hard disk. See r69421; will be improved in the future.
- Complete the BIOS 16-bit bootstrap code.

svn path=/trunk/; revision=69422
2015-10-01 00:37:38 +00:00
Hermès Bélusca-Maïto 59136514da [NTVDM]
- Add a basic boot sequence functionality (read from CMOS); will be improved in the future.
- Print a "FATAL BOOT FAILURE" error message when INT 18h is called.
- Fail startup if we cannot mount the available hard disk images.
- Improve some diagnostic error messages.

svn path=/trunk/; revision=69421
2015-10-01 00:09:24 +00:00
Aleksandar Andrejevic b1b7020854 [FAST486]
- Don't forget to push the error code when the exception handler is a task gate.
- Use SS0/ESP0, SS1/ESP1, or SS2/ESP2 for ring 0/1/2 code task CALLs.


svn path=/trunk/; revision=69420
2015-09-30 21:08:31 +00:00