Commit graph

385 commits

Author SHA1 Message Date
Alexandre Julliard
9caa71eef4 Redesign of the server communication protocol to allow arbitrary sized
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Eric Pouech
1ac2b1e3c7 Now passing event with --use-event to let programs starting with
digits being run.
2001-11-25 00:49:36 +00:00
Eric Pouech
0b83d4cbc6 New console code based on Win32 windows. 2001-11-23 23:04:58 +00:00
Andreas Mohr
9cef2d0b1d - fix wrong hexadecimal GetLastError() output
- misc fixes
- changed my email address
2001-11-19 02:30:01 +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
Francois Gouget
b517b764b8 Expand environment variables in "Debugger" setting.
Replace fixed-size buffers with dynamic ones.
2001-10-23 00:25:46 +00:00
Andreas Mohr
e15badb478 Cosmetics. 2001-10-21 15:18:15 +00:00
Alexandre Julliard
4b62618122 Added support for low-level mouse and keyboard hooks.
Misc keyboard handling cleanups.
2001-10-17 17:50:02 +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
Andreas Mohr
f359895daf Yet another documentation/message text patch. 2001-10-02 17:49:20 +00:00
Francois Gouget
04717f0d80 HANDLER_ROUTINE is in fact PHANDLER_ROUTINE. 2001-09-14 00:06:33 +00:00
Guy Albertelli
f80cf43270 Quiet FlushInstructionCache for non-NT systems where it does nothing
per MSDN.
2001-09-11 00:26:46 +00:00
Francois Gouget
588ff3743a Documentation updates (mainly thru vs. through). 2001-08-21 17:07:17 +00:00
Eric Pouech
c04f405172 Modified the debugger launching code so that only one instance of the
debugger is created per process.
2001-08-15 17:34:07 +00:00
Alexandre Julliard
1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +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
838a3614f6 Declare stubs for ReadFileEx, WriteFileEx. 2001-07-02 18:56:01 +00:00
Patrik Stridvall
dae8de69e2 Documentation ordinal fixes (using winapi_fixup). 2001-06-13 20:13:18 +00:00
Marcus Meissner
a72491e420 Stub for GetQueuedCompletionStatus. 2001-06-07 22:24:26 +00:00
Andreas Mohr
1426c8cb74 Documentation updates. 2001-06-06 21:06:27 +00:00
Marcus Meissner
6bb990f7fd Drop any file64 functions, try to use system supplied 64-bit mode by
using proper defines.
2001-05-29 20:55:21 +00:00
Andreas Mohr
3eb3569bd3 - add handler for VCD VxD ("virtual comm device" ?)
- SetLastError( ERROR_INVALID_FUNCTION ); for unimplemented functions
- spelling fixes
2001-05-24 18:40:26 +00:00
Marcus Meissner
7a0d4ba275 Do not return FALSE on SetFileAttributes() failure (in readonly
directory setups).
2001-05-18 23:18:25 +00:00
Marcus Meissner
3f1ed52d8b Implemented 64bit file size handling.
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
Patrik Stridvall
15a3b74356 Documentation name fixes. 2001-04-27 18:03:51 +00:00
Francois Gouget
ec0bff1585 Use snprintf to prevent buffer overflows in format_exception_msg. 2001-04-23 18:24:38 +00:00
Michael Stefaniuc
85d308631c - added stubs for three console functions
- updated wincon.h
2001-04-12 21:07:25 +00:00
Alexandre Julliard
a5a872efca Use the new send_fd mechanism for the set_console_fd server request. 2001-03-22 19:35:27 +00:00
Alexandre Julliard
857abbf398 Terminate process on unhandled ^C exception instead of launching the
debugger.
2001-03-20 02:01:10 +00:00
Dmitry Timoshkov
9ec9c2b104 Implemented SetFileApisToOEM, SetFileApisToANSI and AreFileApisANSI. 2001-03-05 20:10:43 +00:00
Francois Gouget
282f7270c1 Small 'typos in comments' fixes. 2001-02-28 05:31:02 +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
Alexandre Julliard
ea2a9a8974 Removed a few Callout functions by doing a GetProcAddress at the time
we actually need the function.
2001-02-20 00:55:17 +00:00
Alexandre Julliard
a4bc5a2138 Pass the stdin/stdout handles on startup to use as console (based on a
patch by Eric Pouech).
2001-02-16 19:08:19 +00:00
Patrik Stridvall
d0a41774a3 Documentation ordinal fixes. 2001-02-14 23:11:17 +00:00
Andreas Mohr
895d4f109e Give both --winver nt40 and win31 for VxD warning, as some programs
work with win31.
2001-02-14 00:28:48 +00:00
James Abbatiello
4570478a6e Use the Pentium's rdtsc instruction (if available) to implement
QueryPerformanceCounter.
2001-02-13 20:20:27 +00:00
Alexandre Julliard
e939eae00b Made exception_event_request non-blocking, and added
get_exception_status to retrieve the exception result returned by the
debugger.
2001-01-26 20:45:41 +00:00
Alexandre Julliard
7d5bc5c3f9 Removed some direct accesses to the 16-bit task structure. 2001-01-15 20:09:09 +00:00
François Gouget
abb8c07746 pty_handle is a HANDLE, not an int. 2001-01-09 20:50:51 +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
Andreas Mohr
a6d83ebae1 - clarify many error messages
- add data corruption warning to README file
2000-12-27 04:02:46 +00:00
Alexandre Julliard
db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard
6c8edaa667 Use getpagesize() instead of VIRTUAL_GetPageSize(). 2000-12-13 20:22:47 +00:00
Alexandre Julliard
becb9a353b Moved all Wine internal definitions out of process.h. 2000-12-11 03:48:15 +00:00
Patrik Stridvall
697bf65e3e Added/modified documentation for function arguments. 2000-12-02 23:44:59 +00:00
Francois Gouget
519346a47e Fixed miscellaneous typos, syntactic and grammatical errors. 2000-12-02 20:18:08 +00:00
Andreas Mohr
08a114799e Added a --winver nt40 hint to VxD error message. 2000-12-02 20:09:39 +00:00
Dimitrie O. Paun
2af03e45b5 Do not include sys/ptrace.h and sys/user.h unconditionally.
Other portability fixes.
2000-11-29 20:04:09 +00:00
Kees Schoenmakers
0a5d9ef203 Added HASP device stub. 2000-11-29 17:43:09 +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
Alexandre Julliard
89b18a7e1a Moved EnumPortsA to dlls/winspool. 2000-11-28 22:33:46 +00:00
Dimitrie O. Paun
529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Andreas Mohr
fc2c5dfb3d Implemented TerminateApp needed for DBase 5.0.
Made FatalAppExit16 honor the SEM_NOGPFAULTERRORBOX error_mode flag.
2000-11-27 01:36:24 +00:00
Alexandre Julliard
3bf456bb44 Fixed GetLargestConsoleWindowSize return type for Winelib apps. 2000-11-25 21:46:30 +00:00
Alexandre Julliard
0ba2b569e2 The debugger "Auto" registry value should be a string. 2000-11-12 03:43:42 +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
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
Guy L. Albertelli
aa9f8dcf39 Need to get any outstanding input prior to returning number. 2000-10-31 00:59:22 +00:00
Marcus Meissner
ad2b103b32 Quieten VxDCall_VMM output. 2000-10-29 18:03:18 +00:00
Alexandre Julliard
634824be58 Raise an exception when a stub entry point is called. 2000-10-26 22:03:34 +00:00
Andreas Mohr
d67dacea97 - Print CS reg at crash MessageBox (needed for Win16 programs).
- Add "hint" for debugger setup.
2000-10-22 23:51:48 +00:00
Eric Pouech
295106d1e9 Fixed regression for debugger startup event creation. 2000-10-12 23:13:23 +00:00
Rein Klazes
977ec4d99d Prevent SetFileAttributeA from making directory read-only. 2000-10-12 20:45:04 +00:00
Andreas Mohr
3c5f89522b Changed debugger launching to auto per default. 2000-10-12 20:38:33 +00:00
Alexandre Julliard
d76f9f9637 Implemented a bunch of large integer functions in ntdll. 2000-10-01 01:40:42 +00:00
Alexandre Julliard
afb49ead82 Moved a bunch of routines to kernel32.dll (with the help of
Dimitrie O. Paun).
2000-09-29 20:48:04 +00:00
Alexandre Julliard
15bfcd0398 Moved $(MODULE).o rule out of Make.rules into the individual
Makefiles.
2000-09-29 00:28:25 +00:00
Alexandre Julliard
83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Alexandre Julliard
d8fab2e67c Removed some of the XXX_reg macros now that we are using the standard
CONTEXT86 structure everywhere.
2000-09-25 23:53:07 +00:00
Alexandre Julliard
072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Andreas Mohr
973cc74066 "implemented" GetSystemTimeAdjustment. 2000-09-12 23:39:10 +00:00
Marcus Meissner
627616b845 Change xterm mouse tracking mode to BTN_EVENT_MOUSE (track if pressed). 2000-09-02 23:18:31 +00:00
Marcus Meissner
e75902a555 Replaced USER32.DLL use by hardcoded tables for VkKeyScanA and
MapVirtualKeyA.
2000-08-31 02:05:19 +00:00
Alexandre Julliard
92643003cf Converted a lot of server requests to the new exception handling
mechanism.
2000-08-31 01:59:51 +00:00
Alexandre Julliard
9c2370bd75 Added exception handling wrapper to a number of server requests.
Changed a few requests to use the new vararg mechanism.
2000-08-30 00:00:48 +00:00
Alexandre Julliard
7bbba4f9ce Removed calls to ConvertToGlobalHandle and MakeCriticalSectionGlobal. 2000-08-26 21:18:36 +00:00
Chris Morgan
eca7f9fc71 Stubbed SetConsoleInputExeNameA/W. 2000-08-18 23:03:22 +00:00
Alexandre Julliard
e101f6db3b Cleaned up a few inter-dll dependencies. Added a few imports. 2000-08-14 14:42:41 +00:00
Alexandre Julliard
d586dc99be Replaced VERSION_* calls by exported API equivalents. 2000-08-14 14:35:01 +00:00
Alexandre Julliard
52900c818f Make PDB, ENVDB and STARTUPINFO global variables.
Added 'module' field in PDB, and removed Wine-specific fields.
2000-08-09 22:33:42 +00:00
Alexandre Julliard
a007f3364a Moved a few non-standard headers into their respective dlls. 2000-08-09 00:54:58 +00:00
Alexandre Julliard
6113975a1e Moved struct32.c to windows directory. 2000-08-09 00:38:18 +00:00
Alexandre Julliard
081ee94117 - Fixed resource functions to work directly from the HMODULE instead of
requiring a modref.
- Attempted to get LOAD_LIBRARY_AS_DATAFILE right (based on patches by
  Eric Pouech and Dusan Lacko).
- Simplified modref structure and handling.
2000-08-07 04:12:41 +00:00
Alexandre Julliard
3850c1ae16 Moved most USER string functions to dlls/user.
Cleaned up a few more inter-dll dependencies.
2000-08-06 02:42:46 +00:00
Alexandre Julliard
cb10fdab99 Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard
93652e1a68 Moved a bunch of functions out of libwine/kernel/gdi into USER. 2000-08-04 04:21:02 +00:00
Alexandre Julliard
09ddb59142 Make USER and GDI separate dlls. 2000-08-03 22:22:42 +00:00
Alexandre Julliard
58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Alexandre Julliard
d5041fc45a Moved thunking functions off to kernel32.dll. 2000-07-25 16:42:25 +00:00
Eric Pouech
18bd3f693b Fixed bad exception handler chain termination. 2000-06-25 12:54:11 +00:00
Eric Pouech
c32169c1c8 A few missing console stubs. 2000-06-24 17:54:07 +00:00
Juergen Schmied
1f34ce594a Implementation for PrivateExtractIcons, PrivateExtractIconEx. 2000-06-12 22:00:11 +00:00
Alexandre Julliard
f7bf7ef7b4 Rewrote codepage support to use the new codepage tables. 2000-06-10 04:42:33 +00:00
Alexandre Julliard
8fe0551aa3 Removed a few unnecessary includes. 2000-06-08 04:57:58 +00:00
Ulrich Weigand
5524f644d0 Don't call MessageBoxA before USER is initialized. 2000-06-07 03:43:51 +00:00
Andreas Mohr
2e011a5243 Lots of spelling fixes that accumulated in my tree again, made several
error msgs more verbose, doc updates.
2000-06-01 23:28:25 +00:00
Ulrich Czekalla
637e2000cf Add stub for SetConsoleOutputCP. 2000-05-30 20:06:08 +00:00
Alexandre Julliard
c192ba2468 Exec a separate wine binary for every win32 process so that they run
in separate address spaces.
Run 16-bit tasks as Win32 threads, not processes.
2000-05-29 21:25:10 +00:00