Commit Graph

108 Commits

Author SHA1 Message Date
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
Stefan Leichter 88b1106492 Added tests for GetPrinterDriverDirectoryA. 2003-01-15 00:50:48 +00:00
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +00:00
Stefan Leichter 7a78ca04ed GetPrinterDriverDirectoryA: do not crash on null pointers. 2003-01-08 19:52:25 +00:00
Francois Gouget 3efacb0acf Remove extra #include directives from winspool.h. 2003-01-07 23:09:22 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Stefan Leichter facaee4fd0 Moved implementation of GetPrinterDriverDirectory from ascii to unicode. 2003-01-03 03:04:46 +00:00
Alexandre Julliard 37516b3621 The name of the driver should be the 16-bit one in case the app tries
to load it.
2002-12-24 00:29:40 +00:00
Dimitrie O. Paun 6d267e93f2 Added stubs for {Start,End}{Doc,Page}Printer. 2002-12-17 21:00:38 +00:00
Alexandre Julliard dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Marcus Meissner f061f76704 Do not link against -lcups directly, but dynamically load it if
present (just like freetype etc.)
2002-11-12 02:22:24 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Michael Stefaniuc ea335dd036 Compile the winspool dll with STRICT defined. 2002-10-22 00:47:33 +00:00
Alexandre Julliard 23bb3715f7 Added support for building certain dlls with -DSTRICT.
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Alexandre Julliard 613ead7f0f Fixed some handle conversions in prevision of void* handles. 2002-10-04 00:27:10 +00:00
Marcus Meissner 228a2b3ae5 New CUPS libraries return "none" as default printer instead of NULL. 2002-09-12 00:52:59 +00:00
Marcus Meissner 75e4e943e6 If the default CUPS printer has no ppd file, just use the first
printer that has one as Windows default printer.
Support PRINTER_ENUM_CONNECTIONS in the default way.
2002-09-09 19:19:18 +00:00
Alexander Gottwald 9c071eaefd Avoid crash if no default cups printer is set. 2002-08-27 22:33:09 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Alexandre Julliard 1c40426e95 Removed install_libdir targets and centralized the symlinks creation
in the main dll makefile.
2002-06-14 02:09:08 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Vincent Béron 8e2cbcab7b Fixed warnings. 2002-05-28 22:42:11 +00:00
Alexandre Julliard 8c08ceb56c Replaced -dosver and -winver options by config file parameters. 2002-05-23 19:35:18 +00:00
Andreas Mohr 11b35c0b4c Better error messages. 2002-05-20 18:11:08 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Bill Medland dff78edb02 Remove leading whitespace from printcap entries. 2002-05-17 00:10:15 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andreas Mohr 8bc7f16caa Spelling/alignment fixes. 2002-02-27 01:34:08 +00:00
Patrik Stridvall 651a8ba880 Added some defines for compatibility with Windows headers. 2002-02-15 19:12:35 +00:00
Patrik Stridvall 57e5784c21 Move __stdcall/__cdecl to the right place. 2002-02-02 18:42:11 +00:00
Patrik Stridvall 74e4d21ebe Avoid wildcards in .cvsignore. 2002-01-29 03:05:12 +00:00
Mark G. Adams a0324f7172 Add GetDefaultPrinter() functions. 2002-01-22 00:49:24 +00:00
Dmitry Timoshkov 588200fcee Force ordinal allocation start from 100 as in Windows. 2002-01-15 20:25:40 +00:00
Gerard Patel 14c9429698 Fix RegSetValueEx calls and crash when DriverName="" in registry. 2001-10-28 21:16:38 +00:00