reactos.git
6 years ago[RPCTR4]
Eric Kohl [Sat, 31 May 2014 22:03:41 +0000 (22:03 +0000)]
[RPCTR4]
Skip the optional leading backslashes in server names for the ncacn_np protocol.
This will fix at least one failure in the advapi32 registry winetest.

svn path=/trunk/; revision=63523

6 years ago[PSDK]
Timo Kreuzer [Sat, 31 May 2014 21:52:30 +0000 (21:52 +0000)]
[PSDK]
Add annotation to HRESULT typedef, add a number of missing typedefs and defines, make RTL_CONSTANT_STRING and RTL_NUMBER_OF_V2 more secure by adding compiler checks for common errors, make use of intrinsics for some 64 bit shift macros.

svn path=/trunk/; revision=63522

6 years ago{CRT]
Timo Kreuzer [Sat, 31 May 2014 21:39:36 +0000 (21:39 +0000)]
{CRT]
- Treat ARM like x64 in excpt.h
- Give Clang the right __CRT_INLINE definition

svn path=/trunk/; revision=63521

6 years ago[MCISEQ] Silence a warning
Timo Kreuzer [Sat, 31 May 2014 21:26:26 +0000 (21:26 +0000)]
[MCISEQ] Silence a warning
[CMAKE] Get rid of -Wtype-limits, it's noisy, it doesn't provide any reasonable benefit and it's almost impossible to "fix" these warnings without huge haxxory.

svn path=/trunk/; revision=63520

6 years ago[W32KDLL]
Timo Kreuzer [Sat, 31 May 2014 20:43:41 +0000 (20:43 +0000)]
[W32KDLL]
Update ros syscall list from trunk, remove obsolete files

svn path=/trunk/; revision=63519

6 years ago[SETUP16/EXPLORER/LIBTIFF/DESK/ADVAPI32/MCIWAVE/SAMSRV/SHELL32/WINMM/LIBMPG123]
Timo Kreuzer [Sat, 31 May 2014 16:58:03 +0000 (16:58 +0000)]
[SETUP16/EXPLORER/LIBTIFF/DESK/ADVAPI32/MCIWAVE/SAMSRV/SHELL32/WINMM/LIBMPG123]
Fix / silence warnings

svn path=/trunk/; revision=63518

6 years ago[BROWSEUI] Silence warnings about unused but set variables
Timo Kreuzer [Sat, 31 May 2014 16:19:36 +0000 (16:19 +0000)]
[BROWSEUI] Silence warnings about unused but set variables
[MESA] Silence warnings about unused but set variables and type limits
[GENINC] Remove obsolete file
[OBJ2BIN] Fix a typo

svn path=/trunk/; revision=63517

6 years ago[CRT]
Amine Khaldi [Sat, 31 May 2014 16:08:41 +0000 (16:08 +0000)]
[CRT]
* Update scanf.h.
CORE-8080

svn path=/trunk/; revision=63516

6 years ago[ROSTESTS]
Timo Kreuzer [Sat, 31 May 2014 16:00:05 +0000 (16:00 +0000)]
[ROSTESTS]
Silence some warnings, fix compilation of w32kdll with MSVC, give dllexport_test dlls a base address.

svn path=/trunk/; revision=63515

6 years ago[WINE]
Timo Kreuzer [Sat, 31 May 2014 15:44:45 +0000 (15:44 +0000)]
[WINE]
Try to fix some warnings in wine tests

svn path=/trunk/; revision=63514

6 years ago[CMLIB]
Timo Kreuzer [Sat, 31 May 2014 15:34:21 +0000 (15:34 +0000)]
[CMLIB]
Fix build (and warnings)

svn path=/trunk/; revision=63513

6 years ago[HOST]
Timo Kreuzer [Sat, 31 May 2014 15:29:10 +0000 (15:29 +0000)]
[HOST]
Try to fix some host warnings.

svn path=/trunk/; revision=63512

6 years ago[GECKO]
Amine Khaldi [Sat, 31 May 2014 14:51:36 +0000 (14:51 +0000)]
[GECKO]
* Introduce a faster and smaller build without dependency on exports that do not exist in native.
[MSVCRT]
* Get rid of some exports that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63511

6 years ago[NET]
Amine Khaldi [Sat, 31 May 2014 14:24:26 +0000 (14:24 +0000)]
[NET]
* Fix MSVC build.

svn path=/trunk/; revision=63510

6 years ago[NET]
Eric Kohl [Sat, 31 May 2014 08:32:54 +0000 (08:32 +0000)]
[NET]
- Fix an off-by-one bug in the ACCOUNTS command.
- Improve input validation for the ACCOUNTS command.
- Add the /help option to the CONTINUE command.
- Add version resource and start to move texts into resources.

svn path=/trunk/; revision=63509

6 years ago[NTOSKRNL]
Aleksandar Andrejevic [Sat, 31 May 2014 01:17:00 +0000 (01:17 +0000)]
[NTOSKRNL]
Don't allow saving keys which are located directly in the master hive.

svn path=/trunk/; revision=63508

6 years ago[NTDLL_APITESTS]
Aleksandar Andrejevic [Sat, 31 May 2014 01:14:02 +0000 (01:14 +0000)]
[NTDLL_APITESTS]
Add tests for NtSaveKey.

svn path=/trunk/; revision=63507

6 years ago[NTOS:CM]
Hermès Bélusca-Maïto [Fri, 30 May 2014 21:47:22 +0000 (21:47 +0000)]
[NTOS:CM]
Replace a hardcoded value with something more readable.

svn path=/trunk/; revision=63506

6 years ago[NTOS:CM]
Hermès Bélusca-Maïto [Fri, 30 May 2014 20:40:02 +0000 (20:40 +0000)]
[NTOS:CM]
- Add a DPRINT1 in CmCheckRegistry because it is unimplemented, and give the CheckFlags value to CmCheckRegistry, when it is called in CmpInitializeHive.
- Give the CheckFlags value to CmpInitializeHive, when it is called in CmpInitHiveFromFile.
- Really mention that the CmCreateRootNode call is a HACK for ROS.

svn path=/trunk/; revision=63505

6 years ago[Win32k]
James Tabor [Fri, 30 May 2014 12:38:04 +0000 (12:38 +0000)]
[Win32k]
- Fix removing menus and submenus. Dedicated to David Quintana and the New Explorer and Shell team.

svn path=/trunk/; revision=63502

6 years ago[ASM]
Timo Kreuzer [Fri, 30 May 2014 00:30:38 +0000 (00:30 +0000)]
[ASM]
- Fix geninc and spec2def to support the MS ARM assembler
- Add an MSVC compatible version of kxarm.h
- autogenerate ksarm.h with geninc.c
- Move some ARM definitions to NDK

svn path=/trunk/; revision=63501

6 years ago[INCLUDE]
Timo Kreuzer [Fri, 30 May 2014 00:09:55 +0000 (00:09 +0000)]
[INCLUDE]
- ntdef.h: Add #pragma once, include guiddef.h and kernelspecs.h, slightly cleanup the nameless struct/union stuff, fix PVOID64 definition, fix definition of UNALIGNED on ARM, stop checking for too outdated MSVC versions (< 1300), start using ULONG32 instead of ULONG at some places (this is to be able to share the code with winnt.h later), add missing PROBE_ALIGNMENT32, DECLSPEC_NOTHROW, DECLSPEC_UUID, DECLSPEC_NOVTABLE, DECLSPEC_DEPRECATED, DECLSPEC_DEPRECATED_DDK, simpify HANDLE definition.

svn path=/trunk/; revision=63500

6 years ago[INCLUDE]
Timo Kreuzer [Thu, 29 May 2014 23:43:19 +0000 (23:43 +0000)]
[INCLUDE]
- rewrite msvctarget.h to define all native MSVC architecture macros and do not define x86 sub-architecture numbers, they are deprecated
- basetsd.h: Fix header guard, include msvctarget.h instead of adding some custom defines, add missing FIRMWARE_PTR definition, fix POINTER_64 definition

svn path=/trunk/; revision=63499

6 years ago[USERINIT]
Hermès Bélusca-Maïto [Thu, 29 May 2014 23:20:31 +0000 (23:20 +0000)]
[USERINIT]
- Remove two unuseful imports.
- Rewrite StrToColorref to not use shell functions, and increase a bit the size of the szColor buffer in SetUserSysColors to match the capabilities of windows.

svn path=/trunk/; revision=63498

6 years ago[PSDK]
Hermès Bélusca-Maïto [Thu, 29 May 2014 22:37:43 +0000 (22:37 +0000)]
[PSDK]
- Fix the CMYK macro which was totally broken.
- Code formatting around RGB macro.

svn path=/trunk/; revision=63497

6 years ago[LSASRV]
Hermès Bélusca-Maïto [Thu, 29 May 2014 21:34:35 +0000 (21:34 +0000)]
[LSASRV]
- Just run again the loop if LsarOpenAccount call failed (that also avoids a call to LsarClose on a NULL handle, that is trapped by the kdbg if one enabled "set condition * first always").
- Free the memory and the opened handles before returning in case of failure of LsapAddPrivilegeToTokenPrivileges. Maybe this cleaning step can be done more elegantly.
Eric, can you please review that? It should be good I think.

svn path=/trunk/; revision=63496

6 years ago[NTOSKRNL]
Aleksandar Andrejevic [Thu, 29 May 2014 19:44:36 +0000 (19:44 +0000)]
[NTOSKRNL]
Implement NtSaveKey/NtSaveKeyEx and its backend CmSaveKey.
CORE-8259 #resolve #comment Committed in revision r63495.

svn path=/trunk/; revision=63495

6 years ago[ADVAPI32][MSGINA]
Eric Kohl [Thu, 29 May 2014 15:19:30 +0000 (15:19 +0000)]
[ADVAPI32][MSGINA]
Fix overflow of TokenSource.SourceName.
CORE-8272 #resolve

svn path=/trunk/; revision=63494

6 years ago[Win32k]
James Tabor [Wed, 28 May 2014 22:52:38 +0000 (22:52 +0000)]
[Win32k]
- Turn on MDI system menus.

svn path=/trunk/; revision=63493

6 years ago[User32]
James Tabor [Wed, 28 May 2014 22:48:50 +0000 (22:48 +0000)]
[User32]
- Add MDI system menu. If this is inaccurate please open a Jira report.

svn path=/trunk/; revision=63492

6 years ago[KERNEL32]
Pierre Schweitzer [Wed, 28 May 2014 18:39:51 +0000 (18:39 +0000)]
[KERNEL32]
- Directly call CopyFileExW() from CopyFileA()
- ReactOSify CopyFileW()

svn path=/trunk/; revision=63491

6 years ago[NET]
Eric Kohl [Wed, 28 May 2014 08:06:10 +0000 (08:06 +0000)]
[NET]
Implement NET ACCOUNTS command.

svn path=/trunk/; revision=63490

6 years ago[CRT]
Timo Kreuzer [Tue, 27 May 2014 22:58:53 +0000 (22:58 +0000)]
[CRT]
Do not mark inp* and outp* as dllimport.

svn path=/trunk/; revision=63489

6 years ago[CRT]
Timo Kreuzer [Tue, 27 May 2014 22:12:15 +0000 (22:12 +0000)]
[CRT]
Hopefully fix build, by specifying minimum MSC versions for some intrinsics

svn path=/trunk/; revision=63488

6 years ago[CRT]
Timo Kreuzer [Tue, 27 May 2014 22:07:29 +0000 (22:07 +0000)]
[CRT]
remove __readfsqword, it does not exist.

svn path=/trunk/; revision=63487

6 years ago[CRT]
Timo Kreuzer [Tue, 27 May 2014 22:01:55 +0000 (22:01 +0000)]
[CRT]
Add many missing intrinsics to the MSVC intrin.h, including x86, x64 and ARM

svn path=/trunk/; revision=63486

6 years ago[CMAKE]
Timo Kreuzer [Tue, 27 May 2014 21:32:42 +0000 (21:32 +0000)]
[CMAKE]
Revert r63470 and add a comment, that this is not a typo.

svn path=/trunk/; revision=63485

6 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 27 May 2014 21:29:36 +0000 (21:29 +0000)]
[NTVDM]
Fix the previous fix. Use LOBYTE/HIBYTE not LOWORD/HIWORD.

svn path=/trunk/; revision=63484

6 years ago[atl]
Christoph von Wittich [Tue, 27 May 2014 21:20:39 +0000 (21:20 +0000)]
[atl]
atl: memory leak on failure path (copy pasta?)
spotted by Samuel Serapion
CORE-8212

svn path=/trunk/; revision=63483

6 years ago[FAST486][NTVDM]
Aleksandar Andrejevic [Tue, 27 May 2014 21:10:45 +0000 (21:10 +0000)]
[FAST486][NTVDM]
Several fixes in fast486 and ntvdm:
DosCopyEnvironmentBlock - prepend the program name tag (0x0001) to the program name.
Fast486OpcodePushByteImm, Fast486OpcodePushImm - sign-extend instead of zero-extending.
Fast486InterruptInternal - The parameter is supposed to be the type of the gate, not a boolean.
GET_SEGMENT_RPL will not work on real-mode selectors, use a special field for the RPL.
Loading a data segment with the NULL selector should never generate an exception.
Mask out the highest-order byte of the physical address when loading a descriptor table in 16-bit mode.
Fast486InterruptInternal - The interrupt gate type determines the size.
CORE-8257 #resolve #comment Fixed in revision r63482.

svn path=/trunk/; revision=63482

6 years ago[setupapi]
Christoph von Wittich [Tue, 27 May 2014 20:33:21 +0000 (20:33 +0000)]
[setupapi]
sync setupapi\dirid.c with wine
patch by Samuel Serapion
CORE-7663

svn path=/trunk/; revision=63481

6 years ago[CMAKE]
Amine Khaldi [Tue, 27 May 2014 19:42:15 +0000 (19:42 +0000)]
[CMAKE]
* Convert the hives from UTF-8 to UTF16 as part of the build process.
CORE-7703
CORE-8221

svn path=/trunk/; revision=63480

6 years ago[SETUP]
Eric Kohl [Tue, 27 May 2014 11:49:14 +0000 (11:49 +0000)]
[SETUP]
Formatting. No code changes!

svn path=/trunk/; revision=63478

6 years ago[Win32k]
James Tabor [Mon, 26 May 2014 19:53:25 +0000 (19:53 +0000)]
[Win32k]
- More tweaks for MDI drawing. Tested our explorer, winefile and Vide2 from http://vgui.sourceforge.net/. Help is needed to fix MDI icon system menu loading, updating and moving.

svn path=/trunk/; revision=63477

6 years ago[NTDLL]
Amine Khaldi [Mon, 26 May 2014 19:17:48 +0000 (19:17 +0000)]
[NTDLL]
* Zap some exports that do not exist in native.
* Reorder some exports.
* Add the missing ones. They are commented out and will be added on-demand.
CORE-8174

svn path=/trunk/; revision=63476

6 years ago[GDI32]
Kamil Hornicek [Mon, 26 May 2014 18:59:56 +0000 (18:59 +0000)]
[GDI32]
- return the correct flags in DdGetDriverInfo
CORE-7070

svn path=/trunk/; revision=63475

6 years ago[MSVCRT]
Amine Khaldi [Mon, 26 May 2014 18:18:51 +0000 (18:18 +0000)]
[MSVCRT]
* Zap some exports that do not exist in native.
* Reorder some exports.
CORE-8174

svn path=/trunk/; revision=63474

6 years ago[STLPORT]
Amine Khaldi [Mon, 26 May 2014 18:04:49 +0000 (18:04 +0000)]
[STLPORT]
* Don't use _fseeki64 which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63473

6 years ago[MSVCRT]
Amine Khaldi [Mon, 26 May 2014 16:10:49 +0000 (16:10 +0000)]
[MSVCRT]
* Zap some exports that do not exist in native.
* Reorder some exports.
CORE-8174

svn path=/trunk/; revision=63472

6 years ago[MSTSC]
Amine Khaldi [Mon, 26 May 2014 15:39:58 +0000 (15:39 +0000)]
[MSTSC]
* Don't use _swprintf in the MSVC build, it shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63471

6 years ago[CMAKE]
Amine Khaldi [Mon, 26 May 2014 15:32:48 +0000 (15:32 +0000)]
[CMAKE]
* Fix what seems to be a typo in the definition.

svn path=/trunk/; revision=63470

6 years ago[CMAKE/ARM]
Amine Khaldi [Mon, 26 May 2014 15:31:07 +0000 (15:31 +0000)]
[CMAKE/ARM]
* Do not handle hotpatchable images in MSVC ARM builds (the flag is unknown to the compiler).

svn path=/trunk/; revision=63469

6 years ago[CMAKE/ARM]
Amine Khaldi [Mon, 26 May 2014 15:28:12 +0000 (15:28 +0000)]
[CMAKE/ARM]
* Add armasm assembler support. Inspired by Yuntian Zhang's patch.
CORE-7439

svn path=/trunk/; revision=63468

6 years ago[bootdata]
Christoph von Wittich [Mon, 26 May 2014 14:33:26 +0000 (14:33 +0000)]
[bootdata]
Polish translation by Olaf Siejka

svn path=/trunk/; revision=63467

6 years ago[bootdata]
Christoph von Wittich [Mon, 26 May 2014 14:29:11 +0000 (14:29 +0000)]
[bootdata]
set encoding to UTF-16 instead of UTF-16LE to make viewvc happy

svn path=/trunk/; revision=63466

6 years ago[APPWIZ]
Amine Khaldi [Mon, 26 May 2014 14:24:06 +0000 (14:24 +0000)]
[APPWIZ]
* Don't use _swprintf in the MSVC build, it shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63465

6 years ago[TCPSVCS]
Amine Khaldi [Mon, 26 May 2014 14:03:24 +0000 (14:03 +0000)]
[TCPSVCS]
* Use swprintf instead of _swprintf which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63464

6 years ago[HELP][SHUTDOWN]
Amine Khaldi [Mon, 26 May 2014 13:48:49 +0000 (13:48 +0000)]
[HELP][SHUTDOWN]
* Use vfwprintf instead of _vcwprintf which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63463

6 years ago[hivecls.inf]
Christoph von Wittich [Mon, 26 May 2014 13:23:48 +0000 (13:23 +0000)]
[hivecls.inf]
French translation by Pierre Schweitzer

svn path=/trunk/; revision=63462

6 years ago[MSVCRT]
Amine Khaldi [Mon, 26 May 2014 09:57:36 +0000 (09:57 +0000)]
[MSVCRT]
* Zap some exports that do not exist in native.
* Group the ones that we're forced to keep (only temporarily right now) for Gecko.
CORE-8174

svn path=/trunk/; revision=63460

6 years ago[INCLUDE/CRT]
Amine Khaldi [Mon, 26 May 2014 09:55:29 +0000 (09:55 +0000)]
[INCLUDE/CRT]
* Do not define __STDC_SECURE_LIB__ and co, our msvcrt won't provide the related exports.
CORE-8174

svn path=/trunk/; revision=63459

6 years ago[SERVMAN]
Amine Khaldi [Mon, 26 May 2014 09:53:49 +0000 (09:53 +0000)]
[SERVMAN]
* Use StringCchCopy instead of {_t,w}cscpy_s as these shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63458

6 years ago[Win32k]
James Tabor [Mon, 26 May 2014 04:36:58 +0000 (04:36 +0000)]
[Win32k]
- Make minimizing windows in MDI application usable, more fixing is needed. ReactOS suffers from wine poisoning. Need more Vodka! See wine Bug 1719.

svn path=/trunk/; revision=63457

6 years ago[Win32k]
James Tabor [Mon, 26 May 2014 03:08:06 +0000 (03:08 +0000)]
[Win32k]
- Use desktop system menu.

svn path=/trunk/; revision=63456

6 years ago[Win32k]
James Tabor [Mon, 26 May 2014 01:26:45 +0000 (01:26 +0000)]
[Win32k]
- Fix G/SetSystemMenu. Move code into menu.c.
- Add loading for MDI system menu.

svn path=/trunk/; revision=63455

6 years ago[Win32k]
James Tabor [Sun, 25 May 2014 21:30:52 +0000 (21:30 +0000)]
[Win32k]
- Code cleanup.

svn path=/trunk/; revision=63454

6 years ago[ROSTESTS]
Timo Kreuzer [Sun, 25 May 2014 20:21:02 +0000 (20:21 +0000)]
[ROSTESTS]
disable some tests on x64, since they don't build. Disable some exports from dllexport_test on non-x86 build, since decorations are x86 specific.

svn path=/trunk/; revision=63453

6 years ago[bootdata]
Christoph von Wittich [Sun, 25 May 2014 20:17:25 +0000 (20:17 +0000)]
[bootdata]
convert hivecls.inf and hivedef.inf to UTF16LE
fixes CORE-7614

svn path=/trunk/; revision=63452

6 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 25 May 2014 20:10:31 +0000 (20:10 +0000)]
[NTOSKRNL]
Revert unwanted white space changes

svn path=/trunk/; revision=63451

6 years ago[PSDK]
Amine Khaldi [Sun, 25 May 2014 19:28:14 +0000 (19:28 +0000)]
[PSDK]
* Fix an ARM ifdef.

svn path=/trunk/; revision=63450

6 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 25 May 2014 19:13:32 +0000 (19:13 +0000)]
[NTOSKRNL]
Implement prototype PTE support in MiGetPageProtection. Should hopefully fix crashes with OllyDbg.

svn path=/trunk/; revision=63449

6 years ago[CMAKE]
Amine Khaldi [Sun, 25 May 2014 19:04:21 +0000 (19:04 +0000)]
[CMAKE]
* Include the dummy source file for the PSEH ARM build too.

svn path=/trunk/; revision=63448

6 years ago[MSVCRT]
Amine Khaldi [Sun, 25 May 2014 17:55:48 +0000 (17:55 +0000)]
[MSVCRT]
* Zap some commented out exports that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63447

6 years ago[MSVCRT]
Amine Khaldi [Sun, 25 May 2014 17:04:44 +0000 (17:04 +0000)]
[MSVCRT]
* Zap some commented out exports that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63446

6 years ago[CRT]
Amine Khaldi [Sun, 25 May 2014 16:09:32 +0000 (16:09 +0000)]
[CRT]
* Partial update of scanf routines (MS ABI varargs).
CORE-8080

svn path=/trunk/; revision=63445

6 years ago[WIN32K]
Timo Kreuzer [Sun, 25 May 2014 14:41:33 +0000 (14:41 +0000)]
[WIN32K]
Remove obsolete patblt.c (all the code is in bitblt.c)

svn path=/trunk/; revision=63444

6 years ago[CRT]
Amine Khaldi [Sun, 25 May 2014 14:30:54 +0000 (14:30 +0000)]
[CRT]
* Partial update of scanf routines. Focus was on the case of reading a float.
* Don't inline float processing, introduce _internal_handle_float() and co to take care of this. Brought to you by Timo.
* Msvcrt scanf tests are now green.
CORE-7005 #resolve #comment Should be fixed in r63443. Thanks Dmitry ;)
CORE-8080

svn path=/trunk/; revision=63443

6 years ago[WIN32K]
Timo Kreuzer [Sun, 25 May 2014 12:59:17 +0000 (12:59 +0000)]
[WIN32K]
Make sure to check for invalid NULL handles before passing them to GDIOBJ_bLockMultipleObjects, which skips NULL handles. This is a design limitation, since otherwise we either need to pass a bitfield of valid handles, or duplicate  code in certain functions, where different combinations of dest, source and mask dc are allowed.

svn path=/trunk/; revision=63442

6 years ago[CMAKE]
Amine Khaldi [Sun, 25 May 2014 12:29:49 +0000 (12:29 +0000)]
[CMAKE]
* Force the C++ compiler in the ARM case.

svn path=/trunk/; revision=63441

6 years ago[LAUTUS]
Daniel Reimer [Sun, 25 May 2014 11:40:30 +0000 (11:40 +0000)]
[LAUTUS]
Change the used font from Segoe UI (MS ONLY) to the very close looking OpenSans family. Same parameters though.

svn path=/trunk/; revision=63440

6 years ago[FONTS]
Daniel Reimer [Sun, 25 May 2014 11:39:12 +0000 (11:39 +0000)]
[FONTS]
Add Open Sans Font Family as Segoe UI like font for Lautus.
Add Ubuntu Font Family which is used by Lautus.

svn path=/trunk/; revision=63439

6 years ago[CRT]
Amine Khaldi [Sun, 25 May 2014 10:47:48 +0000 (10:47 +0000)]
[CRT]
* Use lconv and define MSVCRT_lconv to it.

svn path=/trunk/; revision=63438

6 years ago[RTL]
Timo Kreuzer [Sun, 25 May 2014 10:36:47 +0000 (10:36 +0000)]
[RTL]
Fix warnings and a bug in 64bit bitmap code

svn path=/trunk/; revision=63437

6 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 25 May 2014 10:21:08 +0000 (10:21 +0000)]
[NTOSKRNL]
Add SEH to LpcpCreatePort and NtAcceptConnectPort. Based on patches by Aleksander Andrejevic ([TheFlash])
CORE-7156 #resolve
CORE-7371 #comment SEH still missing in NtSecureConnectPort, NtReplyPort, NtReplyWaitReceivePortEx, NtRequestPort

svn path=/trunk/; revision=63436

6 years ago[powerprof]
Christoph von Wittich [Sun, 25 May 2014 08:28:51 +0000 (08:28 +0000)]
[powerprof]
fix some typos in comments

svn path=/trunk/; revision=63435

6 years ago[shell32]
Christoph von Wittich [Sat, 24 May 2014 16:39:55 +0000 (16:39 +0000)]
[shell32]
revert the revert, my wine version was outdated

svn path=/trunk/; revision=63430

6 years ago[MAGNIFY]
Timo Kreuzer [Sat, 24 May 2014 10:19:01 +0000 (10:19 +0000)]
[MAGNIFY]
Update display even when mouse does not move. Patch by Andrea Faulds.
CORE-4739 #comment Committed in r63429, thanks. #resolve

svn path=/trunk/; revision=63429

6 years ago[DDRAW]
Timo Kreuzer [Sat, 24 May 2014 09:53:24 +0000 (09:53 +0000)]
[DDRAW]
Avoid buffer overrun in IDirectDraw::GetCaps. Patch by Jérôme Gardou.
CORE-4623 #resolve

svn path=/trunk/; revision=63428

6 years ago[shell32]
Christoph von Wittich [Sat, 24 May 2014 06:44:22 +0000 (06:44 +0000)]
[shell32]
sync _SHGetUserProfilePath with wine

svn path=/trunk/; revision=63427

6 years ago[TXTSETUP]
Sylvain Petreolle [Fri, 23 May 2014 19:31:23 +0000 (19:31 +0000)]
[TXTSETUP]
Install wmilib.
Dedicated to Timo. ;)

svn path=/trunk/; revision=63425

6 years ago[shell32]
Christoph von Wittich [Fri, 23 May 2014 17:28:39 +0000 (17:28 +0000)]
[shell32]
set first verb as default
fixes opening control panel applets by double click

svn path=/trunk/; revision=63424

6 years ago[shell32]
Christoph von Wittich [Fri, 23 May 2014 17:14:39 +0000 (17:14 +0000)]
[shell32]
revert one line of r63414

svn path=/trunk/; revision=63423

6 years ago[USETUP]
Eric Kohl [Thu, 22 May 2014 23:31:39 +0000 (23:31 +0000)]
[USETUP]
- ScanForUnpartitionedDiskSpace: Scan the list of logical partitions for unpartitioned space too.
- Fix a little typo.

svn path=/trunk/; revision=63421

6 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 22 May 2014 22:28:57 +0000 (22:28 +0000)]
[NTOSKRNL]
When a user mode debugger has single stepping enabled and steps over a sysenter instruction, you are obviously not supposed to enter the kernel debugger on the syscall entry handler. But exactly this happened on reactos. This was because the sysenter instruction doesn't disable single stepping, so we need to handle this special case manually in the single stepping handler (which we didn't). We now check if the single step comes from KiFastCallEntry and when it does, disable single stepping in the current (nested) trap frame and return back to a secondary fast call entry. The 2nd entrypoint will make sure to re-enable the single step flag in EFLAGS before returning to usermode.
To make this actually work, the asm entry stub itself needs to handle saving of eflags, so some trap frame modification from KiFastCallEntryHandler was moved into the asm stub. Since the amount of asm instructions is rather small (10 instructions, pretty straight forward) I moved everything from KiSystemServiceHandler to the asm stub and killed KiFastCallEntryHandler entirely, calling KiSystemServiceHandler instead.
Now stepping over a sysenter instruction works with OllyDbg without breaking into the kernel debugger. CORE-8057 #resolve

svn path=/trunk/; revision=63420

6 years ago[CRT]
Amine Khaldi [Thu, 22 May 2014 21:10:16 +0000 (21:10 +0000)]
[CRT]
* Update ungetwc().
CORE-8080

svn path=/trunk/; revision=63418

6 years ago[CRT]
Amine Khaldi [Thu, 22 May 2014 20:59:46 +0000 (20:59 +0000)]
[CRT]
* Update _wtmpnam() and tmpnam().
CORE-8080

svn path=/trunk/; revision=63417

6 years ago[WIN32K]
Timo Kreuzer [Thu, 22 May 2014 19:15:40 +0000 (19:15 +0000)]
[WIN32K]
Amendment to r63409.
Zap remaining kernel object header access from win32k. Noticed by Hermes.

svn path=/trunk/; revision=63416

6 years ago[shell32]
Christoph von Wittich [Thu, 22 May 2014 18:53:44 +0000 (18:53 +0000)]
[shell32]
Import some changes from Wine to shlexec.cpp
patch by Ivan Rodionov see CORE-8196

svn path=/trunk/; revision=63414

6 years ago[BMFD]
Timo Kreuzer [Thu, 22 May 2014 16:15:48 +0000 (16:15 +0000)]
[BMFD]
Fix inverted use of scaling factors. Patch by Victor Martinez. CORE-8165 #resolve

svn path=/trunk/; revision=63413

6 years ago[CRT]
Amine Khaldi [Thu, 22 May 2014 16:13:44 +0000 (16:13 +0000)]
[CRT]
* Update fputs().
CORE-8080

svn path=/trunk/; revision=63412