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
Piotr Caban
934b63d85a
localspl: Add GetJob implementation.
2022-11-28 21:01:55 +01:00
Piotr Caban
3110f5d764
localspl: Add SetJob implementation.
2022-11-28 21:01:55 +01:00
Piotr Caban
baabf623fe
localspl: Add StartDocPrinter implementation.
2022-11-28 21:01:55 +01:00
Piotr Caban
adbbcb54dd
localspl: Add AddJob implementation.
2022-11-28 21:01:55 +01:00
Piotr Caban
90fa4b428d
localspl: Introduce printer_info_t structure.
...
The structure will be used to store printer information shared between all
printer handles (like printer name, attributes, job queue).
2022-11-28 21:01:55 +01:00
Piotr Caban
f89a5fd458
localspl: Convert MONITOREX structure to MONITOR2 during port monitor initialization.
2022-11-28 21:01:55 +01:00
Piotr Caban
2aa9400897
localspl: Add FILE: port tests.
2022-11-28 11:33:37 +01:00
Piotr Caban
bdd561cfa3
localspl: Add FILE: port monitor implementation.
2022-11-28 11:33:36 +01:00
Piotr Caban
50a2e2f0e9
localspl: Run XcvOpenPort tests when InitializePrintMonitor2 is used.
2022-11-25 10:02:17 +01:00
Piotr Caban
b07b9074ee
localspl: Remove unused OpenPortEx function pointers.
2022-11-25 10:02:17 +01:00