Alexandre Julliard
f0831227d0
Increase WINE_LDT_FIRST_ENTRY to leave room for glibc thread
...
selectors.
2003-10-28 21:48:41 +00:00
Alexandre Julliard
2e4f0bc9ba
Use sigsetjmp instead of setjmp in Wine internal exception handlers to
...
make sure the signal mask is restored properly.
2003-10-24 04:30:13 +00:00
Jon Griffiths
bf1df18292
Added string folding support.
2003-10-15 20:52:28 +00:00
Daniel Marmier
f95be92d24
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-15 03:35:54 +00:00
Dmitry Timoshkov
2581db8f6a
Fixed some problems found while compiling and linking Wine under
...
Cygwin.
2003-10-14 05:27:43 +00:00
Alexandre Julliard
e55d5937ac
Set or clear the BeingDebugged flag in the PEB when a debugger is
...
attached to or detached from a process.
Don't send exception events to the server unless a debugger is
present.
2003-10-14 01:30:42 +00:00
Alexandre Julliard
a6ed49ade3
Don't reference the environ global variable from kernel32, it may fail
...
to link (reported by Gerald Pfeifer).
2003-10-10 23:33:21 +00:00
Alexandre Julliard
5986e3a724
Added wine_get_argv0_path() to retrieve the path of the wine binary.
2003-10-08 00:36:09 +00:00
Alexandre Julliard
af192f83b6
Store a "removable" flag instead of the full drive type in the server
...
file object; this way we don't need to use GetDriveTypeW in the loader
code.
Make sure we always have a valid builtin_load_info pointer.
2003-10-08 00:25:32 +00:00
Alexandre Julliard
8d174d3f47
Store the global shell, progman and taskman windows in the server
...
(based on a patch by Martin Fuchs).
2003-10-07 03:40:23 +00:00
Alexandre Julliard
841f898663
Converted process creation to Unicode.
2003-10-04 04:09:41 +00:00
Alexandre Julliard
c30cefb2d5
Store module names in Unicode in the server.
2003-09-30 01:04:19 +00:00
Alexandre Julliard
30784603ee
Added strspnW and strcspnW.
2003-09-27 03:48:40 +00:00
Pavel Roskin
7add08a303
Added configure check for spawnvp().
2003-09-24 18:54:40 +00:00
Alexandre Julliard
240b0a9b48
Moved the Windows version code to dlls/ntdll, and implemented
...
RtlGetVersion and RtlVerifyVersionInfo.
Moved the 16-bit and DOS version support to dlls/kernel.
2003-09-24 05:26:00 +00:00
Alexandre Julliard
3bff2b3c9c
Authors: Juraj Hercek <juraj@syncad.com>, Eric Frias <efrias@syncad.com>
...
Implemented pthread conditions.
2003-09-23 22:59:44 +00:00
Alexandre Julliard
52f692fb9b
Moved the wine server client-side support to dlls/ntdll. Removed a
...
couple of unnecessary functions.
2003-09-18 23:27:19 +00:00
Alexandre Julliard
1084a8ba93
Moved out of windef.h a few definitions that don't belong there
...
(reported by Filip Navara).
2003-09-17 04:31:27 +00:00
Eric Pouech
9fd54b2838
- Implemented a few information classes in NtQuerySystemInformation.
...
- Added handle information to (wineserver) process snapshot.
2003-09-16 01:07:21 +00:00
Alexandre Julliard
ef5f6c7fad
Moved list.h to include/wine so that it can be used everywhere.
2003-09-11 20:45:17 +00:00
Francois Gouget
68ea3623b8
Modify winetest_ok to only add a trailing '\n' if there is none.
...
Modify macros in the kernel, oleaut32 and user tests to print a '\n'.
2003-09-11 01:07:19 +00:00
Alexandre Julliard
cf52644a1c
Removed the A/W constants for builtin cursors, icons and resource
...
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard
69c90c2a9f
Converted the rest of the obj_*.h headers to IDL into shobjidl.idl.
2003-09-09 19:32:36 +00:00
Rolf Kalbermatter
7ffcb0ea98
Change parameter in SHGetSpecialFolderPathA/W to int as documented in
...
MSDN.
Add some more definitions and move SHGetDesktopFolder() from
wine/obj_shellfolder.h to here.
2003-09-08 18:47:10 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
d937dc2963
Implemented shtypes.idl and shobjidl.idl and removed a few more
...
wine/obj_* headers.
2003-09-04 19:43:39 +00:00
Alexandre Julliard
96b0b34282
Converted obj_webbrowser.h to IDL and moved the definitions to
...
exdisp.idl where they belong.
2003-09-04 02:00:46 +00:00
Alexandre Julliard
8da94c9830
Converted ocidl.h to IDL.
2003-09-04 00:03:48 +00:00
Alexandre Julliard
802ebc1168
Converted oleidl.h to IDL.
2003-09-03 20:17:39 +00:00
Alexandre Julliard
3e1c5afdba
Converted comcat.h to IDL.
2003-09-03 19:31:57 +00:00
Alexandre Julliard
80e34dbb66
Moved the implementation of the pthread wrappers to dlls/kernel.
2003-09-03 00:26:08 +00:00
Alexandre Julliard
81c31701d2
Avoid including wine/obj_*.h files directly from C files.
...
Removed no longer used obj_serviceprovider.h.
2003-09-03 00:16:28 +00:00
Alexandre Julliard
ca3bfd8318
Export SYSDEPS_SwitchToThreadStack() functionality from libwine as
...
wine_switch_to_stack().
2003-08-29 22:23:42 +00:00
Dimitrie O. Paun
53f9c21fb7
Use angle brackets (<>) rather than quotes ("") for the include
...
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Alexandre Julliard
7df1b9e03a
Start using the exported TEB structure from winternl.h where
...
possible.
2003-08-28 19:57:35 +00:00
Alexandre Julliard
ee106783d0
Renamed EXCEPTION_FRAME to EXCEPTION_REGISTRATION_RECORD since that
...
seems to be the official name.
2003-08-28 03:07:56 +00:00
Alexandre Julliard
617839d522
Added varargs support for 16-bit entry points.
...
Added -ret16 entry point flag to allow 16-bit cdecl and varargs
function to return 16-bit values too.
2003-08-27 02:20:44 +00:00
Alexandre Julliard
a203421581
Don't build memcpy_unaligned on 386 to avoid MSVC breakage (reported
...
by Jon Griffiths).
2003-08-25 23:45:34 +00:00
Alexandre Julliard
3a5b7cf105
Extended WOWCallback16Ex to support register functions too. This
...
allows simplifying the wine_call_to_16 assembly code by moving part of
it to C code, and getting rid of the extra kernel exports.
2003-08-23 23:30:51 +00:00
Steven Edwards
5498cc517b
Fix building libwine_unicode with w32api headers.
2003-08-20 18:16:44 +00:00
Mike McCormack
5ac945c021
Implement registry key unloading.
2003-08-19 03:08:17 +00:00
Eric Pouech
449d10fd79
Fixed regression in process creation (std handle inheritance).
2003-08-19 01:05:17 +00:00
Alexandre Julliard
039e13118e
Implemented inter-thread SendMessageCallback.
2003-07-26 20:36:43 +00:00
Martin Fuchs
ad944f5c63
Extend for additional Shell Content and Attribute Flags.
2003-07-26 20:28:13 +00:00
Mike McCormack
36cd6f5dbb
Added a security token object in wineserver.
2003-07-24 00:07:00 +00:00
Martin Fuchs
e7db6d9085
Define SHGDNF.
2003-07-21 23:51:04 +00:00
Martin Fuchs
1dde8d563f
Define IExtractIcon for ANSI/Unicode.
2003-07-21 23:50:52 +00:00
Casper Hornstrup
601cdc939c
Define constants of M_PI & M_PI_2.
2003-07-15 20:45:49 +00:00
Alexandre Julliard
ca3ac8f155
Run WH_KEYBOARD_LL and WH_MOUSE_LL hooks in the context of the thread
...
that set the hook.
2003-07-11 21:55:58 +00:00
Alexandre Julliard
09029b2878
Implemented the SMTO_ABORTIFHUNG flag of SendMessageTimeout.
2003-07-11 04:09:42 +00:00
Alexandre Julliard
4f196ead13
Implemented the ThreadBasicInformation case for
...
NtQueryInformationThread.
2003-07-09 02:57:57 +00:00
Alexandre Julliard
8ca7e0af78
Added a file_exists argument to wine_dll_load to allow checking
...
whether a failed dll load is because the file didn't exist; more
robust than trying to guess the contents of the error string...
Get rid of BUILTIN32_dlopen.
2003-07-03 18:23:10 +00:00
Dmitry Timoshkov
85d4281616
Implement LCMapString using unicode collation tables.
...
Move CompareString and LCMapString to dlls/kernel/locale.c.
2003-06-27 19:02:23 +00:00
Eric Pouech
f6a70969e1
- start moving a few file related functions from files/file.c to
...
dlls/kernel subdir (also splitting 16bit APIs in a separate file)
- implemented ntdll.Nt{Lock|Unlock}File, and made use of those for the
kernel32 equivalent
- implemented a few information classes in NtQueryInformationFile and
NtSetInformationFile (still lots of missing classes)
- enhanced the get_file_info server request in order to implement
correctly NtQueryInformationFile (change time & file alloc size)
- rewrote registry loading to comply with latest changes
2003-06-24 02:32:01 +00:00
Ulrich Czekalla
b2df5f9f19
- use global atoms for the format ids
...
- add timeout when calling XCheckTypedWindowEvent
- fix broken IsClipboardFormatAvailable; it tried to do a trick with
EnumClipboardFormats by making incorrect assumptions
- in X11DRV_IsClipboardFormatAvailable do a quick exit if no one owns
the selection
- add 1 second *minimum* time lapse between XSelectionOwner calls
- sync clipboard ownership between different wine processes
- prevents apps from getting into wierd state where they thought they
didn't own the selection but they did and as a result queried
themselves for available selection data
2003-06-23 23:02:02 +00:00
Eric Pouech
a86a289420
In console input record queue, replace semaphore with a manual reset
...
event, so that we get correct behavior in synchronization handling.
2003-06-23 03:37:14 +00:00
Eric Pouech
412d37f6e6
- adapted kernel32 so that it no longer (directly) manages console
...
handles as wineserver handles
- console input handle object is no longer waitable (input record
synchronisation is now implemented as a simple semaphore), and removed
FD_TYPE_CONSOLE from fd types in wineserver
- console handles now always have their two lower bit set so one can
distinguish a console handle from a kernel object handle
- implemented some undocumented kernel32 console related APIs
(CloseConsoleHandle, GetConsoleInputWaitHandle, OpenConsoleW,
VerifyConsoleIoHandle, DuplicateConsoleHandle)
- allowed a few kernel32 APIs to take console pseudo-handles
(FlushFileBuffer, GetFileType, WaitFor*Object*)
- simplified the console inheritance at process creation
- in console tests, no longer create a console if one already exists
2003-06-21 02:07:10 +00:00
Alexandre Julliard
693bbd79b6
Make it possible to retrieve an inheritable handle in open_named_pipe
...
(spotted by Uwe Bonnes).
2003-06-14 01:31:56 +00:00
Mike McCormack
88090b47a6
Remove code that starts wineshelllink, instead create a windows
...
compatible shortcut (*.lnk) file. After creating that file, start a
link processor (winemenubuilder) on it, which reads it back then calls
wineshelllink.
Rework CreateStreamFromFile to create an IStream object that is
writeable.
2003-05-21 18:50:53 +00:00
Eric Pouech
c00a4473bd
Implement anonymous pipes on top of named pipes.
2003-05-20 04:32:53 +00:00
Eric Pouech
4c591d4ef3
Implemented timer related functions in ntdll and make the kernel32
...
functions use them.
2003-05-20 04:00:42 +00:00
Robert Shearman
5e7ba03616
Fix value of IID_IShellFolder2.
2003-05-19 21:39:29 +00:00
Mike McCormack
ef8b94622a
- rewrite of the named pipe code
...
- allow NtFileFlushBuffers to wait
- allow DisconnectNamedPipe to invalidate client cached fd
- fix the pipe test now that one extra test passes
2003-05-15 04:22:45 +00:00
Alexandre Julliard
e1a9b10f51
Moved the wpp library from tools/ to libs/.
...
Create symlinks to the various libraries in the libs directory.
2003-05-01 03:16:21 +00:00
Alexandre Julliard
db89a54bf4
Check for struct option independently of the getopt_long check.
2003-04-20 02:56:14 +00:00
Rolf Kalbermatter
468494cb83
Implemented ILGetDisplayNameExA and ILGetDisplayNameExW and call them
...
from ILGetDisplayNameAW and ILGetDisplayNameExAW.
2003-04-17 02:18:33 +00:00
Alexandre Julliard
96af8c2ff5
Fixed gcc varargs macro syntax (reported by Gabriele Giorgetti).
2003-04-14 21:42:57 +00:00
Vincent Béron
3b11910362
Include shlguid.h from shlobj.h.
...
Expose IShellLink to Winelib apps.
2003-04-13 01:05:31 +00:00
Alexandre Julliard
aae3cb61cd
Simplified COM interface declarations, removing the need to define
...
both an xxx_METHODS and an xxx_IMETHODS macro.
2003-04-11 00:31:02 +00:00
Alexandre Julliard
55379110c5
Get rid of the ICOM_CALL macros.
2003-04-10 21:13:58 +00:00
Alexandre Julliard
f00c46f030
Use a more compatible technique to declare COM interfaces methods,
...
using Microsoft's STDMETHOD macros instead of the Wine-specific
ICOM_METHOD ones.
2003-04-10 00:19:24 +00:00
Alexandre Julliard
088bcf9ca5
Implemented NtQueueApcThread, and changed the server APC interface to
...
always take 3 parameters.
Implemented a number of other ntdll thread functions, and use them
from the kernel ones.
2003-04-04 22:26:34 +00:00
Alexandre Julliard
462172a3d6
Added abs_time_t structure to the server protocol, and added a dump
...
routine for it that displays the relative timeout to make timeout
values easier to interpret.
2003-04-02 22:48:59 +00:00
Dimitrie O. Paun
6cd88fe697
Add spawnvp to the portability lib.
2003-04-02 05:20:12 +00:00
Alexandre Julliard
06a8c1203f
Portability fixes.
2003-04-01 00:12:50 +00:00
Alexandre Julliard
91deba1d5e
Clear the entire request, not just the end, in case it contains
...
padding bytes.
2003-03-30 03:08:52 +00:00
Alexandre Julliard
5537dbbf40
Replaced WINE_CHECK_STRUCT_MEMBER autoconf macro by the standard
...
AC_CHECK_MEMBERS. Added check for si_fd in siginfo_t.
2003-03-28 00:36:12 +00:00
Alexandre Julliard
3e588e3a57
Implemented file change notifications, based on a patch by Mike
...
McCormack.
2003-03-26 23:41:43 +00:00
Alexandre Julliard
a8497bd037
Make a distinction between the thread Unix pid and the process wide
...
pid for platforms that use both.
2003-03-22 21:00:09 +00:00
Alexandre Julliard
25fe361010
Added 'wine' prefix to libwine_unicode exports.
2003-03-21 21:30:51 +00:00
Alexandre Julliard
195574e2d8
Added memcpy_unaligned to libwine_port.
2003-03-20 23:44:36 +00:00
Alexandre Julliard
7463af6b2f
Added sprintfW and vsprintfW.
2003-03-20 23:40:41 +00:00
Alexandre Julliard
108a69bd2f
Moved interlocked functions to libwine_port.
2003-03-20 22:06:16 +00:00
Alexandre Julliard
2ee8b5bb13
Replaced mkstemp by mkstemps from libiberty.
...
Removed a couple of unnecessary portability functions.
2003-03-20 21:07:49 +00:00
Alexandre Julliard
7ac91c7401
Added getopt routine to libwine_port (based on a patch by Dimitrie
...
O. Paun).
2003-03-19 22:44:55 +00:00
Alexandre Julliard
b1095da50c
Fixed bug that could cause SendMessage to return too early in certain
...
cases.
2003-03-19 00:12:17 +00:00
Alexandre Julliard
ce61349334
Implemented file locking functions (partly based on my old Corel
...
patch). Added a few regression tests.
2003-03-18 05:04:33 +00:00
Jon Griffiths
7cf70d79c3
Really get rid of debug code/strings if we're building without them.
2003-03-15 19:39:37 +00:00
Dmitry Timoshkov
ad068bc0c2
Move vsnwprintf implementation to libwine_unicode, export snprintfW
...
and vsnprintfW from there, forward MSVCRT and NTDLL functions to
libwine_unicode.
2003-03-12 22:30:16 +00:00
Alexandre Julliard
d04ccb8ebe
Use SIGUSR1 instead of SIGSTOP to suspend threads.
2003-03-04 22:18:43 +00:00
Alexandre Julliard
ce13153821
Moved LDT selector allocation routines to libwine.
...
Added support for correct locking of all LDT operations.
Added separate functions to manipulate the %fs selector, which allows
using a global GDT selector on recent Linux kernels.
2003-02-26 20:34:45 +00:00
Alexandre Julliard
77c8b1dc2b
Pass the pid of the new process in the new_process request, don't
...
depend on the parent pid to find the startup info.
2003-02-24 20:51:50 +00:00
Alexandre Julliard
cf27a7fa3b
Changed fd operations to take a struct fd instead of a struct object.
...
Removed get_file_info function from object operations.
Added get_device_id request to avoid abusing get_file_info.
2003-02-14 20:27:09 +00:00
Ove Kaaven
882fc0383f
Some RPC definitions.
2003-01-31 03:21:11 +00:00
Marcus Meissner
d0372b4e6e
Fixed ICOM_CALLs for IFont_xx methods.
...
Added IPersistPropertyBag, IPersistStreamInit interfaces with stubs.
Implemented IDispatch::Invoke for the used DISPIDs.
2003-01-23 01:23:59 +00:00
John K. Hohm
2db37e20cd
Added optional OLESelfRegister to wine_common_ver.rc, used in
...
dlls/comcat.
2003-01-20 23:24:43 +00:00
Jeroen Janssen
95209b3937
Fixed wine_ldt_copy importing on cygwin.
2003-01-15 00:44:00 +00:00
Steven Edwards
be514b908e
Check for vsnprintf and _vsnprintf, and define vsnprintf with
...
_vsnprintf if needed.
2003-01-14 19:35:03 +00:00
Eric Pouech
fa8b85aa5c
Set the edition mode as a specific attribute, not an extension of the
...
console mode.
2003-01-09 06:01:32 +00:00
Eric Pouech
2359b57574
- no longer depend on toolhelp definitions for generating snapshots
...
- added get_dll_info request
2003-01-09 00:01:28 +00:00