reactos.git
20 years agoAdd -Wall to the Makefle and fix a few compiler warrnings for
Steven Edwards [Wed, 10 Mar 2004 18:57:36 +0000 (18:57 +0000)]
Add -Wall to the Makefle and fix a few compiler warrnings for
depreceated C++

svn path=/trunk/; revision=8625

20 years ago- Boot into GUI again (I'd disabled this as GUI stopped working in my local tree...
Andrew Greenwood [Wed, 10 Mar 2004 17:32:16 +0000 (17:32 +0000)]
- Boot into GUI again (I'd disabled this as GUI stopped working in my local tree) - sorry about that!

svn path=/trunk/; revision=8624

20 years ago2004-03-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Wed, 10 Mar 2004 16:57:36 +0000 (16:57 +0000)]
2004-03-10  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* subsys/system/usetup/bootsup.c (UpdateFreeLoaderIni): Use existing
ReactOS entry if available.

svn path=/trunk/; revision=8623

20 years ago- Fixed the Andrew's NtGdiCreateCompatibleBitmap fix, it was using a wrong Bits array.
Filip Navara [Wed, 10 Mar 2004 16:55:03 +0000 (16:55 +0000)]
- Fixed the Andrew's NtGdiCreateCompatibleBitmap fix, it was using a wrong Bits array.

svn path=/trunk/; revision=8622

20 years ago- Fixed bug in VideoPortSetBusData.
Filip Navara [Wed, 10 Mar 2004 16:10:13 +0000 (16:10 +0000)]
- Fixed bug in VideoPortSetBusData.

svn path=/trunk/; revision=8621

20 years ago*Major soundcard support update*
Andrew Greenwood [Wed, 10 Mar 2004 15:22:45 +0000 (15:22 +0000)]
*Major soundcard support update*

ReactOS remains silent for now, but for anyone wishing to further work on the Sound Blaster driver and/or mmdrv.dll, this should help immensely :)

- Imported midimap from WINE
- Imported wavemap from WINE
- Imported msacm from WINE (32-bit only)
- Minor changes to mpu401
- Basic IRP_MJ_WRITE dispatch routine for sndblst.sys (receives buffers, does nothing else.)
- Added various WINE headers to include\wine

svn path=/trunk/; revision=8620

20 years agoTell apps we're NT4 SP6, VB runtime will fail if we report SP0
Gé van Geldorp [Wed, 10 Mar 2004 09:14:29 +0000 (09:14 +0000)]
Tell apps we're NT4 SP6, VB runtime will fail if we report SP0

svn path=/trunk/; revision=8619

20 years ago- Implemented GetDCOrg(), which is officially obsolete, but I've included it for...
Andrew Greenwood [Tue, 9 Mar 2004 23:21:56 +0000 (23:21 +0000)]
- Implemented GetDCOrg(), which is officially obsolete, but I've included it for completeness' sake :)

svn path=/trunk/; revision=8618

20 years ago2004-03-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Tue, 9 Mar 2004 22:08:04 +0000 (22:08 +0000)]
2004-03-09  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* regtests/Makefile: Make REGTEST_TARGETS depend on *.c.
* regtests/kmregtests/driver.c: Update call to PerformTests().
* regtests/kmrtint/kmrtint.c (RegTestMain): Update to match prototype.
* regtests/kmrtint/kmrtint.def (RegTestMain): Ditto.
* regtests/kmrtint/kmrtint.edf (RegTestMain): Ditto.
* regtests/win32base/tests/ws2event.c: New file.
* regtests/regtests/regtests.c (OUPUT_MODE_DbgPrint,
OUPUT_MODE_OutputDebugString, OUPUT_MODE_printf): Define.
(OutputMode): New variable.
(OutputRoutine): New function.
(RunTestDriver): Add TestName parameter.
(main): Parse command line to find output routine and test name.
* regtests/shared/regtests.c (PerformTest): Use specified output routine
if specified. Run only specified test if specified.
(PerformTests): Update call to PerformTest().
* regtests/shared/regtests.h (TestOutputRoutine): Add prototype.
(TestDriverMain): Add OutputRoutine and TestName parameter.
(PerformTests): Ditto.
* regtests/win32base/Makefile (TARGET_SDKLIBS): Add ws2_32.a.
* regtests/win32base/driver.c (RegTestMain): Update to match prototype.
* regtests/win32base/win32base.def (RegTestMain): Ditto.
* regtests/win32base/win32base.edf (RegTestMain): Ditto.
* tools/regtests.c (UMSTUB): Update call to PerformTests().

svn path=/trunk/; revision=8617

20 years ago- Forgot this one.
David Welch [Tue, 9 Mar 2004 22:04:47 +0000 (22:04 +0000)]
- Forgot this one.

svn path=/trunk/; revision=8616

20 years ago- Replaced some common sequences of inline assembly with macros. Avoid
David Welch [Tue, 9 Mar 2004 21:49:54 +0000 (21:49 +0000)]
- Replaced some common sequences of inline assembly with macros. Avoid
having compiler checks scattered all over the place.
- Added some disabled code to KiDumpTrapFrame that dumps every address
on the stack that could be a return address. This is quite handy for
debugging crashes in modules compiled with fpo.

svn path=/trunk/; revision=8615

20 years ago- Fixed check for an out of range index in {Get/Set}{Class/Window}Long
David Welch [Tue, 9 Mar 2004 21:21:39 +0000 (21:21 +0000)]
- Fixed check for an out of range index in {Get/Set}{Class/Window}Long
(signed vs. unsigned arithmetic). Fixes crash in 'user32_test win'.

svn path=/trunk/; revision=8614

20 years ago- Disabled double lock message in NDEBUG builds since it is triggered
David Welch [Tue, 9 Mar 2004 20:34:28 +0000 (20:34 +0000)]
- Disabled double lock message in NDEBUG builds since it is triggered
whenever there is contention for the same object.

svn path=/trunk/; revision=8613

20 years ago- Uncomment NDEBUG.
Filip Navara [Tue, 9 Mar 2004 18:56:32 +0000 (18:56 +0000)]
- Uncomment NDEBUG.

svn path=/trunk/; revision=8612

20 years ago- Implemented VideoPortQueryPerformanceCounter and all video port spinlock functions.
Filip Navara [Tue, 9 Mar 2004 17:28:49 +0000 (17:28 +0000)]
- Implemented VideoPortQueryPerformanceCounter and all video port spinlock functions.
- Added more debug info to VideoPortGetAccessRanges.

svn path=/trunk/; revision=8611

20 years agoAdded more (in case we run on PowerPC) processor ids returned by GetSystemInfo()...
Aleksey Bragin [Tue, 9 Mar 2004 16:35:15 +0000 (16:35 +0000)]
Added more (in case we run on PowerPC) processor ids returned by GetSystemInfo(), by Christoph von Wittich.

svn path=/trunk/; revision=8610

20 years agoAdded more processor defines to SYSINFO struct, by Christoph von Wittich.
Aleksey Bragin [Tue, 9 Mar 2004 16:33:22 +0000 (16:33 +0000)]
Added more processor defines to SYSINFO struct, by Christoph von Wittich.

svn path=/trunk/; revision=8609

20 years agoCreate a logon token and use it to start the shell process.
Eric Kohl [Tue, 9 Mar 2004 15:08:12 +0000 (15:08 +0000)]
Create a logon token and use it to start the shell process.

svn path=/trunk/; revision=8608

20 years agoLogonUserW(): Fix key name.
Eric Kohl [Tue, 9 Mar 2004 15:04:28 +0000 (15:04 +0000)]
LogonUserW(): Fix key name.

svn path=/trunk/; revision=8607

20 years ago- Minor correction to DMA routines.
Filip Navara [Tue, 9 Mar 2004 14:16:39 +0000 (14:16 +0000)]
- Minor correction to DMA routines.

svn path=/trunk/; revision=8606

20 years agoCorrect menu bars for windows not originating at top-left of screen.
Gé van Geldorp [Tue, 9 Mar 2004 14:03:18 +0000 (14:03 +0000)]
Correct menu bars for windows not originating at top-left of screen.
This fixes bug #234.

svn path=/trunk/; revision=8605

20 years agoFix SPMajorVersion for Nt4SP5, spotted by Christoph_vW
Gé van Geldorp [Tue, 9 Mar 2004 12:59:13 +0000 (12:59 +0000)]
Fix SPMajorVersion for Nt4SP5, spotted by Christoph_vW

svn path=/trunk/; revision=8604

20 years agononcopyrighted icon FIXED
Richard Campbell [Tue, 9 Mar 2004 10:59:26 +0000 (10:59 +0000)]
noncopyrighted icon FIXED

svn path=/trunk/; revision=8603

20 years agononcopyrighted icon
Richard Campbell [Tue, 9 Mar 2004 10:56:16 +0000 (10:56 +0000)]
noncopyrighted icon

svn path=/trunk/; revision=8602

20 years agoplease don't commit copyrighted microsoft icons to cvs!
Richard Campbell [Tue, 9 Mar 2004 10:55:44 +0000 (10:55 +0000)]
please don't commit copyrighted microsoft icons to cvs!

svn path=/trunk/; revision=8601

20 years ago- Added Event Log stubs copied from Wine. It seems it's needed for Visual Basic runtime.
Filip Navara [Mon, 8 Mar 2004 21:58:17 +0000 (21:58 +0000)]
- Added Event Log stubs copied from Wine. It seems it's needed for Visual Basic runtime.

svn path=/trunk/; revision=8600

20 years ago- Do the real memory allocation in context of CSRSS process. Suggested by David Welch.
Filip Navara [Mon, 8 Mar 2004 21:45:39 +0000 (21:45 +0000)]
- Do the real memory allocation in context of CSRSS process. Suggested by David Welch.

svn path=/trunk/; revision=8599

20 years ago- Added service pack numbers to application compatibility settings.
Filip Navara [Mon, 8 Mar 2004 21:21:28 +0000 (21:21 +0000)]
- Added service pack numbers to application compatibility settings.

svn path=/trunk/; revision=8598

20 years ago- Mask out VIDEO_MEMORY_SPACE_DENSE flag, because it's specific to ALPHA processors...
Filip Navara [Mon, 8 Mar 2004 20:54:10 +0000 (20:54 +0000)]
- Mask out VIDEO_MEMORY_SPACE_DENSE flag, because it's specific to ALPHA processors. This gets Matrox Mystique driver working.

svn path=/trunk/; revision=8597

20 years ago- Hacky implementation of some dma related functions.
David Welch [Mon, 8 Mar 2004 20:27:33 +0000 (20:27 +0000)]
- Hacky implementation of some dma related functions.

svn path=/trunk/; revision=8596

20 years agoone more change.
Richard Campbell [Mon, 8 Mar 2004 20:19:54 +0000 (20:19 +0000)]
one more change.

svn path=/trunk/; revision=8595

20 years agofix corrupted GPL problem
Richard Campbell [Mon, 8 Mar 2004 20:16:45 +0000 (20:16 +0000)]
fix corrupted GPL problem

svn path=/trunk/; revision=8594

20 years agoGet MSYS and a few others working again....
Steven Edwards [Mon, 8 Mar 2004 18:09:05 +0000 (18:09 +0000)]
Get MSYS and a few others working again....

svn path=/trunk/; revision=8593

20 years ago- Fixed DPRINT.
Filip Navara [Mon, 8 Mar 2004 14:31:49 +0000 (14:31 +0000)]
- Fixed DPRINT.

svn path=/trunk/; revision=8592

20 years agoadded basic skeleton for the system control panel
Thomas Bluemel [Mon, 8 Mar 2004 14:24:47 +0000 (14:24 +0000)]
added basic skeleton for the system control panel

svn path=/trunk/; revision=8591

20 years ago- Fixed DPRINT.
Filip Navara [Mon, 8 Mar 2004 14:22:30 +0000 (14:22 +0000)]
- Fixed DPRINT.

svn path=/trunk/; revision=8590

20 years agolittle fixes
Thomas Bluemel [Mon, 8 Mar 2004 14:20:14 +0000 (14:20 +0000)]
little fixes

svn path=/trunk/; revision=8589

20 years agoMore support for IOCTL_TCP_QUERY/SET_INFORMATION_EX
Art Yerkes [Mon, 8 Mar 2004 10:20:18 +0000 (10:20 +0000)]
More support for IOCTL_TCP_QUERY/SET_INFORMATION_EX
Connected ControlChannel handle type.
Allowed empty EaInfo in create -> ControlChannel.
Added TDI entity for interfaces.
Fixed IPSnmpInfo interface number report.
Fixed returned buffer size report in DispTdiQueryInformationExComplete
Added IPROUTE_ENTRY struct.

What works:
tcpquery lists three entities, two builtin and one IF_ENTITY
tcpquery -i reports 1 interface and 1 address for me (addr=127.0.0.1)

TODO:
Type information for each entity (only two builtin entities are supported now)
Interface info out (IFEntry)
Route info in/out (IPRouteEntry)

svn path=/trunk/; revision=8588

20 years agonew bug reports in TODO list
Martin Fuchs [Mon, 8 Mar 2004 09:45:19 +0000 (09:45 +0000)]
new bug reports in TODO list

svn path=/trunk/; revision=8587

20 years agoReturn unique IndexNumber.
Eric Kohl [Mon, 8 Mar 2004 08:51:26 +0000 (08:51 +0000)]
Return unique IndexNumber.
Minor cleanup.

svn path=/trunk/; revision=8586

20 years ago- Implement RtlGetVersion.
Filip Navara [Mon, 8 Mar 2004 08:05:27 +0000 (08:05 +0000)]
- Implement RtlGetVersion.
- Rewrite VideoPortGetVersion using RtlGetVersion.
- Added debugging messages to InternalMapMemory.
- Changed VideoPortAllocateBuffer back to PagedPool.

svn path=/trunk/; revision=8585

20 years ago- Added a definition for PEVENT.
David Welch [Mon, 8 Mar 2004 07:41:27 +0000 (07:41 +0000)]
- Added a definition for PEVENT.

svn path=/trunk/; revision=8584

20 years ago- Implemented event services.
David Welch [Mon, 8 Mar 2004 07:04:57 +0000 (07:04 +0000)]
- Implemented event services.

svn path=/trunk/; revision=8583

20 years agoFinish changes to VideoPortGetVersion
James Tabor [Mon, 8 Mar 2004 04:41:20 +0000 (04:41 +0000)]
Finish changes to VideoPortGetVersion

svn path=/trunk/; revision=8582

20 years agoChange NonPagedPool for AllocateBuffer and implemented GetVersion for David Welch.
James Tabor [Mon, 8 Mar 2004 04:09:02 +0000 (04:09 +0000)]
Change NonPagedPool for AllocateBuffer and implemented GetVersion for David Welch.

svn path=/trunk/; revision=8581

20 years ago* Fixed co-ordinate translation for windows that have been moved, adjusting the co...
Andrew Greenwood [Sun, 7 Mar 2004 22:13:51 +0000 (22:13 +0000)]
* Fixed co-ordinate translation for windows that have been moved, adjusting the co-ordinates to take into account the window captions.

NOTE: Menu item tracking is still broken for windows that have been moved. Eg, if you move a window, click on a menu, then move the mouse pointer over another item, the new menu will NOT open unless you click.

svn path=/trunk/; revision=8580

20 years ago- Removed the spinlock I added in my last patch, it's wrong!
Filip Navara [Sun, 7 Mar 2004 21:09:08 +0000 (21:09 +0000)]
- Removed the spinlock I added in my last patch, it's wrong!

svn path=/trunk/; revision=8579

20 years ago- Implemented double buffering for a console windows. Currently the second buffer
Hartmut Birr [Sun, 7 Mar 2004 21:00:11 +0000 (21:00 +0000)]
- Implemented double buffering for a console windows. Currently the second buffer
  is a memory bitmap. All screen buffer updates does also write to the bitmap and
  the screen is updated by invalidating the update region. The previous version
  has released the screen buffer lock while scrolling up. It is not possible to
  release the lock while a write to the screen buffer is in progress. If the text
  output routines are faster, we should change the second buffer from a bitmap
  to character array.

svn path=/trunk/; revision=8578

20 years ago- Fixed MapWindowPoints for NULL window handles.
Filip Navara [Sun, 7 Mar 2004 20:38:17 +0000 (20:38 +0000)]
- Fixed MapWindowPoints for NULL window handles.

svn path=/trunk/; revision=8577

20 years ago- Changed DbgPrint to DPRINT in DriverEntry.
Filip Navara [Sun, 7 Mar 2004 20:33:25 +0000 (20:33 +0000)]
- Changed DbgPrint to DPRINT in DriverEntry.

svn path=/trunk/; revision=8576

20 years ago- Call create process notify routines from NtCreateProcess.
Filip Navara [Sun, 7 Mar 2004 20:31:53 +0000 (20:31 +0000)]
- Call create process notify routines from NtCreateProcess.
- Protect PiProcessNotifyRoutine by a spinlock.
- Started PsSetLoadImageNotifyRoutine implementation, it just registers the callback, but doesn't call it.

svn path=/trunk/; revision=8575

20 years ago- Added a disk speed test utility.
Hartmut Birr [Sun, 7 Mar 2004 20:12:13 +0000 (20:12 +0000)]
- Added a disk speed test utility.

svn path=/trunk/; revision=8574

20 years ago - Added comments to the fiber test, plus minor fixes
KJK::Hyperion [Sun, 7 Mar 2004 20:07:05 +0000 (20:07 +0000)]
 - Added comments to the fiber test, plus minor fixes
 - Fixed NT_TIB structure to be compatible with w32api
 - Fixed fiber support in kernel32.dll. Now the correct argument is passed to fiber startup routines

svn path=/trunk/; revision=8573

20 years ago- Fixed the handling for ctrl and alt keys.
Hartmut Birr [Sun, 7 Mar 2004 20:03:43 +0000 (20:03 +0000)]
- Fixed the handling for ctrl and alt keys.

svn path=/trunk/; revision=8572

20 years ago- Initialized the object tag to prevent the tag 0xcccccccc.
Hartmut Birr [Sun, 7 Mar 2004 19:59:37 +0000 (19:59 +0000)]
- Initialized the object tag to prevent the tag 0xcccccccc.

svn path=/trunk/; revision=8571

20 years ago- Pre initialized the resulting transfer length for requests which are split.
Hartmut Birr [Sun, 7 Mar 2004 19:53:08 +0000 (19:53 +0000)]
- Pre initialized the resulting transfer length for requests which are split.

svn path=/trunk/; revision=8570

20 years ago- Changed the dma capability detection code.
Hartmut Birr [Sun, 7 Mar 2004 19:48:45 +0000 (19:48 +0000)]
- Changed the dma capability detection code.
- Enabled DMA transfers by default.
- Implemented DMA transfer for atapi devices (CD rom drives).

svn path=/trunk/; revision=8569

20 years agoAdded waiting on console handles. We use a thread to poll for input
Art Yerkes [Sun, 7 Mar 2004 18:06:29 +0000 (18:06 +0000)]
Added waiting on console handles.  We use a thread to poll for input
availability.

svn path=/trunk/; revision=8568

20 years agoDavid Welch turned me on to the right way to solve the cygwin fork section
Art Yerkes [Sun, 7 Mar 2004 17:48:41 +0000 (17:48 +0000)]
David Welch turned me on to the right way to solve the cygwin fork section
map problem.  This fixes map_dup_inherit.

svn path=/trunk/; revision=8567

20 years ago- Correct base addresses.
Filip Navara [Sun, 7 Mar 2004 14:33:13 +0000 (14:33 +0000)]
- Correct base addresses.

svn path=/trunk/; revision=8566

20 years ago- Added stubs for EngAlphaBlend and EngControlSprites.
David Welch [Sun, 7 Mar 2004 12:49:27 +0000 (12:49 +0000)]
- Added stubs for EngAlphaBlend and EngControlSprites.

svn path=/trunk/; revision=8565

20 years ago- .cvsignore update.
David Welch [Sun, 7 Mar 2004 12:42:10 +0000 (12:42 +0000)]
- .cvsignore update.

svn path=/trunk/; revision=8564

20 years ago- Moved the loading of font names from user32.dll to win32k.sys.
Filip Navara [Sun, 7 Mar 2004 11:59:43 +0000 (11:59 +0000)]
- Moved the loading of font names from user32.dll to win32k.sys.
- Moved the window metrics values from hivesys.inf to hivedef.inf.
- In case of failure of getting the font values from registry, use default values.
- Removed user32.dll dependency on advapi32.dll.
- Removed the "UGLY HACK" code, because it really isn't true that ReactOS doesn't handle fonts with negative height.

svn path=/trunk/; revision=8563

20 years ago- Fixed RtlFormatCurrentUserKeyPath and it's use.
Filip Navara [Sun, 7 Mar 2004 11:59:10 +0000 (11:59 +0000)]
- Fixed RtlFormatCurrentUserKeyPath and it's use.
- Fill correctly all members of the returned device object in IoCreateDevice.
- Don't bug check in loader when export isn't found, only report it and don't load the module.
- If we know a module path while loading, use it for searching for the import modules.
- Modified LdrpBuildModuleBaseName to not strip the extension from file name, because the files 's3legacy.dll' and 's3legacy.sys' are otherwise treated as the same files and wrong module is loaded.

svn path=/trunk/; revision=8562

20 years ago- Added an implementation of LdrFindImageProcAddress.
David Welch [Sun, 7 Mar 2004 04:44:41 +0000 (04:44 +0000)]
- Added an implementation of LdrFindImageProcAddress.

svn path=/trunk/; revision=8561

20 years ago- Added an implemention of VideoPortGetProcAddress
David Welch [Sun, 7 Mar 2004 04:43:55 +0000 (04:43 +0000)]
- Added an implemention of VideoPortGetProcAddress
- ati2mtag calls VideoPortGetAccessRanges with *DeviceId == 0 so treat
that as matching an device id.
- Return STATUS_SUCCESS from VideoPortSetTrappedEmulatorPorts even though
the data is ignored.

svn path=/trunk/; revision=8560

20 years ago- Use an event rather than a semaphore to wake up the thread that writes
David Welch [Sun, 7 Mar 2004 04:38:41 +0000 (04:38 +0000)]
- Use an event rather than a semaphore to wake up the thread that writes
debug output to disk. Avoids bugchecking if the number of debug prints
before the thread wakes up exceeds the semaphore limit.

svn path=/trunk/; revision=8559

20 years agoFiber switching code fixed
KJK::Hyperion [Sun, 7 Mar 2004 04:00:39 +0000 (04:00 +0000)]
Fiber switching code fixed

svn path=/trunk/; revision=8558

20 years agoAdded fiber test
KJK::Hyperion [Sun, 7 Mar 2004 03:48:47 +0000 (03:48 +0000)]
Added fiber test

svn path=/trunk/; revision=8557

20 years agoFiber test application. It's a simulation of the Windows NT scheduling algorithm...
KJK::Hyperion [Sun, 7 Mar 2004 03:15:20 +0000 (03:15 +0000)]
Fiber test application. It's a simulation of the Windows NT scheduling algorithm, complete with priority levels, real-time priorities and starvation prevention. Lacks pre-emption, waiting and boosts

svn path=/trunk/; revision=8556

20 years ago- Initialized the win32k timer as SynchronizationTimer.
Hartmut Birr [Sat, 6 Mar 2004 23:09:23 +0000 (23:09 +0000)]
- Initialized the win32k timer as SynchronizationTimer.
  A notification timer is always signaled after the first hit.
- Possible this does fix more timer related problems.

svn path=/trunk/; revision=8555

20 years ago- Added padding to align VIDEO_PORT_CONFIG_INFO.VdmPhysicalVideoMemoryAddress
David Welch [Sat, 6 Mar 2004 22:27:55 +0000 (22:27 +0000)]
- Added padding to align VIDEO_PORT_CONFIG_INFO.VdmPhysicalVideoMemoryAddress
and subsequent members the same as visualc.

svn path=/trunk/; revision=8554

20 years ago- Forgot this file.
David Welch [Sat, 6 Mar 2004 22:26:05 +0000 (22:26 +0000)]
- Forgot this file.

svn path=/trunk/; revision=8553

20 years ago- Added stubs for some of the new w2k/xp functions.
David Welch [Sat, 6 Mar 2004 22:25:22 +0000 (22:25 +0000)]
- Added stubs for some of the new w2k/xp functions.

svn path=/trunk/; revision=8552

20 years ago- Removed some unnecessary DbgPrints from the fatal exception path; ignore
David Welch [Sat, 6 Mar 2004 22:24:14 +0000 (22:24 +0000)]
- Removed some unnecessary DbgPrints from the fatal exception path; ignore
the breakpoint in the tail of KeBugCheckEx/KeBugCheckWithTf if no debugger
is connected.

svn path=/trunk/; revision=8551

20 years ago- Added stub implementations of MmAllocatePagesForMdl, MmFreePagesFromMdl
David Welch [Sat, 6 Mar 2004 22:21:20 +0000 (22:21 +0000)]
- Added stub implementations of MmAllocatePagesForMdl, MmFreePagesFromMdl
and MmMapLockedPagesSpecifyCache.

svn path=/trunk/; revision=8550

20 years ago- Corrected processing import directories to handle case when executable imports...
Filip Navara [Sat, 6 Mar 2004 20:32:06 +0000 (20:32 +0000)]
- Corrected processing import directories to handle case when executable imports the same DLL more times.

svn path=/trunk/; revision=8549

20 years agoStarted VideoPortGetAgpServices, Allocate and ReleaseBuffer.
James Tabor [Sat, 6 Mar 2004 08:39:06 +0000 (08:39 +0000)]
Started VideoPortGetAgpServices, Allocate and ReleaseBuffer.

svn path=/trunk/; revision=8548

20 years ago2004-03-06 Filip Navara <xnavara@volny.cz>
Filip Navara [Sat, 6 Mar 2004 01:22:04 +0000 (01:22 +0000)]
2004-03-06  Filip Navara  <xnavara@volny.cz>

* drivers/video/videoprt/int10.c (VideoPortInt10):
Print more debug informations.
* drivers/video/videoprt/videoprt.c (VideoPortInitialize):
Prevent conflicts when more miniport drivers are loaded.
(VideoPortGetDeviceBase, VideoPortMapMemory, InternalMapMemory):
Change way of reporting error to prevent reporting error when
the resources were successfully mapped.
(VideoPortDDCMonitorHelper): Add stub.
(VidDispatchDeviceControl): Allocate memory from NonPagedPool.
Add debug messages.
* drivers/video/videoprt/videoprt.def (VideoPortDDCMonitorHelper):
Add export.
* drivers/video/videoprt/videoprt.edf (VideoPortDDCMonitorHelper):
Ditto.
* include/ddk/winddi.h (ENG_SYSTEM_ATTRIBUTE): Declare.
* include/win32k/driver.h (DRIVER_FindMPDriver): Change declaration.
* subsys/win32k/eng/surface.c (EngModifySurface): Implement.
* subsys/win32k/misc/driver.c (DRIVER_FindMPDriver):
Modify to open specific miniport driver depending on parameter.
* subsys/win32k/objects/dc.c (GetRegistryPath):
Add parameter to specify display driver number.
(FindDriverFileNames): Ditto.
(SetupDevMode): Ditto.
(IntCreateDC): Correct DPRINT.
(IntCreatePrimarySurface): Change to try more miniport drivers
before giving up.
* subsys/win32k/stubs/stubs.c (HeapVidMemAllocAligned, VidMemFree,
EngDitherColor, EngQuerySystemAttribute): Add stubs.
* subsys/win32k/win32k.edf (EngDitherColor, EngQuerySystemAttribute,
HeapVidMemAllocAligned, VidMemFree, EngModifySurface):
Add exports.
* subsys/win32k/win32k.def: Ditto.

svn path=/trunk/; revision=8547

20 years ago- Made it possible to allocate a pageop only if no other pageop for the given address...
Hartmut Birr [Fri, 5 Mar 2004 11:31:59 +0000 (11:31 +0000)]
- Made it possible to allocate a pageop only if no other pageop for the given address exist.
- Try to pageout a page only if no other access to the page exist.
- Gave a free page only to the next waiting request (in MmReleasePageMemoryConsumer),
  if sufficient free pages are available.

svn path=/trunk/; revision=8546

20 years ago- Changed the check for determining if the drawing destination is the screen or not.
Hartmut Birr [Fri, 5 Mar 2004 09:02:42 +0000 (09:02 +0000)]
- Changed the check for determining if the drawing destination is the screen or not.
- Fixed the order of calls to MouseSafetyOnDrawEnd in some functions.

svn path=/trunk/; revision=8545

20 years agoroute add and route delete now work on real windows with our iphlpapi.
Art Yerkes [Fri, 5 Mar 2004 04:50:01 +0000 (04:50 +0000)]
route add and route delete now work on real windows with our iphlpapi.

svn path=/trunk/; revision=8544

20 years ago2004-04-04 Filip Navara <xnavara@volny.cz>
Filip Navara [Fri, 5 Mar 2004 00:48:11 +0000 (00:48 +0000)]
2004-04-04  Filip Navara  <xnavara@volny.cz>

* drivers/net/afd/afd/dispatch.c (AfdDispGetName): Implement.
* drivers/net/afd/include/afd.h (TdiQueryInformation): Declare.
* drivers/net/tcpip/tcpip/dispatch.c (DispTdiQueryInformation):
Partially implement for TDI_QUERY_ADDRESS_INFO request.
* drivers/net/tcpip/transport/tcp/tcp.c (TCPiBuildPacket):
Don't use variable name NdisBuffer, because it causes conficts.

svn path=/trunk/; revision=8543

20 years agoCVS maintaince
Filip Navara [Thu, 4 Mar 2004 23:26:36 +0000 (23:26 +0000)]
CVS maintaince

svn path=/trunk/; revision=8542

20 years ago- Make the install depend on the targets to be installed (I don't know
David Welch [Thu, 4 Mar 2004 23:14:01 +0000 (23:14 +0000)]
- Make the install depend on the targets to be installed (I don't know
how anyone could service without this).

svn path=/trunk/; revision=8541

20 years ago- Fix for crash on gui exit caused by trying to free an uninitialized
David Welch [Thu, 4 Mar 2004 23:11:43 +0000 (23:11 +0000)]
- Fix for crash on gui exit caused by trying to free an uninitialized
variable.

svn path=/trunk/; revision=8540

20 years ago- Reenable the screen after setting the mode.
David Welch [Thu, 4 Mar 2004 23:01:19 +0000 (23:01 +0000)]
- Reenable the screen after setting the mode.

svn path=/trunk/; revision=8539

20 years agonew result buffer length parameter for SHELL_FindExecutable()
Martin Fuchs [Thu, 4 Mar 2004 21:12:11 +0000 (21:12 +0000)]
new result buffer length parameter for SHELL_FindExecutable()

svn path=/trunk/; revision=8538

20 years ago2004-03-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Thu, 4 Mar 2004 20:45:39 +0000 (20:45 +0000)]
2004-03-04  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* drivers/net/tcpip/tcpip/i386: New directory.
* drivers/net/tcpip/tcpip/i386/checksum.S: New file.
* drivers/net/tcpip/notes.txt: New file.
* drivers/net/afd/afd/dispatch.c (AfdDispCompleteListen): Signal ACCEPT
network event.
(AfdDispEventSelect): Reference event handle.
* drivers/net/afd/afd/tdi.c (TdiListen): Remove unused event.
Move Iosb and RequestConnectionInfo to AFD_LISTEN_REQUEST structure.
* drivers/net/afd/include/afd.h (AFDFCB): Replace EventObjects with
EventObject of type PKEVENT.
* drivers/net/tcpip/makefile (ARCH_OBJECTS): New variable.
(TARGET_OBJECTS): Add ARCH_OBJECTS.
* drivers/net/tcpip/include/address.h (AddrCloneAddress): New prototype.
* drivers/net/tcpip/include/checksum.h (ChecksumFold, csum_partial): New
prototype.
(TCPv4Checksum): New macro.
(CorrectChecksum): Rename to IPv4CorrectChecksum.
(TCPv4CorrectChecksum): New macro.
* drivers/net/tcpip/include/ip.h (IPv4_DF_MASK): New constant.
* drivers/net/tcpip/include/tcp.h (TCP_XXX): Correct constants.
(TCPCreateSegment, TCPFreeSegment, TCPAddSegment): Prototype.
* drivers/net/tcpip/include/titypes.h (TCP_SEND_REQUEST): Add SequenceNumber
and AckNumber.
(TCP_SEGMENT): New structure.
(CONNECTION_ENDPOINT): Add ListenRequest and ReceivedSegments.
* drivers/net/tcpip/network/transmit.c (SendFragments): Release memory
for Data on failure.
* drivers/net/tcpip/tcpip/address.c (AddrCloneAddress): New function.
* drivers/net/tcpip/tcpip/checksum.c (ChecksumFold): Factor out folding
from ChecksumCompute.
* drivers/net/tcpip/tcpip/dispatch.c (DispTdiListen): Support asynchronous
operation.
* drivers/net/tcpip/tcpip/fileobjs.c (FileOpenAddress): Don't cast to
PTDI_ADDRESS_IP.
Initialize ReceivedSegments.
* drivers/net/tcpip/tcpip/routines.c (DisplayIPHeader): New function.
(DisplayIPPacket): Call DisplayIPHeader().
(DisplayTCPHeader): Change format strings.
* drivers/net/tcpip/transport/tcp/tcp.c (IPIdentification,
TCPSegmentList): Add.
(TCPCreateSegment, TCPFreeSegment, TCPAddSegment,
TCPBuildAndTransmitSendRequest2, TCPiSelectISS, TCPiReceiveListen,
TCPiReceiveSynSent, TCPiReceiveSynReceived, TCPiReceiveData): New
function.
(TCPiBuildPacket): Build segment.
(TCPStartup): Initialize TCPSegmentList.
(TCPShutdown): Cleanup TCPSegmentList.

svn path=/trunk/; revision=8537

20 years agoAdded .cvsignore I forgot about.
Steven Edwards [Thu, 4 Mar 2004 19:00:44 +0000 (19:00 +0000)]
Added .cvsignore I forgot about.

svn path=/trunk/; revision=8536

20 years agoEnable the rest of the stubs needed to get Hello-WinCE working.
Steven Edwards [Thu, 4 Mar 2004 18:55:44 +0000 (18:55 +0000)]
Enable the rest of the stubs needed to get Hello-WinCE working.
No the hello world app still doesnt work. Only the messagebox app works.

svn path=/trunk/; revision=8535

20 years ago- Cleaned up the Boot Video driver.
Filip Navara [Thu, 4 Mar 2004 18:55:09 +0000 (18:55 +0000)]
- Cleaned up the Boot Video driver.
- Replaced most of the magic numbers by defines.
- Changed the video mode setting to directly program the VGA registers instead of using Ke386CallBios.
- Properly map the video memory.

svn path=/trunk/; revision=8534

20 years agoAdded a stub implementation of commctrl.dll for WinCE support
Steven Edwards [Thu, 4 Mar 2004 18:54:21 +0000 (18:54 +0000)]
Added a stub implementation of commctrl.dll for WinCE support

svn path=/trunk/; revision=8533

20 years ago- Implemented VideoPortEnableInterrupt and VideoPortDisableInterrupt.
Filip Navara [Thu, 4 Mar 2004 18:51:58 +0000 (18:51 +0000)]
- Implemented VideoPortEnableInterrupt and VideoPortDisableInterrupt.

svn path=/trunk/; revision=8532

20 years ago- Changed Video Mode setting routines to directly modify VGA registers instead on...
Filip Navara [Thu, 4 Mar 2004 18:49:58 +0000 (18:49 +0000)]
- Changed Video Mode setting routines to directly modify VGA registers instead on relying on Int 0x10 services.
- Removed unused code.

svn path=/trunk/; revision=8531

20 years agoCVS maintaince
Filip Navara [Thu, 4 Mar 2004 18:45:16 +0000 (18:45 +0000)]
CVS maintaince

svn path=/trunk/; revision=8530

20 years agoGet a simple WinCE x86 MessageBox program to load.
Steven Edwards [Thu, 4 Mar 2004 18:24:29 +0000 (18:24 +0000)]
Get a simple WinCE x86 MessageBox program to load.

svn path=/trunk/; revision=8529

20 years agoNtGdiPolygon simplification
Royce Mitchell III [Thu, 4 Mar 2004 01:50:26 +0000 (01:50 +0000)]
NtGdiPolygon simplification

svn path=/trunk/; revision=8528

20 years agocleanup
Gunnar Dalsnes [Thu, 4 Mar 2004 01:30:00 +0000 (01:30 +0000)]
cleanup

svn path=/trunk/; revision=8527

20 years agodisable apc's for work items
Gunnar Dalsnes [Thu, 4 Mar 2004 01:29:24 +0000 (01:29 +0000)]
disable apc's for work items

svn path=/trunk/; revision=8526