Commit graph

65637 commits

Author SHA1 Message Date
Timo Kreuzer 5917e9e09d Patch "works": continue vs return stuff
svn path=/trunk/; revision=71436
2016-05-28 15:46:49 +00:00
Hermès Bélusca-Maïto a7618ad8b5 [TIMEDATE.CPL]: Do not hardcode some of the buffer lengths.
CORE-11284

svn path=/trunk/; revision=71435
2016-05-28 15:23:00 +00:00
Eric Kohl 6ce8ee357a [NETSHELL]
German translation and fixed layout
Patch by reactosfanboy.
CORE-11278 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71434
2016-05-28 00:18:39 +00:00
Eric Kohl 345ad196e3 [TIMEDATE]
Fixes and improvements to datetime CPL applet.
Patch by Carlo Bramini.
Replaced the original RegLocalQuery() by QueryTimezoneData() to simplify the error handling.
Modification by Eric Kohl.
CORE-11284 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71433
2016-05-28 00:12:02 +00:00
Pierre Schweitzer be0e0e64a7 [REISERFS]
r71430, repetita

svn path=/trunk/; revision=71432
2016-05-27 20:35:44 +00:00
Pierre Schweitzer 28fd35b834 [DOC]
Add a file to track imported FSD and their release

svn path=/trunk/; revision=71431
2016-05-27 20:32:45 +00:00
Pierre Schweitzer 101f7947a5 [FFS]
We don't need that file

CORE-11040

svn path=/trunk/; revision=71430
2016-05-27 17:52:03 +00:00
Pierre Schweitzer 189f1859ee [FS_REC]
Add support for FFS volumes.
Patch by Peter Hater.

This is done for FFS support! Enjoy :-)

CORE-11040 #resolve

svn path=/trunk/; revision=71429
2016-05-27 12:18:47 +00:00
Pierre Schweitzer c16cf7dece [PSDK]
Now, ReactOS recognizes the FFS partition :-)

CORE-11040

svn path=/trunk/; revision=71428
2016-05-27 12:13:49 +00:00
Pierre Schweitzer bb5e205150 [FFS]
Enable the FFS support.
Patch by Peter Hater.

CORE-11040

svn path=/trunk/; revision=71427
2016-05-27 12:12:18 +00:00
Pierre Schweitzer 88f0e76715 [AUTOCHK]
Add support for FFS

CORE-11040

svn path=/trunk/; revision=71426
2016-05-27 12:11:15 +00:00
Pierre Schweitzer 3a3ef631d1 [FFS]
Import the FFS driver by Jae-Hong Lee.
Patch by Peter Hater

CORE-11040

svn path=/trunk/; revision=71425
2016-05-27 12:08:38 +00:00
Pierre Schweitzer c8fc495780 [UFFS]
Add the FFS DLL

CORE-11040

svn path=/trunk/; revision=71424
2016-05-27 12:05:40 +00:00
Pierre Schweitzer 126b96aee1 [FFSLIB]
Stub the FFS lib

CORE-11040

svn path=/trunk/; revision=71423
2016-05-27 12:04:45 +00:00
Hermès Bélusca-Maïto 5fa287634d [REACTOS]: Add a desktop shortcut to the ReadMe file of ReactOS, on both the livecd and installation. Useful for people discovering ReactOS for the first time.
svn path=/trunk/; revision=71422
2016-05-27 01:06:35 +00:00
Hermès Bélusca-Maïto 09084fe16a [INCLUDES] probe.h: use ExFreePoolWithTag for releasing unicode strings capture, and fully clear up said strings.
svn path=/trunk/; revision=71421
2016-05-26 23:17:59 +00:00
Hermès Bélusca-Maïto c9493245e5 [WIN32K]: it can be useful to have a TAG_USTR for unicode strings.
svn path=/trunk/; revision=71420
2016-05-26 23:16:10 +00:00
Hermès Bélusca-Maïto 97032dd167 [NETSHELL]: Fix french orthograph.
svn path=/trunk/; revision=71419
2016-05-26 22:36:57 +00:00
Pierre Schweitzer b6e9ec7df1 [USETUP]
Don't override the hidden sectors value set during format when seting up bootsector.
This allows installing ReactOS on a FAT partition that doesn't start on sector 63. Successfully tested with a partition starting on sector 2048, for instance.
Patch by Wim Hueskes

CORE-8825 #resolve #comment Committed in r71418. Thanks for the debugging and the patch!

svn path=/trunk/; revision=71418
2016-05-26 20:50:44 +00:00
Pierre Schweitzer a1a1d0917e [FS_REC]
Add support for ReiserFS volumes.
Patch by Peter Hater.

This is done for ReiserFS support! Enjoy :-)

CORE-11005 #resolve

svn path=/trunk/; revision=71417
2016-05-26 18:17:19 +00:00
Pierre Schweitzer d54f933810 [REISERFS]
Enable the ReiserFS support.
Patch by Peter Hater.

CORE-11005

svn path=/trunk/; revision=71416
2016-05-26 18:14:52 +00:00
Pierre Schweitzer 89138635e9 [AUTOCHK]
Add support for ReiserFS

CORE-11005

svn path=/trunk/; revision=71415
2016-05-26 18:12:36 +00:00
Pierre Schweitzer 0c5c8461eb [REISERFS]
Enable ReiserFS FSD build

CORE-11005

svn path=/trunk/; revision=71414
2016-05-26 18:11:57 +00:00
Pierre Schweitzer fd78690041 [UREISERFS]
Add the ReiserFS DLL

CORE-11005

svn path=/trunk/; revision=71413
2016-05-26 18:10:20 +00:00
Pierre Schweitzer 7cc10e7297 [REISERFSLIB]
Stub the ReiserFS lib

CORE-11005

svn path=/trunk/; revision=71412
2016-05-26 18:08:42 +00:00
Pierre Schweitzer f0a44d618b [EXT2]
Upgrade the driver to release 0.66.

CORE-11295 #resolve #comment Committed in r71411

svn path=/trunk/; revision=71411
2016-05-26 17:10:02 +00:00
Pierre Schweitzer e6b12e4774 [NTOSKRNL]
Cherry pick r71407 by Trevor Thompson:
- Rewrote FsRtlGetNextBaseMcbEntry(), FsRtlLookupBaseMcbEntry(), and FsRtlNumberOfRunsInBaseMcb() using simpler logic.

This finally fixes broken MCB handling in ReactOS and allows FSDs relying on MCB to properly work in ReactOS!

CORE-11002 #resolve #comment Fixed in r71409

svn path=/trunk/; revision=71409
2016-05-26 16:35:45 +00:00
Eric Kohl a5a8ffb511 [SERVMAN]
GetServiceConfig: Use only the required access rights. Makes servman usable for non-admin users.

svn path=/trunk/; revision=71408
2016-05-26 15:48:46 +00:00
Pierre Schweitzer 0b68260492 [NTOSKRNL]
Rework a bit the way mapping and pinning is working in ReactOS Cc. This is still wrong regarding the way Windows does it, but at least, it offers us more features for a more compatible behavior exposed to FSDs.
First of all, reintroduce the mutex used to lock VACB. Moving there to a resource wasn't enough to work address the issue. This reverts r71387.
Introduce the resource in the BCB, as it should be. This resource will be unused until pinning occurs. In such case, the VACB mutex gets unused so that we can get the BCB released by another thread without deadlocking the associated VACB.
The VACB can be locked again after the last unpinning operation.
Basically, that fixes drivers than pin in a thread and unpin in another thread, after having changed BCB owner. Until now, it would just have deadlock or crashed ReactOS.
The implementation of this preserves hacks and stubplementations already in place in Cc (let's say it's another hack on top of hacks).
It was successfully tested with Ext2Fsd 0.66.

Short summary:
- Replace the VACB resource by a mutex
- Introduce a resource in the BCB
- Fixed CcPinRead() implementation so that it respects PIN_EXCLUSIVE flag
- Implement CcUnpinDataForThread() so that it can unpin data which ownership was changed
- Implement CcSetBcbOwnerPointer() so that it properly set BCB owner and allows unpinning with CcUnpinDataForThread()

CORE-11310 #resolve #comment Committed in r71406

svn path=/trunk/; revision=71406
2016-05-26 12:09:05 +00:00
Pierre Schweitzer c43741c804 [NTOSKRNL]
On CcInitializeCacheMap() call, keep track of the PinAccess value so that we can later check it on pinning.
It shouldn't be set to FALSE when the user attempts to perform pinning

CORE-11310

svn path=/trunk/; revision=71404
2016-05-26 11:50:42 +00:00
Hermès Bélusca-Maïto 3caf22d458 [USER32]: Remove a leftover from r59868.
svn path=/trunk/; revision=71403
2016-05-26 00:53:54 +00:00
Hermès Bélusca-Maïto 642c228981 [KERNEL32]: Indentation fix only.
svn path=/trunk/; revision=71402
2016-05-25 20:49:40 +00:00
Mark Jansen bf1990897f [APPHELP_APITEST] Remove some code duplication.
svn path=/trunk/; revision=71400
2016-05-25 17:22:47 +00:00
David Quintana b6bc3df218 [KERNEL32]
* Return TRUE from SetThreadStackGuarantee. Allows .NET 2.0 setup to complete and consequently allows some .net apps to work in ReactOS. Patch by the self-proclaimed Master of The Universe, Samuel Serapión.

svn path=/trunk/; revision=71399
2016-05-25 14:47:02 +00:00
Thomas Faber 412f0d26d0 [NTOS:EX]
- Use the calling thread instead of the passed-in thread to validate APC status in ExReleaseResourceForThreadLite. The latter can be user-set and might not be a KTHREAD at all.
CORE-11315 #resolve

svn path=/trunk/; revision=71398
2016-05-25 10:27:17 +00:00
Hermès Bélusca-Maïto 6305b9d645 [NTDLL]
Add exports for RtlOemStringToUnicodeSize, RtlUnicodeStringToAnsiSize and RtlUnicodeStringToOemSize as redirections to suitable Rtlx*** functions, as done in our ntoskrnl (and as on Windows either).
This should fix MSYS2 start on ReactOS.
CORE-10459 #comment Please retest!

svn path=/trunk/; revision=71397
2016-05-24 19:57:29 +00:00
Mark Jansen eb98416097 [CRT] Partially sync strtoi64 with Wine Staging 1.9.9. Patch by Samuel Serapión CORE-11174 #resolve #comment Thanks!
svn path=/trunk/; revision=71396
2016-05-24 19:27:57 +00:00
Pierre Schweitzer fff779dd5b [KMTESTS]
Add test for ExSetResourceOwnerPointer() and ExReleaseResourceForThreadLite()

CORE-11310

svn path=/trunk/; revision=71395
2016-05-24 08:13:17 +00:00
Eric Kohl 51881431dd [SERVICES]
- RChangeServiceConfigA/W: Modify or delete password secrets.
[ADVAPI32]
- ChangeServiceConfigA, CreateServiceA: Convert passwords to Unicode before passing them to the remote functions.

svn path=/trunk/; revision=71394
2016-05-23 21:48:32 +00:00
Pierre Schweitzer 0977ee2d46 [NTOSKRNL]
Fix misleading comment

svn path=/trunk/; revision=71393
2016-05-23 21:14:49 +00:00
Pierre Schweitzer 990c8c2740 [NTOSKRNL]
In Cc, replace the Vacb mutex by a Bcb resource.
Note that the resource is still placed in the Vacb by it belongs to the Bcb.
This is required to really implement CcSetBcbOwnerPointer().

CORE-11310

svn path=/trunk/; revision=71387
2016-05-23 19:47:39 +00:00
Eric Kohl 197eafa50e [SERVICES]
RCreateServiceW: Store a given password as a secret.

svn path=/trunk/; revision=71386
2016-05-23 15:02:37 +00:00
Eric Kohl 1dc0ccde6a [ADVAPI32]
Implement LogonUserEx[A/W].

svn path=/trunk/; revision=71385
2016-05-23 13:53:24 +00:00
Hermès Bélusca-Maïto dca4fd46af [ADVAPI32]: Implement all the Elf*** event log APIs as wrappers around the corresponding RPC calls, and the Win32 APIs just become calls to the Elf*** APIs.
svn path=/trunk/; revision=71384
2016-05-23 02:03:49 +00:00
Hermès Bélusca-Maïto 4b98341168 [IDL]: Whitespace fixes only.
svn path=/trunk/; revision=71383
2016-05-22 22:20:25 +00:00
Thomas Faber a315554938 [RTL]
- Return the ACE pointer from RtlFirstFreeAce also if it is at the end of the ACL buffer.
CORE-11304 #resolve

svn path=/trunk/; revision=71382
2016-05-22 22:11:54 +00:00
Mark Jansen f03661d8e1 [APPHELP][APPHELP_APITEST] Add more db tests and implement SdbGetDatabaseVersion. CORE-10367
svn path=/trunk/; revision=71381
2016-05-22 20:39:41 +00:00
Mark Jansen a6879a9948 [APPHELP][APPHELP_APITEST] Implement most of sdbread and sdbwrite, mainly the work of Mislav Blaževic, with some small additions from me. CORE-10367
svn path=/trunk/; revision=71380
2016-05-22 20:27:02 +00:00
Thomas Faber 5a7f64ba98 [SETUPAPI]
- Fix Buffer overflow in FixupServiceBinaryPath

svn path=/trunk/; revision=71379
2016-05-22 19:09:49 +00:00
Hermès Bélusca-Maïto 859060f887 [EVENTVWR]
- Fix the flags used in LoadLibraryEx calls for loading DLLs as resource files.
- Use a nice flag (FORMAT_MESSAGE_MAX_WIDTH_MASK) in FormatMessage calls so that no useless extra newlines are appended to the message strings that are recovered.
  This is especially useful when some strings as localized event log names are retrieved to be displayed in the menu (amongst other things)...
  This fixes CORE-8915 and fixes also the presentation of some event descriptions.
- Fix BuildLogList.

svn path=/trunk/; revision=71378
2016-05-22 19:00:55 +00:00