reactos.git
13 years ago[CMAKE]
Timo Kreuzer [Sun, 31 Oct 2010 17:31:05 +0000 (17:31 +0000)]
[CMAKE]
Implement add_importlib_target macro to build importlibs for MSVC. We can't use MSVC's libraries, as they are incomplete.
gcc version does nothing.

svn path=/branches/cmake-bringup/; revision=49377

13 years ago[FIND]
Timo Kreuzer [Sun, 31 Oct 2010 13:38:58 +0000 (13:38 +0000)]
[FIND]
MSVC compatability: Properly escape quotes in string tables ("", not \")

svn path=/branches/cmake-bringup/; revision=49375

13 years agorevert 49345 as requested by ros arm team.
Jérôme Gardou [Sun, 31 Oct 2010 10:42:40 +0000 (10:42 +0000)]
revert 49345 as requested by ros arm team.

svn path=/branches/cmake-bringup/; revision=49373

13 years ago[CMAKE]
Timo Kreuzer [Sun, 31 Oct 2010 09:16:35 +0000 (09:16 +0000)]
[CMAKE]
Fix a typo

svn path=/branches/cmake-bringup/; revision=49370

13 years ago[CMAKE]
Amine Khaldi [Sat, 30 Oct 2010 22:03:40 +0000 (22:03 +0000)]
[CMAKE]
- "cmake gracefully handles def files as source files" You mean it gracefully ignores them, right ?
- Fix the kernel and class2 exports. More to come.
- Fix imaadp32.acm

svn path=/branches/cmake-bringup/; revision=49367

13 years ago[CMAKE]
Amine Khaldi [Sat, 30 Oct 2010 17:45:01 +0000 (17:45 +0000)]
[CMAKE]
- Fix mshtml.tlb

svn path=/branches/cmake-bringup/; revision=49365

13 years ago[CMAKE]
Sylvain Petreolle [Sat, 30 Oct 2010 17:37:44 +0000 (17:37 +0000)]
[CMAKE]
Leftover from 49358.

svn path=/branches/cmake-bringup/; revision=49363

13 years ago[CMAKE]
Jérôme Gardou [Sat, 30 Oct 2010 17:05:21 +0000 (17:05 +0000)]
[CMAKE]
  - leftover from r49358

svn path=/branches/cmake-bringup/; revision=49362

13 years ago[CMAKE]
Sylvain Petreolle [Sat, 30 Oct 2010 16:44:31 +0000 (16:44 +0000)]
[CMAKE]
Add boot drivers to reactos.cab.

svn path=/branches/cmake-bringup/; revision=49361

13 years ago[CMAKE]
Amine Khaldi [Sat, 30 Oct 2010 16:24:35 +0000 (16:24 +0000)]
[CMAKE]
- Leftover from the previous commit.

svn path=/branches/cmake-bringup/; revision=49359

13 years ago[CMAKE]
Jérôme Gardou [Sat, 30 Oct 2010 16:08:19 +0000 (16:08 +0000)]
[CMAKE]
  - rewrite spec2def macro because
1. cmake gracefully handles def files as source files
2. cmake gracefully handles autogenerated files as source
3. it did not take into account the fact that all shared libraries haven't the .dll extension

svn path=/branches/cmake-bringup/; revision=49358

13 years ago[CMAKE]
Jérôme Gardou [Sat, 30 Oct 2010 16:03:40 +0000 (16:03 +0000)]
[CMAKE]
  - add ntdll to reactos.cab

svn path=/branches/cmake-bringup/; revision=49357

13 years ago[CMAKE]
Sylvain Petreolle [Sat, 30 Oct 2010 13:15:33 +0000 (13:15 +0000)]
[CMAKE]
Fix livecd regression.

svn path=/branches/cmake-bringup/; revision=49354

13 years ago[CMAKE]
Amine Khaldi [Sat, 30 Oct 2010 13:07:15 +0000 (13:07 +0000)]
[CMAKE]
- Create folders in single calls.
- Apply a consistent formatting.

svn path=/branches/cmake-bringup/; revision=49353

13 years agorevert unwanted change
Jérôme Gardou [Sat, 30 Oct 2010 13:04:29 +0000 (13:04 +0000)]
revert unwanted change

svn path=/branches/cmake-bringup/; revision=49352

13 years ago[CMAKE]
Jérôme Gardou [Sat, 30 Oct 2010 12:51:21 +0000 (12:51 +0000)]
[CMAKE]
  - add explorer-cfg-template.xml to livecd and bootcd
  - add idndl.dll to livecd

svn path=/branches/cmake-bringup/; revision=49351

13 years ago[CMAKE]
Jérôme Gardou [Sat, 30 Oct 2010 11:51:13 +0000 (11:51 +0000)]
[CMAKE]
  - improve reactos.dff generation
  - rename reactos.dff reactos.dff.in to mark this is an input file.
This is THE file you'd have to edit for slipstreaming, adding binary files, whatever you usually like to do with reactos.dff

svn path=/branches/cmake-bringup/; revision=49349

13 years ago[CMAKE]
Sylvain Petreolle [Sat, 30 Oct 2010 10:16:42 +0000 (10:16 +0000)]
[CMAKE]
scrnsave: add missing dependency.

svn path=/branches/cmake-bringup/; revision=49348

13 years ago[CMAKE]
Jérôme Gardou [Sat, 30 Oct 2010 09:53:53 +0000 (09:53 +0000)]
[CMAKE]
  - add macros add_cab and add_cab_target to add files to reactos.dff
  - add bootcd target
  - make use of these macros to create bootcd and livecd
Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!!

svn path=/branches/cmake-bringup/; revision=49347

13 years ago[CMAKE]
Jérôme Gardou [Sat, 30 Oct 2010 09:22:55 +0000 (09:22 +0000)]
[CMAKE]
  - jscript requires stdole2.tlb

svn path=/branches/cmake-bringup/; revision=49346

13 years ago[CLASSPNP]
Jérôme Gardou [Sat, 30 Oct 2010 00:03:28 +0000 (00:03 +0000)]
[CLASSPNP]
  - fix a whole bunch of function prototype. (how does t even work in trunk?)
[CMAKE]
  - add classpnp.sys to build

svn path=/branches/cmake-bringup/; revision=49345

13 years ago[CMAKE]
Sylvain Petreolle [Fri, 29 Oct 2010 21:47:35 +0000 (21:47 +0000)]
[CMAKE]
Add dll/cpl and dll/3rdparty modules to build.

svn path=/branches/cmake-bringup/; revision=49344

13 years ago[CMAKE]
Jérôme Gardou [Fri, 29 Oct 2010 18:16:37 +0000 (18:16 +0000)]
[CMAKE]
  - add libcabinet.a

svn path=/branches/cmake-bringup/; revision=49341

13 years ago[CMAKE]
Sylvain Petreolle [Fri, 29 Oct 2010 12:27:26 +0000 (12:27 +0000)]
[CMAKE]
Enable auto import.

svn path=/branches/cmake-bringup/; revision=49339

13 years ago[CMAKE]
Sylvain Petreolle [Thu, 28 Oct 2010 22:16:07 +0000 (22:16 +0000)]
[CMAKE]
Add remaining base/applications modules, except sndrec32.
wordpad resources fixes will be submitted upstream.

svn path=/branches/cmake-bringup/; revision=49334

13 years ago[CMAKE]
Sylvain Petreolle [Thu, 28 Oct 2010 22:10:10 +0000 (22:10 +0000)]
[CMAKE]
Cant' have comments in mc files.

svn path=/branches/cmake-bringup/; revision=49333

13 years ago[CMAKE]
Jérôme Gardou [Thu, 28 Oct 2010 16:36:49 +0000 (16:36 +0000)]
[CMAKE]
  - add vgafonts cab file to build

svn path=/branches/cmake-bringup/; revision=49330

13 years ago[CMAKE]
Jérôme Gardou [Thu, 28 Oct 2010 12:53:07 +0000 (12:53 +0000)]
[CMAKE]
  - add spider and winmine to build

svn path=/branches/cmake-bringup/; revision=49327

13 years ago[CMAKE]
Jérôme Gardou [Thu, 28 Oct 2010 12:37:56 +0000 (12:37 +0000)]
[CMAKE]
  - simplify dxsdk

svn path=/branches/cmake-bringup/; revision=49326

13 years ago[CMAKE]
Amine Khaldi [Thu, 28 Oct 2010 11:33:02 +0000 (11:33 +0000)]
[CMAKE]
- More work on the missing modules. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49325

13 years agosync with trunk r49322
Jérôme Gardou [Wed, 27 Oct 2010 23:45:28 +0000 (23:45 +0000)]
sync with trunk r49322

svn path=/branches/cmake-bringup/; revision=49323

13 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 27 Oct 2010 22:58:23 +0000 (22:58 +0000)]
[NTOSKRNL]
- Add IoWMIDeviceObjectToProviderId and IoIs32bitProcess stubs for 64bit builds
- Comment out some deprecated amd64 code
- Add MmProtectToValue
- Fix a typo

svn path=/trunk/; revision=49322

13 years ago[CMAKE]
Sylvain Petreolle [Wed, 27 Oct 2010 22:43:04 +0000 (22:43 +0000)]
[CMAKE]
Export cabman as native tool.

svn path=/branches/cmake-bringup/; revision=49321

13 years ago[CMAKE]
Jérôme Gardou [Wed, 27 Oct 2010 22:39:48 +0000 (22:39 +0000)]
[CMAKE]
  - qedit depends on dxsdk

svn path=/branches/cmake-bringup/; revision=49319

13 years ago[CMAKE]
Amine Khaldi [Wed, 27 Oct 2010 22:27:16 +0000 (22:27 +0000)]
[CMAKE]
- Improve win32k

svn path=/branches/cmake-bringup/; revision=49318

13 years ago[CMAKE]
Jérôme Gardou [Wed, 27 Oct 2010 22:25:35 +0000 (22:25 +0000)]
[CMAKE]
  - Downgrade a warning to a status, so this is not too intrusive

svn path=/branches/cmake-bringup/; revision=49317

13 years ago- remove debug prints
Johannes Anderwald [Wed, 27 Oct 2010 21:12:44 +0000 (21:12 +0000)]
- remove debug prints
- dedicated to christoph

svn path=/trunk/; revision=49316

13 years ago[WLANSVC]
Sylvain Petreolle [Wed, 27 Oct 2010 20:50:14 +0000 (20:50 +0000)]
[WLANSVC]
Fix MIDL_user_allocate prototype.
Dedicated to zefklop.

svn path=/branches/cmake-bringup/; revision=49315

13 years ago[CLASSPNP]
Timo Kreuzer [Wed, 27 Oct 2010 20:40:59 +0000 (20:40 +0000)]
[CLASSPNP]
Fix a typo in the spec file

svn path=/trunk/; revision=49314

13 years ago[FORMATTING]
Giannis Adamopoulos [Wed, 27 Oct 2010 20:31:17 +0000 (20:31 +0000)]
[FORMATTING]
- Fix formatting in message.c

svn path=/trunk/; revision=49313

13 years ago[basetsd.h]
Timo Kreuzer [Wed, 27 Oct 2010 20:14:15 +0000 (20:14 +0000)]
[basetsd.h]
add POINTER_SIGNED, POINTER_UNSIGNED, SPOINTER_32, UPOINTER_32

svn path=/trunk/; revision=49312

13 years ago[CLASSPNP]
Timo Kreuzer [Wed, 27 Oct 2010 20:13:06 +0000 (20:13 +0000)]
[CLASSPNP]
Convert to spec

svn path=/trunk/; revision=49311

13 years ago[WIN32K]
Timo Kreuzer [Wed, 27 Oct 2010 17:16:11 +0000 (17:16 +0000)]
[WIN32K]
Improve the code to enumerate monitors.
- Don't use custom MIN / MAX / ABS macros
- Calculate distance by r^2 = x^2 + y^2
- Use RECTL_bIntersectRect instead of code duplication
- Fix possible NULL pointer dereference
- pass bottom-right exclusive rect to IntGetMonitorsFromRect from NtUserMonitorFromPoint
- Don't handle MONITOR_DEFAULTTOPRIMARY and MONITOR_DEFAULTTONEAREST twice
- Use unsigned variables for unsigned values
- Don't check the result of a UINT returning function for < 0
- Improve readability

svn path=/trunk/; revision=49310

13 years ago[WIN32K]
Timo Kreuzer [Wed, 27 Oct 2010 17:08:40 +0000 (17:08 +0000)]
[WIN32K]
Fix possible NULL pointer dereferences. Spotted by Amine Khaldi.

svn path=/trunk/; revision=49309

13 years ago[FORMATTING]
Timo Kreuzer [Wed, 27 Oct 2010 15:59:48 +0000 (15:59 +0000)]
[FORMATTING]
- Apply consistent indentation of 4 spaces and ansi style formatting.
- Remove the long GPL header

svn path=/trunk/; revision=49308

13 years agoSync with trunk (r49303)
Jérôme Gardou [Wed, 27 Oct 2010 15:52:24 +0000 (15:52 +0000)]
Sync with trunk (r49303)

svn path=/branches/cmake-bringup/; revision=49307

13 years ago[CMAKE]
Sylvain Petreolle [Wed, 27 Oct 2010 14:06:40 +0000 (14:06 +0000)]
[CMAKE]
Improve minicd and livecd macros.
Files and iso images are updated/cleaned without any manual steps.

svn path=/branches/cmake-bringup/; revision=49306

13 years ago[CMAKE]
Jérôme Gardou [Wed, 27 Oct 2010 14:00:51 +0000 (14:00 +0000)]
[CMAKE]
  - use baseaddresses for dlls

svn path=/branches/cmake-bringup/; revision=49305

13 years ago[WIN32K]
Timo Kreuzer [Wed, 27 Oct 2010 12:51:32 +0000 (12:51 +0000)]
[WIN32K]
Fix possible NULL pointer dereference. Spotted by Amine Khaldi.

svn path=/trunk/; revision=49303

13 years ago[NTOS/MM]
Aleksey Bragin [Wed, 27 Oct 2010 09:58:18 +0000 (09:58 +0000)]
[NTOS/MM]
- Don't access pfn database directly, there is a function for this. Thanks sir_richard.

svn path=/trunk/; revision=49302

13 years ago[Win32k|User32]
James Tabor [Wed, 27 Oct 2010 01:56:56 +0000 (01:56 +0000)]
[Win32k|User32]
- Fix for DosBOX. See bug 5670 for more details. Added more data copies in user32 hook.c.

svn path=/trunk/; revision=49301

13 years ago[User32] - Fix an over site and copy the return data back to the kernel.
James Tabor [Wed, 27 Oct 2010 00:03:41 +0000 (00:03 +0000)]
[User32] - Fix an over site and copy the return data back to the kernel.

svn path=/trunk/; revision=49300

13 years ago[CMAKE]
Jérôme Gardou [Tue, 26 Oct 2010 23:38:28 +0000 (23:38 +0000)]
[CMAKE]
  - remove unnecessary linkage

svn path=/branches/cmake-bringup/; revision=49299

13 years ago[RPCRT4]
Jérôme Gardou [Tue, 26 Oct 2010 22:07:36 +0000 (22:07 +0000)]
[RPCRT4]
  - Fix build

svn path=/branches/cmake-bringup/; revision=49298

13 years ago[PSDK]
Jérôme Gardou [Tue, 26 Oct 2010 21:57:12 +0000 (21:57 +0000)]
[PSDK]
  - remove GCC special flag, as it has no reason to exist. Thanks go to Timo for having tested this.

svn path=/branches/cmake-bringup/; revision=49297

13 years ago[NTOS/MM]
Aleksey Bragin [Tue, 26 Oct 2010 21:34:52 +0000 (21:34 +0000)]
[NTOS/MM]
- Don't lie about page protection in MiQueryAddressState. Fixes PDFCreator-alike bugs.
See issue #5627 for more details.

svn path=/trunk/; revision=49296

13 years ago[WIN32 DLLS]
Jérôme Gardou [Tue, 26 Oct 2010 18:58:46 +0000 (18:58 +0000)]
[WIN32 DLLS]
  - fix MIDL_user_allocate once and for all

svn path=/branches/cmake-bringup/; revision=49295

13 years ago[PSDK]
Jérôme Gardou [Tue, 26 Oct 2010 18:43:25 +0000 (18:43 +0000)]
[PSDK]
  - fix definition of MIDL_STUB_DESC

svn path=/branches/cmake-bringup/; revision=49294

13 years ago[SERVICES]
Jérôme Gardou [Tue, 26 Oct 2010 18:39:27 +0000 (18:39 +0000)]
[SERVICES]
  - fix definition of midl_user_allocate, RQueryServiceConfigW and RQueryServiceConfigA

svn path=/branches/cmake-bringup/; revision=49293

13 years ago[UMPNPMGR]
Jérôme Gardou [Tue, 26 Oct 2010 18:38:03 +0000 (18:38 +0000)]
[UMPNPMGR]
  - Fix definition of midl_user_allocate

svn path=/branches/cmake-bringup/; revision=49292

13 years ago[CMAKE]
Jérôme Gardou [Tue, 26 Oct 2010 18:30:13 +0000 (18:30 +0000)]
[CMAKE]
  - rpcss depends on winesdk
[RPCSS]
  - fix declaration of MIDL_user_allocate

svn path=/branches/cmake-bringup/; revision=49291

13 years ago[CMAKE]
Jérôme Gardou [Tue, 26 Oct 2010 18:01:37 +0000 (18:01 +0000)]
[CMAKE]
  - fix typo

svn path=/branches/cmake-bringup/; revision=49290

13 years ago[CMAKE]
Jérôme Gardou [Tue, 26 Oct 2010 17:42:02 +0000 (17:42 +0000)]
[CMAKE]
  - midl support for building rpc server/client libraries

svn path=/branches/cmake-bringup/; revision=49289

13 years ago[WLANSVC]
Jérôme Gardou [Tue, 26 Oct 2010 17:36:57 +0000 (17:36 +0000)]
[WLANSVC]
  - Fix wlansvc.idl for parsing with midl

svn path=/branches/cmake-bringup/; revision=49288

13 years ago[CMAKE]
Jérôme Gardou [Tue, 26 Oct 2010 17:23:00 +0000 (17:23 +0000)]
[CMAKE]
  - WINNT isn't defined, don't redefine it. Pointed by Usurp.

svn path=/branches/cmake-bringup/; revision=49287

13 years ago[SVCCTL]
Jérôme Gardou [Tue, 26 Oct 2010 17:20:00 +0000 (17:20 +0000)]
[SVCCTL]
  - fix parsing of svcctl.idl with midl

svn path=/branches/cmake-bringup/; revision=49286

13 years ago[CMAKE]
Jérôme Gardou [Tue, 26 Oct 2010 17:06:39 +0000 (17:06 +0000)]
[CMAKE]
  - redefine _WIN32_WINNT too for building pnp rpc client and server libs

svn path=/branches/cmake-bringup/; revision=49285

13 years ago[LSARPC]
Jérôme Gardou [Tue, 26 Oct 2010 16:55:46 +0000 (16:55 +0000)]
[LSARPC]
  - define right interface in lsa.acf

svn path=/branches/cmake-bringup/; revision=49284

13 years ago[EVENTLOG]
Jérôme Gardou [Tue, 26 Oct 2010 16:36:25 +0000 (16:36 +0000)]
[EVENTLOG]
  - Correct definition of midl_user_allocate

svn path=/branches/cmake-bringup/; revision=49283

13 years ago[PSDK]
Jérôme Gardou [Tue, 26 Oct 2010 16:01:08 +0000 (16:01 +0000)]
[PSDK]
  - Add MIDL_user_allocate and MIDL_user_free definitions
  - #ifdef a GCC hack

svn path=/branches/cmake-bringup/; revision=49281

13 years ago[PORTCLS]
Johannes Anderwald [Tue, 26 Oct 2010 15:19:14 +0000 (15:19 +0000)]
[PORTCLS]
- Disable driver specific filter / pin / node property handlers until bug leading to crashes has been found

svn path=/trunk/; revision=49280

13 years ago[CMAKE - MSC]
Jérôme Gardou [Tue, 26 Oct 2010 07:31:04 +0000 (07:31 +0000)]
[CMAKE - MSC]
  - Add set_image_base macro
  - add psdk and buildno dependencies to modules

svn path=/branches/cmake-bringup/; revision=49279

13 years ago[Win32k|User32]
James Tabor [Tue, 26 Oct 2010 06:24:50 +0000 (06:24 +0000)]
[Win32k|User32]
- Add fix for KsStudio for Olaf Siejka and debug prints for WH_KEYBOARD_LL. See bug 5670 for more details.

svn path=/trunk/; revision=49278

13 years ago[NTOS/MM]
Aleksey Bragin [Mon, 25 Oct 2010 20:50:45 +0000 (20:50 +0000)]
[NTOS/MM]
- Handle various special cases in NtQueryVirtualMemory (e.g. querying illegal virtual addresses, shared memory area, etc). Example of an app doing this - OllyDbg.

svn path=/trunk/; revision=49277

13 years agoUpdate rapps database.
Daniel Reimer [Mon, 25 Oct 2010 20:08:50 +0000 (20:08 +0000)]
Update rapps database.

svn path=/trunk/; revision=49276

13 years ago[YAROTOWS] Reintegrate the branch. For a brighter future.
Timo Kreuzer [Mon, 25 Oct 2010 17:36:27 +0000 (17:36 +0000)]
[YAROTOWS] Reintegrate the branch. For a brighter future.

Main features:
- Implement LDEVOBJ api. Responsible for loading dlls (display drivers, font drivers, keyboard layout, etc), replacing code in different locations.
- Implement PDEVOBJ api. A PDEVOBJ represents a physical device and is the core component for handling multiple display devices.
- Rewrite device locking. The new method was neccessary to allow dynamic mode switching.
- Implement support for enumerating display devices and settings.
- Implement dynamic mode switching.
- Implement a number of Eng mapping functions.
- Rewrite Eng level surface handling for cleaner code and better compatability.
- Rewrite parts of the DIB handling code.
- Rewrite DC creation and deletion. Deletion and cleanup is now completely callback based. Now we don't leak the DC objects when terminating a process, like we did before.
- Improve the XLATE and BRUSH code, removing several old hacks.
- Improve icon code.

Thanks to Jerome Gardou, Kamil Hornicek and everyone helping.

svn path=/trunk/; revision=49275

13 years agoMerge trunk head (r49270) backups/reactos-yarotows@57446
Timo Kreuzer [Mon, 25 Oct 2010 15:26:06 +0000 (15:26 +0000)]
Merge trunk head (r49270)

svn path=/branches/reactos-yarotows/; revision=49272

13 years ago[WIN32K]
Timo Kreuzer [Mon, 25 Oct 2010 15:05:33 +0000 (15:05 +0000)]
[WIN32K]
Silence and improve a DPRINT

svn path=/branches/reactos-yarotows/; revision=49271

13 years ago[Win32k]
James Tabor [Mon, 25 Oct 2010 02:51:09 +0000 (02:51 +0000)]
[Win32k]
- Do not override WH_JOURNALPLAYBACK results if zero.

svn path=/trunk/; revision=49270

13 years ago[Win32k]
James Tabor [Mon, 25 Oct 2010 01:37:14 +0000 (01:37 +0000)]
[Win32k]
- Fix typos found by Mephisto on IRC, also add some debug prints in SetWindowsHookEx to see what hooks are installed.

svn path=/trunk/; revision=49269

13 years ago[User32]
James Tabor [Mon, 25 Oct 2010 00:15:35 +0000 (00:15 +0000)]
[User32]
- One more leftover to add. Now we test for both Local and Global hooks in user32. This will force any message sent to win32k if there are any Global hookers so we loose in performance. We need to rethink our usage of these Global hookers in our code.

svn path=/trunk/; revision=49268

13 years ago[WIN32K]
Kamil Hornicek [Sun, 24 Oct 2010 23:40:23 +0000 (23:40 +0000)]
[WIN32K]
Simplify the RLE hack and avoid code duplication.
Bail out of UserEnumDisplaySettings early in case invalid ModeNum was requested.
Use default BPP value in UserChangeDisplaySettings if DM_BITSPERPEL is not set. Partially fixes "fullscreen issue" as described on the yarotows wiki page.
Remove some unused variables + misc cleanup.

svn path=/branches/reactos-yarotows/; revision=49267

13 years ago[WIN32K]
Timo Kreuzer [Sun, 24 Oct 2010 23:32:18 +0000 (23:32 +0000)]
[WIN32K]
- Rewrite InitVideo
- Move registry functions to the appropriate file
- Silence some DPRINTs

svn path=/branches/reactos-yarotows/; revision=49266

13 years ago[WIN32K]
Kamil Hornicek [Sun, 24 Oct 2010 22:52:50 +0000 (22:52 +0000)]
[WIN32K]
Set proper flags and masks in BuildDIBPalette. Set PAL_BGR for 24/32 BPP in AllocPalette. Rename Mode to Flags to better reflect its usage. Fixes "red icons" and dibtest.

svn path=/branches/reactos-yarotows/; revision=49265

13 years ago[WIN32K]
Kamil Hornicek [Sun, 24 Oct 2010 22:51:51 +0000 (22:51 +0000)]
[WIN32K]
Follow-up to r48681. Fixes text on disabled controls.

svn path=/branches/reactos-yarotows/; revision=49264

13 years ago[CMAKE]
Sylvain Petreolle [Sun, 24 Oct 2010 21:19:00 +0000 (21:19 +0000)]
[CMAKE]
Use msvc friendly macro.
Add network drivers to livecd.

svn path=/branches/cmake-bringup/; revision=49263

13 years ago[CMAKE]
Sylvain Petreolle [Sun, 24 Oct 2010 21:07:56 +0000 (21:07 +0000)]
[CMAKE]
Add network applications to build and livecd.

svn path=/branches/cmake-bringup/; revision=49262

13 years ago[N[NTOS/MM]
Aleksey Bragin [Sun, 24 Oct 2010 20:02:04 +0000 (20:02 +0000)]
[N[NTOS/MM]
- Initialize Found to FALSE in NtQueryVirtualMemory. I wonder how GCC missed uninitialized var usage?
- Implement case when NtQueryVirtualMemory is called with non-existing virtual address.
See issue #3755 for more details.

svn path=/trunk/; revision=49261

13 years ago[CMAKE]
Sylvain Petreolle [Sun, 24 Oct 2010 15:03:07 +0000 (15:03 +0000)]
[CMAKE]
Fix winspool loading.

svn path=/branches/cmake-bringup/; revision=49260

13 years ago[SERVICES]
Eric Kohl [Sun, 24 Oct 2010 13:48:11 +0000 (13:48 +0000)]
[SERVICES]
RControlService: Check the current state before sending a control request.

svn path=/trunk/; revision=49259

13 years ago[CMAKE]
Amine Khaldi [Sun, 24 Oct 2010 12:44:36 +0000 (12:44 +0000)]
[CMAKE]
- Add set_image_base macro.
- Fix ks linking.

svn path=/branches/cmake-bringup/; revision=49258

13 years ago[WIN32K]
Timo Kreuzer [Sun, 24 Oct 2010 11:57:02 +0000 (11:57 +0000)]
[WIN32K]
Fix possible NULL pointer free. Fixes solitaire.

svn path=/branches/reactos-yarotows/; revision=49257

13 years ago[HAL]
Cameron Gutman [Sun, 24 Oct 2010 10:48:10 +0000 (10:48 +0000)]
[HAL]
- Fix a broken loop that resulted in us registering the resources of multiple COM ports as our KD port
- Fixes bug #5530

svn path=/trunk/; revision=49256

13 years ago[HAL]
Cameron Gutman [Sun, 24 Oct 2010 10:28:15 +0000 (10:28 +0000)]
[HAL]
- HalpEnableInterruptHandler: Set the IDT_LATCHED flag if the caller requested a latched interrupt

svn path=/trunk/; revision=49255

13 years ago[SERVICES]
Eric Kohl [Sun, 24 Oct 2010 09:21:37 +0000 (09:21 +0000)]
[SERVICES]
- Use new handle check functions in RCloseServiceHandle().
- RControlService: Check if a control request is acceptable for a user mode service before sending it to the service.

svn path=/trunk/; revision=49253

13 years ago[NTOSKRNL]
Cameron Gutman [Sun, 24 Oct 2010 09:05:17 +0000 (09:05 +0000)]
[NTOSKRNL]
- Fix a critical bug in the conflict detection code
- Don't unconditionally skip conflict detection for shared resources, instead it should be done on a descriptor-by-descriptor basis (if both descriptors are shared)
- This check wasn't removed when I initially wrote this code and added the proper check below

svn path=/trunk/; revision=49252

13 years ago[PNPMGR]
Cameron Gutman [Sun, 24 Oct 2010 06:16:35 +0000 (06:16 +0000)]
[PNPMGR]
- Check that we got a valid vector back from HAL when translating an interrupt resource
- Add some debugging messages for failure paths in device resource handling code

svn path=/trunk/; revision=49251

13 years ago[Win32k]
James Tabor [Sun, 24 Oct 2010 04:36:45 +0000 (04:36 +0000)]
[Win32k]
- Fix an exception when set condition * first always is used then moving the mouse. There seems to be an initialization issue (The Init Bug) and not setting a desktop.

svn path=/trunk/; revision=49250

13 years ago[NTOSKRNL]
Cameron Gutman [Sun, 24 Oct 2010 02:51:48 +0000 (02:51 +0000)]
[NTOSKRNL]
- Partially implement IoAssignResources so that it creates a non-conflicting resource list from the requirements but it doesn't claim the resources for the device in the registry
- Partially implement IoReportResourceUsage so that it checks the resource list for conflicts but doesn't claim the resources in the registry
- Please test this revision with a variety of hardware and drivers because it activates several code paths in the PnP manager
- If this causes problems, look for "Denying an attempt to claim resources currently in use by another device!" in the debug log and report the bug to me

svn path=/trunk/; revision=49249

13 years ago[NTOSKRNL]
Cameron Gutman [Sun, 24 Oct 2010 02:38:14 +0000 (02:38 +0000)]
[NTOSKRNL]
- Rewrite the resource map code to fix a regression, several failures cases, and a few memory leaks
- Remove an incorrect definition of IopDetectResourceConflict in pnpreport.c (no idea how this didn't trigger an onslaught of warnings)

svn path=/trunk/; revision=49248