Commit Graph

194 Commits

Author SHA1 Message Date
Eric Pouech 27a22e2acc localspl/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-28 21:30:19 +01:00
Eric Pouech 600d804299 localspl: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-11 11:21:38 +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
Esme Povirk 6e14766ad5 localspl: Choose print environment based on architecture.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51815
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 10:49:11 +02:00
Esme Povirk 0d05b01ce4 localspl: Add ARM print environments.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51815
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 10:49:08 +02: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
Huw Davies 649821071c localspl: Implement GetForm().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-19 17:05:02 +02:00
Huw Davies bb51415904 localspl: Implement EnumForms().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-19 17:05:02 +02:00
Huw Davies 7d4a7f8557 winspool: Forward the unicode forms functions to localspl.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-19 16:58:26 +02:00
Alexandre Julliard ade15558db localspl: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 11:40:42 +01:00
Michael Stefaniuc b1e6ce9171 localspl: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-04 18:39:39 +01:00
Dmitry Timoshkov ce9835df01 localspl/tests: Add support for monitors providing the MONITOR2 interface.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-09 16:25:56 +02:00
Dmitry Timoshkov 29ecb6f4bc localspl: Add MONITORREG stub callbacks for InitializePrintMonitor2.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-09 16:25:56 +02:00
Dmitry Timoshkov 01d6835835 localspl: Fix MONITOR2 callback prototypes.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-09 16:25:56 +02:00
Dmitry Timoshkov 24a16c0037 localspl: Fix MONITOR2.cbSize calculation when converting from MONITOREX.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-09 16:25:56 +02:00
Dmitry Timoshkov e620a3f359 localspl: Use the monitor handle returned by InitializePrintMonitor2.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-09 16:25:56 +02:00
Dmitry Timoshkov db4d01e191 localspl: Unload monitor in DeleteMonitor.
Some print monitors are very sensitive to loads/unloads being done
in a quick succession like AddMonitor() does, and that even leads to
crashes because the monitor I have here creates a thread on load and
when the thread starts - the monitor dll is already unloaded.
A solution to this is moving the monitor unloading to DeleteMonitor.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-06 13:08:40 +02:00
Dmitry Timoshkov d9518240c3 localspl: Add support for monitors providing the MONITOR2 interface.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-06 13:08:37 +02:00
Dmitry Timoshkov 64a5720d25 localspl: AddMonitor should create registry entry for a monitor before initializing it.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-06 13:08:33 +02:00
Dmitry Timoshkov c113c5b9e7 localspl: Remove useless NULL checks from AddMonitor trace.
AddMonitor dereferences pMonitors later without any checks.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-05 19:52:22 +02:00
Alexandre Julliard 8c98417cfd localspl: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 10:55:52 +02:00
Michael Stefaniuc 84b7a8f05e localspl: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:38:46 +02:00
Michael Stefaniuc b5f4647f90 localspl: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 10:00:03 +01:00
Detlef Riekenberg 54e52897f8 localspl: Clear LastError on success in AddMonitor.
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-08 10:46:54 +01:00
Detlef Riekenberg 5d6f96fd9d localspl: Accept valid environments in AddMonitor.
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-02 19:33:26 +01:00
Francois Gouget dc9684b663 localspl: Remove uneeded NONAMELESSUNION directives. 2015-03-13 21:57:29 +09:00
André Hentschel f1cd8d4ac9 localspl: Remove unused strings (Clang). 2014-12-02 10:31:07 +01:00
Frédéric Delanoy 91f2435469 Assorted spelling fixes. 2014-01-09 17:39:59 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy 181004bf92 localspl/tests: Constify some character strings. 2013-12-24 11:22:58 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Frédéric Delanoy 6a512d0d3c localspl: Use BOOL type where appropriate. 2013-11-19 18:48:47 +01:00
Frédéric Delanoy da6c728195 Assorted spelling fixes. 2013-11-07 19:01:20 +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 0b3a58090a localspl: Use neutral language for the version resource. 2013-07-09 22:21:58 +02:00
Michael Stefaniuc e67deeb8a1 localspl: Avoid using sizeof on structs with variable length array. 2012-11-02 19:47:27 +01:00
Huw Davies 69164eac3e localspl: Have GetPrinterDriverDirectory create the driver directory.
This is needed so that during wineprefix creation, winspool.drv can succeed in printer initialisation.
2012-06-14 18:20:33 +02:00
Huw Davies af8228f02a localspl: Remove a bunch of casts. 2012-06-13 21:35:37 +02:00
Huw Davies 25bb808cf1 localspl: Calling AddPrinterDriver on an existing driver should succeed. 2012-05-17 17:44:24 +02:00
Huw Davies 67886fe54f localspl: Only store the file part of the filenames in the registry. 2012-05-16 18:30:26 +02:00
André Hentschel 975d9ed97a localspl: Fix printing a NULL string. 2011-09-01 18:06:36 +02:00
Marcus Meissner 340be4feb7 localspl: Mark internal symbols with hidden visibility. 2011-05-20 10:32:59 +02:00
Austin English 7cebcce857 localspl/tests: Make sure return values are used (LLVM/Clang). 2011-02-08 13:42:14 -06:00
Alexandre Julliard 7df87f3976 localspl: Convert translations to po files. 2011-01-06 15:04:14 +01:00
Hwang YunSong 0ac0955a98 localspl: Update Korean resource. 2010-12-24 12:05:47 +01:00
Paul Vriens 3237f5871d localspl: Add the Serbian (Latin and Cyrillic) translation.
Translation by Đorđe Vasiljević.
2010-11-01 11:35:41 +01:00
Yaron Shahrabani d721af88e6 localspl: Added Hebrew translation. 2010-10-27 11:59:54 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Michael Stefaniuc e878660de2 localspl: Remove the ignored common resource attributes. 2010-07-22 11:41:37 +02:00