Commit graph

42490 commits

Author SHA1 Message Date
Gregor Schneider 19d33c5dc1 [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
2010-05-31 20:09:13 +00:00
Gregor Schneider 86140dbf5a [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
2010-05-31 19:16:14 +00:00
Gregor Schneider bd17e097fa [CMD] Protect certain actions with a critical section, patch by Katayama Hirofumi
See issue #5406 for more details.

svn path=/trunk/; revision=47502
2010-05-31 18:38:48 +00:00
Giannis Adamopoulos b95825c931 [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
2010-05-31 17:58:05 +00:00
Timo Kreuzer 72cb5886ab [MMENT4]
Fix warning about uninitialized variable

svn path=/trunk/; revision=47499
2010-05-31 15:27:14 +00:00
Timo Kreuzer c6de042447 [PSDK]
Fix braces around initializers for GUIDs
Patch by Love Nystrom

See issue #5336 for more details.

svn path=/trunk/; revision=47498
2010-05-31 15:10:25 +00:00
Timo Kreuzer fa63efd411 [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
2010-05-31 15:07:19 +00:00
Timo Kreuzer 76a1e465ea [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
2010-05-31 14:58:43 +00:00
Timo Kreuzer f9639de590 [MMENT4]
Remove a ";" after an if (), that makes no sense and caused GetNt4SoundDeviceCapabilities to always return without doing anything.

svn path=/trunk/; revision=47494
2010-05-31 14:11:10 +00:00
Timo Kreuzer aa42ebb18f [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
2010-05-31 14:04:24 +00:00
Timo Kreuzer 336bd01387 [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
2010-05-31 14:00:50 +00:00
Timo Kreuzer 633c71de4e [BATTC]
- define _BATTERYCLASS_ to not get dllimport specifiers

svn path=/trunk/; revision=47491
2010-05-31 13:57:33 +00:00
Timo Kreuzer e9f941b00b [FORMAT]
Fix "potentially insecure" usage of non-string-literals in printf.

svn path=/trunk/; revision=47490
2010-05-31 13:56:29 +00:00
Timo Kreuzer e5b901a419 [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
2010-05-31 13:54:38 +00:00
Timo Kreuzer 5168fe0e80 [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
2010-05-31 13:45:29 +00:00
Stefan Ginsberg 98ca38a88c [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
2010-05-31 12:52:16 +00:00
Michael Martin 11f78560e8 [win32k]
- When processing and deleting timers use a seperate timer lock instead of using the global user lock.

svn path=/trunk/; revision=47486
2010-05-31 12:36:40 +00:00
Jeffrey Morlan 46e34b5640 [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
2010-05-31 06:28:55 +00:00
Timo Kreuzer d3d2badfac - add explicit braces to avoid ambiguous 'else'
- fix deprecated conversion from string constant to 'char*'

svn path=/trunk/; revision=47484
2010-05-31 04:13:40 +00:00
Timo Kreuzer b6e7912492 remove WTIME_S_DEFINED guard and move the functions from wchar_s to wchar.h (like in MS headers)
svn path=/trunk/; revision=47483
2010-05-31 03:32:51 +00:00
Timo Kreuzer 8cab5daeec [IPHLPAPI]
- remove unused variable

svn path=/trunk/; revision=47482
2010-05-31 02:29:36 +00:00
Timo Kreuzer 8deca41d3f Fix build (don't redefine structures)
svn path=/trunk/; revision=47481
2010-05-31 02:23:30 +00:00
Timo Kreuzer 62327e715f [DDK/XDK]
- Use PCI_COMMON_HEADER_LAYOUT for C, too, place it where it belongs

svn path=/trunk/; revision=47480
2010-05-31 02:15:15 +00:00
Timo Kreuzer f0c2cec9d5 [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
2010-05-31 01:50:09 +00:00
Timo Kreuzer 1db109e182 [time.h]
Add missing asctime_s and localtime_s, don't include time_s.h anymore

svn path=/trunk/; revision=47478
2010-05-31 01:49:22 +00:00
Timo Kreuzer 2991d5eb42 [CRT]
- Don't define __int64 for clang (patch by Amine Khaldi)
- Fix file and purpose in the header

svn path=/trunk/; revision=47471
2010-05-30 22:28:00 +00:00
Cameron Gutman 5de258d708 [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
2010-05-30 22:18:50 +00:00
Timo Kreuzer 1c2429510e [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
2010-05-30 22:02:42 +00:00
Timo Kreuzer 08d4b579ab [lib/3rdparty]
Disable unused value warning here, too

svn path=/trunk/; revision=47465
2010-05-30 21:32:28 +00:00
Gregor Schneider 744022564b [KERNEL32] Return nothing from InternalCopyDeviceFindDataA/W functions
svn path=/trunk/; revision=47464
2010-05-30 21:19:26 +00:00
Timo Kreuzer 06a6306fa8 [WINETESTS]
Disable unused value warnings

svn path=/trunk/; revision=47463
2010-05-30 21:01:52 +00:00
Timo Kreuzer 8da06df010 [PSEH]
Use dummy pseh for clang

svn path=/trunk/; revision=47462
2010-05-30 20:57:02 +00:00
Gregor Schneider 8117e46131 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
2010-05-30 20:36:20 +00:00
Gregor Schneider ad964bddb1 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
2010-05-30 20:31:58 +00:00
Gregor Schneider 81d25d5267 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
2010-05-30 20:25:46 +00:00
Gregor Schneider 63313191f0 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
2010-05-30 20:19:21 +00:00
Jeffrey Morlan d27f068a19 [FORMATTING] Standardize win32csr to 4-space indents. Based on a patch by Adam Kachwalla [Bug 5380]. No code changes.
svn path=/trunk/; revision=47457
2010-05-30 20:00:17 +00:00
Eric Kohl dfc4dcb9b5 [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
2010-05-30 19:46:02 +00:00
Christoph von Wittich 2e0bbab8ca [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
2010-05-30 19:37:27 +00:00
Gregor Schneider 3f536523c1 [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
2010-05-30 18:55:28 +00:00
Timo Kreuzer b99bfa42f2 - 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
2010-05-30 18:46:02 +00:00
Gregor Schneider cbb1f9480b [KBDLV] Latvian keyboard fixes by Arturs B., <mad_alchemist AT mail DOT ru>
See issue #5385 for more details.

svn path=/trunk/; revision=47452
2010-05-30 18:34:29 +00:00
Timo Kreuzer 25b2c670c4 [WINE]
Cast the unused 0 in the ok macro to void to make clang happy

svn path=/trunk/; revision=47450
2010-05-30 16:24:51 +00:00
Christoph von Wittich 8e44cb3688 [WINE]
partial sync of test.h

svn path=/trunk/; revision=47449
2010-05-30 15:37:32 +00:00
Christoph von Wittich d6fb44f0d7 [COMCTL32_WINETEST]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47448
2010-05-30 15:19:09 +00:00
Christoph von Wittich 769948f75a [PSDK]
add missing definitions

svn path=/trunk/; revision=47447
2010-05-30 15:18:08 +00:00
Gregor Schneider 5df0484c21 [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
2010-05-30 15:13:04 +00:00
Gregor Schneider 306e2ff6f2 [MMSYS] Adjust German dialog item positions and sizes
svn path=/trunk/; revision=47445
2010-05-30 15:09:25 +00:00
Christoph von Wittich 065ed554be [PSDK]
add missing definitions

svn path=/trunk/; revision=47444
2010-05-30 15:00:04 +00:00
Timo Kreuzer 76dc595732 [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
2010-05-30 14:02:47 +00:00