Commit graph

62290 commits

Author SHA1 Message Date
Pierre Schweitzer 3deb2b256e [NTFS]
Fix MmGetSystemAddressForMdlSafe() call, as it was done in r67808

svn path=/trunk/; revision=67912
2015-05-25 17:43:04 +00:00
Pierre Schweitzer 37a429b0be [FASTFAT]
[NTFS]
Remove useless cast and use appropriate macro.
Spotted by Thomas

svn path=/trunk/; revision=67911
2015-05-25 17:30:01 +00:00
Pierre Schweitzer 94d99f3fe3 [NTFS]
Acquire FCB resource (shared) before trying to attempt its data

svn path=/trunk/; revision=67910
2015-05-25 17:06:00 +00:00
Pierre Schweitzer c28fc5a816 [NTFS]
If IRP can't wait, queue it

svn path=/trunk/; revision=67909
2015-05-25 16:52:15 +00:00
Pierre Schweitzer 8034fab3df [NTFS]
Implement NtfsMarkIrpContextForQueue() which allows marking an IRP to queue it

svn path=/trunk/; revision=67908
2015-05-25 16:52:02 +00:00
Thomas Faber 596e134bad [WIN32K:NTUSER]
- Use UserRefObjectCo in IntNotifyWinEvent to avoid a reference leak in case the call-out does not return
- Sanitize list walk

svn path=/trunk/; revision=67907
2015-05-25 15:28:06 +00:00
Thomas Faber 950f55d8b7 [RTL][NTOSKRNL]
- Don't cast CONTAINING_RECORD

svn path=/trunk/; revision=67906
2015-05-25 15:04:09 +00:00
Pierre Schweitzer 8f4f1ce119 [NTFS]
Handle IRP_MJ_FILE_SYSTEM_CONTROL with the dispatch routine

svn path=/trunk/; revision=67905
2015-05-25 12:55:51 +00:00
Eric Kohl 6971703339 [SYSDM]
- Implement changing the hardware profile order.
- Keep button states up-to-date.

svn path=/trunk/; revision=67904
2015-05-25 12:23:12 +00:00
Pierre Schweitzer 4eabc351c6 [NTFS]
Handle IRP_MJ_CREATTE with the dispatch routine

svn path=/trunk/; revision=67903
2015-05-25 11:58:23 +00:00
Pierre Schweitzer 7638a0acc6 [NTOSKRNL]
Fix a fixme: add a tag for tunnel cache allocations

CORE-7272

svn path=/trunk/; revision=67902
2015-05-25 11:49:14 +00:00
Pierre Schweitzer 4f63d24fbf [KERNEL32_APITEST]
Add very long tests for tunnel cache.
So far, they are skipped because they are really long (they require more than 15s to complete).
Unfortunately, for unknown reason now, they are failing in ReactOS (whereas they shouldn't!).

An idea would be to see whether we can set an expiry of 1s for tunnel cache just for dbgtests and query the value from registry, so that it could help reduce test duration on ReactOS (but not on w2k3).

ROSTESTS-177

svn path=/trunk/; revision=67901
2015-05-25 11:38:02 +00:00
Pierre Schweitzer a26a39f194 [KERNEL32_APITEST]
Add more tests for tunnel cache

svn path=/trunk/; revision=67900
2015-05-25 11:14:12 +00:00
Amine Khaldi 750ff6722d [README.WINE] Mark more modules as synced with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67899
2015-05-25 10:56:43 +00:00
Amine Khaldi 526b2a7bc7 [README.WINE] Mark some modules as synced with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67898
2015-05-25 10:34:03 +00:00
Pierre Schweitzer 11f128b53d [KERNEL32_APITEST]
Add simple tests regarding renaming and tunnel cache behavior for short names in user mode.
Longer tests should be added to show what happens in case of cache expiry.
All pass on w2k3 but not on ReactOS.

CORE-3875

svn path=/trunk/; revision=67897
2015-05-25 10:30:12 +00:00
Amine Khaldi 3704750e43 [CRYPTUI] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67896
2015-05-25 09:39:49 +00:00
Amine Khaldi 68218cc19a [PSDK] Update cryptuiapi.h. CORE-9246
svn path=/trunk/; revision=67895
2015-05-25 09:39:00 +00:00
Aleksandar Andrejevic 2e1b7a80e9 [FAST486]
Fix the implementation of FSIN and FCOS:
First of all, 4 steps for a Maclaurin series is not enough.
Second, the angle should be normalized to the [-pi/2, pi/2] range.


svn path=/trunk/; revision=67894
2015-05-25 03:23:40 +00:00
Eric Kohl ce55b55006 [SYSDM]
Show a warning if the user tries to copy or rename a hardware profile to a name that is already in use.

svn path=/trunk/; revision=67893
2015-05-24 22:51:12 +00:00
Pierre Schweitzer 1dd645fcbd [NTFS]
Handle IRP_MJ_CLOSE with the dispatch routine

svn path=/trunk/; revision=67892
2015-05-24 21:29:34 +00:00
Amine Khaldi f73342d9da [README.WINE] Mark some modules as synced with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67891
2015-05-24 20:51:18 +00:00
Amine Khaldi bb9bbd5c2c [NOTEPAD] Printer output improvements by Ricardo Hanke. See CORE-9088 for more details.
svn path=/trunk/; revision=67890
2015-05-24 20:37:29 +00:00
Eric Kohl b08761f826 [SYSDM]
- Move the code to copy and rename hardware profiles from the dialog procedures into separate functions.
- Use the dialogs only to retrieve the destination profile name.
- Do not copy or rename a hardware profile if it source and destination name is the same.
- Replace a hard.-coded string by a resource string.

svn path=/trunk/; revision=67889
2015-05-24 20:20:04 +00:00
Pierre Schweitzer d9c71ea288 [KMTEST]
Leak less memory.

svn path=/trunk/; revision=67888
2015-05-24 18:14:49 +00:00
Pierre Schweitzer 23a0889551 [KMTEST]
Enable FsRtlTunnel tests.
They all pass in ReactOS now.

CORE-7272

svn path=/trunk/; revision=67887
2015-05-24 17:42:52 +00:00
Pierre Schweitzer df216184d2 [NTOSKRNL]
Short commit message: implementation of (names) tunnel cache in file system RTL.
This is in the vast majority work done by Johannes Anderwald, I've just reviewed, fixed a few things, and implemented last bits.

Thanks to Johannes for his initial implementation (and huge work!).
Dedicated to Hervé's secret plans ;-).

CORE-7272
CORE-3875

svn path=/trunk/; revision=67886
2015-05-24 17:42:05 +00:00
Pierre Schweitzer 0d763e60fb [KMTEST]
Don't attempt to allocate null-size buffer when copying empty string.

Note to next generations students: test your code and DON'T LEAK MEMORY!!!!
It still leaks atm, will have a look later on.
Note to Mr Bragin, beloved ReactOS Project Coordinator: did you actually reviewed your students work?

CORE-7272

svn path=/trunk/; revision=67885
2015-05-24 17:31:49 +00:00
Pierre Schweitzer 4c9b6600ea [NTFS]
Use non-paged lookaside list for IRP context allocation

svn path=/trunk/; revision=67883
2015-05-24 15:26:15 +00:00
Eric Kohl 6c9074c225 [NTOSKRNL]
IoCreateDevice: Assign SePublicOpenUnrestrictedSd to new devices.

CORE-9176

svn path=/trunk/; revision=67882
2015-05-24 14:38:55 +00:00
Amine Khaldi 7858fab04b [KBDHU] Fix MSVC build when the default code page is a MBCS. By Yuntian Zhang. CORE-7417
svn path=/trunk/; revision=67881
2015-05-24 14:26:31 +00:00
Pierre Schweitzer 63560ef203 [FASTFAT]
- Add a debugging assert that will save your lot of time if you attempt to manually queue a wrong IRP. You cannot queue an IRP which is set to be later queued again. This is a broken behavior.
- Remove a bit of code duplication

svn path=/trunk/; revision=67880
2015-05-24 12:39:10 +00:00
Hermès Bélusca-Maïto 578d9849a0 [NTVDM]
- Update the CrtModeControl byte in the BDA when we change video modes.
- Implement INT 10h, AX=1003h "Toggle Intensity/Blinking Bit".
- Partially implement INT 10h, AH=1Bh "Functionality/State Information (VGA)".

svn path=/trunk/; revision=67879
2015-05-24 12:35:29 +00:00
Pierre Schweitzer d4a0828949 [NTFS]
Implement request qeueing (based on FastFAT work)

svn path=/trunk/; revision=67878
2015-05-24 12:28:51 +00:00
Pierre Schweitzer d71894a0ad [NTFS]
- Only free the IRP context in case the request is not to be queued
- Stubplement request queueing support in NtfsDispatch()

svn path=/trunk/; revision=67877
2015-05-24 12:20:51 +00:00
Pierre Schweitzer 6277edf7d8 [NTFS]
Handle IRP_MJ_WRITE with the dispatch routine

svn path=/trunk/; revision=67876
2015-05-24 12:17:43 +00:00
Pierre Schweitzer ab8558bafd [NTFS]
Split NtfsFsdDispatch() in two.
Now, NtfsFsdDispatch() will only take care of allocating the IRP context and complete the IRP in case it failed (that fixes a null-pointer dereference, just for the record).
NtfsDispatch() will really dispatch the IRP to the internal functions. So that it can be called either directly from NtfsFsdDispatch() or by a queued IRP (to be implemented).

svn path=/trunk/; revision=67875
2015-05-24 10:48:15 +00:00
Aleksandar Andrejevic c1600b9458 [FAST486]
Implement FSQRT using the Babylonian method.


svn path=/trunk/; revision=67874
2015-05-23 23:44:10 +00:00
Aleksandar Andrejevic fe6672870b [FAST486]
- Fix the FPU constants.
- Fix rounding.
- Fix FSCALE.


svn path=/trunk/; revision=67873
2015-05-23 20:26:32 +00:00
Amine Khaldi 35e73601a0 [INETCPL][USRMGR] Update CPL Descriptions. By Jared Smudde. CORE-9713
svn path=/trunk/; revision=67872
2015-05-23 16:05:40 +00:00
Amine Khaldi 208dfa5c5c [BOOTDATA] Add Mozilla's NSS CA roots to the ReactOS registry and give the certs their own file. By Ismael Ferreras Morezuelas aka swyter. CORE-9065
svn path=/trunk/; revision=67871
2015-05-23 15:56:26 +00:00
Amine Khaldi 200a4fc8cb [WINED3DCFG] Add MB to the Video Memory Size options and finish capitalizing the labels as most of the labels are already capitalized. By Jared Smudde. CORE-9726
svn path=/trunk/; revision=67870
2015-05-23 15:50:30 +00:00
Amine Khaldi 90aaf85ee4 [PSDK] Update wincrypt.h and schannel.h with the latest Win32 defines of modern crypto. By Ismael Ferreras Morezuelas aka swyter. CORE-9065
svn path=/trunk/; revision=67869
2015-05-23 15:46:13 +00:00
Daniel Reimer cf4d6e39e7 [WINED3D] - Update german language
svn path=/trunk/; revision=67868
2015-05-23 15:31:23 +00:00
Amine Khaldi 2779f602cb [NTOBJSHEX] Add Italian translation by Carlo Bramini. CORE-9725
svn path=/trunk/; revision=67867
2015-05-23 15:23:25 +00:00
Amine Khaldi 0b8283748d [WINED3DCFG] Change the name to "WineD3D Options" as the Community decided. Patch by Jared Smudde. CORE-9724
svn path=/trunk/; revision=67866
2015-05-23 15:18:17 +00:00
Daniel Reimer 894b7e0f01 [C++]
Add arm version of r64555. ROSAPPS builds now completely @ ARM arch.

svn path=/trunk/; revision=67865
2015-05-23 13:59:28 +00:00
Amine Khaldi 9196ea556e [CMAKE] Do not treat C4189 as an error in Release builds.
svn path=/trunk/; revision=67864
2015-05-23 12:24:57 +00:00
Amine Khaldi 0aeb9104ed [CMAKE] Update rsym location.
svn path=/trunk/; revision=67863
2015-05-23 12:10:20 +00:00
Amine Khaldi e7a9440fb8 [CMAKE] Default to Debug for the build type in GCC builds.
svn path=/trunk/; revision=67862
2015-05-23 11:45:59 +00:00