Commit Graph

5888 Commits

Author SHA1 Message Date
Dmitry Timoshkov a97ed621bb Add inclusion of <sys/time.h> needed for struct timeval declaration.
Protect some optional headers from inclusion.
2003-06-27 04:04:00 +00:00
Troy Rollo 72659c998f Implemented OleDraw. 2003-06-27 04:03:40 +00:00
Eric Pouech 9bd4f6bf15 - made async.h ready for use in ntdll: replaced all calls to kernel32
functions with ntdll equivalent
- replaced status setter/getter for wine async structures with direct
  access to a (now included) IO_STATUS_BLOCK structure
- since we now have a IO_STATUS_BLOCK in async_private, we no longer
  need in most of the user (derivated) structures a field for
  LPOVERLAPPED (it's stored as the IO_STATUS_BLOCK)
- rewrote the async.h users accordingly
- implemented ntdll.Nt{Read|Write}File and let
  kernel32.{Read|Write}File(Ex)? use those new ntdll functions
- rewrote smb read/write interfaces to be more ntdll stylish (no
  overlapped yet)
2003-06-26 02:08:17 +00:00
Eric Pouech 30504fbd66 Added a small test for process exit code retrieval. 2003-06-26 02:05:40 +00:00
Steven Edwards 5552da92aa Remove unneeded calls to LoadLibrary16 and FreeLibrary16. 2003-06-26 02:05:19 +00:00
Marcus Meissner 1ae1797505 VarAdd: Added VT_R8, VT_EMPTY, VT_NULL handling. 2003-06-24 19:36:58 +00:00
Alexandre Julliard 453b324315 Map top-level windows when WS_VISIBLE is set, but don't unmap them
when it's cleared.
2003-06-24 19:31:47 +00:00
Alexandre Julliard 717e8f45ee Another make install dependency fix. 2003-06-24 19:30:25 +00:00
Eric Pouech 583bb3fd3e - started implementing ntdll.NtDeviceIoControlFile and made
kernel32.DeviceIoControl call it
- changed cdrom ioctl function's prototype to stick to
  ntdll.NtDeviceIoControlFile signature
2003-06-24 19:28:21 +00:00
Steven Edwards 1d05524919 More splitting of the Win16/32 internal filedlgproc window procedures
and dialog init.
Make a few internal function static and share a few others.
2003-06-24 19:24:29 +00:00
Marcus Meissner 615615b0c9 OleCreateFontIndirect(NULL,...) uses the OLE StdFont.
Added testcase for OleCreateFontIndirect(NULL).
Added VT_NULL -> VT_BOOL variant converter.
2003-06-24 19:21:20 +00:00
Alexandre Julliard dc4b0c7655 Moved tape.c to dlls/kernel.
Moved critical section and resource update functions to dlls/kernel.
Started moving some of the thread functions too.
2003-06-24 03:34:15 +00:00
Mike McCormack 69ac76d050 Handle CreateMetaFileW(NULL) correctly. 2003-06-24 02:34:42 +00:00
Aric Stewart f7f7bd0cfe ISvItemCm_fnInvokeCommand: added support for "delete" command. 2003-06-24 02:33:53 +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
Rok Mandeljc 6c9b097fae Added framework for file loading. 2003-06-24 02:26:07 +00:00
Gerald Pfeifer 018e3cc67b Expose part of DOSVM_SendQueuedEvents() also for platforms without
MZ_SUPPORTED.
2003-06-24 02:24:54 +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
Huw Davies a3c10cf1e0 Make sure we update dc->bitsPerPixel. 2003-06-23 20:52:22 +00:00
Alexandre Julliard 280528a07e Added special case for "display" in DRIVER_GetDriverName so that
GetDC(NULL,"display") works.
2003-06-23 20:51:41 +00:00
Huw Davies c23f8578c3 Don't enable client side fonts unless we have at least one non-symbol
font installed - this avoids a nasty Wingdings only scenario.
Add the ability to perform font replacements, this essentially lets
you give a second name to a font family so that familyA gets
enumerated as familyB too.
If we encounter two copies of the same font then use the one with the
larger version number.

Dmitry Timoshkov <dmitry@codeweavers.com>
Move GetTextCharsetInfo implementation to the font driver.
2003-06-23 20:51:06 +00:00
Dmitry Timoshkov 965cbd2a96 Along with AltGr state save also all possible modifier states. 2003-06-23 19:57:59 +00:00
Huw Davies 14c90e8e5f For PostScript versions < 2.015 we need to explicitly allocate space
for the 'glyf' array.
To conserve VM, we only allow up to two fonts to be downloaded before
reclaiming their VM.
2003-06-23 19:57:08 +00:00
Huw Davies 6694ce9d11 It seems cupsGetDefault returns the system default printer and ignores
a user's override.  So use cupsGetDests instead which does respect the
user's choice.
Delete all automatically generated printer keys on startup before
querying the cups server.
2003-06-23 19:52:55 +00:00
Francois Gouget 17c035b684 O_RDONLY==0 but it's cleaner to pass it to DRIVE_OpenDevice() anyway. 2003-06-23 19:50:16 +00:00
Mike McCormack 1351e23b05 Change notification fixes. 2003-06-23 19:49:40 +00:00
Mike McCormack 10c3764058 Record SetWorldTransform and ModifyWorldTransform in enhanced
metafiles.
2003-06-23 19:46:56 +00:00
Alexandre Julliard 635b09f98e Added import libs dependency for make install. 2003-06-23 18:16:20 +00:00
Eric Pouech c962a6997c - in kernel32, replaced all {Enter|Leave}CriticalSection calls with
ntdll counterparts
- {Enter|Leave}CriticalSection is now a pure forward from kernel32 to
  ntdll (we now longer can use {Enter|Leave}CriticalSection in kernel32)
- replaced a few kernel32 heap management calls from ntdll, with
  RtlHeap* equivalents
2003-06-23 18:12:28 +00:00
Gregory M. Turner 50c6965c78 - remove unused loop that always iterates once
- remove warning
- preparations to use multiple fdi_decomp_state structures in a linkedlist,
  which will be used to implement split cabinets, if all goes according
  to plan -- this is somewhat analogous to struct cabinet in cabextract.
2003-06-23 18:10:47 +00:00
Michael Günnewig 9f67cfef42 - Fixed some signed/unsigned mismatches.
- Fixed bugs in AVISaveOptions dialog handling.
- Fixed bug in AVIFILE_LoadFile -- now check for more than
  MAX_AVISTREAMS streams in file.
- Implemented AVIMakeFileFromStreams and AVISaveVA method.
- Added IAVIEditStream interface.
- Implemented EditStream* methods.
- Added stubs for AVISaveVW, CreateEditableStream.
- Added stubs for clipboard handling.
2003-06-23 18:10:06 +00:00
Eric Pouech 5caccaf621 Created an empty oleacc DLL. 2003-06-23 03:43:00 +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
Jukka Heinonen 76f93fb6bc Add IRQ acknowledge handler for internal IRQs.
Change DPMI asynchronous event handling.
Always use alternate stack in DPMI relays and check for pending events
after original stack has been restored.
2003-06-23 03:35:51 +00:00
Lionel Ulmer 3dfdfbfa6f - some TRACEing fixes
- faster Blt to the framebuffer using texture engine
2003-06-23 03:34:34 +00:00
Oleg Prokhorov 2faead17d7 Fixed Russian commdlg localization. Some resource elements didn't have
proper size, and were partially visible.
2003-06-23 03:33:50 +00:00
Michael Günnewig c28798027c - added stubs for GetOpenFileNamePreview{A,W}
- added stubs for GetSaveFileNamePreview{A,W}
- removed invalid VIDC.MRLD line from system.ini
2003-06-23 03:33:25 +00:00
Eric Pouech 9b5cde85a2 Fixed a few bugs in network interface handling (code & test). 2003-06-23 03:32:28 +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
Eric Pouech 415dfa63e5 Fixed section mapping in PE loading when both
IMAGE_SCN_CNT_UNINITIALIZED_DATA and IMAGE_SCN_CNT_INITIALIZED_DATA
are set.
2003-06-21 02:02:27 +00:00
Jason Edmeades e5aabc6eeb SHGetFileInfo should tolerate null pointers. 2003-06-21 02:01:57 +00:00
Kusanagi Kouichi 44dcf6ad16 Store WM_NAME and WM_ICON_NAME in COMPOUND_TEXT format. 2003-06-20 23:29:06 +00:00
David Hammerton 852c7ae404 - implemented support for https protocol
- fixes to the http protocol
2003-06-20 23:26:56 +00:00
Alexandre Julliard 4ee8290b96 Added checks for ICU libraries (based on a patch by Shachar Shemesh). 2003-06-20 21:38:10 +00:00
Lionel Ulmer 334aacd559 Do not use any typedefs in the GL thunks to prevent all possible
compilation issues.
2003-06-20 21:29:28 +00:00
Jukka Heinonen 75e87b4457 Add int31 VIF manipulation functions.
Fix asynchronous event locking.
Make asynchronous event handling support DPMI.
2003-06-20 21:27:49 +00:00
Francois Gouget 9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Robert Reif 05fb2c89e1 Fixed a reference counting bug I introduced. 2003-06-18 19:31:44 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Eric Pouech 9d0fa2f02e - kernel32's environment tests: a few more tests now succeed
- added some console related tests to process creation
- added a few more test cases to the ntdll environment tests
2003-06-18 03:24:20 +00:00