Commit graph

69364 commits

Author SHA1 Message Date
David Quintana ed2b3728b6 [BOOTLIB]
[BOOTMGR]
Disabled x86-specific code when building ARM.

[LIBSUPP]
Use a hack to replace inline asm which is not supported by MSVC ARM.

[DBGHELP]
Fix ARM register access from context struct.

[MSVCRT]
Fix typo in spec file.

[NTOSKRNL]
[WIN32SS]
Add asm dependency to *sys modules.

[CPPRT]
Add one of the missing constructor aliases. There's more, but my brain is fried at this point.

[BTRFS]
Define-away an include for x86-specific intrinsics.

This is the first batch of fixes for building reactos using the MSVC ARM toolchain. A lot more work is needed to get a full build including rostests and rosapps.

svn path=/trunk/; revision=75403
2017-07-25 17:30:21 +00:00
Pierre Schweitzer 294ab75756 [RDBSS]
- Implement RxCommonSetInformation(), RxpSetInfoMiniRdr(), RxSetBasicInfo()
- Stub RxSetAllocationInfo(), RxSetDispositionInfo(), RxSetEndOfFileInfo(), RxSetPipeInfo(), RxSetPositionInfo(), RxSetRenameInfo(), RxSetSimpleInfo()

CORE-8204
CORE-11327

svn path=/trunk/; revision=75402
2017-07-25 12:09:11 +00:00
Pierre Schweitzer 83bcd980a2 [XDK]
Define FILE_ATTRIBUTE_INTEGRITY_STREAM

svn path=/trunk/; revision=75401
2017-07-25 11:34:36 +00:00
James Tabor 65e31a0c41 [NtUser]
- Initialize rectangle to all zero's. See CORE-13582.

svn path=/trunk/; revision=75400
2017-07-24 23:48:08 +00:00
David Quintana b0469b9227 [CABMAN]
Fix pointer math ('unsigned long' will truncate the pointer).

[MKISOFS/SCHILY TOOLS]
Fix the invalid assumption that a 'long' variable can hold pointers. Will be sent upstream.

With this the whole of reactos and rostests builds on x64. Rosapps still has issues.

svn path=/trunk/; revision=75399
2017-07-24 18:37:25 +00:00
Pierre Schweitzer f8e1661549 [RDBSS]
- Implement __RxWriteReleaseResources(), RxCommonWrite(), RxCompleteMdl(), RxGetTopIrpIfRdbssIrp(), RxLowIoWriteShell(), RxLowIoWriteShellCompletion()
- Finish implementation of RxCommonCleanup() so that it handles setting EOF on a file
- Finish implementation of RxCommonCreate() so that it handles sharing violations and attempts to scavenge open files

[RXCE]
- Implement RxpScavengeFobxs(), RxpTrackDereference(), RxpTrackReference(), RxPurgeFobx(), RxPurgeRelatedFobxs(), RxReinitializeContext(), RxSetFileSizeWithLock(), RxScavengeFobxsForNetRoot()
- Fix a bug in RxPrefixTableLookupName() where it was badly handling nodes in scavenger

This commits brings several improvments to the NFS driver.
First of all, now, the driver handles creating, extending and writing to files!
It also handles purging dormant opened files when a file opening fails because of a sharing violation
Finally, it also brings something to look at our references issues in RDBSS to help finding out why our FCB are never (or nearly) dereferenced

CORE-8204
CORE-11327
CORE-13581

svn path=/trunk/; revision=75398
2017-07-24 17:05:05 +00:00
David Quintana 30a8a02f54 [APITESTS]
MSVCRT_CRT_APITEST: Remove getmainargs tests from X64 build.
DELAYIMP: Fix callback prototype.
CComHeapPtr: Fix implementation of IMallocSpy to match the actual interface.

[WINETESTS]
ntdll: Disable 'generated' tests when not i386 platform, since they were generated for x86 and not x64 or ARM.


Fixes x64 compilation for tests.

svn path=/trunk/; revision=75397
2017-07-24 15:09:22 +00:00
David Quintana 86c98bfda7 [BOOTLIB]
Stub out some arch-specific functions (fixes x64 build).

[USBPORT]
Actually fix x64 build. The old code was not working at all, but the bootlib errors cancelled the build earlier than I thought.

The X64 compilation now succeeds, but cabman crashes trying to generate the bootcd.

svn path=/trunk/; revision=75396
2017-07-24 15:08:16 +00:00
David Quintana a822da7802 [EXPLORER]
[RSHELL]
[NTOBJSHEX]
[BROWSEUI]
[SHELL32]
Get rid of the unused "placement new" operators.

svn path=/trunk/; revision=75394
2017-07-24 10:40:55 +00:00
David Quintana e0280ef3ab [USBPORT]
Oops, brainfart (Fixes 32bit build).

svn path=/trunk/; revision=75393
2017-07-24 10:37:53 +00:00
David Quintana cdf1fc5784 [MSPAINT]
Correct callback return type (Fixes X64 build).

[USETUP]
Correct definition of the struct (fixes X64 build).

[USBPORT]
Improve struct size checks so they are X64-compatible (fixes X64 build).

The build as a whole still fails due to bootlib, but implementing those is beyond my expertise.

svn path=/trunk/; revision=75392
2017-07-24 10:34:06 +00:00
Mark Jansen dbcb280e05 [SHORTCUTS.INF] Move the shortcut creation for screenshot.exe to the new rosapps_shortcuts.inf. Patch by Joachim Henze (reactosfanboy)
CORE-13426 #resolve #comment Thanks!

svn path=/trunk/; revision=75391
2017-07-22 20:23:33 +00:00
Mark Jansen 808c1d2aac [WIN32SS][SHELL32] Fix the location and repaint of the version info shown on the desktop. Patch by Katayama Hirofumi MZ.
CORE-13567 #resolve #comment Thanks!

svn path=/trunk/; revision=75390
2017-07-22 18:27:32 +00:00
Giannis Adamopoulos 6e74f9217a [EXPLORER] -Restore a call to RegLoadSettings while handling WM_DISPLAYCHANGE which was removed in r74221. This is not really correct since it resets the size and position of the taskbar but I add it back since it updates the cached rects for all four positions.
svn path=/trunk/; revision=75389
2017-07-22 17:13:06 +00:00
Mark Jansen 68a311b64d [SYSSETUP][SHORTCUTS.INF] Add FontSub program shortcut to Start Menu. Patch by Katayama Hirofumi MZ.
CORE-13428 #resolve #comment Thanks!

svn path=/trunk/; revision=75388
2017-07-22 16:55:08 +00:00
Hermès Bélusca-Maïto 2152b66c27 [UNATTEND]: Move a comment sign ';' to a better place.
svn path=/trunk/; revision=75387
2017-07-22 15:54:40 +00:00
Giannis Adamopoulos 74348be606 [EXPLORER] -Implement the minimum taskbar size for the vertical position.
svn path=/trunk/; revision=75386
2017-07-22 09:13:33 +00:00
Giannis Adamopoulos 0c41ef8fb6 [BROWSEUI]
-CBandSite: Remove CCS_NORESIZE style. This is a hack probably needed because our rebar control is buggy.

[EXPLORER]
-CTaskBand::GetBandInfo: Use the toolbar button size as the minimum and integral size for the band.
-CTaskSwitchWnd: Use the system small icon size for the size of the icon. Recreate the image list if this size changes. This together with the size of the font are the only factors for the size of the toolbar and consequently for the size of the band and if it is the only band, the size of the taskbar. Don't use TB_SETBUTTONSIZE. Now the size of the image list and the font dictate the size.
-CTrayWindow: In the classic theme make the start button have the same height with the tasks toolbar button height. Improve the calculation of the size of the taskbar in FitToRebar.

These changes should make the taskbar and the toolbar have a proper size. On top of that the taskbar is finally resizable (however our rebar is too buggy and still fills only the first line in the taskbar). While testing this I noticed that moving the taskbar in the sides of the screen is buggy now. I'm not sure if this was uncovered by these changes, if this was broken before or this was caused by these changes (looks unlikely to me) but will be fixed in subsequent commits).

svn path=/trunk/; revision=75385
2017-07-21 14:32:15 +00:00
Sylvain Petreolle ce979b05e3 Revert r70669, it was a change in an unused 3rd party file.
CORE-10629

svn path=/trunk/; revision=75383
2017-07-20 21:32:16 +00:00
James Tabor 2b90a87358 [NtUser]
- Patch by Huw Davies : Explicitly set last error to ERROR_SUCCESS.
- Remove hack and added a note.

svn path=/trunk/; revision=75382
2017-07-20 20:26:14 +00:00
James Tabor f11f599e16 [NtUser]
- Patch by Fabian Maurer : Don't send WM_CHAR when a menu gets VK_ESCAPE and add tests.

svn path=/trunk/; revision=75381
2017-07-20 19:57:25 +00:00
James Tabor f6da80a67e [NtUser]
- Patch by Alex Henrie : Tell MENU_SuspendPopup which message to remove.

svn path=/trunk/; revision=75380
2017-07-20 19:46:17 +00:00
James Tabor ab58eda781 [NtUser]
- Remove unused code and reintegrate wine code.

svn path=/trunk/; revision=75379
2017-07-20 19:40:17 +00:00
Sylvain Petreolle 6157c78fb8 Patch by Mike Swanson :
This adds support for Esperanto as a language and a keyboard layout based on the one from X.Org.

CORE-11021


svn path=/trunk/; revision=75378
2017-07-19 20:33:58 +00:00
Daniel Reimer 9d8a8c4366 [CAROOT]
Updates root CAs to recent ones.

svn path=/trunk/; revision=75377
2017-07-19 19:23:47 +00:00
Hervé Poussineau 86d4e580c0 [SETUPAPI] Do not crash when encountering a device with HardwareIDs
svn path=/trunk/; revision=75374
2017-07-19 09:19:11 +00:00
Sylvain Petreolle 06b5ec800a [BDASUP]
Add digital TV tuning device driver to build.

svn path=/trunk/; revision=75372
2017-07-18 22:48:18 +00:00
Hermès Bélusca-Maïto 6721692a02 [REACTOS]: Russian translation update part 2/2 by amber: time-zones.
svn path=/trunk/; revision=75370
2017-07-17 21:30:20 +00:00
Hermès Bélusca-Maïto dbdfdc99f7 [REACTOS]: Russian translation update part 1/2 by amber.
CORE-13248

svn path=/trunk/; revision=75369
2017-07-17 21:26:25 +00:00
Hermès Bélusca-Maïto e3397b9bdc [CRT]: Add a missing _munlock call, caught by Serge Gautherie.
CORE-11568

svn path=/trunk/; revision=75368
2017-07-17 20:55:34 +00:00
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