Commit graph

42531 commits

Author SHA1 Message Date
Timo Kreuzer 4e381837a0 [GDI32API]
add IsHandleValid and use it SelectObject test

svn path=/trunk/; revision=47549
2010-06-03 19:35:05 +00:00
Gregor Schneider 10dc21e801 [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
2010-06-03 18:47:37 +00:00
Timo Kreuzer 42667f14a0 [COMCTRL32]
Sync listview.c with wine 1.2 rc2


svn path=/trunk/; revision=47547
2010-06-03 17:56:15 +00:00
Timo Kreuzer 279fb08907 [PSDK]
add LVSIL_GROUPHEADER definition to commctrl.h

svn path=/trunk/; revision=47546
2010-06-03 17:52:23 +00:00
Timo Kreuzer fbb71f36dc [BROWSEUI]
merge r44391 from amd64 branch
fix 64bit build


svn path=/trunk/; revision=47545
2010-06-03 17:44:52 +00:00
Giannis Adamopoulos 5ec9991072 [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
2010-06-03 16:12:43 +00:00
Timo Kreuzer a101fb3029 [DDK]
Make RtlLargeIntegerDivide FORCEINLINE instead of __inline to avoid multiple definitions

svn path=/trunk/; revision=47543
2010-06-03 15:57:52 +00:00
Timo Kreuzer 33b6671aa1 [rbuild]
- cleanup obsolete rbuild flags for amd64
- undefine WIN32 for amd64, only _WIN32 should be defined

svn path=/trunk/; revision=47542
2010-06-03 15:50:19 +00:00
Gabriel Ilardi 54a043669e [SYSDM]
- Update Italian and Spanish translations.
- Add untranslated strings to the rest of the languages.

svn path=/trunk/; revision=47541
2010-06-03 15:09:08 +00:00
Timo Kreuzer cce23ec5f3 [ACPICA]
- Hack acwin64.h, don't assume msvc for win64

svn path=/trunk/; revision=47540
2010-06-03 14:55:25 +00:00
Timo Kreuzer 997911a7be [RBUILD]
- append stdcall decoration only for i386 target

svn path=/trunk/; revision=47539
2010-06-03 14:49:47 +00:00
Timo Kreuzer 489842b382 merge 46805 from amd64 branch:
[RBUILD]
Fix some parameters (starting with --, not with -)

svn path=/trunk/; revision=47538
2010-06-03 14:19:18 +00:00
Eric Kohl fc20aaf185 [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
2010-06-03 13:36:50 +00:00
Eric Kohl 65435e1b84 [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
2010-06-03 13:17:33 +00:00
Timo Kreuzer 447be42c33 Merge 46523 from amd64 branch:
- Fix assert macro
- Add crt="MSVC" to a number of modules to resolve _assert

svn path=/trunk/; revision=47533
2010-06-03 12:47:40 +00:00
Cameron Gutman 520f691995 [FREELDR]
- Remove an overzealous API check and the work-around for it

svn path=/trunk/; revision=47531
2010-06-03 08:09:42 +00:00
Cameron Gutman 0f49f63b63 [FREELDR]
- Verify that Int 13 extensions are supported before trying to use them

svn path=/trunk/; revision=47530
2010-06-03 07:48:35 +00:00
Michael Martin be344838ef [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
2010-06-03 07:08:07 +00:00
Michael Martin f6d5918b31 [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
2010-06-02 23:58:28 +00:00
Gabriel Ilardi 8f37e32fd6 [SYSDM]
- Update Italian and Spanish translations.

svn path=/trunk/; revision=47526
2010-06-02 22:49:27 +00:00
Eric Kohl 23e08cb25e [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
2010-06-02 22:29:19 +00:00
Gabriel Ilardi 4fad7fd616 [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
2010-06-02 22:28:37 +00:00
Giannis Adamopoulos 40ff1fac4b [win32k]
- Fix detection of file type while generating vcxproj files

svn path=/trunk/; revision=47523
2010-06-02 18:14:53 +00:00
Giannis Adamopoulos 4f491e282e [win32k[win32k]
-Allow menus to be shown over the taskbar
See issue #5415 for more details.

svn path=/trunk/; revision=47522
2010-06-02 16:55:21 +00:00
Gabriel Ilardi c1de13be76 [netshell]
- Improve current network connection status icons.

svn path=/trunk/; revision=47521
2010-06-02 15:43:07 +00:00
Gabriel Ilardi ee7e83a4cd Several Italian translation updates by Paolo Devoti.
See issue #5438 for more details.

svn path=/trunk/; revision=47520
2010-06-02 14:04:07 +00:00
Stefan Ginsberg f1f3d045d4 [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
2010-06-02 13:59:47 +00:00
Daniel Reimer ebed05d2d4 Polish Translation Updates by Maciej Bialas.
svn path=/trunk/; revision=47518
2010-06-02 11:34:56 +00:00
Aleksey Bragin 840624212a [HAL]
- Fix a typo.

svn path=/trunk/; revision=47517
2010-06-02 11:26:19 +00:00
Cameron Gutman 59aacb176f [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
2010-06-01 20:06:53 +00:00
Gregor Schneider b5781444a5 [FONTVIEW] Select the oldest font back into the DC, leftover from bug #5182
svn path=/trunk/; revision=47515
2010-06-01 19:36:43 +00:00
Johannes Anderwald 2acf45f081 [NTOS]
- Fix assertion hit during install
- Fix identation
- Remove superflous spaces

svn path=/trunk/; revision=47514
2010-06-01 15:08:14 +00:00
Johannes Anderwald ba2a17a2ef [NPFS]
- Fix 2 memory leaks when creating a pipe fails
- Fix minor style issue

svn path=/trunk/; revision=47513
2010-06-01 10:57:26 +00:00
Johannes Anderwald e2be367887 [NPFS]
- Check if MmGetSystemAddressForMdlSafe failed

svn path=/trunk/; revision=47512
2010-06-01 09:52:16 +00:00
Giannis Adamopoulos 9598f59dec [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
2010-06-01 09:31:24 +00:00
Art Yerkes 5fafb51079 Add invariant checks and fix a bug: Copy+Paste error misusing OldFlink
svn path=/trunk/; revision=47510
2010-06-01 09:22:10 +00:00
Johannes Anderwald 5e80db9d5e [NPFS]
- Add more buffer checks
- Clear DO_DEVICE_INITIALIZING flag

svn path=/trunk/; revision=47509
2010-06-01 09:12:32 +00:00
Johannes Anderwald f346021e6c [NPFS]
- Return buffer size if the buffer is too small

svn path=/trunk/; revision=47508
2010-06-01 08:43:50 +00:00
Daniel Reimer cfc0d726f2 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
2010-06-01 06:43:47 +00:00
Cameron Gutman 85c99c26cb [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
2010-06-01 02:44:15 +00:00
Eric Kohl f4d415767d [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
2010-05-31 22:34:16 +00:00
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