Commit graph

69334 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto f87f8bea7d [CMD]: Update the description of the START command, with the commutators that are known to work.
Translators, please update the translations based on en-US!

svn path=/trunk/; revision=75366
2017-07-17 17:17:22 +00:00
Hermès Bélusca-Maïto 1345a5a8a7 [MSVCRT][CRT]: Improvements/fixes over popen(), from Wine code and ported by Andreas Maier: the popen_handles array, which is used in _pclose, was never filled. _popen correctly fills it now.
Should fix returned codes by popen() and pclose(), which are functions that are called by windres, and this latter expects them to succeed. This was not the case before, in ROS, and therefore
trying to e.g. compile ROS within ROS failed from time to time with windres throwing the error that "preprocessing failed".
CORE-11568 #resolve

svn path=/trunk/; revision=75365
2017-07-17 16:11:18 +00:00
Hermès Bélusca-Maïto 73375485df [MSVCRT_APITEST]: Commit a simple test for popen(), by Andreas Maier.
CORE-11568

svn path=/trunk/; revision=75364
2017-07-17 15:27:40 +00:00
Hermès Bélusca-Maïto 2a5ed24776 [RXCE]: Fix bug, thanks MSVC! (warning C4553)
svn path=/trunk/; revision=75363
2017-07-17 12:47:18 +00:00
Eric Kohl f5dcc15bd4 [NETAPI32]
DsAddressToSiteNamesExW: Remove dead code.
This bug was found by Christian Bosch. Thanks a lot!

svn path=/trunk/; revision=75362
2017-07-16 21:48:30 +00:00
Giannis Adamopoulos 689777616b [SHELL32]
-CRegFolder: Implement CRegFolder::EnumObjects. Change its constructor to receive an extra parameter for the name of the key that should be enumerated.
-CEnumIDListBase: Add a new method called AppendItemsFromEnumerator to facilitate merging the contents from one IEnumIDList to another.
-Use the above in the enumerators of CControlPanelFolder, CDesktopFolder and CDrivesFolder to make them significantly simpler.

svn path=/trunk/; revision=75360
2017-07-16 15:13:02 +00:00
Mark Jansen 347ea70d19 [SHIMENG] Pass shim commandline to shims. CORE-11329
svn path=/trunk/; revision=75359
2017-07-16 13:56:08 +00:00
Mark Jansen 116dfc5bd7 [SHIMLIB] Add debug print functionality for shims. CORE-11329
svn path=/trunk/; revision=75358
2017-07-16 13:50:23 +00:00
Mark Jansen 9215c5efc4 [ACPPAGE] Usability: Convert the edit box to a combobox, ask the user if they want to add the layer when closing the dialog.
svn path=/trunk/; revision=75357
2017-07-16 13:47:16 +00:00
Mark Jansen e41b7d9270 [SHELL32] Do not dereference a nullpointer for logging. CORE-13552
svn path=/trunk/; revision=75356
2017-07-16 13:44:18 +00:00
Sylvain Petreolle 21fc538caa Patch by Serge Gautherie:
[BOOTDATA]
hivesys.inf: Put 'Mup' service back in 'File System' group. (Fix r72450)
Fixes installation of Vmware Tools which was always hanging.
CORE-12107 #resolve


svn path=/trunk/; revision=75355
2017-07-16 13:37:29 +00:00
Pierre Schweitzer 13ae1129e5 [RDBSS]
Complementary to r75353: implement RxCancelNotifyChangeDirectoryRequestsForFobx()

CORE-11327

svn path=/trunk/; revision=75354
2017-07-15 11:41:24 +00:00
Pierre Schweitzer 8f00170a93 [RDBSS]
Implement RxNotifyChangeDirectory(), RxLowIoNotifyChangeDirectoryCompletion(), RxCancelNotifyChangeDirectoryRequestsForVNetRoot()

This means the first parts of the directory watch are here. Though, NFS driver doesn't support these, but at least, it reduces the UNIMPLEMENTED spam!

CORE-11327

svn path=/trunk/; revision=75353
2017-07-15 10:05:32 +00:00
Giannis Adamopoulos 0c134b04f8 [SHELL32] -Move CFSExtractIcon_CreateInstance to CFSFolder.cpp
svn path=/trunk/; revision=75352
2017-07-15 09:38:45 +00:00
Mark Jansen e12241f5a1 [USBPORT] Fix incorrect transfer direction for URBs. Patch by Vadim Galyant. CORE-13546
svn path=/trunk/; revision=75351
2017-07-15 09:24:30 +00:00
Giannis Adamopoulos c343d309f2 [SHELL32]
- CDesktopFolder: Create the enumerators of the internal fs folders and add their items in its own list instead of calling CreateFolderEnumList which enumerates ... files.
- Remove CEnumIDListBase::CreateFolderEnumList and move its code to CFileSysEnum::Initialize.

svn path=/trunk/; revision=75350
2017-07-15 09:18:06 +00:00
Pierre Schweitzer 9f3cbac23f [SHELL32]
In case a FSD doesn't support directory changes notifications, don't try to requeue a notification each time it returns 0 data.
Just quit instead.

CORE-13549

svn path=/trunk/; revision=75349
2017-07-15 07:48:47 +00:00
Pierre Schweitzer c4689f7e1d [SHELL32]
Avoid double-free and use-after-free in case the FSD fails to register the change directory notification

CORE-13549

svn path=/trunk/; revision=75348
2017-07-15 07:45:28 +00:00
James Tabor 47ade62a62 [ENG]
- Patch by Katayama Hirofumi MZ : Add counts to path data. See CORE-13536.

svn path=/trunk/; revision=75347
2017-07-15 03:58:42 +00:00
Hermès Bélusca-Maïto f6dbb71053 [USETUP]: Also adapt the INFCONTEXT structure here.
svn path=/trunk/; revision=75344
2017-07-14 22:17:12 +00:00
Hermès Bélusca-Maïto 882901c398 [INFLIB][FREELDR]: Introduce a (non-used) "CurrentInf" field in the INFCONTEXT structure, to make it compatible with the "standard" one defined in setupapi.h, so that it can be possible to either use our inflib or setupapi.dll in our code.
This will break build inside usetup, and this will be fixed in the next commit.

svn path=/trunk/; revision=75343
2017-07-14 22:15:48 +00:00
Mark Jansen 39596fae98 [APPHELP_APITEST] Convert test_match_ex to a data driven test + fix a bug in the apitest.
svn path=/trunk/; revision=75342
2017-07-14 20:35:11 +00:00
Mark Jansen 9f1e4379e0 [SPOOLSS] Stub BuildOtherNamesFromMachineName as seen in wine commit cdb5f35. This fixes a crash in spoolss:spoolss
svn path=/trunk/; revision=75341
2017-07-14 20:05:27 +00:00
Mark Jansen ae49e29351 [APPCOMPAT] Various fixes.
- Simplify shimdbg output as suggested by Thomas
- Simplify media/sdb/sysmain.xml
- Fix some warnings + a debug print

svn path=/trunk/; revision=75340
2017-07-14 19:29:34 +00:00
Peter Hater eb6e21dd58 [ADNS] Add function to return number of DNS servers available for query.
[DNSAPI] Use newly added function to return without search if no DNS servers are available.
CORE-13441 #resolve

svn path=/trunk/; revision=75339
2017-07-14 16:05:31 +00:00
Hermès Bélusca-Maïto 0b6eedad3a [WIN32K]: Addendum to r75332 : fix variable usage without initialization error C4700 (certainly due to a copy-paste error), caught by MSVC compiler...
CORE-13536

svn path=/trunk/; revision=75337
2017-07-14 01:37:06 +00:00
Hermès Bélusca-Maïto 41f2eb6c3e [GETUNAME]: Translation update by Sergey Stopkin.
CORE-13222 #resolve

svn path=/trunk/; revision=75335
2017-07-14 00:40:31 +00:00
Hermès Bélusca-Maïto 00d7ab957b [CMAKE]: Correctly set valid PE image version numbers for the OS subsystem (GCC builds), and image and OS version numbers from the NT OS version ReactOS is based on.
svn path=/trunk/; revision=75333
2017-07-13 20:50:49 +00:00
James Tabor 899d12e786 [Eng]
- Implement PATHOBJ_Xxx service routines, see CORE-13536.

svn path=/trunk/; revision=75332
2017-07-13 19:34:49 +00:00
James Tabor e61d96aa6a [NtGDI]
- Update path structure for future use.

svn path=/trunk/; revision=75329
2017-07-13 17:30:15 +00:00
James Tabor deaa7df817 [Win32SS]
- Remove old GDI structure and use the new one.

svn path=/trunk/; revision=75326
2017-07-13 01:59:41 +00:00
Hermès Bélusca-Maïto be9a0afc1f [SHELL32]: Enable showing the sorting arrows in the sorting header column of shell folder listviews.
CORE-11776 #resolve

svn path=/trunk/; revision=75325
2017-07-13 00:21:32 +00:00
Hermès Bélusca-Maïto 6f2c13e4df [WELCOME]: Diverse improvements:
- Compute once, when loading the list of topics with their associated commands, their special arguments or starting paths. The computed values can then be used each time a topic command is invoked.
- Distinguish between runnable commands (aka. external executables or files to be started), and internal actions like <msg> and <exit>.
- I have recently discovered that Windows' welcome.exe could also use a custom (OEM) "welcome.ini" file, much like what we already supported: see http://i.imgur.com/Se3IoQN.png .
  To make ours backwards-compatible with Windows' one, rename the "Button" keyword into "MenuText", and introduce two new keywords "ConfigCommand" and "ConfigArgs" that specify respectively the command to be started
  and its associated arguments. We continue to support our "Action" keyword for specifying internal actions.
- Improve the loading of the localized resources from the INI files.
- Correctly print the ReactOS version text, at a correct position depending on whether the checked box is display or not.
- Simplify some StringCchCopy + StringCchCat calls into StringCchPrintf.
- Simplify the code that creates the different fonts to be used within the program.
- Use more readable resource ID names.

svn path=/trunk/; revision=75322
2017-07-12 22:16:50 +00:00
Mark Jansen d9827356db [WIN32SS] Fix EqualFamilyInfo function logic. Patch by Victor Martinez Calvo, modified by Katayama Hirofumi MZ.
CORE-13411 #resolve, CID 1411971

svn path=/trunk/; revision=75321
2017-07-12 18:40:49 +00:00
Giannis Adamopoulos 3841692020 [COMCTL32_APITEST] - Log the dwDrawStage when the NM_CUSTOMDRAW is received to make the test slightly more descriptive.
svn path=/trunk/; revision=75320
2017-07-12 12:17:05 +00:00
Thomas Faber 4c8e09598a [USBPORT]
Patch by Vadim Galyant:
- Improve variable naming
- Make more consistent use of constants

svn path=/trunk/; revision=75314
2017-07-09 21:05:58 +00:00
Giannis Adamopoulos 0e8444a310 [EXPLORER]
- CTrayWindow: Implement the IContextMenu interface. This will be used by the CBandSite to query the context menu of its site (the CTrayWindow) and add it in its context menu. 
- CTrayWindowCtxMenu: Use Shell_MergeMenus in QueryContextMenu and respect its parameters.

svn path=/trunk/; revision=75313
2017-07-09 20:57:01 +00:00
James Tabor 1c0aedce83 [ENG]
- Turn on GradientFill apply small hack fix to keep it out of a loop.
- Turning code off does not fix the code, 8 years later!

svn path=/trunk/; revision=75312
2017-07-09 18:06:24 +00:00
Hermès Bélusca-Maïto d2fc6e6ee2 [old_WORDPAD]: Fix typo (caught by user_trisquel).
svn path=/trunk/; revision=75311
2017-07-09 16:06:07 +00:00
Mark Jansen d88628173c [FONTS] Add substitutes for the System font, and remove a hack for the System font. Patch by Katayama Hirofumi MZ. CORE-9222
svn path=/trunk/; revision=75310
2017-07-09 15:06:49 +00:00
Pierre Schweitzer 36532bafeb [RDBSS]
Fix broken assignment.
Spotted by cppcheck.

svn path=/trunk/; revision=75309
2017-07-08 21:22:55 +00:00
Eric Kohl 994a9eced3 [NETAPI32]
- Add DsAddressToSiteNamesExA stub.
- Implement DsAddressToSiteNamesExW.

svn path=/trunk/; revision=75308
2017-07-08 21:07:29 +00:00
Pierre Schweitzer ae1901b2c3 [RXCE]
- Define RxShouldPostCompletion() and use it
- Define RxIsResourceOwnershipStateExclusive() and use it
- Define some magic values

[RDBSS]
- Implement CheckForLoudOperations(), RxAdjustFileTimesAndSize(), RxIsOkToPurgeFcb()
- Continue implementation of RxCommonCleanup()
- Fix bugs in the RxCommonCleanup() implementation and make it more explicit when in the delete on close path
- Stub RxCleanupPipeQueues(), RxLowIoLockControlShell()
- Silent a few DPRINTs

CORE-8204
CORE-11327

svn path=/trunk/; revision=75307
2017-07-08 17:12:33 +00:00
Eric Kohl f45220c16f [NETAPI32]
- Add DsValidateSubnetNameA/W stubs.
- Move DsRoleFreeMemory to a better location.

[SDK/INCLUDE]
Add DsValidateSubnetNameA/W prototypes to dsgetdc.h.

svn path=/trunk/; revision=75306
2017-07-08 12:00:44 +00:00
Eric Kohl a18e985b12 [NETAPI32]
- Add DsDeregisterDnsHostRecordsA stub.
- Implement DsDeregisterDnsHostRecordsW.

[SDK/INCLUDE]
Add DsDeregisterDnsHostRecordsA/W prototypes to dsgetdc.h.

svn path=/trunk/; revision=75305
2017-07-08 09:11:22 +00:00
Hermès Bélusca-Maïto 0a7125a8be Integrate the USERINIT changes r75295, r75302 and r75303 from the setup_improvements branch back to trunk.
svn path=/trunk/; revision=75304
2017-07-08 00:23:33 +00:00
Giannis Adamopoulos 201f83b4b1 [SHELL32]
- Simplify SHELL32_CoCreateInitSF by letting the callers fill the PERSIST_FOLDER_TARGET_INFO. This lets us stop using _ILSimpleGetTextW in it which breaks the logic that pidls should be read only by their shell folder. Also add an overload for SHELL32_CoCreateInitSF  that makes it simpler to create a shell folder with a csidl.
- Add a SHELL32_BindToSF helper to share some logic that was duplicated in several shell folders.
- Move SHELL32_GetCustomFolderAttributeFromPath, SHELL32_GetCLSIDForDirectory and SHELL32_GetFSItemAttributes, SHELL32_BindToFS to CFSFolder.cpp as these were fs specific.
- These changes give finer control to shell folders for how the bind will be done and shares more logic that can be shared.

svn path=/trunk/; revision=75301
2017-07-07 20:34:27 +00:00
Eric Kohl 99fe0ae037 [NETAPI32]
- Add DsMergeForestTrustInformationW stub.
- Implement DsGetForestTrustInformationW.

[SDK/INCLUDE]
Add DsGetSiteNameA/W, DsGetForestTrustInformationW and DsMergeForestTrustInformationW prototypes to dsgetdc.h.

svn path=/trunk/; revision=75300
2017-07-07 17:59:14 +00:00
James Tabor 04b696718d [NtGDI]
- Return Set if managed, part of CORE-12888.

svn path=/trunk/; revision=75294
2017-07-06 19:13:49 +00:00
James Tabor a1938e7ca3 [NtUser]
- Part of CORE-13110. Set DC window rectangle and pointer.

svn path=/trunk/; revision=75293
2017-07-06 19:06:29 +00:00