Aida Jonikienė
81e9ae96f1
localspl: Fix a maybe-uninitialized warning in fill_builtin_form_info().
2024-01-26 11:02:41 +01:00
Fabian Maurer
83bcb752a2
localspl: In fpScheduleJob leave critical section in error case (Coverity).
2024-01-17 11:00:37 +01:00
Alexandre Julliard
acad49573a
makefiles: Always use the global SOURCES variable for .c files.
2023-11-01 22:44:03 +01:00
Alexandre Julliard
7ccb5df0fc
makefiles: Always use the global SOURCES variable for .rc files.
2023-11-01 22:43:56 +01:00
Brendan Shanks
c742e3f67b
localspl: Ensure unixlib function tables and enum stay in sync.
2023-10-30 13:35:13 +01:00
Piotr Caban
dea831a241
localspl: Truncate output file when printing to file.
2023-10-12 18:14:37 +02:00
Piotr Caban
b6b8d5f49c
localspl: Add ResetPrinter implementation.
2023-10-09 11:38:26 +02:00
Alexandre Julliard
949681d8c3
localspl: Fix an uninitialized variable warning with clang.
2023-09-14 12:32:57 +02:00
Piotr Caban
be5ca1be7c
localspl: Try fallback print processor if datatype is not supported.
2023-08-24 20:29:49 +02:00
Piotr Caban
3a47720697
localspl: Store fallback print processor in AddPrinterDriver.
2023-08-24 20:29:49 +02:00
Fabian Maurer
cc3f61e7dd
localspl: Add workaround for old versions of cups.h.
...
Recent versions of cups.h have HTTP_STATUS_CONTINUE as enum,
so defining it doesn't hurt
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54166
2023-07-07 13:27:38 +02:00
Alistair Leslie-Hughes
2833321270
localspl: Remove DECLSPEC_HIDDEN usage.
2023-07-05 11:21:32 +02:00
Piotr Caban
8171cfb79b
localspl: Don't pass original document name to cupsStartDocument.
...
It's used by the function to find document content type. Fixes regression
introduced by e164b8cefb
.
2023-06-07 22:48:27 +02:00
Alex Henrie
78ef7c3461
localspl: Fix memory leak in lpr_start_doc (scan-build).
2023-06-06 11:23:28 +02:00
Piotr Caban
1b2db7f171
localspl: Implement AbortPrinter while spooling.
2023-05-23 09:28:43 +02:00
Piotr Caban
3d9d52dbfc
localspl: Fix wow64_start_doc Wow64 entry point.
2023-05-18 13:49:11 -05:00
Piotr Caban
70d84f7062
localspl: Add partial support for PRINTER_ATTRIBUTE_KEEPPRINTEDJOBS attribute.
2023-04-28 18:33:23 +02:00
Piotr Caban
e930220b2a
localspl: Validate datatype in StartDocPrinter.
2023-04-27 18:34:09 +02:00
Piotr Caban
dd4603d3ab
localspl: Add support for PRINTER_ATTRIBUTE_RAW_ONLY printer attribute.
2023-04-27 18:34:09 +02:00
Piotr Caban
48d3271f96
localspl: Ignore an empty output string.
...
We should probably ignore all incorrect ports. This is a minimal change
that restores 5dadeeb29d
commit.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54379
2023-02-21 18:43:45 +01:00
Gerald Pfeifer
9bf9b20c53
localspl: Avoid uninitialized variable in fill_builtin_form_info.
...
As diagnosed by GCC 13:
dlls/localspl/provider.c: In function ‘fill_builtin_form_info’:
dlls/localspl/provider.c:3045:16: warning: ‘res_len’ may be used uninitialized [-Wmaybe-uninitialized]
3045 | if (res_len)
| ^
2023-01-24 18:16:53 +01:00
Piotr Caban
8aaaf417cd
localspl: Add partial SeekPrinter implementation.
2022-12-06 17:04:50 +01:00
Piotr Caban
017e9557db
localspl: Use print processor in ScheduleJob.
2022-12-06 17:04:50 +01:00
Piotr Caban
b7714744c8
localspl: Store default datatype in printer data.
2022-12-06 17:04:50 +01:00
Piotr Caban
9b9baf3534
localspl: Store datatype in print job data.
2022-12-06 17:04:50 +01:00
Piotr Caban
230aab4ca8
localspl: Use helper for loading string from registry in monitor_load.
2022-12-06 17:04:50 +01:00
Piotr Caban
5db76ad245
localspl: Load printer datatype and print processor information on init.
2022-12-06 17:04:50 +01:00
Piotr Caban
29d05e540e
localspl: Add AddPrintProcessor implementation.
2022-12-05 20:04:53 +01:00
Piotr Caban
74be22b782
localspl: Support Port handles in EndDocPrinter.
2022-12-05 20:04:53 +01:00
Piotr Caban
f079c02ff7
localspl: Partially support Port handles in StartDocPrinter.
2022-12-05 20:04:53 +01:00
Piotr Caban
62e017c91b
localspl: Support Port handles in WritePrinter.
2022-12-05 20:04:53 +01:00
Piotr Caban
6bb5bb4486
localspl: Add support for Port handles.
2022-12-05 20:04:53 +01:00
Piotr Caban
5c58e4488f
localspl: Add ReadPrinter implementation.
2022-12-03 00:05:17 +01:00
Piotr Caban
f4dbb3e8a4
localspl: Add support for Job handles.
2022-12-03 00:05:17 +01:00
Piotr Caban
4d74944a62
localspl: Rename job_t structure to job_info_t.
2022-12-03 00:05:17 +01:00
Piotr Caban
da4d55db4b
localspl: Use separate structure to store printserver handles.
2022-12-03 00:05:17 +01:00
Piotr Caban
730b0826a0
localspl: Use separate structure to store XcvPort and XcvMonitor handles.
2022-12-03 00:05:17 +01:00
Piotr Caban
aa7cedbc12
localspl: Preparation for using handle type specific structures.
2022-12-03 00:05:17 +01:00
Piotr Caban
5954a7f3cd
localspl: Fix error handling in printer_alloc_handle helper.
2022-12-03 00:05:17 +01:00
Piotr Caban
9c939184f3
winspool: Use providor for WritePrinter implementation.
2022-12-01 20:36:04 +01:00
Piotr Caban
a04bf6e8a8
localspl: Fix error handling in ScheduleJob.
2022-12-01 20:36:04 +01:00
Piotr Caban
e687ebd363
localspl: Return error if cups port handle is used from different threads.
2022-12-01 20:36:04 +01:00
Piotr Caban
b09f8714ae
localspl: Add cups port extension.
2022-12-01 20:36:04 +01:00
Piotr Caban
90149034ef
localspl: Add lpr port extension.
2022-11-29 19:11:19 +01:00
Piotr Caban
6372a61eb5
localspl: Add unixname port extension.
2022-11-29 19:11:19 +01:00
Piotr Caban
fca258ef89
localspl: Add pipe port extension.
2022-11-29 19:11:19 +01:00
Piotr Caban
aa4e9c39d2
localspl: Fix parameters validation in FILE StartDocPort.
2022-11-29 19:11:19 +01:00
Piotr Caban
604e7b4e77
localspl: Add printer port redirection extension.
2022-11-29 19:11:19 +01:00
Piotr Caban
06aac5a4f7
localspl: Add EndDocPrinter implementation.
2022-11-28 21:01:55 +01:00
Piotr Caban
35c393fd04
localspl: Add partial ScheduleJob implementation.
2022-11-28 21:01:55 +01:00