• last updated 32 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[SHELL32] -Remove IShellView_Constructor and CDefView_Constructor. Use SHCreateShellFolderView and SHCreateShellFolderViewEx instead.
    • -7
    • +41
    /trunk/reactos/dll/win32/shell32/CDefView.cpp
[NTFS] - Add a few fixes and improvements, most from CR-123:

-Add ATTR_RECORD_ALIGNMENT define to replace magic value of 8 when we need to adjust an attribute's beginning or length.

-Don't use int's.

-GetPackedByteCount() - Remove unused "bytes" variable.

[PRINTING]

Apply a consistent style to all similar functions:

- Spoolss functions don't necessarily set ERROR_SUCCESS. Check the boolean return value instead and only query the error code on failure.

- Use AlignRpcPtr and UndoAlignRpcPtr wherever feasible.

- Use one static function per level that can be called from both Get* and Enum* APIs.

- Use PackStrings in all functions that return structures with strings.

- Add TRACEs to all non-static functions in localspl.

- Pass a double pointer to all Marshalling functions and advance to the next structure there.

- Perform sanity checks and return the right error codes in a Windows-compatible way.

- Return TRUE when an Enum* API has no elements to enumerate.

Also fixes CORE-12793

  1. … 4 more files in changeset.
[RXCE]

- Implement RxFinalizeConnection(), RxOrphanSrvOpens()

- Stub RxOrphanSrvOpensForThisFcb()

[RDBSS]

- Fix a bug in RxCommonDevFCBClose() where prefix table wasn't acquire exclusively; this was problematic due to potential prefix table removal on dereference

- Stub RxCancelNotifyChangeDirectoryRequestsForVNetRoot()

This commit basically allows you to delete a NFS share you would have made use of in ReactOS.

Like net use z: \\share\path can be deleted through net use /delete z:

Note that if you access the share using cmd tools (dir, copy, more, and so on), dismount will work.

If you attempt to access with Explorer, then, handles will be kept open and dismount will fail.

CORE-8204

CORE-11327

    • -0
    • +6
    /trunk/reactos/sdk/include/ddk/rxprocs.h
    • -12
    • +12
    /trunk/reactos/sdk/include/ddk/fcb.h
    • -0
    • +5
    /trunk/reactos/sdk/include/ddk/rxcontx.h
    • -0
    • +1
    /trunk/reactos/sdk/include/ddk/mrxfcb.h
    • -0
    • +237
    /trunk/reactos/sdk/lib/drivers/rxce/rxce.c
[MPR]

Import Wine commit:

- 26192671700360859cd8a0133dabcd96ec1a786b, Implement WNetConnectionDialog().

CORE-13516

    • -3
    • +11
    /trunk/reactos/dll/win32/mpr/wnet.c
[NTFS] - Add some fixes and improvements to mft.c from CR-123:

FindAttribute() - Use * sizeof(WCHAR) in place bit-shifting wizardry.

IncreaseMftSize() - Remove two useless casts. Return error code if WriteAttribute() fails.

SetNonResidentAttributeDataLength() - Assert that AttrContext parameter describes a NonResident attribute. When migrating a resident attribute to non-resident, don't leak memory if FsRtlInitializeLargeMcb() throws an exception, and don't mark the attribute as non-resident until after the Mcb is initialized.

InternalSetResidentAttributeLength() and SetResidentAttributeLength() - Assert that AttrContext parameter describes a resident attribute.

AddNewMftEntry() - Simplify math of backing up and restoring reserved bits by changing BitmapData to PUCHAR type. Don't attempt to modify a volume with more than 2^32 clusters.

AddFixupArray() - Use ULONG in place of int.

[NTFS] - Add some fixes and improvements to finfo.c from CR-123:

NtfsSetEndOfFile() - Make fileNameAttribute and filename variables uppercase. Don't leak FileRecord if we can't truncate the file. Don't leak memory if there's no FileName attribute.

[WELCOME]: UI improvements:

- Allow only one running instance of the Welcome application at a time.

- Implement translating \xhhhh hexadecimal character specifications in topic text descriptions.

- Allow using the keyboard for navigating amongst the topics, and ENTER key presses to run the selected topic command.

<rant> *OF COURSE*, because we are ReactOS *SO* we are *buggy* (well, user32/win32k), keyboard navigation via arrow keys *DOES NOT WORK*!! (only navigation via TAB key do work) 8^(((( </rant>

This however works OK on Windows.

- Improve topic buttons activation when mouse hovers around above the window, as well as when window activation is lost or regained.

- Change the default text font to Tahoma.

- Don't hardcode white brush, but instead use stock object WHITE_BRUSH. Similarly, don't hardcode text black colour, but instead use the ambient text colour of the system.

- Add keyboard shortcuts to the default topic items.

- Shift the window ID of both the checkbox and the Exit buttons to be below a fixed topic-button base ID.

- In GetLocaleName(), use more explicit returned-variable names (cchRet, because it's a returned string length in character numbers).

    • -5
    • +5
    /trunk/reactos/base/setup/welcome/lang/hu-HU.rc
    • -5
    • +5
    /trunk/reactos/base/setup/welcome/lang/zh-CN.rc
    • -5
    • +5
    /trunk/reactos/base/setup/welcome/lang/sq-AL.rc
    • -5
    • +5
    /trunk/reactos/base/setup/welcome/lang/et-EE.rc
    • -3
    • +3
    /trunk/reactos/base/setup/welcome/lang/ja-JP.rc
    • -5
    • +5
    /trunk/reactos/base/setup/welcome/lang/de-DE.rc
    • -5
    • +5
    /trunk/reactos/base/setup/welcome/lang/tr-TR.rc
    • -5
    • +5
    /trunk/reactos/base/setup/welcome/lang/ms-MY.rc
    • -5
    • +5
    /trunk/reactos/base/setup/welcome/lang/fr-FR.rc
    • -5
    • +5
    /trunk/reactos/base/setup/welcome/lang/id-ID.rc
    • -5
    • +5
    /trunk/reactos/base/setup/welcome/lang/pt-BR.rc
    • -5
    • +5
    /trunk/reactos/base/setup/welcome/lang/sv-SE.rc
    • -5
    • +5
    /trunk/reactos/base/setup/welcome/lang/ro-RO.rc
    • -5
    • +5
    /trunk/reactos/base/setup/welcome/lang/es-ES.rc
    • -5
    • +5
    /trunk/reactos/base/setup/welcome/lang/zh-TW.rc
  1. … 15 more files in changeset.
[NTFS] - Add some fixes and improvements to create.c, dirctl.c and fcb.c from CR-123:

-NtfsOpenFile() - Replace an ExFreePool() with ExFreePoolWithTag().

-NtfsCreateFile() - Fix broken cast with BooleanFlagOn() macro.

-NtfsAddFilenameToDirectory() - Remove an extra cast. Return an error if we fail to allocate I30IndexRoot.

-NtfsGetNextPathElement(), NtfsWSubString(), NtfsGetFCBForFile() - Use PCWSTR in place of const PWCHAR or PWCHAR where it makes sense.

[NTFS] - Add some fixes and improvements to btree.c from CR-123:

-CompareTreeKeys() - Assert that the first key isn't the dummy key.

-CreateIndexRootFromBTree() - Assert that CurrentKey->IndexEntry->Length isn't 0.

-DumpBTreeKey() - Use sizeof(WCHAR) in place of magic 2.

-NtfsInsertKey() - Check for allocation failure of NewKey.

[NTFS] - Add some fixes and improvements to attribute.c from CR-123:

-AddFileName() - Don't use dedicated buffer for FileNameNoPath, just point into FileObject->FileName's buffer. Don't use RtlCopyUnicodeString(), just update pointers.

-AddRun() - Fix an SEH2_YIELD with missing return statement.

-FreeClusters() - Use ULONG_MAX in place of 0xffffffff.

-NtfsDumpIndexRootAttribute() - Use consistent UpperCase naming convention. Use BooleanFlagOn() macro where appropriate. Replace magic 8 with sizeof(ULONGLONG).

-GetFileNameAttributeLength() - Add documentation.

[NTFS] - Fix UpdateFileNameRecord() when the file being updated resides in $INDEX_ROOT. Also, don't attempt to read beyond size of index root attribute, and check return value after reading.
[NTFS] - Fix AddFileName() when the file path is two or more directories deep.
[QCKLNCH]

-Added en-US.rc

-Localized Menu resource.

-Added a string table and localized some strings.

-Major fixes like removing IDeskBar.

-Minor suggestions fixed.

CR-122 (https://code.reactos.org/cru/CR-122#details)

PS: Thank you everyone for spending your time and giving a thorough review. :)

[GDI32_WINETEST]

- Sync with Wine main head 2017-07-03.

[USER32_APITEST] Add tests to validate the messages sent during MDI window creation. CORE-12052

The test passes from 2k3 - 10.

    • -0
    • +481
    /trunk/rostests/apitests/user32/CreateWindowEx.c
[REACTOS]: Introduce the experimental all-in-one ReactOS BootCD, containing both the text-mode 1st-stage installer and the LiveCD functionality with the 1st-stage GUI installer.

Our separate LiveCD ISOs become obsolete, and this completely remove the need for the so-called "hybridcd" ISO.

Some details:

- the "hybridcd" build target is completely removed, since now the new BootCD *is* basically what we used to call "hybridcd";

- the "livecd" build target is kept so far (to minimize the code changes), but internally I start to refer to it as "LiveImage", and it is reduced to a minimum: currently a minimal non-bootable "liveimage.iso"

is built in order to implement the "ReactOS Live in RAMDISK" functionality (we currently don't support other file formats apart from ISO and flat disk for a RAMDISK), while the "ReactOS Live" (non-RAMDISK)

is implemented by adding to the BootCD file tree the files from the LiveImage. These files add two root directories, "Profiles" and "reactos" (the SystemRoot for the non-ramdisk LiveImage).

- The minimal text-mode ReactOS installation used during the 1st-stage text-mode installer, including USETUP itself and the executable for the 1st-stage GUI installer and the reactos.cab (installation source) are moved

to the root directory called "i386" (ideally, one directory per architecture).

- the "bootcdregtest" target, i.e. the ISOs we feed our testbots with, are left untouched, i.e. they are only constituted of the 1st-stage text-mode installation, in the root directory named "reactos".

More details will be presented in a subsequent mail to the ros-dev mailing list.

[QCKLNCH]

-Refactors and some code fixes (like CComHeapPtr, IID_PPV_ARG, _countof, etc.).

-Minor suggestions fixed.

CR-122 (https://code.reactos.org/cru/CR-122#details)

SelfNote: Should check if CComHeapPtr is overused! ;p

[NET]

On dismount, you can either use: net use /delete <drive>: or net use <drive>: /delete

CORE-13517

[NETAPI32]

- Add DsGetDcSiteCoverageA stub.

- Implement DsGetDcSiteCoverageW.

[SDK/INCLUDE]

Add DsGetDcSiteCoverageA/W prototypes to dsgetdc.h.

    • -0
    • +16
    /trunk/reactos/sdk/include/psdk/dsgetdc.h
    • -12
    • +92
    /trunk/reactos/dll/win32/netapi32/netlogon.c
    • -2
    • +2
    /trunk/reactos/dll/win32/netapi32/netapi32.spec
[RXCE]

Assorted fixes:

- Avoid list corruption

- Avoid stack corruption

- Avoid ASSERT on FCB reuse for same file type

CORE-11327

    • -22
    • +27
    /trunk/reactos/sdk/lib/drivers/rxce/rxce.c
[NETAPI32]

- Add DsAddressToSiteNamesA stub.

- Implement DsAddressToSiteNamesW.

[SDK/INCLUDE]

Add DsAddressToSiteNamesA/W and DsAddressToSiteNamesExA/W prototypes to dsgetdc.h.

    • -2
    • +2
    /trunk/reactos/dll/win32/netapi32/netapi32.spec
    • -0
    • +34
    /trunk/reactos/sdk/include/psdk/dsgetdc.h
    • -0
    • +87
    /trunk/reactos/dll/win32/netapi32/netlogon.c
[COPYSUP]

Addendum to r75265 (bis)

    • -0
    • +1
    /trunk/reactos/sdk/lib/drivers/CMakeLists.txt
[RDBSS]

Addendum to r75265

[RDBSS]

- Implement RxCloseAssociatedSrvOpen(), RxFastIoRead(), RxPurgeNetFcb(), RxRemoveShareAccess(), RxRemoveShareAccessPerSrvOpens()

- Continue implementation of RxCommonCleanup() to handle allocated SRV_OPEN

- Halfplement RxFastIoCheckIfPossible() so that it handles read operations

- Stub RxCancelNotifyChangeDirectoryRequestsForFobx()

[RXCE]

- Implement RxChangeBufferingState(), RxFinalizeSrvOpen(), RxFreeFcbObject(), RxGatherRequestsForSrvOpen(), RxGetDeviceObjectOfInstance(), RxInitializeRxTimer(), RxMarkFobxOnCleanup(), RxMarkFobxOnClose(), RxpDiscardChangeBufferingStateRequests(), RxpDispatchChangeBufferingStateRequests(), RxpLookupSrvOpenForRequestLite(), RxpMarkInstanceForScavengedFinalization(), RxPostOneShotTimerRequest(), RxPrepareRequestForReuse(), RxProcessChangeBufferingStateRequestsForSrvOpen(), RxpUndoScavengerFinalizationMarking(), RxPurgeChangeBufferingStateRequestsForSrvOpen(), RxPurgeFobxFromCache(), RxRemoveNameNetFcb(), RxScavengerTimerRoutine(), RxTimerDispatch()

- Finish implementation of RxDereference() to handle scavenger

- Finish implementation of RxLowIoCompletionTail() to handle blocked operations resume

- Fix a bug in RxFinalizeNetFcb() where it was dereferencing its NET_ROOT instead of its V_NET_ROOT

- Fix bugs in __RxAcquireFcb() where it improperly handled the lack of RX_CONTEXT

- Halfplement RxResumeBlockedOperations_ALL() to extract blocked operations from RX_CONTEXT (and drop them...)

- Stub RxDispatchChangeBufferingStateRequests(), RxScavengerFinalizeEntries()

[COPYSUP]

- Implement FsRtlCopyRead2()

This library is basically what you can find in FsRtl with an extended support of Top Level IRP. It is used by RDBSS for FastIO. Next to come in it will be FsRtlCopyWrite2().

This commit brings several improvements to current work on RBDSS/RXCE. First of all, both libraries will leak less (again!).

It also brings the scavenger infrastructure (not fully fonctionnal though). Our NFS driver doesn't make use of it though.

Finally, this brings support of FastIO (for read operations ;-)) to our NFS driver!

Regarding CORE-13484, with copy + FastIO I could copy a file without troubles. But that seems to be still problematic with xcopy without FastIO...

CORE-13484

CORE-11327

    • -96
    • +1409
    /trunk/reactos/sdk/lib/drivers/rxce/rxce.c
    • -0
    • +27
    /trunk/reactos/sdk/include/ddk/rxprocs.h
    • -0
    • +18
    /trunk/reactos/sdk/include/ddk/buffring.h
    • -0
    • +2
    /trunk/reactos/sdk/include/ddk/mrxfcb.h
    • -36
    • +70
    /trunk/reactos/sdk/include/ddk/fcb.h
    • -0
    • +18
    /trunk/reactos/sdk/lib/drivers/copysup/copysup.h
    • -0
    • +7
    /trunk/reactos/sdk/lib/drivers/copysup/CMakeLists.txt
    • -0
    • +4
    /trunk/reactos/sdk/include/ddk/scavengr.h
    • -0
    • +1
    /trunk/reactos/sdk/include/ddk/nodetype.h
    • -0
    • +9
    /trunk/reactos/sdk/include/ddk/rxtimer.h
    • -0
    • +182
    /trunk/reactos/sdk/lib/drivers/copysup/copysup.c
    • -0
    • +16
    /trunk/reactos/sdk/include/ddk/rxcontx.h
[SHIMDBG] Output both to the console and the debug output + fix a copypasta error.
[REGEDIT] Pre-select the text in the edit dialog.
[APPHELP] Propagate applied layers to child processes by setting the env var __COMPAT_LAYER. CORE-13284
[NETAPI32]

- Add DsEnumerateDomainTrustsA, DsEnumerateDomainTrustsW, DsRoleFreeMemory, DsGetDcNameA, DsGetDcNameW, DsGetSiteNameA and DsGetSiteNameW stubs to netlogon.c.

- Remove the now obsolete file ds.c.

- Implement DsGetSiteNameW and NetEnumerateTrustedDomains. These functions call their counterpart in the netlogon service.

    • -1
    • +1
    /trunk/reactos/dll/win32/netapi32/netapi32.spec
    • -87
    • +0
    /trunk/reactos/dll/win32/netapi32/ds.c
    • -2
    • +135
    /trunk/reactos/dll/win32/netapi32/netlogon.c
[QCKLNCH]

-Whitespace fixes

-Minor suggestions fixed.

-Minor refactors and some code fixes.

CR-122 (https://code.reactos.org/cru/CR-122#details)