Commit graph

687 commits

Author SHA1 Message Date
Giannis Adamopoulos dea602cd70 [COMCTL32] -Button: Implement drawing the image list with the BUTTON_IMAGELIST_ALIGN_CENTER parameter. This is enough to fix buttons with images created by Lazarus but only with themes. The non themed branch of the code is slightly more complex and will be fixed next. CORE-13170 2017-11-10 20:59:25 +02:00
Adam Słaboń 7273a7ba21
Polish Translation update 2017-11-09 22:40:49 +01:00
Eric Kohl a2a372398a [SETUPAPI]: CM_Open_DevNode_Key_Ex: FIXME/ERR --> TRACE 2017-11-05 17:55:25 +01:00
Eric Kohl d57b0ef91e [SETUPAPI] GetDeviceInstanceKeyPath: Fix temporary buffer allocation, add missing code paths and fix registry paths.
This should fix parts of CORE-13944.
2017-11-05 17:31:34 +01:00
Stas'M 484f33f0d3 [BROWSEUI] CBandSiteMenu
- Move SHGetFolder code to CreateBuiltInISFBand
- Get rid of CSIDL_FLAG_CREATE (Windows doesn't create Quick Launch
directory)
- Use ILFree since variables are reused now
2017-11-05 14:06:47 +02:00
Eric Kohl d9a3398172 [SETUPAPI] Update some more functions to the current coding style, add annotations and add function names to the TRACE calls. 2017-11-05 11:33:08 +01:00
Giannis Adamopoulos 78b78d6e73 [SHELL32] SHBrowseForFolderW: Fix creating directories in the desktop and in drives like C: CORE-13925 2017-11-05 12:11:10 +02:00
Eric Kohl 8e850d19bc [SETUPAPI] GetDeviceInstanceKeyPath: Implement the CM_REGISTRY_SOFTWARE | CM_REGISTRY_CONFIG part. 2017-11-05 09:39:44 +01:00
Eric Kohl 06f9e1220f [SETUPAPI] CM_Open_DevNode_Key_Ex: Add support for remote registry access and the Disposition parameter. 2017-11-04 21:19:39 +01:00
Eric Kohl f86e78d00b [SETUPAPI] Update some functions to the current coding style, add annotations and add function names to the TRACE calls. 2017-11-04 19:01:28 +01:00
Eric Kohl 78cf2a04a5 [SETUPAPI] Start the implementation of CM_Open_DevNode_Key_Ex(). 2017-11-04 17:26:38 +01:00
Stas'M 1eea9304e1 [DBGHELP] [XDK] [ARM64] Fix magic constant 2017-11-04 14:01:27 +01:00
Thomas Faber bcbe0dd8cd
[CPL] Remove unnecessary DLGPROC casts. 2017-11-03 13:57:44 +01:00
Giannis Adamopoulos dd4af77703 [SHELL32] SHBrowseForFolder: Fix creating a new folder (which was broken two years ago and was properly reported 3 days ago). CORE-13925 2017-11-03 12:12:58 +02:00
Hermès Bélusca-Maïto 11049bd6d8
[COMCTL32] comctl32/propsheet: Fix redrawing of the static text elements.
Partial revert of SVN r74136 (b1b4279): enforce the correct "color" for
the background of the static text elements: indeed, using a "transparent"
background kept instead the old window color, which was not correctly
repainted, unless you enforced a repaint by, e.g. moving away then back
the window, or moved something else on top of it.

Tested and approved by 'reactosfanboy'.
Was detected as a regression in the wizard of DVDWrite Now 1.5.12
Formatter GUI.

CORE-13929
CORE-12912
2017-11-02 23:52:33 +01:00
Manuel Bachmann 9192d39f6e [SHELL32] Fix multiple selection of desktop icons
This fixes the following issue : when selecting multiple icons
on the desktop, and then right-clicking; the Properties sheet
would immediately be displayed, conflicting with the context
menu.
2017-11-02 21:55:39 +02:00
Giannis Adamopoulos 2875a70c0a [BROWSEUI] Add a todo comment block in CISFBand.cpp and CBandSite.cpp regarding some problems and missing features when using the quick launch toolbar. These two lists are not complete but cover most important problems of quick launch. There is no need to create bug reports for these. 2017-11-02 19:52:02 +02:00
Amine Khaldi fe6d46f86e [SHELL32] Properly set case -714 as TBN_DRAGOUT. CORE-11799 (#94) 2017-10-30 21:53:00 +01:00
Amine Khaldi 830fc82afe [SERIALUI] Set the stdcall calling convention for CommDlgProc() and make it return INT_PTR. CORE-11799 (#94) 2017-10-30 21:49:10 +01:00
Thomas Faber ba8f75557a
[SHELL32][REGEDIT][MSCONFIG_NEW] Correctly check for presence of list view sort header. 2017-10-29 22:00:18 +01:00
Pierre Schweitzer ebe9735835
[KERNEL32] Fix a FIXME in WaitNamedPipeW(): allow waiting on a remote pipe 2017-10-29 20:34:49 +01:00
Pierre Schweitzer a80f5f53e7 [KERNEL32] In GetLogicalDrives(), if NtQueryInformationProcess() call succeed, but return drive map is empty, make sure returned error is success.
Patch by Alex Ionescu
2017-10-29 14:49:59 +01:00
Amine Khaldi 5cb0615147 [BROWSEUI][DEVMGR][EXPLORER][NTGDI][NTOBJSHEX][NTVDM][SETUPAPI] Remove/comment out some unused variables. CORE-11799 (#94) 2017-10-28 15:04:18 +01:00
Amine Khaldi 9cb62498de [GLU32] Add TrimRegion destructor when compiling with clang-cl. CORE-11799 (#94) 2017-10-28 14:06:01 +01:00
Amine Khaldi 788efd34a8 [OPENGL32] Set the stdcall calling convention for wglGetDHGLRC(). CORE-11799 (#94) 2017-10-28 13:56:32 +01:00
Amine Khaldi 706a70c9e1 [NTDLL][NTUSER][SPOOLSS][WINSPOOL] Add some missing VOIDs. CORE-11799 (#94) 2017-10-28 13:46:11 +01:00
Amine Khaldi ce4ecd604d [SHELL32] Remove some unused members and comment out some unused Wine code. CORE-11799 (#94) 2017-10-27 23:51:44 +01:00
Amine Khaldi 5a14845970 [MSAFD] Properly define SockAsyncThread() and avoid the cast. CORE-11799 (#94) 2017-10-27 23:47:30 +01:00
Giannis Adamopoulos d310df0dd2 [SHELL32] CDefView: Fix a leak of an HMENU. This fix is thanks to Joachim Henze who found the bug and quickly found the guilty revision. CORE-13911 2017-10-26 21:39:32 +03:00
Giannis Adamopoulos 27fe3d475f [ACPPAGE] Convert CLayerUIPropPage to use CPropertyPageImpl 2017-10-26 12:37:08 +03:00
Pierre Schweitzer 0add5d0a79 [KERNEL32] Fix MSVC build 2017-10-23 17:25:19 +02:00
Pierre Schweitzer 34c39a1336 [KERNEL32] Implement NpGetUserNamep() 2017-10-23 17:09:21 +02:00
Pierre Schweitzer 19cef7806c [KERNEL32] Fix a FIXME in GetNamedPipeHandleStateW and stub a private function for a left unimplemented function 2017-10-23 14:36:18 +02:00
Pierre Schweitzer 3832f83a32 [KERNEL32] Check Basep8BitStringToDynamicUnicodeString() return and only call -W in case of success
CID 1419330
2017-10-23 13:39:44 +02:00
Pierre Schweitzer 19f1cd78c1 [KERNEL32] Check NtQueryInformationFile succeed before using its return. Also fix coding style
CID 512966
2017-10-23 12:36:43 +02:00
Giannis Adamopoulos 143c306006 [BROWSEUI] CBandSiteMenu: Use CSimpleArray and CComHeapPtr. 2017-10-22 20:03:32 +03:00
Giannis Adamopoulos 3bfdbf3b2c [BROWSEUI] Improve CBandSiteBase::OnWinEvent to forward messages correctly to the child bands. 2017-10-22 20:03:32 +03:00
Giannis Adamopoulos bab9a54039 [BROWSEUI] Add a hack and abuse ISFB_STATE_QLINKSMODE to make the quick launch band to be aligned to left and show no text 2017-10-22 20:03:32 +03:00
Giannis Adamopoulos ee3b732043 [BROWSEUI] CISFBand: Misc fixes
- Slightly improve the implementation of IShellFolderBand
- Show both folders and files in the toolbar
- Use the name of the folder shown as the name of the band
2017-10-22 20:03:32 +03:00
Giannis Adamopoulos 37e6151b40 [BROWSEUI] CBandSiteMenu: Implement the Desktop, Quick Launch and New Toolbar menu items 2017-10-22 20:03:32 +03:00
Giannis Adamopoulos 0ed80264f9 [BROWSEUI] CBandSiteMenu: Fix two broken loops 2017-10-22 20:03:32 +03:00
Giannis Adamopoulos 3e812a66ff [BROWSEUI] Enable the menu items for the toolbars submenu of the CBandSiteMenu. Also add a new string which will be used in the next commit. 2017-10-22 20:03:32 +03:00
Giannis Adamopoulos 8a52080dcc [BROWSEUI] Rename CISFBand_CreateInstance and add a CISFBand_CreateInstance macro that makes easy to switch between the system implementation or the local one. 2017-10-22 20:03:32 +03:00
Amine Khaldi fec16ab0c0 [MSI] Apply Wine commit fdac39f by Hans Leidekker: Pass correct length to GetDateFormatW. CORE-13902 2017-10-21 11:45:18 +01:00
Serge Gautherie ba507ba439 [SYSSETUP] [USERINIT] "sLanguage" relates to LOCALE_SABBREVLANGNAME actually, not LOCALE_SLANGUAGE. CORE-13128 #62 2017-10-17 13:59:18 +01:00
Giannis Adamopoulos f0f1e5ffdb [QCKLNCH] Remove qcklnch (#61)
- Move CIFSBand to the shellbars static lib which is linked to browseui and rshell.
- Move CQuickLaunchBand to rshell.
- Make nescessary adjustments so that they can both be registered and instantiated.
2017-10-16 23:56:34 +03:00
Pierre Schweitzer ed263291d1 [UBTRFS] Update to 1.0.1
CORE-13896
2017-10-16 20:30:24 +02:00
Pierre Schweitzer fb2a56e02a [SHELLBTRFS] Upgrade to 1.0.1
CID 1419312

CORE-13896
2017-10-16 20:30:16 +02:00
Giannis Adamopoulos a4576f5509 [STOBJECT] Fix build on linux 2017-10-16 18:21:02 +03:00
Giannis Adamopoulos 3c9aedfd1c [QCKLNCH] Fix gcc build 2017-10-16 18:15:20 +03:00
Shriraj Sawant 7fbc5f4230 [STOBJECT] Implement the hotplug and the power icons in the system tray 2017-10-16 17:51:19 +03:00
Shriraj Sawant 7a3865f1df [QCKLNCH] Implement the quick launch shell extension including the CISFBand 2017-10-16 17:51:12 +03:00
Pierre Schweitzer 6808e7d25b [LIBTIRPC] Fix CVE-2017-8779 by backporting its fix
CORE-13460
2017-10-15 13:55:07 +02:00
Pierre Schweitzer 5bfc68cc14 [KERNEL32] Fix buffer size for allocation in GetVolumeInformationW(). This fixes function failing with big enough buffer. 2017-10-15 10:43:49 +02:00
Pierre Schweitzer dc8bfeabcf [KERNEL32] Use proper size for allocating buffer in GetVolumeInformationA(). This was leading to allocate a too small buffer under certain conditions and to overrun it.
This fixes JRE7 setup.
This regression was brought in by r75969.

CORE-13888
2017-10-14 23:19:12 +02:00
Serge Gautherie 41b94fd17b [INTL]: Simplify code (addendum to r74582). (#41)
CORE-13242
2017-10-13 22:24:37 +02:00
Waritnan Sookbuntherng 1128447196 [WIN32K][DESK.CPL]: Add fit and fill background placement options (#28)
- WIN32K and DESK.CPL: Add fit and fill background placement options.
- DESK.CPL: Define wallpaper placement constants; update translations.
- WIN32K: Fix coding style.
CORE-13360
2017-10-13 21:44:02 +02:00
Alisson Lauffer 5d0a122ff6 [TRANSLATION]: Brazilian Portuguese translation update for input.cpl (#51) 2017-10-12 00:10:23 +02:00
Jared Smudde a8ad1702da [SYSSETUP] Change "Select the theme you prefer" to "Select the theme you prefer." to fit in with the other titles in second stage setup. 2017-10-11 13:22:24 +02:00
Stopkin Sergey 74cc91524a [GETUNAME] Update the Russian translation. #45 CORE-13222 2017-10-10 13:03:32 +01:00
Adam Słaboń 9c790dfc3b Polish translation update (#29)
* Polish translation update
2017-10-10 12:14:38 +02:00
Mark Jansen 4dafcc5ea2 [MSI] Fix a buffer overrun in build_default_format CORE-13881
Imported wine commit:
f517022: msi: Fix an invalid write in build_default_format (Valgrind).
2017-10-09 12:33:18 +01:00
Amine Khaldi 15786900c9 [MSI] Addendum to 71bffdc as I removed this unintentionally. 2017-10-09 12:32:09 +01:00
Hermès Bélusca-Maïto d260385023 [KERNEL32]: Add a .gitattributes file for the winnls resource files.
The .nls files in winnls are actual resource text files for kernel32 and not binary NLS files.
Therefore treat them as such.
2017-10-08 15:48:07 +02:00
Amine Khaldi e7054d7688 [AMSTREAM] We don't need to define WIDL_C_INLINE_WRAPPERS here anymore. 2017-10-08 14:32:50 +01:00
Amine Khaldi e38cdd2f62 [MSCOREE] Fix build. 2017-10-08 14:28:58 +01:00
Amine Khaldi 57cda5aa7d [MSDMO] Fix build. 2017-10-08 12:28:23 +01:00
Amine Khaldi 7d346cbc73 [SHLWAPI] Highlight a difference and mark the module as synced with Wine Staging 2.16. CORE-13762 2017-10-08 12:09:52 +01:00
Amine Khaldi ea59f30f86 [WMVCORE] Sync with Wine Staging 2.16. CORE-13762
998fe04 wmvcore: Support IWMPacketSize2 interfaces in IWMReader.
0570cf9 wmvcore: Support IWMProfile3 interfaces in IWMReader.
98e94b2 wmvcore: Support IReferenceClock interfaces in IWMReader.
163aac1 wmvcore: Support IWMLanguageList interfaces in IWMReader.
b1702c4 wmvcore: Support IWMHeaderInfo/2/3 interfaces in IWMReader.
73f8066 wmvcore: Support IWMReaderPlaylistBurn interface in IWMReader.
b15c398 wmvcore: Support IWMReaderTimecode interface in IWMReader.
465feb7 wmvcore: Support IWMReaderTypeNegotiation interface in IWMReader.
437c667 wmvcore: Support IWMReaderStreamClock interface in IWMReader.
34b9b10 wmvcore: Support IWMReaderNetworkConfig1/2 interfaces in IWMReader.
94af027 wmvcore: Support IWMReaderAccelerator in IWMReader.
3f6b7c3 wmvcore: Add WMCheckURLScheme stub.
7381cec wmvcore: Implement WMCreateWriterPriv.
2017-10-08 11:49:33 +01:00
Amine Khaldi 85d9a38ac0 [D3DX9_24 => 43] Sync with Wine Staging 2.16. CORE-13762 2017-10-08 11:48:29 +01:00
Amine Khaldi 71bffdcde9 [MSI] Sync with Wine Staging 2.16. CORE-13762
cb4c1dc msi: Always return MSIDBSTATE_ERROR when MsiGetDatabaseState is called from a custom action.
04d242d msi: Create dummy thread to initialize COM for custom actions.
52fbaeb msi: Add support for ActionText table.
700ebc8 msi: Return the correct values from dialogs.
a3dd99c msi: Return the current date and time.
4ccc82a msi: Use the Error table for more messages.
77e3d33 msi: Use MsiProcessMessage() to send error messages.
3ca2dfe msi: Avoid uninitialized pointer access on error path (Coverity).
d631714 msi: Add a trailing linefeed to a FIXME() trace.
39c2ff0 msi: Send the dialog created message in dialog_create().
14f865e msi: Don't queue a parent dialog to be shown in EndDialog.
8826584 msi: Process ShowDialog/EndDialog after all other control events.
44fb23d msi: Don't set _BrowseProperty.
b4c39f4 msi: Avoid a null pointer dereference.
51bd884 msi: Properly parse empty format strings.
16f0dff msi: Return the correct values from custom actions.
f348c7c msi: Rewrite dump_record().
f9c68df msi: Use the given record for INSTALLMESSAGE_ACTIONDATA.
c788ed85 msi: Provide the result of the last action.
1505912 msi: Allow setting NULL in MsiSetInteger().
f9f53fe msi: Correctly format the template field for MsiProcessMessage().
3033dae msi: Implement UI messages for dialogs.
5da9250 msi: Don't increment the refcount when creating dialogs.
48237e2 msi: Add a basic internal UI implementation.
39b841d msi: Fix a buffer overrun.
9032279 msi: Implement UI messages in MsiOpenPackage().
bcc4a04 msi: Implement INSTALLMESSAGE_INITIALIZE and INSTALLMESSAGE_TERMINATE.
a388906 msi: Send the correct UI messages upon calling MsiDoAction().
de5246a msi: Don't reimplement record formatting.
4e49ae3cc msi: Pass the given record to the callback.
df31a7c msi: Store string and record callback data separately.
cef6799 msi: Use an external UI record handler before a string handler.
2017-10-08 11:31:31 +01:00
Mark Jansen 48fe08654d [URLMON] Convert urlmon.inf to utf8 since git insists on fucking up utf16 files. 2017-10-07 23:43:57 +02:00
Hermès Bélusca-Maïto 66c2299bfe Fix encoding of some INF files (-> UTF-8 without BOM). 2017-10-07 22:21:22 +02:00
Mark Jansen da27e0026a [URLMON] Remove BOM from urlmon.inf 2017-10-07 22:11:41 +02:00
Amine Khaldi bd6e933ca5 [MSI] Group translations into the lang folder. 2017-10-07 12:41:53 +01:00
Colin Finck 950c86fb4c Fix remaining text file line endings in the tree. (#18)
Based on https://stackoverflow.com/a/1511273

Also enforce CRLF for all *.xml files in our tree, because they are distributed with ReactOS.
2017-10-06 15:00:36 +02:00
Pierre Schweitzer d7ee95b28b [KERNEL32]: w2k3ify GetDriveTypeA() 2017-10-05 23:43:10 +02:00
Pierre Schweitzer cb17d5dba4 [KERNEL32]: Reimplement GetDriveTypeW(). This allows providing a quick path for DOS drives and fixes a few detection cases. It allows brings in support for mount points. 2017-10-05 23:41:26 +02:00
Pierre Schweitzer 676bd0cf37 [KERNEL32]: Finally get rid of no longer used function InternalOpenDirW() 2017-10-05 22:14:44 +02:00
Pierre Schweitzer 8b6518139d [KERNEL32]: Reimplement GetDiskFreeSpaceExA() to make it w2k3 compliant 2017-10-05 22:14:44 +02:00
Pierre Schweitzer 1e2424ee98 [KERNEL32]: Refactor a bit GetDiskFreeSpaceExW(), no ground breaking changes 2017-10-05 22:14:44 +02:00
Pierre Schweitzer 87448f3d8b [KERNEL32]: Reimplement GetDiskFreeSpaceA() to make it w2k3 compliant 2017-10-05 22:14:44 +02:00
Pierre Schweitzer 5bee374c82 [KERNEL32]: Reimplement GetDiskFreeSpaceW() to fix various issues in it. It also brings support for appcompat 2017-10-05 22:14:44 +02:00
Hermès Bélusca-Maïto f9b6429468 Delete "ghost" old(*) files that have been mysteriously added back during the SVN-to-Git transition.
To check that these changes are correct, checkout in a directory (let's call it "ros_svn") the /trunk/reactos/ of our read-only SVN repo r76032 and in /trunk/reactos/modules/, the rosapps, rostests and wallpapers.
In a second directory (let's call it "ros_git"), clone the corresponding Git-converted ReactOS directory.
Before applying this patch (and the previous one that added back the empty directories), you should see additional files in ros_git that are not in ros_svn, corresponding to these files I'm deleting here (plus some .gitignore files),
and you should also see additional files in ros_svn that do not appear in ros_git: these are the empty directories I've restored in my previous patch.

Now, after the application of both the previous patch that restores the empty directories (and deletes the .gitignore files), and this patch that removes the ghost files, you should only see that the only differences
between ros_git and ros_svn are the extra .keep files in the empty directories, and that's all!

Command-line for the tests:
diff --strip-trailing-cr -r ros_svn ros_git > diff_svn2git.txt

"-r" means recursive, and "--strip-trailing-cr" ignores the CR-LF vs. LF (or CR) EOLs.

(*): by "ghost" old(*) files I understand files that existed previously in the far past, that then were deleted long ago in SVN, and that popped out back during the Git migration.
2017-10-04 10:28:36 +02:00
Hermès Bélusca-Maïto 221ed4cefe Remove unwanted .gitignore files. 2017-10-04 10:28:36 +02:00
Sergei Abramov b4f0a71f90 [NTOBJSHEX] Fix typo.
Patch by Sergei Abramov.
CORE-13863
2017-10-04 10:16:12 +03:00
Colin Finck c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00