Commit graph

58054 commits

Author SHA1 Message Date
James Tabor 958cc23088 [User32]
- Fix recursive loops during Alt+Esc and Tab. Dedicated to Hermès Bélusca-Maïto.

svn path=/trunk/; revision=63531
2014-06-01 22:32:24 +00:00
Timo Kreuzer ac7d530c44 [INCLUDE]
- Move definition of va_list to crtdefs.h
- Remove useless definitions from vadefs.h
- Cleanup the mess in stdarg.h
- Add memmove prototype to intrin_x86.h, since it's used there
- basetyps.h: guard STDMETHODCALLTYPE & friends from redefinition
- guiddef.h: define FAR, include string.h
- ntdef.h: don't include stdarg.h and string anymore, enable STRICT, remove FAR, add STDMETHODCALLTYPE & friends

svn path=/trunk/; revision=63530
2014-06-01 21:47:51 +00:00
Timo Kreuzer 1591c79743 [KS] Fix to compile with STRICT enabled
[CMAKE] Enable rostests in x64 build

svn path=/trunk/; revision=63529
2014-06-01 17:07:09 +00:00
Daniel Reimer f927f702e6 Revert that... sorry
svn path=/trunk/; revision=63528
2014-06-01 12:00:32 +00:00
Daniel Reimer a1545a1c31 [RAPPS]
- Database update and some missed sourceforge mirror fixes by me and myself.
- rapps: (for database) Many Improvements and Many Fixes by Erdem Ersoy
CORE-7710 #resolve #comment Committed, thx for your help.

svn path=/trunk/; revision=63527
2014-06-01 11:58:21 +00:00
Kamil Hornicek 94f5ab6df4 [EVENTVWR]
- sync and translate the czech resources

svn path=/trunk/; revision=63526
2014-06-01 11:11:07 +00:00
Timo Kreuzer 5085010531 [EVENTEVWR]
* when displaying message boxes, set the parent to the main window/details dialog instead of using NULL.
*add a function for showing the last Win32 error and replace two message boxes with a call to it.
*add the ability to save event logs to a file.
*add the ability to clear event logs.
*In QueryEventMessages(), assign lpSourceLogName and lpComputerName after the call to OpenEventLog, not before.
Patch by Ricardo Hanke
CORE-7863 #comment Comitted in r63525, thanks

svn path=/trunk/; revision=63525
2014-06-01 11:00:09 +00:00
Timo Kreuzer 2d2cae039d [INCLUDE]
- ntdef.h: add missing RTL_NUMBER_OF_FIELD, RTL_PADDING_BETWEEN_FIELDS, RotateLeft*, PRODUCT_*, SUBLANG_*, SORT_*, LANG_SYSTEM_DEFAULT, LANG_USER_DEFAULT, a few LOCALE_*
- winnt.h: add missing LOCALE_SYSTEM_DEFAULT, LOCALE_USER_DEFAULT
- winnls.h: remove definitions that don't belong there, add some missing ones, remove wineisms
- intrin.h Implement _rotl64 for GCC
- basetyps.h: add #pragma once, move include to the top

svn path=/trunk/; revision=63524
2014-06-01 10:15:07 +00:00
Eric Kohl dad73c35fe [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
2014-05-31 22:03:41 +00:00
Timo Kreuzer b6cc5b5b59 [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
2014-05-31 21:52:30 +00:00
Timo Kreuzer 629a0fd9c0 {CRT]
- Treat ARM like x64 in excpt.h
- Give Clang the right __CRT_INLINE definition

svn path=/trunk/; revision=63521
2014-05-31 21:39:36 +00:00
Timo Kreuzer a5cffd2542 [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
2014-05-31 21:26:26 +00:00
Timo Kreuzer 6cfa5d2e25 [W32KDLL]
Update ros syscall list from trunk, remove obsolete files

svn path=/trunk/; revision=63519
2014-05-31 20:43:41 +00:00
Timo Kreuzer 9bda7700ff [SETUP16/EXPLORER/LIBTIFF/DESK/ADVAPI32/MCIWAVE/SAMSRV/SHELL32/WINMM/LIBMPG123]
Fix / silence warnings

svn path=/trunk/; revision=63518
2014-05-31 16:58:03 +00:00
Timo Kreuzer 35767099ce [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
2014-05-31 16:19:36 +00:00
Amine Khaldi 9c9a481d33 [CRT]
* Update scanf.h.
CORE-8080

svn path=/trunk/; revision=63516
2014-05-31 16:08:41 +00:00
Timo Kreuzer 10a264845d [ROSTESTS]
Silence some warnings, fix compilation of w32kdll with MSVC, give dllexport_test dlls a base address.

svn path=/trunk/; revision=63515
2014-05-31 16:00:05 +00:00
Timo Kreuzer 461f47c1d1 [WINE]
Try to fix some warnings in wine tests

svn path=/trunk/; revision=63514
2014-05-31 15:44:45 +00:00
Timo Kreuzer 4a7d9e2a5c [CMLIB]
Fix build (and warnings)

svn path=/trunk/; revision=63513
2014-05-31 15:34:21 +00:00
Timo Kreuzer 4289bcee64 [HOST]
Try to fix some host warnings.

svn path=/trunk/; revision=63512
2014-05-31 15:29:10 +00:00
Amine Khaldi 96f0120d3a [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
2014-05-31 14:51:36 +00:00
Amine Khaldi bf476c3c1a [NET]
* Fix MSVC build.

svn path=/trunk/; revision=63510
2014-05-31 14:24:26 +00:00
Eric Kohl 6f830f27bb [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
2014-05-31 08:32:54 +00:00
Aleksandar Andrejevic a31b680c53 [NTOSKRNL]
Don't allow saving keys which are located directly in the master hive.


svn path=/trunk/; revision=63508
2014-05-31 01:17:00 +00:00
Aleksandar Andrejevic 2996e28ecd [NTDLL_APITESTS]
Add tests for NtSaveKey.


svn path=/trunk/; revision=63507
2014-05-31 01:14:02 +00:00
Hermès Bélusca-Maïto a5a69f46e6 [NTOS:CM]
Replace a hardcoded value with something more readable.

svn path=/trunk/; revision=63506
2014-05-30 21:47:22 +00:00
Hermès Bélusca-Maïto 64fcc42ee5 [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
2014-05-30 20:40:02 +00:00
James Tabor 4dc4711006 [Win32k]
- Fix removing menus and submenus. Dedicated to David Quintana and the New Explorer and Shell team.

svn path=/trunk/; revision=63502
2014-05-30 12:38:04 +00:00
Timo Kreuzer 137dc25b64 [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
2014-05-30 00:30:38 +00:00
Timo Kreuzer 717f8cb0e9 [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
2014-05-30 00:09:55 +00:00
Timo Kreuzer aaff11172a [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
2014-05-29 23:43:19 +00:00
Hermès Bélusca-Maïto 87026354cb [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
2014-05-29 23:20:31 +00:00
Hermès Bélusca-Maïto 63f0cf2a3a [PSDK]
- Fix the CMYK macro which was totally broken.
- Code formatting around RGB macro.

svn path=/trunk/; revision=63497
2014-05-29 22:37:43 +00:00
Hermès Bélusca-Maïto cb2c49a1ea [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
2014-05-29 21:34:35 +00:00
Aleksandar Andrejevic 0d6c552a9d [NTOSKRNL]
Implement NtSaveKey/NtSaveKeyEx and its backend CmSaveKey.
CORE-8259 #resolve #comment Committed in revision r63495.


svn path=/trunk/; revision=63495
2014-05-29 19:44:36 +00:00
Eric Kohl 836f7cd6d3 [ADVAPI32][MSGINA]
Fix overflow of TokenSource.SourceName.
CORE-8272 #resolve

svn path=/trunk/; revision=63494
2014-05-29 15:19:30 +00:00
James Tabor d3a1610c4b [Win32k]
- Turn on MDI system menus.

svn path=/trunk/; revision=63493
2014-05-28 22:52:38 +00:00
James Tabor 86da1bfa04 [User32]
- Add MDI system menu. If this is inaccurate please open a Jira report.

svn path=/trunk/; revision=63492
2014-05-28 22:48:50 +00:00
Pierre Schweitzer 6e7d12ef45 [KERNEL32]
- Directly call CopyFileExW() from CopyFileA()
- ReactOSify CopyFileW()

svn path=/trunk/; revision=63491
2014-05-28 18:39:51 +00:00
Eric Kohl 0184d61735 [NET]
Implement NET ACCOUNTS command.

svn path=/trunk/; revision=63490
2014-05-28 08:06:10 +00:00
Timo Kreuzer 68fcd6e10b [CRT]
Do not mark inp* and outp* as dllimport.

svn path=/trunk/; revision=63489
2014-05-27 22:58:53 +00:00
Timo Kreuzer 6f249c3833 [CRT]
Hopefully fix build, by specifying minimum MSC versions for some intrinsics

svn path=/trunk/; revision=63488
2014-05-27 22:12:15 +00:00
Timo Kreuzer 2d1042daa5 [CRT]
remove __readfsqword, it does not exist.

svn path=/trunk/; revision=63487
2014-05-27 22:07:29 +00:00
Timo Kreuzer 9bb3ac5d2e [CRT]
Add many missing intrinsics to the MSVC intrin.h, including x86, x64 and ARM

svn path=/trunk/; revision=63486
2014-05-27 22:01:55 +00:00
Timo Kreuzer c0931f28b6 [CMAKE]
Revert r63470 and add a comment, that this is not a typo.

svn path=/trunk/; revision=63485
2014-05-27 21:32:42 +00:00
Aleksandar Andrejevic 0f0db19784 [NTVDM]
Fix the previous fix. Use LOBYTE/HIBYTE not LOWORD/HIWORD.


svn path=/trunk/; revision=63484
2014-05-27 21:29:36 +00:00
Christoph von Wittich dad0af61d4 [atl]
atl: memory leak on failure path (copy pasta?)
spotted by Samuel Serapion
CORE-8212
 

svn path=/trunk/; revision=63483
2014-05-27 21:20:39 +00:00
Aleksandar Andrejevic af35d7f046 [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
2014-05-27 21:10:45 +00:00
Christoph von Wittich 58b39a1ecf [setupapi]
sync setupapi\dirid.c with wine 
patch by Samuel Serapion
CORE-7663
 

svn path=/trunk/; revision=63481
2014-05-27 20:33:21 +00:00
Amine Khaldi a3b5088597 [CMAKE]
* Convert the hives from UTF-8 to UTF16 as part of the build process.
CORE-7703
CORE-8221

svn path=/trunk/; revision=63480
2014-05-27 19:42:15 +00:00