Looking for help to implement IOCTL_SCSI_PASS_THROUGH_DIRECT

2002-04-12 Thread Laurent Pinchart
Hi, I need to implement IOCTL_SCSI_PASS_THROUGH_DIRECT for cdroms (and a few other IOCTLs, like IOCTL_SCSI_GET_ADDRESS). As I don't have enough SCSI & cdrom handling experience, I wonder if someone could help me getting started. Should I use the linux CDROM_SEND_PACKET ioctl ? If so, how shou

Re: update to regression testing framework

2002-04-12 Thread Paul Millar
On 11 Apr 2002, Alexandre Julliard wrote: > I think it's much more useful to have line numbers, it makes it much > easier to find the offending test. If they don't have a meaningful name, sure, but if the name is suitably unique then grep -n, /, or Ctrl+S should work. > Most tests scripts will

Re: Patch series for async socket IO & winsock2

2002-04-12 Thread Paul Rupe
On 12 Apr 2002, [EMAIL PROTECTED] wrote: > As I said in yesterday's "good news/bad news" posting, this is work in > progress and far from being complete. However, I strongly need > feedback and perhaps some testing by adventurous people. > > Anybody out there with an app that uses overlapped soc

Re: Patch: sock-shutdown.diff (9 in series)

2002-04-12 Thread Dimitrie O. Paun
On April 12, 2002 11:24 am, Martin Wilck wrote: > +/*** > + * WS2_async_shutdown (INTERNAL) > + * > + * On overlapped sockets, shutdown() must be done asynchronously. > + */ > +static void WS2_async_shutdown ( a

Re: Patch: sock-shutdown-file.diff (11 in series)

2002-04-12 Thread Dimitrie O. Paun
On April 12, 2002 11:25 am, Martin Wilck wrote: > +if ( flags & FD_FLAG_RECV_SHUTDOWN ) { > +/* Fixme: WSAESHUTDOWN is unavailable */ ^^ Don't we want these things as FIXME("WSAESHUTDOWN is unavailable") so we see when we need to fix things? -- Dimi.

Re: PATCH: accept-deferred.diff (5 in series)

2002-04-12 Thread Dimitrie O. Paun
On April 12, 2002 11:20 am, Martin Wilck wrote: > /*** > + * WSAConnect (WS2_32.30) > + */ > +int WINAPI WSAConnect ( SOCKET s, const struct WS_sockaddr* name, int > namelen, +LPWS

PATCH: accept-deferred.diff (5 in series)

2002-04-12 Thread Martin Wilck
PATCH: accept-deferred.diff If a connection request is deferred in a call to WSAAccept(), a subsequent accept()/WSAAccept() call must return the previously deferred connection rather than a new one. The current CVS implementation of WSAAccept is wrong in this respect. This patch fixes this. Fur

PATCH: async-sock-server.diff (7 in series)

2002-04-12 Thread Martin Wilck
PATCH: async-sock-server.diff Basic implementation of async IO queues in the server code for sockets. Patch against: CVS-2002-04-12, with my sock-fd-type patch applied. Modified files: server: sock.c diff -ruNX ignore TMP/wine/server/sock.c MW/wine/server/sock.c --- TMP/wine/server/s

Patch: sock-shutdown-file.diff (11 in series)

2002-04-12 Thread Martin Wilck
Patch: sock-shutdown-file.diff Enables error handling if ReadFile() WriteFile() are called on a socket after the respective channel of the socket was shut down. Patch against: CVS 2002-04-12, with my previously submitted patches applied. Modified files: files: file.c --- TMP/

Patch: sock-shutdown.diff (9 in series)

2002-04-12 Thread Martin Wilck
Sorry I got the numbers wrong - there is no number 6 :-/ Patch: sock-shutdown.diff On overlapped sockets, shutdown() must be done asynchronously too to avoid premature closing of connections (necessary but unfortunately not sufficient). This patch queues the shutdown request in the async queue.

Patch: wait-debug.diff (10 in series)

2002-04-12 Thread Martin Wilck
Patch: wait-debug.diff Introduce a debug channel for WaitForMultipleObjectsEx() in scheduler/synchro.c - I found this very useful to debug my asynchronous socket code. Moreover, include "async.h" _after_ declaring debug channels so that TRACEs can be used in the static functions in async.h. Pa

Patch: async-winsock.diff (8 in series)

2002-04-12 Thread Martin Wilck
Patch: async-winsock.diff Basic implementation of asynchronous WSARecvFrom()/WSASendTo()/WSAGetOverlappedResult(), client side. Patch against: CVS 2002-04-12, with my sock-fd-type and sock-accept-deferred patches applied. Also requires the server side patch (async-sock-server). Modif

Patch: async-file.diff (4 in series)

2002-04-12 Thread Martin Wilck
Patch: async-file.diff Some improvements to the async IO API. - Need a "cleanup" method. - calling the "call_completion" method unconditionally in finish_async (introduced by me) was wrong, because the thread may never be in an alertable wait state -> call it only if user completion functi

PATCH: winemaker.diff (3 in series)

2002-04-12 Thread Martin Wilck
PATCH: winemaker.diff (identical to: http://www.winehq.com/hypermail/wine-devel/2002/04/0187.html) Fix winemaker-generated references to dlls that have changed their names in configure.ac. Patch against: Wine CVS 2002-04-12 Modified Files: tools: winemaker diff -ruNX ignore TMP/wine

PATCH: sock-fd-type.diff (2 in series)

2002-04-12 Thread Martin Wilck
PATCH: sock-fd-type.diff Patch against: Wine CVS 2002-04-12 Test status: Compiles (no errors/warnings). Modified Files: dlls/winsock: socket.c Log message: Martin Wilck <[EMAIL PROTECTED]> _get_sock_fd_type : New function, retrieve fd type and flags like FIL

PATCH: async-immediate.diff (1 in series)

2002-04-12 Thread Martin Wilck
PATCH: async-immediate.diff (Resubmission of http://www.winehq.com/hypermail/wine-patches/2002/04/0021.html) This patch uses a more elegant and (IMO) more wine-ish method to check for possible immediate completion of asynchronous IO requests in ReadFile() and WriteFile(). The implementation in

Patch series for async socket IO & winsock2

2002-04-12 Thread Martin Wilck
Hi, I will soon start submitting this week's work on async sockets. As I said in yesterday's "good news/bad news" posting, this is work in progress and far from being complete. However, I strongly need feedback and perhaps some testing by adventurous people. Anybody out there with an app that

Re: Make dumping more robust

2002-04-12 Thread Uwe Bonnes
> "juergen" == juergen schmied <[EMAIL PROTECTED]> writes: juergen> I just rewrote the dumping of pidl's because the dumping itself juergen> produces lots of relay/snoop messages. So I made it not call juergen> any other functions. Will send it soon. Nice to hear :-) -- Uwe B

Re: Make dumping more robust

2002-04-12 Thread juergen . schmied
I just rewrote the dumping of pidl's because the dumping itself produces lots of relay/snoop messages. So I made it not call any other functions. Will send it soon. juergen

WM_WINHELP, was: Re: Handling of messages above WM_USER in pack_message

2002-04-12 Thread Uwe Bonnes
> "Alexandre" == Alexandre Julliard <[EMAIL PROTECTED]> writes: Alexandre> Uwe Bonnes <[EMAIL PROTECTED]> writes: >> I don't know if this global approach is valid, but at least it helped >> me to get winhlp32 working called with WinHelpA from an >> application. In what other w