Commit graph

65826 commits

Author SHA1 Message Date
Thomas Faber 1fd8fbb550 [DNSAPI]
- Check for NULL pointer in DnsQuery to avoid crashing tests

svn path=/trunk/; revision=71711
2016-07-01 17:19:04 +00:00
Thomas Faber f6bb8b1fb6 [DNSAPI_APITEST]
- Fix unix build
ROSTESTS-226

svn path=/trunk/; revision=71710
2016-07-01 15:19:40 +00:00
Thomas Faber 2d22483bef [DNSAPI_APITEST]
- Add a test for DnsQuery. Patch by Víctor Martínez Calvo, with additional tests and fixes by me.
ROSTESTS-226 #resolve

svn path=/trunk/; revision=71709
2016-07-01 14:44:55 +00:00
Hermès Bélusca-Maïto e82d66cfa5 [KERNEL32]: Don't hardcode flag values for NtOpenKey.
svn path=/trunk/; revision=71708
2016-06-30 20:34:10 +00:00
James Tabor 74a8923afe [Win32SS]
- Remove unused flag and set old menu type back, based on wine.

svn path=/trunk/; revision=71707
2016-06-30 17:01:14 +00:00
Ged Murphy 2dc8635605 - Revert the revert, we're now back to the latest config file.
- Turn off SERVER_BASED_SEARCH in the hope that it fixes the search issues.

svn path=/trunk/; revision=71706
2016-06-30 16:52:44 +00:00
James Tabor e95ca2d8b7 [NtUser]
- Use internal function to validate menu handle. See CORE-11479 for more information.

svn path=/trunk/; revision=71704
2016-06-30 15:48:20 +00:00
Hermès Bélusca-Maïto 876a3b2681 [KERNEL32]
- Whitespace fixes (dosdev.c, except.c, loader.c)
- except.c: Remove some unneeded casts; NtQueryInformationProcess for 'ProcessDebugPort' is implemented and therefore it will never return STATUS_NOT_IMPLEMENTED.

svn path=/trunk/; revision=71703
2016-06-30 14:00:34 +00:00
Hermès Bélusca-Maïto b92e83d7b9 [NOTEPAD]: Fix German menu keyboard shortcuts, by Joachim Henze.
CORE-11461 #resolve #comment German shortcut fixed, thanks!

svn path=/trunk/; revision=71702
2016-06-29 23:21:07 +00:00
Hermès Bélusca-Maïto 168b37af43 [CONSRV]: "Fix" pasting non-ansi characters in console by removing the code that was too careful (when pasting text we don't generally use the associated virtual key/scan code, but just the unicode character itself.
CORE-11465 #resolve #comment Fixed! You can paste cyrillic text in the console without problems, and it is correctly understood.

svn path=/trunk/; revision=71701
2016-06-29 23:14:29 +00:00
Hermès Bélusca-Maïto cf4c3fc4ee [SHORTCUTS]: Update the translations for the ReactOS Read-Me file desktop shortcut. Courtesy David Quintana (gigaherz) for spanish, 'valeriusL' for russian, Grégory Macário Harbs (Mysoft) for portuguese, myself for german, italian, dutch and ukrainian (translators, please check those 4 last languages ^^ ).
svn path=/trunk/; revision=71700
2016-06-29 21:19:13 +00:00
Hermès Bélusca-Maïto 144be49260 [PING]: Fix statistics information in the case sending a ping packet fails. Patch by Tim Crawford.
CORE-10274 #resolve #comment Fixed, thanks for the report!

svn path=/trunk/; revision=71699
2016-06-29 20:30:43 +00:00
Hermès Bélusca-Maïto 666b0279ee [NOTEPAD]: Fix russian menu keyboard shortcuts, by 'denis2dev'.
CORE-11461 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=71698
2016-06-29 20:25:49 +00:00
Hermès Bélusca-Maïto c37ff9ea32 [SUBST]
- Update the resource program description.
- Convert to full UNICODE.
- Use Win32 functions where possible.
- Factor-out the usage of QueryDosDevice into a QuerySubstedDrive function, that returns error codes according to whether the specified drive is a mapped (substed) drive, or is just an existing drive that is not a mapping, or if the drive does not exist. This allows us to detect attempts to use a drive letter that is not a mapped drive, to define a new mapping, and if so we reject such attempt.
This fixes CORE-10681 #resolve #comment Fixed with another patch according to my last remark.

svn path=/trunk/; revision=71695
2016-06-29 00:38:51 +00:00
Hermès Bélusca-Maïto 3d73fce572 [COMP]: Fix code header & resource program description.
svn path=/trunk/; revision=71694
2016-06-29 00:29:27 +00:00
Hermès Bélusca-Maïto 38416a7c00 [SUBST]
- Headers reordering.
- Use ARRAYSIZE.
- Give the internal helper function IsSubstedDrive just the single letter of the drive to check for.
- AddSubst and DeleteSubst: both take a drive string of *exactly* two characters: the drive letter and the ':' (and of course there's the NULL terminator): fix the parameter check in this regard.
- AddSubst: It is possible on Windows to use the DefineDosDevice API to map a drive letter to a *file* (yes yes!!) (but the mapping made is unusable). Forbids this case in SUBST since it is not made for that.
CORE-10681

svn path=/trunk/; revision=71693
2016-06-28 20:22:07 +00:00
Hermès Bélusca-Maïto 6d8d3402b3 [SUBST]: CORE-10681 #comment Apply part of Peter Hater's patch proposed in CORE-10681, that is, fixing the usage of QueryDosDevice API, but without the new IsDriveUsed functionality. (r71692)
svn path=/trunk/; revision=71692
2016-06-28 19:21:08 +00:00
Hermès Bélusca-Maïto 31eec4a410 [LAUTUS.MSSTYLES]: Russian translation by 'amber'
CORE-11425 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=71691
2016-06-28 18:54:16 +00:00
Hermès Bélusca-Maïto 469896aec5 [COMP]: Russian translation by 'amber'
CORE-11424 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=71690
2016-06-28 18:53:12 +00:00
James Tabor 87b3226b1d [NtUser]
- Remove unused code, enhance wine'isms while checking for menus.

svn path=/trunk/; revision=71689
2016-06-28 16:15:06 +00:00
James Tabor 4c070bf073 [NtUser]
- Patch by Victor Matovykh : Remove menu spacing if there is no menu to paint.

svn path=/trunk/; revision=71688
2016-06-28 15:56:21 +00:00
Hermès Bélusca-Maïto 5113536603 [KERNEL32]: Whitespace fixes only, no functional code changes.
svn path=/trunk/; revision=71687
2016-06-27 22:36:12 +00:00
Eric Kohl def1d69426 [SERVICES]
RSetServiceObjectSecurity: Modify and store a service security descriptor.

svn path=/trunk/; revision=71686
2016-06-27 22:35:54 +00:00
Eric Kohl 90c41c110a [RTL]
Implement the core functionality of RtlpSetSecurityObject. Still incomplete.

svn path=/trunk/; revision=71685
2016-06-27 22:25:17 +00:00
Eric Kohl aa7b502c14 [SERVICES]
- Create the absolute default service security descriptor when services.exe starts up.
- Create a self-relative security descriptor whenever it is needed.

svn path=/trunk/; revision=71684
2016-06-27 22:19:19 +00:00
Hermès Bélusca-Maïto 0a1b24ef17 [SUBST]: Fix help message indentation in different languages.
svn path=/trunk/; revision=71683
2016-06-27 20:10:59 +00:00
Hermès Bélusca-Maïto a34c94d027 [SHELL32]: Adjust the size of the static text in the logoff dialog, for German language. Patch by 'reactosfanboy'.
CORE-11446 #resolve #comment Thanks!

svn path=/trunk/; revision=71682
2016-06-27 19:44:20 +00:00
Eric Kohl 86b93c239e [SERVICES]
Create an individual security descriptor for each service. We cannot use a common default security descriptor because RtlSetSecurityObject will free the old security descriptor when we try to set a new one.

svn path=/trunk/; revision=71679
2016-06-26 20:09:37 +00:00
Hermès Bélusca-Maïto 4fb300ea06 [EVENTVWR]
- No need to pop up an error box if we cannot find an event message resource DLL for the current event log.
- Flatten out GetEventMessageFileDLL a bit.
- Fix a comment.

svn path=/trunk/; revision=71678
2016-06-26 19:36:38 +00:00
Eric Kohl d8eb428154 [SERVICES]
Use self-relative security descriptors only:
- Convert the default service security descriptor to the self-relative format.
- Remove security descriptor format conversions from ScmReadSecurityDescriptor and ScmWriteSecurityDescriptor.

svn path=/trunk/; revision=71676
2016-06-26 15:02:48 +00:00
Mark Jansen 6f6f0dfc4e [SCHANNEL] add missing function to the delayload header. Spotted by Peter Hater. CORE-11270 #resolve
svn path=/trunk/; revision=71675
2016-06-26 12:52:46 +00:00
Pierre Schweitzer 1edb644ad2 [FASTFAT]
Don't allow renaming a directory if there are opened files in it.
The way we do it for now isn't fully optimal and could be really improved, but that's a first step in the right direction.
This should help getting rid of FAT volumes corruption.
This also fixes a few winetests it seems.

CORE-11426 #comment Patch that fixes bug 3 committed in r71674

svn path=/trunk/; revision=71674
2016-06-26 10:23:35 +00:00
Thomas Faber d19532d463 [NTOS:LPC]
- Avoid dereferencing a null pointer in LpcpDeletePort. By Samuel Serapión.
CORE-6850 #resolve

svn path=/trunk/; revision=71673
2016-06-25 23:27:45 +00:00
Thomas Faber b25491463d [SHELL32_APITEST]
- Add a test for CShellLink GetPath/SetPath behavior with environment variables. Patch by Andreas Maier.
ROSTESTS-229 #resolve

svn path=/trunk/; revision=71672
2016-06-25 22:09:49 +00:00
Hermès Bélusca-Maïto dbffece26e Fix build (i.e. a change that shouldn't have been done).
svn path=/trunk/; revision=71671
2016-06-25 20:12:18 +00:00
Hermès Bélusca-Maïto 21cc5e26a7 [EVENTVWR]
- Remove a unused header.
- Start (re)working on the functions that retrieve strings associated to event categories and messages.
- Just display the event category number if we are unable to retrieve its associated string.
- If we cannot retrieve the event source for formatting purposes, use a default string and append the event strings to it.
- Fix some problems related to the usage of 'lpComputerName': this global variable stores the computer name on which the Event Viewer is running (or connected to) and view the available logs. Don't overwrite it with computer names from the events.

- Modify some localized strings in the resource files. Translators, please review/fix translations!

svn path=/trunk/; revision=71670
2016-06-25 20:08:58 +00:00
Hermès Bélusca-Maïto 60aee9fc9e [EVENTVWR]
- Use C-style comments.
- Move the helper FreeRecords function closer to where it is used.
- Use the EVENTLOG_BASE_KEY define instead of re-hardcoding the registry path to the EventLog service.

svn path=/trunk/; revision=71669
2016-06-25 19:36:59 +00:00
Amine Khaldi 94c119a9c9 [MSI_WINETEST] Sync with Wine Staging 1.9.12. CORE-11266
svn path=/trunk/; revision=71668
2016-06-25 11:28:00 +00:00
Amine Khaldi 47da43b8e1 [MSI] Sync with Wine Staging 1.9.12. CORE-11266
svn path=/trunk/; revision=71667
2016-06-25 11:27:22 +00:00
Amine Khaldi c0e08dd9be [PSDK] Add missing msidbServiceInstallErrorControl enum.
svn path=/trunk/; revision=71666
2016-06-25 11:26:38 +00:00
Ged Murphy a95c7e6be8 Let's see if reverting the doxyfile makes doxygen useful again (or just breaks it)
svn path=/trunk/; revision=71656
2016-06-21 09:02:06 +00:00
Hermès Bélusca-Maïto 3a5a38a065 [i8042prt]: Add yet another Dell Latitude D620 hack to make its trackpad work.
CORE-11431 #resolve
CORE-6901

svn path=/trunk/; revision=71654
2016-06-19 13:13:01 +00:00
Eric Kohl 309b68de7d [SC]
Add EnumDepend command.

svn path=/trunk/; revision=71653
2016-06-18 11:18:53 +00:00
Eric Kohl 47dae4bd05 [SC]
Add GetKeyName command.

svn path=/trunk/; revision=71651
2016-06-16 21:18:59 +00:00
Mark Jansen 2df110e92d [MSGINA_APITEST] Add a test for ShellDimScreen, used to fade out the background of the logoff dialog. Thanks to Jared for finding the api, and Hermès for his help! CORE-11422
svn path=/trunk/; revision=71649
2016-06-16 21:00:08 +00:00
Eric Kohl 7d66c9341d [SC]
Add GetDisplayName command.

svn path=/trunk/; revision=71648
2016-06-16 19:47:50 +00:00
Eric Kohl ffe9e79d41 [SC]
- Reorganized some commands in order to add erros and success messages.
- Added error and success messages.
- Enabled usage text for the failure command.

svn path=/trunk/; revision=71645
2016-06-15 21:28:33 +00:00
Mark Jansen 3320cc95a2 [SHELL32] Use the logoff dialog instead of the generic ConfirmDialog. Patch by Jared Smudde. CORE-11413 #resolve #comment Thanks!
svn path=/trunk/; revision=71643
2016-06-15 17:46:26 +00:00
Hermès Bélusca-Maïto 2a6da4ca41 [APITESTS]: Fix MSVC warning C4114: "same type qualifier used more than once".
svn path=/trunk/; revision=71642
2016-06-15 17:45:06 +00:00
Eric Kohl caa61ecac3 [SC]
Add some error and success messages to the config and description commands.

svn path=/trunk/; revision=71640
2016-06-14 22:00:34 +00:00