Commit Graph

349 Commits

Author SHA1 Message Date
Huw Davies b74c9a6472 winspool: Keep track of any supplied devmode. 2012-03-30 16:56:37 +02:00
Huw Davies 736fdbdec5 winspool: Add a helper to free a printer entry. 2012-03-30 16:56:32 +02:00
Huw Davies 2f78666a01 winspool: Add a helper to duplicate a devmode. 2012-03-30 16:56:24 +02:00
Francois Gouget 47f45d793d Use a single space after a full stop to follow the Windows GUI guidelines. 2012-01-23 16:07:03 +01:00
Francois Gouget 915ddc4026 winspool: Fix the compilation on Solaris by including errno.h instead of sys/errno.h. 2011-12-02 17:25:56 +01:00
Ken Thomases 6df7adfff1 winspool: Wait for and reap print spool child process. 2011-12-01 10:40:41 +01:00
Ken Thomases 7a88d5a1e4 winspool: No need to reset SIGCHLD because we're not changing it anymore. 2011-12-01 10:11:13 +01:00
Alexandre Julliard b14e086da5 winspool: Convert dialogs to po files. 2011-11-17 22:25:55 +01:00
Francois Gouget 7454791643 winspool.drv: Delete the static critical section when unloading the dll. 2011-11-17 11:38:19 +01:00
Alexandre Julliard 7a8a56a27c winspool/tests: Allow a different way of specifying the paper size capabilities. 2011-10-31 20:00:26 +01:00
Andrew Talbot 4c7f394b74 winspool.drv: Const-correctness fix. 2011-09-13 17:16:58 +02:00
André Hentschel 7d13898fbb winspool.drv/tests: Fix tracing a NULL string. 2011-08-30 11:53:06 +02:00
Andrew Talbot f2e922c726 winspool.drv: Fix a logical operator typo. 2011-08-29 12:08:20 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Marcus Meissner dad3342907 winspool.drv: Removed a superflous NULL check (Coverity). 2011-06-15 20:04:42 +02:00
Marcus Meissner 6ade35ef0f winspool.drv: Mark internal symbols with hidden visibility. 2011-05-26 13:31:40 +02:00
David Hedberg a82f7cf446 winspool.drv: Add stubs for IsValidDevmodeW and IsValidDevmodeA. 2011-05-09 17:17:12 +02:00
Nicolas Le Cam 64111e2518 winspool.drv: Fix uninitialized variable warning. 2011-04-26 10:52:57 +02:00
Detlef Riekenberg 14fc2eff44 winspool: Do not mark AddPrinterA as stub. 2011-02-14 12:28:08 +01:00
Austin English 60c11fe037 winspool.drv: Make sure to use return values (LLVM/Clang). 2011-02-07 10:11:22 -06:00
Alexandre Julliard 35f3db4e24 winspool.drv: Convert string table resources to po files. 2011-01-12 18:12:14 +01:00
Hwang YunSong ac2b56162a winspool.drv: Update Korean resource. 2011-01-10 12:41:35 +01:00
Huw Davies 052cfad067 winspool.drv: Rewrite the lpr scheduler to use the pipe scheduler. 2010-12-07 16:10:30 +01:00
Alexandre Julliard d7a0284f87 winspool/tests: Avoid sizeof in traces. 2010-11-17 15:08:18 +01:00
Hans Leidekker b8d0c0dcc7 winspool.drv: Return success from the AddPrintProcessorW stub. 2010-11-16 18:07:06 +01:00
Austin English d2ee7aa790 winspool.drv: Skip tests when no printer is installed. 2010-11-11 12:22:22 +01:00
Marcus Meissner c7f158824f winspool.drv: Check return value of EnumPrintersA. 2010-10-25 13:52:50 +02:00
Paul Vriens b185c6a9c3 winspool.drv: Add the Serbian (Latin and Cyrillic) translation.
Translation by Đorđe Vasiljević.
2010-10-22 14:22:30 +02:00
Detlef Riekenberg e61f27299a winspool: Use Unicode for CUPS printer names. 2010-10-18 19:47:49 +02:00
Detlef Riekenberg d07673ecf3 winspool: Use Unicode to add a driver entry for a unix printer. 2010-10-18 19:47:49 +02:00
Detlef Riekenberg 815c24b369 winspool: Set devices and printerports in AddPrinterW. 2010-10-18 19:47:49 +02:00
Detlef Riekenberg f69a4ef07f winspool: Use CUPS for printing. 2010-10-13 11:35:07 +02:00
Detlef Riekenberg 178294a423 winspool: Implement SetDefaultPrinterA/W. 2010-10-13 11:34:44 +02:00
Yaron Shahrabani feb0e0820d winspool: Added Hebrew translation. 2010-10-13 11:23:49 +02:00
Detlef Riekenberg b23be05eef winspool: Remove unused code. 2010-10-05 12:07:38 +02:00
Vitaly Perov e8f56565cb winspool.drv: Support pDevMode field in {Get/Set}Job. 2010-09-23 19:21:39 +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
Vitaly Perov e1b9a5c892 winspool.drv: Set the printer name in AddJobW. 2010-09-13 16:47:00 -05:00
Paul Vriens 75c5484174 dlls: Fix some specfiles with respect to 'str' and 'wstr' usage. 2010-09-09 14:57:44 +02:00
Huw Davies 246f741eb3 winspool.drv: Allow for spaces in either the printer name or the spool file. 2010-08-25 17:36:47 +02:00
Detlef Riekenberg bd1941c3c2 wineps: Use winspool.drv for job management. 2010-08-17 12:56:33 +02:00
Michael Stefaniuc 848a51a78b winspool.drv: Remove the ignored common resource attributes. 2010-07-22 11:41:37 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Igor Paliychuk 2c35fccf4d winspool.drv: Add Ukrainian translation. 2010-07-21 13:23:58 +02:00
Gustavo Henrique Milaré 906aa5c904 winspool.drv: Update Portuguese (Brazilian) translation. 2010-07-02 12:18:04 +02:00
Kovács András 90be2714a7 winspool.drv: Add Hungarian translation. 2010-06-29 10:54:06 +02:00
Akihiro Sagawa 58277cb0e9 winspool.drv: Add Japanese translation. 2010-06-21 11:46:40 +02:00
Detlef Riekenberg 2cbb9a1ee5 winspool/tests: Handle the Windows bug in GetPrinterDataEx. 2010-06-17 11:47:30 +02:00
Detlef Riekenberg 18193b193b winspool: Return ERROR_MORE_DATA, when the app probe for the needed buffer size. 2010-06-16 11:44:49 +02:00
Detlef Riekenberg fa69a8b1b2 winspool/tests: Test GetPrinterData/Ex for the print spooler. 2010-06-15 19:58:30 +02:00
Detlef Riekenberg ce51d9d0c9 winspool: Support the spooler in GetPrinterData. 2010-06-15 19:58:30 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Vriens 387f050f68 winspool.drv/tests: Fix a test failure on Win9x/WinMe. 2010-02-17 11:45:34 +01:00
Paul Vriens 5e3e9e03f2 winspool.drv/tests: Skip non supported levels on Win9x/WinMe. 2010-02-17 11:45:27 +01:00
Paul Vriens f5d40cb8c5 winspool.drv/tests: Fix some test failures on Win9x/WinMe. 2010-02-17 11:45:22 +01:00
Paul Vriens 716358c568 winspool.drv/tests: Use FILE_SHARE_READ to fix some Win9x/WinMe failures. 2010-02-16 18:13:35 +01:00
Paul Vriens 09dbbfc5e9 winspool.drv/tests: Fix a test failure on Win9x/WinMe. 2010-02-16 16:44:06 +01:00
Paul Vriens edf0b4a061 winspool.drv: Fix some test failures on Win9x/WinMe. 2010-02-08 17:14:43 +01:00
Luca Bennati 4509d9aa10 winspool.drv: Fix Italian translation. 2010-02-03 11:05:00 +01:00
Jeremy White b806e13001 winspool: Correctly zero printer driver buffer on failure, with tests. 2009-12-24 12:15:40 +01:00
Jeremy White 09401dd4b1 winspool: Test for failure using correct size. 2009-12-24 12:15:40 +01:00
Jeremy White e4897a827b winspool: Add tests for paths returned in GetPrinterDriver. 2009-12-16 12:42:39 +01:00
Paul Vriens 5719881ed5 winspool.drv/tests: Fix test failures on XP+ with long printer names. 2009-12-08 12:53:13 +01:00
Marcus Meissner faf1485e4e winspool.drv: Check ptr for being NULL (Coverity). 2009-12-03 12:05:52 +01:00
Jeremy White fa63234b52 winspool: Remove unvarying unicode parameter from WINSPOOL_GetDevModeFromReg. 2009-12-02 12:14:47 +01:00
Jeremy White 9d549a9c13 winspool: Remove unvarying unicode parameter from WINSPOOL_GetDefaultDevMode. 2009-12-02 12:14:42 +01:00
Jeremy White c0238d96b4 winspool: Remove unvarying unicode parameter from WINSPOOL_GetStringFromReg. 2009-12-02 12:14:15 +01:00
Jeremy White b378e0a3d4 winspool: Remove unvarying unicode parameter from WINSPOOL_GetPrinter_[1-9]. 2009-12-02 12:14:01 +01:00
Jeremy White 108230c19e winspool: Remove unvarying unicode parameter from WINSPOOL_GetDriverInfoFromReg. 2009-12-02 12:13:52 +01:00
Jeremy White 10e70fbd18 winspool: Revise EnumPrinterDriversW to fix the incorrect handling of 'all'. EnumPrinterDriversA is similarly fixed by using EnumPrinterDriversW. 2009-12-02 12:13:31 +01:00
Jeremy White 0506d3cdc0 winspool: Add a test which shows the flaws in the current all enumeration. 2009-12-01 13:11:43 +01:00
Jeremy White 6994b721de winspool: Implement GetPrinterDriverA with GetPrinterDriverW, notably using the larger sizes, which fixes a bug in printing with Acrobat Reader 9.2. 2009-12-01 13:11:37 +01:00
Jeremy White c445761b56 winspool: Add a test to show size required for EnumPrinterDriversA is the same as W. 2009-12-01 13:11:28 +01:00
Jeremy White c5a0f9316d winspool: When retrieving PRINTER_INFO_7, the lack of a directory service print queue object is represented with a NULL pointer and a successful return, not an error return. 2009-12-01 13:11:20 +01:00
Jeremy White eae3c3cacc winspool: Implement GetPrinterA via GetPrinterW, largely to support the eccentricity that GetPrinterA allocates buffers as large as those required by GetPrinterW. 2009-12-01 13:10:39 +01:00
Jeremy White 91678ff9e9 winspool: Add modest tests for GetPrinter. 2009-12-01 13:07:46 +01:00
Jeremy White 4c136a5df3 winspool: Remove unvarying unicode parameter from WINSPOOL_EnumPrinters. 2009-12-01 13:07:30 +01:00
Jeremy White 602d9058fb winspool: Remove unvarying unicode parameter from WINSPOOL_OpenDriverReg. 2009-12-01 13:05:54 +01:00
Gerald Pfeifer 5b4fdcc8f1 winspool/tests: Guard debugging code by #ifdef instead of plain #if. 2009-11-30 16:10:18 +01:00
Jeremy White 2feb43f573 winspool: Add a test showing Windows behavior wrt size and GetPrinterDriverA.
This behavior was discovered by Huw Davies.
2009-11-24 15:54:33 +01:00
Marcus Meissner 0dca1ebecf winspool.drv: Remove useless assignments without NULL ptr check (Coverity). 2009-11-23 13:09:36 +01:00
Paul Vriens ab9ee4a3fd winspool.drv/tests: Fix a test failure on Vista. 2009-10-21 16:05:57 +02:00
Detlef Riekenberg 8c743cb25f winspool/tests: Fix a failure on NT4 for EnumPrintProcessors. 2009-10-16 17:49:54 +02:00
Detlef Riekenberg 388aca4b9f winspool: Use the backend for GetPrintProcessorDirectory and update the tests. 2009-10-16 17:49:54 +02:00
Detlef Riekenberg fe4ba50bd9 winspool: Fix a copy & paste error in a comment. 2009-10-16 17:49:54 +02:00
Detlef Riekenberg 289ed3ada7 winspool/tests: Add tests for EnumPrintProcessors. 2009-10-15 12:06:18 +02:00
Detlef Riekenberg 353fe2ed15 winspool: Implement EnumPrintProcessors[A|W]. 2009-10-15 12:06:18 +02:00
Detlef Riekenberg a916f74476 winspool: Use the backend for AddPortExW. 2009-09-30 14:31:58 +02:00
Detlef Riekenberg f6120c2aa4 winspool: Use the backend for AddPortW. 2009-09-29 14:50:28 +02:00
Detlef Riekenberg 6452e4d2bb winspool: Use the backend for DeletePortW. 2009-09-28 17:32:05 +02:00
Detlef Riekenberg 6a246a71eb winspool: Use the backend for ConfigurePortW. 2009-09-28 17:32:05 +02:00
Michael Stefaniuc 2bbd5ed9c9 winspool.drv: Add the Romanian translation. 2009-08-19 12:07:14 +02:00
Vladimir Pankratov 148551f900 winspool.drv: Convert the Russian resources to UTF-8. 2009-08-05 13:11:08 +02:00
Michael Stefaniuc 32f33a3e6d winspool.drv: Convert the German resources to UTF-8. 2009-07-09 15:22:26 +02:00
Frédéric Delanoy c308622546 winspool.drv: Convert French resources to UTF-8. 2009-07-09 15:09:30 +02:00
Aurimas Fišeras 4e1af57b5f Various spelling fixes for Lithuanian translation. 2009-07-06 14:35:26 +02:00
Michael Stefaniuc 9d9eccc378 winspool.drv: Build language resource files separately.
Do not include them from an other rc file.
2009-07-03 11:31:41 +02:00
Detlef Riekenberg 0bc112cfe4 winspool: Move remaining Xcv support to the backend. 2009-05-07 16:21:16 +02:00
Detlef Riekenberg b4120c7f27 localspl: Start implementation of OpenPrinter/ClosePrinter. 2009-05-06 13:24:06 +02:00