Commit graph

9264 commits

Author SHA1 Message Date
Eric Kohl c792e5b04c Fix typos.
svn path=/trunk/; revision=9696
2004-06-17 10:49:51 +00:00
Eric Kohl 06e579a944 Compile advapi32 using w32api.
svn path=/trunk/; revision=9695
2004-06-17 09:07:12 +00:00
Art Yerkes 0766c089ec This makes RtlUnicodeStringToInteger work like the win2k version. Basically
this function never checks the validity of the input string and only returns
an error when the Base argument is set incorrectly.

This fixes the bug while booting vmware with the pcnet card on.

svn path=/trunk/; revision=9694
2004-06-17 03:47:39 +00:00
Eric Kohl 7d375e8c48 Add some missing error codes.
svn path=/trunk/; revision=9693
2004-06-16 22:13:19 +00:00
Filip Navara 4e81faa948 - Bump version number to 0.2.4.
svn path=/trunk/; revision=9691
2004-06-16 21:42:24 +00:00
Eric Kohl f38668e736 Add keyboard detection.
svn path=/trunk/; revision=9690
2004-06-16 20:21:20 +00:00
Gé van Geldorp 0a30ec98a3 Update porting status
svn path=/trunk/; revision=9688
2004-06-16 18:50:19 +00:00
Gé van Geldorp b3e8303421 Sync to Wine-20040615:
Robert Reif <reif@earthlink.net>
- Added some trace and debug printing.
- Fixed a problem were a trace accesses a data member that may be
  outside of the actual data structure passed in.
- Added some more debug traces.
- Don't try to map the mapper device.
Mike McCormack <mike@codeweavers.com>
- Fix PlaySound.
Eric Pouech <pouech-eric@wanadoo.fr>
- GetModuleFileName[AW] doesn't terminate the string if the buffer is
  too small.
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
- Fixed missing inversion in bit manipulation.
Ivan Leo Puoti <puoti@inwind.it>
- Changed my name, so update copyright info.

svn path=/trunk/; revision=9686
2004-06-16 18:48:46 +00:00
Gé van Geldorp a41cfac6b9 Sync to Wine-20040615:
Robert Reif <reif@earthlink.net>
- Added tracing to all functions.
- Added error explanations.
- Changed debug channel from msacm to wavemap so not confused with
  msacm.
- Handle case where partial structure update requested.
- Minor white space cleanup.
- Returns proper error code when trying to get caps when no devices
  present.
- Fixed a bug where wrong a return value was returned when mapping is
  not possible.

svn path=/trunk/; revision=9685
2004-06-16 18:40:05 +00:00
Gé van Geldorp fd397eeccd Sync to Wine-20040615:
Hans Leidekker <hans@it.vu.nl>
- Link to ntdll.
Raphael Junqueira <fenix@club-internet.fr>
- Stub for SHFlushSFCacheWrap.
Eric Pouech <pouech-eric@wanadoo.fr>
- GetModuleFileName[AW] doesn't terminate the string if the buffer is
  too small.
Stefan Leichter <Stefan.Leichter@camLine.com>
- Moved stub of StopWatch from ascii to unicode.

svn path=/trunk/; revision=9684
2004-06-16 18:27:33 +00:00
Gé van Geldorp 2b3293eb3a Sync to Wine-20040615:
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Fix ref count on standard proxy creation.
- Release channel buffer in StdMarshal_UnmarshalInterface, since we no
  longer use it and the proxy should have taken a reference on it.
- Add a few comments.
Eric Pouech <pouech-eric@wanadoo.fr>
- GetModuleFileName[AW] doesn't terminate the string if the buffer is
  too small.
Patrik Stridvall <ps@leissner.se>
- Fixed some issues found by winapi_check.

svn path=/trunk/; revision=9683
2004-06-16 18:21:24 +00:00
Gé van Geldorp 129d08fec4 Sync to Wine-20040615:
Ivan Leo Puoti <puoti@inwind.it>
- Changed my name, so update copyright info.

svn path=/trunk/; revision=9682
2004-06-16 18:13:23 +00:00
Filip Navara 4addf164b6 - Disable the "Floppy count: x" debug message.
svn path=/trunk/; revision=9681
2004-06-16 16:59:27 +00:00
Gé van Geldorp 92599b546e Sync to Wine-20040615:
Marcus Meissner <marcus@jet.franken.de>
- Revert broken strict aliasing fix.
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Fix ref count on standard proxy creation.
- Release channel buffer in StdMarshal_UnmarshalInterface, since we no
  longer use it and the proxy should have taken a reference on it.
- Add a few comments.
- Fixed CoMarshalInterThreadInterfaceInStream and
  CoGetInterfaceAndReleaseStream.
Patrik Stridvall <ps@leissner.se>
- Fixed some issues found by winapi_check.

svn path=/trunk/; revision=9680
2004-06-16 07:06:50 +00:00
Gé van Geldorp 6c4df3df68 Sync to Wine-20040615:
Patrik Stridvall <ps@leissner.se>
- Fixed some issues found by winapi_check.
Krishna Murthy <Krishna.Murthy@guptaworldwide.com>
- WNetGetConnection(): use QueryDosDevice to return a fake remote name
  instead of the drive label.

svn path=/trunk/; revision=9679
2004-06-16 06:58:48 +00:00
Gé van Geldorp e054bf54e2 Sync to Wine-20040615:
Ivan Leo Puoti <puoti@inwind.it>
- Changed my name, so update copyright info.
Ilya Korniyko <k_ilya@ukr.net>
- Encoding fixes in Ukrainian translation.
Wolfgang Schwotzer <wolfgang.schwotzer@gmx.net>
- Support lpstrCustomFilter and return nFilterIndex in file dialog.
Rein Klazes <rklazes@xs4all.nl>
- In FILEDLG_ScanDir do not try to set the current directory to a path
  that is empty.

svn path=/trunk/; revision=9678
2004-06-16 06:54:39 +00:00
Gé van Geldorp 11761ed436 Sync to Wine-20040615:
Maxime Bellenge <maxime.bellenge@laposte.net>
- Implemented PSH_WIZARD97_OLD and PSH_WIZARD97_NEW property sheet
  styles.
- Add DT_END_ELLIPSIS as defaut style for text.
Ilya Korniyko <k_ilya@ukr.net>
- Encoding fixes in Ukrainian translation.
Filip Navara <xnavara@volny.cz>
- Let the subclassing stack grow the opposite way to make the code
  more transparent.
- Remove SubclassWndProc and move its logic to DefSubclassProc.
Dimitrie O. Paun <dpaun@rogers.com>
- Clear the state image bits only if LVS_EX_CHECKBOXES is set.
- Fix obvious logical error in focus handling.
- Indentation and formatting fixes.
- (based on a patch by Krishna Murthy).
Ulrich Czekalla <ulrich@codeweavers.com>
- Handle case where iterator range contains 0 elements.
- Handle case when item text is empty.
  According to MSDN, length should be returned when lParam is NULL.
Patrik Stridvall <ps@leissner.se>
- StrSpnW doesn't exist in comctl32.dll but StrCSpnW does.
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Implemented TCM_SETITEMEXTRA.
Robert Shearman <R.J.Shearman@warwick.ac.uk>
- Don't draw whole button pressed when separate dropdown pressed, just
  the separate dropdown itself.
- TBN_DRAGOUT and NM_RDBLCLK notifications.
- Remove unneeded member of private toolbar struct.

svn path=/trunk/; revision=9677
2004-06-16 06:46:13 +00:00
Gé van Geldorp dc9dfeec01 Remove debug stuff accidentaly left in
svn path=/trunk/; revision=9676
2004-06-16 06:18:14 +00:00
Gé van Geldorp fbfd3a4820 Marshall WM_CREATE/WM_NCCREATE messages
svn path=/trunk/; revision=9675
2004-06-16 06:09:40 +00:00
Gé van Geldorp 3cca4fd859 Build "new" floppy driver instead of non-functional "old" one
svn path=/trunk/; revision=9674
2004-06-15 22:33:47 +00:00
Eric Kohl 2fbcaac90d Detect floppy disk drives.
svn path=/trunk/; revision=9673
2004-06-15 12:22:19 +00:00
Hartmut Birr cfef139c5b - Reduced the size of the necessary inquiry data length to recognize a device as valid.
svn path=/trunk/; revision=9672
2004-06-15 09:29:41 +00:00
Hartmut Birr 4536f9c25b - Interpret the sign for qualifier 'l'.
svn path=/trunk/; revision=9671
2004-06-15 08:53:53 +00:00
Hartmut Birr aefc8f79e7 - Initialized the variable status to get on success a proper return value.
svn path=/trunk/; revision=9670
2004-06-15 08:17:23 +00:00
Art Yerkes 5fd39d97bb recv now works every time
- Standardized on recvfrom request and reply everywhere
- Added a continuous parameter to FillWSABuffers for stream sockets
- Added function TryToSatisfyRecvRequest
- Create MDLs for the WSABUFS.  These are needed because we aren't in our
  home process when tcpip calls back with data.
- Removed extraneous and potentially confusing lock ReadRequestQueueLock
  Now both ReadRequestQueue and ReceiveQueue rely on ReceiveQueueLock

svn path=/trunk/; revision=9669
2004-06-15 02:56:13 +00:00
Filip Navara 9725dc0746 - Update trasformation matrix in SetViewportOrgEx.
svn path=/trunk/; revision=9668
2004-06-14 20:58:51 +00:00
Filip Navara 4cb0e04a46 - Packing fixes
svn path=/trunk/; revision=9667
2004-06-14 20:05:00 +00:00
Art Yerkes 0999a0ef81 Preliminary version of recv.
svn path=/trunk/; revision=9666
2004-06-14 03:22:27 +00:00
Art Yerkes f773e32aab rawip: Removed the deallocation of the client-supplied mdl. This does not
appear to be part of the definition and is not done in the UDP case.
event: I moved the close notify into it's own function so that it can be
worked on separately.

svn path=/trunk/; revision=9665
2004-06-14 01:40:48 +00:00
Filip Navara 6435dec245 - Compile kernel32 using w32api.
- Fixed some packing issues in DDK headers (more to come).

svn path=/trunk/; revision=9664
2004-06-13 20:04:56 +00:00
Filip Navara 3aa5dd5be2 - Fixed list traversing in MmAlterRegion to correctly handle Length that is greater than real memory area size.
svn path=/trunk/; revision=9663
2004-06-13 14:05:53 +00:00
Martin Fuchs 1a9133bf9b Unicode fix
svn path=/trunk/; revision=9662
2004-06-13 12:56:39 +00:00
Martin Fuchs 9ca2c517db XMLStorage update: XMLReaderBase
svn path=/trunk/; revision=9661
2004-06-13 12:45:29 +00:00
Filip Navara ebb7ad1e4a - Fixed prototypes of NtAddAtom, NtFindAtom, NtProtectVirtualMemory and KeQueryInterruptTime.
svn path=/trunk/; revision=9660
2004-06-13 10:35:53 +00:00
Art Yerkes 25ae3e20a7 Removed redundant tracking (now incorporated into NdisAllocatePacket, etc)
that was causing a bugcheck in the 'ping to us' case.  The memory was detected
tracked twice (correctly).

This condition was detected by mifritcher after I checked in.

svn path=/trunk/; revision=9659
2004-06-12 04:46:18 +00:00
Gé van Geldorp 57c3c75356 Set MaximumLength to size of allocated memory
svn path=/trunk/; revision=9658
2004-06-11 20:15:07 +00:00
Gé van Geldorp b2e222b305 Patch by Michael Fritscher <michael@fritscher.net>
Add /? and /s cmdline options

svn path=/trunk/; revision=9657
2004-06-11 14:10:12 +00:00
Gé van Geldorp 58b454b469 Patch by Michael Fritscher <michael@fritscher.net>
Fix CVS warnings.

svn path=/trunk/; revision=9656
2004-06-11 13:59:16 +00:00
Eric Kohl 839baba4ae The root bus driver should return an empty resource list on IRP_MN_QUERY_RESOURCES.
svn path=/trunk/; revision=9655
2004-06-11 09:33:42 +00:00
Gé van Geldorp ab0a1921c1 Prevent CVS warnings about .*.d files
svn path=/trunk/; revision=9654
2004-06-11 09:10:17 +00:00
Eric Kohl fbda4aa735 Retrieve Hardware IDs and Compatible IDs from the bus driver and attach them to the device node.
svn path=/trunk/; revision=9653
2004-06-10 11:00:28 +00:00
Hartmut Birr 00df170a8a - Enabled the dependency check for the storage drivers.
svn path=/trunk/; revision=9652
2004-06-10 08:20:20 +00:00
Hartmut Birr 5f843bef93 - Use a bitmap for managing the srb extensions.
- Removed the complete request and next request counter.
  The counters are always wrong, because some miniport drivers fires up
  to much notification requests.
- Enable the queues for the miniport driver, if they are supported.
- Fixed a bug in ScsiPortCompleteRequest.

svn path=/trunk/; revision=9651
2004-06-10 08:14:57 +00:00
Hartmut Birr b5273a652c - Allocate for each srb its one sense info buffer.
- Reinitialize the transfer size if a retry is necessary in ScsiClassSendSrbSynchronous.

svn path=/trunk/; revision=9650
2004-06-10 07:56:42 +00:00
Hartmut Birr c3e66860e4 - Exchanged source and target in WRITE_REGISTER_BUFFER_xxx.
svn path=/trunk/; revision=9649
2004-06-10 07:50:30 +00:00
Steven Edwards 5298bf9c05 added \n for DPRINT
svn path=/trunk/; revision=9648
2004-06-09 20:39:41 +00:00
Art Yerkes c1d0686eaa This is a merge onto head of the last two months worth of changes to the
networking code.

There is individual change info on the branch arty_20040329.

Here is a summary of what changed:

tcpip:

- Added a mostly working transport/tcp branch based on oskittcp
  (checked in at drivers/lib/oskittcp).  This code shares almost nothing
  with the previous version.

- Regularized IRP handling

- Fixed ownership of buffers throughout tcpip.sys.  Buffers are now
  required to be copied in a few more cases, but everybody can call
  anybody else and not have to worry about keeping a buffer alive
  for any specific reason.

- Also moved lots more operations onto the stack (small datastructures
  and pointers).  This will result in a further simplification of the
  code here.

- Made each completion routine solely responsible for freeing memory
  from the corresponding action.

- Removed reference counted small address structures in favor if inlines

- Changed and clarified ownership rules almost everwhere

- Fixed a few more type punning style errors

- Added more info used by iphlpapi

- Added some memory tracing stuff

ndis:

- Fixed one or two type punning errors

ws2_32:

- Added getservbyname and getprotobyname (partial)

oskittcp:

- Diagnostics everywhere

- Eliminated dependence on raw_ip input

- Simplified buffering and signalling model a bit

- Added memory checking as in tcpip

- more to come

svn path=/trunk/; revision=9647
2004-06-09 18:11:39 +00:00
Eric Kohl 25e4bf3404 Build Hardware IDs and Compatible IDs for PCI devices.
svn path=/trunk/; revision=9646
2004-06-09 14:22:53 +00:00
Filip Navara 869566fc97 - Correctly set Irp->IoStatus.Information when handling IOCTL_BOOTVID_INITIALIZE request. This fixes the occasional page faults during bugchecks when NTOSKRNL:InbvResetDisplay tried to call function pointed by uninitialized variable.
svn path=/trunk/; revision=9645
2004-06-08 19:31:10 +00:00
Hartmut Birr a51ef0df37 - Fixed the counting of pending irps.
svn path=/trunk/; revision=9644
2004-06-07 20:03:00 +00:00