Commit Graph

277 Commits

Author SHA1 Message Date
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
Paul Vriens b0da2a2e48 winspool.drv/tests: Fix a test failure on NT4 and below. 2009-03-25 11:06:12 +01:00
Hans Leidekker a01ba78546 winspool: Support special environment value "all" in EnumPrinterDrivers.
A custom action in the sp1 installer passes this value.
2009-03-24 13:32:55 +01:00
Alexandre Julliard ca5d2eabdc winspool.drv: Make sure the DEVMODE structure is fully initialized. 2009-03-12 14:29:17 +01:00
Francois Gouget 5e79fd7534 winspool.drv/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-25 12:50:00 +01:00
Aurimas Fischer de6a9e4061 winspool.drv: Fix another inconsistency in Lithuanian translation. 2009-02-23 12:19:47 +01:00
Aurimas Fischer 7ea4fcb7c6 winspool.drv: Properly free destinations list returned by CUPS. 2009-02-20 18:07:40 +01:00
Aurimas Fischer 2b22863fec winspool.drv: Add Lithuanian translation. 2009-02-20 18:07:40 +01:00
Detlef Riekenberg 857e942992 winspool: Move EnumPortsW to the backend. 2009-02-09 14:49:00 +01:00
Detlef Riekenberg c0e11f663b winspool: Enable environment "Windows x64" for Win64. 2009-02-05 13:14:08 +01:00
Detlef Riekenberg 1693cd1c5d winspool/tests: Run more tests on Win64. 2009-02-05 13:14:05 +01:00
Michael Stefaniuc 6c2aeaece7 winspool.drv: Remove superfluous pointer casts. 2009-01-29 14:06:13 +01:00
ByeongSik Jeon 5f3287d79f *Ko.rc: Update Korean resource.
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
ByeongSik Jeon 1b0297a7f9 *Zh.rc: Update the Chinese resource font name to "MS Shell Dlg". 2008-12-11 12:20:48 +01:00
Francois Gouget dc46cd042c winspool.drv: Remove unneeded casts of zero. 2008-12-08 12:04:48 +01:00
Rob Shearman e47495c6e2 winspool.drv: Use CP_UNIXCP instead of CP_ACP for data that is going to or coming from system library functions. 2008-12-04 12:05:44 +01:00
Alexandre Julliard d6f7d50189 winspool.drv: Make some functions static. 2008-12-02 15:26:19 +01:00
Francois Gouget 9c5e97aa71 Assorted spelling fixes. 2008-11-24 14:25:10 +01:00
Ricardo Filipe 6555ea262c winspool.drv: Added Portuguese translation. 2008-11-17 12:58:46 +01:00
Nicolas Le Cam 094085dd7e winspool.drv/tests: Fix a test on all platforms. 2008-11-11 14:06:31 +01:00
Huw Davies fca028c8da winspool.drv: The fourth parameter of DeviceCapabilitiesW should be an output ptr. 2008-10-22 11:53:26 +02:00
Alexandre Julliard 7f327237bf Convert remaining source files to utf-8. 2008-10-18 19:23:08 +02:00
Lei Zhang aea5d3d14a winspool: Check the return results from schedule_* functions. 2008-09-29 17:22:27 -05:00
Detlef Riekenberg 6d0ffa50a0 winspool: Use the backend for AddMonitor. 2008-09-19 11:41:15 +02:00
Paul Vriens bf520bfbb1 winspool.drv/tests: Fix a test on Vista/W2K8. 2008-09-05 16:26:39 +02:00
Hongbo Ni 2656c02dd6 winspool: Add simplified and traditional Chinese resources. 2008-09-04 11:42:48 +02:00
Francois Gouget 289ea33803 configure: Use cups-config to probe for cups support. 2008-07-25 11:28:53 +02:00
Detlef Riekenberg f9a18b8fd7 winspool: Move DeleteMonitorW to the backend. 2008-07-11 14:22:25 +02:00
Detlef Riekenberg ee1cca5187 winspool: Move more parameter-checks for EnumMonitorsW to localspl. 2008-07-11 14:22:25 +02:00
Detlef Riekenberg 0848be6a60 winspool: Use the backend for EnumMonitors. 2008-07-02 12:36:16 +02:00
Huw Davies 4f6f415aaa winspool.drv: Make sure the printer driver registry entry exists. 2008-06-23 19:46:29 +02:00
Alexandre Julliard 8e2684fea4 winspool: Don't print NULL pointers in traces. 2008-06-23 17:10:04 +02:00
Mikołaj Zalewski 14a42f802d Make Swedish use SUBLANG_NEUTRAL. 2008-05-19 16:09:13 +02:00
Detlef Riekenberg 473717fefd winspool: Set PrinterPorts for win3.x/win9.x compatibility. 2008-05-07 13:29:15 +02:00
Jens Albretsen 00e62f3be7 winspool.drv: Danish translation. 2008-05-07 12:09:53 +02:00
James Hawkins 1cf567ecc9 winspool.drv: Disable a test for capabilities not available on all printer drivers. 2008-04-25 11:33:56 +02:00
Rok Mandeljc 5372b7439a winspool.drv: Added Slovenian translation. 2008-04-07 21:39:51 +02:00
Detlef Riekenberg 9e35ee852f winspool: Forward EnumPrintersA to EnumPrintersW. 2008-03-24 20:39:29 +01:00
Detlef Riekenberg 741fa21f95 winspool: Cleanup for DEVMODEdupWtoA. 2008-03-10 12:16:28 +01:00
Detlef Riekenberg 94a878414f winspool: Implement SpoolerInit. 2008-03-10 12:15:39 +01:00
Detlef Riekenberg f11b5831b9 winspool: Export ConvertAnsiDevModeToUnicodeDevMode and ConvertUnicodeDevModeToAnsiDevMode. 2008-03-10 12:15:33 +01:00
Alexandre Julliard 41f36c49e0 makefiles: Support non-standard import lib names in the global dll rules. 2008-03-06 11:54:03 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Detlef Riekenberg 81dadcb1a1 winspool: Implement Level 9 for GetPrinter. 2008-02-29 12:48:50 +01:00
Detlef Riekenberg ae91e974eb winspool: Implement Level 6 + 7 for GetPrinter. 2008-02-27 14:52:25 +01:00
Rob Shearman 18d891986d winspool.drv: Fix the character count passed into RegEnumKeyExW in get_local_monitors.
len is used in RegEnumKeyExW and this takes a character count for the 
key argument, not a byte count.
2008-02-25 13:31:25 +01:00
Rob Shearman 35be5e1d1b winspool: Fix the character count passed into RegEnumKeyExW in get_local_monitors.
RegEnumKeyExW takes a character count for the key name, not a byte count.
2008-02-21 20:16:24 +01:00
Rob Shearman ee8dd6a19f Revert "winspool: Fix character count passed to RegQueryValueExW in get_local_monitors".
This reverts commit 6886a49c59.

RegQueryValueExW takes a byte count, not a character count (spotted by 
Detlef Riekenberg).
2008-02-21 20:16:20 +01:00
Rob Shearman 6886a49c59 winspool: Fix character count passed to RegQueryValueExW in get_local_monitors. 2008-02-18 12:41:36 +01:00
Detlef Riekenberg 6ec7c2dca0 winspool: Use the backend for AddPrinterDriverEx. 2008-02-08 12:48:21 +01:00
Detlef Riekenberg 36130b4d77 winspool: Use the backend for GetPrinterDriverDirectory. 2008-02-06 11:35:55 +01:00
Gerald Pfeifer 216a1b3767 winspool: Adjust the typo of a loop variable in test_EnumForms().
Simplify a test in test_GetPrinterDriver().
2008-01-02 12:38:42 +01:00
Lionel Debroux 87b33ccb58 winspool: Fix memory leak (found by Smatch). 2007-12-17 12:31:34 +01:00
Marcel Partap c966301548 winspool.drv/tests: Add dumping of FORM_INFO_1/2 in test_EnumForms. 2007-12-12 14:46:55 +01:00
Vitaly Lipatov 914e78aeb5 winspool.drv: Fix buffer sizes. 2007-12-05 13:32:24 +01:00
Detlef Riekenberg d244a55cce winspool: Use unsigned type to avoid a compiler warning. 2007-11-07 13:34:37 +01:00
Detlef Riekenberg d6d0239f73 winspool: Error check in add_printer_driver() was to strict.
Reported by Dan Sawyer.
2007-11-06 13:02:41 +01:00
Dmitry Timoshkov d43fdc5ab0 include: Synchronize DEVMODE layout with PSDK. 2007-11-01 12:41:21 +01:00
Daniel Nylander 2c897c7f49 winspool.drv: Add Swedish translation. 2007-10-16 12:39:18 +02:00
Detlef Riekenberg 3e6307f20a winspool: Add a missing export. 2007-10-04 11:29:32 +02:00
Francois Gouget b2bc712323 Assorted spelling fixes. 2007-09-27 20:12:53 +02:00
Detlef Riekenberg 449fa0d204 winspool: Powerpoint XP expect a valid pointer on Win9x. 2007-08-30 20:05:12 +02:00
Francois Gouget a116879507 Assorted spelling fixes. 2007-08-30 12:26:02 +02:00
Detlef Riekenberg b068ce5c2c winspool: Forward AddPrinterDriver to AddPrinterDriverEx. 2007-08-24 10:57:16 +02:00
Detlef Riekenberg 9be4cc3abf winspool: Strings can be NULL in AddPrinterDriverExA. 2007-08-23 14:08:53 +02:00
Detlef Riekenberg 8506125cb9 winspool: Add always the Win9x and the NT printerdriver. 2007-08-23 12:38:50 +02:00
Detlef Riekenberg 4ff59a8320 winspool: Implement AddPrinterDriverExA. 2007-08-16 12:09:40 +02:00
Detlef Riekenberg 29444b4aa3 winspool: Implement AddPrinterDriverExW. 2007-08-16 12:09:20 +02:00
Detlef Riekenberg 1c8a466cca winspool/tests: Fix 2 failing tests for restricted users. 2007-08-14 12:25:32 +02:00
Detlef Riekenberg 5c04d1fe41 winspool/tests: Add tests for EnumPrinterDrivers. 2007-08-10 13:34:45 +02:00
Detlef Riekenberg f976fc8ead winspool: Add a TRACE when wine_dlopen for SONAME_LIBCUPS failed. 2007-07-30 23:37:58 +02:00
Detlef Riekenberg 510c4dc749 winspool: Return most fields for DRIVER_INFO_4 and 6. 2007-07-27 12:43:13 +02:00
Detlef Riekenberg 7a2c4fb1df winspool: Return the full path in DRIVER_INFO_2 and 3. 2007-07-27 12:42:58 +02:00