Commit Graph

312 Commits

Author SHA1 Message Date
James Juran 49c779a862 Prevent warnings about labels at end of switch statements when
compiling with gcc-3.x.
2001-11-19 02:24:14 +00:00
Francois Gouget 1eb023dc7e Better relaying for _lcreat. 2001-11-19 02:08:34 +00:00
Gerson Kurz d13e6a9a93 Parity settings were not set properly in BuildCommDCBAndTimeouts()
because of an off-by-one error.
2001-11-12 15:49:08 +00:00
Mike McCormack 309ed4e1f1 Make ConnectNamedPipe work in overlapped mode. 2001-11-07 20:14:45 +00:00
Mike McCormack 37f61c45de Ignore DSR/DTR flow control in DCB. termios doesn't support it. 2001-11-07 20:13:25 +00:00
Francois Gouget 070e749cfb Don't prefix %p with 0x.
Various English fixes.
2001-11-06 21:01:32 +00:00
François Gouget 1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Mike McCormack c5ea29f99b Return TRUE on success in COMM_BuildOldCommDCB.
DCB16.BaudRate > 57600 means 115200.
OpenComm16 should use overlapped I/O.
2001-10-21 15:01:20 +00:00
Francois Gouget 386cf6e342 When including 'wine/port.h', include it first.
Remove redundant 'config.h' includes.
2001-10-14 16:25:47 +00:00
Francois Gouget 141039a54c Move the RT_XXX macros to winuser.h.
winuser.h: Add support for NOGDI.
winuser.h: Modify to allow compilation without wingdi.h.
2001-10-10 02:51:24 +00:00
Stefan Leichter 32aee1ae11 Added defines for resource types RT_MESSAGETABLE, RT_VERSION. 2001-10-05 19:44:33 +00:00
Marcus Meissner 8934496bb3 Enhanced GetCalendarInfo stub, added known CAL_* defines. 2001-09-10 23:08:39 +00:00
Mike McCormack f2e7ce7f6a Implemented GetNamedPipeInfo. 2001-08-27 19:03:42 +00:00
Mike McCormack 4192f9aa29 Add stubs for several named pipe functions. 2001-08-24 19:15:35 +00:00
Mike McCormack bf55457f24 Implement WaitNamedPipe and DisconnectNamedPipe.
Add a state for each pipe handle in the server.
Create a socket on when the pipe is opened, not before.
2001-08-23 23:29:20 +00:00
Mike McCormack b473a0f0b9 Added stub for CancelIo. 2001-08-22 18:02:39 +00:00
Mike McCormack 07a8c5402a Store the comm error value in the wineserver, not a global. 2001-08-20 18:01:35 +00:00
Marcus Meissner 99f54153f5 SetCommConfig has 3 arguments, not 2. 2001-08-06 17:50:42 +00:00
Patrik Stridvall 33c40709bf - Moved comm related protoypes to the correct .h file.
- Cleaned up the include section.
2001-07-26 21:43:56 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Alexandre Julliard 5f728cae70 Removed HEAP_strdupA. 2001-07-24 21:45:22 +00:00
Mike McCormack e4ca13ea82 Move 16-bit COMM code to USER dll. 2001-07-24 20:49:41 +00:00
Mike McCormack fe0529dbea Rewrite BuildCommDCB16 to depend on BuildCommDCB, not vice-versa. 2001-07-23 17:56:33 +00:00
Patrik Stridvall bc38d6bfde - Made sure that the files that contains the declarations
of the implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-20 18:00:00 +00:00
Mike McCormack e12d8ae06e Replace service thread with ReadFileEx/WriteFileEx. 2001-07-20 17:56:37 +00:00
Alexandre Julliard 37e9503ae8 Moved server.h to include/wine. 2001-07-19 00:39:09 +00:00
Patrik Stridvall 33929be46f - Made sure that the files that contains the declarations
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Mike McCormack 1e72a3e96b Use GetCommState16 to save state in OpenComm16.
Merge comm16 globals into one structure.
2001-07-18 20:03:11 +00:00
Mike McCormack 0a17a7c055 Rewrite SetCommState16 to use SetCommState. 2001-07-17 00:57:01 +00:00
Mike McCormack 187ed4106d Rewrite GetCommState16 using GetCommState. 2001-07-14 00:45:58 +00:00
Patrik Stridvall e9782fa1fc Documentation fixes. 2001-07-12 22:33:51 +00:00
Mike McCormack e61ad3a9f3 Implement overlapped completion routines.
Don't use lpOverlapped->OffsetHigh to store bytes to transfer.
2001-07-12 22:29:41 +00:00
Mike McCormack f41de9779c Implement COMM_MSRUpdate with GetCommModemStatus. 2001-07-12 02:45:25 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Mike McCormack d342ed2bc0 Implement FlushComm16 with PurgeComm. 2001-07-11 17:26:57 +00:00
Mike McCormack de7c3003e2 Start implementing named pipes. 2001-07-10 19:16:49 +00:00
Mike McCormack 4be97b6696 Rewrite EscapeCommFunction16 to use EscapeCommFunction. 2001-07-10 19:05:30 +00:00
Mike McCormack db718970d3 Use HANDLEs instead of unix fds. 2001-07-08 20:28:55 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Mike McCormack 838a3614f6 Declare stubs for ReadFileEx, WriteFileEx. 2001-07-02 18:56:01 +00:00
Patrik Stridvall a274dd9105 Fixed some issues found by winapi_check. 2001-07-02 01:22:10 +00:00
Jau-Horng Chen 8a820bc51a Added Traditional Chinese Support
Fixed sublang font size error when not using fixed-size font.
2001-06-25 21:01:00 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Patrik Stridvall cd6b8cadce Fixed GetCommConfig number of arguments. 2001-06-19 03:44:16 +00:00
Patrik Stridvall c01c1933bf Fixed some issues found by winapi_check. 2001-06-19 03:36:23 +00:00
Patrik Stridvall dae8de69e2 Documentation ordinal fixes (using winapi_fixup). 2001-06-13 20:13:18 +00:00
Patrik Stridvall d9b9c4c496 Documentation ordinal fixes (using winapi_fixup). 2001-06-11 20:14:43 +00:00
Marcus Meissner a72491e420 Stub for GetQueuedCompletionStatus. 2001-06-07 22:24:26 +00:00
Dmitry Timoshkov db79045531 List 16-bit resources separately as RC_SRCS16. 2001-05-31 21:37:29 +00:00
Dmitry Timoshkov fc99ddd926 Remove kernel32 dependency on user32 by implementing family of k32
functions as callouts to user32.
2001-05-24 19:32:00 +00:00
Andreas Mohr 9650c2baea - BuildCommDCB16() uses int instead of BOOL
- OpenComm16() should return IE_BADID for *all* invalid strings
2001-05-24 18:42:38 +00:00
Dmitry Timoshkov 99abdec378 Small clean up. 2001-05-22 19:18:28 +00:00
Duane Clark 8a3f6285c7 Add tests for the flag FORMAT_MESSAGE_IGNORE_INSERTS, and act
accordingly.
2001-05-09 19:43:51 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Patrik Stridvall 15a3b74356 Documentation name fixes. 2001-04-27 18:03:51 +00:00
Dominik Strasser cbdeb9646b Don't use RTSCTS if Str handshake is enabled.
Use appropriate Unix timeout values in SetCommTimeouts.
2001-04-20 18:15:20 +00:00
Michael Stefaniuc 85d308631c - added stubs for three console functions
- updated wincon.h
2001-04-12 21:07:25 +00:00
James Hatheway a9f8997f49 Fill in StandardName field in struct returned from GetTimeZoneInformation. 2001-04-09 18:45:49 +00:00
Marcus Meissner 7e4741d1fd Added some stubs for functions used by newer rpcrt4 dlls. 2001-04-09 18:34:49 +00:00
Alexandre Julliard 2ec34e48a3 Added TASK_GetPtr/TASK_GetCurrent functions to get the TDB for a task
handle.
2001-04-04 00:21:05 +00:00
Michael McCormack 1c32a46d5a Use poll() on the client-side during server waits to implement
overlapped I/O.
2001-03-22 20:09:34 +00:00
Hann-huei Chiou db47fd0937 Updated. 2001-03-13 23:34:28 +00:00
James Juran 7313b78619 Added stub for SetThreadExecutionState (new function in Win98/2000). 2001-03-13 23:33:26 +00:00
Alexandre Julliard c2c004deeb Added version16.rc in RC_SRCS list. 2001-03-08 01:17:03 +00:00
Nerijus Baliunas 1c8d0c7fda Updated Latvian date format. 2001-03-08 01:13:09 +00:00
Alexandre Julliard 389b039fe4 We need to create the system heap at startup even though we don't use
it, since some Win95 native dlls depend on that.
2001-03-04 01:06:07 +00:00
Alexandre Julliard 9ee9efff1b Use the standard CreateThread routine to create 16-bit tasks instead
of duplicating the code.
2001-02-28 05:29:50 +00:00
Przemyslaw Bruski 2e9cd986ff Added LOCALE_IDEFAULTMACCODEPAGE definition in most nls files. 2001-02-28 05:17:01 +00:00
Alexandre Julliard 67a749999a New set of macros for server calls; makes requests without variable
part somewhat faster.
2001-02-27 02:09:16 +00:00
Eric Pouech a862f68db5 Added a few missing stubs to KERNEL32 and USER32. 2001-02-26 22:33:29 +00:00
Dmitry Timoshkov 8f73cd14ce Add version information (16 and 32 bit) to core built-in dlls:
krnl386.exe/kernel32.dll, user.exe/user32.dll, gdi.exe/gdi32.dll.
Provide a way for reading version information using standard API:
GetFileVersionInfoSize -> GetFileVersionInfo -> VerQueryValue.
2001-02-23 20:37:13 +00:00
Valery Kartel e2682cafd8 Updated all fields with Ukrainian values. 2001-02-23 01:30:34 +00:00
Andreas Mohr 92285494a9 BuildCommDCB16 had a rather broken baud rate handling. 2001-02-23 01:10:50 +00:00
Alexandre Julliard d90e964cee Added separate server pipe to wait on blocking server calls.
Send the complete request/reply through the request fifo instead of
just a dummy byte.
Convert error status to text in server reply tracing.
2001-02-21 04:21:50 +00:00
Alexandre Julliard de729f18bb Removed ordinal from functions that don't need a specific value. 2001-02-14 23:12:36 +00:00
Andreas Mohr dacdb9c4c6 Cosmetics. 2001-02-14 00:29:16 +00:00
Francois Gouget b87a83866f Change the callback declarations to a safer format. 2001-02-12 03:51:04 +00:00
Patrik Stridvall bca4a8dce0 Documentation argument fixes. 2001-02-12 03:49:57 +00:00
Rein Klazes 3932f3a648 Added support for the Malayan language. 2001-02-12 03:47:10 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Alexandre Julliard e9936d96e1 Changed wait_process and wait_debug_event requests to never block;
waiting is always done through WaitForSingleObject().
2001-01-26 00:22:26 +00:00
Andreas Mohr 819bff4d33 Don't open the comm handle with GENERIC_WRITE via FILE_GetUnixHandle. 2001-01-26 00:20:05 +00:00
Patrik Stridvall 0c61028734 Documentation ordinal fixes. 2001-01-25 22:22:21 +00:00
Alexandre Julliard 3b603ec551 Added nls to EXTRASUBDIRS. 2001-01-10 22:58:38 +00:00
Alexandre Julliard 8081e5a1e5 Added handle_t type to server interface so that we can make handles
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
Mike McCormack 97c781aac2 Added Ulrich Weigand's description of KERNEL32_99. 2001-01-04 19:53:15 +00:00
Marcus Meissner ad37850024 Implement PrintDlg16 better (adding PrintDlgProc16 and several other
16bit dependent functions)
If we are using a template we might not have the default combobox for
printers, use the default printer in those cases.
More error messages and checks.
Added GlobalFlags16 and GlobalReAlloc16 to kernel32.spec.
2001-01-02 22:26:09 +00:00
Andreas Mohr 0bc1d2729b Added Reserved5 -> lstrcmp16. 2001-01-02 20:00:37 +00:00
Mike McCormack 1c80bc927e Improve async i/o compatability. lpOverlapped->Internal should hold
the overlapped transfer status.
2000-12-29 19:35:25 +00:00
Rein Klazes 65dc8e47c6 Test pointer before it is dereferenced in CreateEventW(). 2000-12-29 03:18:08 +00:00
Andreas Mohr a6d83ebae1 - clarify many error messages
- add data corruption warning to README file
2000-12-27 04:02:46 +00:00
Eric Pouech 66267d067e Added some 16 bit entry points needed by multimedia DLLs. 2000-12-22 01:30:36 +00:00
Alexandre Julliard 5801723b50 Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16. 2000-12-22 01:09:26 +00:00
Andrew Johnston 03131aae91 Documentation update. 2000-12-19 23:33:03 +00:00
Francois Gouget 8a5de1c92f Removed the name of APIs exported by ordinal. 2000-12-14 19:25:13 +00:00
Nemeth Peter 5b9d410224 Some NLS updates. 2000-12-14 19:24:31 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Eric Pouech 31acbb4b9c FormatMessageA wasn't properly handling the %ls modifier. 2000-12-13 01:50:19 +00:00
Alexandre Julliard 751625e089 Got rid of main.h. 2000-12-12 00:50:19 +00:00
Alexandre Julliard becb9a353b Moved all Wine internal definitions out of process.h. 2000-12-11 03:48:15 +00:00
Michael Veksler cfb63bd289 Add basic NLS information needed for Hebrew. 2000-12-06 20:11:40 +00:00
Huw D M Davies 1bc5caa2db Welsh needs iso8859-14. 2000-12-06 19:45:41 +00:00
Nerijus Baliunas 01eeb01f0b Fixed Serbian language code page. 2000-12-05 21:12:56 +00:00
Rein Klazes 9ae2f15d53 Somes fixes for Dutch locales. 2000-12-05 03:52:44 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
Patrik Stridvall b5e5555c7c Fixed Win16 documentation not fixed because of a bug in winapi_check. 2000-12-01 23:54:51 +00:00
Patrik Stridvall 7a4e599780 Fixed some issues found by winapi_check. 2000-12-01 23:53:46 +00:00
Alexandre Julliard 7afce0e6d6 Moved the few remaining functions in wprocs.dll to kernel.dll.
No longer load wprocs.dll unconditionally.
Restored default interrupt handler behavior (reported by Andreas Mohr).
2000-12-01 21:25:31 +00:00
Alexandre Julliard 3a0f8b7953 Finished separation of shell32 and wsock32. 2000-12-01 20:48:41 +00:00
Eric Pouech ec1ece111a Fixed segstr to str proto. 2000-12-01 20:46:23 +00:00
Aric Stewart aa838cb236 A number of additions to the nls files. Also one correction, we had
895 for the Czech default codepage but according to microsoft it
should be 852.
2000-12-01 20:45:02 +00:00
David Elliott ea186796eb Remove libXXXX.so.1.0 lines from .cvsignore files. 2000-11-30 19:57:34 +00:00
Alexandre Julliard 80338d4afd Export a few 16-bit functions needed by higher-level dlls. 2000-11-30 18:53:38 +00:00
Alexandre Julliard 71d68bbae0 Use the HEAP_WINE_SEGPTR flag to specify allocations on the segptr heap.
Added a hack in MapLS to recognize such allocations and use the heap
selector in this case.
2000-11-30 01:19:51 +00:00
Alexandre Julliard e296bf3717 Renamed CallTo16* functions to wine_call_to_16* and export them from
kernel32.spec.
2000-11-29 19:39:30 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Alexandre Julliard 5ce902b0b9 Implemented DosFileHandleToWin32Handle, Win32HandleToDosFileHandle and
DisposeLZ32Handle and use them to replace file.c internal functions.
Renamed WOW* functions into K32WOW*.
2000-11-27 21:59:08 +00:00
Alexandre Julliard 1c07718a54 Added entry for TerminateApp16. 2000-11-27 21:55:30 +00:00
Alexandre Julliard ac7efef3b5 Changed GetProcAddress16 and 16-bit resource functions to take normal
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Alexandre Julliard 5b971f009a Moved wsprintf functions to dlls/user. 2000-11-26 22:39:50 +00:00
Alexandre Julliard 39b3195ce6 Added entry point flags -noimport, -norelay, -ret64 and -i386.
Replaced 'byte', 'word' and 'long' by 'variable' and made it work for
Win32 too.
Made parser more robust against truncated files.
2000-11-26 04:31:48 +00:00
Alexandre Julliard dfd3d4ada2 Moved GET_IP out of winnt.h. 2000-11-25 23:56:20 +00:00
Nerijus Baliunas 301eb88516 Added missing locales to locale_rc.rc. 2000-11-25 23:52:38 +00:00
Alexandre Julliard 3bf456bb44 Fixed GetLargestConsoleWindowSize return type for Winelib apps. 2000-11-25 21:46:30 +00:00
Nerijus Baliunas 235f1295f1 Completed lvi.nls and lth.nls. 2000-11-25 21:41:05 +00:00
Dimitrie O. Paun 5bea4f876e Avoid using TIOCM_* constants if not available. 2000-11-25 01:29:00 +00:00
Aric Stewart 49e0bf797f Added the turkish locale. 2000-11-25 01:26:38 +00:00
Marcus Meissner e93807c0cb Handle %ls same as %s. 2000-11-25 01:19:58 +00:00
Alexandre Julliard ab687979fd Moved standard syslevel APIs declaration to winbase.h.
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Alexandre Julliard 914406f854 Moved LDT handling to libwine.so. Changed the interface to use the
exported LDT_ENTRY structure.
2000-11-14 01:54:49 +00:00
Alexandre Julliard 3b0c1ec489 Fixed copy/paste typo spotted by Dimitrie O. Paun. 2000-11-13 19:36:18 +00:00
Mike McCormack 1eac1911c7 - created server object for handling async i/o
- implemented WaitCommEvent with the EV_RXCHAR flag
- implemented GetOverlappedResult
2000-11-13 19:27:21 +00:00
Alexandre Julliard 745ec84c8b Export the CallFrom16xxx functions from kernel32. Renamed them
__wine_call_from_16 to follow the naming convention.
2000-11-13 04:54:45 +00:00
Alexandre Julliard 0a8114c152 Raise an exception for unimplemented 16-bit entry points too.
Added check for duplicate names in 16-bit spec files.
2000-11-12 03:45:55 +00:00
Alexandre Julliard 4e951ea25b Check all Callouts function pointers for NULL before using them.
Don't load USER dll if not needed by the application.
2000-11-08 22:47:53 +00:00
Alexandre Julliard 017a61e0c2 Use .mc.rc extension for rc files generated by the message compiler. 2000-11-06 05:30:48 +00:00
Alexandre Julliard eb58e1d597 Declare debug channels in all dlls that need them; added imports of
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Alexandre Julliard 908464d448 Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
Various warning fixes.
2000-11-01 03:11:12 +00:00
Alexandre Julliard 50e8ea387b Do not truncate high word of message id. 2000-11-01 01:51:12 +00:00
Rein Klazes 8fa528aa3f Return TIME_ZONE_ID_STANDARD in GetTimeZoneInformation(). 2000-10-31 01:01:12 +00:00
Alexandre Julliard 1a3f705fc1 Added import of ntdll. 2000-10-31 00:22:41 +00:00
David Elliott 44f84b55f3 Added basic working stubs of new Windows 2000 API functions. 2000-10-29 01:24:54 +00:00
Alexandre Julliard 21ec006fc1 Build Win32 resources as .res files and dump them into the .spec.c file. 2000-10-23 21:39:39 +00:00
Andreas Mohr 04a8eda985 Implemented old Win 2.x string functions. 2000-10-17 00:27:47 +00:00
Alexandre Julliard 57f05e1913 Converted a few more server requests to the new mechanism. 2000-10-15 00:40:25 +00:00
Alexandre Julliard 80fc23a939 Set selector 0000H base to 0xf0000 until the first 64K are
unprotected.
2000-10-15 00:37:50 +00:00
Francois Gouget eb6500fba9 Fixed the signature of the FormatMessage APIs. 2000-10-13 23:41:12 +00:00
Francois Gouget 50bcd1a8e3 HFILE is an int, not a regular HANDLE. 2000-10-13 23:11:05 +00:00