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
Ulrich Weigand
9a07b168b0
Silence silly error messages.
2000-12-27 18:37:37 +00:00
Andreas Mohr
4022ae07da
Print all problems as ERR() except for "could not open" library, which
...
is WARN().
2000-12-22 01:55:50 +00:00
James Abbatiello
e675887129
Work around glibc 2.1.x dlopen bug (again).
2000-12-13 21:32:55 +00:00
Alexandre Julliard
db0747d095
Removed some unnecessary includes.
...
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard
751625e089
Got rid of main.h.
2000-12-12 00:50:19 +00:00
Alexandre Julliard
85d666aef1
Use __ASM_GLOBAL_FUNC directly in i386-only code.
2000-12-12 00:49:45 +00:00
Alexandre Julliard
becb9a353b
Moved all Wine internal definitions out of process.h.
2000-12-11 03:48:15 +00:00
Alexandre Julliard
886604c715
Always pass lower-case filenames to wine_dll_load().
...
Clear dlerror() before and after calls to dlopen/dlsym to work around
a glibc bug (thanks to James Abbatiello for tracking the bug).
2000-12-05 21:17:59 +00:00
Andreas Mohr
5f48ff3cf8
Fixed dlerror() check to use strstr().
2000-12-05 04:00:54 +00:00
Alexandre Julliard
ef57e18f99
Removed some unnecessary includes.
2000-12-01 21:32:55 +00:00
Alexandre Julliard
32fcfc24ae
Removed "elfdll" load order option and updated documentation.
2000-11-30 01:15:30 +00:00
Alexandre Julliard
1a5e22f558
Set debugging option based on NO_TRACE_MSGS define. Only output 32-bit
...
relay stubs if debugging is on.
2000-11-27 23:48:08 +00:00
Dimitrie O. Paun
0b7a7bbc06
Include config.h in files that test for constants defined in it.
2000-11-25 01:31:17 +00:00
Marcus Meissner
f649dd605e
Don't test !HIWORD values for pointerness.
2000-11-25 01:21:39 +00:00
Alexandre Julliard
99b25c50c5
Repaired relay debugging.
2000-11-10 20:49:07 +00:00
Alexandre Julliard
db4c45671f
Do builtin modules fixups in library/loader.c before calling the
...
load_dll callback.
2000-11-08 23:02:48 +00:00
Alexandre Julliard
e087508f57
Moved builtin dll registration to libwine.
...
Changed process initialization to not load imported dlls too early.
2000-11-08 04:33:20 +00:00
Alexandre Julliard
94613ab03e
New debug channel mechanism allowing decentralized channel
...
declarations.
2000-11-05 04:51:34 +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
Dimitrie O. Paun
334a42f521
Fixed a few compilation warnings
2000-10-29 18:07:04 +00:00
Alexandre Julliard
634824be58
Raise an exception when a stub entry point is called.
2000-10-26 22:03:34 +00:00
Alexandre Julliard
cae289cbe4
Removed no longer used structure definition.
2000-10-25 20:32:25 +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
Alexandre Julliard
3f2b2d5ef4
Work-around for gcc bug.
2000-10-12 20:55:26 +00:00
Alexandre Julliard
a83784944b
Added stdcall64 entry point type to allow correct relay debugging
...
support for functions that return 64-bit values.
2000-10-01 01:33:50 +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
c585a501d9
Changed the Win32 dll descriptor to be in IMAGE_NT_HEADERS format.
...
Generate the import table directly in PE format.
Added gui/cuiexe_no_main modes in EXE spec files, and use this for the
main wine binary.
2000-09-27 23:40:43 +00:00
Alexandre Julliard
a80d8c6cf0
Generate Win32 dll descriptor structure in the .spec.c file so that we
...
don't need to depend on builtin32.h.
2000-09-27 01:20:01 +00:00
Andreas Mohr
c23bf4336c
Display an ERR() in case of undefined symbols.
2000-09-26 23:08:34 +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
Francois Gouget
a99ce7ef3d
Raised MAX_DLLS to 100.
2000-09-22 20:47:01 +00:00
Rein Klazes
2826f575ae
Catch EXCEPTION_PRIV_INSTRUCTION exception too.
2000-09-19 02:39:59 +00:00
Alexandre Julliard
6dbf67e566
Moved FILE_dommap() to memory/virtual.c (and renamed it VIRTUAL_mmap).
2000-09-18 01:44:08 +00:00
Alexandre Julliard
07f3844542
Avoid buffer overflows in builtin dll loading (with the help of Dmitry
...
Timoshkov).
2000-09-01 01:26:16 +00:00
Peter Ganten
c7c4246a99
- Always store the full path name of 32bit modules in WINE_MODREF
...
- Add the possibility to use path names with the --dll command line
option
- Add the possibility to use the --dll command line option several
times.
- Note: The colon-sign is now exchanged with the plus-sign, as it is
part of dos path names.
2000-08-28 21:33:28 +00:00
Peter Ganten
331f80e442
The user driver functions might be called with the window lock held.
2000-08-11 12:52:56 +00:00
Alexandre Julliard
5acb979f03
Make sure builtin dlls are never freed since we don't support dlclose
...
properly yet.
2000-08-08 20:49:48 +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
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
Ove Kaaven
70668d1a69
Say that "No handler" messages as fatal.
2000-07-23 13:37:53 +00:00
Juergen Schmied
2352cf79ce
Avoid calling the exception handler in some cases.
2000-06-24 13:33:26 +00:00
Alexandre Julliard
e482eebf2f
Split the build program in several files.
...
Renamed it 'winebuild' to avoid possible conflicts.
Cleaned up command-line parsing.
Make it understand -fPIC instead of -pic.
Merged call16.s and call32.s generated files.
2000-06-23 20:15:35 +00:00
Andreas Mohr
c007a003c8
Replaced the BUILTIN32_dlopen() ERR() by a WARN().
2000-06-23 15:36:27 +00:00
James Abbatiello
d1297c4493
Fix for compiler warning (due to setjmp/longjmp being used for
...
exception handling).
2000-06-11 20:33:07 +00:00
Alexandre Julliard
291fa66f9d
Removed the .xcnlnk section hack, and replaced it by another hack in
...
the debugger CREATE_PROCESS event handling.
2000-06-08 05:02:19 +00:00
Alexandre Julliard
a37dec0c7e
Pass the main exe name in the CREATE_PROCESS debug event.
2000-06-08 00:57:24 +00:00
Uwe Bonnes
e82e7d96e1
Use "CALL" and "RET" in capital letters for distinction.
2000-06-07 02:02:01 +00:00
Dimitrie O. Paun
36b5b6b9f4
Start to separate KERNEL out of libwine.
2000-06-03 00:07:44 +00:00
Juergen Schmied
2250f12c48
Implemented FindFirstFileEx, cleaned old implementation up.
2000-06-01 23:17:42 +00:00
Turchanov Sergei
43a27e3696
Implemented local atoms in the server.
2000-05-30 20:32:06 +00:00
Ulrich Czekalla
637e2000cf
Add stub for SetConsoleOutputCP.
2000-05-30 20:06:08 +00:00
Gerald Pfeifer
76b772e613
#include <sys/types.h> before <sys/mman.h>.
2000-05-14 23:40:56 +00:00
Alexandre Julliard
246c360631
Reserve space for the PE header at the start of the .so file.
...
Store the export table inside the data section so that sections can be
properly aligned.
Build the relay function table directly in the .spec.c file.
Moved relay debugging functions to relay386.c.
2000-05-10 03:48:00 +00:00
Alexandre Julliard
680919c2e6
Moved Load/FreeLibrary16 definition to winbase16.h.
2000-05-07 18:39:28 +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
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
e1e75371d9
Implemented on-demand loading of builtin dlls using dlopen().
2000-04-24 17:17:49 +00:00
Uwe Bonnes
69277bba89
SNOOP_PrintArg: replaced IsBad* functions by exception handler.
2000-04-23 20:38:49 +00:00
Alexandre Julliard
180a088beb
Moved PE header definitions to winnt.h where they belong.
2000-04-18 11:58:24 +00:00
Alexandre Julliard
b44595283f
Improved Winelib apps initialisation code. No longer need to link
...
winestub.o with Winelib apps.
2000-04-15 21:00:55 +00:00
Patrik Stridvall
f0deb8a17e
Fixed some issues reported by winapi_check.
2000-04-15 20:44:21 +00:00
Eric Pouech
87031a4c4c
Added a .xcnlnk section to builtin KERNEL32 PE header.
2000-04-13 19:27:52 +00:00
Andreas Mohr
920d9c6fe2
Added PeekNamedPipe stub.
2000-04-08 20:21:36 +00:00
Owen Wang
3c30bba357
Implemented API EnumTimeFormatsA(). It supports now all different
...
English locales, as well as German(standard), French(standard) and
French(Canadian). All time formats follow conventions in Windows NT 4.0
Haithem Hmida (of Macadamian for Corel)
Implemented GetCurrencyFormatA() API:
- GetCurrencyFormatA() calls GetNumberFormatA() to format the number
(as a positive one), then formats the number depending on
NegativeOrder/PositiveOrder fields.
- GetNumberFormatA() has been slightly modified.
2000-04-06 20:13:32 +00:00
Patrik Stridvall
98fde73f14
Fixed some issues reported by winapi_check.
2000-03-24 20:43:33 +00:00
Alexandre Julliard
1dac57f05f
Created separate dlls for user,gdi,ttydrv,x11drv.
...
Fixed Winelib argc handling (thanks to Eric Pouech).
2000-03-19 12:08:09 +00:00
Alexandre Julliard
ddce652cae
Made ddraw and dinput separate dlls.
2000-03-17 16:58:10 +00:00
Alexandre Julliard
aabef02912
Include space for resources in the module header instead of doing a
...
separate allocation.
2000-03-17 15:12:06 +00:00
Alexandre Julliard
05f0b71bb3
Store the list of loaded dlls in the server, and generate debug events
...
internally.
2000-03-09 18:18:41 +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
James Abbatiello
1758f2d81a
Misc. fixes for compiler warnings.
2000-02-25 21:01:50 +00:00
Alexandre Julliard
90476d6b4a
Moved SystemHeap allocations to the process heap.
2000-02-16 22:47:24 +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
Ulrich Weigand
9ffd403001
Added .spec keyword 'mode' to allow creating built-in EXE modules.
...
Use built-in EXE modules for WineLib apps (instead of ELF modules).
Removed dummy ELF module creation.
Removed LIBRES handling.
2000-02-03 01:33:48 +00:00
Alexandre Julliard
0dd3655fd0
Removed debugstr.h.
2000-01-29 19:49:58 +00:00
Alexandre Julliard
de07869657
Moved winsock implementation to dlls/winsock.
2000-01-23 22:07:15 +00:00
Uwe Bonnes
9c55e6dc9d
Export GetLongPathName[A|W].
2000-01-23 02:26:03 +00:00
Alexandre Julliard
112d30781f
Added automatic registration of built-in DLLs.
2000-01-16 03:37:05 +00:00
Peter Hunnisett
f2b8492285
- Added some missing EMR record types and updated and fixed others
...
- Added stubs and headers for CreateColorSpace,DeleteColorSpace and SetColorSpace
- Added header for SetICMMode
- Added ability to play more enhanced metafile records
2000-01-15 22:17:49 +00:00
Alexandre Julliard
74e4a28a34
Built-in DLLs resources are now specified in spec file.
...
Removed unnecessary flags in built-in DLLs tables.
2000-01-09 04:20:31 +00:00
Patrik Stridvall
6afc68aabd
Fixed some issues found by winapi_check.
2000-01-04 00:32:38 +00:00
Juergen Schmied
a4d7ca0f22
Corrected parameter count for DialogBoxIndirectParamAorW.
2000-01-04 00:29:44 +00:00
Alexandre Julliard
6f715732e7
Make use of automatic ordinal allocation.
2000-01-01 22:06:18 +00:00
Francois Gouget
baa9bf9a23
Buffer overflows and strncpy fixes.
1999-12-27 05:24:06 +00:00
Alexandre Julliard
5919ae42cb
Added support for automatic ordinal allocation.
...
Output list of function names in sorted order.
Added support for nameless (ordinal-only) entry points.
Cleaned up error handling.
1999-12-26 23:11:58 +00:00
Francois Gouget
e73b8b84ba
Wrapped some strings in a debugstr_* call.
...
Replaced some calls to debugstr_{a,w} by debugstr_{a,w}n.
Removed redundant 'L's for Unicode strings.
Tried to harmonize the traces a little bit.
1999-12-26 00:40:37 +00:00
Alexandre Julliard
8551f8ca98
Xiang Li
...
Implementation of a proxy ODBC32 dll.
1999-12-11 23:56:46 +00:00
Peter Hunnisett
0cdc4d9307
- Implemented GetEnhMetaFilePaletteEntries
...
- Added fixme stubs for SetMetaRgn and GetMetaRgn
- Added support for playing several enhanced metafile records
- Added beginnings of implementation for playing the rest of the
enhanced metafile records
1999-12-11 23:18:10 +00:00
Alexandre Julliard
7b7e2d434a
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
...
Added stubs for the WinNT tape backup functions.
1999-12-10 03:46:20 +00:00
Andreas Mohr
f4077e6623
Added Thread32First/Next stubs.
1999-12-05 23:11:10 +00:00
Erez Volk
fdf71277e5
Stubs for Get/SetProcessDefaultLayout.
1999-12-04 04:21:20 +00:00
Marcus Meissner
9b4fcf721d
Stub for CloseProfileUserMapping.
1999-12-04 04:19:55 +00:00
Ulrich Weigand
237e8e95b0
Fixed 32-bit module name handling to conform better to Win9x.
...
Removed OFSTRUCT passing during process creation sequence.
Bugfix: don't set exe_modref when LOAD_LIBRARY_AS_DATAFILE is set.
1999-12-04 04:04:58 +00:00
Alexandre Julliard
ad47a30f5e
Implemented waitable timers.
1999-11-29 01:58:35 +00:00
Moses DeJong
e0a3ba54c6
Added implementation for WSARecvEx function. This is a Microsoft
...
specific extension to the winsock API.
1999-11-23 22:29:00 +00:00