Commit graph

40 commits

Author SHA1 Message Date
Riccardo
39686d5dd6
Fix crash - don't print DWORD error code directly, but decode it first. 2020-05-08 01:09:26 +02:00
fredkiefer
78b330ff70 Restore -allocWithZone: method 2018-01-24 20:18:49 +01:00
fredkiefer
4e70f096ce * Printing/GSCUPS/GSCUPSPrinter.m,
* Printing/GSCUPS/GSCUPSPrintInfo.m:
Restore -allocWithZone: methods as this is needed to override
behaviour in superclass.
2018-01-01 23:16:22 +01:00
fredkiefer
441af148b2 Undefine __BLOCKS__ before the cups.h import as some versions of this
header file expect unconditional that libdispatch is present when that
variable is defined.
Remove duplicated -allocWithZone: methods.
2017-12-28 14:01:30 +01:00
Fred Kiefer
c8f9e50b85 * Printing/GSCUPS/GSCUPSPrinter.m: Add include to get deprecated
function cupsGetPPD() on newer CUPS systems.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40486 72102866-910b-0410-8b05-ffd578937521
2017-04-16 18:24:16 +00:00
Richard Frith-MacDonald
08910fb913 lintian spelling correctes provided by Eric Heintzmann
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39816 72102866-910b-0410-8b05-ffd578937521
2016-05-28 09:49:15 +00:00
Gregory John Casamento
8593423165 Remove classes from the win32 printing bundle which belong in the theme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38328 72102866-910b-0410-8b05-ffd578937521
2015-02-04 01:22:46 +00:00
Gregory John Casamento
5d9a261362 Move declarations of GSPrintPanel and GSPageLayout to theme and remove uneeded classes since they are not used and only override allocWithZone:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38324 72102866-910b-0410-8b05-ffd578937521
2015-02-03 20:26:10 +00:00
Gregory John Casamento
e53b5e2e46 Add print panels to theme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38318 72102866-910b-0410-8b05-ffd578937521
2015-02-01 20:46:37 +00:00
Gregory John Casamento
70baf43d54 Improvements to windows printing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38099 72102866-910b-0410-8b05-ffd578937521
2014-09-28 08:03:55 +00:00
Gregory John Casamento
ce5923f681 Linker error and new function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38098 72102866-910b-0410-8b05-ffd578937521
2014-09-28 01:12:31 +00:00
Gregory John Casamento
71cad95ae1 Windows printing backend, first cut for panels.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38083 72102866-910b-0410-8b05-ffd578937521
2014-09-16 16:31:32 +00:00
Fred Kiefer
412547c233 Small bug fixes found by static analyser.
Plus a huge change on NSComboBoxCell after years of testing :-)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32585 72102866-910b-0410-8b05-ffd578937521
2011-03-14 21:45:39 +00:00
Eric Wasylishen
b4956bb4ac Allow saving a print job as a PDF
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32559 72102866-910b-0410-8b05-ffd578937521
2011-03-13 23:38:47 +00:00
Fred Kiefer
18813674f2 Clean up all the header imports in teh Printing directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32009 72102866-910b-0410-8b05-ffd578937521
2011-02-07 18:08:33 +00:00
Fred Kiefer
7ebb2818cc Final set of #include -> #import replacement in additional headers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30097 72102866-910b-0410-8b05-ffd578937521
2010-04-07 08:59:43 +00:00
Nicola Pero
041abd2cdd Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gnustep-gui
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27347 72102866-910b-0410-8b05-ffd578937521
2008-12-19 13:00:47 +00:00
Nicola Pero
8326c8fb5e Set GNUSTEP_CORE_SOFTWARE to YES so that gnustep-gui is installed by default in SYSTEM if gnustep-make has been configured with --disable-packages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27334 72102866-910b-0410-8b05-ffd578937521
2008-12-18 18:45:01 +00:00
Richard Frith-MacDonald
74aae24e15 Fix bug #24672
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27193 72102866-910b-0410-8b05-ffd578937521
2008-12-02 22:54:38 +00:00
Adam Fedor
7afdd32ac1 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
Fred Kiefer
63a87a8960 Use other CUPS functions to determine the default printer.
Patch by Mark Tracy <tracy454@concentric.net>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26019 72102866-910b-0410-8b05-ffd578937521
2008-02-01 22:07:50 +00:00
Richard Frith-MacDonald
03a4a96a40 Update includes ... closer MacOS-X compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25635 72102866-910b-0410-8b05-ffd578937521
2007-11-29 20:28:03 +00:00
Fred Kiefer
193e31e678 Change all files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
Fred Kiefer
34b0abf4d0 Added MacOS 10.4 methods for NSDocument, NSDocumentController,
NSPrintOperation, NSResponder and NSCell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24378 72102866-910b-0410-8b05-ffd578937521
2007-01-17 12:09:41 +00:00
Nicola Pero
fb51fe62fe Updated to use GNUSTEP_INSTALLATION_DOMAIN instead of GNUSTEP_INSTALLATION_DIR; DESTDIR instead of INSTALL_ROOT_DIR; and fixed some makefile installation bugs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24094 72102866-910b-0410-8b05-ffd578937521
2006-11-15 16:59:32 +00:00
Richard Frith-MacDonald
fda42b0824 improve user experience with printing and defaults setup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22537 72102866-910b-0410-8b05-ffd578937521
2006-02-22 10:23:13 +00:00
Adam Fedor
52469c268e Add/fix copyright/licenses.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21393 72102866-910b-0410-8b05-ffd578937521
2005-07-01 20:54:03 +00:00
Adam Fedor
303dd1baf9 Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
Fred Kiefer
e8edab4d25 Use dummy printer in printer name list, if no CUPS printers are found.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20564 72102866-910b-0410-8b05-ffd578937521
2005-01-16 13:22:46 +00:00
Alexander Malmberg
05b4dcfa18 2005-01-12 00:41 Alexander Malmberg <alexander@malmberg.org>
* Printing/GSCUPS/GSCUPSPrinter.h (GSCUPSDummyPrinterName): New
	variable.
	* Printing/GSCUPS/GSCUPSPrinter.m (GSCUPSDummyPrinterName): New
	variable.
	(+printerWithName:): Warn and return a dummy printer when requested.
	* Printing/GSCUPS/GSCUPSPrintInfo.m (defaultPrinter): If there's
	no default CUPS printer set, return a dummy printer.

	Fixes bug #10916.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20542 72102866-910b-0410-8b05-ffd578937521
2005-01-11 23:39:41 +00:00
Chad Hardin
6dc099b85e Added GSCUPS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20212 72102866-910b-0410-8b05-ffd578937521
2004-10-08 22:16:56 +00:00
Chad Hardin
d85cafebe1 GSLPR Updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20209 72102866-910b-0410-8b05-ffd578937521
2004-10-08 09:31:11 +00:00
Chad Hardin
0cddf71bd1 Printing updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20207 72102866-910b-0410-8b05-ffd578937521
2004-10-08 05:22:22 +00:00
Alexander Malmberg
11fef998fe * Printing/GSLPR/GSLPRPrintOperation.m (-createContext): Always use
the path from the info dictionary if it's set.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20114 72102866-910b-0410-8b05-ffd578937521
2004-09-23 16:03:23 +00:00
Alexander Malmberg
403e326a38 Install a generic fallback ppd. Use it for the fallback printer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19986 72102866-910b-0410-8b05-ffd578937521
2004-09-03 23:37:38 +00:00
Adam Fedor
19e45d5c7b * Source/NSPrintInfo.m ([NSPrintInfo -paperSize]): Avoid returning
a nil object return value into a struct.
* Printing/GSLPR/GNUmakefile.preamble: Add
Source/$(GNUSTEP_TARGET_DIR) includes
* Tools/GNUmakefile.preamble: Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19970 72102866-910b-0410-8b05-ffd578937521
2004-09-02 03:27:54 +00:00
Chad Hardin
8a5264e83f GSPrinting changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19839 72102866-910b-0410-8b05-ffd578937521
2004-08-08 01:08:55 +00:00
Chad Hardin
73dbff47ec New NSPageLayout UI
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19767 72102866-910b-0410-8b05-ffd578937521
2004-07-22 04:59:09 +00:00
Chad Hardin
bad00c8db9 PageLayout improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19713 72102866-910b-0410-8b05-ffd578937521
2004-07-11 21:31:39 +00:00
Chad Hardin
989ae0cdd8 Backend printing bundle system changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19705 72102866-910b-0410-8b05-ffd578937521
2004-07-10 10:19:34 +00:00