Commit graph

24069 commits

Author SHA1 Message Date
KJK::Hyperion
f5891f221e added lib/debugsup
added      lib/debugsup/debugsup-ntos.def
added      lib/debugsup/debugsup.rbuild
modified   lib/lib.rbuild
   New import-only library. Links modules that need low-level debugging functions (DbgBreakPoint, DbgBreakPointWithStatus, DbgPrint, DbgPrompt, DbgPrintEx, RtlAssert, RtlUnwind) to the correct low-level library (ntdll for user mode and ntoskrnl for kernel mode). This ensures debugging macros will always work, everywhere, and it doesn't force all modules with debugging information to link to ntdll/ntoskrnl. TODO: link RtlUnwind to kernel32 for Win32 modules

modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
   Add debugsup_ntdll/debugsup_ntoskrnl as an implicit library for all executable modules (minus the kernel)


svn path=/trunk/; revision=26051
2007-03-10 03:51:27 +00:00
Dmitry Gorbachev
2ce0a2f2ed Update Russian translation.
svn path=/trunk/; revision=26050
2007-03-09 22:27:04 +00:00
Saveliy Tretiakov
c6f7e2ff23 Disable debug
svn path=/trunk/; revision=26049
2007-03-09 21:36:35 +00:00
Saveliy Tretiakov
a039eb5807 Fix bug 2080
svn path=/trunk/; revision=26048
2007-03-09 21:35:14 +00:00
Hervé Poussineau
2ce91bd022 Remove IopCreateDriverObject, which was buggy and duplicating IoCreateDriver functionality.
Add IopCreateDriver to contain common code, called by IoCreateDriver and ex-callers of IopCreateDriverObject.

svn path=/trunk/; revision=26047
2007-03-09 18:14:34 +00:00
Alex Ionescu
d2aecb2da4 - Fix building the BootCD.
svn path=/trunk/; revision=26046
2007-03-09 08:31:05 +00:00
Hervé Poussineau
d0b5dbfa63 Do not access to not initialized variable
svn path=/trunk/; revision=26045
2007-03-08 22:50:48 +00:00
Aleksey Bragin
90a1a6d858 Add bitmap version of the Lake wallpaper and directory.rbuild.
trunk/wallpaper is to be checked out into the "modules" directory! (so it can be optional)

svn path=/trunk/; revision=26043
2007-03-08 21:45:10 +00:00
Magnus Olsen
348c174ef2 wallpaper from harteex
svn path=/trunk/; revision=26042
2007-03-08 21:02:53 +00:00
Magnus Olsen
f41eda3c31 Created folder wallpaper remotely
for adding diffrent offical wallpaper

svn path=/trunk/; revision=26041
2007-03-08 20:27:14 +00:00
Saveliy Tretiakov
dd635fa115 ReEnable assert (as Alex suggested)
svn path=/trunk/; revision=26040
2007-03-08 20:09:50 +00:00
Saveliy Tretiakov
22b62d2461 Forget to enter critical region
svn path=/trunk/; revision=26039
2007-03-08 19:45:32 +00:00
Saveliy Tretiakov
d71c81868e Fix build:
- Add missing function protype.
- Move IntSetupClipboard to winsta.c


svn path=/trunk/; revision=26038
2007-03-08 19:44:36 +00:00
Magnus Olsen
619c975c6a fixing minior bugs in DdQueryDirectDrawObject
some data was not fill in

svn path=/trunk/; revision=26035
2007-03-08 19:18:06 +00:00
Aleksey Bragin
038309c488 Remove clipboard merge leftover.
YES encoded, yes.

svn path=/trunk/; revision=26034
2007-03-08 19:11:09 +00:00
Alex Ionescu
1e3d5d70e9 - Tree cleanups proposed on the mailing list. Move all non-Core OS modules to rosapps. Tests were already moved by Fireball to rostests.
svn path=/trunk/; revision=26033
2007-03-08 19:00:15 +00:00
Alex Ionescu
ad07a1e58f - Tree cleanups proposed on the mailing list. Move all non-Core OS modules to rosapps. Tests were already moved by Fireball to rostests.
svn path=/trunk/; revision=26032
2007-03-08 18:59:45 +00:00
Thomas Bluemel
a90321860f Add the very beginnings of a mmc.exe implementation (not yet included in the build)
svn path=/trunk/; revision=26031
2007-03-08 17:44:10 +00:00
Saveliy Tretiakov
59736af42b Merge clipboard branch to trunk
svn path=/trunk/; revision=26029
2007-03-08 13:31:33 +00:00
Saveliy Tretiakov
52913c361c change dprint1 to dprint
svn path=/trunk/; revision=26028
2007-03-08 12:57:19 +00:00
Saveliy Tretiakov
2d04abb37e Fix make livecd
svn path=/trunk/; revision=26027
2007-03-08 12:31:24 +00:00
Aleksey Bragin
3937a712b0 - Fix bootcd (taking in account rostests module too)
- Add mscutils to the build process

svn path=/trunk/; revision=26026
2007-03-07 22:10:37 +00:00
Aleksey Bragin
420b5b108e - Uncomment a couple of implemented Ob functions
svn path=/trunk/; revision=26025
2007-03-07 12:32:02 +00:00
Aleksey Bragin
1c0cf74086 - Fix a typo in the function header
svn path=/trunk/; revision=26024
2007-03-07 12:30:07 +00:00
Aleksey Bragin
5323c74126 Revert 25953.
"[14:22] <hackbunny> Fireball: FUCK
 [14:22] <hackbunny> he actually COMMITTED that code?"

svn path=/trunk/; revision=26022
2007-03-07 11:28:51 +00:00
Hervé Poussineau
9e66340100 Remove useless file
svn path=/trunk/; revision=26021
2007-03-07 09:33:53 +00:00
Aleksey Bragin
8bfa37adbe Move what's left in trunk here (2/2).
Now it should compile even without rostests module.

svn path=/trunk/; revision=26020
2007-03-06 21:48:14 +00:00
Aleksey Bragin
6761d24ea4 Move what's left in trunk here (1/2)
svn path=/trunk/; revision=26019
2007-03-06 21:44:58 +00:00
Aleksey Bragin
a6f9762e88 - Delete testsets
- Move dvmgmt and servman into mscutils directory (suggested by Alex Ionescu)

svn path=/trunk/; revision=26017
2007-03-06 12:43:19 +00:00
Aleksey Bragin
0a5bac4ba6 Remove regtests from /reactos since it's not needed anymore.
svn path=/trunk/; revision=26016
2007-03-06 12:14:33 +00:00
Aleksey Bragin
ac0a89b785 Move and reshuffle reactos/regtetsts into rostests. 2/2
svn path=/trunk/; revision=26015
2007-03-06 12:00:03 +00:00
Aleksey Bragin
33c6673cfb Move and reshuffle reactos/regtetsts into rostests. 1/2
svn path=/trunk/; revision=26014
2007-03-06 11:59:18 +00:00
Aleksey Bragin
d5b244c7cc Add proper header
svn path=/trunk/; revision=26013
2007-03-06 11:40:03 +00:00
Aleksey Bragin
1423048911 Move testsets from reactos to rostests (into a "win32" directory for now). 2/2
svn path=/trunk/; revision=26012
2007-03-06 11:34:03 +00:00
Aleksey Bragin
102ccaa64d Move testsets from reactos to rostests (into a "win32" directory for now). 1/2
svn path=/trunk/; revision=26011
2007-03-06 11:33:50 +00:00
Aleksey Bragin
2199ae9003 Move tests from rosapps to rostests
svn path=/trunk/; revision=26010
2007-03-06 11:10:43 +00:00
Aleksey Bragin
3e98dbd825 Adding rostests as part of the tree restructure
svn path=/trunk/; revision=26009
2007-03-06 11:01:08 +00:00
Alex Ionescu
2742ba22e8 - Implement KdpQueryMemory (KdQueryMemoryApi).
- Setting and clearing breakpoints now works! (At least the simple ones with F9/bp/bc). And they actually get hit properly.

svn path=/trunk/; revision=26007
2007-03-05 20:10:26 +00:00
Alex Ionescu
4b3c677fe7 - Fixed up KdComPortInUse so that we don't crash when using TinyKRNL/Windows kdcom.dll anymore (due to serial.sys). WinDBG should work a lot better now.
- Implemented hack so that NT-style sprintf can work.
- Implement MiCacheImageSymbols and upgrade MmLoadSystemImage to load symbols for drivers/images which have a debug section.
- Implemented a case in MiResolveImageReferences which was getting hit.
- Don't leak a section object reference each time we load a driver.
- Set the LoadedImports pointer in the loader entry, and set the proper flags after loading a driver.
- Do image notifications after loading a driver, if they're enabled.

svn path=/trunk/; revision=26006
2007-03-05 19:24:54 +00:00
James Tabor
47dae7de28 Fix RosBE build
svn path=/trunk/; revision=26005
2007-03-05 17:35:37 +00:00
Alex Ionescu
5e0491122d - Implement simple breakpoints (KdWriteBreakPointApi, KdpWriteBreakpoint, KdpAddBreakpoint).
- Stepping out with WinDBG now works, but not adding breakpoints (that's KdWriteBreakpointExApi, coming up soon).
- This was supposed to be 26000 but oh well, back porting features to a locked branch seems to have won out :)

svn path=/trunk/; revision=26004
2007-03-05 17:09:44 +00:00
Magnus Olsen
c8cf34eb84 fixed dprint1 to dprint
svn path=/trunk/; revision=26001
2007-03-05 15:17:53 +00:00
Magnus Olsen
dbd1166859 tempary fix for CreateDC("DISPLAY","DISPLAY",....) until I figout some thing better
svn path=/trunk/; revision=25998
2007-03-05 15:10:26 +00:00
Alex Ionescu
5e5311f4ae - Fix KdpSetCommonSTate to clear breakpoints.
- Allow KdpReadVirtualMemory to read SharedUserData since it's now readable.
- Allow it to read user-mode pointers as well, just not null-pointers.
- Fix KdpReportExceptionStateChange by implementing DumpTraceData. Now the crash in ndis.sys gets caught.
- Next up: implement breakpoints so that stepping out works.

svn path=/trunk/; revision=25997
2007-03-05 03:23:58 +00:00
Alex Ionescu
e707b70756 - Add proper bootcd/install freeldr.ini flags to allow KD debugging to work.
- Fix KdPollBreakIn.
- Add initial debug breakpoint code to ExpInitializeExecutive.
- WinDBG now breaks at the initial breakpoint and you can continue execution from there.
- There's still a lot of weird hangs when using WinDBG, it's far from usable.

svn path=/trunk/; revision=25996
2007-03-05 02:29:46 +00:00
Alex Ionescu
05f82784bd - Stub NtSystemDebugControl.
- Fully support _WINKD_. Change this to 1, and get kdcom.dll from Windows 2003 or TinyKRNL and you'll be able to connect to WinDBG if using the right debug settings. You can now boot to desktop with WinDBG connected and see debug messages, but not much else is supported.
- Fix bugs in KeGetBugMessageText.
- Implement KeEnterKernelDebugger.

svn path=/trunk/; revision=25994
2007-03-05 01:35:43 +00:00
Alex Ionescu
aafc3a967a - Detect if reparsing is being used during IRP completion and complain.
- Free MDLs in a safer way by not actually using the Irp->MdlAddress as we're looping through them.
- Don't leak an event for each Asynchronous API anymore.
- Handle IRP_OB_QUERY_NAME completion properly.
- handle IRP_CREATE_OPERATION with a file object present.
- Use deferred delete for File Object dereferences, to speed up I/O completion.
- Clear the I/O Stack Location when parsing completion stacks.
- Support SL_ERROR_RETURNED during completion routines.

svn path=/trunk/; revision=25993
2007-03-05 00:47:19 +00:00
Hervé Poussineau
030a4abe86 Convert text to multibyte before displaying it
svn path=/trunk/; revision=25992
2007-03-04 23:26:30 +00:00
Hervé Poussineau
abfa7fb417 Some reformatting, no code change
svn path=/trunk/; revision=25991
2007-03-04 23:18:28 +00:00
Aleksey Bragin
55a11ded1b Fix compiling in proper npfs mode.
svn path=/trunk/; revision=25989
2007-03-04 21:14:58 +00:00