Commit Graph

4251 Commits

Author SHA1 Message Date
Alexandre Julliard 8c21dfcf0f Setup the initial thread %fs from a constructor. 2000-05-01 21:21:31 +00:00
Alexandre Julliard 1ca9be85f6 Added DECL_GLOBAL_CONSTRUCTOR macro. 2000-05-01 20:25:13 +00:00
Bertho Stultiens 27337af65c - Implemented a new preprocessor that is (nearly) ANSI-C compliant. The
old parser has been stripped from the old preprocessor-code which
  cleaned up both resource-scanner and -parser.
- Standard defines have been introduced (see README.wrc)
- Both preprocessor- and resource-scanner have been optimized slightly
  so that no backing up is required (one char lookahead is enough).
- Filename-scanning has been cleaned up, though not perfect yet.
- User-type resources are compatible now.
- Line-continuation in strings is corrected so that it does not
  introduce a newline in the output.
2000-05-01 20:05:58 +00:00
Alexandre Julliard 5b4f3e8d6d Rewrote Unix process launching to allow passing startup information to
Winelib apps. Improved handling of execve() failures.
2000-05-01 16:24:22 +00:00
Alexandre Julliard 045d81f16c Added ENOEXEC error code. 2000-05-01 16:20:23 +00:00
Alexandre Julliard 95a4332f32 Added atfork support. 2000-05-01 16:19:40 +00:00
Lionel Ulmer 51177f96ba Added DGA2 driver to DirectDraw. 2000-05-01 14:25:49 +00:00
Uwe Bonnes 5e65e2dd7a COMDLG32_DllEntryPoint,COMDLG32_SetCommDlgExtendedError: delay
allocation of Tls for CommDlgExtendedError until it is needed.
2000-05-01 14:22:24 +00:00
Eric Pouech 26342c9824 Fixed segv when debugger registry key doesn't exist. 2000-05-01 14:22:02 +00:00
Gerald Pfeifer 0a89272744 Use <stdlib.h> instead of the deprecated and non-portable <malloc.h>. 2000-05-01 14:21:39 +00:00
Alexandre Julliard e189d21bf4 Release 20000430. 2000-04-30 13:39:07 +00:00
Gerard Patel 32bf62e45a X11DRV_SetFocus: really don't mess with focus for managed windows. 2000-04-30 12:35:32 +00:00
Dimitrie O. Paun 4d48dd3048 Removed HEAP_xalloc. 2000-04-30 12:22:18 +00:00
Eric Pouech 04c16b828e - Enhanced internal variables framework (including read/save to
registry and typing)
- Finalized use of Windows' Console I/O interface (instead of Unix std
  streams)
- Now handling registers as internal variables (they are no longer
  seen as a specific type)
2000-04-30 12:21:15 +00:00
Eric Pouech 8446ba04ab Insure we always try to launch a debugger. 2000-04-30 12:20:31 +00:00
Uwe Bonnes 99f3a924dc Use Thread pseudo handle and not Thread Id as argument for the call to
GetThreadSelectorEntry.
2000-04-30 12:11:12 +00:00
Alexandre Julliard 9e1c48b8a4 Clear the remainder of the page when mapping a section whose size on
disk is not a full page multiple.
Temporarily commented out the VirtualFree call in PE_UnloadLibrary.
2000-04-29 17:23:32 +00:00
Lionel Ulmer 00d5d77ddc - added thread-safety protection to XListPixmapFormats
- moved pixmap / image format matching ERRs to WARNs
2000-04-29 17:16:53 +00:00
Eric Pouech f1a2532129 Fixed GetLargestConsoleWindowSize prototype. 2000-04-29 17:16:00 +00:00
Gerald Pfeifer c951060cde FreeBSD compile fix. 2000-04-29 17:14:24 +00:00
Ove Kaaven 8b9f33851a Added DIB_CreateDIBSection with extra parameter ovr_pitch, added
ovr_pitch to pCreateDIBSection in DC_FUNCS. If ovr_pitch is nonzero,
it is a pitch override (specifies bytes per line), and tells to treat
the offset parameter as an already-mapped virtual memory address (if
the section parameter is zero). Fixed a DIB status init bug in
creating DIB sections from file mappings (if created from mapping, the
DIB is *not* really InSync).
2000-04-29 16:47:07 +00:00
Ove Kaaven bda3e66201 Add Wine-internal allocation type MEM_SYSTEM for VirtualAlloc to
register external mappings (like video frame buffers).
2000-04-29 16:45:56 +00:00
Eric Pouech f61d7e0a24 Enhanced libc's pthread configuration detection. 2000-04-29 16:44:19 +00:00
Eric Pouech 12222f0d54 Fixed a few compilation warnings. 2000-04-29 14:29:41 +00:00
Patrik Stridvall 95bcd5178a Fixed some warnings. 2000-04-29 14:29:05 +00:00
Patrik Stridvall c77ff5ef67 Fixed issues reported by winapi_check. 2000-04-29 14:26:13 +00:00
Patrik Stridvall 5dadbf3289 - API files update
- Minor bug fixes.
- Added new option --cross-call-unicode-ascii for checking illegal
  Unicode to ASCII calls.
2000-04-29 14:24:11 +00:00
Lionel Ulmer fbc15b1768 Added '--enable-opengl' flag to bypass the thread-safety check. 2000-04-29 14:23:22 +00:00
Dimitrie O. Paun abdbced4fd Removed some HEAP_xalloc calls. 2000-04-29 14:20:28 +00:00
Eric Pouech d34abdd158 Fixed bug when file doesn't exist in MCI_OPEN handling.
Reduced time spent with crit sect locked.
2000-04-29 14:19:02 +00:00
Eric Pouech ec4f57bec1 Fixed argv handling for cuiexe winelib programs. 2000-04-29 14:18:34 +00:00
Ove Kaaven 47d72ff801 Made pthread_kill_other_threads_np and pthread_atfork fixmes less
obtrusive.
2000-04-29 14:15:31 +00:00
Rein Klazes ba2c8d49f5 WinHelp must accept a NULL pointer to the help key string. 2000-04-29 14:15:11 +00:00
Guy L. Albertelli 68e0d64d66 - Correct check for minimum buffer length.
- Correct cases where ShowWindow is done/not done.
2000-04-28 20:49:46 +00:00
Alexandre Julliard 2fb5dee6e7 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Implemented TME_QUERY and TME_HOVER flags in _TrackMouseEvent and
TrackMouseEventProc.  Added code to allow addition/cancelation of
tracking flags on existing entries rather than create extra entries.
Fixed timer.  Added check to _TrackMouseEvent to stop timer if the
tracking list is empty.  Fixed TME_CANCEL.  Fixed TME_LEAVE/TME_HOVER
when hwndTrack isn't the current hwnd.
2000-04-28 20:49:20 +00:00
Uwe Bonnes d3b890f66d DOSFS_DoGetFullPathName: rewrite to return results like OSR2. 2000-04-28 20:48:54 +00:00
Alexandre Julliard f93eb3e319 Authors: Gavriel State <gavriels@corel.com>, Ulrich Czekalla <ulrichc@corel.com>
Added support for memory mapping of 4k aligned PE binaries.  This can
speed up load times significantly for some applications.
2000-04-28 20:26:35 +00:00
Juergen Schmied 51c74d82a9 Complete cleanup, bugfixes.
New: PathStripPath, PathMakeUniqueName, PathStripToRoot,
PathGetShortPath, PathParseIconLocation, PathRemoveExtension,
PathRemoveArgs, PathAppend, PathBuildRoot, PathCanonicalize,
PathFindNextComponent, PathRemoveFileSpec.
2000-04-28 20:23:46 +00:00
Juergen Schmied 24f4cdc69f Stubs for IQueryAssociations. 2000-04-28 20:22:33 +00:00
Juergen Schmied 85b9293495 Moved policy related functions to shpolicy.c
Moved dialog related functions to dialogs.c
2000-04-28 20:21:49 +00:00
Juergen Schmied 6b266db3c6 Explicit import user32.dll.
Many corrections, exported some functions by name.
2000-04-28 20:19:35 +00:00
Juergen Schmied d650903cec Separated 32 bit functions to shellole.c. 2000-04-28 20:19:03 +00:00
Juergen Schmied 12aae27ae6 Fixed: extract the icon by resource id. 2000-04-28 20:18:15 +00:00
Juergen Schmied 1b4f5bb2ce Small fixes. 2000-04-28 20:17:14 +00:00
Juergen Schmied c17ddc868e Fixes.
Use GetModuleHandleA instead of LoadLibrary for dlls imported by
the spec file.
2000-04-28 20:16:40 +00:00
Dmitry Timoshkov 3853f0f0d4 Make WineLook=Win95 the default setting. 2000-04-28 20:01:03 +00:00
Lionel Ulmer 48393a762e Added leaving of critical section on all return cases. 2000-04-28 20:00:43 +00:00
Ove Kaaven 1f9b4b0a8f Removed init_sect. Use Interlocked* functions instead. 2000-04-28 20:00:20 +00:00
Juergen Schmied 6889c68680 Small fixes, removed asserts. 2000-04-28 19:59:48 +00:00
Alexandre Julliard edd77b933b Changed imports of winspool to winspool.drv. 2000-04-28 14:50:54 +00:00