Commit Graph

145 Commits

Author SHA1 Message Date
Huw Davies 3d0b22b7b6 Set the registry keys under HCU\Software\Microsoft\Windows
NT\CurrentVersion to mimic the win.ini values.
2005-03-31 10:06:46 +00:00
Dimitrie O. Paun d4193bbd68 Unicodify WINSPOOL_OpenDriverReg(). 2005-03-29 13:10:35 +00:00
Hans Leidekker 1e33acaa43 Stub implementations for AbortPrinter, AddPortEx{A,W},
AddPrinterConnection{A,W}, ConnectToPrinterDlg,
DeletePrinterConnection{A,W}, EnumForms{A,W}, EnumPrinterData{A,W],
ExtDeviceMode, Find{Close,First,Next}PrinterChangeNotification,
FreePrinterNotifyInfo, ScheduleJob.
2005-02-21 18:33:55 +00:00
Hans Leidekker 8facd46877 Stub implementations for AddMonitorW, DeletePrinterDriverW,
DeleteMonitorW, DeletePortW, GetPrintProcessorDirectoryW,
AddPrintProcessor{A,W}, AddPrintProvidor{A,W},
AdvancedDocumentProperties{A,W}, EnumPortsW, AddPort{A,W},
ConfigurePort{A,W}, DeletePrintProcessor{A,W},
DeletePrintProvidor{A,W}, EnumPrintProcessorDatatypes{A,W},
GetJob{A,W}.
2005-01-03 20:24:39 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Alexandre Julliard 81e0fffba2 It makes no sense to export the dll entry point as stub. 2004-12-15 10:52:57 +00:00
Eric Pouech 4056d7ef8c Fixed some errors in function prototypes. 2004-12-13 21:19:01 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Mike McCormack 1a10b1c0e1 Return correct error code in EnumPrinters. 2004-11-24 18:11:28 +00:00
Ulrich Czekalla 601d466674 Add stubs for EnumPrintProcessorsAW. 2004-10-29 21:27:38 +00:00
Mike McCormack d71bc33c11 Fix port enumeration. 2004-10-18 19:38:57 +00:00
Mike McCormack 05fb3ca636 Fix port enumeration. 2004-10-04 20:40:44 +00:00
Huw Davies c141a3424e Fix first parameter of GetDefaultPrinterA|W. 2004-08-13 19:48:25 +00:00
Stefan Leichter d3278b6f41 Added some logging to the GetPrinterDriverDirectoryA tests. 2004-06-16 20:07:02 +00:00
Stefan Leichter 5ea386e7f4 Fix the tests of GetDefaultPrinterA on win2k if no default printer is
configured.
2004-06-15 20:25:24 +00:00
Stefan Leichter 48c51eea23 Log the last error too if the tests fail without default printer. 2004-06-14 16:54:42 +00:00
Dimitrie O. Paun 5a0575e845 Some of our testers don't have a default printer, simply skip the
winspool tests if that's the case.
2004-06-04 17:59:17 +00:00
Marcus Meissner a1272b3784 Use memcpy instead of weird casts. 2004-05-02 04:21:16 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Steven Edwards 86b3056e69 Add stubs for EnumMonitors[A/W]. 2004-03-17 01:42:46 +00:00
Stefan Leichter 03210d446c Moved implementation of GetDefaultPrinter from ascii to unicode, added
tests for GetDefaultPrinterA.
2004-03-07 03:46:54 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Francois Gouget f229c911b5 Add trailing '\n's to ok() calls. 2004-01-23 02:10:33 +00:00
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Robert Shearman e18682ad7c Remove PRINTDLG_GetDefaultPrinterName; use Win32 GetDefaultPrinterA/W
instead.
2004-01-02 01:49:31 +00:00
Alexandre Julliard 402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Alexandre Julliard 4d626b062b Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Huw Davies <huw@codeweavers.com>
Constify strings.
Fix args of [GS]etPrinterDataEx
2003-11-11 20:38:51 +00:00
Huw Davies e459f7a681 Much better parsing of /etc/printcap.
Don't even try to use heuristics to guess whether the printer is
PostScript or not - we're going to get it wrong anyway.
Don't list printer entries that begin with ispunct() - these are used
for 'tc' aliases.
2003-11-11 00:42:35 +00:00
Huw Davies 4b0fc2e341 Make sure that all printer entries have a valid Name and Port key.
Cope with cups printer deletion.
2003-11-05 00:36:47 +00:00
Oleg Prokhorov cf8b84c19f Another portion of HeapReAlloc fixes. 2003-10-15 21:01:05 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard c2320dbc4a Avoid crashes when devmode is null. 2003-08-12 23:46:34 +00:00
Dmitry Timoshkov 3a910c7d1f Convert CreateDC to unicode in the driver interface. 2003-08-12 20:42:18 +00:00
Mike McCormack 0f669e41a1 Stub some winspool functions. 2003-08-12 18:54:26 +00:00
Dmitry Timoshkov 4e1ef0c114 For all DLLs with defined DllMain and which do not require
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Huw Davies 6694ce9d11 It seems cupsGetDefault returns the system default printer and ignores
a user's override.  So use cupsGetDests instead which does respect the
user's choice.
Delete all automatically generated printer keys on startup before
querying the cups server.
2003-06-23 19:52:55 +00:00
Francois Gouget 9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Huw Davies 686a9f90d4 Basic implementation of EnumPortsA: dump all the serial and printer
port names into a structure.
2003-05-19 23:19:21 +00:00
Aric Stewart 6d5cd45894 Stub AddPortA. 2003-05-13 22:25:12 +00:00
Uwe Bonnes 1d60387e9c Added GetPrintProcessorDirectoryA stub. 2003-04-27 20:35:08 +00:00
Dmitry Timoshkov 2d55e0484c Fix some problems found while compiling and linking Wine under
Cygwin.
2003-03-31 23:58:27 +00:00
Adam Gundy 9457b463e0 Make sure the new array of printer pointers is NULL initialized. 2003-03-30 01:35:31 +00:00
Alexandre Julliard 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Marcus Meissner 26b9bcaba3 Was using the wrong define for the CUPS soname. 2003-03-07 20:36:08 +00:00
Duane Clark 45abf7cfa0 Replace HEAP_strdupAtoW call and delete extra
RtlCreateUnicodeStringFromAsciiz.
2003-02-12 21:27:27 +00:00
Duane Clark 0987ae04f3 Winspool expects NULLs to be preserved in ascii to unicode
conversions.
2003-02-12 01:19:25 +00:00
Stefan Leichter f2710545ba Removed windows version checks from GetPrinterDriverDirectory tests. 2003-01-24 00:45:21 +00:00
Matthew Davison 60009b9a56 Removed calls to HEAP_strdupAtoW. 2003-01-23 23:07:38 +00:00
Stefan Leichter 8780853ab7 Make GetPrinterDriverDirectoryA pass all tests. 2003-01-15 00:51:16 +00:00