Commit graph

53402 commits

Author SHA1 Message Date
Thomas Faber
6b3b943c2e [PSDK]
- Add SHELL_LINK_HEADER structure. Update SHELL_LINK_DATA_FLAGS. Patch by Dominik Hornung (dominikhornung at gmx dot de).
CORE-7099

svn path=/trunk/; revision=58880
2013-04-28 09:49:09 +00:00
Thomas Faber
32bc439366 [BROWSEUI]
- Remove weird broken Get/SetWindowLongPtr wrapper functions (by Katayama Hirofumi MZ)
- Fix some casts
- Remove unnecessary ROS_Headers define

svn path=/trunk/; revision=58879
2013-04-28 09:09:57 +00:00
Thomas Faber
f2139d0242 [BROWSEUI:FORMATTING]
- Use spaces instead of tabs

svn path=/trunk/; revision=58878
2013-04-28 08:42:22 +00:00
Thomas Faber
d0ad4929d7 [BROWSEUI:FORMATTING]
- Improve coding style (break long lines, use C++ casts, add comments, ...). Patch by Katayama Hirofumi MZ.
COTE-7121

svn path=/trunk/; revision=58877
2013-04-28 07:49:41 +00:00
Hermès Bélusca-Maïto
ec77a7ee25 [KDCOM]
Add resource files for KDCOM and compile them.

svn path=/trunk/; revision=58876
2013-04-27 21:46:02 +00:00
Sylvain Petreolle
5ace783b87 [MKHIVE]
Set proper parent for registry keys.
Patch by theflash < theflash at sdf dot lonestar dot org >
CORE-7128 #resolve

svn path=/trunk/; revision=58875
2013-04-27 19:33:31 +00:00
Thomas Faber
76a1dccfe2 [KMTESTS:MM]
- Add tests for ZwAllocateVirtualMemory, ZwCreateSection, ZwMapViewOfSection. Patch by Nikolay Borisov (nib9 at aber dot ac dot uk).
- Some tests are currently skipped because they crash or assert on ROS: See ROSTESTS-107, ROSTESTS-108, ROSTESTS-109, ROSTESTS-110.
ROSTESTS-105 #resolve

svn path=/trunk/; revision=58874
2013-04-27 18:33:50 +00:00
Thomas Faber
4c309ccd7f [KMTESTS]
- Implement a mechanism for kmtests to retrieve information from user-mode. Patch by Nikolay Borisov (nib9 at aber dot ac dot uk).
- Currently supported function: QueryVirtualMemory
ROSTESTS-96 #resolve

svn path=/trunk/; revision=58873
2013-04-27 18:18:17 +00:00
Amine Khaldi
b74ef49f87 [DINPUT]
* Add missing psdk dependency for the dinput data formats library.

svn path=/trunk/; revision=58872
2013-04-27 14:56:43 +00:00
Amine Khaldi
66773cd55c [CMAKE]
* Don't set a default list of linked libraries, let us decide that ourselves. Fixes the recent VS build issues.

svn path=/trunk/; revision=58871
2013-04-27 13:53:29 +00:00
Sylvain Petreolle
f4aedab366 Import CredMarshalCredential and CredIsMarshaledCredential from wine.
ROSTESTS-97 #resolve

svn path=/trunk/; revision=58870
2013-04-27 12:37:33 +00:00
Amine Khaldi
d9576af780 [SHELL32]
* Silence a compiler warning. Spotted by Thomas Faber.

svn path=/trunk/; revision=58869
2013-04-27 09:40:27 +00:00
Thomas Faber
17d42ae2a9 [ADVAPI32]
- Properly stub some commonly used safer functions
CORE-6942 #resolve

svn path=/trunk/; revision=58868
2013-04-27 09:15:24 +00:00
Thomas Faber
03dfa33272 [ADVAPI32_APITEST]
- Add basic parameter tests for SaferIdentifyLevel
CORE-6942

svn path=/trunk/; revision=58867
2013-04-27 09:12:20 +00:00
Thomas Faber
d0becb5ee6 [PSDK]
- Replace winsafer.h with a usable version
CORE-6942

svn path=/trunk/; revision=58866
2013-04-27 09:01:02 +00:00
Thomas Faber
ce03d7b671 [BOOTDATA]
- Add Themes folder during setup. Patch by Lee Schroeder.
CORE-6987 #resolve

svn path=/trunk/; revision=58865
2013-04-27 08:18:15 +00:00
Thomas Faber
c568d4fd8b [KMTESTS:FSRTL]
- Rework FsRtlExpression test to be more maintainable by using a table. Patch by Víctor Martínez Calvo, a few comments by me.
CORE-7108 #resolve

svn path=/trunk/; revision=58864
2013-04-27 07:44:28 +00:00
Amine Khaldi
5326f4c7d9 [SHELL32]
* Fix the FVM_AUTO handing in CDefView::SetCurrentViewMode. Brought to you by Victor Martinez.
CORE-7126 #resolve

svn path=/trunk/; revision=58863
2013-04-26 23:05:51 +00:00
Amine Khaldi
46483ced1a [HAL]
* Account for the asm source files in all the HAL flavors. Should fix compiling them with VS (which regressed recently).

svn path=/trunk/; revision=58862
2013-04-26 22:31:07 +00:00
Sylvain Petreolle
0d8b699c25 [HIVESFT]
Fix opening of http,https and gopher URLs.


svn path=/trunk/; revision=58861
2013-04-26 14:15:28 +00:00
Amine Khaldi
86c4670f9f [SHELL32]
* Sync CommandLineToArgvW with Wine 1.5.26. Fixes issues spotted by Victor Martinez.
CORE-7125 #resolve

svn path=/trunk/; revision=58860
2013-04-26 12:10:27 +00:00
Thomas Faber
ab9ec0bd8c [KMTESTS:FSRTL]
- Enable running FsRtlMcb by hand

svn path=/trunk/; revision=58859
2013-04-26 09:31:12 +00:00
Pierre Schweitzer
43ee5e7b98 [NTOSKRNL]
Disable FsRtlMcb for the moment, as they crash, don't provide any useful and prevent the VBox testbot to properly run 

svn path=/trunk/; revision=58858
2013-04-26 06:47:42 +00:00
Hermès Bélusca-Maïto
634525fac4 Fix a check.
svn path=/trunk/; revision=58857
2013-04-25 23:16:19 +00:00
Hermès Bélusca-Maïto
0950be976a [ADVAPI32-SERVICES]
- Apply changes from http://code.reactos.org/cru/CR-30
- If an event object already exists, CreateEvent returns a valid handle to it. So that, if the returned handle is NULL, then automatically we are sure that it doesn't exist. Therefore remove unneeded checks.

svn path=/trunk/; revision=58856
2013-04-25 23:13:58 +00:00
Amine Khaldi
6f55066617 [SHELL32]
* Sync SH{Register,Revoke}DragDrop with Wine 1.5.26.

svn path=/trunk/; revision=58855
2013-04-25 23:04:00 +00:00
Amine Khaldi
472acf6982 [SHELL32]
* Sync DoEnvironmentSubst{A,W} with Wine 1.5.26. Fixes issues spotted by Victor Martinez.
CORE-7124 #resolve

svn path=/trunk/; revision=58854
2013-04-25 22:52:34 +00:00
Hermès Bélusca-Maïto
f892276e85 [PSDK]
Clarify the meaning of the parameters of MAKEWORD/MAKELONG

svn path=/trunk/; revision=58853
2013-04-25 22:20:00 +00:00
Jérôme Gardou
990171235d [NTOSKRNL]
- Handle VME for the PUSHF and POPF instruction in virtual mode
 - There is no reason to set interrupt flag when handling POPF
 - Fix a typo in POPF case : mask out the right variable
See http://www.rcollins.org/articles/vme1/ for reference

svn path=/trunk/; revision=58852
2013-04-25 21:29:59 +00:00
Amine Khaldi
b4fe8f646f [NTOSKRNL]
* Make sure that BaseAddress is at 64-k boundary in NtMapViewOfSection(). Fixes a couple NtMapViewOfSection tests.
* Brought to you by Zhan Jianyu (aka larmbr) with review and improvement by Timo.
CORE-7118 #resolve #comment A slightly improved fix was committed in r58851. Thanks ;)

svn path=/trunk/; revision=58851
2013-04-25 15:54:45 +00:00
Aleksey Bragin
a47024fcd7 [RTL]
- Apply similar fixes as in 58848 to RtlGetElementGenericTable (no need to make too fancy predecrements if they work incorrectly in this case when do/while loops were unnecessary at all).

svn path=/trunk/; revision=58850
2013-04-25 14:15:10 +00:00
Pierre Schweitzer
f6d5d2eb5d [KMTESTS:FSRTL]
Fix copy/paste mistakes

svn path=/trunk/; revision=58849
2013-04-25 10:08:05 +00:00
Aleksey Bragin
53f025c83e [RTL]
- Do not set result variable NodeOrParent in RtlpFindGenericTableNodeOrParent in case the generic table is empty, just returning TableEmptyTree is enough.
- Fix improper enumeration of generic tables nodes. The way they were done previously clearly shows that noone was actually testing these APIs and a simple mistake (do/while instead of while loop) led to a NULL pointer access. Thanks to Pierre for developing MCB tests which revealed this problem.
Rephrasing Vladimir Lenin: "Test, test and again test!"

svn path=/trunk/; revision=58848
2013-04-24 22:56:43 +00:00
Pierre Schweitzer
2840256492 [NTOSKRNL]
Reimplement (yes, once more...) all the DOS wildcards in FsRtlIs*InExpression().
This time with a better understanding of MSDN (doc can be sometimes quite cryptic...).
Which means that now the functions are passing all the tests and are even simpler.

svn path=/trunk/; revision=58847
2013-04-24 20:36:33 +00:00
Timo Kreuzer
a08eef8b31 [NTOSKRNL/AMD64]
- Add more required feature bits
- Initialize the PAT MSR
- Enable NX in EFER MSR

svn path=/trunk/; revision=58846
2013-04-24 20:28:45 +00:00
Giannis Adamopoulos
4d5fd81d67 [videoprt]
- Improve some debug messages

svn path=/trunk/; revision=58845
2013-04-24 17:51:44 +00:00
Pierre Schweitzer
4efe1428b9 [NTOSKRNL]
Really implement support for DOS_QM in FsRtlIs*InExpression()
Should fix some tests

svn path=/trunk/; revision=58844
2013-04-24 16:59:23 +00:00
Sylvain Petreolle
a1d7ffa2b1 [SYSSETUP]
Register ieframe during 2nd stage.


svn path=/trunk/; revision=58843
2013-04-24 16:46:52 +00:00
Pierre Schweitzer
18fa2986fc [NTOSKRNL]
Properly handle when we are at last dot in FsRtlIs*InExpression with DOS_STAR

svn path=/trunk/; revision=58842
2013-04-24 15:25:19 +00:00
Pierre Schweitzer
df801f3d4c [NTOSKRNL]
Fix a few tests with FsRtlIs*InExpression()

svn path=/trunk/; revision=58841
2013-04-24 14:21:26 +00:00
Pierre Schweitzer
8f3328160c [NTOSKRNL]
Fix null matching for empty string in FsRtlIsDbcsInExpression()

svn path=/trunk/; revision=58840
2013-04-24 12:18:28 +00:00
Amine Khaldi
4204d81772 [JSCRIPT]
* Add the typelib related registration data.
* Set the correct dependencies for the resource file.

svn path=/trunk/; revision=58839
2013-04-24 11:18:29 +00:00
Pierre Schweitzer
5d683f8f8f [KMTESTS:FSRTL]
Add tests for testing Large MCBs on Aleksey's request.
Currently, they fail (and even crash) on ReactOS.
Aleksey promised a bugfix!

svn path=/trunk/; revision=58838
2013-04-23 21:34:59 +00:00
Amine Khaldi
79ac1cc9a9 [HHCTRL.OCX]
* Add the typelib related registration data.
* Set the correct dependencies for the resource file.

svn path=/trunk/; revision=58837
2013-04-23 16:35:53 +00:00
Amine Khaldi
af2df13222 [IEFRAME]
* Add the typelib related registration data.
* Set the correct dependencies for the resource file.

svn path=/trunk/; revision=58836
2013-04-23 16:05:31 +00:00
Hermès Bélusca-Maïto
1707c78bfe [KDCOM]
Formatting change only (requested by Timo).

svn path=/trunk/; revision=58835
2013-04-23 00:48:49 +00:00
Hermès Bélusca-Maïto
1fda00d683 [KDCOM]
- Use stdlib.h header instead of declaring the atol function's prototype (caught by Jérôme).
- Clarify the loop in KdpSendPacket (by Timo).
NOTE: I also noticed that it was not this loop-change that fixed reconnection (see commit message of r58823), but one of the changes of revision r58822 (certainly the one in the KdpReceiveByte function) (ironically I said "Seems to fix..." since I noticed that change of behaviour when I was trying to play with the code in KdpSendPacket with modifications of r58822, but I didn't notice that in fact it happened with changes of r58822. It is only today that I constated that, during a revert of r58823 + test + a remark from Timo).

svn path=/trunk/; revision=58834
2013-04-23 00:41:45 +00:00
Pierre Schweitzer
dc93e99c9f [NTOSKRNL]
Properly handle (as Windows does) WC in case last dot was eaten in path name translation
Fixes last FindFile failing tests

svn path=/trunk/; revision=58833
2013-04-22 19:36:33 +00:00
Thomas Faber
4517988f68 [NTDLL_APITEST]
- Add test cases showing that RtlDosPathNameToNtPathName_U strips trailing dots

svn path=/trunk/; revision=58832
2013-04-22 19:09:12 +00:00
Giannis Adamopoulos
3c3d41fec8 [uxtheme]
- Do not apply non client metrics defined in the theme, while applying the theme. This is now done by desk.cpl
- Implement OpenThemeDataFromFile to let desk.cpl open a theme file and query the metrics stored in the theme file
- Make use of the HTHEME hTheme parameter in GetThemeSysBool, GetThemeSysColor, GetThemeSysFont, GetThemeSysInt, GetThemeSysSize and GetThemeSysString

svn path=/trunk/; revision=58831
2013-04-22 16:46:43 +00:00