reactos.git
13 years ago[CMAKE]
Sylvain Petreolle [Fri, 5 Nov 2010 13:46:48 +0000 (13:46 +0000)]
[CMAKE]
Add more dll/ and drivers/ modules to bootcd.
Fix mesa32 definitions.

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

13 years ago[CMAKE]
Sylvain Petreolle [Fri, 5 Nov 2010 13:25:28 +0000 (13:25 +0000)]
[CMAKE]
Add dlls to bootcd.
Fix hhctrl build.

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

13 years ago[USER32]
Timo Kreuzer [Fri, 5 Nov 2010 13:14:37 +0000 (13:14 +0000)]
[USER32]
Convert pspec to spec to fix build

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

13 years ago[CMAKE]
Sylvain Petreolle [Fri, 5 Nov 2010 12:08:37 +0000 (12:08 +0000)]
[CMAKE]
Add keyboards to bootcd.

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

13 years ago[CMAKE]
Amine Khaldi [Fri, 5 Nov 2010 12:02:12 +0000 (12:02 +0000)]
[CMAKE]
- Improve most of the static libraries.

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

13 years ago[CMAKE]
Sylvain Petreolle [Fri, 5 Nov 2010 10:37:10 +0000 (10:37 +0000)]
[CMAKE]
Add base/ modules to bootcd.

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

13 years ago[CMAKE]
Sylvain Petreolle [Fri, 5 Nov 2010 09:38:42 +0000 (09:38 +0000)]
[CMAKE]
Revert incorrect auto import change and use proper definitions instead.

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

13 years ago[Win32k] - Turn off debug prints.
James Tabor [Fri, 5 Nov 2010 00:37:30 +0000 (00:37 +0000)]
[Win32k] - Turn off debug prints.

svn path=/trunk/; revision=49475

13 years ago[CMAKE]
Timo Kreuzer [Fri, 5 Nov 2010 00:12:47 +0000 (00:12 +0000)]
[CMAKE]
Create importlib for advapi32
Link advapi32 to msvcrt, needed for SEH

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

13 years ago[CMAKE]
Timo Kreuzer [Fri, 5 Nov 2010 00:08:12 +0000 (00:08 +0000)]
[CMAKE]
Add /SAFESEH:NO to MSVC linker command line to fix unresolved symbol issue.

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

13 years ago[Win32k|User32]
James Tabor [Thu, 4 Nov 2010 23:45:34 +0000 (23:45 +0000)]
[Win32k|User32]
- This hook commit fixes the ros regression testing startup, but consider this a hax fix until more research in Global hooks has completed. More pointed Global hook tests are needed. Misc changes, removed unused storage pointers and reordering. For DosBOX, the mouse low level is now working and the keyboard low level should not be so intermittent as before, now sending messages from system desktop not from thread desktop, see bug 5670 for more details.

svn path=/trunk/; revision=49472

13 years ago[CMAKE]
Amine Khaldi [Thu, 4 Nov 2010 21:38:28 +0000 (21:38 +0000)]
[CMAKE]
- Improve hal, adns and bzip2.

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

13 years ago[CMAKE]
Amine Khaldi [Thu, 4 Nov 2010 21:31:33 +0000 (21:31 +0000)]
[CMAKE]
- Improve the rest of the drivers.

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

13 years ago[CMAKE]
Amine Khaldi [Thu, 4 Nov 2010 21:06:20 +0000 (21:06 +0000)]
[CMAKE]
- Improve more drivers.

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

13 years ago[CMAKE]
Amine Khaldi [Thu, 4 Nov 2010 20:46:27 +0000 (20:46 +0000)]
[CMAKE]
- Improve base and bus drivers.

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

13 years ago[CMAKE]
Sylvain Petreolle [Thu, 4 Nov 2010 13:29:58 +0000 (13:29 +0000)]
[CMAKE]
One .acm suffix is enough.
Dedicated to AmineKhaldi.

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

13 years ago[APPS]
Aleksey Bragin [Thu, 4 Nov 2010 12:28:08 +0000 (12:28 +0000)]
[APPS]
- Damir Aliev: Properly convert encoding in cmdline tools.
See issue #3487 for more details.

svn path=/trunk/; revision=49466

13 years ago[REGEDIT]
Aleksey Bragin [Thu, 4 Nov 2010 12:05:35 +0000 (12:05 +0000)]
[REGEDIT]
Adam Kachwalla <geekdundee@gmail.com>
- "Load Hive..." and "Unload Hive..." menu items implemented
- Make address bar case-insensitive
- Remove trailing slashes in address bar when at root keys (e.g. "HKEY_LOCAL_MACHINE\" or "HKEY_CURRENT_USER\")
- Address "go" button added
- Removed ~8px slack from bottom of the app (not needed and looks better)
- Factored out error displaying functions into error.c file.

See issue #5711 for more details.

svn path=/trunk/; revision=49465

13 years ago[KERNEL32]
Timo Kreuzer [Thu, 4 Nov 2010 10:16:14 +0000 (10:16 +0000)]
[KERNEL32]
Print delphi exception with the Exception code 0xeedfade, we were previously only checking for 0xeedface, maybe an older value.

svn path=/trunk/; revision=49464

13 years ago[HAL]: Add INIT_FUNCTION where needed. Will save 860KB later.
Sir Richard [Thu, 4 Nov 2010 01:28:09 +0000 (01:28 +0000)]
[HAL]: Add INIT_FUNCTION where needed. Will save 860KB later.

svn path=/trunk/; revision=49463

13 years ago[WINE/CONFIG]
Jérôme Gardou [Wed, 3 Nov 2010 18:15:51 +0000 (18:15 +0000)]
[WINE/CONFIG]
  MSVC has no sys/time.h
[DDK]
  Directly include <wingdi.h>
[UNICODE]
  Fix build on msvc
All tools now build with msvc.

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

13 years ago[CMAKE]
Jérôme Gardou [Wed, 3 Nov 2010 16:59:50 +0000 (16:59 +0000)]
[CMAKE]
cmake doesn't like braces

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

13 years ago[CMAKE]
Jérôme Gardou [Wed, 3 Nov 2010 12:57:03 +0000 (12:57 +0000)]
[CMAKE]
  allow to specify build tools directory with -DREACTOS_BUILD_TOOLS_DIR=Y:\you\path
So now you're able to use multiple compilers with one tree without too much worry.

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

13 years ago[WIN32K]
Timo Kreuzer [Wed, 3 Nov 2010 12:20:07 +0000 (12:20 +0000)]
[WIN32K]
- Make InitVideo return NTSTATUS and properly handle failure
- Silence a DPRINT, improve a DPRINT

svn path=/trunk/; revision=49458

13 years ago[KS]
Johannes Anderwald [Wed, 3 Nov 2010 11:16:33 +0000 (11:16 +0000)]
[KS]
- Fix several bugs in KsProbeStreamIrp
- If requestor is KernelMode - just save a pointer in Irp->AssociatedIrp.SystemBuffer (currently not used)
- If requestor is UserMode mark irp as buffered. Also set Flag IRP_INPUT_OPERATION when the ioctl is IOCTL_KS_READ_STREAM. This is important to propagate modifications to KSSTREAM_HEADERS (in particular DataUsed member)
- ReactOS KS can now be used in WinXP in combination with KSStudio. In order to make it fully work, ks needs to implement software bus functions
[PORTCLS]
- Rewrite internal irp queue handling
- It now supports multiple KSSTREAM_HEADERs per Irp, variable sized KSSTREAM_HEADERs per irp.
- Store the mapped virtual address not in the KSSTREAM_HEADER, as user programs will receive then invalid addresses
- Add checks whether this irp is for an sink pin or source pin
- Fix multiple bugs when the pin is looped buffer mode (How did this work before?)
- ReactOS portcls + WinXP now properly works with audio recording
[WDMAUD_KERNEL]
- Don't free associated stream header anymore
- Tested with VBox 3.2.10 + VmWare Player 3.1.2 + WinXP

svn path=/trunk/; revision=49457

13 years ago[TASKMGR]
Aleksey Bragin [Wed, 3 Nov 2010 09:09:57 +0000 (09:09 +0000)]
[TASKMGR]
- Fix Russian translation, by spb-ivan92.
See issue #5685 for more details.

svn path=/trunk/; revision=49456

13 years ago[WIN32K]
Timo Kreuzer [Wed, 3 Nov 2010 00:51:19 +0000 (00:51 +0000)]
[WIN32K]
Change all Init functions to be NTAPI instead of FASTCALL, return NTSTATUS, and be an INIT_FUNCTION (saving incredible 2k). Simplify the initialization sequence by using a simple macro. Delete a comment that is not true anymore.
Move some globals to appropriate file.

svn path=/trunk/; revision=49455

13 years ago[CMAKE]
Timo Kreuzer [Tue, 2 Nov 2010 21:31:45 +0000 (21:31 +0000)]
[CMAKE]
- fix add_importlib_target
- fix win32dll entrypoint (we wouldn't need to specify one, if the one in mingw lib had enough underscores)

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

13 years ago[MINGW]
Timo Kreuzer [Tue, 2 Nov 2010 20:39:19 +0000 (20:39 +0000)]
[MINGW]
add CRTDLL definition so that the startup code for dlls is actually compiled

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

13 years ago[CMAKE]
Amine Khaldi [Tue, 2 Nov 2010 20:27:06 +0000 (20:27 +0000)]
[CMAKE]
- Minor formatting.

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

13 years ago[CMAKE]
Amine Khaldi [Tue, 2 Nov 2010 20:23:56 +0000 (20:23 +0000)]
[CMAKE]
- Move more dlls with no stubs into using def files instead of spec files.

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

13 years ago[CMAKE]
Amine Khaldi [Tue, 2 Nov 2010 19:58:29 +0000 (19:58 +0000)]
[CMAKE]
- Move more dlls with no stubs into using def files instead of spec files.

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

13 years ago[CMAKE]
Amine Khaldi [Tue, 2 Nov 2010 18:19:44 +0000 (18:19 +0000)]
[CMAKE]
- Move some dlls with no stubs into using def files instead of spec files.

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

13 years ago[CMAKE]
Jérôme Gardou [Tue, 2 Nov 2010 17:25:36 +0000 (17:25 +0000)]
[CMAKE]
Poor little gcc, forgotten by Timo

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

13 years ago[NTOS]: Mark all initialization functions INIT_FUNCTION.
Sir Richard [Tue, 2 Nov 2010 16:29:06 +0000 (16:29 +0000)]
[NTOS]: Mark all initialization functions INIT_FUNCTION.
[NTOS]: This will save ~280KB of RAM once we dump INIT from RAM in a future patch.
[NTOS]: Display current free RAM at certain checkpoints.

svn path=/trunk/; revision=49445

13 years ago[NTOS]: Add page-tracking macro calls wherever needed. MI_TRACE_PFNS is still off...
Sir Richard [Tue, 2 Nov 2010 15:16:22 +0000 (15:16 +0000)]
[NTOS]: Add page-tracking macro calls wherever needed. MI_TRACE_PFNS is still off, though, so this code won't be called.

svn path=/trunk/; revision=49444

13 years ago[NTOS]: Define an array of MI_USAGE integers to track what a PFN is used for.
Sir Richard [Tue, 2 Nov 2010 15:05:37 +0000 (15:05 +0000)]
[NTOS]: Define an array of MI_USAGE integers to track what a PFN is used for.
[NTOS]: Extend the MMPFN structure for ReactOS-specific PFN tracing mechanism.
[NTOS]: Add macros to track page usage and process/extra-data (not yet used).

svn path=/trunk/; revision=49443

13 years ago[NTOS]: CR3 should be PDE_BASE, not PTE_BASE!
Sir Richard [Tue, 2 Nov 2010 15:02:41 +0000 (15:02 +0000)]
[NTOS]: CR3 should be PDE_BASE, not PTE_BASE!
[NTOS]: Define DemandZeroPte.

svn path=/trunk/; revision=49442

13 years ago[NTOS]: Misc typo and cleanup fixes.
Sir Richard [Tue, 2 Nov 2010 14:58:39 +0000 (14:58 +0000)]
[NTOS]: Misc typo and cleanup fixes.

svn path=/trunk/; revision=49441

13 years ago[NTOS]: Fix a bug in the MDL Code which would dereference a completely bogus page...
Sir Richard [Tue, 2 Nov 2010 14:58:10 +0000 (14:58 +0000)]
[NTOS]: Fix a bug in the MDL Code which would dereference a completely bogus page frame index.

svn path=/trunk/; revision=49440

13 years ago[NTOS]: Fix a bug in MmFindGapBottomUp which could make it return an address lower...
Sir Richard [Tue, 2 Nov 2010 14:50:06 +0000 (14:50 +0000)]
[NTOS]: Fix a bug in MmFindGapBottomUp which could make it return an address lower than what the caller said should be the lowest address.

svn path=/trunk/; revision=49439

13 years ago[NTOS]: You can't just set MDL_LOCKED_PAGES without actually... locking the page...
Sir Richard [Tue, 2 Nov 2010 14:46:46 +0000 (14:46 +0000)]
[NTOS]: You can't just set MDL_LOCKED_PAGES without actually... locking the page. Add a MmReferencePage when doing so, so when that a paging read/write IRP gets completed (and MmUnlockPages is called), the page gets handled correctly. Can now boot with 64MB RAM without ASSERTs.
[NTOS]: Fix one of the MDL code paths that isn't getting called frequently.

svn path=/trunk/; revision=49438

13 years ago[NTOS]: ASSERT nobody tries to put ARM3 pages into the MC_USER LRU.
Sir Richard [Tue, 2 Nov 2010 14:42:08 +0000 (14:42 +0000)]
[NTOS]: ASSERT nobody tries to put ARM3 pages into the MC_USER LRU.

svn path=/trunk/; revision=49437

13 years ago[NTOS]: Assert nobody tries to touch the sharecount of a non-ARM3 page.
Sir Richard [Tue, 2 Nov 2010 14:41:51 +0000 (14:41 +0000)]
[NTOS]: Assert nobody tries to touch the sharecount of a non-ARM3 page.

svn path=/trunk/; revision=49436

13 years ago[NTOS]: Fix typos.
Sir Richard [Tue, 2 Nov 2010 14:41:29 +0000 (14:41 +0000)]
[NTOS]: Fix typos.

svn path=/trunk/; revision=49435

13 years ago[NTOS]: Sanity checks when dealing with creating/cleaning process address space.
Sir Richard [Tue, 2 Nov 2010 14:41:03 +0000 (14:41 +0000)]
[NTOS]: Sanity checks when dealing with creating/cleaning process address space.
[NTOS]: Set the VmDeleted flag when the process address space is being nuked.

svn path=/trunk/; revision=49434

13 years ago[NTOS]: Make sure we don't get a user-pointer back from MmMapInSystemSpace.
Sir Richard [Tue, 2 Nov 2010 14:40:31 +0000 (14:40 +0000)]
[NTOS]: Make sure we don't get a user-pointer back from MmMapInSystemSpace.

svn path=/trunk/; revision=49433

13 years ago[NTOS]: Remove merge artifact from newcc.
Sir Richard [Tue, 2 Nov 2010 14:40:07 +0000 (14:40 +0000)]
[NTOS]: Remove merge artifact from newcc.

svn path=/trunk/; revision=49432

13 years ago[NTOS]: Protect Arty's changes with #ifdef NEWCC, otherwise this code ASSERTs and...
Sir Richard [Tue, 2 Nov 2010 14:38:52 +0000 (14:38 +0000)]
[NTOS]: Protect Arty's changes with #ifdef NEWCC, otherwise this code ASSERTs and crashes as soon as a pageout operation is required. Since your advanced test/regression systems boot into configurations with 1GB+ RAM, you never even test these paths and one could put an ASSERT(FALSE) and you wouldn't even notice it (as proven).

svn path=/trunk/; revision=49431

13 years ago[KSUSER, KS, SYSAUDIO]
Johannes Anderwald [Tue, 2 Nov 2010 09:37:30 +0000 (09:37 +0000)]
[KSUSER, KS, SYSAUDIO]
- Make pin / node / allocator create requests compatible to ms by removing obsolete slash before object class
- Return correct error code in ksuser's KsCreatePin
- ReactOS KS is now able to create audio pins in Windows XP, though playback is not yet working
- All changes except ksuser change has been verified to work with VBox 3.2.10
- KS user changes not tested yet as KSStudio not working in trunk

svn path=/trunk/; revision=49428

13 years ago[CMAKE]
Timo Kreuzer [Tue, 2 Nov 2010 09:22:58 +0000 (09:22 +0000)]
[CMAKE]
Rename add_importlib_def to add_importlib_target
add importlib targets for ntdll, msvcrt, shell32, user32

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

13 years ago[CACHE]
Art Yerkes [Tue, 2 Nov 2010 02:32:39 +0000 (02:32 +0000)]
[CACHE]

The cache manager rewrite I started years ago has finally appeared in
ReactOS' trunk and although at this point it's not quite perfectly
integrated, it's enough to boot up the bootcd or livecd. To check out
the more mature original, check out arty-newcc-reactos, branch
arty-newcc on bitbucket.org . Amine Khaldi encouraged me quite a bit
to not give up on it, and was able to reach out and be an advocate
when i really wasn't able to.  Others agree that the time has come to
begin removing the old cache manager. I expect the remaining problems
in the version going to trunk will be taken care of relatively
quickly.

The motivation for this effort lies in the particularly hairy
relationship between ReactOS' cache manager and data sections. This
code completely removes page sharing between cache manager and section
and reimagines cache manager as being a facility layered on the memory
manager, not really caring about individual pages, but simply managing
data section objects where caching might occur.

It took me about 2 years to do the first pass of this rewrite and most
of this year to fix some lingering issues, properly implement demand
paging in ReactOS (code which didn't come with this patch in a
recognizable form), and finish getting the PrivateCacheMap and
SharedCacheMap relationship correct.

Currently, the new ntoskrnl/cache directory contains an own
implementation of data file sections. After things have settled down,
we can begin to deprecate and remove the parts of ReactOS' section
implementation that depend on a close relationship with cache
manager. Eventually, I think that the extra code added to
ntoskrnl/cache/section will be removed and ReactOS' own sections will
replace the use of the special MM_CACHE_SECTION_SEGMENT in the cache
path.

Note also, that this makes all cache manager (and new section parts)
use wide file offsets. If my section code were to take over other
parts of the ReactOS memory manager, they would also benefit from
these improvements.

I invite anyone who wants to to peek at this code and fix whatever
bugs can be found.

svn path=/trunk/; revision=49423

13 years ago[WIN32K]
Timo Kreuzer [Tue, 2 Nov 2010 01:17:45 +0000 (01:17 +0000)]
[WIN32K]
Disable GDI_DEBUG. It's using > 20 MB memory. Too much for some people ;-)

svn path=/trunk/; revision=49422

13 years ago[CRT]
Timo Kreuzer [Tue, 2 Nov 2010 00:06:33 +0000 (00:06 +0000)]
[CRT]
- Make all x86assembly ML compatible
- Remove memcpy, it was duplicated from memmove, copy the label instead
- Guard some code against compilation on msvc, as these functions are intrinsics on MSVC and cannot be implemented
- Fix some x64 assembly (don't modify stack below rsp)

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

13 years ago[ASM]
Timo Kreuzer [Tue, 2 Nov 2010 00:03:41 +0000 (00:03 +0000)]
[ASM]
Fix dummy ASSUME

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

13 years ago[ASM]
Timo Kreuzer [Mon, 1 Nov 2010 23:18:51 +0000 (23:18 +0000)]
[ASM]
Add .double macro for ML and dummy ASSUME macro for GAS
Allow XMM instructions for ML

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

13 years ago[CMAKE]
Jérôme Gardou [Mon, 1 Nov 2010 22:55:56 +0000 (22:55 +0000)]
[CMAKE]
  - improve win32k/CMakeLists.txt

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

13 years ago[PORTCLS]
Johannes Anderwald [Mon, 1 Nov 2010 22:21:24 +0000 (22:21 +0000)]
[PORTCLS]
- Portcls does not need to set the size of the audio buffer for completed irps. This is done in a completion callback in wdmaud. Verified with WinXP portcls
[WDMAUD_KERNEL]
- Free allocated mdls in the io completion routine. Also free the associated stream header.
[KS]
- Replace all ms portcls hacks by one.
- MS Portcls is now working in ReactOS (which is nice for testing audio related bugs)

svn path=/trunk/; revision=49417

13 years ago[PSDK]
Jérôme Gardou [Mon, 1 Nov 2010 20:55:11 +0000 (20:55 +0000)]
[PSDK]
  - add TrustedDomainAuthInformationInternal and TrustedDomainFullInformationInternalFix to _TRUSTED_INFORMATION_CLASS.
Fixes build

svn path=/trunk/; revision=49415

13 years ago[HAL]
Timo Kreuzer [Mon, 1 Nov 2010 19:11:27 +0000 (19:11 +0000)]
[HAL]
Temporary build "fix"

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

13 years ago{ASM]
Timo Kreuzer [Mon, 1 Nov 2010 18:48:40 +0000 (18:48 +0000)]
{ASM]
- Remove superfluous .code64
- Add some macros for MSVC

svn path=/trunk/; revision=49413

13 years ago[ASM]
Jérôme Gardou [Mon, 1 Nov 2010 18:42:33 +0000 (18:42 +0000)]
[ASM]
  - no ML doesn't mean 64 bits, right?

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

13 years ago[DXSDK]
Jérôme Gardou [Mon, 1 Nov 2010 18:24:17 +0000 (18:24 +0000)]
[DXSDK]
  - an interface must have an uuid.
If it "conflicts with uuids.h", then the problem il elsewhere.

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

13 years ago[PORTCLS]
Johannes Anderwald [Mon, 1 Nov 2010 17:33:06 +0000 (17:33 +0000)]
[PORTCLS]
- Dear lawyers / worried developers, this is the XP DDK Version.

svn path=/trunk/; revision=49410

13 years ago[CMAKE]
Jérôme Gardou [Mon, 1 Nov 2010 17:24:32 +0000 (17:24 +0000)]
[CMAKE]
  - build msvc importlibs explicitly from def file
  - circumvent lack of pseh lib in MSVC.
  - fix advapi32.def

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

13 years ago[HAL]
Timo Kreuzer [Mon, 1 Nov 2010 16:42:53 +0000 (16:42 +0000)]
[HAL]
Make systimer.S ML compatible. Replace most hardcoded numerical values with proper symbolic constants.

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

13 years ago[CMAKE]
Timo Kreuzer [Mon, 1 Nov 2010 16:40:30 +0000 (16:40 +0000)]
[CMAKE]
set custom command to compile asm files for MSVC toolchain. They are being preprocessed first.

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

13 years ago[CMAKE]
Jérôme Gardou [Mon, 1 Nov 2010 16:32:32 +0000 (16:32 +0000)]
[CMAKE]
  - put advapi32.def into source files.

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

13 years ago[CMAKE]
Timo Kreuzer [Mon, 1 Nov 2010 15:15:02 +0000 (15:15 +0000)]
[CMAKE]
When PreLoad.cmake is run, the CMAKE_CURRENT_SOURCE_DIR points to the directory, where the cmake command was executed (bug?). To get the root folder of reactos, use CMAKE_CURRENT_LIST_FILE, which points to PreLoad.cmake in the root folder.

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

13 years ago[ADVAPI32]
Eric Kohl [Mon, 1 Nov 2010 14:09:33 +0000 (14:09 +0000)]
[ADVAPI32]
Implement LsaAddAccountRights(), LsaQueryTrustedDomainInfoByName() and LsaRemoveAccountRights().

svn path=/trunk/; revision=49403

13 years ago[CMAKE]
Jérôme Gardou [Mon, 1 Nov 2010 14:05:48 +0000 (14:05 +0000)]
[CMAKE]
  - fix build, sorry

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

13 years ago[PORTCLS]
Johannes Anderwald [Mon, 1 Nov 2010 13:23:15 +0000 (13:23 +0000)]
[PORTCLS]
- Add license header

svn path=/trunk/; revision=49401

13 years ago[SETUPAPI]
Eric Kohl [Mon, 1 Nov 2010 12:39:51 +0000 (12:39 +0000)]
[SETUPAPI]
Implement CM_Get_Device_ID_List_ExW().

svn path=/trunk/; revision=49400

13 years ago[RTL]
Timo Kreuzer [Mon, 1 Nov 2010 11:41:01 +0000 (11:41 +0000)]
[RTL]
Make asm files ML compatible

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

13 years ago[CMAKE]
Timo Kreuzer [Mon, 1 Nov 2010 09:39:53 +0000 (09:39 +0000)]
[CMAKE]
Add missing dependencies for MSVC add_importlibs

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

13 years ago[NTDLLSYS]
Timo Kreuzer [Mon, 1 Nov 2010 09:39:06 +0000 (09:39 +0000)]
[NTDLLSYS]
Set LINKER_LANGUAGE to C. Neccessary for MSVC.

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

13 years ago[CMAKE]
Jérôme Gardou [Mon, 1 Nov 2010 09:32:04 +0000 (09:32 +0000)]
[CMAKE]
  - put ntdll.def in source files

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

13 years ago[NTDLL]
Timo Kreuzer [Mon, 1 Nov 2010 08:58:18 +0000 (08:58 +0000)]
[NTDLL]
- Convert the pspec to spec and use it
- add add_importlib_target

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

13 years ago[Explorer] - Revert last change.
James Tabor [Mon, 1 Nov 2010 03:21:52 +0000 (03:21 +0000)]
[Explorer] - Revert last change.

svn path=/trunk/; revision=49394

13 years ago[Explorer] - Track the only Global Hook ReactOS has.
James Tabor [Mon, 1 Nov 2010 03:10:59 +0000 (03:10 +0000)]
[Explorer] - Track the only Global Hook ReactOS has.

svn path=/trunk/; revision=49393

13 years ago[Win32k] - Track end of life thread when removing hooks.
James Tabor [Mon, 1 Nov 2010 01:56:07 +0000 (01:56 +0000)]
[Win32k] - Track end of life thread when removing hooks.

svn path=/trunk/; revision=49392

13 years ago[CMAKE]
Jérôme Gardou [Mon, 1 Nov 2010 01:23:17 +0000 (01:23 +0000)]
[CMAKE]
  - improve ntoskrnl/CMakeLists.txt

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

13 years ago[CMAKE]
Jérôme Gardou [Mon, 1 Nov 2010 00:54:15 +0000 (00:54 +0000)]
[CMAKE]
  - add sermouse and kbdfr to live and boot cd
  - improve kbdclass, mouclass and i8042prt build files

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

13 years ago[PORTCLS]
Johannes Anderwald [Mon, 1 Nov 2010 00:26:59 +0000 (00:26 +0000)]
[PORTCLS]
- Add MPU-401 Uart miniport driver from DDK 2003 sample

svn path=/trunk/; revision=49389

13 years ago[DDK]
Johannes Anderwald [Mon, 1 Nov 2010 00:17:07 +0000 (00:17 +0000)]
[DDK]
- Add dmusprop header
- Add IMP_PowerNotify macro to portcls.h
- Add IID_IMusicTechnology guid to portcls.h
- Add GTI_XXX macros to portcls.h
- Remove broken definitions of KSPROPSETID_Synth, KSPROPSETID_Synth_Dls. They are defined in dmusprop.h
- Add KSDATARANGE_MUSIC to ksmedia.h
- Add KSMUSIC_TECHNOLOGY, KSDATAFORMAT_SUBTYPE_MIDI_BUS, KSAUDFNAME_MIDI, KSNODETYPE_SYNTHESIZER to ksmedia.h

svn path=/trunk/; revision=49388

13 years ago[CMAKE]
Jérôme Gardou [Mon, 1 Nov 2010 00:04:46 +0000 (00:04 +0000)]
[CMAKE]
  - add 3rdparty dlls to boot and live cd
  - use gdi32 spec file
  - mark user32.def as EXTERNAL_OBJECT

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

13 years ago[Win32k] - Lock thread when removing hooks.
James Tabor [Sun, 31 Oct 2010 23:42:37 +0000 (23:42 +0000)]
[Win32k] - Lock thread when removing hooks.

svn path=/trunk/; revision=49386

13 years ago[CMAKE]
Jérôme Gardou [Sun, 31 Oct 2010 23:19:12 +0000 (23:19 +0000)]
[CMAKE]
  - fix libxslt build

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

13 years ago[CMAKE]
Jérôme Gardou [Sun, 31 Oct 2010 22:46:22 +0000 (22:46 +0000)]
[CMAKE]
  - fix classpnp compilation.
Thanks go to lassy to explain me why this didn't work before.

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

13 years ago[CMAKE]
Jérôme Gardou [Sun, 31 Oct 2010 22:41:31 +0000 (22:41 +0000)]
[CMAKE]
  - improve class2 build file
  - set EXTERNAL_OBJECT properties to ntdll def file

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

13 years ago[CMAKE]
Amine Khaldi [Sun, 31 Oct 2010 22:38:10 +0000 (22:38 +0000)]
[CMAKE]
- Improve ntdll.

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

13 years ago[CMAKE]
Jérôme Gardou [Sun, 31 Oct 2010 22:15:35 +0000 (22:15 +0000)]
[CMAKE]
  - cmake handles gracefully def files if you tell him to do ;-)
  - partial revert of an (accidental?) kernel32 change

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

13 years ago[KERNEL32]
Timo Kreuzer [Sun, 31 Oct 2010 21:56:17 +0000 (21:56 +0000)]
[KERNEL32]
Include English resource file first, escape certain characters for MSVC compatibility.
"Should be sent to wine"(tm)

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

13 years ago[KERNEL32]
Timo Kreuzer [Sun, 31 Oct 2010 18:18:35 +0000 (18:18 +0000)]
[KERNEL32]
Rename pspec to spec, fix a comment, remove a #define and use it instead of the def file

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

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[MMIXER]
Johannes Anderwald [Sun, 31 Oct 2010 14:34:41 +0000 (14:34 +0000)]
[MMIXER]
- Enumerate MIDI devices and provide all necessary functions to deal with them
[WDMAUD_KERNEL]
- Implement support functions which call the provided functions of mmixer library
- Fix a bug in device interface request ioctl handler
- Midi devices should now be visible, capabilities be retrieved and opened / close
- Writing data is not yet supported

svn path=/trunk/; revision=49376

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 ago[MMEBUDDY]
Johannes Anderwald [Sun, 31 Oct 2010 13:20:11 +0000 (13:20 +0000)]
[MMEBUDDY]
- Getting device capabilities requires the unicode version of the structure
- Implement MIDM_OPEN, MIDM_CLOSE, MIDM_START, MIDM_STOP
- Implement MODM_OPEN, MODM_CLOSE
- Refactor MmeOpenWaveDevice into MmeOpenDevice add add support MIXER_DEVICE_TYPE, MIDI_IN_DEVICE_TYPE, MIDI_OUT_DEVICE_TYPE
- Refactor MmeCloseWaveDeivce into MmeCloseDevice and add support MIXER_DEVICE_TYPE, MIDI_IN_DEVICE_TYPE, MIDI_OUT_DEVICE_TYPE

svn path=/trunk/; revision=49374

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[SHELL32]
Johannes Anderwald [Sun, 31 Oct 2010 10:09:55 +0000 (10:09 +0000)]
[SHELL32]
- Enable code as we support now IOCTL_DISK_GET_LENGTH_INFO
- IOCTL_DISK_GET_LENGTH_INFO implemented in 49369

svn path=/trunk/; revision=49372