Commit Graph

308 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
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Bernhard Übelacker e3b2863148 hhctrl.ocx: Handle only the number of bytes given in html_fragment_len.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=39699
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-06 16:11:37 +02:00
Alexandre Julliard 5d82baf974 winecrt0: Add a default implementation DllRegisterServer()/DllUnregisterServer().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard 810a2f0be2 hhctrl.ocx: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-02 15:38:25 +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
Alistair Leslie-Hughes ec83f0c53c hhctrl.ocx: Simplify extracting the help filename (Coverity).
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-05 23:10:39 +02:00
Carlo Bramini 9413a1980f hhctrl.ocx: Expand environment vars in file name.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47379
Signed-off-by: Carlo Bramini <carlo_bramini@users.sourceforge.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-26 12:04:25 +02: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
Alex Henrie 634637c057 hhctrl.ocx: Make constant 'szHTMext' static.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:50 +01: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
Michael Stefaniuc 0f697d992a hhctrl.ocx: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-31 09:46:25 +01: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
Piotr Caban ace66d3540 hhctrl.ocx: Set window owner in HtmlHelp function if WS_CHILD flag is not specified.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-03 09:54:52 +01:00
André Hentschel e5a12b773c hhcrtl.ocx: Fix some spec file entries.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-24 09:35:12 +01:00
Vincent Povirk 89ca96d06c hhctrl.ocx: Don't skip a tag in next_node.
At the time this function is called, we're already past the '<' that begins
the current tag. Calling find_end_node twice here means we were skipping
every other tag.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 20:04:52 +01:00
Vincent Povirk a16344ca19 hhctrl.ocx: Also take basename of folders when searching.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 20:04:52 +01:00
Michael Stefaniuc d5b0e98ebf hhctrl: Use SetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:09 +09:00
Francois Gouget 8fcef187e8 hhctrl.ocx: Mark internal symbols with hidden visibility. 2015-03-18 19:39:23 +09:00
Francois Gouget 3d1c2dc63e hhctrl.ocx: Make html_encoded_symbols[] static. 2015-03-18 19:39:08 +09:00
Francois Gouget e96ab17ec1 hhctrl.ocx: Remove unneeded NONAMELESSXXX directives. 2015-03-13 00:28:18 +09:00
Jacek Caban 5aa19990da hhctrl.ocx: Added support for context menus. 2015-02-24 12:44:06 +09:00
Jacek Caban efe4be6571 hhctrl.ocx: Store WebBrowser container struct instead of interfaces in HHInfo. 2015-02-23 15:26:01 +09:00
Erich E. Hoover 74c5e38b7c hhctrl.ocx: Fix an off by one mistake in searching for the node endpoint. 2014-05-07 18:57:31 +02:00
Marcus Meissner 0d00e16327 hhctrl.ocx: Free the correct buffer (Coverity). 2014-03-10 10:41:24 +01:00
Erich E. Hoover ee484b3140 hhctrl.ocx: Permit HTML start/end tags within quoted attributes. 2014-02-27 09:26:07 -06:00
Erich E. Hoover 5eb040253c hhctrl.ocx: Support delimited filenames for HH_DISPLAY_TOPIC data. 2014-02-27 09:25:36 -06:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard 566d3418af makedep: Add a separate pragma flag for typelibs that need registration. 2013-12-26 13:32:49 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Erich E. Hoover 87b1115db1 hhctrl.ocx: Do not destroy the HTML Help window when HH_HELP_CONTEXT finds no context id of 0. 2013-11-07 13:17:09 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Alexandre Julliard f8421142e7 makefiles: Add makedep pragmas for typelib idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Andrew Talbot 2e268d1914 hhctrl.ocx: Avoid signed-unsigned integer comparisons. 2013-01-25 11:17:36 +01:00
Andrew Talbot 896cc71d24 hhctrl.ocx: Remove unneeded address-of operators from array names. 2012-12-06 13:01:01 +01:00
Andrew Talbot d3229eb9d7 hhctrl.ocx: Constify some variables. 2012-12-03 12:36:35 +01:00
Jacek Caban 4821b06ed1 hhctrl.ocx: Added import library. 2012-11-30 19:12:14 +01:00
Andrew Talbot 9e01b1752a hhctrl.ocx: Remove unused variable. 2012-11-21 13:24:07 +01:00
Erich Hoover 317f26beef hhctrl.ocx: Add support for specifying window names with HH_HELP_CONTEXT. 2012-10-04 10:37:50 +02:00
Erich Hoover d1c363424d hhctrl.ocx: Recognize the embedded window name for finding existing windows. 2012-10-04 10:37:39 +02:00
Erich Hoover aedcc11e4f hhctrl.ocx: Fix removing a window from the help list when window creation fails. 2012-10-04 10:37:28 +02: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
Jacek Caban 7917d917ba hhctrl.ocx: Get rid of no longer needed hack. 2012-09-28 17:16:16 +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