Commit graph

8409 commits

Author SHA1 Message Date
Filip Navara
5c13959830 - 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
2004-03-07 11:59:43 +00:00
Filip Navara
fceb231b0e - 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
2004-03-07 11:59:10 +00:00
David Welch
4a88989b85 - Added an implementation of LdrFindImageProcAddress.
svn path=/trunk/; revision=8561
2004-03-07 04:44:41 +00:00
David Welch
75860969fe - 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
2004-03-07 04:43:55 +00:00
David Welch
ff81e5e1b0 - 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
2004-03-07 04:38:41 +00:00
KJK::Hyperion
7682e4ce80 Fiber switching code fixed
svn path=/trunk/; revision=8558
2004-03-07 04:00:39 +00:00
KJK::Hyperion
cdf117484b Added fiber test
svn path=/trunk/; revision=8557
2004-03-07 03:48:47 +00:00
KJK::Hyperion
75c1012851 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
2004-03-07 03:15:20 +00:00
Hartmut Birr
a30e1be179 - 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
2004-03-06 23:09:23 +00:00
David Welch
de9089e707 - Added padding to align VIDEO_PORT_CONFIG_INFO.VdmPhysicalVideoMemoryAddress
and subsequent members the same as visualc.

svn path=/trunk/; revision=8554
2004-03-06 22:27:55 +00:00
David Welch
1f3378866b - Forgot this file.
svn path=/trunk/; revision=8553
2004-03-06 22:26:05 +00:00
David Welch
30aec6e5f7 - Added stubs for some of the new w2k/xp functions.
svn path=/trunk/; revision=8552
2004-03-06 22:25:22 +00:00
David Welch
b041530f2d - 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
2004-03-06 22:24:14 +00:00
David Welch
957b856245 - Added stub implementations of MmAllocatePagesForMdl, MmFreePagesFromMdl
and MmMapLockedPagesSpecifyCache.

svn path=/trunk/; revision=8550
2004-03-06 22:21:20 +00:00
Filip Navara
c3d3178f3e - Corrected processing import directories to handle case when executable imports the same DLL more times.
svn path=/trunk/; revision=8549
2004-03-06 20:32:06 +00:00
James Tabor
fa714393ca Started VideoPortGetAgpServices, Allocate and ReleaseBuffer.
svn path=/trunk/; revision=8548
2004-03-06 08:39:06 +00:00
Filip Navara
f1d20bbf54 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
2004-03-06 01:22:04 +00:00
Hartmut Birr
30264d875a - 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
2004-03-05 11:31:59 +00:00
Hartmut Birr
35cd217de4 - 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
2004-03-05 09:02:42 +00:00
Art Yerkes
a57c52276e route add and route delete now work on real windows with our iphlpapi.
svn path=/trunk/; revision=8544
2004-03-05 04:50:01 +00:00
Filip Navara
1f2169eb29 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
2004-03-05 00:48:11 +00:00
Filip Navara
7963bf3535 CVS maintaince
svn path=/trunk/; revision=8542
2004-03-04 23:26:36 +00:00
David Welch
876b2d6ed6 - 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
2004-03-04 23:14:01 +00:00
David Welch
c77f9d0572 - Fix for crash on gui exit caused by trying to free an uninitialized
variable.

svn path=/trunk/; revision=8540
2004-03-04 23:11:43 +00:00
David Welch
45a3ee5da7 - Reenable the screen after setting the mode.
svn path=/trunk/; revision=8539
2004-03-04 23:01:19 +00:00
Martin Fuchs
72eafe1583 new result buffer length parameter for SHELL_FindExecutable()
svn path=/trunk/; revision=8538
2004-03-04 21:12:11 +00:00
Casper Hornstrup
318a90741d 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
2004-03-04 20:45:39 +00:00
Steven Edwards
0d2b52fb76 Added .cvsignore I forgot about.
svn path=/trunk/; revision=8536
2004-03-04 19:00:44 +00:00
Steven Edwards
5bc9888562 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
2004-03-04 18:55:44 +00:00
Filip Navara
a2f24f38dc - 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
2004-03-04 18:55:09 +00:00
Steven Edwards
5c30d2cc66 Added a stub implementation of commctrl.dll for WinCE support
svn path=/trunk/; revision=8533
2004-03-04 18:54:21 +00:00
Filip Navara
499908b04f - Implemented VideoPortEnableInterrupt and VideoPortDisableInterrupt.
svn path=/trunk/; revision=8532
2004-03-04 18:51:58 +00:00
Filip Navara
eab00ba2a1 - 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
2004-03-04 18:49:58 +00:00
Filip Navara
1849adaa6b CVS maintaince
svn path=/trunk/; revision=8530
2004-03-04 18:45:16 +00:00
Steven Edwards
b6c0920b60 Get a simple WinCE x86 MessageBox program to load.
svn path=/trunk/; revision=8529
2004-03-04 18:24:29 +00:00
Royce Mitchell III
856035ab09 NtGdiPolygon simplification
svn path=/trunk/; revision=8528
2004-03-04 01:50:26 +00:00
Gunnar Dalsnes
cdd8158e28 cleanup
svn path=/trunk/; revision=8527
2004-03-04 01:30:00 +00:00
Gunnar Dalsnes
3c737e0e68 disable apc's for work items
svn path=/trunk/; revision=8526
2004-03-04 01:29:24 +00:00
Filip Navara
07892f4f36 - Don't zero memory allocated by ExAllocatePool.
- Fix font enumeration algorithm to not depend on zeroed memory. (Harmut Birr)

svn path=/trunk/; revision=8525
2004-03-04 00:07:03 +00:00
Steven Edwards
2bb6230071 Created a Edf file.
Commented the rest of the functions out pending my testing
of the WinCE MessageBox app tonight.

svn path=/trunk/; revision=8524
2004-03-03 23:27:27 +00:00
Martin Fuchs
f4ce2a5433 correct jump_to() functions
svn path=/trunk/; revision=8523
2004-03-03 20:33:21 +00:00
Martin Fuchs
30f3bfac23 add opened files to the "recent documents" list
svn path=/trunk/; revision=8522
2004-03-03 20:29:52 +00:00
Martin Fuchs
d39b5e77aa add opened files to the "recent documents" list
svn path=/trunk/; revision=8520
2004-03-03 20:29:51 +00:00
Martin Fuchs
556bf3a4ef new cmdlen parameter for SHELL_FindExecutablebyOperation()
svn path=/trunk/; revision=8519
2004-03-03 20:11:31 +00:00
Martin Fuchs
18f3babce6 merge Wine commit about:
Modified files:
	dlls/shell32   : shlexec.c

Log message:
	Martin Fuchs <martin-fuchs@gmx.net>
	Fix buffer length usage for RegQueryValueW() calls at various places.

Patch: http://cvs.winehq.org/patch.py?id=11331

svn path=/trunk/; revision=8518
2004-03-03 19:26:58 +00:00
Steven Edwards
8a70e9b5a5 Working on Making ReactOS run Windows CE apps........
Dont expect much yet. this is a work in progress.

svn path=/trunk/; revision=8517
2004-03-03 19:11:20 +00:00
Royce Mitchell III
c2923708cd patch by m-t and myself: fixes RoundRect compatibility issue.
svn path=/trunk/; revision=8515
2004-03-03 06:33:58 +00:00
Royce Mitchell III
2a6974f355 patch by m-t: small patch to improve compatibility.
svn path=/trunk/; revision=8514
2004-03-03 04:09:20 +00:00
Steven Edwards
287ae57914 Removed paint and wordpad dummy files
svn path=/trunk/; revision=8513
2004-03-03 03:43:40 +00:00
David Welch
12090241ff - Make dependency files depend on generated headers.
svn path=/trunk/; revision=8512
2004-03-02 22:36:18 +00:00