Commit graph

51697 commits

Author SHA1 Message Date
Jérôme Gardou 022b762f7e [CMAKE]
- Add macro to add flags to a specific language.

svn path=/trunk/; revision=56990
2012-07-30 00:00:51 +00:00
Jérôme Gardou 6a6501c365 [INCLUDE/CRT]
- Partial update of math.h
Someone used to mingw-w64 headers system should look into this, I NEED those C99 functions!

svn path=/trunk/; revision=56989
2012-07-29 23:59:33 +00:00
Thomas Faber ca4b50adef [CMAKE]
- Revert 56985 for now, as it apparently breaks syscalls
See issue #7218 for more details.

svn path=/trunk/; revision=56988
2012-07-29 23:24:02 +00:00
Jérôme Gardou c9b13b573b [INCLUDE]
- Update gl.h from Mesa 8.0.4

svn path=/trunk/; revision=56987
2012-07-29 23:07:34 +00:00
Aleksey Bragin 8e69a449bd [NTOS/ARM3]
- Implement MiProtectVirtualMemory for VAD based allocator (it's very similar to the already implemented MiSetProtectionOnSection function). However it still doesn't fully work because support in other functions is missing (failed assertions in MiFlushTbAndCapture).
See issue #7216 for more details.

svn path=/trunk/; revision=56986
2012-07-29 22:18:23 +00:00
Thomas Faber d574e063d0 [CMAKE]
- Align the stack on a 16-byte boundary for x86 like any sensible compiler would, anyway. Should fix weird GCC 4.7 behavior.

svn path=/trunk/; revision=56985
2012-07-29 18:19:40 +00:00
Hervé Poussineau 408272b62f [FREELDR] Seek to correct sector number, even after ~4GB.
See issue #6669 for more details.

svn path=/trunk/; revision=56984
2012-07-29 17:36:31 +00:00
Timo Kreuzer d2d680b3ae [INCLUDES]
- Add _PRAGMA_WARNING_SUPPRESS() macro
- Fix definition of __analysis_noreturn for PREFAST runs
- Annotate RtlAssert with __analysis_noreturn everywhere
- Add proper annotations to all DbgPrint and DbgPrintEx definitions
- Suppress warnings for use of ProbeForRead outside of SEH

svn path=/trunk/; revision=56983
2012-07-29 17:25:05 +00:00
Timo Kreuzer f59a68d66e [SPEC2DEF]
Fix use of uninitialized variable warning

svn path=/trunk/; revision=56982
2012-07-29 15:49:29 +00:00
Hervé Poussineau f8b87477ce freeldr: seek to correct sector number, even after ~4GB.
See issue #6669 for more details.

svn path=/trunk/; revision=56981
2012-07-29 15:45:57 +00:00
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