Commit Graph

52 Commits

Author SHA1 Message Date
Eric Pouech de6f347bd0 hhctrl.ocx: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-10 10:44:10 +01:00
Paul Gofman aa769ad4a4 hhctrl.ocx: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-27 12:19:39 +01:00
Alexandre Julliard 4150b6660e hhctrl.ocx: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-05 08:35:40 +02:00
Piotr Caban 96c6d45759 hhctrl.ocx: Don't use strncasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 20:27:25 +02:00
Michael Stefaniuc 0a948c74c5 hhctrl.ocx: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:39:07 +02:00
Huw Davies dcd96f5f7a hhctrl: Fix loading of the wintype data on 64-bit.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 12:12:03 +01:00
Huw Davies 38f72da612 hhctrl: Use a helper to free the wintype structure.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 12:12:03 +01:00
Andrew Talbot 896cc71d24 hhctrl.ocx: Remove unneeded address-of operators from array names. 2012-12-06 13:01:01 +01:00
Erich Hoover bc2258d678 hhctrl.ocx: Store all the parameters the first time the WinType is filled in. 2012-10-03 13:10:46 +02:00
Erich Hoover a61903388e hhctrl.ocx: Do not permit a NULL caption for HtmlHelp windows. 2012-09-05 21:56:58 +02:00
Erich Hoover 5650362090 hhctrl.ocx: Resize the window when HH_SET_WIN_TYPE is called. 2012-09-05 21:56:58 +02:00
Erich Hoover d39801bef3 hhctrl.ocx: Create a special structure for holding non-const unicode strings. 2012-08-30 19:19:52 +02:00
Marcus Meissner 2461466ba0 hhctrl.ocx: Initialize ret on some error paths (Coverity). 2012-08-20 10:56:58 +02:00
Erich Hoover 494936452a hhctrl.ocx: Centralize merging HH_WINTYPE data. 2012-08-16 12:24:36 +02:00
Erich Hoover 97bcef997f hhctrl.ocx: Implement HH_CLOSE_ALL. 2012-07-16 18:14:08 +02:00
Erich Hoover 43ecfe036e hhctrl.ocx: Use document title for subtopics in the index. 2012-06-28 11:21:12 +02:00
Erich Hoover a02ad10f99 hhctrl.ocx: Add support for the CHM code page. 2012-06-22 14:09:49 +02:00
Erich Hoover e412c8c7b8 hhctrl.ocx: Fix displaying the first page for some help files. 2012-06-14 22:21:08 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Alexandre Julliard 8e1dbebdb0 hhctrl.ocx: Fix a buffer allocation size. 2012-02-13 12:28:37 +01:00
Erich Hoover 4c908dd8da hhctrl.ocx: Fix searching for Index and TOC file. 2012-02-09 10:02:28 -06:00
Aric Stewart 3414d0ea0e hhctrl.ocx: Improve parsing of incoming file specs to HtmlHelp. 2011-06-29 14:22:38 -05:00
Jaroslav Šmíd 5b7bd76086 hhctrl.ocx: Make sure pszCaption and pszFile are never 0. 2010-06-28 11:42:52 +02:00
Dmitry Timoshkov a70e10d03d hhctrl.ocx: Add a trace for the resulting CHM offset to string conversion. 2010-06-01 11:05:14 +02:00
Erich Hoover cff5f60d3e hhctrl.ocx: Add Search capability. 2010-02-08 17:14:44 +01:00
Erich Hoover 207ce6fcb2 hhctrl.ocx: Fix (re)allocating string blocks. 2010-01-29 17:26:38 +01:00
Michael Stefaniuc d6eb5eb7c6 hhctrl.ocx: Fix a memory leak on an error path (Smatch). 2009-07-02 11:30:25 +02:00
Hans Leidekker bbfe59bc93 hhctrl.ocx: Try the Windows help directory if the specified file does not exist. 2009-07-01 13:14:12 +02:00
Hans Leidekker abad7f4f76 hhctrl.ocx: Don't leak the CHM filename. 2009-07-01 13:12:17 +02:00
Andrew Talbot da335a6c91 hhctrl.ocx: Sign-compare warning fix. 2008-08-05 14:09:36 +02:00
Andrew Talbot 7f395710b4 hhctrl.ocx: Remove unused variable. 2008-04-17 20:18:36 +02:00
Tomasz Jezierski 7a5e3d3c04 hhctrl.ocx: Apparently it is possible to have chm file without #STRINGS in it, so we should not stop processing file at it. 2008-04-16 14:10:35 +02:00
Hin-Tak Leung cf5e6bcec9 hhctrl.ocx: Implement more navigation of chm to TOC, default topic and specific title. 2008-03-27 12:46:10 +01:00
Rob Shearman cedf6308aa hhctrl.ocx: Fix the character count passed to GetFullPathNameW in OpenCHM and NavigateToChm. 2008-02-15 11:04:04 +01:00
Juan Lang 018117e6a3 hhctrl.ocx: Don't return uninitialized stream. 2008-01-16 12:15:46 +01:00
Alexandre Julliard 7293f00d9d hhctrl.ocx: Store a copy of the string pointers to enable freeing them without casting away const. 2007-12-13 14:30:40 +01:00
Michael Stefaniuc 7e8d79fa3d hhctrl.ocx: Rename the wrappers around HeapAlloc() &Co to use the standard names. 2007-12-10 12:03:55 +01:00
Jacek Caban e18ddbc0cd hhctrl.ocx: Correctly handle URLs in SetChmPath. 2007-03-05 12:07:01 +01:00
Jacek Caban abe3428f8b hhctrl.ocx: Store full chm paths to solve problems with relative paths. 2007-03-01 20:42:50 +01:00
Jacek Caban cdb67b28f8 hhctrl.ocx: Added hhc parser. 2007-02-28 14:12:32 +01:00
Jacek Caban 736ef403a9 hhctrl.ocx: Added HH_HELP_CONTEXT implementation. 2007-02-28 14:03:45 +01:00
Jacek Caban 1a2456cc4c hhctrl.ocx: Move more code from doWinMain. 2007-02-28 14:03:44 +01:00
Jacek Caban 5ed9be800d hhctrl.ocx: Added beginning #SYSTEM parsing code. 2007-02-23 12:13:58 +01:00
Jacek Caban 1711c3a5c4 hhctrl.ocx: Handle memory allocation in OpenCHM and CloseCHM. 2007-02-23 12:13:46 +01:00
Jacek Caban e717dcc8fa hhctrl.ocx: Rewrite reading strings from #STRINGS section. 2007-02-23 12:13:21 +01:00
Jacek Caban 07ba45775c hhctrl.ocx: Use wrappers of memory allocation functions. 2007-02-23 12:10:43 +01:00
Jacek Caban 9a20d35cc8 hhctrl.ocx: Declare strdupAtoW in hhctrl.h and use it instead of duplicated *ANSIToUnicode. 2007-02-23 12:10:13 +01:00
Jacek Caban 6e72b2614a hhctrl.ocx: Merge chm.h and webbrowser.h to hhctrl.h. 2007-02-23 12:09:44 +01:00
Jacek Caban 719bfaf4b0 hhctrl.ocx: Use mk as default protocol and code clean up. 2007-02-06 22:07:10 +01:00
Alexandre Julliard 9d5d7bff04 hhctrl.ocx: Make some functions static. 2006-08-02 22:02:25 +02:00