Commit graph

67189 commits

Author SHA1 Message Date
Pierre Schweitzer 97d164005c [RPCRT4]
Import Wine commit (by Alexandre Julliard):
- 7b0c2cdbcd64cffa2f5c5a37f55799b114132b59, Remove noisy fixme.

svn path=/trunk/; revision=73075
2016-10-30 09:17:42 +00:00
Peter Hater 55d4688b34 Revert r73068 and r73070
Current tests are obviously not enough to declare them OK.
I'll add more tests first

svn path=/trunk/; revision=73074
2016-10-30 05:58:02 +00:00
Thomas Faber 78ad433718 [FASTFAT]
- Only lock down the user buffer in the non-cached read/write case. CcCopyRead/CcCopyWrite takes care of this in the cached case, and does not impose a size limit like an MDL does.
CORE-12132 #resolve

svn path=/trunk/; revision=73072
2016-10-29 20:30:49 +00:00
Thomas Faber a51ac2be8c [NTDLL_APITEST]
- Add a test for NtReadFile, also covering buffer size too large for an MDL
CORE-12132

svn path=/trunk/; revision=73071
2016-10-29 20:14:16 +00:00
Peter Hater 0a11d5e9a2 [MSAFD] Implement async connect
CORE-12152 #resolve

svn path=/trunk/; revision=73070
2016-10-29 18:38:27 +00:00
Peter Hater 9817764e06 [MSAFD][WS2_32] Better WSASocket parameters check
CORE-12104

svn path=/trunk/; revision=73068
2016-10-29 18:22:22 +00:00
Pierre Schweitzer e75da19bb3 [BTRFS]
Sync btrfs to 0.7.

CORE-12223

svn path=/trunk/; revision=73062
2016-10-29 17:05:10 +00:00
Pierre Schweitzer 210d27427c [DDK]
Define IDENTIFY_DEVICE_DATA (from MSDN).

CORE-12223

svn path=/trunk/; revision=73061
2016-10-29 16:53:45 +00:00
Thomas Faber b6d3cf9388 [MKISOFS]
- Fix VS 2015 build
CORE-11988

svn path=/trunk/; revision=73060
2016-10-29 11:54:19 +00:00
Thomas Faber 8d77737ce9 [NTDLL_APITEST]
- Add tests for NtWriteFile with buffer sizes larger than an MDL can describe.
CORE-12132

svn path=/trunk/; revision=73059
2016-10-29 11:39:07 +00:00
Thomas Faber ba1509ef9e [KMTESTS:IO]
- Add a test case for trying to open a file "inside" a file to IoFilesystem
ROSTESTS-135

svn path=/trunk/; revision=73058
2016-10-29 11:20:58 +00:00
Benedikt Freisen 3d592530f4 [MSPAINT] refactor RegistrySettings::SetWallpaper, also changing its signature to make it more usable
svn path=/trunk/; revision=73055
2016-10-28 19:48:25 +00:00
Peter Hater 85f275a284 [MSAFD] Fix handle counting in WSPSelect and improve TDI request according to MSDN.
CORE-12104

svn path=/trunk/; revision=73054
2016-10-28 16:37:39 +00:00
Peter Hater b21dc336da Fix build
svn path=/trunk/; revision=73053
2016-10-28 07:11:20 +00:00
Peter Hater c05f8b29ef [WS2_32_APITESTS] Add tests for WSAAsync original by Miroslav Mastný. Converted to api test by me.
CORE-12152 #resolve #comment Thanks

svn path=/trunk/; revision=73052
2016-10-28 07:01:16 +00:00
Colin Finck 96877abf85 [MKISOFS]
Import a minimal version of the highly portable mkisofs tool from schily-2016-10-27 (https://sf.net/projects/schilytools) and use it for creating ReactOS ISOs from now on.

mkisofs is the de-facto standard ISO creation tool on most platforms and actively maintained.
Compared to cdmake, its features have matured and it adds ISO9660:1999 support among many other things.
I can import its UDF features as soon as we need them.

mkisofs has been integrated into our buildsystem in the sdk/tools/mkisofs folder with these subfolders:
* "reactos"
  Host-specific include files that are usually generated by the upstream buildsystem. For us, I have handcrafted them to be enough for mkisofs and compatible with Windows, Linux and Mac OS X.
  Follow the original layout of the generated files whenever you have to edit these.
* "schilytools"
  Contains the actual mkisofs code and dependencies while maintaining the original directory layout.
  Only synchronize with newer versions, but never modify. Submit patches upstream instead :)

ISOs are now being built with a single ISO9660:1999 filesystem instead of classic ISO9660 + Joliet.
For the moment, you can switch back to cdmake using -DUSE_MKISOFS:BOOL=0 on the CMake commandline. cdmake will be completely removed in about a month if no problems occur.

CORE-11988

svn path=/trunk/; revision=73051
2016-10-27 22:51:59 +00:00
Thomas Faber f642128e8f [PROGMAN]
- Fix MSVC warnings
- Use strsafe printf

svn path=/trunk/; revision=73050
2016-10-27 10:21:13 +00:00
Hermès Bélusca-Maïto 3d8a01fc0d [DESK.CPL]: Fix "antiali(a)sed" typo, caught by DopefishJustin; complete the other translations.
svn path=/trunk/; revision=73049
2016-10-27 00:07:29 +00:00
Hermès Bélusca-Maïto 72d0c2396c [README.WINE]: After Colin's print merging in r73039, some files are not WINE-synced anymore: localspl, spoolss; ntprint is completely removed now (will be reimplemented later on). The only remaining file is localui.dll, that is now found under win32ss/printing/monitors/localmon/ui/.
CORE-10489

svn path=/trunk/; revision=73048
2016-10-26 22:54:05 +00:00
Hermès Bélusca-Maïto 688b18d88c [WINSPOOL_PRINT]: Improve the test application:
- Do not hardcode the test file name, but instead take it from the command line (and add a Usage() function);
- Do not use a too large fixed-size buffer to read & print the file, but instead use a correctly-size buffer, get the file size, and then do a loop to read data from the file by chunks & send it to the printer.

svn path=/trunk/; revision=73047
2016-10-26 22:43:53 +00:00
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