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
Francois Gouget
53532248c4
Sorted out a few misplaced definitions.
...
Added some missing definitions related to file handling and virtual
memory manipulation.
Added IsTextUnicode.
2000-05-24 21:03:48 +00:00
Alexandre Julliard
f818d42fae
Fixed COORD structure definition.
...
Fixed GetLargestConsoleWindowSize to not return a structure when
called from the Window binary.
2000-05-03 17:48:21 +00:00
Eric Pouech
8446ba04ab
Insure we always try to launch a debugger.
2000-04-30 12:20:31 +00:00
Eric Pouech
f1a2532129
Fixed GetLargestConsoleWindowSize prototype.
2000-04-29 17:16:00 +00:00
Rein Klazes
14e5252185
SetLocalTime() and SetSystemTime() bugfixes. Added a maximum clock
...
adjustment of 2 minutes just in case...
2000-04-16 17:05:36 +00:00
Eric Pouech
02ee9ddaab
Added launching of a debugger when unhandled exception occurs.
2000-04-13 19:28:28 +00:00
Andreas Mohr
920d9c6fe2
Added PeekNamedPipe stub.
2000-04-08 20:21:36 +00:00
Patrik Stridvall
54fe8380a1
Fixed some issues reported by winapi_check.
2000-04-06 20:21:16 +00:00
Ian Schmidt
5dff4fb2ab
Implemented DeviceIoControl VWIN32_DIOC_DOS_DRIVEINFO, needed by
...
Internet Explorer.
2000-04-04 18:55:09 +00:00
Patrik Stridvall
2d6457c11a
Added/fixed some documentation reported by winapi_check.
2000-03-28 20:22:59 +00:00
Hidenori Takeshima
e2905ea478
Fixes for i18n.
2000-03-26 14:43:22 +00:00
Alexandre Julliard
6ec108ab6e
Moved FatalAppExit functions to win32/except.c.
...
Added a few uses of Callout instead of referencing USER functions
directly.
2000-03-24 21:42:15 +00:00
Patrik Stridvall
98fde73f14
Fixed some issues reported by winapi_check.
2000-03-24 20:43:33 +00:00
Alexandre Julliard
ea0d028a0b
Added specific routines for OUTPUT_DEBUG_STRING and EXCEPTION debug events.
...
Generate a breakpoint event on process attach.
Misc cleanups in request handling.
2000-03-10 22:16:10 +00:00
Alexandre Julliard
00641d5b1c
Removed PDB32_DEBUGGED flag and send all debug events unconditionally.
...
Implemented IsDebuggerPresent().
2000-03-08 16:41:37 +00:00
Alexandre Julliard
ca3c9ba4ec
Better implementation of inline functions SetLastError and
...
GetCurrentThreadId. Added asm inlines for Interlocked* functions.
2000-03-07 13:14:27 +00:00
Uwe Bonnes
e7ee477694
GetComputerNameA(): added parameter check like Win95 does.
2000-02-27 17:25:13 +00:00
Alexandre Julliard
916f975624
Improved the selector get/set functions.
...
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
2000-02-26 16:51:13 +00:00
Patrik Stridvall
422a10a571
Fixed some debug message crashes.
2000-02-26 13:15:51 +00:00
Marcus Meissner
8bc6e0041c
Added a bit magic to CONSOLE_get_input so we don't get single Escapes
...
from function key escape sequences.
2000-02-20 13:29:25 +00:00
Alexandre Julliard
383da68cf9
Optimized debugging API to reduce code size.
2000-02-10 22:15:21 +00:00
Jeremy White
d3e22d9d55
Removed #include of wingdi.h and windef.h from winuser.h (and resolved
...
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Marcus Meissner
9934a8d021
Save and restore cursor in WriteConsoleOutputA.
2000-02-03 01:03:23 +00:00
Ove Kaaven
5d6d5014fa
Handle backspace correctly.
2000-02-03 00:45:04 +00:00
Alexandre Julliard
318f4cefd2
Build most dlls as separate shared libraries.
2000-01-31 05:02:49 +00:00
Ulrich Weigand
7d43bceb7e
Moved debugger to libwine to make it available to WineLib apps.
...
Try to invoke external debugger if internal debugger crashes.
Try to handle early invocation of debugger more gracefully.
2000-01-30 21:16:45 +00:00
Alexandre Julliard
0dd3655fd0
Removed debugstr.h.
2000-01-29 19:49:58 +00:00
Ove Kaaven
775a0332d6
Fixed bad register constraint in InterlockedCompareExchange.
2000-01-15 22:05:49 +00:00
Erez Volk
d9ba02d9da
Better error reporting.
2000-01-09 02:36:23 +00:00
Alexandre Julliard
81ee21ddff
Cosmetics.
1999-12-27 05:26:00 +00:00
Dimitrie O. Paun
dd03cc19fd
Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
...
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Ian Schmidt
1cc90fff9c
Stubs for VMM GetDemandPageInfo function and VWin32 "Get VMCPD Version".
...
Implementation for VWin32 Int31/DPMI dispatch call.
Fixed "dangling else" compiler warning.
1999-12-05 23:49:52 +00:00
Erez Volk
fdf71277e5
Stubs for Get/SetProcessDefaultLayout.
1999-12-04 04:21:20 +00:00
Alexandre Julliard
08a117902f
Made GetSystemTimeAsFileTime return value more precise.
1999-11-29 02:48:43 +00:00
Niels Kristian Bech Jensen
c69a80c31d
Compiler warnings fixed.
1999-11-28 20:31:04 +00:00
Peter Ganten
be728f10bf
Implemented parts of _PageReserve() _PageCommit() _PageDecommit()
...
_PageChangePermissions() and _PageFree() using the
Virtual*()-Functions (with the great help of Ulrich Weigand).
1999-11-25 23:09:17 +00:00
Niels Kristian Bech Jensen
1d5bc469cc
Removed extra #include statements.
1999-11-21 02:14:36 +00:00
Ulrich Weigand
eb94c7d2c4
Adapted to new register function handling.
1999-11-13 23:54:04 +00:00
Ian Schmidt
796c0f1223
Implemented VWin32 VxDCall mechanism and 2 calls.
1999-11-12 03:28:26 +00:00
Ulrich Weigand
f0052479b0
Allow for buggy apps that call the wrong VxDCall routine.
1999-11-12 01:39:18 +00:00
Ulrich Weigand
ae8342df48
Bugfix: Exception handlers are *not* WINAPI.
1999-11-10 19:42:13 +00:00
Ian Schmidt
66695dddd5
Changed OpenDesktop stub to Win9x behavior for QuickTime 4.
1999-11-04 01:36:24 +00:00
Patrik Stridvall
96336324cf
- Added missing configuration #if:s and #includes:s.
...
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Patrik Stridvall
311e456a64
Added support for anonymous structs/unions on compilers that implement it.
1999-09-19 14:20:33 +00:00
Ulrich Weigand
526d8e9d22
Fixed last error code when trying to load unknown VxD with CreateFile.
1999-09-13 15:12:45 +00:00
Guy Albertelli
749a2c6c86
Fixed WriteConsoleOutput and GetNumberOfConsoleInputEvents.
1999-09-04 11:11:02 +00:00
Ulrich Weigand
c3d9f28172
Moved implementation of WOW routines to single file.
...
Added all missing WOW routines, fixed WOWCallback16Ex.
1999-08-18 18:31:26 +00:00
Alexandre Julliard
bada25d5da
Fixed SetLocalTime prototype.
1999-08-08 18:56:04 +00:00
Alexandre Julliard
89f079bfd1
Replaced a few calls to lstr* functions by their CRTDLL or libc
...
equivalent.
1999-08-08 18:54:47 +00:00
Andreas Mohr
5910c68101
Implemented SetLocalTime.
1999-08-04 14:32:03 +00:00
Alexandre Julliard
15de615276
Got rid of dsprintf and related macros.
1999-08-04 12:22:42 +00:00
Alexandre Julliard
beb8fabf22
Removed async I/O support.
1999-08-01 14:51:26 +00:00
Alexandre Julliard
a1089c59b9
Made stack manipulation macros into inline functions.
...
Changed a few accesses to context registers to avoid potential
aliasing optimization problems.
1999-08-01 12:51:55 +00:00
Patrik Stridvall
2c684081c1
Fixed some of the issues reported by Solaris Lint.
1999-07-31 17:36:48 +00:00
Ulrich Weigand
40b083f0e4
Create VxD handle only for known VxDs.
1999-07-31 17:25:36 +00:00
Ulrich Weigand
db3aba29b6
Work-around for compiler bug.
1999-07-18 18:32:23 +00:00
Ulrich Weigand
0fa6dad074
Fixed some CONTEXT86 vs. CONTEXT mismatches.
1999-07-15 14:32:20 +00:00
Alexandre Julliard
4220b29be9
Take advantage of the new registers saved in the STACK16FRAME to turn
...
some 'register' functions into normal functions.
Removed the few remaining 'return' functions to simplify relay
handling.
1999-07-11 17:20:01 +00:00
Howard Abrams
132774804e
Added checks for sys/errno.h, sys/signal.h and sys/mman.h.
1999-07-10 13:16:29 +00:00
Marcus Meissner
cd37906fce
ReadConsoleA: use ir as pointer to (req+1).
1999-06-27 15:40:18 +00:00
Alexandre Julliard
617955db88
Changed CONTEXT into CONTEXT86 everywhere we really want an i386
...
context.
Added #ifdef __i386__ around accesses to 386 registers in the generic
CONTEXT structure.
1999-06-26 18:40:24 +00:00
Alexandre Julliard
ebe29ef376
Further server optimizations:
...
- merged request and reply structures
- build requests directly into the buffer to avoid a copy
1999-06-26 08:43:26 +00:00
Alexandre Julliard
5bc78089db
Made server communication faster by using a shared memory block.
...
A few other optimizations in request processing in the server.
Moved automatically generated request definitions to server.h and
removed include/server/request.h.
1999-06-22 17:26:53 +00:00
Alexandre Julliard
0a860a01f9
Merged THDB and TEB structures.
...
Made SetLastError(), GetCurrentThreadId() and PROCESS_Current() inline.
1999-06-22 11:43:42 +00:00
Alexandre Julliard
58371aa361
A few optimizations.
1999-06-18 18:26:35 +00:00
Patrik Stridvall
fdcfdb9a6d
Added missing/wrong includes.
1999-06-12 14:55:11 +00:00
Rein Klazes
874b8a3e19
Corrected a problem in GetTimeZoneInformation() due a change to
...
mktime() in glibc-2.1.1 when daylight saving time is in effect.
1999-06-12 06:39:22 +00:00
Alexandre Julliard
039aa42373
Return console handles in alloc_console request.
...
Fixed read_console_input parameters to conform to the reply structure
declaration.
1999-06-11 18:31:22 +00:00
Marcus Meissner
c868cd3470
Fix <return> key (somehow we get a control keystate).
1999-05-29 10:55:08 +00:00
Ulrich Weigand
6d389b8df2
Use register functions with arguments for LogApiThk...
1999-05-24 08:09:34 +00:00
Alexandre Julliard
d131a17ee0
Use the new debug functions to send debug events at appropriate places.
...
Pass the process creation flags to PROCESS_Create.
1999-05-23 20:02:04 +00:00
Alexandre Julliard
4cc1b339cf
Implemented the Win32 debug API functions.
1999-05-23 19:57:42 +00:00