Commit graph

67119 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto b5beb7dffc Fix a comment.
svn path=/trunk/; revision=73046
2016-10-26 22:06:02 +00:00
Hermès Bélusca-Maïto c3363cb938 [DESK.CPL]: Patch by Ismael Ferreras Morezuelas:
Implement all the controls in the ``Effects'' section of desk.cpl, except 'Big icons'; make the comboboxes slightly wider; rename user-facing ``ClearType'' to ``FreeType Antialised'' as a nod to the supporting library while avoiding patented and trademarked words.
CORE-10606

svn path=/trunk/; revision=73045
2016-10-26 22:02:24 +00:00
Hermès Bélusca-Maïto 60cf552825 [DESK.CPL]: Fix trailing whitespace, some indent + code formatting style.
svn path=/trunk/; revision=73044
2016-10-26 21:14:39 +00:00
Hermès Bélusca-Maïto 682cc491e7 [EVENTVWR]
- Fix FormatMessage flags sanitization.
- Use "LANG_USER_DEFAULT" instead of MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT) (these are the same, but one is shorter than the other).
- In case LookupAccountSidW fails to retrieve the user name of an associated SID, use ConvertSidToStringSidW to get the SID string directly and display it, instead of claiming there is no associated user for a given event.
- In addition to display (in the status bar) the number of events in the selected log, display the number of events actually listed. This can be useful when events filtering will be completely implemented, and it can be also useful for detecting possible corrupted logs where the number of enumerable events is different (less) than the total number of events in the log...
==> To translators: please update the translations!
CORE-11637

svn path=/trunk/; revision=73043
2016-10-26 20:32:11 +00:00
Johannes Anderwald 1ac7d54efd [USBAUDIO]
- implement audio volume property handler

svn path=/trunk/; revision=73042
2016-10-26 18:09:19 +00:00
Colin Finck 3720040f9d [LOCALUI]
Replace the "localui.dll" from my branch with the newer version in trunk.
This is one of the very few (if not the only) printing component that we can continue to sync with WINE, because it only uses Win32 API to communicate with the Local Port Monitor (localmon.dll in our implementation).

svn path=/trunk/; revision=73040
2016-10-26 12:47:39 +00:00
Colin Finck fcaeb4d6a4 [PRINTING]
Finally merge my branch "colins-printing-for-freedom", giving us an initial implementation of a Win32-compatible Printing Stack (localmon, localspl, spoolss, spoolsv, winspool)
You can now send raw data to parallel port printers using documented Win32 API. An example application is in my "winspool_print" commandline tool merged to rosapps.
ReactOS folks, thanks for your support during the development of this, making my bachelor's thesis a reality! :)

Documentation/Thesis: https://svn.reactos.org/reactos/trunk/documentation/articles/Printing%20Stack%20Thesis/thesis.pdf
Video: https://www.youtube.com/watch?v=cNzePucTOLY

CORE-10489

svn path=/trunk/; revision=73039
2016-10-26 12:37:27 +00:00
Kamil Hornicek 2c8607a700 [WIN32K]
- fix a typo in the default logical palette copy
- fix color table computation for 8 bpp in GreGetDIBitsInternal (formula taken from gdi32:bitmap winetest)

svn path=/trunk/; revision=73038
2016-10-26 10:21:46 +00:00
Hermès Bélusca-Maïto c51f0d6551 And the usual thing... "fix build".
svn path=/trunk/; revision=73036
2016-10-25 23:57:35 +00:00
Hermès Bélusca-Maïto 1f9c38b3b9 [EVTLIB]: Create a EvtLib library for manipulating the event log file format from anywhere.
[EVENTLOG]: Make usage of this library.
CORE-11868 #resolve #comment Committed in r73035.

[EVENTLOG]: Protect the global handle table with a lock as it seems to me that this needs serialization. Please notify me if you think this is not actually necessary (and I'll revert that in case).

svn path=/trunk/; revision=73035
2016-10-25 23:50:31 +00:00
Hermès Bélusca-Maïto 34a06851d3 [EVENTLOG]
- Update code source files headers.
- Use explicit unicode functions for RegOpen/Query/SetXXX and safe-string APIs.
- Use GetSystemWindowsDirectoryW where needed instead of GetWindowsDirectoryW (TS-safe).
- Fix some variable names & types.
- Improve some DPRINTs.

svn path=/trunk/; revision=73034
2016-10-25 23:32:20 +00:00
Johannes Anderwald 496573473b [USBAUDIO]
- implement mute control property handler

svn path=/trunk/; revision=73033
2016-10-25 19:20:09 +00:00
Kamil Hornicek fe5595d60d [GDI32]
- comply with MSDN and stop enumerating font families as soon as the user provided callback returns zero
- fixes bunch of user32:sysparams tests which rely on this

svn path=/trunk/; revision=73032
2016-10-25 17:08:05 +00:00
Peter Hater 263afc07c3 [WSHTCPIP] Don't return NO_ERROR in unimplemented WSHIoctl. It only confuses programs. Return WSAEINVAL. CORE-12104
svn path=/trunk/; revision=73031
2016-10-25 09:23:40 +00:00
Peter Hater ca5719a178 [MSAFD] Implement WSPIoctl overlapped. CORE-12162 #resolve
svn path=/trunk/; revision=73030
2016-10-25 07:54:00 +00:00
Jérôme Gardou 04442ae74c [NTOS/MM]
- Arch striking again : take everywhere into account the +1 offset introduced in r72988
CORE-12047

svn path=/trunk/; revision=73029
2016-10-23 18:59:42 +00:00
Aleksandar Andrejevic 1ef056a0ed [NTVDM:VBE]: Don't crash if the video mode is invalid.
svn path=/trunk/; revision=73028
2016-10-23 17:21:58 +00:00
Hermès Bélusca-Maïto 6fcebba53b [CMAKE]: Introduce a evil workaround for the problem described in CORE-12205/CORE-12206, that was unveiled by commit r73024. CMake gurus, please review & make suggestions! :)
svn path=/trunk/; revision=73027
2016-10-22 22:51:34 +00:00
Hermès Bélusca-Maïto 00a8b0a3c8 [WLANCONF]: Addendum to r73024.
svn path=/trunk/; revision=73026
2016-10-22 22:15:10 +00:00
Hermès Bélusca-Maïto 6f5d03b414 [MORE]: Rewrite almost completely the MORE command, taking advantage of the console pager functionality of the ConUtils library (see CORE-10504 and commit r73024).
- When displaying files, display the percentage of file read so far in the "Continue" prompt. Otherwise (when being piped or feeded from StdIn), just display the "Continue" prompt without percentage.
- Try to detect the text file encoding (ANSI, UTF16-BE/BE w/ or w/o BOM; UTF-8 to do!!) before displaying it. See the code for more details.

NOTE that the other functionalities of more (being able to scroll one line at a time, other command-line switches, etc...) are still not implemented yet.

svn path=/trunk/; revision=73025
2016-10-22 22:07:28 +00:00
Hermès Bélusca-Maïto eb198b854d [CONUTILS]
- Introduce new functionalities related to console streams, a console screen management api (almost stubbed), a console pager api (adapted from code from CMD). This new functionality will be used in the future. See CORE-10504 for more details.
- As this library is therefore growing up, split it in small parts (sublibraries) that can be used, with the following dependency scheme: base utils (standalone); streams depending on base; screen depending on streams; pager depending on screen.

[APPS]: As a result, modify the CMakeLists of the different apps that use conutils to make them depend on the correct sublibrary.

svn path=/trunk/; revision=73024
2016-10-22 21:54:29 +00:00
Hermès Bélusca-Maïto 26cf82fa5b [MODE]: Forgot this change too (related to kbd rate before delay).
svn path=/trunk/; revision=73023
2016-10-22 21:46:58 +00:00
Hermès Bélusca-Maïto 0c5fc9b3b5 [CLIP]: Check read status before number of bytes read. Update main resource file.
[COMP]: Code style fix; remove an unused define.
[EVENTCREATE]: Remove an unused define.

[HELP]
- Remove unneeded headers; minor code formatting.
- Remove an unused define.
- Add placeholder Czech resource translation.

[MODE]: Update translation (part 2/x); show the keyboard rate before the delay.

svn path=/trunk/; revision=73022
2016-10-22 21:42:13 +00:00
Johannes Anderwald a3f82b7d7b [KS]
- enable topology property handlers

svn path=/trunk/; revision=73021
2016-10-22 19:52:51 +00:00
Johannes Anderwald 5dc6c5bb88 [USBAUDIO]
- fix warnings & leaks based on Thomas feedback

svn path=/trunk/; revision=73020
2016-10-22 12:34:03 +00:00
Mark Jansen d0b74180b2 [FRAGINATOR] Silence a ton of warnings.
svn path=/trunk/; revision=73019
2016-10-22 12:13:34 +00:00
Mark Jansen 9efe78ac9f [OLE32] Stub and export CoGetCancelObject. CORE-12199
svn path=/trunk/; revision=73018
2016-10-22 12:03:33 +00:00
Johannes Anderwald 3e7f31ebe1 - implement MMixerGetDeviceNameWithComponentId, which retrieves the device name via component id
- start implement MMixerHandleTopologyFilter, does not yet fully work

svn path=/trunk/; revision=73017
2016-10-21 21:26:12 +00:00
Johannes Anderwald a9a9930090 [USBAUDIO]
- implement retrieving string descriptor of product and store it in registry.

svn path=/trunk/; revision=73016
2016-10-21 21:15:01 +00:00
Hermès Bélusca-Maïto 6357011e41 [ADVAPI32_APITEST]: I wasn't alone for writing these tests!
svn path=/trunk/; revision=73015
2016-10-21 21:08:54 +00:00
Johannes Anderwald 3423877df1 [USBCCGP]
- fix invalid device descriptor for composite usb devices

svn path=/trunk/; revision=73014
2016-10-21 20:52:40 +00:00
Hermès Bélusca-Maïto 6672ea6af0 [MODE]: Adjust german resources.
svn path=/trunk/; revision=73013
2016-10-21 20:48:26 +00:00
Robert Naumann dbf62b106c [MODE] add initial German translation. needs completition!!!
svn path=/trunk/; revision=73012
2016-10-21 20:44:38 +00:00
Peter Hater 08744dfc42 [WS2_32_APITESTS] Add tests for SIO_GET_INTERFACE_LIST. Brought to you by Andreas Maier. Thanks.
Minor modifications by me on comparison and expected flags.
ROSTESTS-246

svn path=/trunk/; revision=73011
2016-10-21 16:47:38 +00:00
Amine Khaldi 3315eae709 [ACPPAGE] Remove unneeded initialization. Should make the x64 bot a tiny bit happier. Spotted by Mark Jansen.
svn path=/trunk/; revision=73010
2016-10-21 09:48:00 +00:00
Amine Khaldi 8a6585ff73 [PSDK] Add missing RpcBindingServerFromClient.
svn path=/trunk/; revision=73009
2016-10-21 09:26:11 +00:00
Amine Khaldi d61d2809de [URLMON] Stub and export HlinkGoForward(). CORE-12196
svn path=/trunk/; revision=73008
2016-10-21 09:03:45 +00:00
Amine Khaldi a4cfe8d2da [RPCRT4_WINETEST] Addendum to r73006.
svn path=/trunk/; revision=73007
2016-10-21 09:02:08 +00:00
Amine Khaldi c0e27b85ab [RPCRT4] Import Wine commit 01290cd by Colin and Christoph: Implement RpcBindingServerFromClient and populate NetworkAddr for each transport.
svn path=/trunk/; revision=73006
2016-10-21 09:01:35 +00:00
Pierre Schweitzer 708359754c [MPR]
Import Wine commit:
- d9c9d9b10f58844a780d8bfc9ed1b6713e37d487, Implement connected resources enumeration.

CORE-11757

svn path=/trunk/; revision=73005
2016-10-21 05:28:29 +00:00
Mark Jansen a29538f1b9 [WINETESTS] Rename generated_i386.c to generated.c, adjust the CMakeLists.txt accordingly.
svn path=/trunk/; revision=73004
2016-10-20 21:44:12 +00:00
Mark Jansen 9fabe9b420 [SDK] Fix our Delayload notify hook for MSVC x64
svn path=/trunk/; revision=73003
2016-10-20 21:08:17 +00:00
Mark Jansen a62945fc94 [APPHELP_APITEST] This should not be here.
svn path=/trunk/; revision=73002
2016-10-20 21:03:38 +00:00
Hermès Bélusca-Maïto 252f96e3b1 [KS]: Fix annotations, etc.
svn path=/trunk/; revision=73001
2016-10-20 20:44:02 +00:00
Johannes Anderwald b8e67c826c [PSDK]
- add missing definition

svn path=/trunk/; revision=73000
2016-10-20 20:29:30 +00:00
Johannes Anderwald 3b8ab07631 [KS]
- implement support for KSPROPSETID_General

svn path=/trunk/; revision=72999
2016-10-20 20:02:43 +00:00
Hermès Bélusca-Maïto 38933ca790 [CMD]: Documentation improvement: we actually support two types of filename completions, windows-cmd like (the default one), and "bash-style" one (that is available through a compile switch). I prefer calling it "bash-style" over "unix-style" because this style of completion looks like the one from the GNU ReadLine library, that is used by Bash, which is not exclusive to unix per se...
svn path=/trunk/; revision=72998
2016-10-20 16:51:07 +00:00
Hermès Bélusca-Maïto 99ef1a3353 [KERNEL32]: Mark Get/SetEnvironmentVariableA/W as hotpatchable since it's needed for Clink 0.4.8 (<rant>btw, if GCC was able to set exported stdcall functions as hotpatchable at a global level, as MSVC does, those "DECLSPEC_HOTPATCH" hacks would not be necessary! </rant>)
svn path=/trunk/; revision=72997
2016-10-19 22:26:04 +00:00
Hermès Bélusca-Maïto 7f59e9a13c [MODE]
- Localization of output based on a patch by Lee Schroeder, but where I haven't modified yet the output localization of errors.
- Dynamically underline the headers of the device status reports (by me).
CORE-12178

svn path=/trunk/; revision=72996
2016-10-19 17:04:29 +00:00
Hermès Bélusca-Maïto d259d035bc [MODE]
- Rearrange ResizeTextConsole so that it correctly computes the Top & Bottom parts of the window size rectangle;
- Fix its return type;
- Display an error if we failed resizing the console;
- Clear the screen before resizing the console, as the real MODE.COM does.
- Fix a parsing error in SetConsoleStateOld and in SetConsoleCPState.

svn path=/trunk/; revision=72995
2016-10-19 15:04:42 +00:00