reactos.git
9 years ago[rbuild]
Timo Kreuzer [Thu, 3 Jun 2010 15:50:19 +0000 (15:50 +0000)]
[rbuild]
- cleanup obsolete rbuild flags for amd64
- undefine WIN32 for amd64, only _WIN32 should be defined

svn path=/trunk/; revision=47542

9 years ago[SYSDM]
Gabriel Ilardi [Thu, 3 Jun 2010 15:09:08 +0000 (15:09 +0000)]
[SYSDM]
- Update Italian and Spanish translations.
- Add untranslated strings to the rest of the languages.

svn path=/trunk/; revision=47541

9 years ago[ACPICA]
Timo Kreuzer [Thu, 3 Jun 2010 14:55:25 +0000 (14:55 +0000)]
[ACPICA]
- Hack acwin64.h, don't assume msvc for win64

svn path=/trunk/; revision=47540

9 years ago[RBUILD]
Timo Kreuzer [Thu, 3 Jun 2010 14:49:47 +0000 (14:49 +0000)]
[RBUILD]
- append stdcall decoration only for i386 target

svn path=/trunk/; revision=47539

9 years agomerge 46805 from amd64 branch:
Timo Kreuzer [Thu, 3 Jun 2010 14:19:18 +0000 (14:19 +0000)]
merge 46805 from amd64 branch:

[RBUILD]
Fix some parameters (starting with --, not with -)

svn path=/trunk/; revision=47538

9 years ago[NTOSKRNL]
Eric Kohl [Thu, 3 Jun 2010 13:36:50 +0000 (13:36 +0000)]
[NTOSKRNL]
NtDuplicateToken: If the called does not provide any desired access rights the duplicate token will inherit the granted rights of the original token.

svn path=/trunk/; revision=47535

9 years ago[SYSDM]
Eric Kohl [Thu, 3 Jun 2010 13:17:33 +0000 (13:17 +0000)]
[SYSDM]
- Check the custom paging file sizes for being within useful limits and display warnings if these limit were exceeded.
- Translators: Please translate the message strings!

svn path=/trunk/; revision=47534

9 years agoMerge 46523 from amd64 branch:
Timo Kreuzer [Thu, 3 Jun 2010 12:47:40 +0000 (12:47 +0000)]
Merge 46523 from amd64 branch:

- Fix assert macro
- Add crt="MSVC" to a number of modules to resolve _assert

svn path=/trunk/; revision=47533

9 years ago[FREELDR]
Cameron Gutman [Thu, 3 Jun 2010 08:09:42 +0000 (08:09 +0000)]
[FREELDR]
- Remove an overzealous API check and the work-around for it

svn path=/trunk/; revision=47531

9 years ago[FREELDR]
Cameron Gutman [Thu, 3 Jun 2010 07:48:35 +0000 (07:48 +0000)]
[FREELDR]
- Verify that Int 13 extensions are supported before trying to use them

svn path=/trunk/; revision=47530

9 years ago[rtl]
Michael Martin [Thu, 3 Jun 2010 07:08:07 +0000 (07:08 +0000)]
[rtl]
- len returned from mbstowcs is the required size of the destination string, so only allocate the needed size.
- When doing the actual conversion pass in the size of the ansi string not the needed size of destination.
- These changes were missed in 47527.

svn path=/trunk/; revision=47529

9 years ago[crt]
Michael Martin [Wed, 2 Jun 2010 23:58:28 +0000 (23:58 +0000)]
[crt]
- mbstowcs: Fix incorrect size passed as the second parameter for call to RtlMultiByteToUnicodeN.
Fixes loading assemblies when manifest is in a manifest file due to parsing failure.

svn path=/trunk/; revision=47527

9 years ago[SYSDM]
Gabriel Ilardi [Wed, 2 Jun 2010 22:49:27 +0000 (22:49 +0000)]
[SYSDM]
- Update Italian and Spanish translations.

svn path=/trunk/; revision=47526

9 years ago[SYSDM]
Eric Kohl [Wed, 2 Jun 2010 22:29:19 +0000 (22:29 +0000)]
[SYSDM]
- Fix a bug in the creation of the 'PagingFiles' registry value.
- Set paging file sizes only if both user defined sizes are valid numerical values and display a warning otherwise.
- Translators: Please translate the message strings!

svn path=/trunk/; revision=47525

9 years ago[usetup]
Gabriel Ilardi [Wed, 2 Jun 2010 22:28:37 +0000 (22:28 +0000)]
[usetup]
- The last error messages were swapped in some languages, spotted by Paolo Devoti.
- Added the minimum required disk space also in the debug print.
See issue #5440 for more details.

svn path=/trunk/; revision=47524

9 years ago[win32k]
Giannis Adamopoulos [Wed, 2 Jun 2010 18:14:53 +0000 (18:14 +0000)]
[win32k]
- Fix detection of file type while generating vcxproj files

svn path=/trunk/; revision=47523

9 years ago[win32k[win32k]
Giannis Adamopoulos [Wed, 2 Jun 2010 16:55:21 +0000 (16:55 +0000)]
[win32k[win32k]
-Allow menus to be shown over the taskbar
See issue #5415 for more details.

svn path=/trunk/; revision=47522

9 years ago[netshell]
Gabriel Ilardi [Wed, 2 Jun 2010 15:43:07 +0000 (15:43 +0000)]
[netshell]
- Improve current network connection status icons.

svn path=/trunk/; revision=47521

9 years agoSeveral Italian translation updates by Paolo Devoti.
Gabriel Ilardi [Wed, 2 Jun 2010 14:04:07 +0000 (14:04 +0000)]
Several Italian translation updates by Paolo Devoti.
See issue #5438 for more details.

svn path=/trunk/; revision=47520

9 years ago[HAL] Fix compiler preprocessor checks for the IRQL masks so other compilers than...
Stefan Ginsberg [Wed, 2 Jun 2010 13:59:47 +0000 (13:59 +0000)]
[HAL] Fix compiler preprocessor checks for the IRQL masks so other compilers than GCC get proper entries too.
[HAL] Define the HalpHardwareInterrupt macro for MSVC too.
[HAL] Replace IRQL_DEBUG with DBG so we always check for incorrect IRQL on debug. I believe incorrect IRQL raise/lower is a common and serious enough error to always be checked for on debug builds without defining some special debug option.

svn path=/trunk/; revision=47519

9 years agoPolish Translation Updates by Maciej Bialas.
Daniel Reimer [Wed, 2 Jun 2010 11:34:56 +0000 (11:34 +0000)]
Polish Translation Updates by Maciej Bialas.

svn path=/trunk/; revision=47518

9 years ago[HAL]
Aleksey Bragin [Wed, 2 Jun 2010 11:26:19 +0000 (11:26 +0000)]
[HAL]
- Fix a typo.

svn path=/trunk/; revision=47517

9 years ago[NTOSKRNL]
Cameron Gutman [Tue, 1 Jun 2010 20:06:53 +0000 (20:06 +0000)]
[NTOSKRNL]
- Revert the hack in r47514
- The ASSERT is there to make sure the PFN lock is held
- Fix the issue properly by holding the PFN lock while initializing

svn path=/trunk/; revision=47516

9 years ago[FONTVIEW] Select the oldest font back into the DC, leftover from bug #5182
Gregor Schneider [Tue, 1 Jun 2010 19:36:43 +0000 (19:36 +0000)]
[FONTVIEW] Select the oldest font back into the DC, leftover from bug #5182

svn path=/trunk/; revision=47515

9 years ago[NTOS]
Johannes Anderwald [Tue, 1 Jun 2010 15:08:14 +0000 (15:08 +0000)]
[NTOS]
- Fix assertion hit during install
- Fix identation
- Remove superflous spaces

svn path=/trunk/; revision=47514

9 years ago[NPFS]
Johannes Anderwald [Tue, 1 Jun 2010 10:57:26 +0000 (10:57 +0000)]
[NPFS]
- Fix 2 memory leaks when creating a pipe fails
- Fix minor style issue

svn path=/trunk/; revision=47513

9 years ago[NPFS]
Johannes Anderwald [Tue, 1 Jun 2010 09:52:16 +0000 (09:52 +0000)]
[NPFS]
- Check if MmGetSystemAddressForMdlSafe failed

svn path=/trunk/; revision=47512

9 years ago[rbuild]
Giannis Adamopoulos [Tue, 1 Jun 2010 09:31:24 +0000 (09:31 +0000)]
[rbuild]
msvc backend:
- Start implementing real support for vcxproj files
- Fix generating sln files
- Move msvc rules in a separate folder
- Various fixes

svn path=/trunk/; revision=47511

9 years agoAdd invariant checks and fix a bug: Copy+Paste error misusing OldFlink
Art Yerkes [Tue, 1 Jun 2010 09:22:10 +0000 (09:22 +0000)]
Add invariant checks and fix a bug: Copy+Paste error misusing OldFlink

svn path=/trunk/; revision=47510

9 years ago[NPFS]
Johannes Anderwald [Tue, 1 Jun 2010 09:12:32 +0000 (09:12 +0000)]
[NPFS]
- Add more buffer checks
- Clear DO_DEVICE_INITIALIZING flag

svn path=/trunk/; revision=47509

9 years ago[NPFS]
Johannes Anderwald [Tue, 1 Jun 2010 08:43:50 +0000 (08:43 +0000)]
[NPFS]
- Return buffer size if the buffer is too small

svn path=/trunk/; revision=47508

9 years agoAdd the non yet working FF 3.6 and AbiWord 2.8.5 to rapps to simplify testing.
Daniel Reimer [Tue, 1 Jun 2010 06:43:47 +0000 (06:43 +0000)]
Add the non yet working FF 3.6 and AbiWord 2.8.5 to rapps to simplify testing.
Sync the rest

svn path=/trunk/; revision=47507

9 years ago[NPFS]
Cameron Gutman [Tue, 1 Jun 2010 02:44:15 +0000 (02:44 +0000)]
[NPFS]
- Acquire the cancel spin lock before calling IoSetCancelRoutine
- Remove the old cancellation code
- Don't use the CCB stored in the IRP because it could be invalid depending on the state of the IRP
- Simplify thread termination
- Fixes random crash during rpcrt4:ndr_marshall test

svn path=/trunk/; revision=47506

9 years ago[SMSS]
Eric Kohl [Mon, 31 May 2010 22:34:16 +0000 (22:34 +0000)]
[SMSS]
- Create a new default paging file if no paging files exist.
- Set the calculated paging file sizes in the registry.
- Remove predefined paging file name from the hivesys*.inf files.
Fixes bug #4048.

svn path=/trunk/; revision=47505

9 years ago[RAPPS] Create a new download directory if the user agrees to do so, based on a patch...
Gregor Schneider [Mon, 31 May 2010 20:09:13 +0000 (20:09 +0000)]
[RAPPS] Create a new download directory if the user agrees to do so, based on a patch by Seungju Kim. Translations except German and English should be updated to reflect the changed intention.

See issue #5196 for more details.

svn path=/trunk/; revision=47504

9 years ago[EXPLORER_NEW] Display a message box if the explorer registry key cannot be loaded...
Gregor Schneider [Mon, 31 May 2010 19:16:14 +0000 (19:16 +0000)]
[EXPLORER_NEW] Display a message box if the explorer registry key cannot be loaded, patch by Katayama Hirofumi

See issue #5407 for more details.

svn path=/trunk/; revision=47503

9 years ago[CMD] Protect certain actions with a critical section, patch by Katayama Hirofumi
Gregor Schneider [Mon, 31 May 2010 18:38:48 +0000 (18:38 +0000)]
[CMD] Protect certain actions with a critical section, patch by Katayama Hirofumi
See issue #5406 for more details.

svn path=/trunk/; revision=47502

9 years ago[win32k]
Giannis Adamopoulos [Mon, 31 May 2010 17:58:05 +0000 (17:58 +0000)]
[win32k]
- Rename co_IntCreateWindowEx to co_UserCreateWindowEx and refactor it to make it readable
- Also fix the sequence of messages in co_UserCreateWindowEx

svn path=/trunk/; revision=47500

9 years ago[MMENT4]
Timo Kreuzer [Mon, 31 May 2010 15:27:14 +0000 (15:27 +0000)]
[MMENT4]
Fix warning about uninitialized variable

svn path=/trunk/; revision=47499

9 years ago[PSDK]
Timo Kreuzer [Mon, 31 May 2010 15:10:25 +0000 (15:10 +0000)]
[PSDK]
Fix braces around initializers for GUIDs
Patch by Love Nystrom

See issue #5336 for more details.

svn path=/trunk/; revision=47498

9 years ago[ntstrsafe.h]
Timo Kreuzer [Mon, 31 May 2010 15:07:19 +0000 (15:07 +0000)]
[ntstrsafe.h]
- Fix a number of parameter types (LPSTR/LPCSTR instead of PCHAR, PCCHAR) This is not the same, PCCHAR is a char * not a const char *

svn path=/trunk/; revision=47497

9 years ago[CMIDRIVER]
Timo Kreuzer [Mon, 31 May 2010 14:58:43 +0000 (14:58 +0000)]
[CMIDRIVER]
- Fix a number of warnings, no actual code change
- Patch by Love Nystrom, improvements by me

See issue #5336 for more details.

svn path=/trunk/; revision=47496

9 years ago[MMENT4]
Timo Kreuzer [Mon, 31 May 2010 14:11:10 +0000 (14:11 +0000)]
[MMENT4]
Remove a ";" after an if (), that makes no sense and caused GetNt4SoundDeviceCapabilities to always return without doing anything.

svn path=/trunk/; revision=47494

9 years ago[OSKITTCP]
Timo Kreuzer [Mon, 31 May 2010 14:04:24 +0000 (14:04 +0000)]
[OSKITTCP]
Improve the reactos-hack, by changing the ";" after an "if (...)" to "(void)0;" to tell the compiler that we intentionally do nothing in the if body.

svn path=/trunk/; revision=47493

9 years ago[LIBJPEG]
Timo Kreuzer [Mon, 31 May 2010 14:00:50 +0000 (14:00 +0000)]
[LIBJPEG]
Instead of disabling a warning when using "main" as something else then the main function, define it to mainptr (it's used as a pointer variable) globally, this approach is portable.

svn path=/trunk/; revision=47492

9 years ago[BATTC]
Timo Kreuzer [Mon, 31 May 2010 13:57:33 +0000 (13:57 +0000)]
[BATTC]
- define _BATTERYCLASS_ to not get dllimport specifiers

svn path=/trunk/; revision=47491

9 years ago[FORMAT]
Timo Kreuzer [Mon, 31 May 2010 13:56:29 +0000 (13:56 +0000)]
[FORMAT]
Fix "potentially insecure" usage of non-string-literals in printf.

svn path=/trunk/; revision=47490

9 years ago[ACPI]
Timo Kreuzer [Mon, 31 May 2010 13:54:38 +0000 (13:54 +0000)]
[ACPI]
- Add some missing NTAPI
- Fix AcpiInterfaceConnectVector and AcpiInterfaceDisconnectVector parameters (ACPI_INTERFACE_STANDARD version 1 not version 2)
- Patch by Amine Khaldi

svn path=/trunk/; revision=47489

9 years ago[MSCONFIG]
Timo Kreuzer [Mon, 31 May 2010 13:45:29 +0000 (13:45 +0000)]
[MSCONFIG]
Add header guards. They are not neccessary in this case, but better to have them, especially since it uses a compilation unit.

svn path=/trunk/; revision=47488

9 years ago[NTOS] Re-enable the APC debug check in the system call exit code that somehow got...
Stefan Ginsberg [Mon, 31 May 2010 12:52:16 +0000 (12:52 +0000)]
[NTOS] Re-enable the APC debug check in the system call exit code that somehow got removed in 46247.
[NTOS] Use an inline for emitting the iret instruction in C code for portability.
[NTOS] Simplify the MSC assembly in KiSwitchToBootStack.

svn path=/trunk/; revision=47487

9 years ago[win32k]
Michael Martin [Mon, 31 May 2010 12:36:40 +0000 (12:36 +0000)]
[win32k]
- When processing and deleting timers use a seperate timer lock instead of using the global user lock.

svn path=/trunk/; revision=47486

9 years ago[WIN32CSR] Split up excessively large and disorganized conio.c into 3 separate files...
Jeffrey Morlan [Mon, 31 May 2010 06:28:55 +0000 (06:28 +0000)]
[WIN32CSR] Split up excessively large and disorganized conio.c into 3 separate files: one for input-related functions, one for output-related functions, and one for general/miscellaneous functions.

svn path=/trunk/; revision=47485

9 years ago- add explicit braces to avoid ambiguous 'else'
Timo Kreuzer [Mon, 31 May 2010 04:13:40 +0000 (04:13 +0000)]
- add explicit braces to avoid ambiguous 'else'
- fix deprecated conversion from string constant to 'char*'

svn path=/trunk/; revision=47484

9 years agoremove WTIME_S_DEFINED guard and move the functions from wchar_s to wchar.h (like...
Timo Kreuzer [Mon, 31 May 2010 03:32:51 +0000 (03:32 +0000)]
remove WTIME_S_DEFINED guard and move the functions from wchar_s to wchar.h (like in MS headers)

svn path=/trunk/; revision=47483

9 years ago[IPHLPAPI]
Timo Kreuzer [Mon, 31 May 2010 02:29:36 +0000 (02:29 +0000)]
[IPHLPAPI]
- remove unused variable

svn path=/trunk/; revision=47482

9 years agoFix build (don't redefine structures)
Timo Kreuzer [Mon, 31 May 2010 02:23:30 +0000 (02:23 +0000)]
Fix build (don't redefine structures)

svn path=/trunk/; revision=47481

9 years ago[DDK/XDK]
Timo Kreuzer [Mon, 31 May 2010 02:15:15 +0000 (02:15 +0000)]
[DDK/XDK]
- Use PCI_COMMON_HEADER_LAYOUT for C, too, place it where it belongs

svn path=/trunk/; revision=47480

9 years ago[CRT]
Timo Kreuzer [Mon, 31 May 2010 01:50:09 +0000 (01:50 +0000)]
[CRT]
- add clang compatible asm version of ldexp and make the code more readable
- constify strndup parameter to match standard
- fix broken pointer comparison in signal()

svn path=/trunk/; revision=47479

9 years ago[time.h]
Timo Kreuzer [Mon, 31 May 2010 01:49:22 +0000 (01:49 +0000)]
[time.h]
Add missing asctime_s and localtime_s, don't include time_s.h anymore

svn path=/trunk/; revision=47478

9 years ago[CRT]
Timo Kreuzer [Sun, 30 May 2010 22:28:00 +0000 (22:28 +0000)]
[CRT]
- Don't define __int64 for clang (patch by Amine Khaldi)
- Fix file and purpose in the header

svn path=/trunk/; revision=47471

9 years ago[NPFS]
Cameron Gutman [Sun, 30 May 2010 22:18:50 +0000 (22:18 +0000)]
[NPFS]
- Fix race conditions in read IRP cancellation that resulting in random crashes and hangs
- Fixes MULTIPLE_IRP_COMPLETE_REQUESTS bug checks and failed cancellations resulting in hangs during ntdll:file test

svn path=/trunk/; revision=47470

9 years ago[NTIFS]
Timo Kreuzer [Sun, 30 May 2010 22:02:42 +0000 (22:02 +0000)]
[NTIFS]
Use a preprocessor definition for FSRTL_COMMON_FCB_HEADER instead of using an ms extension, that wouldn't work for ISO C

svn path=/trunk/; revision=47466

9 years ago[lib/3rdparty]
Timo Kreuzer [Sun, 30 May 2010 21:32:28 +0000 (21:32 +0000)]
[lib/3rdparty]
Disable unused value warning here, too

svn path=/trunk/; revision=47465

9 years ago[KERNEL32] Return nothing from InternalCopyDeviceFindDataA/W functions
Gregor Schneider [Sun, 30 May 2010 21:19:26 +0000 (21:19 +0000)]
[KERNEL32] Return nothing from InternalCopyDeviceFindDataA/W functions

svn path=/trunk/; revision=47464

9 years ago[WINETESTS]
Timo Kreuzer [Sun, 30 May 2010 21:01:52 +0000 (21:01 +0000)]
[WINETESTS]
Disable unused value warnings

svn path=/trunk/; revision=47463

9 years ago[PSEH]
Timo Kreuzer [Sun, 30 May 2010 20:57:02 +0000 (20:57 +0000)]
[PSEH]
Use dummy pseh for clang

svn path=/trunk/; revision=47462

9 years agoVarious application fixes by Jan Roeloffzen, bug #5182, part 4/4
Gregor Schneider [Sun, 30 May 2010 20:36:20 +0000 (20:36 +0000)]
Various application fixes by Jan Roeloffzen, bug #5182, part 4/4
dxdiag: tabs -> spaces, UINT -> UINT_PTR, remove unused assignments, simplify code, fix compiler warnings

svn path=/trunk/; revision=47461

9 years agoVarious application fixes by Jan Roeloffzen, bug #5182, part 3
Gregor Schneider [Sun, 30 May 2010 20:31:58 +0000 (20:31 +0000)]
Various application fixes by Jan Roeloffzen, bug #5182, part 3
arp: Remove unused variables
ftp: tabs->spaces, remove unused variables
nslookup: Remove unused variables

svn path=/trunk/; revision=47460

9 years agoVarious application fixes by Jan Roeloffzen, bug #5182, part 2
Gregor Schneider [Sun, 30 May 2010 20:25:46 +0000 (20:25 +0000)]
Various application fixes by Jan Roeloffzen, bug #5182, part 2
fontview: remove unused variable
kbswitch: remove unused variables
magnify: remove unused variable
mplay32: DWORD -> MCIERROR, tabs -> spaces
eventvwr: remove unused variable

svn path=/trunk/; revision=47459

9 years agoVarious application fixes by Jan Roeloffzen, bug #5182, part 1
Gregor Schneider [Sun, 30 May 2010 20:19:21 +0000 (20:19 +0000)]
Various application fixes by Jan Roeloffzen, bug #5182, part 1
Notepad: remove unused variable, tabs -> spaces
Regedit: remove unused variable
Calc: dword->bool, remove unused variables, tabs -> spaces

svn path=/trunk/; revision=47458

9 years ago[FORMATTING] Standardize win32csr to 4-space indents. Based on a patch by Adam Kachwa...
Jeffrey Morlan [Sun, 30 May 2010 20:00:17 +0000 (20:00 +0000)]
[FORMATTING] Standardize win32csr to 4-space indents. Based on a patch by Adam Kachwalla [Bug 5380]. No code changes.

svn path=/trunk/; revision=47457

9 years ago[NTOSKRNL]
Eric Kohl [Sun, 30 May 2010 19:46:02 +0000 (19:46 +0000)]
[NTOSKRNL]
Make NtDuplicateToken fail if the caller tries to create a new impersonation token with a raised impersonation level. This fixes a winetest.

svn path=/trunk/; revision=47456

9 years ago[KMTEST]
Christoph von Wittich [Sun, 30 May 2010 19:37:27 +0000 (19:37 +0000)]
[KMTEST]
cast the unused 0 in the ok macro to void to make clang happy as done for wine test.h

svn path=/trunk/; revision=47455

9 years ago[CALC] Add units and conversion factors, patch by Andrea Maiani; nanoseconds entry...
Gregor Schneider [Sun, 30 May 2010 18:55:28 +0000 (18:55 +0000)]
[CALC] Add units and conversion factors, patch by Andrea Maiani; nanoseconds entry added to resource files
See issue #5340 for more details.

svn path=/trunk/; revision=47454

9 years ago- partly revert r47442 and apply a working fix by guarding some prototypes of functio...
Timo Kreuzer [Sun, 30 May 2010 18:46:02 +0000 (18:46 +0000)]
- partly revert r47442 and apply a working fix by guarding some prototypes of functions that exist as intrinsics in #ifdefs, so we don't use them for gcc/clang
- remove duplicated prototypes, when an inline function exists already

svn path=/trunk/; revision=47453

9 years ago[KBDLV] Latvian keyboard fixes by Arturs B., <mad_alchemist AT mail DOT ru>
Gregor Schneider [Sun, 30 May 2010 18:34:29 +0000 (18:34 +0000)]
[KBDLV] Latvian keyboard fixes by Arturs B., <mad_alchemist AT mail DOT ru>
See issue #5385 for more details.

svn path=/trunk/; revision=47452

9 years ago[WINE]
Timo Kreuzer [Sun, 30 May 2010 16:24:51 +0000 (16:24 +0000)]
[WINE]
Cast the unused 0 in the ok macro to void to make clang happy

svn path=/trunk/; revision=47450

9 years ago[WINE]
Christoph von Wittich [Sun, 30 May 2010 15:37:32 +0000 (15:37 +0000)]
[WINE]
partial sync of test.h

svn path=/trunk/; revision=47449

9 years ago[COMCTL32_WINETEST]
Christoph von Wittich [Sun, 30 May 2010 15:19:09 +0000 (15:19 +0000)]
[COMCTL32_WINETEST]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47448

9 years ago[PSDK]
Christoph von Wittich [Sun, 30 May 2010 15:18:08 +0000 (15:18 +0000)]
[PSDK]
 add missing definitions

svn path=/trunk/; revision=47447

9 years ago[MMSYS] Load the no sound item in the shared buffer before preparing the reactos...
Gregor Schneider [Sun, 30 May 2010 15:13:04 +0000 (15:13 +0000)]
[MMSYS] Load the no sound item in the shared buffer before preparing the reactos/media path for loading individual files
See issue #5436 for more details.

svn path=/trunk/; revision=47446

9 years ago[MMSYS] Adjust German dialog item positions and sizes
Gregor Schneider [Sun, 30 May 2010 15:09:25 +0000 (15:09 +0000)]
[MMSYS] Adjust German dialog item positions and sizes

svn path=/trunk/; revision=47445

9 years ago[PSDK]
Christoph von Wittich [Sun, 30 May 2010 15:00:04 +0000 (15:00 +0000)]
[PSDK]
add missing definitions

svn path=/trunk/; revision=47444

9 years ago[DDK]
Timo Kreuzer [Sun, 30 May 2010 14:02:47 +0000 (14:02 +0000)]
[DDK]
Cast the string parameter of ASSERTMSG to PCHAR to allow passing string constants which are PCCHAR without a warning.

svn path=/trunk/; revision=47443

9 years ago[intrin_x86.h]
Timo Kreuzer [Sun, 30 May 2010 13:02:29 +0000 (13:02 +0000)]
[intrin_x86.h]
- cast return value of __sync_val_compare_and_swap to make clang happy
- add __cdecl to a number of intrinsics to make them (hopefully) compatible with crt header declarations.

svn path=/trunk/; revision=47442

9 years ago[NTDDK]
Timo Kreuzer [Sun, 30 May 2010 12:21:21 +0000 (12:21 +0000)]
[NTDDK]
Protect IoMapTransfer from incompatible redefinition. Patch by AmineKhaldi.

svn path=/trunk/; revision=47441

9 years ago[WS2_32]
Christoph von Wittich [Sun, 30 May 2010 11:25:21 +0000 (11:25 +0000)]
[WS2_32]
set LastError to 0 when WSASendTo was successful

svn path=/trunk/; revision=47440

9 years ago[SHDOCVW]
Christoph von Wittich [Sun, 30 May 2010 10:25:19 +0000 (10:25 +0000)]
[SHDOCVW]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47439

9 years ago[URLMON]
Christoph von Wittich [Sun, 30 May 2010 10:20:31 +0000 (10:20 +0000)]
[URLMON]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47438

9 years ago[user32]
Michael Martin [Sun, 30 May 2010 06:23:41 +0000 (06:23 +0000)]
[user32]
- Pass a pointer to a structure, that holds the CallBack procedure and data, as the 5th parameter to NtUserMessageCall.
- Fix a bug In User32CallSendAsyncProcForKernel, the ArgumentLength is the size of SENDASYNCPROC_CALLBACK_ARGUMENTS.
[win32k]
- For types FNID_SENDMESSAGECALLBACK call co_IntSendMessageWithCallBack to put the message in the send queue.
- Rewrite code for when messages have a completioncallback

svn path=/trunk/; revision=47434

9 years ago[NTOS]: Implement MiAllocatePfn, it is a simpler wrapper that grabs a page, sets...
Sir Richard [Sun, 30 May 2010 03:02:39 +0000 (03:02 +0000)]
[NTOS]: Implement MiAllocatePfn, it is a simpler wrapper that grabs a page, sets its protection, and initializes its PFN entry.
[NTOS]: Use MiAllocatePfn in MiLoadImageSection instead of MmAllocPage. Other than doing a better job at initializing the page, it creates our first caller of this function, great for testing, since this is a rather high-demand function, especially at boot.
Please test.

svn path=/trunk/; revision=47432

9 years ago[BOOTVID] Dramatically simplify 4bpp blitting routine
Gregor Schneider [Sat, 29 May 2010 23:54:47 +0000 (23:54 +0000)]
[BOOTVID] Dramatically simplify 4bpp blitting routine
See issue #5103 for more details.

svn path=/trunk/; revision=47431

9 years ago[_mingw.h]
Timo Kreuzer [Sat, 29 May 2010 21:48:32 +0000 (21:48 +0000)]
[_mingw.h]
Help compilation with clang. Patch by Amine Khaldi.

svn path=/trunk/; revision=47430

9 years ago[RTL]
Eric Kohl [Sat, 29 May 2010 21:15:48 +0000 (21:15 +0000)]
[RTL]
Implement RtlEncodeSystemPointer using the user shared data cookie.

svn path=/trunk/; revision=47429

9 years ago[FORMATTING]
Eric Kohl [Sat, 29 May 2010 20:40:28 +0000 (20:40 +0000)]
[FORMATTING]
No code changes.

svn path=/trunk/; revision=47428

9 years agoTimo/Physicus: Please validate for AMD64.
Sir Richard [Sat, 29 May 2010 19:27:32 +0000 (19:27 +0000)]
Timo/Physicus: Please validate for AMD64.
[NTOS]: Write down the PTE attribute flags for X86/AMD64. Timo/Physicus: Please double-check.
[NTOS]: Write down the array that converts from the MM_ protection flags arleady defined, into the appropriate PTE attribute flags that are architecture-specific.
[NTOS]: This will allow constant-time conversion of NT attributes into PTE attributes. Win32 attributes to NT attributes conversion won't be needed until VAD support.

svn path=/trunk/; revision=47427

9 years ago[NTOS]: Fix Implementation of BreakOnTermination -- Process Flags should be accessed...
Sir Richard [Sat, 29 May 2010 19:21:08 +0000 (19:21 +0000)]
[NTOS]: Fix Implementation of BreakOnTermination -- Process Flags should be accessed with interlocked bit semantics, not through C bitfield extension.
[NTOS]: Revert 47425 and apply a better fix.

svn path=/trunk/; revision=47426

9 years ago[NTOSKRNL]
Eric Kohl [Sat, 29 May 2010 19:13:19 +0000 (19:13 +0000)]
[NTOSKRNL]
Do not use _SEH2_YIELD in NtSetInformationProcess, NtQueryInformationThread and NtSetInformationThread while a thread or process is still being referenced.

svn path=/trunk/; revision=47425

9 years agoTesters: Please pay attention to this build and test it fully:
Sir Richard [Sat, 29 May 2010 18:33:50 +0000 (18:33 +0000)]
Testers: Please pay attention to this build and test it fully:
[NTOS]: Implement MiDecrementShareCount (to start replacing MmReleasePageMemoryConsumer calls for pages that were grabbed through ARM3, not Mm).
[NTOS]: Implement MiInitializePfn (to initialize pages grabbed through ARM3/MiRemoveAnyPage instead of Mm/MmAllocPage).
[NTOS]: For stack pages, use new ARM3 PFN alloc/free routines, as a first test/beginning of the new ARM3 ABI.
[NTOS]: Implement and start using the Pending-Deletion PFN flag.
[NTOS]: As a result, for stack pages, the Transition page state will now be seen, and the new routine for re-inserting pages into the free list will now be used. Tracking of page table references is also done now for these pages (but we don't free the PT since this doesn't seem safe yet).

svn path=/trunk/; revision=47424

9 years ago[NTOSKRNL / RTL]
Eric Kohl [Sat, 29 May 2010 18:22:47 +0000 (18:22 +0000)]
[NTOSKRNL / RTL]
- Implement BreakOnTermination case for NtQueryInformationProcess and NtSetInformationProcess.
- Implement RtlSetProcessIsCritical.

svn path=/trunk/; revision=47423