reactos.git
9 years ago[HAL]
Timo Kreuzer [Fri, 4 Jun 2010 10:17:55 +0000 (10:17 +0000)]
[HAL]
- Move memory functions from halinit.c to new memory.c
- HalpAllocPhysicalMemory: MemoryFirmwareTemporary -> LoaderFirmwareTemporary (same value, different enum)

svn path=/trunk/; revision=47563

9 years ago[KERNEL32], [WIN32CSR]
Jeffrey Morlan [Fri, 4 Jun 2010 06:36:12 +0000 (06:36 +0000)]
[KERNEL32], [WIN32CSR]
- Make Get/SetConsoleTitle more compatible with windows; in particular, transfer title via capture buffer to allow for longer titles.
- Tighten up capture buffer validation in win32csr.

svn path=/trunk/; revision=47562

9 years agorevert 47559 and 47560 (once again... sigh)
Timo Kreuzer [Fri, 4 Jun 2010 00:49:33 +0000 (00:49 +0000)]
revert 47559 and 47560 (once again... sigh)

svn path=/trunk/; revision=47561

9 years agotry to fix build
Timo Kreuzer [Fri, 4 Jun 2010 00:26:49 +0000 (00:26 +0000)]
try to fix build

svn path=/trunk/; revision=47560

9 years ago[DDK]
Timo Kreuzer [Fri, 4 Jun 2010 00:19:39 +0000 (00:19 +0000)]
[DDK]
Merge the rest of the old header-branch version of ntddk.h, but with a large number of additional types #if 0'ed out

svn path=/trunk/; revision=47559

9 years ago[DDK]
Timo Kreuzer [Thu, 3 Jun 2010 23:40:33 +0000 (23:40 +0000)]
[DDK]
try to work around the testbot brokenness with an #if 0"

svn path=/trunk/; revision=47558

9 years ago[HAL]
Timo Kreuzer [Thu, 3 Jun 2010 23:18:20 +0000 (23:18 +0000)]
[HAL]
Include the correct headers for amd64 vs i386

svn path=/trunk/; revision=47557

9 years ago[DDK]
Timo Kreuzer [Thu, 3 Jun 2010 23:08:40 +0000 (23:08 +0000)]
[DDK]
In an incredibly daring move, add even more types to ntddk.h

svn path=/trunk/; revision=47556

9 years ago[DDK]
Timo Kreuzer [Thu, 3 Jun 2010 22:25:25 +0000 (22:25 +0000)]
[DDK]
2nd try, this time adding half of the structures.

svn path=/trunk/; revision=47555

9 years agoRevert r47553 because testbot doesn't like it
Timo Kreuzer [Thu, 3 Jun 2010 22:15:54 +0000 (22:15 +0000)]
Revert r47553 because testbot doesn't like it

svn path=/trunk/; revision=47554

9 years ago[DDK}
Timo Kreuzer [Thu, 3 Jun 2010 21:55:57 +0000 (21:55 +0000)]
[DDK}
Add a number of PCI related types to ntddk.h

svn path=/trunk/; revision=47553

9 years ago[ReactOS-amd64.rbuild]
Timo Kreuzer [Thu, 3 Jun 2010 20:57:25 +0000 (20:57 +0000)]
[ReactOS-amd64.rbuild]
The old explorer won't compile for amd64 without massive hacking, so remove it from the build.

svn path=/trunk/; revision=47552

9 years ago[ROSTESTS]
Timo Kreuzer [Thu, 3 Jun 2010 20:08:26 +0000 (20:08 +0000)]
[ROSTESTS]
Fix 64 bit build of some modules (Samuel Serapion, modified by me)

svn path=/trunk/; revision=47551

9 years ago[W32KNAPI]
Timo Kreuzer [Thu, 3 Jun 2010 19:39:28 +0000 (19:39 +0000)]
[W32KNAPI]
Add few more tests for NtGdiCreateBitmap

svn path=/trunk/; revision=47550

9 years ago[GDI32API]
Timo Kreuzer [Thu, 3 Jun 2010 19:35:05 +0000 (19:35 +0000)]
[GDI32API]
add IsHandleValid and use it SelectObject test

svn path=/trunk/; revision=47549

9 years ago[DESK]
Gregor Schneider [Thu, 3 Jun 2010 18:47:37 +0000 (18:47 +0000)]
[DESK]
- Rearrange screensaver wait codes around the MsgWaitForMultipleObjects function
- Fixes screensaver configuration windows blocking the control panel
- Refs: http://blogs.msdn.com/b/oldnewthing/archive/2005/02/17/375307.aspx and http://codereflect.com/2008/09/19/when-and-how-should-we-use-msgwaitformultipleobjects/

See issue #4213 for more details.

svn path=/trunk/; revision=47548

9 years ago[COMCTRL32]
Timo Kreuzer [Thu, 3 Jun 2010 17:56:15 +0000 (17:56 +0000)]
[COMCTRL32]
Sync listview.c with wine 1.2 rc2

svn path=/trunk/; revision=47547

9 years ago[PSDK]
Timo Kreuzer [Thu, 3 Jun 2010 17:52:23 +0000 (17:52 +0000)]
[PSDK]
add LVSIL_GROUPHEADER definition to commctrl.h

svn path=/trunk/; revision=47546

9 years ago[BROWSEUI]
Timo Kreuzer [Thu, 3 Jun 2010 17:44:52 +0000 (17:44 +0000)]
[BROWSEUI]
merge r44391 from amd64 branch
fix 64bit build

svn path=/trunk/; revision=47545

9 years ago[user32]
Giannis Adamopoulos [Thu, 3 Jun 2010 16:12:43 +0000 (16:12 +0000)]
[user32]
- Remove a reactos only export (PrivateCsrssInitialized)
- Don't call NtUserGetClassLong
- Move implementation of AnyPopup to user mode
- Fix a small bug in GetParent and in IsChild

[csrss]
- Don't call PrivateCsrssInitialized

[win32k]
- Call CsrInit in NtUserInitialize so we can remove PrivateCsrssInitialized
- Romove a reactos only syscall (NtUserGetClassLong)
- Remove UserGetClassLongPtr, UserGetWindow, UserGetWindowLong, IntGetOwner. Instead access objects directly
- In WINDOW_OBJECT store pointer to the ownder window instead of a handle

svn path=/trunk/; revision=47544

9 years ago[DDK]
Timo Kreuzer [Thu, 3 Jun 2010 15:57:52 +0000 (15:57 +0000)]
[DDK]
Make RtlLargeIntegerDivide FORCEINLINE instead of __inline to avoid multiple definitions

svn path=/trunk/; revision=47543

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