reactos.git
10 years ago[INETCPL]
Amine Khaldi [Tue, 3 Dec 2013 10:33:02 +0000 (10:33 +0000)]
[INETCPL]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=61206

10 years ago[VERSION_WINETEST]
Amine Khaldi [Mon, 2 Dec 2013 22:45:51 +0000 (22:45 +0000)]
[VERSION_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=61202

10 years ago[VERSION]
Amine Khaldi [Mon, 2 Dec 2013 22:45:16 +0000 (22:45 +0000)]
[VERSION]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=61201

10 years ago[PSDK]
Amine Khaldi [Mon, 2 Dec 2013 22:41:02 +0000 (22:41 +0000)]
[PSDK]
* Define MAKEINTRESOURCE correctly for Wine sources.
CORE-7669 #resolve #comment Fixed in r61200.

svn path=/trunk/; revision=61200

10 years ago[APPWIZ][COMCTL32][UXTHEME]
Amine Khaldi [Mon, 2 Dec 2013 22:40:06 +0000 (22:40 +0000)]
[APPWIZ][COMCTL32][UXTHEME]
* Use explicit casts to pass __WINESRC__ strictness.
CORE-7669

svn path=/trunk/; revision=61199

10 years ago[GDI32_WINETEST]
Amine Khaldi [Mon, 2 Dec 2013 22:36:55 +0000 (22:36 +0000)]
[GDI32_WINETEST]
* Don't define __WINESRC__ (just yet).
* Don't define __ROS_LONG64__ twice.

svn path=/trunk/; revision=61198

10 years ago[PSDK]
Amine Khaldi [Mon, 2 Dec 2013 22:22:55 +0000 (22:22 +0000)]
[PSDK]
* Remove the no longer needed, __WINESRC__ based differentiation within DEVMODE.

svn path=/trunk/; revision=61197

10 years ago[PSDK]
Amine Khaldi [Mon, 2 Dec 2013 22:19:15 +0000 (22:19 +0000)]
[PSDK]
* Add DUMMYUNIONNAME1 and DUMMYSTRUCTNAME1 to ntdef.h (winnt.h already has them).

svn path=/trunk/; revision=61196

10 years ago[PSDK]
Amine Khaldi [Mon, 2 Dec 2013 10:56:38 +0000 (10:56 +0000)]
[PSDK]
* Fix IMAGE_RESOURCE_DIRECTORY_ENTRY structure.
[KERNEL32][VERSION]
* Correct the use of IMAGE_RESOURCE_DIRECTORY_ENTRY.
CORE-7667 #resolve

svn path=/trunk/; revision=61195

10 years ago[SHELLEXT]
Daniel Reimer [Sun, 1 Dec 2013 22:54:08 +0000 (22:54 +0000)]
[SHELLEXT]
Fix/Update german RC files.

svn path=/trunk/; revision=61193

10 years ago[CPL]
Daniel Reimer [Sun, 1 Dec 2013 22:41:46 +0000 (22:41 +0000)]
[CPL]
Translate wined3dcfg.rc
Update german translations of hdwwiz, inetcpl, input, joy, sysdm and timedate

svn path=/trunk/; revision=61192

10 years ago[DEVMGR]
Thomas Faber [Sun, 1 Dec 2013 20:13:46 +0000 (20:13 +0000)]
[DEVMGR]
- Correctly display memory ranges
CORE-7666 #resolve

svn path=/trunk/; revision=61191

10 years agoSome more tidy up work.
Daniel Reimer [Sun, 1 Dec 2013 19:44:37 +0000 (19:44 +0000)]
Some more tidy up work.

svn path=/trunk/; revision=61190

10 years agoOne more SUBLANG_DEFAULT!!!
Daniel Reimer [Sun, 1 Dec 2013 19:12:30 +0000 (19:12 +0000)]
One more SUBLANG_DEFAULT!!!

svn path=/trunk/; revision=61189

10 years agoUpdate for 3rd Party Files.txt and syssetup.rc accordingly.
Daniel Reimer [Sun, 1 Dec 2013 19:11:56 +0000 (19:11 +0000)]
Update for 3rd Party Files.txt and syssetup.rc accordingly.
CORE-7638 #resolve #comment Committed in r61188. Thanks

svn path=/trunk/; revision=61188

10 years ago[README.WINE]
Amine Khaldi [Sun, 1 Dec 2013 16:24:04 +0000 (16:24 +0000)]
[README.WINE]
* Update the status of schannel.
CORE-7469

svn path=/trunk/; revision=61187

10 years ago[SCHANNEL_WINETEST]
Amine Khaldi [Sun, 1 Dec 2013 16:23:36 +0000 (16:23 +0000)]
[SCHANNEL_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=61186

10 years ago[PROPSYS_WINETEST]
Amine Khaldi [Sun, 1 Dec 2013 16:17:22 +0000 (16:17 +0000)]
[PROPSYS_WINETEST]
* Improve build.

svn path=/trunk/; revision=61185

10 years ago[PROPSYS]
Amine Khaldi [Sun, 1 Dec 2013 16:16:11 +0000 (16:16 +0000)]
[PROPSYS]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=61184

10 years ago[IMM32_WINETEST]
Amine Khaldi [Sun, 1 Dec 2013 16:11:05 +0000 (16:11 +0000)]
[IMM32_WINETEST]
* Improve build.

svn path=/trunk/; revision=61183

10 years ago[IMM32_WINETEST]
Amine Khaldi [Sun, 1 Dec 2013 15:57:54 +0000 (15:57 +0000)]
[IMM32_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=61182

10 years ago[IMM32]
Amine Khaldi [Sun, 1 Dec 2013 15:57:34 +0000 (15:57 +0000)]
[IMM32]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=61181

10 years ago[BOOTDATA]
Eric Kohl [Sun, 1 Dec 2013 15:20:52 +0000 (15:20 +0000)]
[BOOTDATA]
Add registry entries for certain file types. Patch by Lee Schroeder.
CORE-7513 #resolve

svn path=/trunk/; revision=61180

10 years ago[VGAFONTS]
Amine Khaldi [Sun, 1 Dec 2013 15:12:01 +0000 (15:12 +0000)]
[VGAFONTS]
* Add a VGA Font for Codepage 857 (Turkish). By Erdem Ersoy.
CORE-7449 #resolve #comment Committed in r61179. Thanks.

svn path=/trunk/; revision=61179

10 years ago[TRANSLATIONS]
Amine Khaldi [Sun, 1 Dec 2013 15:03:17 +0000 (15:03 +0000)]
[TRANSLATIONS]
* Italian translation update by Ivan Di Francesco.
CORE-7641 #resolve #comment Committed in r61178. Grazie.

svn path=/trunk/; revision=61178

10 years ago[USETUP]
Amine Khaldi [Sun, 1 Dec 2013 14:58:17 +0000 (14:58 +0000)]
[USETUP]
* Turkish translation update by Erdem Ersoy. Now with an attempt to fix the encoding.
CORE-7408

svn path=/trunk/; revision=61177

10 years ago[PSDK]
Amine Khaldi [Sun, 1 Dec 2013 14:39:44 +0000 (14:39 +0000)]
[PSDK]
* Update oleacc.idl.

svn path=/trunk/; revision=61176

10 years ago[OLEACC]
Amine Khaldi [Sun, 1 Dec 2013 14:37:32 +0000 (14:37 +0000)]
[OLEACC]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=61175

10 years ago[RAPPS]
Amine Khaldi [Sun, 1 Dec 2013 14:32:18 +0000 (14:32 +0000)]
[RAPPS]
* Italian translation update by Ivan Di Francesco.
CORE-7639 #resolve

svn path=/trunk/; revision=61174

10 years ago[NOTEPAD]
Eric Kohl [Sun, 1 Dec 2013 14:22:29 +0000 (14:22 +0000)]
[NOTEPAD]
Improve print argument flag. Patch by Lee Schroeder.
CORE-7514 #resolve

svn path=/trunk/; revision=61173

10 years ago* Tiny addendum to r61170.
Amine Khaldi [Sun, 1 Dec 2013 13:54:06 +0000 (13:54 +0000)]
* Tiny addendum to r61170.

svn path=/trunk/; revision=61172

10 years ago[BOOTDATA/PACKAGES]
Amine Khaldi [Sun, 1 Dec 2013 13:49:52 +0000 (13:49 +0000)]
[BOOTDATA/PACKAGES]
* Restore the formatting of the optional files, that got accidentally broken in r61156.

svn path=/trunk/; revision=61171

10 years agoTidy up German RC files after Amines heavy work and the now easily revealed problems...
Daniel Reimer [Sun, 1 Dec 2013 13:42:10 +0000 (13:42 +0000)]
Tidy up German RC files after Amines heavy work and the now easily revealed problems in them.
Set SUBLANG to NEUTRAL, not DEFAULT or GERMAN ...
Make taskkill and wmic translateable.

svn path=/trunk/; revision=61170

10 years ago[RAPPS]
Amine Khaldi [Sun, 1 Dec 2013 13:30:44 +0000 (13:30 +0000)]
[RAPPS]
* Turkish translation update by Erdem Ersoy.
CORE-7508

svn path=/trunk/; revision=61169

10 years ago[USETUP]
Amine Khaldi [Sun, 1 Dec 2013 13:18:51 +0000 (13:18 +0000)]
[USETUP]
* Turkish translation update by Erdem Ersoy.
CORE-7408

svn path=/trunk/; revision=61168

10 years ago[NTVDM]
Amine Khaldi [Sun, 1 Dec 2013 10:53:08 +0000 (10:53 +0000)]
[NTVDM]
* Convert resource files to UTF-8 without BOM. By Yuntian Zhang.
CORE-7418 #resolve

svn path=/trunk/; revision=61167

10 years ago[NOTEPAD]
Amine Khaldi [Sun, 1 Dec 2013 10:38:42 +0000 (10:38 +0000)]
[NOTEPAD]
* Add an explanation for each "Endlines" ComboBox item. By Erdem Ersoy.
CORE-7388 #resolve

svn path=/trunk/; revision=61166

10 years ago[TRANSLATIONS]
Amine Khaldi [Sun, 1 Dec 2013 10:32:23 +0000 (10:32 +0000)]
[TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7408

svn path=/trunk/; revision=61165

10 years ago[README.WINE]
Amine Khaldi [Sun, 1 Dec 2013 10:17:44 +0000 (10:17 +0000)]
[README.WINE]
* Update the status of several modules.
CORE-7469

svn path=/trunk/; revision=61164

10 years ago[FDC]
Eric Kohl [Sun, 1 Dec 2013 01:32:26 +0000 (01:32 +0000)]
[FDC]
Fix a bug that overwrites drive data if two FDDs are attached to a controller. Only the second drive is detected in this case.

svn path=/trunk/; revision=61162

10 years agoModify reactos.dff.in to include the optional files the same way the autogenerated...
Daniel Reimer [Sat, 30 Nov 2013 16:29:55 +0000 (16:29 +0000)]
Modify reactos.dff.in to include the optional files the same way the autogenerated reactos.dff does. Meaning all paths in "path/to.here" style.
This fixes the inclusion into the ReactOS system. (Included Gecko, Runtimes and sound drivers now are detected and used while setup)

svn path=/trunk/; revision=61156

10 years agoUpdate DejaVu Sans/Serif Fonts to Version 2.3.4.
Daniel Reimer [Sat, 30 Nov 2013 16:25:58 +0000 (16:25 +0000)]
Update DejaVu Sans/Serif Fonts to Version 2.3.4.
Update "3rd Party Files.txt"

svn path=/trunk/; revision=61155

10 years ago[INF]
Eric Kohl [Sat, 30 Nov 2013 10:22:29 +0000 (10:22 +0000)]
[INF]
Add an inf file for floppy disk drives. If you have a floppy disk drive attached to your computer, it should appear in the device manager.

svn path=/trunk/; revision=61154

10 years ago[FDC]
Eric Kohl [Sat, 30 Nov 2013 10:07:50 +0000 (10:07 +0000)]
[FDC]
Implement IRP_MN_QUERY_CAPABILITIES and IRP_MN_QUERY_ID for the PDOs.

svn path=/trunk/; revision=61153

10 years ago[SHELLEXTS]
Amine Khaldi [Sat, 30 Nov 2013 08:40:31 +0000 (08:40 +0000)]
[SHELLEXTS]
* Forgot to commit these in r61130.
CORE-7637

svn path=/trunk/; revision=61152

10 years ago[FDC]
Eric Kohl [Fri, 29 Nov 2013 23:52:53 +0000 (23:52 +0000)]
[FDC]
- Move FdcAddDevice from fdo.c to fdc.c.
- Create a PDO for each enumerated floppy disk drive.

svn path=/trunk/; revision=61149

10 years ago[NTOSKRNL]
Dmitry Gorbachev [Fri, 29 Nov 2013 22:34:43 +0000 (22:34 +0000)]
[NTOSKRNL]
Fix undefined behavior issue.

svn path=/trunk/; revision=61148

10 years ago[DEVMGR]
Johannes Anderwald [Fri, 29 Nov 2013 22:25:51 +0000 (22:25 +0000)]
[DEVMGR]
- fix warning & bug
- patch by Thomas Faber
CORE-7593 #resolve #comment fixed

svn path=/trunk/; revision=61147

10 years ago[MSCONFIG]
Thomas Faber [Fri, 29 Nov 2013 18:13:28 +0000 (18:13 +0000)]
[MSCONFIG]
- Remove unused rsrc.rc file

svn path=/trunk/; revision=61146

10 years ago[FASTFAT]
Eric Kohl [Fri, 29 Nov 2013 14:05:43 +0000 (14:05 +0000)]
[FASTFAT]
FsdGetFsVolumeInformation: Return volume creation time.

svn path=/trunk/; revision=61145

10 years ago[FASTFAT]
Eric Kohl [Fri, 29 Nov 2013 11:05:04 +0000 (11:05 +0000)]
[FASTFAT]
Removed accidential code change!

svn path=/trunk/; revision=61144

10 years ago[FORMATTING]
Eric Kohl [Fri, 29 Nov 2013 11:03:34 +0000 (11:03 +0000)]
[FORMATTING]
Fix indentation and coding style. No code changes!

svn path=/trunk/; revision=61143

10 years ago[Win32k]
James Tabor [Fri, 29 Nov 2013 03:43:41 +0000 (03:43 +0000)]
[Win32k]
- Fix CORE-1161 and CORE-6651.
- Minor fixups.

svn path=/trunk/; revision=61142

10 years ago[FDC]
Eric Kohl [Fri, 29 Nov 2013 00:38:10 +0000 (00:38 +0000)]
[FDC]
- Add fdc.sys to the reactos.cab file.
- Start fdc.sys on demand.

svn path=/trunk/; revision=61140

10 years ago[NTOSKRNL]
Amine Khaldi [Thu, 28 Nov 2013 22:32:20 +0000 (22:32 +0000)]
[NTOSKRNL]
* And finally: improve ze kirnel's resource files.
CORE-7637 #resolve

svn path=/trunk/; revision=61139

10 years ago[INCLUDE]
Amine Khaldi [Thu, 28 Nov 2013 22:30:59 +0000 (22:30 +0000)]
[INCLUDE]
* Improve version.rc.
CORE-7637

svn path=/trunk/; revision=61138

10 years ago[HAL/*]
Amine Khaldi [Thu, 28 Nov 2013 22:27:43 +0000 (22:27 +0000)]
[HAL/*]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61137

10 years ago[GLU32]
Amine Khaldi [Thu, 28 Nov 2013 22:27:12 +0000 (22:27 +0000)]
[GLU32]
* Improve the resource file.
CORE-7637

svn path=/trunk/; revision=61136

10 years ago[NTDLL]
Amine Khaldi [Thu, 28 Nov 2013 22:26:13 +0000 (22:26 +0000)]
[NTDLL]
* Improve the resource file.
CORE-7637

svn path=/trunk/; revision=61135

10 years ago[WIN32SS/*]
Amine Khaldi [Thu, 28 Nov 2013 22:24:33 +0000 (22:24 +0000)]
[WIN32SS/*]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61134

10 years ago[BASESRV][CSRSRV][CSRSS][NTVDM]
Amine Khaldi [Thu, 28 Nov 2013 22:22:24 +0000 (22:22 +0000)]
[BASESRV][CSRSRV][CSRSS][NTVDM]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61133

10 years ago[DRIVERS]
Amine Khaldi [Thu, 28 Nov 2013 22:19:35 +0000 (22:19 +0000)]
[DRIVERS]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61132

10 years ago[WIN32DLLS]
Amine Khaldi [Thu, 28 Nov 2013 22:18:05 +0000 (22:18 +0000)]
[WIN32DLLS]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61131

10 years ago[SHELLEXTS]
Amine Khaldi [Thu, 28 Nov 2013 22:15:21 +0000 (22:15 +0000)]
[SHELLEXTS]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61130

10 years ago[KEYBOARDS]
Amine Khaldi [Thu, 28 Nov 2013 22:14:03 +0000 (22:14 +0000)]
[KEYBOARDS]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61129

10 years ago[CPLS]
Amine Khaldi [Thu, 28 Nov 2013 22:12:52 +0000 (22:12 +0000)]
[CPLS]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61128

10 years ago[FDEBUG]
Amine Khaldi [Thu, 28 Nov 2013 22:11:26 +0000 (22:11 +0000)]
[FDEBUG]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61127

10 years ago[BASE/SYSTEM]
Amine Khaldi [Thu, 28 Nov 2013 22:09:27 +0000 (22:09 +0000)]
[BASE/SYSTEM]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61126

10 years ago[BASE/SHELL]
Amine Khaldi [Thu, 28 Nov 2013 22:07:56 +0000 (22:07 +0000)]
[BASE/SHELL]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61125

10 years ago[BASE/SETUP]
Amine Khaldi [Thu, 28 Nov 2013 22:06:38 +0000 (22:06 +0000)]
[BASE/SETUP]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61124

10 years ago[SERVICES]
Amine Khaldi [Thu, 28 Nov 2013 22:04:59 +0000 (22:04 +0000)]
[SERVICES]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61123

10 years ago[APPLICATIONS]
Amine Khaldi [Thu, 28 Nov 2013 22:04:03 +0000 (22:04 +0000)]
[APPLICATIONS]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61122

10 years ago[SCREENSAVERS]
Amine Khaldi [Thu, 28 Nov 2013 22:00:38 +0000 (22:00 +0000)]
[SCREENSAVERS]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61121

10 years ago[APPS/NETWORK]
Amine Khaldi [Thu, 28 Nov 2013 21:59:13 +0000 (21:59 +0000)]
[APPS/NETWORK]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61120

10 years ago[MSCUTILS]
Amine Khaldi [Thu, 28 Nov 2013 21:57:21 +0000 (21:57 +0000)]
[MSCUTILS]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61119

10 years ago[GAMES]
Amine Khaldi [Thu, 28 Nov 2013 21:56:11 +0000 (21:56 +0000)]
[GAMES]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61118

10 years ago[CMDUTILS]
Amine Khaldi [Thu, 28 Nov 2013 21:52:17 +0000 (21:52 +0000)]
[CMDUTILS]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61117

10 years ago[FDC]
Eric Kohl [Thu, 28 Nov 2013 20:32:37 +0000 (20:32 +0000)]
[FDC]
Enumerate all BIOS-detected floppy drives which are attached to the current controller.

svn path=/trunk/; revision=61116

10 years ago[FDC]
Eric Kohl [Thu, 28 Nov 2013 15:50:42 +0000 (15:50 +0000)]
[FDC]
10 Build before commit!
20 goto 10

svn path=/trunk/; revision=61115

10 years ago[FDC]
Eric Kohl [Thu, 28 Nov 2013 15:47:18 +0000 (15:47 +0000)]
[FDC]
- Add a floppy disk controller driver. The driver is WIP.

svn path=/trunk/; revision=61114

10 years ago[SERIAL]
Thomas Faber [Thu, 28 Nov 2013 14:32:04 +0000 (14:32 +0000)]
[SERIAL]
- Fix a race condition

svn path=/trunk/; revision=61113

10 years ago[SHELL32]
Thomas Faber [Thu, 28 Nov 2013 10:37:04 +0000 (10:37 +0000)]
[SHELL32]
- Remove unused (and unavailable) std namespace reference
CORE-6672

svn path=/trunk/; revision=61112

10 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 27 Nov 2013 00:11:06 +0000 (00:11 +0000)]
[NTOSKRNL]
Undo unwanted change. Noticed by Hermes.

svn path=/trunk/; revision=61111

10 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 27 Nov 2013 00:04:26 +0000 (00:04 +0000)]
[NTOSKRNL]
- Get rid of MmZeroPte and instead implement MI_ERASE_PTE. Use this and only this to make a PTE zero. The other functions will not allow to do this.
- Add MI_UPDATE_VALID_PTE to update a valid PTE with another valid PTE
- Add 2 additional protection mask constants: MM_PROTECT_ACCESS for the lower 3 bits and MM_PROTECT_SPECIAL for the higher 2 bits. Make use of the latter when dealing with guard pages and caching.
- Deduplicate some code in MmArmAccessFault
- Move code in MiDeleteSystemPageableVm to where it belongs (it was in the wrong else case!)
- Wse MiQueryPageTableReferences instead of manipulating MmWorkingSetList->UsedPageTableEntries

svn path=/trunk/; revision=61110

10 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 26 Nov 2013 23:28:37 +0000 (23:28 +0000)]
[NTOSKRNL]
- Implement SepAdjustPrivileges, which does both the counting of (changed) privileges as well as applying them, when requested. Use it in NtAdjustPrivilegesToken twice instead of duplicating the code there.
- Fix return value of NtAdjustPrivilegesToken by making sure to properly count the found privileges and check against the provided ones
- Lock the Token, while messing with the privileges
- Add support for SE_PRIVILEGE_REMOVED
- Proplery (re)calculate Token flags after changing privileges
- Improve failure pathes by using a common cleanup label
- Don't free the allocations atatched to the token in SepCreateToken on failure, since ObDereferenceObject will already do that.
- Make priviliges constants instead of initializing them.

svn path=/trunk/; revision=61109

10 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 26 Nov 2013 21:38:02 +0000 (21:38 +0000)]
[NTOSKRNL]
- Remove the BoundaryAddressMultiple parameter from MmCreateMemoryArea (wasn't used) and give it instead a Granularity parameter
- Use the Granularity parameter in MmMapViewOfSegment to make sure that full sections are allocated on a MM_ALLOCATION_GRANULARITY aligned address.
- Check for overflow and unaligned image base in MmMapViewOfSection when mapping image sections
- Return proper status code on failure

svn path=/trunk/; revision=61108

10 years ago[NETAPI32]
Eric Kohl [Tue, 26 Nov 2013 16:56:33 +0000 (16:56 +0000)]
[NETAPI32]
BuildUserInfoBuffer: Set the UF_PASSWD_CANT_CHANGE account control flag if the user does not have the USER_CHANGE_PASSWORD access right for his own account data.

svn path=/trunk/; revision=61103

10 years ago[NTOSKRNL]
Eric Kohl [Tue, 26 Nov 2013 15:27:48 +0000 (15:27 +0000)]
[NTOSKRNL]
- Create the Security directory and the LSA_AUTHENTICATION_INITIALIZED event in SepInitializationPhase1().
- Get rid of SeInitSRM().

svn path=/trunk/; revision=61102

10 years ago[KERNEL32]
Thomas Faber [Tue, 26 Nov 2013 15:09:21 +0000 (15:09 +0000)]
[KERNEL32]
- Fix wrong check for realtime priority class in CreateProcessInternalW
- Fix double free in GetEnvironmentVariable[AW]
- Fix broken sizeof usage ('X' is of type int!)
- Remove redundant casts and comparisons

svn path=/trunk/; revision=61101

10 years ago[POWRPROF]
Thomas Faber [Tue, 26 Nov 2013 15:00:06 +0000 (15:00 +0000)]
[POWRPROF]
- Fix a warning

svn path=/trunk/; revision=61100

10 years ago[KMTESTS:RTL]
Thomas Faber [Tue, 26 Nov 2013 14:26:31 +0000 (14:26 +0000)]
[KMTESTS:RTL]
- Fix a warning

svn path=/trunk/; revision=61099

10 years ago[NTOS]
Thomas Faber [Tue, 26 Nov 2013 13:45:33 +0000 (13:45 +0000)]
[NTOS]
- FORCEINLINE belongs before the return type (-Wold-style-declaration)

svn path=/trunk/; revision=61098

10 years ago[NETAPI32]
Eric Kohl [Mon, 25 Nov 2013 16:00:40 +0000 (16:00 +0000)]
[NETAPI32]
Refactor BuildUserInfoBuffer: Move the user info buffer inside of BuildUserInfoBuffer. This simplifies its callers.

svn path=/trunk/; revision=61097

10 years ago[CMAKE]
Thomas Faber [Mon, 25 Nov 2013 12:30:03 +0000 (12:30 +0000)]
[CMAKE]
- Enable -Wtype-limits in GCC builds

svn path=/trunk/; revision=61096

10 years ago[NTOSKRNL]
Timo Kreuzer [Mon, 25 Nov 2013 00:18:33 +0000 (00:18 +0000)]
[NTOSKRNL]
Windows / ReactOS uses a software protection field called protection mask, which is stored inside invalid (Software) PTEs to provide information about the desired protection, when a page is made valid by the page fault handler. The mask consists of the values 0-7 specifying the read/write/execute rights, 0 being inaccessible aka MM_ZERO_ACCESS, plus 2 flag-like bits, for uncached and writecombine memory respectively. Both flags together don't make sense, so this combination is used to mark guard pages. Since all these flags only make sense when used together with a proper access (i.e. not MM_ZERO_ACCESS), the combination of these flags together with MM_ZERO_ACCESS was given special meaning: MM_DECOMMIT, which equals MM_GUARDPAGE | MM_ZERO_ACCESS is for decommitted pages, that are not yet erased to zero, MM_NOACCESS, which is the mask for pages that are mapped with PAGE_NOACCESS (this is to make sure that a software PTE of a committed page is never completely 0, which it could be, when MM_ZERO_ACCESS was used), and finally MM_OUTSWAPPED_KSTACK for outswapped kernel stacks. See also https://www.reactos.org/wiki/Techwiki:Memory_Protection_constants.
The next thing to know is that the number of PTEs that are not null is counted for each PDE. So once a page gets committed, a software PTE is written and the reference count is incremented. When the page is made valid by the fault handler, the count is not changed, when the page is decommitted, the MM_DECOMMIT software PTE is written and again the PTE stays non-null and nothing is changed. Only when the range is cleaned up totally, the PTEs get erased and the reference count is decremented. Now it happened that our page fault handler missed to validate the access rights of protection constants. The problem that came up with this is a major one: since a decommitted page is a software PTE with MM_DECOMMIT as the protection mask (which we remember has the MM_GUARDPAGE bit set), the fault handler considered faults on decommitted PTEs as faults on guard pages and simply removed the guard page flag, leaving a completely empty PTE behind! So the decommitted page got erased without decrementing the reference count. This lead to CORE-7445.
- Add protection flags (MM_GUARDPAGE, MM_WRITECOMBINE, MM_OUTSWAPPED_KSTACK)
- Instead of writing 0 to a PTE, use MI_WRITE_INVALID_PTE with MmZeroPte
- Implement MiIsAccessAllowed that checks for read/write/execute access and use it in MiAccessCheck
- Add some more ASSERTs
CORE-7445 #resolve

svn path=/trunk/; revision=61095

10 years ago[shell32]
Giannis Adamopoulos [Sun, 24 Nov 2013 21:42:28 +0000 (21:42 +0000)]
[shell32]
- define STR_FILE_SYS_BIND_DATA in the public headers and use it in IFileSystemBindDataImpl and CFSFolder. Now we use the same string to store the IFileSystemBindDataImpl in the bind context.
- Fix CFSFolder::ParseDisplayName to properly parse paths with a IBindCtx
- Should fix creating pidls that represent files that don't exist and fix SHChangeNotify tests that hanged for a whole minute in our test suite

svn path=/trunk/; revision=61094

10 years ago[RTL]
Thomas Faber [Sun, 24 Nov 2013 20:04:45 +0000 (20:04 +0000)]
[RTL]
- Allow parsing manifest files larger than 32 kB. Fix a DPRINT. Patch by David Quintana.
CORE-7642 #resolve

svn path=/trunk/; revision=61093

10 years ago[MSGINA]
Eric Kohl [Sun, 24 Nov 2013 17:24:44 +0000 (17:24 +0000)]
[MSGINA]
- Add a disabled "Change Password" button to the Security dialog.
- Add the "Change Password" dialog and a basic dialog function.

svn path=/trunk/; revision=61092

10 years ago[NPFS]
Thomas Faber [Sun, 24 Nov 2013 16:22:17 +0000 (16:22 +0000)]
[NPFS]
- Fix a use after free in NpFsdCreate

svn path=/trunk/; revision=61091

10 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 24 Nov 2013 16:18:50 +0000 (16:18 +0000)]
[NTOSKRNL]
Remove deprecated and unused functions MmDisableVirtualMapping and MmRawDeleteVirtualMapping

svn path=/trunk/; revision=61090