Commit Graph

4597 Commits

Author SHA1 Message Date
Alexandre Julliard 13c965cc9f Make sure GetModuleFileName16 does not return garbage even if the path
is not valid (thanks to Andreas Mohr).
2000-06-10 04:45:52 +00:00
Dmitry Timoshkov 2850b6628e Assign codepage for every X11 font suffix, and use it for converting
text to display.
2000-06-10 04:44:12 +00:00
Alexandre Julliard f7bf7ef7b4 Rewrote codepage support to use the new codepage tables. 2000-06-10 04:42:33 +00:00
Alexandre Julliard 6659308fe9 Added support for WC_NO_BEST_FIT_CHAR and default char parameters in
cp_wcstombs.
Minor cosmetic fixes.
2000-06-10 04:29:16 +00:00
Ove Kaaven 70b699a1a1 Call TSXFlush after setting DGA palette, so it updates immediately. 2000-06-10 04:24:41 +00:00
Alexandre Julliard fb270ddca4 Added a bunch of code page tables for multibyte<->wide char
conversions (with the help of Dmitry Timoshkov).
2000-06-09 05:27:21 +00:00
Dmitry Timoshkov 0072c88111 Implement NTDLL.towupper and NTDLL.towlower using already existing
case conversion tables. Replace all direct calls to towupper/towlower
either to NTDLL for core or to CRTDLL if latter already used in the
non core dll.
2000-06-08 20:05:18 +00:00
Alexandre Julliard 960dc908b4 Shi Quan He (of Corel)
The implementation of StretchBlt in WINE does not use the foreground and
background color when a bitmap is copied from mono to mono.  This is
not the case in the actual implementation under Windows but MSDN did
not document it.
2000-06-08 19:23:12 +00:00
Aric Stewart 8b5231df91 Windows must update the right edge (-1) of the last panel upon drawing
instead of relying on WM_SIZE.
2000-06-08 19:22:25 +00:00
Aric Stewart 19f83e2f6a Properly handle InsertItem with an invalid HTREEITEM. Windows handles
these like a TVI_LAST.
2000-06-08 19:21:41 +00:00
Turchanov Sergei d0018bd547 DGA compile fix. 2000-06-08 19:21:06 +00:00
Alexandre Julliard be4ccc7f12 Added missing dependency. 2000-06-08 19:05:47 +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 27b790b4a6 Compile fix. 2000-06-08 04:58:18 +00:00
Alexandre Julliard 8fe0551aa3 Removed a few unnecessary includes. 2000-06-08 04:57:58 +00:00
Alexandre Julliard 2b5d564e63 Merged mouse dll into USER. 2000-06-08 04:57:22 +00:00
Alexandre Julliard 01e819ad9f Simplified wrc flags handling. 2000-06-08 04:52:11 +00:00
Alexandre Julliard 6aa2843fa9 Yet another attempt at fixing CW_USEDEFAULT handling. 2000-06-08 01:01:09 +00:00
Alexandre Julliard e3332128b0 Use FILE_SHARE_READ to open the file in GetBinaryTypeA. 2000-06-08 01:00:16 +00:00
Alexandre Julliard 0f45f1cc30 Strip path name from dll when adding symbols. 2000-06-08 00:59:40 +00:00
Alexandre Julliard ec77b8387f Send full path name and debug information in load_dll event. 2000-06-08 00:58:50 +00:00
Alexandre Julliard a37dec0c7e Pass the main exe name in the CREATE_PROCESS debug event. 2000-06-08 00:57:24 +00:00
Ulrich Weigand 06bf01768d Make a better guess to find the top of the initial stack.
Fixed FreeBSD compile problem (thanks to Gerald Pfeiffer).
2000-06-08 00:39:59 +00:00
Alexandre Julliard b4c68726d9 Louis-Philippe Gagnon (of Macadamian for Corel)
Search for already loaded CursorIcon was done with the wrong handle,
so it was leaking icons. Fixed.
2000-06-08 00:39:16 +00:00
Bertho Stultiens c107f714d0 - Implemented MESSAGETABLE resource type.
- Usertype resources that cause a type-clash with defined resources
  are now detected and a warning is generated. Some types should be
  rerouted through other code so that they will be (re-)interpreted.
- Bugfix: Line-continuation in strings in resources include a newline.
  This `feature' got deleted with the builtin preprocessor, but has been
  put back into place (see last changes comment from version 1.1.0).
- Bugfix: The preprocessor now correctly will see "\\\r\n" as a line-
  continuation.
- Bugfix: Assemblers on some platforms do not use 16bit quantities
  for `.word'. This directive is now changed into `.short'.
- All types that accept inline data definitions (a la RCDATA) now
  also accept a file specification. This unifies the structure a bit.
2000-06-08 00:38:47 +00:00
Ove Kaaven 910e4df2ab Text of WWN article "DLL overrides". 2000-06-07 04:00:01 +00:00
Wilbur N. Dale cf4bb072a4 Added to project. Currently incomplete but will update weekly. 2000-06-07 03:59:39 +00:00
Alexandre Julliard 42cc2bdf46 Setup signal handling and exceptions only after REQ_INIT_PROCESS_DONE
has been sent, to avoid deadlocking the debugger.
2000-06-07 03:49:41 +00:00
Serge Ivanov 9926d33450 - ComboLBox is always created as child of ComboBox. If ComboBox has style
other than CBS_SIMPLE, parent of listbox is set to desktop.
- In CBDropDown. ComboBox uses only first item to calculate height of
  dropped listbox. Also if listbox is empty its height is unmodified
  (previously it was set to 0).
- Added correct handling of WM_GETDLGCODE and WM_(SYS)KEYDOWN messages.
- General clean-up. Message order is now more precise (at least
  notifications to client); listbox - combobox interaction has slight
  differences comparing to Windows.
2000-06-07 03:48:02 +00:00
Serge Ivanov 9eedcf5852 - Removed dependency of edit control from combobox implementation.
- Edit control uses undocumented window style 0x0200 to detect is it a part
  of combobox. If so it calls GetDlgItem(hwndCombo, 1000) to get ComboLBox
  window handle (see comments for combo.c below).
- EDIT_CheckCombo - modified for correct handling of keyboard messages.
- Processing of WM_GETDLGCODE and WM_CHAR for VK_RETURN and VK_ESCAPE
  depends on whether listbox is dropped down. This prevents closing of dialog
  if listbox is dropped down and allows combobox to process these keyboard
  messages properly.
2000-06-07 03:47:34 +00:00
Serge Ivanov 07917e40e8 - We can use wnd->wIDmenu for ComboLBox (it is not reset anymore in SetParent)
- When user clicks outside of dropped listbox, original selection must be
  restored.
- ComboLBox has caret_on = FALSE on creation, that's why combobox sends
  LB_CARETON message before dropping listbox down (but only for
  CBS_DROPDOWNLIST - I don't now why).
2000-06-07 03:46:57 +00:00
Serge Ivanov 71b1246638 Well, SetParent doesn't work properly at all, but at least it must preserve
window ID.  In fact it also must preserve window styles, destroy X
counterpart if parent of popup or overlapped window is set to someting
different from Desktop, and lot of other stuff that it must and mustn't do.
But preserving ID is good enough for now.
2000-06-07 03:46:14 +00:00
Serge Ivanov ae89703581 Added undocumented window style. 2000-06-07 03:45:19 +00:00
Peter Hunnisett ac986830fa - Small update to documentation
- More player/group interface implementation (not tested)
2000-06-07 03:44:36 +00:00
Ulrich Weigand 5524f644d0 Don't call MessageBoxA before USER is initialized. 2000-06-07 03:43:51 +00:00
Alexandre Julliard 72bdd5bee7 Stephane Lussier
Sheri Steeves
Haithem Hmida
- Height of the listbox should be adjust when LBS_OWNERDRAWFIXED is set
  and not if LBS_OWNERDRAWVARIABLE is set, previously it was not adjusting
  the size in both cases.
- When the caret index change, items repainting need tp be in this
  order
  a) Paint old caret item without the focus
  b) Paint old caret item without the selection
  c) Paint new caret item with the selection
  d) Paint new caret item with the focus.
- When repainting the listbox, we should paint all items regarding if
  they are slected or not and then paint after the focus item. So focus
  item will end out being painted twice. (That's what Windows does).
2000-06-07 03:17:35 +00:00
Stas Sergeev feb71a6950 mmap() fails with ENODEV on NTFS under Linux. 2000-06-07 03:16:01 +00:00
Uwe Bonnes 4c5af80c6a PathFindNextComponent: return pointer to NULL and not NULL. 2000-06-07 03:14:40 +00:00
Aric Stewart d9ac53f15a Added handling of TBSTYLE_AUTOSIZE. 2000-06-07 03:14:12 +00:00
Patrik Stridvall c94e086161 Fixed some warnings. 2000-06-07 02:16:47 +00:00
Patrik Stridvall 7980a50cb7 Fixed issues found by winapi_check. 2000-06-07 02:15:39 +00:00
Patrik Stridvall d18837b7aa - Minor API files update.
- Turned on calling convention checking for Win32 functions by
  default.
2000-06-07 02:11:42 +00:00
Uwe Bonnes cf50ffbf0a TOOLBAR_DrawString: catch index== -1 (but not yet handled). 2000-06-07 02:10:51 +00:00
Alexandre Julliard 45fccb8c0c Fixed off-by-one error in string allocation. 2000-06-07 02:03:54 +00:00
Alexandre Julliard 5e9dab58da The window dimensions have to be initialized before sending the
WM_GETMINMAXINFO message.
2000-06-07 02:03:19 +00:00
Ulrich Weigand 0121ac1a12 Removed mis-aligned accesses during BIOS/DOS data initialization. 2000-06-07 02:02:56 +00:00
Ulrich Weigand 9299890257 Fixed size of pe_header on machines with non-4K pages. 2000-06-07 02:02:25 +00:00
Uwe Bonnes e82e7d96e1 Use "CALL" and "RET" in capital letters for distinction. 2000-06-07 02:02:01 +00:00
Noomen Hamza 6ce34254d0 The active page should be unchanged when removing an active first page
from a property sheets.
2000-06-07 02:01:28 +00:00
Ulrich Weigand afd6a4b810 Updated support for Solaris/Sparc architecture. 2000-06-04 01:48:05 +00:00