Commit graph

23184 commits

Author SHA1 Message Date
Johannes Anderwald 9a841754c2 - fix correct app type
svn path=/trunk/; revision=25043
2006-12-03 20:04:09 +00:00
Johannes Anderwald 69b8ba7ca7 - fix warning
- fix svn properties

svn path=/trunk/; revision=25042
2006-12-03 19:52:19 +00:00
Johannes Anderwald 5a8d8453fc - update readme
See issue #1890 for more details.

svn path=/trunk/; revision=25041
2006-12-03 19:17:19 +00:00
Johannes Anderwald 8a50599cf5 - update readme
See issue #1890 for more details.

svn path=/trunk/; revision=25040
2006-12-03 19:16:30 +00:00
Magnus Olsen 1de675a898 Fixed HALDD been setup right.
svn path=/trunk/; revision=25039
2006-12-03 18:53:05 +00:00
Johannes Anderwald 076a9dd89e - New changes for the Greek Keyboard layout
- by Apostolos Alexiadis
- fix some formating issues
See issue #1831 for more details.

svn path=/trunk/; revision=25038
2006-12-03 18:48:29 +00:00
Alex Ionescu 144e232b5f - Fix IopSecurityFile to send the IRP to the right device.
- Fix IoSetInformation to send the IRP to the right device.
- After the major fix in 24996, the functions that had been written to work with the I/O bug stopped working (by sending the IRP to the wrong device object, which, due to the bug was the ""right"" object), this is now fixed and the bootcd works again.

svn path=/trunk/; revision=25037
2006-12-03 18:04:32 +00:00
Magnus Olsen a75646d6df fixed so we return almost same flags in DD->GBL->dwFlags left todo is the DDRAWI_DRIVERINFO2
svn path=/trunk/; revision=25036
2006-12-03 17:54:25 +00:00
Magnus Olsen bdd9cf7f66 fixed a refer counter that was zero out, but it should be have set to 1
svn path=/trunk/; revision=25035
2006-12-03 15:42:12 +00:00
Magnus Olsen 3d923733e6 Fixed the initate process so it do not call to StartDirectDrawHel when GUID DDCREATE_HARDWAREONLY
Fixed the initate process so it do not call to StartDirectDrawHal when GUID DDCREATE_EMLATIONONLY

svn path=/trunk/; revision=25034
2006-12-03 15:23:44 +00:00
Aleksey Bragin 087400a522 NCI interface auditing, sysfuncs.lst.
- Fixed NtCompressKey() and NtQuerySystemEnvironmentValueEx() prototypes (they were incorrectly declared/defined, but had a correct number of params in sysfuncs.lst)
- Fixed incorrect number of parameters specified in sysfuncs.lst for NtLoadKeyEx(), NtQueryOpenSubKeysEx(), NtTranslateFilePath()

sysfuncs.lst now perfectly matches all functions definitions.

svn path=/trunk/; revision=25029
2006-12-03 11:13:05 +00:00
Magnus Olsen 3c9294fcf4 Fixed so we can optain the HAL again.
Do not trust on ddraw value yo get blindy. it will rest the value you need to optian the HAL and you can not spy on it so easy then.

svn path=/trunk/; revision=25027
2006-12-03 09:12:35 +00:00
Alex Ionescu 58fad00c6d - Clear capacity data buffer before reading it to avoid 0xCCCCCCCC values and manually set failure code if nobody filled it in (a hack, but I don't understand our pre-Nixon-era storage stack to "properly" fix it, so this is good enough and kills off the 0xCCCCCCCC byte non-paged pool allocations.
svn path=/trunk/; revision=25026
2006-12-03 08:08:08 +00:00
Alex Ionescu cd31c14fe5 - Enable V86/DR save in HAL Clock Interrupt (and fix build).
- Add debug message to fs_rec driver to analyse why it's trying to allocate 4GB of non paged memory.

svn path=/trunk/; revision=25025
2006-12-03 07:34:03 +00:00
Magnus Olsen aae91f0242 fixed a werid crash do not initate the member dwObsolete1 in LPDDRAWI_DIRECTDRAW_LCL
svn path=/trunk/; revision=25022
2006-12-03 00:17:56 +00:00
Magnus Olsen 073d96842d bug fixed some more info getting same as ms ddraw when you execute DirectDrawCreateEx
fixed some comment in main.c, Comment why memory does not being fill to zero in lest windows 2000 after you play with directdraw. 

svn path=/trunk/; revision=25021
2006-12-02 23:04:11 +00:00
Alex Ionescu 8b4c009bfb - Implement V86 trap fixup during traps and interrupts.
- Implement DR register save/restore during traps, interrupts and system calls.
- Remove respective entry from krnlfun.c.

svn path=/trunk/; revision=25020
2006-12-02 20:49:56 +00:00
Magnus Olsen aa6252fc13 fixed so only NULL and DDCREATE_HARDWAREONLY are accpect when you linking two directdraw interface.
svn path=/trunk/; revision=25019
2006-12-02 19:26:55 +00:00
Magnus Olsen a9e3149429 fixed follow bugs
1. Fixed memory crash bug for linking two directdraw interface
2. Fixed meoory alloc does not being overwrite when it being linked

svn path=/trunk/; revision=25018
2006-12-02 18:59:05 +00:00
Magnus Olsen ca9afb4298 Fixed follow bug Create_DirectDraw
1. did not set the DDRAWILCL_DIRECTDRAW7 to This->lpLcl->dwLocalFlags
2. did not initate the This->lpLcl->dwLocalRefCnt to 0 and Main_DDrawSurface_AddRef did wrong count then 

svn path=/trunk/; revision=25017
2006-12-02 16:57:21 +00:00
Magnus Olsen a709c01ca8 fixed partly linking with other directdraw interface, but we still overwrite some member and crash it, when we doing a link.
svn path=/trunk/; revision=25016
2006-12-02 13:37:55 +00:00
Magnus Olsen 1c4a115ec0 adding check if it is IID_IDirectDraw7 on right place and learn it is lpDD->QueryInterface that optain the d3d interface.
svn path=/trunk/; revision=25015
2006-12-02 10:27:56 +00:00
Magnus Olsen 1c7d9c3cb9 remove trunk stuff. for it was wine idea, if you reading msdn and test ms ddraw you can not use other interface that IID_IDirectDraw7
but wine allown you use older IID interface. But It will be hell to support DirectX 1-6 IID_IDirectDraw, IID_IDirectDraw2, IID_IDirectDraw4 so we doing like microsoft kill it. and this check can be use to detect if it wine ddraw or not. like test if other that IID_IDirectDraw7 are vaild. 

svn path=/trunk/; revision=25014
2006-12-02 10:20:33 +00:00
Magnus Olsen 17e88e019f Adding two new debuger macro and debocument each debug macro I am using in windows and why you should use one of them
with time the debug macro will be compelete remove. 

svn path=/trunk/; revision=25013
2006-12-02 08:30:16 +00:00
Magnus Olsen 817dba67ef Colin Finck (mail at colinfinck dot de)
patch to sysdm (id=1161)
fixing truncate of string and making allot better layout of the system info. 


See issue #1858 for more details.

svn path=/trunk/; revision=25012
2006-12-01 17:36:07 +00:00
Alex Ionescu d67835f9dc - Kill some debug prints.
- Remove debug-test infinite loop from DbgkForwardException
- Fix missing "break" statement in DbgkFreeDebugEvent, causing a handle leak, and in DbgkpOpenHandles, causing user-mode to get a kernel-mode handle for DLL images instead of the correct duplicated one.
- Currently struggling with the fact that ArbitraryUserPointer seems to be reset to zero before it's read for the debug event, so DLL names don't come through.

svn path=/trunk/; revision=25011
2006-12-01 08:20:37 +00:00
Alex Ionescu 94912681e1 - Write DLL Being mapped into NtTib->ArbitraryUserPointer so that the debugger can pick it up.
- Fix bugs in DbgkWakeTarget, DbgkCreateThread, DbgkMapViewOfSection and call from NtMapViewOfSection.

svn path=/trunk/; revision=25010
2006-12-01 07:36:49 +00:00
Magnus Olsen 898809f6cb fixed crash in stub of createsurface
svn path=/trunk/; revision=25009
2006-11-30 22:58:48 +00:00
Magnus Olsen 04210101de stubed Main_DirectDraw_SetCooperativeLevel
it need be rewrite

svn path=/trunk/; revision=25008
2006-11-30 21:43:07 +00:00
Magnus Olsen c2e48f423c fixing stub of drvsetcolorkey
svn path=/trunk/; revision=25007
2006-11-30 21:04:09 +00:00
Johannes Anderwald c906b40fe9 - bye bye fixdef
svn path=/trunk/; revision=25006
2006-11-30 20:57:52 +00:00
Alex Ionescu b41e5c3b6c - Fix a bug in DbgkCreateThread which wasn't saving the initial thread information in the right place. The process create event is now fully supported and properly returns the entrypoint of the application.
svn path=/trunk/; revision=25005
2006-11-30 20:46:48 +00:00
Alex Ionescu 3851db2429 - Implement support for DEBUG_PROCESS in CreateProcess so that processes can be started with a debugger (works and tested with a new test app).
- We still seem to be suffering from a bug during certain debug event waits.

svn path=/trunk/; revision=25004
2006-11-30 20:37:21 +00:00
Alex Ionescu 7909b7a822 - Properly set and check the image notification flag for the process in DbgkCreateThread. Patch by hto.
See issue #1879 for more details.

svn path=/trunk/; revision=25003
2006-11-30 19:52:49 +00:00
Alex Ionescu 9ab9cf7351 - Fix various Dbgk bugs in the DbgUI and Win32 Debug wrapper APIs.
- Win32 Debug test application now works as well as Native one.
- The Dbgk framework still crashes on exceptions, I think.

svn path=/trunk/; revision=25002
2006-11-30 19:38:04 +00:00
Ged Murphy fb9895a402 allow the Americans their incorrect spellings and add a correct UK resource file ;)
svn path=/trunk/; revision=25001
2006-11-30 19:23:19 +00:00
Alex Ionescu 3087c4530c - Remove Dbgk entries from KrnlFun.c, the subsystem is now implemented, save a few small bugs.
- Congratulations ROS on your 25000th commit!

svn path=/trunk/; revision=25000
2006-11-30 19:04:17 +00:00
Alex Ionescu 6a8ff3fea2 - Update Dbgk test application to test Win32 as well (definable by a compile-time #define).
svn path=/trunk/; revision=24999
2006-11-30 19:02:22 +00:00
Ged Murphy d7ac88ec6f - implement 'blur' and 'sharpness'
- implement 'contrast' allowing for separate adjustment of RGB colours
- Decorate the contrast / blur function names to make GCC happy. These functions will be merged at a later stage
- implement fading in and out of the floating windows. To activate, hover your cursor over one of the windows, then away again. Only works in Windows, ROS has missing translucency functionality at the moment.

svn path=/trunk/; revision=24998
2006-11-30 19:02:14 +00:00
Alex Ionescu ad0227d2bf - Fix a bug in DbgkOpenHandles which was causing file handles to get lost.
- Process create, thread create and DLL load events are now working perfectly. See http://www.tinykrnl.org/dbgworking.png

svn path=/trunk/; revision=24997
2006-11-30 18:30:05 +00:00
Alex Ionescu 5d44e00704 - Fix critical I/O bugs in IopParseFile which were causing the file object's device object pointer to be associated to the FSD (File System Device) instead of the Disk Driver, as well as the dereference of the FSD after the Disk Driver had been referenced (causing too many derefs for one, and to many refs for the other). Also fix a bug in IopQueryDeviceInformation which was querying the Disk Driver instead of the FSD.
- This also fixes IopQueryNameFile to properly return the entire name of the file now, instead of only the FSD part (probably fixes a dozen regressions).

svn path=/trunk/; revision=24996
2006-11-30 18:04:22 +00:00
Johannes Anderwald a76f1549b6 - various msvc compability fixes
- 2 errors remaining:
conio.c(2104) : error C2065: 'CONSOLE_INPUT_MODE_VALID' : undeclared identifier
conio.c(2108) : error C2065: 'CONSOLE_OUTPUT_MODE_VALID' : undeclared identifier

those two constants should be moved into the NDK(declared in wincon.h)...

svn path=/trunk/; revision=24993
2006-11-30 16:48:13 +00:00
Christoph von Wittich 6714832496 check for compiler version
svn path=/trunk/; revision=24992
2006-11-30 15:11:26 +00:00
Johannes Anderwald 55e6bb5471 - fix msvc_clean target
- implement cleaning up def files which are generated by fixdef

svn path=/trunk/; revision=24991
2006-11-30 12:20:40 +00:00
Johannes Anderwald 5d44e0c10f - silence debug prints
- create new generated file with _msvc postfix

svn path=/trunk/; revision=24990
2006-11-30 11:24:46 +00:00
Aleksey Bragin d59a0757d9 Fix HALMP build
svn path=/trunk/; revision=24989
2006-11-30 11:24:03 +00:00
Alex Ionescu 58809635ad - Raw test app for DbgUi+Dbgk Debugging Subsystem (skeletal, and doesn't test Win32 APIs).
svn path=/trunk/; revision=24988
2006-11-30 09:54:31 +00:00
Alex Ionescu 3b4c74ae10 - Client IDs were OK, I incorrectly assumed they weren't due to the concidence they were equal to the thead/process handles. Actual bug was NtDebugContinue not accepting a valid status value. This is fixed now.
svn path=/trunk/; revision=24987
2006-11-30 09:30:07 +00:00
Alex Ionescu cca4a71164 - Fix some bugs in NtWaitForDebugEvent which caused debug events to be sent in the wrong order and also more then one event to be sent at the same time (and thus some events skipped).
- Test app now properly receives the "create process" event along with valid process/thread handles and the image base. No file handle sent yet because of the I/O Manager File Object bug.
- There's still a bug in NtContinueDebugEvent due to wrong Client IDs being sent.

svn path=/trunk/; revision=24986
2006-11-30 09:22:07 +00:00
Alex Ionescu ef1120e56b - Fix DbgkSectionHandleToFileHandle.
- Implement MmGetFileNameForSection.
- There is a bug in ObQueryNameString for file objects, so the full name isn't returned...

svn path=/trunk/; revision=24985
2006-11-30 05:22:20 +00:00