Commit graph

51537 commits

Author SHA1 Message Date
Timo Kreuzer
268d481877 [WIN32K]
Check for NULL dc surface before dereferencing it in IntGdiRealizePalette.

svn path=/trunk/; revision=56980
2012-07-29 12:22:06 +00:00
Timo Kreuzer
85a3397af9 [WIN32K]
- Change some #defines to enums
- Cleanup some obsolete stuff

svn path=/trunk/; revision=56979
2012-07-29 11:20:05 +00:00
Amine Khaldi
aa0fc5cdca [GDI32_APITESTS]
* Allow warnings when compiling with gcc.

svn path=/trunk/; revision=56978
2012-07-29 02:44:53 +00:00
Amine Khaldi
01b9338bc1 [VGA_NEW]
* Explicitly mark the functions as stdcall.

svn path=/trunk/; revision=56977
2012-07-29 02:38:10 +00:00
Amine Khaldi
6a16d0d04b [FBTUSB]
* Explicitly mark the functions as stdcall.

svn path=/trunk/; revision=56976
2012-07-29 02:29:12 +00:00
Amine Khaldi
e819a3017f [CLASSPNP]
* Fix some more warnings.

svn path=/trunk/; revision=56975
2012-07-29 02:14:52 +00:00
Amine Khaldi
434f07a99c [DISK_NEW]
* Explicitly mark the functions as stdcall.
* Fix some warnings.

svn path=/trunk/; revision=56974
2012-07-29 02:05:26 +00:00
Amine Khaldi
79df779077 [CLASSPNP]
* Explicitly mark the functions as stdcall (NTAPI).. -mrtd changes the default calling convention, but name-decoration isn't affected by this. The -mrtd feature has its origin in some older linux-code-mode, and it's considered for removal in GCC 4.8.
* Fix some warnings.

svn path=/trunk/; revision=56973
2012-07-29 01:49:24 +00:00
Amine Khaldi
614db35f56 * We've been waiting, for a long time, for the mighty GCC version upgrade, but that was easier said than done, for the Windows build at least. Many have tried, to no avail, so Amine finally decided to step up, to give it a shot.. he went on and learned the dark arts of compiling GCC... and he succeeded !
* In the journey of running his GCC 4.7.1 compiled bootcd, two issues were revealed. Thomas kindly investigated them and fixed them, and as a result the bootcd boots to shell !
[CSRSRV]
* Fix the output parameter of ProcessLUIDDeviceMapsEnabled case in NtQueryInformationProcess() to be ULONG instead of BOOLEAN (as required).
* ASSERT that the function succeeds.
[SMSS]
* Move this condition up to the commented-out part (where it belongs).

svn path=/trunk/; revision=56972
2012-07-29 00:47:58 +00:00
Amine Khaldi
922ef66861 [NEWINFLIB]
* Back out r56969 for MSVC compatibility, a better approach is coming up soon.

svn path=/trunk/; revision=56971
2012-07-28 23:03:40 +00:00
Timo Kreuzer
6a17ab3c5e [WIN32K]
- Take translation into account when inverting an XFORMOBJ
- Always use the matrices from the DCATTR instead of DCLEVEL
- Mark Device-to-World translation as invalid when the Window Origin is modified
Fixes 7088
See issue #7088 for more details.

svn path=/trunk/; revision=56970
2012-07-28 18:31:24 +00:00
Amine Khaldi
c41d0cf560 [NEWINFLIB]
* We don't need to define _CRT_NON_CONFORMING_SWPRINTFS for inflibhost.

svn path=/trunk/; revision=56969
2012-07-28 15:33:38 +00:00
Amine Khaldi
204db8958d [CABMAN]
* Define WIN32_LEAN_AND_MEAN before including windows.h

svn path=/trunk/; revision=56968
2012-07-28 15:14:44 +00:00
Olaf Siejka
43d4b19730 [TRANSLATION]
- slovak fontview translation update by Mario Kacmar (bug no. 7201);
- polish fontview translation update by me;

svn path=/trunk/; revision=56967
2012-07-26 19:48:26 +00:00
Thomas Faber
cbe2bd44d0 [DISKPART]
- Rewrite argument parsing. Patch by Lee Schroeder.
See issue #7170 for more details.

svn path=/trunk/; revision=56966
2012-07-24 20:23:24 +00:00
Thomas Faber
caa3183c46 [CRT]
- Fix typo

svn path=/trunk/; revision=56965
2012-07-24 20:08:48 +00:00
Timo Kreuzer
67bba2223c [DDK/XDK]
- Fix _XSTATE_SAVE definition for ARM

[NDK]
- #if out NtCurrentTeb() inline function for ARM, it's implemented in ARMLIB

[CRT]
- #if out some intrinsics in msc/intrin.h that don't exist on ARM
- Add _crt_va_start, _crt_va_arg and _crt_va_end for ARM

svn path=/trunk/; revision=56964
2012-07-24 19:02:29 +00:00
Timo Kreuzer
ed8d5e3ad7 [GENINCDATA]
- #if out some constants that ARM doesn't have

svn path=/trunk/; revision=56963
2012-07-24 18:56:23 +00:00
Timo Kreuzer
80a9f50fbf [CMAKE]
- Add ARM architecture support
- disable makefile debugging

svn path=/trunk/; revision=56962
2012-07-24 18:54:31 +00:00
Thomas Faber
f3417b4646 [CRT][NTDLL]
- Separate some _CI* functions into their own files and export them from ntdll. Patch by Vincenzo Cotugno.
See issue #7085 for more details.

svn path=/trunk/; revision=56961
2012-07-24 16:45:50 +00:00
Jérôme Gardou
aa8dbbffd8 [WIN32K]
- Fix macro defitnition

svn path=/trunk/; revision=56960
2012-07-24 15:38:46 +00:00
Thomas Faber
348b5eb57f [NTOSKRNL:IOMGR][NPFS]
- Do not pass non-boolean Alertable values to KeWaitForSingleObject
- Fix some DPRINTs

svn path=/trunk/; revision=56959
2012-07-24 15:32:06 +00:00
Jérôme Gardou
a78714ae9e [INCLUDE]
- Update glext.h to latest version

svn path=/trunk/; revision=56958
2012-07-24 10:11:23 +00:00
Daniel Reimer
e2c84e75fe Change totalcommander to a external mirror. As suggested by Pierre.
svn path=/trunk/; revision=56957
2012-07-24 07:20:08 +00:00
Daniel Reimer
7c8b2e1482 Update rapps to recent versions.
FF 3.6 and Thunderbird 3 is no more and thus is hosted on the same spot as the older FF versions are.
Fox Audio is updated to 0.9.1 including head rev mpg123 lib and hosted on our svn, too overwriting the old fox audio player.
Closing Bug #7194 and #7195, too by adding Total Commander and Click-N-Type Virtual Keyboard

svn path=/trunk/; revision=56956
2012-07-23 21:49:49 +00:00
Thomas Faber
1e3dee02c9 [WIN32CSR]
- Do not leave critical section twice in Win32CsrReleaseConsole. Patch by Hermès Bélusca
See issue #6622 for more details.

svn path=/trunk/; revision=56955
2012-07-23 20:25:11 +00:00
Thomas Faber
7d35261d7c [RTL]
- Properly enable validity check in RtlLeaveCriticalSection for debug builds

svn path=/trunk/; revision=56954
2012-07-23 20:24:34 +00:00
Art Yerkes
c487b06067 [NTOSKRNL]
Fix some problems with the lock implementation
- Add a 'generation' to the lock IRPs so we know if we've reprocessed them on any
  specific turn when we unlock something else.
- Simplify coalescing of lock regions to just rebuilding the region by going through
  the shared lock list and expanding a new region with any overlaps.
- Simplify coalescing new shared locks into larger regions in the same manner.

svn path=/trunk/; revision=56953
2012-07-23 18:53:50 +00:00
Art Yerkes
682ce04b5a [FORMATTING]
Removing tabs, no code change.

svn path=/trunk/; revision=56952
2012-07-23 18:50:16 +00:00
Jérôme Gardou
fd59686178 [WIN32SS/NTGDI]
- Do not assume that DC has a valid surface attached in GreExtTextOutW

svn path=/trunk/; revision=56951
2012-07-23 15:35:42 +00:00
Thomas Faber
43273addf5 [NPFS]
- Keep a reference count for FCBs to prevent race conditions when closing multiple handles to the same pipe concurrently
- Acquire the pipe list lock in NpfsQueryDirectory to guard against concurrent deletion of pipes
See issue #7205 for more details.

svn path=/trunk/; revision=56950
2012-07-23 13:24:48 +00:00
Jérôme Gardou
166dfc8238 [WIN32SS/NTGDI]
- return default bitmap if no surface is attached to the DC
- clean up code a bit

svn path=/trunk/; revision=56949
2012-07-23 12:19:30 +00:00
Jérôme Gardou
3ac46be1b0 [WIN32SS/NTGDI]
- Initialize all DC brushes with 1x1 monochrome bitmap at DC creation

svn path=/trunk/; revision=56948
2012-07-23 11:02:06 +00:00
Jérôme Gardou
239edc1a73 [WIN32SS/GDI]
svn path=/trunk/; revision=56947
2012-07-23 10:12:53 +00:00
James Tabor
23c9176d87 [User32]
- Do not send on a null window, fixes start up and shut down spurious window handle errors.

svn path=/trunk/; revision=56946
2012-07-23 05:36:26 +00:00
James Tabor
17836bbe19 [User32]
- Use system gray brush.

svn path=/trunk/; revision=56945
2012-07-23 05:30:15 +00:00
Jérôme Gardou
405f863521 [NTOSKRNL]
- Forgot amd64 file

svn path=/trunk/; revision=56944
2012-07-23 00:52:44 +00:00
Jérôme Gardou
a3e1af9897 [NTOSKRNL]
- Raise system PTE count to 44000 for system with more than 256MB of RAM.
- http://www.osronline.com/ddkx/appendix/enhancements5_3oc3.htm claims that winXP supports a 960MB-contiguous mapping...

svn path=/trunk/; revision=56943
2012-07-23 00:52:01 +00:00
Jérôme Gardou
78bdedec32 [WIN32SS/NTGDI]
- Don't assume DC surface in non NULL in NtGdiSetDIBitsToDeviceInternal

svn path=/trunk/; revision=56942
2012-07-22 21:19:02 +00:00
Timo Kreuzer
d949749e32 [DIBLIB]
- Make file names unix conform
- Cleanup code

svn path=/trunk/; revision=56941
2012-07-22 20:24:10 +00:00
Thomas Faber
3161623a23 [ADVAPI32]
- Fix a potential memory leak. Spotted by Hermès

svn path=/trunk/; revision=56940
2012-07-22 18:48:28 +00:00
Timo Kreuzer
189a83fdde [NTOSKNRL]
Add a missing NULL check in IoShutdownSystem

svn path=/trunk/; revision=56939
2012-07-22 18:48:09 +00:00
Thomas Faber
dd12f74611 [ADVAPI32]
- Fix a double free

svn path=/trunk/; revision=56938
2012-07-22 18:25:53 +00:00
Timo Kreuzer
505f66f454 [CMAKE]
Fix configure script for arm

[GENINC]
Add support for IMAGE_FILE_MACHINE_ARMNT

svn path=/trunk/; revision=56937
2012-07-22 16:29:47 +00:00
Eric Kohl
611b08e507 [SAMSRV]
- Ensure that account names are not in use when a new alias, group or user is created. Return a proper status code if the account name is alread in use.
- Initialize logon/password  related data for new user account objects.
- Add missing prototypes and user account control bits to ntsam.h

svn path=/trunk/; revision=56936
2012-07-22 15:12:00 +00:00
Timo Kreuzer
d62e513aad [CMAKE]
Add support for MSVC ARM
Configuration script works as usual from VS 11 ARM command prompt, host tools is configured for x86 and must be compiled from a VS x86 command prompt.

svn path=/trunk/; revision=56935
2012-07-22 14:21:43 +00:00
Jérôme Gardou
7024c1ba5c [CMAKE]
- Revert r56892 and r56889.
Add a comment as to why this should be this way.

svn path=/trunk/; revision=56934
2012-07-22 11:03:20 +00:00
Jérôme Gardou
3465a99308 [DIBLIB]
- Fix GCC compilation

svn path=/trunk/; revision=56933
2012-07-22 00:15:02 +00:00
Aleksey Bragin
da04e4981b [CMLIB]
- Remove unused HFILE_TYPE_ALTERNATE.
- Reapply changes from r56884: Hermes Belusca: Fix wrong definition of CMHIVE structure.
See issue #7162 for more details.

svn path=/trunk/; revision=56932
2012-07-21 23:27:30 +00:00
Jérôme Gardou
4be2c40f92 [WIN32SS/USER]
- Handle transferring buffer to user mode in WH_CALLWNDPROC(RET) hooks if lParam is a pointer.
This fixes the gallium3d opengl ICD, so newest VMWare opengl Driver should now work.
Please TEST!

svn path=/trunk/; revision=56931
2012-07-21 22:59:41 +00:00