Commit graph

67454 commits

Author SHA1 Message Date
Peter Hater 494db7a55d [TCPIP] Copy back unicast IP if broadcast is specified for listen.
CORE-12152

svn path=/trunk/; revision=73095
2016-11-02 11:24:08 +00:00
Johannes Anderwald 2a33de20a4 [USBAUDIO]
- remove setting InstancesNecessary as it causes problems with KsStudio
- start implementing support for usb headsets
- use endpoint address in UsbAudioSetFormat
- rewrite USBAudioSelectAudioStreamingInterface to select the interface based on the format index chosen

svn path=/trunk/; revision=73094
2016-11-02 09:55:18 +00:00
Pierre Schweitzer 79e0de2faf [MPR]
Implement saved connections restoration.
This is a bit hackish for now: it should only be attempted once, when the DLL is loaded on session login. Right now, it's attempt each time the DLL is loaded (ie, even when a program linking to it is started). This is to be fixed later on. So far, it brings the intended feature.

Now, you can create a connection with net use, save it, and reboot: it will be restored on the session opening.

CORE-11757

svn path=/trunk/; revision=73093
2016-10-31 21:27:02 +00:00
Pierre Schweitzer fdc18e536d [MPR]
Delete saved connection on disconnection if asked (even though the resource wasn't connected).
This allows net use to properly remove connections it may have created.

CORE-11757

svn path=/trunk/; revision=73092
2016-10-31 21:20:32 +00:00
Pierre Schweitzer c397981db2 [MPR]
Allow saving connections when using WNetUseConnection(), WNetAddConnection2().
It makes the "net use /persistent" switch working (ie, saving connection - not restoring connections).

CORE-11757

svn path=/trunk/; revision=73091
2016-10-31 21:17:46 +00:00
Johannes Anderwald 9b3c3d78a1 [USBAUDIO]
- initialize pin with correct flags
- enumerate all dataranges for an input / output terminal

svn path=/trunk/; revision=73090
2016-10-31 20:45:23 +00:00
Jérôme Gardou eb0d4a0a16 [KERNEL32_WINETEST]
- Guard page and ATL thunks tests work fine. Enable them.
ROSTESTS-155 #resolve

svn path=/trunk/; revision=73089
2016-10-31 11:51:50 +00:00
James Tabor 07bc9a400d [User32]
- Leave Dialog Procedure calls protected with SEH, the same as windows.
- See CORE-12182, CORE-12111 and related issues.

svn path=/trunk/; revision=73088
2016-10-31 01:18:43 +00:00
Hermès Bélusca-Maïto 8793f1b4c6 [NTVDM]: Properly fixes build. Addendum to r73082, supersedes r73084.
CORE-10340

svn path=/trunk/; revision=73085
2016-10-30 20:27:05 +00:00
Mark Jansen 8657be9fb4 Addendum to r73082
svn path=/trunk/; revision=73084
2016-10-30 19:52:53 +00:00
Mark Jansen 22ba0b5aa5 [APPHELP][APPHELP_APITEST] Update db apitests to succeed from 2k3 to 10, paving the way for the next set of tests.
- Support 2k3 and Vista+ versions of the SDBQUERYRESULT structure.
- Add tests for SdbFindFirstNamedTag, SdbTagIDToTagRef, SdbGetLayerTagRef
- Implement SdbFindFirstNamedTag, SdbTagIDToTagRef, SdbGetLayerTagRef
- Add a version resource to apphelp, so that we can use it to identify which tests to use.

svn path=/trunk/; revision=73083
2016-10-30 19:39:43 +00:00
Hermès Bélusca-Maïto 705f7ce49e Art work commit:
[PIFMGR]: Update the 16-colour version of the computer icon.
[NTVDM]: Add the tangoified versions of the NTVDM computer icon by Ismael Ferreras Morezuelas. Also update the Tango PC-AT and XT icons.
CORE-10340 #resolve #comment Committed in r73082, thanks to you all!

svn path=/trunk/; revision=73082
2016-10-30 19:02:15 +00:00
Hermès Bélusca-Maïto ecddd01a74 [BTRFS]: Fix compilation with MSVC too, as we don't have the 'FileFsSectorSizeInformation' FS information class in our headers (this is some Win8+ stuff).
CORE-12223 #comment MSVC compilation fixed in r73078 ('FileFsSectorSizeInformation' absent in our headers).

svn path=/trunk/; revision=73078
2016-10-30 14:14:27 +00:00
Mark Jansen 082463978d [REGSVR32] Disable error message boxes while loading a dll. CORE-12209
svn path=/trunk/; revision=73077
2016-10-30 11:50:10 +00:00
Thomas Faber 6acbbeddf8 [MKISOFS]
- Fix Win64 build -- the define is _WIN32, not WIN32.
CORE-11988

svn path=/trunk/; revision=73076
2016-10-30 09:44:29 +00:00
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