Commit graph

64974 commits

Author SHA1 Message Date
Pierre Schweitzer c0be6ae94e [NTFS]
Properly queue the IRP for deferred execution in case we got pending status

svn path=/trunk/; revision=70780
2016-02-24 07:54:20 +00:00
Pierre Schweitzer 5876421913 [NTFS]
Even more locking

svn path=/trunk/; revision=70779
2016-02-23 22:19:38 +00:00
Pierre Schweitzer 3d8efb5447 [NTFS]
Moar locking
Any resemblance to previous commit, living or dead, is purely coincidental

svn path=/trunk/; revision=70778
2016-02-23 20:45:11 +00:00
Pierre Schweitzer 2bda155345 [NTFS]
Moar locking

svn path=/trunk/; revision=70777
2016-02-23 19:57:10 +00:00
Ged Murphy e37191a410 [ATL]
- Move CComBSTR and CComPtr to atlcomcli.h
- Patch from Mark Jansen
CORE-10610[ATL]
- Move CComBSTR and CComPtr to atlcomcli.h
- Patch from Mark Jansen
CORE-10610


svn path=/trunk/; revision=70776
2016-02-23 19:31:38 +00:00
Robert Naumann 0419710117 [SHELL32] Fix displaying icons and some strings in the file overwrite dialog.
Patch by Jared Smudde CORE-10832

svn path=/trunk/; revision=70775
2016-02-23 16:06:27 +00:00
Pierre Schweitzer 7c336358c8 [NTOSKRNL]
Implement the MiWriteCombined case of MmMapIoSpace().

This fixes NVIDIA display drivers loading in ReactOS. See: https://www.reactos.org/forum/viewtopic.php?p=120359#p120359

svn path=/trunk/; revision=70774
2016-02-22 22:52:35 +00:00
Pierre Schweitzer 3283c55709 [NTFS]
r70772b

svn path=/trunk/; revision=70773
2016-02-22 22:23:08 +00:00
Pierre Schweitzer a8644f7a2d [NTFS]
- Implement IRP_MJ_CLEANUP (minus the cases we can't deal with yet)
- Implement open handles count for FCB & VCB
- Implement volume locking (so useful)

svn path=/trunk/; revision=70772
2016-02-22 22:20:54 +00:00
Pierre Schweitzer 24d3676235 [DISK]
- Remove one hack that seems not to be required anylonger.
- Add a comment to highlight the usage of the infamous partition 0 hack (who's the IopParseDevice() hack friend!)

svn path=/trunk/; revision=70771
2016-02-22 20:47:55 +00:00
Hermès Bélusca-Maïto 26495e949a [LOL]
Starting NT 5.1 a mysterious "VideoPortCheckForDeviceExistance" (with a 'a') export made its apparition, and is the same as the already existing "VideoPortCheckForDeviceExistence" (with a 'e') ^^
I add it only to be compatible with Win2k3 SP2 videoprt.sys exports.

svn path=/trunk/; revision=70770
2016-02-22 19:11:34 +00:00
Hermès Bélusca-Maïto 92e0fb44ca [VIDEOPRT]
- Complete the table of exported VideoPort functions (compatible Win2k3 SP2), some functions were missing in it: see for example the last picture of http://www.reactos.org/forum/viewtopic.php?f=4&t=14727#p120344 .
- Don't redirect the VideoPortInterlockedIncrement/Decrement/Exchange functions directly to NTOS, because otherwise they cannot be included in the exports table.

svn path=/trunk/; revision=70769
2016-02-22 19:07:44 +00:00
Pierre Schweitzer 195caaa854 [CLIPBRD]
Don't play with uninit var

svn path=/trunk/; revision=70768
2016-02-21 11:33:54 +00:00
Pierre Schweitzer 2b33641cc1 [KBDTOOL]
Don't deal with uninit memory

svn path=/trunk/; revision=70767
2016-02-21 11:32:17 +00:00
Amine Khaldi 1e830e6cc4 [SHELL32][USERENV] Add missing translations that led to empty start menu with the Swedish language. By Andreas Bjerkeholt. CORE-10857
svn path=/trunk/; revision=70766
2016-02-21 11:11:56 +00:00
Amine Khaldi 4b68bbe18c [MBEDTLS] Sync to v2.2.1. By Ismael Ferreras Morezuelas. CORE-10817
svn path=/trunk/; revision=70765
2016-02-21 10:56:57 +00:00
Eric Kohl 19f0f75966 [BATT]
Shrink the icon size.
Patch by Jared Smudde.
CORE-10750 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70764
2016-02-21 09:18:35 +00:00
Eric Kohl 191936726e [VARIOUS]
Updating Turkish Translation.
Patch by Erdem Ersoy.
#CORE-10879 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70763
2016-02-21 09:07:41 +00:00
Hermès Bélusca-Maïto 76f949716c [CDMAKE]
- Update source file headers.
- Improve some error output.
- Factorize code that creates El-Torito boot entries.
- Start thinking how to add UDF and AutoCRC support.

svn path=/trunk/; revision=70762
2016-02-21 03:00:16 +00:00
Eric Kohl 8d665c9085 [VARIOUS]
Romanian resources maintenance
Patch by Ștefan Fulea.
CORE-10811 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70761
2016-02-20 21:14:13 +00:00
Eric Kohl 2e13653bcf [MAIN]
Improve the icons! (in MAIN.CPL)
Patch by Jared Smudde.
CORE-10813 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70760
2016-02-20 18:50:52 +00:00
Pierre Schweitzer cf7b88e22f [NP_ENUM]
Add a test application that allows checking that currently network places enumeration is broken in ReactOS

svn path=/trunk/; revision=70759
2016-02-20 15:56:49 +00:00
Pierre Schweitzer 58ef33073d [SHELL32]
Don't leak memory when enumerating network places...

svn path=/trunk/; revision=70758
2016-02-20 09:52:35 +00:00
Pierre Schweitzer 515de755e6 [NTOSKRNL]
If the cache wasn't initialized by the FSD serving the image, don't allow section creation to avoid later (dramatic) failure in CC.

Based on a patch by Sylvain Deverre.

CORE-10038 #comment Modified patch committed in r70756

svn path=/trunk/; revision=70756
2016-02-15 21:22:05 +00:00
Pierre Schweitzer eacfcdff7c [MPR]
Import Wine commit:
- d070c263adf840cc14dde84eb8e73b04490d1900, Partially implement WNetUseConnectionW().

This reduces diff to Wine, by providing a cleaner implementation of WNetUseConnectionW().

CORE-10032

svn path=/trunk/; revision=70755
2016-02-15 20:32:25 +00:00
Pierre Schweitzer f873af4b21 [MPR]
Import Wine commit (by Nikolay Sivov):
- 164fe0470ccf7cb3c0946cbb52d4139aec0c4a03, Query for NPAddConnection and NPAddConnection3 when loading a provider.

CORE-10032

svn path=/trunk/; revision=70754
2016-02-15 20:15:54 +00:00
James Tabor cf5302e3de [User32]
- Update usage comments related to CORE-10855.

svn path=/trunk/; revision=70753
2016-02-15 17:38:23 +00:00
James Tabor fbc10d8ca8 [User32]
- Update usage comments related to CORE-10855.

svn path=/trunk/; revision=70752
2016-02-15 17:34:17 +00:00
Hermès Bélusca-Maïto 22becce7e3 [USER32][NTUSER]
Remove some dead code; fix comments; mention that some code is redundant. This is added to help future people in cleaning up that mess called "win32k/user32".

svn path=/trunk/; revision=70751
2016-02-15 01:20:54 +00:00
Pierre Schweitzer dcef60424d [NTFS]
Cowardly refuse to continue processing (enumerating/reading) when stumbling upon a compressed entry.
This avoids infinite loops when enumerating, incorrect files contents when reading.

CORE-10814 #resolve #comment 'Fixed' with r70750

svn path=/trunk/; revision=70750
2016-02-14 22:44:54 +00:00
Hermès Bélusca-Maïto 5bb8c16219 [WINHLP32]: This is true that it's Wine help, on Wine.... but not in ReactOS!
svn path=/trunk/; revision=70749
2016-02-14 21:35:14 +00:00
Pierre Schweitzer 364edfc021 [FASTFAT]
[NTFS]
Thanks to r70746, now, drop our beloved fix/hack/whatever about non-initialized floppy disks.

svn path=/trunk/; revision=70748
2016-02-14 19:56:17 +00:00
Pierre Schweitzer a8410e8c47 [EXT2]
Revert r70746, more appropriate fix was committed in r70746

svn path=/trunk/; revision=70747
2016-02-14 19:54:54 +00:00
Pierre Schweitzer 78eb31503a [FLOPPY]
When discovering floppy controlers, immediately probe controlers to check whether they have a disk and if so, what's its geometry.
This avoids waiting for the first read, which will obviously never happen because FSD will try other operations depending on not set geometry.

This implies a modification in RWDetermineMediaType() to avoid infinite wait, in case there's no disk at all in the controler.

Addendum to r70725

svn path=/trunk/; revision=70746
2016-02-14 19:53:47 +00:00
Eric Kohl 9a468d30e5 [USERINIT]
Select the current keyboard layout in the keyloard layout list.

svn path=/trunk/; revision=70745
2016-02-14 18:57:12 +00:00
Hermès Bélusca-Maïto c95d274bf6 [WIN32K:NTUSER]
- Cleanup window clipboard data while the window still exists and is not dereferenced.
- When a window is about to be destroyed (just before we send the WM_DESTROY message), if it is the current clipboard owner, make it release the clipboard. The WM_RENDERALLFORMATS message is then sent, and if needed, one WM_DRAWCLIPBOARD message.
- Send a WM_DRAWCLIPBOARD message when SetClipboardViewer is called.
WM_DRAWCLIPBOARD messages are sent as notifications to the corresponding windows.

svn path=/trunk/; revision=70744
2016-02-14 18:41:49 +00:00
Hermès Bélusca-Maïto 81c6aeb2dd [WIN32K]: Some whitespace fixes.
svn path=/trunk/; revision=70743
2016-02-14 18:26:23 +00:00
Eric Kohl 44cee0d9ea [USERINIT]
Set the keyboard layout properly.

svn path=/trunk/; revision=70742
2016-02-14 15:39:11 +00:00
Eric Kohl 0611e9366e [REGEDIT]
Minor improvement of Russian translation.
Patch by stacheldraht.
CORE-10775 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70741
2016-02-14 12:43:52 +00:00
Eric Kohl 350cdf5b7d [CHARMAP][CPL]
Improve English string in ReactOS.
Patch by Henry Tang Ih.
CORE-10844 #resolve #comment Thank you very much!

svn path=/trunk/; revision=70740
2016-02-14 10:56:55 +00:00
Eric Kohl af4dc35090 [USERINIT]
Update Simplified/Traditional Chinese Translation.
Patch by Henry Tang Ih.
CORE-10825 #resolve #comment Thank you very much!

svn path=/trunk/; revision=70739
2016-02-14 09:00:47 +00:00
Hermès Bélusca-Maïto 1022f13973 [CLIPBRD]
- Avoid calling OpenClipboard with a NULL window handle.
- Display the clipboard erasing confirmation message before actually opening and resetting its contents.

[WIN32K]
- Improve few comments.
- In UserOpenClipboard, return success early in case the clipboard was already opened by the clipboard owner.

svn path=/trunk/; revision=70738
2016-02-14 01:52:58 +00:00
Hermès Bélusca-Maïto 6caeaebbdc [CLIPBRD]
- Update the name of the application.
[SHORTCUTS]
- Add a clipboard viewer shortcut into the start menu (for boot and live-cd).
CORE-10853

Translators, please review!

svn path=/trunk/; revision=70737
2016-02-13 23:54:42 +00:00
Hermès Bélusca-Maïto c3c8cf879c [CLIPBRD]
- Add clipboard file icon by Jared Smudde.
- Open any clipboard data file given in the command line.

[BOOTDATA]
- Add registry entries for file extension .clp.

CORE-10853 #resolve #comment Support added in revision 70736.

svn path=/trunk/; revision=70736
2016-02-13 23:16:19 +00:00
Hermès Bélusca-Maïto 60c090d24a [CLIPBRD]: Finish the implementation of clipboard write file support. There may be room for improvements.
CORE-10852 #resolve

svn path=/trunk/; revision=70735
2016-02-13 20:57:39 +00:00
Eric Kohl df2659d0ac [INTL]
Add the BS_TOP flag to the multiline checkboxes. The checkbox will display at the top of the control rather than at the middle.

svn path=/trunk/; revision=70734
2016-02-13 20:47:38 +00:00
Hermès Bélusca-Maïto daeaf449c3 Remove trailing whitespace.
svn path=/trunk/; revision=70733
2016-02-13 17:05:08 +00:00
Hermès Bélusca-Maïto 667ae1acce [CLIPBRD]
- Disable message box messages added for testing purposes (but still keep them here in case one needs them).
- Start implementing clipboard write file support. Work in progress. See CORE-10852

svn path=/trunk/; revision=70732
2016-02-13 17:04:40 +00:00
Eric Kohl a978398354 [USERINIT]
- Fill the keyboard layout list.
- Try to select a matching keyboard layout when the language selection gets changed.

svn path=/trunk/; revision=70731
2016-02-13 16:12:24 +00:00
Hermès Bélusca-Maïto 8b028fbdc8 [CLIPBRD]: Complete the read support from .clp clipboard files to be actually able to read files saved with the Windows 2k3 clipboard.
There actually exist two clipboard file formats, so-called "Win3.1" and a "WinNT" formats. Strangely enough Win2k (and Win2k3) clipboard viewer always save the files under the "Win3.1" format, whichever one you select.
I discovered the subtle difference between those two formats by looking at a very old MSDN sample program "EMFDCODE (Enhanced Metafile Decoder)" by Dennis Crain (see https://web.archive.org/web/20080406095812/http://msdn.microsoft.com/archive/en-us/dnargdi/html/msdn_emfdcode.asp? ) that still can be found on the Internet...
CORE-10550 #comment Read support fixed in r70730.

svn path=/trunk/; revision=70730
2016-02-13 16:08:09 +00:00