Commit graph

615 commits

Author SHA1 Message Date
Thomas Faber b61b18157b
[LIBPNG] Update to version 1.6.36. CORE-15280 2019-01-12 16:27:18 +01:00
Thomas Faber 0ba5bc40fb
[MBEDTLS] Update to version 2.7.9. CORE-15280 2019-01-09 10:47:38 +01:00
Andrew Boyarshin 3636b46dfd [SPEC2DEF] Fix compilation of generated stub C files with int64 parameters 2019-01-08 18:58:56 +01:00
Denis Malikov 655d24d9eb [KERNEL32] make some NLS and Format functions work. Wine-sync with latest version 2019-01-05 19:01:30 +01:00
Mark Jansen db8488e5ca
[SDK] Reset InDbgPrint state when an exception occurs
Previously this would not get reset, and all debug prints from the
current thread would be muted.
2019-01-05 15:21:40 +01:00
Serge Gautherie c5d8d8d289 [LOG2LINES] Use translate_line() for command line input too
NB: Last step would be to re-use translate_files()...
2019-01-05 13:39:02 +01:00
Andrew Boyarshin 04c851194c [NTDLL][RTL] Implement RtlGetFullPathName_UEx 2019-01-05 13:33:28 +01:00
Mark Jansen 1692ab3fe3
[APPCOMPAT] Move sdbtagid.h and sdbtypes.h to a shared location 2019-01-05 13:11:35 +01:00
Timo Kreuzer cfd1647914
[REACTOS] Fix misc 64 bit issues (#783)
* [WIN32K] Fix handle calculation in DbgGdiHTIntegrityCheck
* [NOTEPAD] Fix MSVC warnings
* [PSDK] Simplify *PROC definitions in windef.h
* [VIDEOPRT] Don't try to use NtVdmControl on x64
* [FREELDR] Fix some macros
* [CRT] Make qsort 64 bit compatible
* [NTOS] Use #ifndef _WIN64 instead of #ifdef _M_IX86 around C_ASSERTs
* [FAST486] Fix 64 bit warnings and change DWORD to ULONG, so it can be used in kernel mode
* [APPHELP_APITEST] Fix 64 bit issue
2019-01-05 10:50:11 +01:00
Thomas Faber d67156fa98
[MPG123] Update to version 1.25.10. CORE-15280 2019-01-05 09:20:40 +01:00
Thomas Faber d9e6c9b539
[MBEDTLS] Update to version 2.7.6. CORE-15280
Note: this disables the MBEDTLS_DEPRECATED_REMOVED configuration value,
because we require the now-deprecated MD5 & SHA functions for bcrypt.
2019-01-05 09:20:35 +01:00
Thomas Faber 9f1e053260
[LIBPNG] Update to version 1.6.35. CORE-15280 2019-01-05 09:20:21 +01:00
Pierre Schweitzer 44fdf3fc30 [RXCE] Fix leftover 2019-01-03 16:59:45 +01:00
Hermès Bélusca-Maïto 8d878f4bfa
[RDBSS] Fix pointer value assignation. 2019-01-03 15:49:07 +01:00
Timo Kreuzer cdee669619 [RXCE] Fix 64 bit build 2019-01-03 14:27:15 +01:00
Pierre Schweitzer a9124b412d
[RDBSS][RXCE] Implement IRP cancellation
CORE-15441
2019-01-02 15:02:15 +01:00
Hermès Bélusca-Maïto 3fc3447f3e
Happy New Year 2019 everybody! 2019-01-01 00:00:00 +01:00
Hervé Poussineau a179012563
[ZLIB] Import upstream commit 38e8ce32afbaa82f67d992b9f3056f281fe69259:
Fix CLEAR_HASH macro to be usable as a single statement.
As it is used in deflateParams().
2018-12-31 14:23:59 +01:00
Hervé Poussineau c4d25d27f6
[RTL] Fix RtlNewSecurityGrantedAccess improperly zeroing output buffer 2018-12-31 11:19:36 +01:00
Pierre Schweitzer 1a93d83f92
[SDK] Add PsGetCurrentThreadTeb() to the DDK 2018-12-31 11:19:35 +01:00
Pierre Schweitzer ebf8785661
[SERVICES] pszName is a string, mark it so
This fixes returning string with RI_ScQueryServiceTagInfo
2018-12-30 21:44:39 +01:00
Pierre Schweitzer 2ee627ba63
[SERVICES] On service start control message, send the service tag 2018-12-30 21:44:25 +01:00
Pierre Schweitzer dfaee51f98
[SERVICES] Define the RI_ScQueryServiceTagInfo RPC call
All the definitions are taken from ProcessHacker:
https://github.com/processhacker/processhacker/blob/master/phnt/include/subprocesstag.h
2018-12-30 14:26:57 +01:00
Timo Kreuzer 71fefa32db
[NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779)
* Add an NDK header to define INIT_FUNCTION/INIT_SECTION globally
* Use _declspec(allocate(x)) and _declspec(code_seg(x)) on MSVC versions that support it
* Use INIT_FUNCTION on functions only and INIT_SECTION on data only (required by MSVC)
* Place INIT_FUNCTION before the return type (required by MSVC)
* Make sure declarations and implementations share the same modifiers (required by MSVC)
* Add a global linker option to suppress warnings about defined but unused INIT section
* Merge INIT section into .text in freeldr
2018-12-30 12:19:11 +01:00
Timo Kreuzer bcb0d7c6c9 [CABMAN] Fix a problem with creating temp files on some Windows system 2018-12-29 21:37:42 +01:00
Pierre Schweitzer f75ea083e3
[NTOSKRNL_VISTA] Implement FsRtlGetEcpListFromIrp and FsRtlGetNextExtraCreateParameter
CORE-15452
2018-12-25 13:50:41 +01:00
Pierre Schweitzer a76b8843a8
[NTOSKRNL_VISTA] Implement IoGetIrpExtraCreateParameter
CORE-15452
2018-12-25 13:50:40 +01:00
Eric Kohl 9703a42a6e [MC] Fix the build 2018-12-24 18:19:58 +01:00
Eric Kohl f0d096838b [MC] Fix build issue? 2018-12-24 18:10:38 +01:00
Eric Kohl 4e28e65490 [NET] Move TIME, USE, USER, VIEW and NET command syntax and help texts into a message table and add the translators names to the message file. 2018-12-24 11:48:23 +01:00
Eric Kohl 4984e1b810 [NET] Move START, STATISTICS and STOP command syntax and help texts into a message table. 2018-12-24 10:20:44 +01:00
Eric Kohl 01af56140c [NET] Move PAUSE, PRINT, SEND, SESSION and SHARE command syntax and help texts into a message table. 2018-12-24 01:25:30 +01:00
Eric Kohl e560fa2741 [NET] Move HRELPMSG, LOVALGROUP and NAME command syntax and help texts into a message table. 2018-12-24 00:13:16 +01:00
Eric Kohl e1824b5bd3 [NET] Move FILE, GROUP and HELP command syntax and help texts into a message table. 2018-12-23 21:42:49 +01:00
Eric Kohl 34e9290821 [NET] Move COMPUTER, CONFIG and CONTINUE command syntax and help texts into a message table. 2018-12-23 20:22:48 +01:00
Pierre Schweitzer d0b263f26f
[SDK] Set proper lang IDs, aka fix build 2018-12-23 18:22:57 +01:00
Eric Kohl 7292af515d [NET] Move ACCOUNTS command syntax and help text into a message table. 2018-12-23 16:50:25 +01:00
Eric Kohl 5c6eeb5018 [MC] Remove some useless quotation marks from message strings. 2018-12-22 19:04:54 +01:00
Pierre Schweitzer 78d703933d
[SDK] Define GetOwnerModuleFromUdpEntry() 2018-12-21 19:17:11 +01:00
Serge Gautherie 5c77cd9050 [LOG2LINES] Partially sync output format from command line input (#1109) 2018-12-21 00:27:01 +01:00
Giannis Adamopoulos 9924da34cc [USERSRV] Add definition for the USER_CREATE_SYSTEM_THREAD api message 2018-12-19 16:13:18 +02:00
Thomas Faber 0d6dcee968
[CRT] Use explicit C linkage for intrinsic functions.
Fixes MSVC warnings:
sdk\include\crt\xmmintrin.h(33): warning C4162: '_mm_getcsr': no function with C linkage found
sdk\include\crt\xmmintrin.h(35): warning C4162: '_mm_setcsr': no function with C linkage found
2018-12-19 10:55:20 +01:00
Serge Gautherie 36c1b87a0b [PSDK] Fix 5 MSVC-x64 "C4028" warnings about SQL*() (#1160)
Missed parts of sqlext.h in r74826 WineSync.
CORE-13362 CORE-7538
2018-12-18 22:48:40 +01:00
Mark Jansen b5aa5bcdc1
[SDK] Define some constants for use with _mm_prefetch (#1147)
* [SDK] Define some constants for use with _mm_prefetch
This should fix the build for x64
Add __INTRIN_INLINE for gcc and clang
2018-12-16 23:25:52 +01:00
Serge Gautherie d840d7cb1b [CMAKE] MSVC: Make C4028 warning into error, on "i386" only
"C4028: formal parameter N different from declaration"

CORE-7538
2018-12-16 23:12:22 +01:00
Hermès Bélusca-Maïto 596b1a8d24
[STLPORT] Fix MSVC x64 build.
Timo, can you check whether this disabled code block is really needed?
2018-12-15 20:19:31 +01:00
Hermès Bélusca-Maïto f6baf266e1
[PSDK] PSDK-compatibility: Add the SList function declarations to winbase.h. 2018-12-15 20:19:29 +01:00
Pierre Schweitzer 3ceb93a4f2
[PSDK] Complete the MEDIA_TYPE enum 2018-12-15 20:04:00 +01:00
Mark Jansen 97d7206f8b
[MSPATCHA] Initial patch decoding + applying.
Some initial work is done, all testcases pass now.
However a lot of the patch format is still unknown / not working,
so do not expect anything other than the apitest to work yet.
The next thing to do now, is to gather input, output and patch files,
and analyze how the compression and patching works on bigger /
more complex files.
CORE-15417
2018-12-15 16:28:59 +01:00
Mark Jansen 55e0720509
[MSPATCHA][PSDK] Update / add some function definitions 2018-12-15 16:28:59 +01:00
Mark Jansen 570b7655ab
[PSDK] Add a minimal IActiveDesktop definition
CORE-15424
2018-12-12 19:28:58 +01:00
Katayama Hirofumi MZ 25578b7d12 [INCLUDE] Replace \r\n with \n 2018-12-12 09:01:36 +09:00
Mark Jansen 1e568ce62d [SDK] Update gen_baseaddress.
* Speed up the script by using the fallback by default
* Suggest what cmake file to edit
* Add support for x64 modules (addresses not updated yet)
CORE-14923
2018-12-12 00:41:07 +01:00
Eric Kohl 3b03f44001 [PSDK] Add missing prototypes NetRegisterDomainNameChangeNotification and NetUnregisterDomainNameChangeNotification to lmconfig.h. 2018-12-11 22:49:17 +01:00
Timo Kreuzer 05169a4987 Revert "[CMAKE] Use configured include files to define the __RELFILE__ hack (#979)"
This reverts commit 07bd6089ec.
2018-12-11 21:50:58 +01:00
Joachim Henze 34679f5424 [SDK] Raise KERNEL_VERSION_PATCH_LEVEL to 12 in the version.cmake
to fix the blue setup screens and also display in sysdm.cpl
2018-12-09 20:06:40 +01:00
Serge Gautherie b92f1f4cdf
[LOG2LINES] Free all memory on exit. 2018-12-08 17:38:24 +01:00
Serge Gautherie ca2bb9ee28
[LOG2LINES] Optimize malloc() calls. 2018-12-08 17:38:16 +01:00
Hermès Bélusca-Maïto dbaa875f05
[LOG2LINES] Fix indentation. 2018-12-08 17:38:03 +01:00
Serge Gautherie f5f515c17c
[LOG2LINES] Replace overkill malloc() usage.
NOTE: Since the 'cache_name' and 'tmp_name' pointers move inside the
corresponding cached strings, separate cache buffers are needed.
2018-12-08 17:34:18 +01:00
Eric Kohl d383d1c6b0 [PSDK] Add DeleteProfileA/W prototypes to userenv.h. 2018-12-08 15:23:04 +01:00
Serge Gautherie c34fa1e389 [SDK][NDK] Move SYSTEM_POWER_INFORMATION to ntpoapi.h (#869)
As suggested by Thomas Faber. See CORE-12587 for more details.
2018-12-05 13:48:01 +01:00
Eric Kohl 04f35dc8f5 [MC] Add messages 5770-5809 to netmsg.dll.
Netmsg.dll is complete! Translations welcome!
2018-12-01 15:16:10 +01:00
Eric Kohl e6c4933c66 [MC] Add messages 5150-5296 to netmsg.dll. 2018-12-01 14:40:26 +01:00
Eric Kohl 54c123aa45 [MC] Add messages 5000-5104 to netmsg.dll. 2018-12-01 13:08:20 +01:00
Eric Kohl 4692f5f1cc [MC] Add messages 4930-4999 to netmsg.dll. 2018-12-01 11:35:56 +01:00
Katayama Hirofumi MZ 165fa1fa7e
[INCLUDE] Update winxx.h and msgdump.h (#1083) 2018-12-01 18:58:43 +09:00
Eric Kohl 792dd0dac5 [MC] Add messages 4800-4862 to netmsg.dll. 2018-11-30 23:58:59 +01:00
Hermès Bélusca-Maïto e6e9cdf8e0
[SDK] Add transact.idl, txcoord.idl and txdtc.idl, and introduce MS-PSDK-compatible adsiid library that defines GUIDs used by ADS interfaces. 2018-11-30 21:49:23 +01:00
Andrew Boyarshin 8c710dc518 [SDK] Allow use of SYSTEM_MEMORY_LIST_INFORMATION in kernel code 2018-11-30 10:21:12 +01:00
Eric Kohl 8bc141a9ad [MC] Add messages 4700-4778 to netmsg.dll. 2018-11-29 21:27:31 +01:00
Pierre Schweitzer 9476baf616
[SDK] Move TCPIP_OWNER_MODULE_BASIC_INFO definition to the right file 2018-11-29 20:30:23 +01:00
Pierre Schweitzer 60203092d7
[SDK] Define TCPIP_OWNER_MODULE_BASIC_INFO 2018-11-29 20:30:22 +01:00
Eric Kohl 2eb652c0f8 [MC] Add messages 4600-4699 to netmsg.dll. 2018-11-28 23:13:00 +01:00
Eric Kohl e486d8aaa6 [MC] Add messages 4450-4580 to netmsg.dll. 2018-11-27 22:56:10 +01:00
Pierre Schweitzer 7ce2f09a70
[SDK] Add AllocateAndGetTcp/UdpEx/2TableFromStack() functions family 2018-11-27 21:36:47 +01:00
Pierre Schweitzer 05657bfcfd
[SDK] Add a non documenter TOIID used to query modules information 2018-11-27 21:36:47 +01:00
Giannis Adamopoulos f05d01ec2f [FILEBROWSER]
In the struct passed to SHCreateFromDesktop the fourth field is the parameter that later on will be passed to ShowWindow. Initialize it properly so that when we run filrbrowser.exe in win2k3 the main window won't be hidden.
2018-11-27 10:33:45 +02:00
Eric Kohl 3e3560e9c2 [MC] Add messages 4400-4440 to netmsg.dll. 2018-11-26 21:34:34 +01:00
Eric Kohl e397003617 [MC] Add messages 4350-4399 to netmsg.dll. 2018-11-25 23:24:19 +01:00
Eric Kohl a94d24fe20 [MC] Add messages 4300-4349 to netmsg.dll. 2018-11-25 15:41:53 +01:00
Pierre Schweitzer cdf47d5254
[VFATLIB] Drop a hack no longer needed after f87d9ca 2018-11-25 10:41:22 +01:00
Eric Kohl 40f066657e [MC] Add messages 5730-5769 to netmsg.dll. 2018-11-25 10:38:54 +01:00
Eric Kohl 2410eef6d2 [PSDK] Add missing NELOG_ error codes to lmerrlog.h. 2018-11-24 22:29:02 +01:00
Eric Kohl 41f991b1be [MC] Add message 5300-5381 to netmsg.dll. 2018-11-24 22:07:28 +01:00
Pierre Schweitzer aac38dfed8
[RDBSS] Fix a typo
Spotted by Hermès
2018-11-24 22:00:09 +01:00
Pierre Schweitzer fbdfe7bd40
[SDK] Add GetExtendedUdpTable() 2018-11-24 21:41:10 +01:00
Eric Kohl ded2783906 [MC] Add messages 3802-3969 and 5700-5729 to netmsg.dll. 2018-11-24 13:51:50 +01:00
Pierre Schweitzer 738f327668
[IP] Add a TCPGetSocketStatus() wrapper around LibTCPGetSocketStatus() 2018-11-23 22:51:35 +01:00
Pierre Schweitzer 29c1510423
[LWIP] Implement a LibTCPGetSocketStatus() function in our LwIP glue
It is used to query a socket state (established, closed, and so on).
2018-11-23 22:51:35 +01:00
Stanislav Motylkov baf2c0cc2d [DRWTSN32] Add SMBIOS data to the system information (#1017)
[DMILIB][UDMIHELP] Allow functions to be linked with C++ code.
2018-11-21 21:49:15 +01:00
William Kent c1b4d51f0b
[MC] Fix syntax errors in errcodes.mc
This was causing the MSVC build to fail.
2018-11-21 00:15:42 +01:00
Eric Kohl 634192cccd [MC] Add messages 3710-3790 to netmsg.dll. 2018-11-18 23:58:12 +01:00
Pierre Schweitzer 7c0a8eb555
[TDILIB] Make tdiGetSetOfThings() return useful status 2018-11-18 16:30:45 +01:00
Eric Kohl d70e92fcd3 [MC] Add messages 3000-3049, 3660-3695 and 5500-5517 to netmsg.dll. 2018-11-18 16:25:04 +01:00
Eric Kohl 0ab3a1f2d5 [MC] Add messages 3301-3421 to netmsg.dll and renamed messages 3500-3547. 2018-11-18 10:54:28 +01:00
Eric Kohl 9ff64cfebb [MC] Add messages 3051-3099 and 5600-5602. This completes the SERVICE and SERVICE2 message ranges from lmsvc.h. 2018-11-17 21:13:31 +01:00
Bernhard Feichtinger 76daaf9faf [MODULES] Add a convenient option to transfer files into a new installation (#877)
Purpose:
When doing a PXE BootCD installation, you may be left without networking, usb and a cd drive.
This adds an easy way to include a few or more files to the installation which are then present on the disk after the installation and which does not require any change to ReactOS source code/build script files (and no manual editing of boot/bootdata/packages/reactos.dff.in).

Proposed changes:
Adds a new modules/3rdparty folder which lets the files end up in C:\ReactOS\3rdParty ready for use.
2018-11-16 23:26:58 +01:00
Eric Kohl c83c683bc3 [MC] Add messages 3190-3299. The first NELOG range is done. 2018-11-16 22:26:50 +01:00
Eric Kohl 4a889acc63 [PSDK] Add missing NELOG-codes to lmerrlog.h 2018-11-16 22:26:49 +01:00
Eric Kohl b21177a7d8 [MC] Add messages 3150-3186 and 3530-3547 to netmsg.dll. 2018-11-15 22:39:31 +01:00
Eric Kohl 9491979ac3 [MC] Add messages 3100-3141 and 3516-3529 to netmsg.dll. 2018-11-14 22:30:19 +01:00
Eric Kohl 3c8356e752 [MC] Add messages 2500-2999. The NERR-range is complete. 2018-11-11 22:43:09 +01:00
Eric Kohl 1f80b6648b [PSDK] Add missing NERR-codes to lmerr.h 2018-11-11 22:43:08 +01:00
Eric Kohl bebbb69b21 [MC] Add messages 2300-2484 to netmsg.dll. 2018-11-11 19:54:32 +01:00
Eric Kohl 7021115c21 [PSDK] Add missing NERR_IsDfsShare to lmerr.h. 2018-11-11 19:54:30 +01:00
Eric Kohl 0d3f1a1c02 [MC] Add messages 2250-2299 and 3510-3513 to netmsg.dll. 2018-11-11 17:56:05 +01:00
Eric Kohl 8d8188b679 [MS] Add messages 2200-2249 and 3502-3507 to netmsg.dll. 2018-11-11 15:46:55 +01:00
Eric Kohl 0b2da20b41 [MC] Add some messages to netmsg.dll. 2018-11-10 10:33:23 +01:00
Bișoc George 4c6370de16 [USETUP] Remove the PARTITION_EXT2 constant and use PARTITION_LINUX in favour since PARTITION_EXT2 is just an alias to PARTITION_LINUX
And since we're here, add PARTITION_LINUX_EXT to ReactOS I/O controls header (rosioctl.h).
2018-11-07 23:16:29 +01:00
Katayama Hirofumi MZ 3ccb48e6c2
[INCLUDE] typo in msgdump.h, s/MS_msgdump/MD_msgdump/ (#1016)
Fix #1015.
2018-11-08 00:51:41 +09:00
Katayama Hirofumi MZ df5bee6509
[INCLUDE] Add <winxx.h> and <msgdump.h> (#1015)
File "sdk/include/reactos/msgdump.h" I added helps us dump Win32API message info. Use freely.
2018-11-07 22:28:59 +09:00
Eric Kohl 0d4591c672 [SCHEDSVC] Start jobs on timeout
- Start jobs on timeout
- Add job flags to the idl file
2018-11-05 00:24:16 +01:00
Eric Kohl 751674c98e [MC] Add some messages to netmsg.dll 2018-11-04 18:39:13 +01:00
Jérôme Gardou 5c61063d25
[CMAKE] Do not add any extension to separate debug symbol files (#1000)
There is no possibility for GDB to recognize them otherwise
2018-10-30 17:23:42 +01:00
Eric Kohl 19cabfc763 [WKSSVC][IDL] Add names of unsupported functions 2018-10-27 19:04:31 +02:00
Eric Kohl 0ce15a8faa [LSASRV][IDL] The first parameter of the Credr* functions is a PLSAPR_SERVER_NAME. 2018-10-27 18:17:35 +02:00
Hermès Bélusca-Maïto c8d37c1a0d
[SYSSETUP] Use a $winnt$.inf file to retrieve setup information for the 2nd-stage setup.
Following r75518, we use the $winnt$.inf file (created in System32
by the 1st-stage installer) as the setup information file for the
2nd-stage setup for:

- retrieving the installation source media path;
- retrieving the unattended information that was copied from the
  unattend.inf file from the installation source media.

The installation source media path is converted from NT format to
Win32 format for usage with Win32 functions and storage in the registry:
this is done by GetInstallSourceWin32(), which replaces the hackish
GetRosInstallCD() function.

The $winnt$.inf file is also updated, and the registry values "SourcePath"
and "ServicePackSourcePath" are created / updated in:
HKLM\Software\Microsoft\Windows\CurrentVersion\Setup .

svn path=/branches/setup_improvements/; revision=75524
2018-10-27 18:13:38 +02:00
Eric Kohl 11500a0033 [IDL] Fix coding style and indentation 2018-10-27 16:34:37 +02:00
Eric Kohl bc08438c7a [IDL] Fix coding style and indentation 2018-10-27 15:48:21 +02:00
Jérôme Gardou 07bd6089ec
[CMAKE] Use configured include files to define the __RELFILE__ hack (#979)
[CMAKE] Use configured include files to define the __RELFILE__ hack

It's easier on the command line and the eyes looking at it
2018-10-26 13:47:22 +02:00
Mark Jansen ea84aef662
[SDK] Update baseaddresses 2018-10-25 06:59:45 +02:00
Hermès Bélusca-Maïto 8269478385
[CMAKE] Apply patch INF file for the SETUP SYSTEM registry hive that removes the entries in the Critical Device Database that cause problems with PnP setup during 1st-stage setup. 2018-10-25 00:45:10 +02:00
Katayama Hirofumi MZ 17449bcff1
[TRANSLATION][MC] Add Romanian messages (#850)
CORE-11898
2018-10-24 22:40:21 +09:00
Giannis Adamopoulos c69ef281c0 [rosctrls.h] CListView: Add Arrange method
[SHELL32] CDefView: Start implementing Auto arrange.
So far its effect is only shown when the browser window resizes.
2018-10-22 23:51:37 +03:00
Pierre Schweitzer c5983e302d
[VFATLIB] Don't attempt to fix volume if not allowed 2018-10-21 11:12:10 +02:00
Hermès Bélusca-Maïto aef566c19e
[MKHIVE] Minor code rearrangement. 2018-10-20 19:52:07 +02:00
Hermès Bélusca-Maïto da019b0fc5
[MKHIVE] Fix some compilation warnings. 2018-10-19 00:25:19 +02:00
Hermès Bélusca-Maïto e723b9f4b4
[MKHIVE] Fix cases where 'rc' was used without being initialized.
Fixes crashes when the tool is compiled with Run-Time Checks enabled.
And thus should fix the MSVC buildbots!
Thanks to Pierre for having brought this issue to me.

CORE-15201
2018-10-18 23:11:55 +02:00
Hermès Bélusca-Maïto 473ca91166
[MKHIVE] Fix compilation warnings. 2018-10-15 00:37:08 +02:00
Eric Kohl 731ef01361 [NEWDEV] Add InstallDevInstEx 2018-10-14 18:19:52 +02:00
Hermès Bélusca-Maïto fc35f6eb4b
[MKHIVE] Return win32-like error codes for functions that expect to do so. Fix and comment out some unused ERROR_xxx/STATUS_xxx defines. 2018-10-14 17:10:04 +02:00
Hermès Bélusca-Maïto 8f82b00fa6
[MKHIVE] Minor code formatting. 2018-10-14 16:28:13 +02:00
Hermès Bélusca-Maïto d91a47826e
[MKHIVE] Implement RegDeleteKeyW() and RegDeleteValueW(). 2018-10-14 15:59:57 +02:00
Hermès Bélusca-Maïto 6a44c10d5d
[MKHIVE] Minor improvements.
- Fix a bug in RegpCreateOrOpenKey() when we attempt to open an
  non-existing (sub-)key.
- Check failure of RegCreateKeyExW() in CreateSymLink().
- Remove unneeded includes.
- Update few comments.
2018-10-14 15:59:54 +02:00
Hermès Bélusca-Maïto ec3c61c233
[MKHIVE] Simplify CmiAddValueKey() by using CmpAddValueToList(). 2018-10-14 15:59:50 +02:00
Hermès Bélusca-Maïto a965cf6e04
[MKHIVE] Sync a bit more of reginf.c with the corresponding setupapi code. 2018-10-14 15:59:46 +02:00
Hermès Bélusca-Maïto 81d435a181
[MKHIVE] Implement and use RegCloseKey(). 2018-10-14 15:59:41 +02:00
Hermès Bélusca-Maïto 4caf391324
[NTOS][MKHIVE] Minor code formatting. 2018-10-14 15:59:34 +02:00
Hermès Bélusca-Maïto bf8a7d2db0
[CMLIB] Adjust parameter types and annotations. Add diagnostic assertions. 2018-10-14 15:59:31 +02:00
Mark Jansen 2d47c3be29
[CRT] spawn: define a unicode environment when needed
CORE-9182
2018-10-13 20:30:07 +02:00
Hermès Bélusca-Maïto 47d539e6e0
[RTL] Make a RtlQueryEnvironmentVariable_U() DPRINT a little bit more useful. 2018-10-13 19:44:13 +02:00
Mark Jansen ef202724d8
[SDK] Implement __wine_spec_unimplemented_stub with ntdll functions 2018-10-12 19:30:36 +02:00
Mark Jansen b494abbd72
[SDK] Add version option to our spec2def cmake command 2018-10-12 19:30:36 +02:00
Mark Jansen 4e3f76352a
[SDK] Add the WITH_RELAY option to msvc's spec2def command. (GCC already had it) 2018-10-12 19:30:35 +02:00
Mark Jansen d564c7c8e3
[SPEC2DEF] Fix support for different OS versions. 2018-10-12 19:30:35 +02:00
Hermès Bélusca-Maïto 4e6fc201a0
[MKHIVE] Fixes for the previous fixes.
- Fix parsing of the options.
- Only uppercase the file name part and NOT the full path!
  And do it in a way GCC-Linux correctly understands, aka.:
      *ptr = toupper(*ptr); ++ptr;
  but NOT!:
      *ptr++ = toupper(*ptr);
  (that last one worked on GCC-Win and MSVC).

[CMAKE] Let's keep SETUPREG.HIV and BCD hive file names in uppercase
(use the '-u' switch) while keeping the other ones in lowercase.

Should definitively fix GCCLin builder!
2018-10-09 01:33:10 +02:00
Hermès Bélusca-Maïto f37dd1e10a
[MKHIVE] Remove support for '/' options, this does not behave well under Linux. 2018-10-09 00:25:01 +02:00
Hermès Bélusca-Maïto efbe071e02
[MKHIVE] Minor additional functionality.
- Add support for '/' switch characters.
- Add '-?' switch.

TEMPORARY:
- Add a '-u' switch to generate hive file names in uppercase (by default
  we keep these in lowercase). Should help in fixing GCCLin builder.

[CMAKE] Fix expected file name case. Should help in fixing GCCLin builder.
2018-10-09 00:15:14 +02:00
Hermès Bélusca-Maïto c069ca1797
[MKHIVE] Improve dprint output (delimiting where strings start & end: is useful for empty strings).
svn path=/branches/setup_improvements/; revision=74768
2018-10-08 21:23:39 +02:00