Commit graph

64031 commits

Author SHA1 Message Date
Pierre Schweitzer aeeb7963bc [NTOSKRNL]
Improve the oplocks stubs:
- Always return success when FsRtlCheckOplock() is called: we deny oplock creation at FsRtlOplockFsctrl(), so the oplocks can only be fine.
- Always return TRUE when FsRtlOplockIsFastIoPossible() is called: we deny oplock creation at FsRtlOplockFsctrl(), so no oplock can prevent fastio from happening.

This enables (for real :-)) write support in extX FSD. Not 100% perfect though, as it hits an assert in MCB (but that's yet another story).

Full implementation to come later on.

CORE-10407
CORE-10442

svn path=/trunk/; revision=69742
2015-10-30 18:54:16 +00:00
Thomas Faber 081c4f25c7 [WLDAP32]
- Fix MSVC const mismatch warnings

svn path=/trunk/; revision=69741
2015-10-30 14:26:42 +00:00
Amine Khaldi 22c6dc878b [CMAKE/GCC] Set O2 and define NDEBUG for GCC release builds.
svn path=/trunk/; revision=69740
2015-10-30 10:03:44 +00:00
Amine Khaldi a0c61c370a [CMAKE/GCC] Override the INIT flags for Debug and Release build types.
svn path=/trunk/; revision=69739
2015-10-30 09:56:57 +00:00
Amine Khaldi e670224c35 [CMAKE] Print the build type so it's clearly visible at configure time whether we are doing a Debug or a Release build for example.
svn path=/trunk/; revision=69738
2015-10-30 09:55:58 +00:00
Hermès Bélusca-Maïto 40b98ed76f [MSCONFIG_NEW]: Reorder the dialogs in the order they visually appear in the application.
svn path=/trunk/; revision=69737
2015-10-30 00:19:11 +00:00
Hermès Bélusca-Maïto af4344dec6 [MSCONFIG_NEW]: Update the "system.ini"/"win.ini" page layout.
svn path=/trunk/; revision=69736
2015-10-29 23:45:44 +00:00
Eric Kohl 58e9053fbc [NTOSKRNL]
- Initialize SepRmDbLock and create the system and anonymous logon sessions in Phase 0, right before the system process token is created.
- Implement functions to reference and dereference a logon session.
- Reference a logon session in SepCreateToken and SepDuplicateToken.
- Dereference a logon session in SepDeleteToken.

svn path=/trunk/; revision=69735
2015-10-29 22:50:14 +00:00
Robert Naumann dd39558722 [EXPLORER] -First commit of my Explorer work. -Remove unneeded property pages and move the important settings to the both pages which are also there in Win2k3 (taskbar and startmenu). -Add a folder layout for resources (like in shell32) to keep the overview. -Added missing resources like bitmaps and icons, some of them are needed for further work. -Added a new start menu bitmap, like in CE -All code related stuff is ignored so far, because it makes trouble. I'll work on this. This temporarily breaks the show seconds checkbox, which will also become fixed asap. -Translation may be broken, please translators take a look. Part 1/X CORE-10030 CORE-9240
svn path=/trunk/; revision=69734
2015-10-29 22:26:44 +00:00
Eric Kohl a89e5f40ab [LSASRV]
Call LsapRmDeleteLogonSession from LsapDeleteLogonSession.

svn path=/trunk/; revision=69733
2015-10-29 22:23:37 +00:00
Hermès Bélusca-Maïto c92ab8d4e0 [FATTEN]
- Do not always print the usage when an error occurs. Print it only when a syntactic error happens.
- FAT volume labels are constituted of 11 chars (not 8!) which should be printable ASCII (in particular, >= 0x20) and in uppercase.

svn path=/trunk/; revision=69732
2015-10-28 23:24:37 +00:00
Thomas Faber 4af490caec [WIN32K:NTUSER]
- Window station handles are normally user handles. Treat them as such
CORE-10207

svn path=/trunk/; revision=69731
2015-10-28 11:29:42 +00:00
Thomas Faber 857d9e69e3 [NTOS:IO]
- Add missing OBJ_KERNEL_HANDLE
- Avoid INVALID_HANDLE_VALUE
CORE-10207

svn path=/trunk/; revision=69730
2015-10-28 11:14:46 +00:00
Thomas Faber f3e8d3e967 [NTOS:IO]
- Properly parse SymbolicLinkName (in particular, don't assume it's null-terminated) in IoSetDeviceInterface. Fixes IoDeviceInterface test failures and subsequent crashes due to memory corruption
CORE-9456

svn path=/trunk/; revision=69729
2015-10-28 10:59:59 +00:00
Cameron Gutman a644d30ee7 [AFD]
- Fix WSAEnumNetworkEvents failing if no event was supplied (uTorrent issue - CORE-6656)

svn path=/trunk/; revision=69728
2015-10-28 03:12:21 +00:00
Cameron Gutman 04690bd47b [PCIX]
- Fix typo in QueryInterface size field

svn path=/trunk/; revision=69727
2015-10-28 01:11:00 +00:00
Aleksandar Andrejevic bde7a617bd [NTVDM]
VGA Horizontal splitting should reset the address to 0 + panning, and not
the start address + panning.


svn path=/trunk/; revision=69726
2015-10-28 00:39:29 +00:00
Aleksandar Andrejevic 325318311d [NTVDM]
Implement VGA horizontal splitting.


svn path=/trunk/; revision=69725
2015-10-27 22:16:53 +00:00
Hermès Bélusca-Maïto 0a11c6ee0e Shut up Mr. GCC.
svn path=/trunk/; revision=69724
2015-10-27 21:27:55 +00:00
Hermès Bélusca-Maïto 62bd2d4195 [MSCONFIG_NEW]
Enable Win7-like theming when applicable.

svn path=/trunk/; revision=69723
2015-10-27 21:22:17 +00:00
Thomas Faber 28c1e663f3 [KMTESTS:IO]
- Add some basic parameter tests for IoSetDeviceInterfaceState
CORE-9456

svn path=/trunk/; revision=69722
2015-10-27 12:14:10 +00:00
Sylvain Petreolle 4fe27234d1 [RAPPS]
AC97: Fix Russian and other languages. 
CORE-10203


svn path=/trunk/; revision=69721
2015-10-27 00:34:07 +00:00
Hermès Bélusca-Maïto 8da64e53e4 [MSCONFIG_NEW]: Fix header (and build).
svn path=/trunk/; revision=69720
2015-10-26 23:24:19 +00:00
Hermès Bélusca-Maïto 6a9bc47c37 [SERVMAN]
- Explicitely use UNICODE versions of OpenSCManager and OpenService.
- When OpenSCManager or OpenService fail, they return a NULL handle (not INVALID_HANDLE_VALUE).

svn path=/trunk/; revision=69719
2015-10-26 23:15:40 +00:00
Hermès Bélusca-Maïto 781a27b6d0 Add msconfig_new in the list of compiled modules, for people to test it.
svn path=/trunk/; revision=69718
2015-10-26 23:04:37 +00:00
Hermès Bélusca-Maïto 1430754ba2 [MSCONFIG_NEW]
- Port the Services page in C++ and implement hide/show MS/ReactOS services & enable/disable. WIP.
- Fix resource ID for the "delete" button in the FreeLdr page.
- Revert the freeldr "advanced" dialog that I erroneously removed in r69638.
CORE-9333

svn path=/trunk/; revision=69717
2015-10-26 23:03:21 +00:00
Sylvain Petreolle db95aa6bd3 Disable mmdevapi from build.
Its Vista+, called by apps, and relies on wine-only dlls like winepulse.drv,winealsa.drv,wineoss.drv.
CORE-10418

svn path=/trunk/; revision=69716
2015-10-26 22:56:55 +00:00
Hermès Bélusca-Maïto 43cec2d41c [COMSUPP]: Use "operator new" and "operator delete" in order to avoid strange linkage problems (like "operator delete[]" not found, etc...) while being compatible with MS version of comsupp.lib.
svn path=/trunk/; revision=69715
2015-10-26 22:30:44 +00:00
Eric Kohl 6b82bc960e [NTOSKRNL][LSASRV]
- Move the message typedefs into a shared header file.
- Implement LsapRmCreateLogonSession and LsapRmDeleteLogonSession. Call LsapRmCreateLogonSession in LsapCreateLogonSession.

svn path=/trunk/; revision=69714
2015-10-26 21:03:40 +00:00
Giannis Adamopoulos 07d2565c81 [SHELL32]
- Remove a few todo comments that are now completed. Also remove numbers to make it simpler to remove one entry from the todo list.

svn path=/trunk/; revision=69713
2015-10-26 15:51:21 +00:00
Giannis Adamopoulos 3328daaf08 [SHELL32]
- Implement CompareIDs for the folders in the shell namespace. The previous implementation was a generic solution that just compared names.
- CDefView: Implement using CompareIDs method from the IShellFolder. Remove the previous implementation that was hardcoded in the CDefView and worked mostly for file items.

svn path=/trunk/; revision=69712
2015-10-26 15:07:44 +00:00
Ged Murphy 07ca1a7a5c [WMVCORE]
- Add dll to the correct destination dir
CORE-10404

svn path=/trunk/; revision=69711
2015-10-26 14:43:29 +00:00
Thomas Faber dde60eb9ef [USER32_APITEST]
- Add some tests for other WS_CHILD/WS_POPUP combinations

svn path=/trunk/; revision=69710
2015-10-26 12:12:01 +00:00
Giannis Adamopoulos c6da25588e [WIN32K]
- co_UserCreateWindowEx: Fail when a wrong handle was passed for the parent window. "Fixes" a crash down the road due to missing null checks in other places (null checks are needed because desktop windows don't have parents).

svn path=/trunk/; revision=69709
2015-10-26 12:09:34 +00:00
Thomas Faber a8f4623261 [USER32_APITEST]
- Remove nonexistent test...

svn path=/trunk/; revision=69708
2015-10-26 12:05:35 +00:00
Thomas Faber ca8fcf5402 [USER32_APITEST]
- Add a test for the bug in win32k highlighted by the recent ATL breakage
CORE-10413

svn path=/trunk/; revision=69707
2015-10-26 12:03:09 +00:00
Ged Murphy 949981b47f [DEVMGR]
- Highlight unused resources
- Patch by Ștefan Fulea
CORE-6109

svn path=/trunk/; revision=69706
2015-10-26 11:41:47 +00:00
Thomas Faber 8c44eaadfa [ATL]
- Revert broken math change in ATL::thunkCode::Init

svn path=/trunk/; revision=69705
2015-10-26 11:38:30 +00:00
Ged Murphy 4b92ce00d5 [DEVMGR]
- Hide legacy devices and volumes by default
- Patch by Eric Kohl
CORE-10396

svn path=/trunk/; revision=69704
2015-10-26 08:40:14 +00:00
Hermès Bélusca-Maïto dbff9a412d A parenthesis trolled me.
svn path=/trunk/; revision=69703
2015-10-25 23:13:37 +00:00
Hermès Bélusca-Maïto 4883da7f5c [ATL]
- Fix exception specifier (Ged or Thomas, can you double-check those please? :) )
- ATL can be used in code not using the C++11 standard aka. fix build when double '>' characters are present, for example in template<foo bar<stuff>> .

svn path=/trunk/; revision=69702
2015-10-25 23:10:43 +00:00
Hermès Bélusca-Maïto 6f3e0b39ca [ATL]
- Flush the CPU instruction cache after the ATL window proc thunk code is patched into memory.
- Implement some (not all) CAtlList methods that I will need later on.
- Implement some (not all) CStringT and CSimpleStringT methods & operators that I will need later on.

svn path=/trunk/; revision=69701
2015-10-25 22:55:18 +00:00
Ged Murphy 9ce035003d [DEVMGR]
- Fix overlay icon for problem devices

svn path=/trunk/; revision=69700
2015-10-25 17:01:19 +00:00
Amine Khaldi 1afae58191 [UNIATA] Update to v45j1. CORE-10189
svn path=/trunk/; revision=69699
2015-10-25 14:45:48 +00:00
Hermès Bélusca-Maïto d6e05da575 [ATL]: Use _AtlGetConversionACP() instead of hadcoded CP_THREAD_ACP value.
svn path=/trunk/; revision=69698
2015-10-25 14:37:33 +00:00
Eric Kohl ebdf8b1700 [NTOSKRNL][LSASRV]
- Add the SRM code from Timos kernel-fun branch.
- Move its lsasrv code to a separate file.
Thank you very much, Timo!

svn path=/trunk/; revision=69697
2015-10-25 14:33:27 +00:00
Daniel Reimer e9b79abb0f [FONTS]
Update Ubuntu font to v0.83

svn path=/trunk/; revision=69696
2015-10-25 13:10:25 +00:00
Thomas Faber e0526b4623 [NTDLL:LDR]
- Take the right exit path from LdrpMapDll when an illegal dll relocation is encountered. CID 1237071

svn path=/trunk/; revision=69695
2015-10-25 13:07:28 +00:00
Amine Khaldi 4c14eaa561 [FREETYPE] Update to v2.6.1. CORE-10378
svn path=/trunk/; revision=69694
2015-10-25 12:56:20 +00:00
Amine Khaldi f9dab9b203 [WIN32K] Use FreeType inclusion macros.
svn path=/trunk/; revision=69693
2015-10-25 12:51:50 +00:00