Commit Graph

206 Commits

Author SHA1 Message Date
Eric Pouech 54e3c301be winhlp32: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-07 11:00:09 +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
Alexandre Julliard 6cd7240fec winhlp32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:17 +02:00
Michael Stefaniuc 84f2249284 winhlp32: Avoid an ARRAY_SIZE-like macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:03 +02:00
Michael Stefaniuc 038d9e8ab9 winhlp32: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:03 +02:00
Andrey Gusev 9519216fa0 winhlp32: Remove redundant comparison.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-09 16:02:31 +01:00
Andrey Gusev 6ef27773a7 winhlp32: Fix a typo in comment.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 16:22:51 +09:00
Kirill Smirnov 85c67cca96 winhlp32: Fix an uninitialized variable (clang).
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 14:18:03 +09:00
Kirill Smirnov 5a3ad0ecf0 winhlp32: Do not pass NULL to strchr() (spotted by clang).
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 14:18:03 +09:00
Jean-Christophe Cardot 1dba777e69 winhlp32: Use debugstr_a() to trace.
Signed-off-by: Jean-Christophe Cardot <wine@cardot.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:34 +09:00
Jean-Christophe Cardot 91f89b4f96 winhlp32: Fix some images not shown in certain 16-bit help files.
Subfiles with bitmap images are usually prefixed with '|', but sometimes not.

Signed-off-by: Jean-Christophe Cardot <wine@cardot.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 15:15:44 +09:00
Jean-Christophe Cardot 706145c563 winhlp32: Fix table formatting.
Signed-off-by: Jean-Christophe Cardot <wine@cardot.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 15:02:00 +09:00
Jean-Christophe Cardot a01c003007 winhlp32: Rework and rename HLPFILE_HalfPointsToTwips.
HLPFILE_HalfPointsToTwips was performing a useless transformation of the
RTF measures, using a hardcoded 72 DPI. As winhlp32 makes use of the
richedit component, it is counter productive to transform the measures,
as this is taken care of by richedit himself.

Signed-off-by: Jean-Christophe Cardot <wine@cardot.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 15:01:19 +09:00
Jean-Christophe Cardot 5200dc9b05 winhlp32: Prepare winhlp32 for more font types.
Signed-off-by: Jean-Christophe Cardot <wine@cardot.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 14:53:51 +09:00
Jean-Christophe Cardot d55cb801bc winhlp32: Add a warning trace.
Signed-off-by: Jean-Christophe Cardot <wine@cardot.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 14:53:21 +09:00
Jean-Christophe Cardot ae56f3d093 winhlp32: Add some trace calls.
Signed-off-by: Jean-Christophe Cardot <wine@cardot.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 14:53:15 +09:00
Jean-Christophe Cardot 58f16273c3 winhlp32: Replace magic numbers by symbols.
Signed-off-by: Jean-Christophe Cardot <wine@cardot.net>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 14:53:04 +09:00
Hugh McMaster 11669fa5e2 Assorted spelling and grammar fixes.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Jared Smudde 49b6b60e23 winhlp32: Move Always on top to Options. 2015-06-24 19:09:59 +09:00
Francois Gouget ddcbbb6943 winhlp32: Remove an unneeded NONAMELESSSTRUCT directive. 2015-04-03 11:22:14 +09:00
Michael Stefaniuc 9bf064a67a winhlp32: Simplify code that happened to work by chance (PVS-Studio). 2015-03-06 20:32:03 +09:00
Frédéric Delanoy 1e214eb5d3 Assorted spelling/grammar fixes. 2014-10-02 16:58:53 +02:00
Nikolay Sivov 6c1d5f0bac winhlp32: Remove unused assignments (Coverity). 2014-04-11 18:56:28 +02:00
Frédéric Delanoy 33cb4f80b7 winhlp32: Use BOOL type where appropriate. 2014-02-18 11:45:48 +01:00
Alexandre Julliard 86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Frédéric Delanoy a72c23ed0c winhlp32: Use BOOL type where appropriate. 2013-11-04 11:04:51 +01:00
Frédéric Delanoy 6eadc8ca4e winhlp32: Use BOOL type where appropriate. 2013-10-22 16:37:40 +02:00
Rico Schüller ab8cc4acdb winhlp32: Always open files as read only. 2013-04-08 11:37:03 +02:00
Alexandre Julliard 4a99f2d4ca winhlp32: Add a 256x256 icon. 2013-03-27 20:12:28 +01:00
André Hentschel 147d4bc88a winhlp32: Properly detect non-ASCII chars. 2013-02-18 15:06:10 +01:00
André Hentschel bc240bd323 winhlp32: Mark up fallthrough switch case (coverity). 2012-11-08 15:37:52 +01:00
Alexandre Julliard 2763a983fe Mark all lexers as never-interactive. 2012-10-01 12:19:25 +02:00
Michael Stefaniuc 66696feede winhlp32: Avoid TRUE:FALSE conditional expressions. 2012-08-15 12:13:04 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
André Hentschel d1a5ce537d winhlp32: Remove unneeded shadow variables. 2012-04-18 17:12:59 +02:00
Eric Pouech efc35078ea winhlp32: Added support for some keyword support in external DLL support (RegisterRoutine parameters). 2012-02-11 15:00:39 +01:00
Alexandre Julliard c9eee73450 makefiles: Define __WINESRC__ when building programs. 2012-01-23 16:07:37 +01:00
Alexandre Julliard c0f65cc99b winhlp32: Don't use strncpy. 2012-01-23 16:07:36 +01:00
Alexandre Julliard da35622b83 makefiles: Disable use of Unicode macros globally for all the programs. 2012-01-20 13:14:16 +01:00
Alexandre Julliard e12d39dc10 winhlp32: Avoid Unicode macros. 2012-01-20 12:50:15 +01:00
Francois Gouget 5eecdc80e1 winhlp32: Standardize the 'Not yet implemented' messages. 2012-01-12 19:30:13 +01:00
Eric Pouech a494cbb63b winhlp32: Fix hlpfile content decompression in phrase40 mode. 2011-11-16 09:44:41 +01:00
Alexandre Julliard 4707afc74c winhlp32: Convert dialogs to po files. 2011-10-31 16:47:13 +01:00
Francois Gouget ddaaa54b15 winhlp32: Add parentheses to clarify the precedence between '&' and '&&'. 2011-09-12 11:01:02 +02:00
Eric Pouech d3fd3d73be winhlp32: Better protect macros against not finding a help file. 2011-08-01 11:08:41 +02:00
Frédéric Delanoy 1b6eed8a99 programs: Assorted spelling fixes. 2011-07-27 17:48:10 +02:00
Frédéric Delanoy dcf9d74be7 winhlp32: Remove dead assignment (Clang). 2011-07-11 18:33:12 +02:00