Commit graph

64043 commits

Author SHA1 Message Date
Eric Kohl
b0c11b7004 [INTL]
Update date and time examples according to the current settings.
CORE-10074

svn path=/trunk/; revision=69497
2015-10-11 15:21:25 +00:00
Stefan Ginsberg
9d6572fbd3 [NTOS] Follow up to r69075: Assert IRQL correctly in KeDisconnectInterrupt too (do not assume debug build means MP build).
svn path=/trunk/; revision=69496
2015-10-11 13:18:30 +00:00
Thomas Faber
8fc986080b [PORTCLS]
- Don't attempt broken pointer magic on power states

svn path=/trunk/; revision=69495
2015-10-11 08:19:18 +00:00
Thomas Faber
8b6a867b02 [WIN32K]
- Separate system-defined from user-defined window properties. The values stored by win32k/user32 must not interfere with those stored by applications. Fixes various applications (e.g. PeaZip) randomly getting their window properties overwritten by the system
CORE-3897 #resolve

svn path=/trunk/; revision=69494
2015-10-10 19:50:05 +00:00
Thomas Faber
09e3698afb [WIN32K]
- Rename IntSetProp to UserSetProp, IntRemoveProp to UserRemoveProp and IntRemoveWindowProp to UserRemoveWindowProps

svn path=/trunk/; revision=69493
2015-10-10 17:56:09 +00:00
Thomas Faber
0d9f374451 [WIN32K:NTUSER]
- Remove some unnecessary referencing in NtUserCallHwnd

svn path=/trunk/; revision=69492
2015-10-10 17:46:57 +00:00
Thomas Faber
e8273d11f2 [WIN32K:NTUSER]
- Don't call IntGetProp from outside prop.c

svn path=/trunk/; revision=69491
2015-10-10 16:43:47 +00:00
Thomas Faber
9c78e0659c [USER32_APITEST]
- Add some tests for window properties
CORE-3897

svn path=/trunk/; revision=69490
2015-10-10 16:08:31 +00:00
Pierre Schweitzer
0a193d609a [CSQ]
Add even more sanity checks

svn path=/trunk/; revision=69489
2015-10-10 14:52:19 +00:00
Thomas Faber
4c064550ec [WIN32K:NTUSER]
- Make IntRemoveProp return the property value and use it from NtUserRemoveProp

svn path=/trunk/; revision=69488
2015-10-10 14:43:25 +00:00
Pierre Schweitzer
7e1a5245cd [CSQ]
Add a sanity check

svn path=/trunk/; revision=69487
2015-10-10 14:01:01 +00:00
Eric Kohl
2972d67975 [INTL]
- Add the SystemLCID to the GlobalData variable and use it in the Advanced page.
- Add a stub for storing font linking settings.
CORE-10075

svn path=/trunk/; revision=69486
2015-10-10 13:54:00 +00:00
Thomas Faber
3c30cd6527 [WIN32K:NTUSER]
- Remove some DECLARE_RETURN()/RETURN()
- Add asserts for the user lock
- Annotate window property functions and use consistent parameter names

svn path=/trunk/; revision=69485
2015-10-10 13:48:08 +00:00
Thomas Faber
34867f7658 [WIN32K:FORMATTING]
- Indentation and whitespace fixes for ntuser/prop.c. No functional changes.

svn path=/trunk/; revision=69484
2015-10-10 13:06:57 +00:00
Pierre Schweitzer
6da1a0b9b0 [MSFS]
Fix a FIXME: properly reset timer when re-using a queued IRP for reading.
Also fix a possible race condition between time out DPC and IRP re-use.

Thanks to Thomas for his help with DPC & timers.

CORE-10245

svn path=/trunk/; revision=69483
2015-10-10 12:50:33 +00:00
Pierre Schweitzer
9b2b4cbee8 [MSFS]
- Remove an useless (and unsafe!) counter
- Use the message counter in a thread-safe way in RW operations

svn path=/trunk/; revision=69482
2015-10-10 12:33:22 +00:00
Pierre Schweitzer
1d4d8588ef [MSFS]
MessageEvent is no longer used, remove it

svn path=/trunk/; revision=69481
2015-10-10 12:16:17 +00:00
Pierre Schweitzer
4b5eca57a3 [MSFS]
Prevent a race condition on reading message from list.
Spotted by Thomas

svn path=/trunk/; revision=69480
2015-10-10 12:08:45 +00:00
Eric Kohl
7892dc54c2 [NOTEPAD]
Goto menu item should be disabled when wrap is on
#CORE-10278 #resolve

svn path=/trunk/; revision=69479
2015-10-10 10:13:46 +00:00
James Tabor
89eae28ca7 [Win32k]
- Fix repaint from off screen. See CORE-10098.

svn path=/trunk/; revision=69478
2015-10-10 10:10:15 +00:00
Pierre Schweitzer
ecba06ffa2 [MSFS]
Addendum to r69475
By Thomas Faber

svn path=/trunk/; revision=69477
2015-10-10 08:37:36 +00:00
Pierre Schweitzer
a5031d7982 [MSFS]
Addendum to r69475

svn path=/trunk/; revision=69476
2015-10-10 08:31:25 +00:00
Pierre Schweitzer
ead10526aa [MSFS]
Implement asynchronous reading from mailslot.
Patch by Nikita Pechenkin

Adjustements, style fixing by myself.

CORE-10245 #resolve #comment Modified patch committed with r69475. I have tested kernel32:mailslot and your provided test, both are passing 100%. Thanks!

svn path=/trunk/; revision=69475
2015-10-10 08:29:05 +00:00
Pierre Schweitzer
8cd50ca0ee [XDK]
Properly define IO_CSQ function types

CORE-10245

svn path=/trunk/; revision=69474
2015-10-10 07:55:42 +00:00
Giannis Adamopoulos
29fb77c656 [BROWSEUI]
- Implement showing and hiding the Go button. Patch by  Barrett Karish.
CORE-10154

svn path=/trunk/; revision=69473
2015-10-09 13:20:45 +00:00
Amine Khaldi
89c70e0fde [PSDK] Correct addParameter() uri default value too. CORE-10320
svn path=/trunk/; revision=69472
2015-10-09 09:27:39 +00:00
Amine Khaldi
44ebfc6638 [PSDK] Correct setStartMode() uri default value. CORE-10320
svn path=/trunk/; revision=69471
2015-10-09 09:12:57 +00:00
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