Commit Graph

362 Commits

Author SHA1 Message Date
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
Hans Leidekker 0293abb2a6 winspool.drv/tests: Win64 printf format warning fixes. 2006-10-13 14:49:51 +02:00
Hans Leidekker 61faa6bb11 winspool.drv: Win64 printf format warning fixes. 2006-10-13 12:08:52 +02:00
Hans Leidekker ab85b653f5 winspool.drv: Cast-qual warnings fix. 2006-10-06 17:49:53 +02:00
Francois Gouget 7295af0915 French rc files must be encoded in iso-8859-1, not utf-8. 2006-10-06 12:32:08 +02:00
Mikołaj Zalewski 4b1be0a11e winspool.drv: Add Polish translation. 2006-10-04 22:21:48 +02:00
Alexander Nicolaysen Sørnes 5387119050 Updated Norwegian Bokmål translations. 2006-10-02 12:32:24 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Detlef Riekenberg 1e2b9b7d36 winspool: Fix missing backslash. 2006-09-20 11:18:22 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Marcus Meissner 0c15360a3e Removes all unnecessary WINE_DEFAULT_DEBUG_CHANNEL and respective wine/debug.h includes. 2006-09-11 11:30:48 +02:00
Detlef Riekenberg b317aeaf0a winspool: String cleanup in the tests. 2006-09-11 11:30:04 +02:00
Jonathan Ernst d101c6c8a7 winspool.drv: New French translation. 2006-09-10 10:16:11 +02:00
Detlef Riekenberg ec1c7cc0d3 winspool: Manage loaded monitors in a list. 2006-09-08 13:43:57 +02:00
Detlef Riekenberg 1e177382a3 winspool: Minimal load/unload printmonitors; use it to get a test working. 2006-09-08 13:41:22 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Andrew Talbot 3f2e260176 winspool.drv/tests: Write-strings warnings fix. 2006-08-23 16:54:10 +02:00
Andrew Talbot 02c04ea252 winspool.drv: Write-strings warnings fix. 2006-08-23 16:54:06 +02:00
Andrew Talbot 8c56ffdde0 winspool.drv: Write-strings warning fix. 2006-08-17 11:24:15 +02:00
Andrew Talbot 4b792c6d56 winspool.drv/tests: Write-strings warnings fix. 2006-07-26 10:27:08 +02:00
Andrew Talbot cc318be209 winspool.drv/tests: Write-strings warnings fix. 2006-07-13 13:47:37 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Detlef Riekenberg 89ed2d973d winspool/tests: Tests for EnumForms and set an error value in our stub. 2006-06-21 13:40:46 +02:00
Detlef Riekenberg dde6d8b185 winspool: An empty string as server name is valid for AddPrinterDriver. 2006-06-21 12:11:03 +02:00
Detlef Riekenberg 698a8a0b86 winspool: AddMonitor: Test the driver entry before return an error. 2006-06-19 09:22:02 +02:00
Huw Davies 7afe18ec27 printing: Don't limit the printer name length to CCHDEVICENAME characters. 2006-06-15 18:05:58 +02:00
Detlef Riekenberg e55b52fdd0 winspool/tests: Tests for GetPrintProcessorDirectory. 2006-06-10 12:41:34 +02:00
Detlef Riekenberg 94543cb630 winspool: Add GetPrintProcessorDirectoryA. 2006-06-09 21:13:00 +02:00
Detlef Riekenberg 38eb9a71ae winspool/tests: Remove the check for unimplemented functions. 2006-06-02 11:28:53 +02:00
Detlef Riekenberg f0a62dd633 winspool.drv: Add GetPrintProcessorDirectoryW. 2006-06-02 11:26:24 +02:00
Detlef Riekenberg e073887c0f winspool/tests: Use 0xdeadbeef as magic value. 2006-05-28 18:27:16 +02:00
Detlef Riekenberg aff1b33192 winspool: Documentation for GetPrintProcessorDirectory. 2006-05-28 18:27:11 +02:00
Alexandre Julliard 3098199e0b winspool: Renamed the directory to winspool.drv. 2006-05-23 17:10:52 +02:00