Commit graph

47201 commits

Author SHA1 Message Date
Amine Khaldi 20c199a07b [PCI/PCMCIA]
* Use pci.h and as pcmcia.h as PCH's.

svn path=/trunk/; revision=52911
2011-07-26 22:19:36 +00:00
Amine Khaldi 517c803854 [ISAPNP]
* Use isapnp.h as a PCH.

svn path=/trunk/; revision=52910
2011-07-26 22:16:41 +00:00
Amine Khaldi 6769b0f47a [CMD]
* tchar.h is already in the PCH. Don't include it here.

svn path=/trunk/; revision=52909
2011-07-26 22:13:42 +00:00
Amine Khaldi 0597fb5145 [3DTEXT]
* Use 3dtext.h as a PCH.

svn path=/trunk/; revision=52908
2011-07-26 22:09:21 +00:00
Amine Khaldi fd5f6e54bc [RAPPS]
* Use rapps.h as a PCH.

svn path=/trunk/; revision=52907
2011-07-26 22:07:22 +00:00
Amine Khaldi 0264f3cffa [NSLOOKUP]
* Use nslookup.h as a PCH.

svn path=/trunk/; revision=52906
2011-07-26 22:05:26 +00:00
Amine Khaldi c24708d72f [NET]
* Use net.h as a PCH.

svn path=/trunk/; revision=52905
2011-07-26 22:02:52 +00:00
Amine Khaldi 4a432c0c70 [TELNET]
* Introduce a PCH.
* BTW, the recent and upcoming changes are two-fold: First, having a precompiled header will increase build speed. Furthermore, PCH support allows CMake dependency tracking files to shrink drastically. For example it's (depend.make) 95% smaller for this module than it used to be. This means an even better build system compared to rbuild, not to mention it's now faster than before.
* This work is dedicated to Jerome.

svn path=/trunk/; revision=52904
2011-07-26 21:56:48 +00:00
Amine Khaldi 005a96a6b5 [FTP]
* Introduce a PCH.

svn path=/trunk/; revision=52903
2011-07-26 21:51:36 +00:00
Amine Khaldi 54c46d508f [FINGER]
* Introduce a PCH.

svn path=/trunk/; revision=52902
2011-07-26 21:49:14 +00:00
Amine Khaldi e87cb26ad8 [MSPAINT]
* Introduce a PCH.
* Fix Brush function declaration.

svn path=/trunk/; revision=52901
2011-07-26 21:44:53 +00:00
Alex Ionescu 6d971807f7 [KERNEL32]: Cleanup of virtual memory functions.
[KERNEL32]: VirtualAllocEx should build a SEH frame.
[KERNEL32]: VirtualAllocEx should make sure the address given is not lower than the system's allocation granularity.

svn path=/trunk/; revision=52899
2011-07-26 14:33:22 +00:00
Alex Ionescu 0b545fdc07 [KERNEL32]: Rewrite almost all the time APIs to do their own conversions instead of calling other APIs (which sometimes have slightly different checks).
[KERNEL32]: Add support for terminal services timezone redirection (one more for GedMurphy's pipe dream) in all the time functions.
[KERNEL32]: Make the time functions acquire SE_SYSTEMTIME_PRIVILEGE when needed (and release it).
[KERNEL32]: Fix the DOS time conversion routines.
[KERNEL32]: Add missing validations to some time functions.
[KERNEL32]: Implement IsTimeZoneRedirectionEnabled.
[KERNEL32]: Reimplement GetSystemTimes to support MP, and treat parameters as optional.

svn path=/trunk/; revision=52898
2011-07-26 14:05:30 +00:00
Timo Kreuzer 22c0da4ef9 [NTOSKRNL]
- Inline KeDisableInterrupts
- Make ExInterlocked* functions portable

svn path=/trunk/; revision=52897
2011-07-26 14:00:08 +00:00
Jérôme Gardou fc7a05e721 [NTDLL]
- fix the fix : export RtlAcquirePrivilege.
- Also export RtlInterlockedCompareExchange64, it's needed by kernel32

svn path=/trunk/; revision=52896
2011-07-26 13:53:18 +00:00
Jérôme Gardou cd15a71cda [CMAKE]
-relink win32csr with msvcrt, it's a win32dll

svn path=/trunk/; revision=52895
2011-07-26 11:40:20 +00:00
Rafal Harabien 5fa49ffa95 [DESK]
- Remove forgotten debug print
- Simplify a bit

svn path=/trunk/; revision=52893
2011-07-26 11:12:56 +00:00
Rafal Harabien 9cb007b9f8 [DESK]
- Fix #6262: each new applied color scheme increase the window title height by one
- Don't read REG_QWORD directly to DWORD variable

svn path=/trunk/; revision=52892
2011-07-26 10:51:54 +00:00
Jérôme Gardou de40c205e9 [NTDLL]
- remove duplicate declaration of RtlAdjustPrivilege

svn path=/trunk/; revision=52891
2011-07-26 08:29:53 +00:00
Jérôme Gardou 3b76cb24ee [NDK/DDK]
Fix definitions of ZwPowerInformation and ZwInitiatePowerAction

svn path=/trunk/; revision=52890
2011-07-26 08:27:35 +00:00
Dmitry Gorbachev 98e48b5a92 [WIN32K]
Do not go beyond the MouseHistoryOfMoves[] bounds. Fixes a crash in Win32k.

svn path=/trunk/; revision=52887
2011-07-26 03:24:48 +00:00
Dmitry Gorbachev 21b5c3a4ec [MINGW-W64]
Reduce differences with upstream. Fixes crash if ReactOS is compiled with GCC 4.6.

svn path=/trunk/; revision=52886
2011-07-26 01:16:32 +00:00
Amine Khaldi 3c6161ed9e [MAGNIFY]
* Designate magnifier.h as a precompiled header and use it as one.

svn path=/trunk/; revision=52885
2011-07-26 00:08:58 +00:00
Amine Khaldi fa0f9a6367 [SPIDER]
* Designate spider.h as a precompiled header and use it as one.

svn path=/trunk/; revision=52884
2011-07-25 23:50:18 +00:00
Amine Khaldi bcfa5805e1 [SOL]
* Designate solitaire.h as a precompiled header and use it as one.

svn path=/trunk/; revision=52883
2011-07-25 23:43:02 +00:00
Amine Khaldi eed24c24a5 [DXDIAG]
* Slightly better PCH.

svn path=/trunk/; revision=52882
2011-07-25 23:34:29 +00:00
Amine Khaldi facaa72810 [CMAKE]
* Link vfatxlib to chkstk.

svn path=/trunk/; revision=52881
2011-07-25 23:26:21 +00:00
Amine Khaldi 0e157e6285 [CALC]
* Make calc.h a PCH in rbuild build too (already done in cmake build).
* Improve this precompiled header.

svn path=/trunk/; revision=52880
2011-07-25 23:21:29 +00:00
Amine Khaldi 27b36a9e55 [AUDIOSRV]
* Designate audiosrv.h as a precompiled header and use it as one.

svn path=/trunk/; revision=52879
2011-07-25 23:06:48 +00:00
Jérôme Gardou a28a0da7f1 [CMAKE]
- uext2, ufat and untfs are native dlls

svn path=/trunk/; revision=52878
2011-07-25 22:16:03 +00:00
Jérôme Gardou a70f7a4d48 [CMAKE]
- add nativedll module type for msvc
- error out in msvc toolchain if unknown module type is set

svn path=/trunk/; revision=52877
2011-07-25 22:15:08 +00:00
Giannis Adamopoulos 86d2150cff [win32k]
- Implement support for debug channels. When a process starts, win32k will parse DEBUGCHANNEL environment variable in order to enable or disable specific debug channels or levels for this application. This gives us the ability to activate from user mode extended debug output for one application, for one component, for one level. In order to use the new debugging system we have to use the macros ERR, FIXME, WARN and TRACE. These are not used yet but shortly every DPRINT/DPRINT1 call will be converted to use the new macros
- Define several win32k channels that will be used in the future
- Remove some hacky definitions of the new macros

svn path=/trunk/; revision=52876
2011-07-25 21:45:47 +00:00
Timo Kreuzer f1011b2525 [NTOSKRNL]
Fix bugs in ExInterlocked functions.

svn path=/trunk/; revision=52875
2011-07-25 21:06:44 +00:00
Daniel Reimer 04a0c4b70a Updated rapps database by Igor Paliychuk.
FF4 was removed, FF5 was added instead.
Thunderbird 5 was added, too.
Rest was updated to the newest version.

Maybe we should add http://source.winehq.org/patches/data/74067 from wine to get ftp support fixed.

svn path=/trunk/; revision=52874
2011-07-25 21:03:03 +00:00
Amine Khaldi c036300525 [CMAKE]
* Update our asm support thanks to Jerome.
* Bring in CMakeDetermineCompilerId.cmake to make sure this will work for pretty much all systems.
* Disable the use of response files when you enable ccache.

svn path=/trunk/; revision=52873
2011-07-25 20:50:05 +00:00
Alex Ionescu 7a69501f10 [KERNEL32]: Now that we have the BaseStaticServerData initialized, don't build the \ReactOS and \ReactOS\System32 paths by hand: use the ones we have.
[KERNEL32]: Same goes for BaseCachedSysInfo. Use the BaseStaticServerData->SysInfo instead now.
[KERNEL32]: Don't assume that the BNO directory is called BaseNamedObjects (this won't be true once GedMurphy's dream of multi-session support comes true) -- instead, use the one from BaseStaticServerData.

svn path=/trunk/; revision=52872
2011-07-25 20:23:43 +00:00
Alex Ionescu 64c8e2bb02 [NTDLL]: Export RtlAcquire/ReleasePrivilege.
svn path=/trunk/; revision=52871
2011-07-25 20:21:51 +00:00
Alex Ionescu 2640844400 [KERNEL32]: Fix DPRINT1s.
svn path=/trunk/; revision=52868
2011-07-25 19:55:43 +00:00
Alex Ionescu c7fec3098c [KERNEL32]: Arch, you have to initialize your strings first!
svn path=/trunk/; revision=52867
2011-07-25 19:26:40 +00:00
Amine Khaldi 3b813c314d [CMAKE]
* Add PCH variable (disabled by default) to configure scripts.
* Add ccache variable to unix configure script.

svn path=/trunk/; revision=52866
2011-07-25 19:08:52 +00:00
Amine Khaldi 5bd86be83b [CMAKE]
* Introduce a temporary cmake variable (PCH) to enable/disable cmake pch support as this requires our patched binary.
* Wrap pch macros around this variable.
* Implement the pch marco accordingly. By Jerome.

svn path=/trunk/; revision=52865
2011-07-25 19:05:00 +00:00
Alex Ionescu f102b7df5f [CSRSRV]: Initialize CSR_CONNECTION_INFO in CsrpHandleConnectionRequest. Should fix the fact CsrProcessId was bogus before, as were the CSR PEB fields.
svn path=/trunk/; revision=52863
2011-07-25 18:39:56 +00:00
Amine Khaldi c1e9a0abbe [CMAKE]
* De-duplicate IDL flags.

svn path=/trunk/; revision=52862
2011-07-25 18:39:25 +00:00
Alex Ionescu b2fc587c78 [KERNEL32]: Fix querying the CSDNumber and RCNumber, as this seems to be a bug (no valid data was found on Windows).
svn path=/trunk/; revision=52861
2011-07-25 14:40:59 +00:00
Alex Ionescu 436714e461 [KERNEL32]: Fix potential buffer overflow.
svn path=/trunk/; revision=52860
2011-07-25 06:23:50 +00:00
Dmitry Gorbachev f7e57490c6 [CSRSRV|NTOSKRNL|KERNEL32|NTDLL]
Fix multiple definition of variables.

svn path=/trunk/; revision=52859
2011-07-25 05:54:37 +00:00
Alex Ionescu b9dc60fb3f [KERNEL32]: Define the BASE_STATIC_SERVER_DATA structure that BASESRV shares with KERNEL32 on Windows. In Windows, each CSR client/server pair can share such data through the PEB's ReadOnlyStaticServerData array. In ReactOS, this is not (yet) implemented, so if we don't have this data, kernel32 builds a "fake" copy instead. This "fake" copy will still be useful though as it'll let kernel32 cache some data (per-process). With proper CSRSS support, we could cache it per-system, but at least this is a start.
svn path=/trunk/; revision=52858
2011-07-25 03:28:33 +00:00
Timo Kreuzer 406885c606 [NTOSKRNL]
- Use NtTib.ExceptionList instead of Used_ExceptionList
- use ALIGN_DOWN_BY macro

svn path=/trunk/; revision=52857
2011-07-25 00:50:53 +00:00
Timo Kreuzer 66e64692b7 [NTOSKRNL]
Fix typos in comments

svn path=/trunk/; revision=52856
2011-07-25 00:07:07 +00:00
Timo Kreuzer ee1da65d47 [NTOSKRNL]
- Convert KiCallUserMode from asm to C (with a small asm wrapper)
- Convert KiGetUserModeStackAddress into a C inline function

svn path=/trunk/; revision=52855
2011-07-25 00:01:29 +00:00