Commit graph

51660 commits

Author SHA1 Message Date
Amine Khaldi 573f94870e [ATACTL]
* Add atactl from the Uniata suite. It should be useful for troubleshooting uniata.

svn path=/trunk/; revision=57003
2012-07-31 17:18:47 +00:00
Amine Khaldi 3864f6ae77 [DISK_NEW]
* Allow warnings here (3rd party code).

svn path=/trunk/; revision=57002
2012-07-31 16:47:04 +00:00
Alex Ionescu 838bc812fe [NTOSKRNL]: When dispatching a prototype PTE fault, call MiCompleteProtoPteFault instead of directly calling MiResolveProtoPteFault. Also add support/detection for clustering.
svn path=/trunk/; revision=57001
2012-07-31 07:32:19 +00:00
Alex Ionescu a2cb9d5ee2 [NTOSKRNL]: Additional support for session space. A few more ASSERTs and paranoia.
[NTOSKRNL]: Don't assume all prototype PTEs are cached, in fact none are in ReactOS at the moment! This resulted in the wrong hardware caching bits for the PEB/TEB and NLS Data which are using ARM3 section code.
[NTOSKRNL]: Also implement dirty page bit for prototype PTEs.

svn path=/trunk/; revision=57000
2012-07-31 07:11:52 +00:00
Alex Ionescu e97a40328f [NTOSKRNL]: Multiple fixes to faulting paths. Make some checks more explicit, support lock pages counter, update dirty bit when needed, and stub further support for session space.
svn path=/trunk/; revision=56999
2012-07-31 06:47:47 +00:00
Amine Khaldi f255f69861 * Align the stack on an 8-byte boundary for x86.
svn path=/trunk/; revision=56998
2012-07-30 22:28:05 +00:00
Amine Khaldi 0113c5402c [FREELDR/SETUPLDR]
* Leverage the object library option provided by CMake 2.8.8+ which will speed up the build even further.
* These wrapping conditions will go away as soon as we ship the new BE.

svn path=/trunk/; revision=56997
2012-07-30 16:57:55 +00:00
Jérôme Gardou 3fb00ba84a [MSVCRTEX]
- Add is(w)blank implementation

svn path=/trunk/; revision=56996
2012-07-30 12:56:25 +00:00
Jérôme Gardou 01197a3cc8 [INCLUDE]
- Add some more C99 math functions
- Fix definition of __forceinline and FORCEINLINE for C99
- Fix and add definition of _aligned_malloc and _aligned_free
- Fix definition of is(w)blank, as a C99 function, it is not in msvcrt.dll and has to be implemented in msvcrtex
All of this taken from the mingw-w64 project

svn path=/trunk/; revision=56995
2012-07-30 12:55:13 +00:00
Timo Kreuzer a06b1e416e [WIN32K]
Check if the dc surface is NULL instead of ASSERTing

svn path=/trunk/; revision=56994
2012-07-30 11:09:31 +00:00
Hervé Poussineau e78aab93b0 [FREELDR] i386: support drives bigger than ~4GB
See issue #6669 for more details.

svn path=/trunk/; revision=56993
2012-07-30 06:12:58 +00:00
Jérôme Gardou df58b26774 [OPENGL32]
- Fix build

svn path=/trunk/; revision=56992
2012-07-30 01:07:57 +00:00
Jérôme Gardou e929298f0f [INCLUDE/CRT]
- revert 56989.
Our headers are a lost cause. Just add the functions that I need.

svn path=/trunk/; revision=56991
2012-07-30 00:36:00 +00:00
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