Commit Graph

52 Commits

Author SHA1 Message Date
Kirill K. Smirnov 7f2c72498a winhelp: There are files without Phrases or Phrases40 compression, add support for them. 2007-12-04 18:30:25 +01:00
Kirill K. Smirnov a9491cf0cd winhelp: Use HEAP_ZERO_MEMORY instead of setting individual fields to zero. 2007-12-04 14:32:38 +01:00
Kirill K. Smirnov 33a05f088e winhelp: Enlarge font size by 3 as native winhelp does. 2007-12-03 14:43:28 +01:00
Kirill K. Smirnov 2c52f8883d winhelp: Rewrite internal files lookup using B+ tree search. Add some sanity checks. 2007-12-03 14:43:21 +01:00
Kirill K. Smirnov f4023569b3 winhelp: Rewrite Context support using B+ tree search. 2007-12-03 14:43:15 +01:00
Kirill K. Smirnov 6e002c59ce winhelp: Implement generic B+ tree search function. 2007-12-03 14:42:37 +01:00
Kirill K. Smirnov bef9ab5dd5 winhelp: winhelp 3.0 uses page numbers instead of hash values. 2007-12-03 14:39:41 +01:00
Kirill K. Smirnov ee863153cd winhelp: Add support for winhelp 3.0 topics. 2007-12-03 14:39:29 +01:00
Kirill K. Smirnov 73e9173e7c winhelp: Add support for winhelp 3.0 phrases. 2007-12-03 14:39:18 +01:00
Kirill K. Smirnov 1fdd01966c winhelp: Correctly deal with various TopicBlockSize/Compression combinations. Simplify HLPFILE_Uncompress_Topic function. 2007-12-03 14:39:03 +01:00
Andrew Talbot ac524986df winhelp: Fix a memory leak. 2007-10-26 14:03:47 +02:00
Andrew Talbot da5a398cc3 winhelp: Fix a memory leak. 2007-10-24 15:46:53 +02:00
Michael Stefaniuc 306c1dc327 winhelp: Fix some comparisons between signed and unsigned. 2007-05-22 12:26:54 +02:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Andrew Talbot bc718eec9e winhelp: Cast-qual warnings fix. 2006-12-16 17:36:44 +01:00
Kirill K Smirnov 8e0bc11f72 winhelp: Properly implement context help and JumpContext macro. 2006-10-27 14:26:35 +02:00
Kirill K. Smirnov f9bfbe2e31 winhelp: Improved metafile support. 2006-10-18 14:18:14 +02:00
Kirill K. Smirnov 9a86eacdc9 winhelp: Window style has not been initialized. 2006-10-14 20:16:35 +02:00
Michael Stefaniuc 3dbe7152cd winhelp: Win64 printf format warning fixes. 2006-10-03 11:15:44 +02:00
Kirill K. Smirnov 27681bdfaf winhelp: Fix LZ77 decompressor. 2006-08-11 20:12:38 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Eric Pouech 97e2b9605e Ensure we always have a title for the .hlp file. 2005-10-10 10:27:37 +00:00
Mike McCormack d168219849 Fix gcc 4.0 warnings. 2005-09-06 10:26:13 +00:00
Kouji Sasaki d840f2c114 Corrected RLE decompression processing. 2005-05-18 09:42:52 +00:00
Alexandre Julliard e197332fa7 Removed a few more strncpy calls. 2005-04-26 14:35:53 +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
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +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 d696f21b8a - Removed the deprecated OF_SEARCH flag.
- Handle quotes in command-line parsing.
2004-09-23 22:54:12 +00:00
Oleg Prokhorov cf8b84c19f Another portion of HeapReAlloc fixes. 2003-10-15 21:01:05 +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
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
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +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
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 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 b6c3d0cbd8 Fixed loading HCW 4.0 files without phrase image compression. 2002-11-11 19:52:07 +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
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +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 566a52ad8c Changed isolated for loops to while loops (based on a patch by Andreas
Mohr).
2001-03-05 19:34:17 +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
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 9ea19e54cb Release 970101
Wed Jan  1 15:36:17 1997  Alexandre Julliard  <julliard@lrc.epfl.ch>

	* [controls/listbox.c]
	Use FindFirstFile/FindNextFile in LISTBOX_Directory.

	* [files/dos_fs.c]
	Rewrote FindFirstFile/FindNextFile to use DOSFS_FindNext().

	* [files/file.c] [files/directory.c]
	Use Win32 kernel objects and handles for file handles.
	Unified SearchPath() and OpenFile().

	* [loader/builtin.c]
	Moved to if1632/ directory.

	* [tools/build.c] [debugger/*] [miscemu/*]
	Win16 register functions now receive the same CONTEXT * structure
	as Win32 functions.

	* [include/sigcontext.h] [miscemu/instr.c]
	Added new macros to get register values from the SIGCONTEXT
	structure (only used for instruction emulation now).

	* [scheduler/process.c] [scheduler/thread.c] (New files)
	Allocate process and thread structures.

	* [scheduler/process.c] [win32/k32obj.c]
	Added Win32 kernel objects and handles management.

	* [loader/task.c]
	Create a Win32 process and thread for every Win16 task.

	* [misc/commdlg.c] [misc/shell.c] [windows/msgbox.c]
	Built-in resources are now in Win32 format. This also avoids
	16-bit callbacks for built-in dialogs.

	* [misc/lzexpand.c]
	Differentiate between 16-bit and 32-bit file handles.

	* [miscemu/int*.c]
	Moved all int emulation to msdos/ directory.

	* [msdos/*]
	New directory msdos/ contains all MS-DOS emulation code that can
	also be used for Winelib; this should enable Winelib apps to use
	DOS3Call and related functions.

	* [rc/winerc.c]
	A few bug fixes for Win32 resource format.

	* [windows/winpos.c]
	Hack in WINPOS_ReorderOwnerPopups() to avoid X crashed (still not
	right though).

Sun Dec 29 17:47:55 1996  O. Flebbe <flebbe@science-computing.uni-tuebingen.de>

	* [loader/pe_image.c]
	Make sure BSS of a PE_Image is zero.

Sat Dec 28 22:15:34 1996 Alex Korobka <alex@trantor.pharm.sunysb.edu>

	* [windows/scroll.c]
	ScrollWindowEx() rewrite, ScrollDC() fix.

	* [windows/nonclient.c] [controls/menu.c]
	Fixed Alt-Space crashes in dialogs.

	* [windows/event.c] [windows/message.c]
	Some changes in mouse message generation.

Thu Dec 26 09:25:24 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>

	* [debugger/stabs.c]
	Dummy DEBUG_ReadExecutableDbgInfo provided for !__ELF__ case.

Tue Dec 24 00:59:05 MET 1996  Martin Buck <martin-2.buck@student.uni-ulm.de>

	* [windows/event.c]
	Changed XK_Page_{Up,Down} to XK_{Prior,Next} for X11R5
	compatibility.
1997-01-01 17:29:55 +00:00
Alexandre Julliard 18f92e764a Release 960717
Wed Jul 17 16:10:16 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>

	* [configure.in]
	Generate include/config.h instead of putting everything on the
	command-line.
	Removed -with-malloc-debug option (not useful for end users
	anyway).
	Added check for memmove().

	* [include/wintypes.h] [*/Makefile.in]
	Added definition of __WINE__ symbol when compiling Wine code
	(emulator or library) as opposed to user programs.

	* [debugger/editline.c] [debugger/readline/*]
	Moved all the readline code into debugger/editline.c. Removed the
	readline subdirectory.

	* [files/profile.c]
	Added PROFILE_GetWineIniInt().

	* [include/stackframe.h] [loader/task.c]
	The 16-bit stackframe now also exists for Winelib (even though it
	only ever contains one frame).

	* [loader/module.c]
	Added function MODULE_CreateDummyModule() to create a dummy Win16
	module for Winelib and Win32.

	* [memory/ldt.c]
	Make sure the ldt entry contents will be acceptable for the Linux
	kernel.

	* [memory/selector.c]
	Fixed SetSelectorLimit() when the limit is in pages.

	* [misc/port.c]
	Added memmove().

	* [miscemu/dpmi.c]
	Clear the segment registers that contain the selector being freed
	in int31/ax=0001.
	Added missing break after SelectorAccessRights call.

	* [win32/struct32.c]
	Added conversions for MDICREATESTRUCT.

	* [windows/winproc.c]
	Added message conversions for WM_MDICREATE.

Tue Jul 16 19:46:24 1996  Pavel Kankovsky <KAN@frode.dcit.cz>

	* [windows/class.c]
	Added GetExePtr() call in CLASS_FindClassByAtom().

Mon Jul 15 17:49:38 1996  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>

	* [if1632/*.spec]
	Some more trivial specs added.

	* [if1632/gdi32.spec] [objects/font.c][windows/dialog.c]
	CreateFont32* added, changed to new naming std.

	* [include/windows.h] [include/mmsystem.h] [include/wintypes.h]
	Some defines/types added.

	* [win32/thread.c]
	TlsSetValue() returns boolean.

	* [win32/resource.c] [loader/pe_resource.c] [loader/resource.c]
 	  [controls/menu.c] [objects/bitmap.c]
	Cleanup of the resource functions, mostly changes to new naming
 	standard and fixing of argument types so that they agree with the
 	win16/win32 API.

Thu Jul 11 15:00:00 1996  Alex Korobka <alex@phm30.pharm.sunysb.edu>

	* [windows/winpos.c]
	ShowWindow() fixes.

	* [windows/mdi.c]
	Fix reversed LPARAM in WM_MDIACTIVATE.

	* [wine.ini]
	New option AllocSystemColors tells Wine how many colors to grab
	from the system colormap.

	* [objects/bitblt.c] [objects/dc.c]
	Fixed pink garbage over Word buttons in PseudoColor. Added
	optional DSTINVERT shortcut for faster text selection.

	* [misc/wsprintf.c]
	Skip bogus segmented pointers in wsvnprintf16(). 

	* [objects/gdiobj.c]
	Added palette handling to UnrealizeObject(). 

	* [objects/color.c] [objects/palette.c] [windows/dce.c]
	Wine gets palette manager with support for more than 20 colors. 
	Only PseudoColor and TrueColor visuals tested so far.

	* [windows/winpos.c] [windows/win.c] 
	Set X size hints for WS_EX_DLGMODALFRAME windows (no resize) and
	use XReconfigureWMWindows() instead of XConfigureWindow() in
	managed mode.

	* [memory/global.c]
	Do not allocate more than 640K of DOS memory.

	* [misc/main.c]
	Do not allow -desktop and -managed together.
1996-07-17 20:02:21 +00:00