reactos.git
7 years ago[NTOSKRNL]
Pierre Schweitzer [Thu, 3 Nov 2016 21:49:55 +0000 (21:49 +0000)]
[NTOSKRNL]
In IoWritePartitionTableEx(), don't return STATUS_SUCCESS when we cannot write GPT to higher partitions count than space available; return STATUS_INVALID_PARAMETER.

svn path=/trunk/; revision=73114

7 years ago[DISK]
Pierre Schweitzer [Thu, 3 Nov 2016 21:38:56 +0000 (21:38 +0000)]
[DISK]
Don't overflow when computing disk size.
Patch by Vort.

CORE-12261

svn path=/trunk/; revision=73113

7 years ago[NTOSKRNL]
Pierre Schweitzer [Thu, 3 Nov 2016 21:13:30 +0000 (21:13 +0000)]
[NTOSKRNL]
For now, disable broken code in FstubReadPartitionTableEFI(). In its current state, it wrongly assumes backup GPT is broken and thus attempts to fix main GPT (?!).
Furthermore, it appears Windows 2K3 doesn't perform such checks, nor such GPT rewritings in FstubReadPartitionTableEFI().

CORE-12261

svn path=/trunk/; revision=73112

7 years ago[WHOAMI]: Use the conutils (stream) library for console output (see also r65894).
Hermès Bélusca-Maïto [Thu, 3 Nov 2016 16:30:48 +0000 (16:30 +0000)]
[WHOAMI]: Use the conutils (stream) library for console output (see also r65894).
CORE-8965 CORE-10504

svn path=/trunk/; revision=73111

7 years ago[CONUTILS]: Remove that overengineered splitted library stuff, and just rely on the...
Hermès Bélusca-Maïto [Thu, 3 Nov 2016 15:47:45 +0000 (15:47 +0000)]
[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

7 years ago[TCPIP] Always copy back bind IP in connection. Spotted by Thomas. Thanks
Peter Hater [Thu, 3 Nov 2016 14:53:00 +0000 (14:53 +0000)]
[TCPIP] Always copy back bind IP in connection. Spotted by Thomas. Thanks
CORE-12152

svn path=/trunk/; revision=73109

7 years ago[USETUP]
Thomas Faber [Thu, 3 Nov 2016 14:14:19 +0000 (14:14 +0000)]
[USETUP]
- A fatal error when creating the install directory is worth a DPRINT1
CORE-11819

svn path=/trunk/; revision=73108

7 years ago[USBAUDIO]
Johannes Anderwald [Thu, 3 Nov 2016 13:44:01 +0000 (13:44 +0000)]
[USBAUDIO]
- frequencies may appear unsorted, handle that

svn path=/trunk/; revision=73107

7 years ago[USBAUDIO]
Johannes Anderwald [Thu, 3 Nov 2016 13:26:45 +0000 (13:26 +0000)]
[USBAUDIO]
- include controls from logical channels
- process selector unit descriptors
- automatic gain is KSNODETYPE_AGC

svn path=/trunk/; revision=73106

7 years ago[BOOTDATA]: Fix the indentation of the file(..) commands, noted by Thomas.
Hermès Bélusca-Maïto [Wed, 2 Nov 2016 21:49:50 +0000 (21:49 +0000)]
[BOOTDATA]: Fix the indentation of the file(..) commands, noted by Thomas.

svn path=/trunk/; revision=73105

7 years ago[BOOTDATA]: Diverse improvements for mkisofs support and ISO image configuration:
Hermès Bélusca-Maïto [Wed, 2 Nov 2016 21:43:46 +0000 (21:43 +0000)]
[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

7 years ago[NDK]
Pierre Schweitzer [Wed, 2 Nov 2016 19:46:46 +0000 (19:46 +0000)]
[NDK]
Properly export functions for C++ code

svn path=/trunk/; revision=73103

7 years ago[BTRFS]
Pierre Schweitzer [Wed, 2 Nov 2016 19:40:50 +0000 (19:40 +0000)]
[BTRFS]
Enable the BTRFS shell registration

svn path=/trunk/; revision=73102

7 years ago[DOC]
Pierre Schweitzer [Wed, 2 Nov 2016 19:38:39 +0000 (19:38 +0000)]
[DOC]
Update sync status reading BTRFS

svn path=/trunk/; revision=73101

7 years ago[BTRFS]
Pierre Schweitzer [Wed, 2 Nov 2016 19:36:59 +0000 (19:36 +0000)]
[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

7 years ago[CHARMAP_NEW] Fix a copy pasta.
Amine Khaldi [Wed, 2 Nov 2016 19:19:17 +0000 (19:19 +0000)]
[CHARMAP_NEW] Fix a copy pasta.

svn path=/trunk/; revision=73099

7 years ago[SERVMAN] Sort out header inclusions.
Amine Khaldi [Wed, 2 Nov 2016 18:55:51 +0000 (18:55 +0000)]
[SERVMAN] Sort out header inclusions.

svn path=/trunk/; revision=73098

7 years ago[SETUPAPI] Forward pSetup[Malloc|Realloc|Free] to My[Malloc|Realloc|Free] as wine...
Mark Jansen [Wed, 2 Nov 2016 18:31:46 +0000 (18:31 +0000)]
[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

7 years ago[MSAFD] Add more checks for lpErrno. Rearrange start of some functions to avoid creat...
Peter Hater [Wed, 2 Nov 2016 15:36:26 +0000 (15:36 +0000)]
[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

7 years ago[TCPIP] Copy back unicast IP if broadcast is specified for listen.
Peter Hater [Wed, 2 Nov 2016 11:24:08 +0000 (11:24 +0000)]
[TCPIP] Copy back unicast IP if broadcast is specified for listen.
CORE-12152

svn path=/trunk/; revision=73095

7 years ago[USBAUDIO]
Johannes Anderwald [Wed, 2 Nov 2016 09:55:18 +0000 (09:55 +0000)]
[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

7 years ago[MPR]
Pierre Schweitzer [Mon, 31 Oct 2016 21:27:02 +0000 (21:27 +0000)]
[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

7 years ago[MPR]
Pierre Schweitzer [Mon, 31 Oct 2016 21:20:32 +0000 (21:20 +0000)]
[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

7 years ago[MPR]
Pierre Schweitzer [Mon, 31 Oct 2016 21:17:46 +0000 (21:17 +0000)]
[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

7 years ago[USBAUDIO]
Johannes Anderwald [Mon, 31 Oct 2016 20:45:23 +0000 (20:45 +0000)]
[USBAUDIO]
- initialize pin with correct flags
- enumerate all dataranges for an input / output terminal

svn path=/trunk/; revision=73090

7 years ago[KERNEL32_WINETEST]
Jérôme Gardou [Mon, 31 Oct 2016 11:51:50 +0000 (11:51 +0000)]
[KERNEL32_WINETEST]
 - Guard page and ATL thunks tests work fine. Enable them.
ROSTESTS-155 #resolve

svn path=/trunk/; revision=73089

7 years ago[User32]
James Tabor [Mon, 31 Oct 2016 01:18:43 +0000 (01:18 +0000)]
[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

7 years ago[NTVDM]: Properly fixes build. Addendum to r73082, supersedes r73084.
Hermès Bélusca-Maïto [Sun, 30 Oct 2016 20:27:05 +0000 (20:27 +0000)]
[NTVDM]: Properly fixes build. Addendum to r73082, supersedes r73084.
CORE-10340

svn path=/trunk/; revision=73085

7 years agoAddendum to r73082
Mark Jansen [Sun, 30 Oct 2016 19:52:53 +0000 (19:52 +0000)]
Addendum to r73082

svn path=/trunk/; revision=73084

7 years ago[APPHELP][APPHELP_APITEST] Update db apitests to succeed from 2k3 to 10, paving the...
Mark Jansen [Sun, 30 Oct 2016 19:39:43 +0000 (19:39 +0000)]
[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

7 years agoArt work commit:
Hermès Bélusca-Maïto [Sun, 30 Oct 2016 19:02:15 +0000 (19:02 +0000)]
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

7 years ago[BTRFS]: Fix compilation with MSVC too, as we don't have the 'FileFsSectorSizeInforma...
Hermès Bélusca-Maïto [Sun, 30 Oct 2016 14:14:27 +0000 (14:14 +0000)]
[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

7 years ago[REGSVR32] Disable error message boxes while loading a dll. CORE-12209
Mark Jansen [Sun, 30 Oct 2016 11:50:10 +0000 (11:50 +0000)]
[REGSVR32] Disable error message boxes while loading a dll. CORE-12209

svn path=/trunk/; revision=73077

7 years ago[MKISOFS]
Thomas Faber [Sun, 30 Oct 2016 09:44:29 +0000 (09:44 +0000)]
[MKISOFS]
- Fix Win64 build -- the define is _WIN32, not WIN32.
CORE-11988

svn path=/trunk/; revision=73076

7 years ago[RPCRT4]
Pierre Schweitzer [Sun, 30 Oct 2016 09:17:42 +0000 (09:17 +0000)]
[RPCRT4]
Import Wine commit (by Alexandre Julliard):
7b0c2cdbcd64cffa2f5c5a37f55799b114132b59, Remove noisy fixme.

svn path=/trunk/; revision=73075

7 years agoRevert r73068 and r73070
Peter Hater [Sun, 30 Oct 2016 05:58:02 +0000 (05:58 +0000)]
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

7 years ago[FASTFAT]
Thomas Faber [Sat, 29 Oct 2016 20:30:49 +0000 (20:30 +0000)]
[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

7 years ago[NTDLL_APITEST]
Thomas Faber [Sat, 29 Oct 2016 20:14:16 +0000 (20:14 +0000)]
[NTDLL_APITEST]
- Add a test for NtReadFile, also covering buffer size too large for an MDL
CORE-12132

svn path=/trunk/; revision=73071

7 years ago[MSAFD] Implement async connect
Peter Hater [Sat, 29 Oct 2016 18:38:27 +0000 (18:38 +0000)]
[MSAFD] Implement async connect
CORE-12152 #resolve

svn path=/trunk/; revision=73070

7 years ago[MSAFD][WS2_32] Better WSASocket parameters check
Peter Hater [Sat, 29 Oct 2016 18:22:22 +0000 (18:22 +0000)]
[MSAFD][WS2_32] Better WSASocket parameters check
CORE-12104

svn path=/trunk/; revision=73068

7 years ago[BTRFS]
Pierre Schweitzer [Sat, 29 Oct 2016 17:05:10 +0000 (17:05 +0000)]
[BTRFS]
Sync btrfs to 0.7.

CORE-12223

svn path=/trunk/; revision=73062

7 years ago[DDK]
Pierre Schweitzer [Sat, 29 Oct 2016 16:53:45 +0000 (16:53 +0000)]
[DDK]
Define IDENTIFY_DEVICE_DATA (from MSDN).

CORE-12223

svn path=/trunk/; revision=73061

7 years ago[MKISOFS]
Thomas Faber [Sat, 29 Oct 2016 11:54:19 +0000 (11:54 +0000)]
[MKISOFS]
- Fix VS 2015 build
CORE-11988

svn path=/trunk/; revision=73060

7 years ago[NTDLL_APITEST]
Thomas Faber [Sat, 29 Oct 2016 11:39:07 +0000 (11:39 +0000)]
[NTDLL_APITEST]
- Add tests for NtWriteFile with buffer sizes larger than an MDL can describe.
CORE-12132

svn path=/trunk/; revision=73059

7 years ago[KMTESTS:IO]
Thomas Faber [Sat, 29 Oct 2016 11:20:58 +0000 (11:20 +0000)]
[KMTESTS:IO]
- Add a test case for trying to open a file "inside" a file to IoFilesystem
ROSTESTS-135

svn path=/trunk/; revision=73058

7 years ago[MSPAINT] refactor RegistrySettings::SetWallpaper, also changing its signature to...
Benedikt Freisen [Fri, 28 Oct 2016 19:48:25 +0000 (19:48 +0000)]
[MSPAINT] refactor RegistrySettings::SetWallpaper, also changing its signature to make it more usable

svn path=/trunk/; revision=73055

7 years ago[MSAFD] Fix handle counting in WSPSelect and improve TDI request according to MSDN.
Peter Hater [Fri, 28 Oct 2016 16:37:39 +0000 (16:37 +0000)]
[MSAFD] Fix handle counting in WSPSelect and improve TDI request according to MSDN.
CORE-12104

svn path=/trunk/; revision=73054

7 years agoFix build
Peter Hater [Fri, 28 Oct 2016 07:11:20 +0000 (07:11 +0000)]
Fix build

svn path=/trunk/; revision=73053

7 years ago[WS2_32_APITESTS] Add tests for WSAAsync original by Miroslav Mastný. Converted to...
Peter Hater [Fri, 28 Oct 2016 07:01:16 +0000 (07:01 +0000)]
[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

7 years ago[MKISOFS]
Colin Finck [Thu, 27 Oct 2016 22:51:59 +0000 (22:51 +0000)]
[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

7 years ago[PROGMAN]
Thomas Faber [Thu, 27 Oct 2016 10:21:13 +0000 (10:21 +0000)]
[PROGMAN]
- Fix MSVC warnings
- Use strsafe printf

svn path=/trunk/; revision=73050

7 years ago[DESK.CPL]: Fix "antiali(a)sed" typo, caught by DopefishJustin; complete the other...
Hermès Bélusca-Maïto [Thu, 27 Oct 2016 00:07:29 +0000 (00:07 +0000)]
[DESK.CPL]: Fix "antiali(a)sed" typo, caught by DopefishJustin; complete the other translations.

svn path=/trunk/; revision=73049

7 years ago[README.WINE]: After Colin's print merging in r73039, some files are not WINE-synced...
Hermès Bélusca-Maïto [Wed, 26 Oct 2016 22:54:05 +0000 (22:54 +0000)]
[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

7 years ago[WINSPOOL_PRINT]: Improve the test application:
Hermès Bélusca-Maïto [Wed, 26 Oct 2016 22:43:53 +0000 (22:43 +0000)]
[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

7 years agoFix a comment.
Hermès Bélusca-Maïto [Wed, 26 Oct 2016 22:06:02 +0000 (22:06 +0000)]
Fix a comment.

svn path=/trunk/; revision=73046

7 years ago[DESK.CPL]: Patch by Ismael Ferreras Morezuelas:
Hermès Bélusca-Maïto [Wed, 26 Oct 2016 22:02:24 +0000 (22:02 +0000)]
[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

7 years ago[DESK.CPL]: Fix trailing whitespace, some indent + code formatting style.
Hermès Bélusca-Maïto [Wed, 26 Oct 2016 21:14:39 +0000 (21:14 +0000)]
[DESK.CPL]: Fix trailing whitespace, some indent + code formatting style.

svn path=/trunk/; revision=73044

7 years ago[EVENTVWR]
Hermès Bélusca-Maïto [Wed, 26 Oct 2016 20:32:11 +0000 (20:32 +0000)]
[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

7 years ago[USBAUDIO]
Johannes Anderwald [Wed, 26 Oct 2016 18:09:19 +0000 (18:09 +0000)]
[USBAUDIO]
- implement audio volume property handler

svn path=/trunk/; revision=73042

7 years ago[LOCALUI]
Colin Finck [Wed, 26 Oct 2016 12:47:39 +0000 (12:47 +0000)]
[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

7 years ago[PRINTING]
Colin Finck [Wed, 26 Oct 2016 12:37:27 +0000 (12:37 +0000)]
[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

7 years ago[WIN32K]
Kamil Hornicek [Wed, 26 Oct 2016 10:21:46 +0000 (10:21 +0000)]
[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

7 years agoAnd the usual thing... "fix build".
Hermès Bélusca-Maïto [Tue, 25 Oct 2016 23:57:35 +0000 (23:57 +0000)]
And the usual thing... "fix build".

svn path=/trunk/; revision=73036

7 years ago[EVTLIB]: Create a EvtLib library for manipulating the event log file format from...
Hermès Bélusca-Maïto [Tue, 25 Oct 2016 23:50:31 +0000 (23:50 +0000)]
[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

7 years ago[EVENTLOG]
Hermès Bélusca-Maïto [Tue, 25 Oct 2016 23:32:20 +0000 (23:32 +0000)]
[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

7 years ago[USBAUDIO]
Johannes Anderwald [Tue, 25 Oct 2016 19:20:09 +0000 (19:20 +0000)]
[USBAUDIO]
- implement mute control property handler

svn path=/trunk/; revision=73033

7 years ago[GDI32]
Kamil Hornicek [Tue, 25 Oct 2016 17:08:05 +0000 (17:08 +0000)]
[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

7 years ago[WSHTCPIP] Don't return NO_ERROR in unimplemented WSHIoctl. It only confuses programs...
Peter Hater [Tue, 25 Oct 2016 09:23:40 +0000 (09:23 +0000)]
[WSHTCPIP] Don't return NO_ERROR in unimplemented WSHIoctl. It only confuses programs. Return WSAEINVAL. CORE-12104

svn path=/trunk/; revision=73031

7 years ago[MSAFD] Implement WSPIoctl overlapped. CORE-12162 #resolve
Peter Hater [Tue, 25 Oct 2016 07:54:00 +0000 (07:54 +0000)]
[MSAFD] Implement WSPIoctl overlapped. CORE-12162 #resolve

svn path=/trunk/; revision=73030

7 years ago[NTOS/MM]
Jérôme Gardou [Sun, 23 Oct 2016 18:59:42 +0000 (18:59 +0000)]
[NTOS/MM]
 - Arch striking again : take everywhere into account the +1 offset introduced in r72988
CORE-12047

svn path=/trunk/; revision=73029

7 years ago[NTVDM:VBE]: Don't crash if the video mode is invalid.
Aleksandar Andrejevic [Sun, 23 Oct 2016 17:21:58 +0000 (17:21 +0000)]
[NTVDM:VBE]: Don't crash if the video mode is invalid.

svn path=/trunk/; revision=73028

7 years ago[CMAKE]: Introduce a evil workaround for the problem described in CORE-12205/CORE...
Hermès Bélusca-Maïto [Sat, 22 Oct 2016 22:51:34 +0000 (22:51 +0000)]
[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

7 years ago[WLANCONF]: Addendum to r73024.
Hermès Bélusca-Maïto [Sat, 22 Oct 2016 22:15:10 +0000 (22:15 +0000)]
[WLANCONF]: Addendum to r73024.

svn path=/trunk/; revision=73026

7 years ago[MORE]: Rewrite almost completely the MORE command, taking advantage of the console...
Hermès Bélusca-Maïto [Sat, 22 Oct 2016 22:07:28 +0000 (22:07 +0000)]
[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

7 years ago[CONUTILS]
Hermès Bélusca-Maïto [Sat, 22 Oct 2016 21:54:29 +0000 (21:54 +0000)]
[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

7 years ago[MODE]: Forgot this change too (related to kbd rate before delay).
Hermès Bélusca-Maïto [Sat, 22 Oct 2016 21:46:58 +0000 (21:46 +0000)]
[MODE]: Forgot this change too (related to kbd rate before delay).

svn path=/trunk/; revision=73023

7 years ago[CLIP]: Check read status before number of bytes read. Update main resource file.
Hermès Bélusca-Maïto [Sat, 22 Oct 2016 21:42:13 +0000 (21:42 +0000)]
[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

7 years ago[KS]
Johannes Anderwald [Sat, 22 Oct 2016 19:52:51 +0000 (19:52 +0000)]
[KS]
- enable topology property handlers

svn path=/trunk/; revision=73021

7 years ago[USBAUDIO]
Johannes Anderwald [Sat, 22 Oct 2016 12:34:03 +0000 (12:34 +0000)]
[USBAUDIO]
- fix warnings & leaks based on Thomas feedback

svn path=/trunk/; revision=73020

7 years ago[FRAGINATOR] Silence a ton of warnings.
Mark Jansen [Sat, 22 Oct 2016 12:13:34 +0000 (12:13 +0000)]
[FRAGINATOR] Silence a ton of warnings.

svn path=/trunk/; revision=73019

7 years ago[OLE32] Stub and export CoGetCancelObject. CORE-12199
Mark Jansen [Sat, 22 Oct 2016 12:03:33 +0000 (12:03 +0000)]
[OLE32] Stub and export CoGetCancelObject. CORE-12199

svn path=/trunk/; revision=73018

7 years ago- implement MMixerGetDeviceNameWithComponentId, which retrieves the device name via...
Johannes Anderwald [Fri, 21 Oct 2016 21:26:12 +0000 (21:26 +0000)]
- implement MMixerGetDeviceNameWithComponentId, which retrieves the device name via component id
- start implement MMixerHandleTopologyFilter, does not yet fully work

svn path=/trunk/; revision=73017

7 years ago[USBAUDIO]
Johannes Anderwald [Fri, 21 Oct 2016 21:15:01 +0000 (21:15 +0000)]
[USBAUDIO]
- implement retrieving string descriptor of product and store it in registry.

svn path=/trunk/; revision=73016

7 years ago[ADVAPI32_APITEST]: I wasn't alone for writing these tests!
Hermès Bélusca-Maïto [Fri, 21 Oct 2016 21:08:54 +0000 (21:08 +0000)]
[ADVAPI32_APITEST]: I wasn't alone for writing these tests!

svn path=/trunk/; revision=73015

7 years ago[USBCCGP]
Johannes Anderwald [Fri, 21 Oct 2016 20:52:40 +0000 (20:52 +0000)]
[USBCCGP]
- fix invalid device descriptor for composite usb devices

svn path=/trunk/; revision=73014

7 years ago[MODE]: Adjust german resources.
Hermès Bélusca-Maïto [Fri, 21 Oct 2016 20:48:26 +0000 (20:48 +0000)]
[MODE]: Adjust german resources.

svn path=/trunk/; revision=73013

7 years ago[MODE] add initial German translation. needs completition!!!
Robert Naumann [Fri, 21 Oct 2016 20:44:38 +0000 (20:44 +0000)]
[MODE] add initial German translation. needs completition!!!

svn path=/trunk/; revision=73012

7 years ago[WS2_32_APITESTS] Add tests for SIO_GET_INTERFACE_LIST. Brought to you by Andreas...
Peter Hater [Fri, 21 Oct 2016 16:47:38 +0000 (16:47 +0000)]
[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

7 years ago[ACPPAGE] Remove unneeded initialization. Should make the x64 bot a tiny bit happier...
Amine Khaldi [Fri, 21 Oct 2016 09:48:00 +0000 (09:48 +0000)]
[ACPPAGE] Remove unneeded initialization. Should make the x64 bot a tiny bit happier. Spotted by Mark Jansen.

svn path=/trunk/; revision=73010

7 years ago[PSDK] Add missing RpcBindingServerFromClient.
Amine Khaldi [Fri, 21 Oct 2016 09:26:11 +0000 (09:26 +0000)]
[PSDK] Add missing RpcBindingServerFromClient.

svn path=/trunk/; revision=73009

7 years ago[URLMON] Stub and export HlinkGoForward(). CORE-12196
Amine Khaldi [Fri, 21 Oct 2016 09:03:45 +0000 (09:03 +0000)]
[URLMON] Stub and export HlinkGoForward(). CORE-12196

svn path=/trunk/; revision=73008

7 years ago[RPCRT4_WINETEST] Addendum to r73006.
Amine Khaldi [Fri, 21 Oct 2016 09:02:08 +0000 (09:02 +0000)]
[RPCRT4_WINETEST] Addendum to r73006.

svn path=/trunk/; revision=73007

7 years ago[RPCRT4] Import Wine commit 01290cd by Colin and Christoph: Implement RpcBindingServe...
Amine Khaldi [Fri, 21 Oct 2016 09:01:35 +0000 (09:01 +0000)]
[RPCRT4] Import Wine commit 01290cd by Colin and Christoph: Implement RpcBindingServerFromClient and populate NetworkAddr for each transport.

svn path=/trunk/; revision=73006

7 years ago[MPR]
Pierre Schweitzer [Fri, 21 Oct 2016 05:28:29 +0000 (05:28 +0000)]
[MPR]
Import Wine commit:
d9c9d9b10f58844a780d8bfc9ed1b6713e37d487, Implement connected resources enumeration.

CORE-11757

svn path=/trunk/; revision=73005

7 years ago[WINETESTS] Rename generated_i386.c to generated.c, adjust the CMakeLists.txt accordi...
Mark Jansen [Thu, 20 Oct 2016 21:44:12 +0000 (21:44 +0000)]
[WINETESTS] Rename generated_i386.c to generated.c, adjust the CMakeLists.txt accordingly.

svn path=/trunk/; revision=73004

7 years ago[SDK] Fix our Delayload notify hook for MSVC x64
Mark Jansen [Thu, 20 Oct 2016 21:08:17 +0000 (21:08 +0000)]
[SDK] Fix our Delayload notify hook for MSVC x64

svn path=/trunk/; revision=73003

7 years ago[APPHELP_APITEST] This should not be here.
Mark Jansen [Thu, 20 Oct 2016 21:03:38 +0000 (21:03 +0000)]
[APPHELP_APITEST] This should not be here.

svn path=/trunk/; revision=73002

7 years ago[KS]: Fix annotations, etc.
Hermès Bélusca-Maïto [Thu, 20 Oct 2016 20:44:02 +0000 (20:44 +0000)]
[KS]: Fix annotations, etc.

svn path=/trunk/; revision=73001

7 years ago[PSDK]
Johannes Anderwald [Thu, 20 Oct 2016 20:29:30 +0000 (20:29 +0000)]
[PSDK]
- add missing definition

svn path=/trunk/; revision=73000

7 years ago[KS]
Johannes Anderwald [Thu, 20 Oct 2016 20:02:43 +0000 (20:02 +0000)]
[KS]
- implement support for KSPROPSETID_General

svn path=/trunk/; revision=72999