Commit graph

67220 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto cfbf8660bc [WHOAMI]: Use the conutils (stream) library for console output (see also r65894).
CORE-8965 CORE-10504

svn path=/trunk/; revision=73111
2016-11-03 16:30:48 +00:00
Hermès Bélusca-Maïto 79c7b07668 [CONUTILS]: Remove that overengineered splitted library stuff, and just rely on the splitting of the source code files instead. This is simpler and does the same job as I wanted to do initially (thanks Amine and Thomas for the feedback).
CORE-10504 #resolve
[APPS]: Use again just the conutils library.
The effect of these two modifications above is to partly revert r73024 (the code splitting remains on the contrary).
[CMAKE]: Remove the "evil workaround" (revert r73027). See CORE-12206 for more details.

svn path=/trunk/; revision=73110
2016-11-03 15:47:45 +00:00
Peter Hater ee601ad450 [TCPIP] Always copy back bind IP in connection. Spotted by Thomas. Thanks
CORE-12152

svn path=/trunk/; revision=73109
2016-11-03 14:53:00 +00:00
Thomas Faber bdcecff0be [USETUP]
- A fatal error when creating the install directory is worth a DPRINT1
CORE-11819

svn path=/trunk/; revision=73108
2016-11-03 14:14:19 +00:00
Johannes Anderwald 92338e37d3 [USBAUDIO]
- frequencies may appear unsorted, handle that

svn path=/trunk/; revision=73107
2016-11-03 13:44:01 +00:00
Johannes Anderwald e8322d1fb7 [USBAUDIO]
- include controls from logical channels
- process selector unit descriptors
- automatic gain is KSNODETYPE_AGC

svn path=/trunk/; revision=73106
2016-11-03 13:26:45 +00:00
Hermès Bélusca-Maïto 698798ac5c [BOOTDATA]: Fix the indentation of the file(..) commands, noted by Thomas.
svn path=/trunk/; revision=73105
2016-11-02 21:49:50 +00:00
Hermès Bélusca-Maïto 1562869a7a [BOOTDATA]: Diverse improvements for mkisofs support and ISO image configuration:
- Make our build system create the required empty directory for mkisofs, instead. (It's not the purpose of the SVN to hold special files/directories just to make host tools happy; instead it's the job of the buld system to create them.)
- Place the boot files (catalog & co.) preferably at the beginning of the ISO image (it makes ISO image analysis easier, and is back-compatible with cdmake & oscdimg & windows ISOs): use the build system to generate the mkisofs sorting file. See the CMakeLists.txt for more details.
- Set in one place the ISO manufacturer & volume name strings so that it makes easier to bulk-change them (and makes features like CORE-12233 a bit easier to maintain).
- The EFI image must be set up with no emulation mode! (See section "12.3.2.1 ISO-9660 and El Torito" of the UEFI spec v2.4 errata B, for example).

[MKISOFS]: Add some useful offline documentation.

CORE-11988

svn path=/trunk/; revision=73104
2016-11-02 21:43:46 +00:00
Pierre Schweitzer 5bcce07fd7 [NDK]
Properly export functions for C++ code

svn path=/trunk/; revision=73103
2016-11-02 19:46:46 +00:00
Pierre Schweitzer 1e3e451c22 [BTRFS]
Enable the BTRFS shell registration

svn path=/trunk/; revision=73102
2016-11-02 19:40:50 +00:00
Pierre Schweitzer f7dfa0ee35 [DOC]
Update sync status reading BTRFS

svn path=/trunk/; revision=73101
2016-11-02 19:38:39 +00:00
Pierre Schweitzer 7f4d8362bf [BTRFS]
Import the BTRFS driver shell extension. It allows having a finer control on btrfs volumes.
Note that not everything works in ReactOS and its usage may lead to bugchecks...

CORE-10892

svn path=/trunk/; revision=73100
2016-11-02 19:36:59 +00:00
Amine Khaldi e9a079b458 [CHARMAP_NEW] Fix a copy pasta.
svn path=/trunk/; revision=73099
2016-11-02 19:19:17 +00:00
Amine Khaldi 968516f86d [SERVMAN] Sort out header inclusions.
svn path=/trunk/; revision=73098
2016-11-02 18:55:51 +00:00
Mark Jansen b42f4fa34d [SETUPAPI] Forward pSetup[Malloc|Realloc|Free] to My[Malloc|Realloc|Free] as wine does. Spotted by Jared Smudde. CORE-12262
svn path=/trunk/; revision=73097
2016-11-02 18:31:46 +00:00
Peter Hater 0c396fc83e [MSAFD] Add more checks for lpErrno. Rearrange start of some functions to avoid creation and disposal of event of socket handle or parameter(s) is wrong. Other small changes
CORE-12104

svn path=/trunk/; revision=73096
2016-11-02 15:36:26 +00:00
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