Commit Graph

287 Commits

Author SHA1 Message Date
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
Detlef Riekenberg a2daf754c2 winspool: Enable all levels for EnumPrinterDrivers + GetPrinterDriver. 2007-07-27 12:42:41 +02:00
Detlef Riekenberg 4b53154f36 winspool: Return the full path for the driver. 2007-07-27 12:42:24 +02:00
Detlef Riekenberg 36a6515d4e winspool: Use correct path for 16bit drivers. 2007-07-27 12:41:49 +02:00
Detlef Riekenberg 92f843d7ed winspool: Use printenv_t for GetDriverInfoFromReg. 2007-07-23 11:59:14 +02:00
Pedro Araujo Chaves Jr ffbd30dd88 winspool.drv: Fallback to the first found printer as default printer. 2007-07-05 19:54:46 +02:00
Alexandre Julliard 702d35560b configure: Make the libcups soname check depend on the header check. 2007-07-02 19:42:52 +02:00
Alexandre Julliard 5a95cfbd9c configure: Export the shared library extension instead of hardcoding .so. 2007-07-02 14:35:05 +02:00
Michael Stefaniuc 1a3689fdc2 winspool.drv/tests: Specify the arguments of the function in the function. 2007-06-21 13:12:03 +02:00
Detlef Riekenberg 4307f6428f winspool/tests: Add tests for AddPortEx. 2007-06-18 13:36:56 +02:00
Detlef Riekenberg a2db0b83f7 winspool: Remove outdated comment. 2007-06-06 20:34:13 +02:00
Francois Gouget f7d314e5a4 winspool.drv: Fix the AddPortExA/W() export to match the implementation. 2007-06-06 12:12:13 +02:00
Stefan Leichter 06b64a1a2e winspool.drv: Replace WINSPOOL_SHDeleteKeyW with RegDeleteTreeW. 2007-06-06 12:10:32 +02:00
Detlef Riekenberg 0c71799d02 winspool: Implement AddPortEx. 2007-06-05 10:57:16 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
José Manuel Ferrer Ortiz ac3c960c26 Some Spanish translation updates. 2007-05-04 12:39:38 +02:00
Detlef Riekenberg 6b7c482cb6 winspool: Avoid crash on NULL parameter (XcvOpenPort in OpenPrinter). 2007-04-30 12:37:44 +02:00
Detlef Riekenberg fc78034638 winspool: Return the correct errorcode in OpenPrinter (Xcv). 2007-04-30 12:37:37 +02:00
Michael Stefaniuc 5f62da109e janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call. 2007-04-25 12:26:07 +02:00
José Manuel Ferrer Ortiz 730083f219 winspool.drv: Add Spanish resources. 2007-04-18 13:01:14 +02:00
Huw Davies 09a2c89a60 winspool.drv: Implement level 1 support for EnumPrinters. 2007-04-12 16:19:39 +02:00
Dmitry Timoshkov dddf348716 winspool: Add a test for DeviceCapabilities, fix some bugs found. 2007-04-05 11:56:08 +02:00
Detlef Riekenberg 4cd9d539dd winspool.drv: Do not cache the port names. 2007-03-29 21:02:33 +02:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Paul Vriens c23bf488b3 winspool.drv/tests: Remove tempfile after running the tests. 2007-03-06 21:59:54 +01:00
Detlef Riekenberg 753e61fe11 winspool/tests: Vista returns a different status. 2007-03-06 12:11:28 +01:00
Ken Thomases 1f420967f0 winspool.drv: Use exec() and _exit() instead of system() and exit(). 2007-02-28 21:29:34 +01:00
Andrew Talbot 54d578ba21 winspool.drv: Eliminate some W-to-A cross calls. 2007-02-28 14:03:43 +01:00
Vitaly Lipatov c9d78fc520 winspool: Constify some parameters in some functions. 2007-02-19 12:36:21 +01:00
Detlef Riekenberg 055d8d4611 winspool: Do not access NULL when HeapAlloc failed. 2007-02-15 11:14:58 +01:00
Francois Gouget 536e738552 Assorted spelling fixes. 2007-02-14 21:03:57 +01:00
Francois Gouget b230cce9cb winspool.drv: Remove unneeded cast. 2007-02-06 13:21:06 +01:00
Detlef Riekenberg 3b453d5915 winspool/tests: Add test for XcvDataW,PortIsValid. 2007-02-05 12:33:33 +01:00
Detlef Riekenberg db9d152e42 winspool/tests: Add test for XcvDataW,MonitorUI. 2007-02-05 12:33:23 +01:00
Huw Davies 37b671c59a winspool.drv: We don't need to check for the PPD Files key before using /etc/printcap. 2007-02-05 12:27:06 +01:00
Alexandre Julliard 3120a8ba0a winspool: Fix make rules for import library. 2007-01-26 13:07:37 +01:00
Detlef Riekenberg bc85a34f50 winspool: Make fixme for PRINTER_ENUM_CONNECTIONS more silent. 2007-01-22 12:49:44 +01:00
Francois Gouget b0bde6b87c Assorted spelling fixes. 2007-01-18 12:56:52 +01:00
Francois Gouget 42c4114401 winspool.drv: Use '%u' to print GetLastError(). 2007-01-18 12:55:25 +01:00
Francois Gouget 0c31ca34cb winspool.drv: Reorder a couple of functions and remove the forward declarations. 2007-01-18 12:00:05 +01:00
Detlef Riekenberg 85cd0a1f7a winspool/tests: Fix tests for EnumPrinters when the spooler is off. 2007-01-16 11:18:46 +01:00
Detlef Riekenberg b86a7644d9 winspool: More error checks for XcvDataW. 2007-01-16 11:18:34 +01:00
Detlef Riekenberg 619621d9ea winspool: Improve trace for ClosePrinter. 2007-01-16 11:18:25 +01:00
Detlef Riekenberg 5012fa06fc winspool: Support xcv in AddPortW. 2007-01-16 11:18:05 +01:00
Detlef Riekenberg 917b0eed55 winspool: Support xcv in DeletePortW. 2007-01-16 11:17:56 +01:00
Detlef Riekenberg f9402b87ca winspool/tests: Use a more generic name for a variable. 2007-01-16 11:17:50 +01:00
Detlef Riekenberg e576b09a85 winspool: Support Xcv for ConfigurePortW. 2007-01-12 11:22:41 +01:00
Detlef Riekenberg 9bdd900e71 winspool: Support monitors without a name. 2007-01-12 11:22:15 +01:00
James Hawkins 6840693371 winspool.drv: Check for get_filename failure. 2007-01-11 12:05:36 +01:00
Francois Gouget 48ca5fce3b winspool.drv/tests: Replace some '#if 0's with 'if (0)'s. 2007-01-08 12:06:24 +01:00
Detlef Riekenberg e82d2285f4 winspool: Implement XcvDataW. 2007-01-06 11:41:26 +01:00
Detlef Riekenberg 72b126b220 winspool: Call the Portmonitor for XcvMonitor and XcvPort in OpenPrinter. 2007-01-06 11:41:15 +01:00
Detlef Riekenberg f85b02b6ad winspool: Start support for XcvMonitor and XcvPort in OpenPrinter. 2007-01-06 11:41:04 +01:00
Detlef Riekenberg 58d1e2fa4d winspool: Support the local computername as servername for OpenPrinter. 2007-01-06 11:40:46 +01:00
Paul Vriens f5ecb72127 winspool.drv/tests: Skip EnumPrintersW tests when not implemented. 2007-01-01 17:03:24 +01:00
Michael Stefaniuc ee2e686ad7 winspool.drv/tests: In multiline strings there is no need for '\' at the end of the lines. 2006-12-27 13:10:05 +01:00
Detlef Riekenberg 496fd1dc56 winspoool/tests: Build the name of the local print server in a separate function. 2006-12-22 10:21:40 +01:00
Detlef Riekenberg 0bb3e4f74d winspoool/tests: Rename unclear string. 2006-12-22 10:21:21 +01:00
Francois Gouget 367f91fb5c Assorted spelling fixes. 2006-12-14 20:25:05 +01:00
Paul Vriens b73f30f8eb winspool.drv/tests: No need to return anything as we are using a global variable now. 2006-12-12 20:17:26 +01:00
Paul Vriens e9cd221e80 winspool/tests: Don't treat having no printers as a failure. 2006-12-12 12:11:29 +01:00
Paul Vriens 7dd8066941 winspool/tests: Make default_printer a global variable. 2006-12-12 12:11:20 +01:00
Paul Vriens c5d2053a7d winspool.drv/tests: Fix typo. 2006-12-11 12:17:39 +01:00
Francois Gouget c66628b73f Consistently use SUBLANG_NEUTRAL for Italian resources. 2006-12-05 11:28:38 +01:00
Huw Davies 9108eede84 winspool.drv: Outlook 2003 relies on the buffer size returned by EnumPrintersA being big enough to hold the buffer returned by EnumPrintersW. 2006-12-04 20:18:50 +01:00
Detlef Riekenberg a7481a93c0 winspool: Load the local monitor only once. 2006-11-30 16:35:17 +01:00
Detlef Riekenberg 13892639b4 winspool/tests: Add initial tests for AddPort. 2006-11-29 14:06:43 +01:00
Detlef Riekenberg 1f3c289a30 winspool: Implement AddPortA. 2006-11-29 14:06:31 +01:00
Detlef Riekenberg 03daa6088c winspool: Implement AddPortW. 2006-11-29 14:06:21 +01:00
Detlef Riekenberg df4d29312f winspool/tests: Add initial test for DeletePort. 2006-11-29 14:06:11 +01:00
Detlef Riekenberg bcfa90e182 winspool: Implement DeletePortA. 2006-11-29 14:05:58 +01:00
Detlef Riekenberg c587d1ad0d winspool: Implement DeletePortW. 2006-11-29 14:05:39 +01:00
Dmitry Timoshkov 1804900163 winspool.drv: Make some data const. 2006-11-29 12:44:19 +01:00
Andrew Talbot 972826b267 winspool.drv: Cast-qual warning fix + make function static. 2006-11-24 12:56:23 +01:00
Alexandre Julliard 2731998ae6 include: Get rid of heap.h. 2006-11-17 15:29:40 +01:00
Detlef Riekenberg ca86c76c85 winspool/tests: Add tests for ConfigurePort. 2006-11-09 12:49:02 +01:00
Detlef Riekenberg 6d88e4352b winspool: Implement ConfigurePortA. 2006-11-09 12:48:44 +01:00
Detlef Riekenberg a44e0ac6e3 winspool: Implement ConfigurePortW. 2006-11-09 12:48:33 +01:00
Huw Davies d510bdc71b winspool.drv: Associate a printer driver with each printer, rather than share a common one between all printers. 2006-11-08 11:25:10 +01:00
Huw Davies 1ad05ac701 winspool.drv: Fix AddPrinterDriverA so that the strings actually get written.
Include the size of the terminating zero in set_reg_szW.
2006-11-08 11:24:56 +01:00
Huw Davies 388fd47ce2 winspool.drv: Implement DeletePrinterDriverExW. 2006-11-08 11:23:56 +01:00
Huw Davies 7ce85a8d60 winspool.drv: Forward DeletePrinterDriverExA -> DeletePrinterDriverExW. 2006-11-08 11:23:47 +01:00
Huw Davies d4fb1c3869 winspool.drv: Forward DeletePrinterDriver -> DeletePrinterDriverEx. 2006-11-08 11:23:40 +01:00
Detlef Riekenberg d3a1737dac winspool/tests: Add tests for EnumPorts. 2006-11-06 13:47:19 +01:00
Detlef Riekenberg ecce2d898b winspool: Implement EnumPortsA. 2006-11-06 13:47:03 +01:00
Detlef Riekenberg 412acdeb79 winspool: Implement EnumPortsW. 2006-11-06 13:46:52 +01:00
Detlef Riekenberg 0bd336a573 winspool: EnumPorts: Read driver from registry. 2006-11-06 13:44:07 +01:00
Mikołaj Zalewski 58bd35c8c5 resources: Change Dutch sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 17:45:51 +02:00
Mikołaj Zalewski e32aa55703 resources: Change German sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 11:45:12 +02:00
Byeong-Sik Jeon e1fd734c97 Korean: Use SUBLANG_NEUTRAL in Korean resources. 2006-10-20 13:49:39 +02:00
Alexandre Julliard b0ea577ae5 Avoid usage of sizeof in traces that causes warnings on MacOSX. 2006-10-20 12:16:45 +02:00