Commit Graph

60 Commits

Author SHA1 Message Date
Kirill K. Smirnov 4f2819f2e1 winhelp: Rewrite LookupHelpFile function.
Add ability for user to find file himself if winhelp cannot find it.
Update resources.
2006-11-06 15:40:07 +01:00
Kirill K Smirnov 8e0bc11f72 winhelp: Properly implement context help and JumpContext macro. 2006-10-27 14:26:35 +02:00
Alexandre Julliard 0ab4c36c8e winhelp: Properly handle negative coordinates for mouse events. 2006-10-25 17:43:22 +02:00
Kirill K. Smirnov f9bfbe2e31 winhelp: Improved metafile support. 2006-10-18 14:18:14 +02:00
Hans Leidekker 41f514570b winhelp: Cast-qual warnings fix. 2006-10-16 17:05:43 +02:00
Kirill K. Smirnov 4d00b282e1 winhelp: Use color specified in .hlp file for background, not just WHITE_BRUSH. 2006-10-14 20:16:11 +02:00
Michael Stefaniuc 3dbe7152cd winhelp: Win64 printf format warning fixes. 2006-10-03 11:15:44 +02:00
Andrew Talbot 8abef9ea50 winhelp: Write-strings warning fix. 2006-07-27 12:23:02 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Uwe Bonnes 69e4c4f1be winhelp: Zero out WINHELP_WINDOW in WINHELP_CreateHelpWindow. 2006-02-20 11:12:07 +01:00
Eric Pouech e5b40ab56a winhelp: Handle '> ' on command lines. 2005-12-19 18:23:02 +01:00
Alexandre Julliard e4b2a0bbbc Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
appropriate.
2005-09-09 15:20:04 +00:00
Ken Belleau 43ae5e5441 - Used wine_dbgstr_a to prevent an overflow.
- Improved support to call macros with a variable number of
  parameters.
- Put a check to prevent an out of bounds access.
2005-01-25 20:08:46 +00:00
Eric Pouech dff8de638c - added support plug-in DLLs for winhelp
- added preliminary support for plug-in callback into winhelp
- rewrote all the macros accordingly (macro entry-point has to have
  WINAPI calling convention)
- some fixes for embedded images decompression
- misc cleanups
2004-12-13 21:06:46 +00:00
Ken Belleau 8b07a8c8ba - Removed code that took the focus away from the buttons.
- Make the buttons forward WM_KEYDOWN to their parent.
2004-09-25 00:28:59 +00:00
Ken Belleau d696f21b8a - Removed the deprecated OF_SEARCH flag.
- Handle quotes in command-line parsing.
2004-09-23 22:54:12 +00:00
Hans Leidekker 719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Yvon Belleau d47f5ccf3f - Implemented keyboard navigation (Up / Down / PgUp / PgDn / ESC).
- Shadow windows (behind popups) were reacting to mouse clicks and
  were going over the popup. Make them close the popup instead.
- Title was not displayed when the help file was opened by the command
  line.
- Corrected incorrect links behavior (in relation with the scrollbar).
2004-09-07 20:42:05 +00:00
Pavel Roskin 954765e0cc Set win_style of the main window to WS_OVERLAPPEDWINDOW. 2003-10-04 03:06:39 +00:00
Mike Hearn 9e849c0044 Implemented mouse wheel support. 2003-09-17 22:38:12 +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 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
Johan Dahlin 84d5992357 Make sure winhelp doesn't scroll outside of its display area. 2003-08-11 18:41:52 +00:00
Eric Pouech 4ea0b7008c - added some missing strings to resources
- made the decompression code a bit more pedantic to avoid crashes
- fixed startup without .HLP filename passed on command line
- passed a few more commands from remote applications to the macros
2003-06-04 20:13:54 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Eric Pouech ddaacaa0d8 - links can now spread across several elements
- link information is now shared between file & presentation
- first try at handling metafiles
2002-12-16 22:11:11 +00:00
Matthew Davison 04b1054440 Prevent Winhelp from crashing when it can't find the helpfile. 2002-11-27 20:12:37 +00:00
Eric Pouech 2b855deddb Wrote back & history support.
Correctly implemented << and >> buttons.
Added support for page level macros.
2002-11-20 19:46:18 +00:00
Eric Pouech 7d75cfed76 Added support for window information from the .hlp file.
Added support for window numbers in link.
2002-11-18 19:48:11 +00:00
Eric Pouech 81b7b9126e Rewrote macro engine for adding dynamic macro loading capability.
Wrote RegisterRoutine and IsBook macros.
2002-11-15 01:34:57 +00:00
Eric Pouech 6637654b53 Fixed several bugs in:
- page/paragraph reading for >= Win95 help files without compression
  - bitmap & metafile loading
  - btree reading
Now caching bitmap loading for better performance.
Several internal code cleanups.
2002-11-13 04:09:34 +00:00
Eric Pouech b6aad50245 Implemented a Wine-only scheme for interprocess WinHelp message
passing.
2002-11-11 22:20:47 +00:00
Eric Pouech 644949d5d5 No longer using explicit values for resource identification. 2002-10-21 19:18:42 +00:00
Eric Pouech 03587c6f91 Improved a bit link handling (a few more link types loaded from file
and support for link to a macro).
2002-10-21 18:20:05 +00:00
Eric Pouech c07f4cbd42 Added support for BTrees in file header reading.
Fixed bogus palette length computation while reading bitmap.
Fixed rendering while starting a page with a bitmap.
2002-10-19 00:12:42 +00:00
Eric Pouech 757928781e Bring winhelp back to life, with mainly support for Win95 help files. 2002-07-16 01:46:29 +00:00
Alexandre Julliard 958732d21c Fixed warnings. 2002-07-02 02:09:39 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Sylvain Petreolle efbe9c53ee - Converted Winhelp for use of NLS
- Minor bugfix
- Disable support of Va.rc for now (rumantsch swiss)
2002-05-14 03:48:10 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard 3da872daaf Fixed language handling. Removed some dependencies on Wine internals. 2000-11-10 01:06:36 +00:00
Chris Morgan 4494a500d6 Added changing mouse cursor when over a help topic link. 2000-10-13 23:07:43 +00:00
Francois Gouget 56045a55d8 Fixed int/HANDLE mismatches revealed by -DSTRICT.
Replaced the Win16 hmemcpy16 (obsolete) with memcpy.
2000-07-23 19:33:42 +00:00
Rein Klazes 9cc9d591ef Fix a crash in winhelp caused by hmemcpy16 without prototype.
Fix some compiler warnings.
2000-06-20 20:34:11 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Niels Kristian Bech Jensen 52be93cbb4 Fixed some compiler errors and warnings. 2000-03-19 21:49:49 +00:00
Ulrich Weigand 97d05c8067 Link only a single .rc file with application. 2000-01-29 22:07:03 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Alexandre Julliard 54c2711ff6 Release 980329
Sun Mar 29 15:18:57 1998  Uwe Bonnes <elektron.ikp.physik.tu-darmstadt.de>

	* [msdos/int21.c]
	More verbose Trace messages

Sun Mar 29 15:03:30 1998  Alexandre Julliard  <julliard@lrc.epfl.ch>

	* [loader/ne_image.c]
	Terminate relocation chains on 0 offset.

Sun Mar 29 02:35:45 1998  James Juran  <jrj120@psu.edu>

	* [windows/caret.c] [windows/class.c] [windows/clipboard.c]
	Fixed more USER32 ordinal numbers in function documentation.

Sat Mar 28 22:40:23 1997  Andreas Mohr <100.30936@germany.net>

	* [controls/desktop.c]
	Return 1 for WM_NCCREATE in DesktopWndProc.

	* [controls/menu.c]
	Fixed crash when destroying a top popup win that was only created
	but not shown.

	* [ole/typelib.c] [if1632/typelib.spec]
	Implemented OABuildVersion.

	* [windows/win.c]
	Finally fixed ugly bug in GetParent32 that affected window placement:
	Didn't return 0 for windows that have neither WS_POPUP nor
	WS_CHILD set. Now it acts exactly like Windows (at least I hope so ;)

Sat Mar 28 02:26:43 1998  Dimitrie O. Paun  <dimi@mail.cs.toronto.edu>

	* [DEVELOPERS-HINTS] [documentation/debug-msgs]
	Updated documentation on debug messages

	* [include/button.h] [controls/button.c] [include/windows.h]
	[include/combo.h] [controls/combo.c] [controls/commctrl.c]
	[controls/icontitle.c] [controls/listbox.c]	[controls/menu.c]
	[controls/scroll.c] [controls/widgets.c] 
	Changed some 16-bit code to 32-bit code. I am positive this will
	not break anything.

	* [controls/uitools.c] 
	Renamed the prefix of some functions from UITOOLS_ to UITOOLS95_
	to reflect the fact that they implement Win95 look. Maybe we will
	have a UITOOLS31_ in the future. Anyhow, the change is completely
	internal to this file.

	* [*/*.c]
	Changed a lot of [f]printf into appropriate debug messages.

Fri Mar 27 19:56:12 1998  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
	* [documentation/status/]
	Added directdraw and directsound status.

	* [if1632/thunk.c][ole/*.c][win32/kernel32.c]
	Added some documentation.
	Moved FUNC004 to thunk.c since it seems to be a 16->32 thunk
	(calling conventions and the like still unknown).

Fri Mar 27 09:59:32 1998  Morten Eriksen  <mortene@pvv.org>

	* [loader/resource.c][windows/keyboard.c]
	Implemented CopyAcceleratorTable() and CreateAcceleratorTable().
	
	* [include/compobj.h][ole/compobj.c][relay32/ole32.spec]
	Added implementation of StringFromGUID2(). 

Tue Mar 26 23:12:05 1998  Eric Kohl <ekohl@abo.rhein-zeitung.de>

	* [misc/imagelist.c][relay32/comctl32.spec]
	Implemented new debugging interface.
	Added missing functions (some are empty stubs).
	Changed ordinals in comctl32.spec (now dll version 4.72 comatible).

	* [objects/oembitmaps.c][include/windows.h]
	  [include/bitmaps/*]
	Added missing restore bitmaps for Win95 look.
	Added missing Win95 cursors.

Thu Mar 26 10:18:20 1998  Douglas Ridgway  <ridgway@winehq.com>

	* [programs/view/Makefile.in] [programs/view/view.c]
	Fix compilation, Aldus placeable metafile loading.

	* [graphics/metafiledrv/init.c] [relay32/gdi32.spec] 
	  [objects/metafile.c]
	Implemented various 32 bit versions of regular metafile API.

	* [objects/enhmetafile.c]
	Implemented rendering of a couple of dozen records.

Tue Mar 24 20:06:39 1998  Matthew Becker <mbecker@glasscity.net>

	* [memory/*.c]
	Updated documentation for API manpages.

Mon Mar 23 09:09:00 1998  Alex Korobka <alex@pharm.sunysb.edu>

	* [misc/winsock.c]
	Fixed 32-bit DNS lookup.

Mon Mar 23 23:54:47 1998  Luiz Otavio L. Zorzella  <zorzella@nr.conexware.com>

	* [multimedia/init.c]
	New code for the initialization and gathering of information about
	the MIDI devices, for future use.

Thu Mar 19 00:59:29 1998  Jim Peterson <jspeter@nospam.birch.ee.vt.edu>

	* [windows/win.c]
	Eliminated inaccurate setting of cs->hMenu in
	WIN_CreateWindowEx, along with superfluous SetMenu32 call.

Mon Mar 16 17:40:53 1998  Petter Reinholdtsen <pere@td.org.uit.no>

	* [debugger/dbg.y] [debugger/Makefile.in] [Makefile.in]
	Install wine.sym in $(exec_prefix)/lib and make sure the debugger
	finds it.

Sun Mar 15 22:36:35 1998  Michael Veksler <mveksler@tx.technion.ac.il>

	* [dummy.c] [if1632/gdi.spec]
	Fixed stub declaration of GDI_532, so Hebrew-Word2 kind of works.
1998-03-29 19:44:57 +00:00
Alexandre Julliard a0b2b1d0f6 Release 971116
Sun Nov 16 07:42:44 1997  Alex Korobka <alex@trantor.pharm.sunysb.edu>

	* [windows/dce.c] [windows/clipboard.c] [windows/nonclient.c]
	Bug fixes.

	* [misc/shell.c] [resources/*]
	New "About" dialog.

Sat Nov 15 17:30:18 1997  Alexandre Julliard  <julliard@lrc.epfl.ch>

	* [configure.in] [Makefile.in]
	Replaced --with-library option by --disable-emulator. The default
 	is now to build both the library and the emulator.
	Renamed --with options to --enable to follow autoconf guidelines.

	* [loader/main.c] [miscemu/main.c] (New file)
	Split initialization in WinelibInit/EmulatorInit.

	* [loader/*.c]
	Removed all remaining #ifdef's WINELIB.

	* [controls/widgets.c] [windows/mdi.c]
	Converted MDIClientWndProc to 32-bit.

	* [debugger/break.c] [if1632/signal.c] [include/selectors.h]
	  [scheduler/thread.c]
	Code and data selector values are now computed at run-time.

	* [library/libres.c]
	Moved to loader/ directory.

	* [misc/main.c] [misc/version.c] (New file)
	Moved all version stuff to version.c. Cleaned up a bit.

	* [msdos/dpmi.c]
	Update the REALMODECALL structure on return from real-mode
	interrupt.

	* [windows/event.c] [windows/keyboard.c]
	Changed the way event coordinates are determined. Don't rely on
	the ConfigureNotify event values. This should fix all problems
	with cursor position in -desktop and -managed modes.

Sat Nov 15 16:09:36 1997  Slaven Rezic  <eserte@cs.tu-berlin.de>

	* [controls/button.c]
	(BUTTON_CheckAutoRadioButton): Prevent possible endless loop.

Wed Nov 12 03:42:45 1997  Chris Faherty <chrisf@america.com>

	* [misc/ver.c]
	Changed VerInstall32A to assume srcdir as destination if destdir
	is blank.  This was causing alot of DLL installation into SYSTEM
	directory to fail.

	* [loader/ne_image.c]
	NE_LoadSegment buffer[100] was too small and getting overruns.
	Changed it to buffer[200].

Sat Nov  8 06:09:57 1997  Len White <phreak@cgocable.net>

	* [misc/ddeml.c] [include/ddeml.h] [if1632/ddeml.spec]
	Added stub functions DdeConnectList(), DdeQueryNextServer(),
	DdeDisconnectList(), DdeSetUserHandle(), DdeAbandonTransaction(),
	DdePostAdvise(), DdeCreateDataHandle(), DdeAddData(), DdeGetData(),
	DdeAccessData(), DdeUnaccessData(), DdeEnableCallback(),
	DdeCmpStringHandles().

Fri Nov  7 19:44:26 1997  Olaf Flebbe  <o.flebbe@science-computing.de>

	* [files/directory.c]
	Fix typo in directory.c [broke loading of cdplayer on nt40]

	* [misc/main.c]
	Implemented -winver nt40.

	* [loader/resource.c] [user32.spec]
	Stubs for CopyAcceleratorTable, Destroy AcceleratorTable.

Thu Nov  6 22:37:04 1997  Morten Welinder  <welinder@rentec.com>

	* [files/drive.c]
	(GetDiskFreeSpace32A): Cap at 2GB.

	* [include/windows.h]
	Prototype DrawIconEx and CreateDIBSection32.
	Define OBM_RADIOCHECK.
	Add DI_* macros.

	* [objects/dib.c] [if1632/gdi.spec]
	CreateDIBSection is a WINAPI.  Renamed to CreateDIBSection32.
	Implement CreateDIBSection16.

	* [if1632/user.spec] [if1632/user32.spec]
	Add DrawIconEx.

	* [objects/cursoricon.c]
	(CopyIcon32): Fix bogus implementation.

	* [objects/bitmap.c]
	(CopyBitmap32): New function.
	(CopyImage32): Do bitmaps.

	* [graphics/x11drv/text.c]
	(X11DRV_ExtTextOut): Change ascent and descent default to avoid
	zero-thinkness overstrike line.

	* [include/debugstr.h] [misc/debugstr.c]
	New files.

	* [msdos/dpmi.c]
	Don't prototype do_mscdex. In INT_Int31Handler, handle real-mode
	int 0x21, ah=0x52.

	* [msdos/int2f.c]
	Add dummys for 0x1681 and 0x1682.

	* [misc/registry.c]
	Fix memory leaks in RegDeleteKey32W.

	* [objects/text.c]
	In TEXT_NextLine, fix another off-by-one bug.

	* [include/bitmaps/obm_radiocheck]
	New file.  (It a small circle used to radio-button menu items
	when selected.)
	
	* [objects/oembitmap.c]
	Add obm_radiocheck.

	* [include/windows.h] [if1632/user32.spec] [controls/menu.c]
	  [if1632/user.spec]
	Define CheckMenuRadioItem{16,32}.  Define GetMenuItemRect{16,32}.

Wed Nov  5 11:30:14 1997  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
	* [misc/main.c]
	Auto adjust versions depending on binary.

Tue Nov  4 15:21:00 1997  Kristian Nielsen  <kristian.nielsen@risoe.dk>

	* [controls/listbox.c]
	Paint full background in listbox items with tab stops enabled.

	* [if1632/thunk.c]
	Copy some more message parameter structures (DRAWITEMSTRUCT16,
	COMPAREITEMSTRUCT16) to the stack segment to fix broken programs
	that need this.

	* [windows/dce.c]
	Only clip sibling windows when the parent has the WS_CLIPSIBLINGS
	style set.

	* [windows/focus.c]
	Make order of events in FOCUS_SwitchFocus() reflect API docs.

	* [windows/defdlg.c]
	Fix problem with loss of focus in some dialogs.

	* [win32/code_page.c]
	Fix return value for MultiByteToWideChar().

	* [BUGS]
	BCW now works.
1997-11-16 17:38:29 +00:00