summaryrefslogtreecommitdiff
path: root/modules/printbackends/file
Commit message (Collapse)AuthorAgeFilesLines
* Add git.mk to generate .gitignore filesBehdad Esfahbod2009-05-041-0/+2
| | | | Add four new doc templates that were not in repository.
* Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printingMarek Kasik2008-10-301-2/+6
| | | | | | | | | | | | | | | | | | | 2008-10-30 Marek Kasik <mkasik@redhat.com> Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing * gtk/gtk.symbols * gtk/gtkprintsettings.c * gtk/gtkprintsettings.h * docs/reference/gtk/gtk-sections.txt * modules/printbackends/file/gtkprintbackendfile.c * modules/printbackends/test/gtkprintbackendtest.c * modules/printbackends/cups/gtkprintbackendcups.c * modules/printbackends/lpr/gtkprintbackendlpr.c: Added lpi (lines per inch) setting to GtkPrintSettings and support for anamorphic dpi. Surface fallback resolution is set to 2*lpi. svn path=/trunk/; revision=21733
* Bug 344522 – support non-local destination files (GtkPrint):Marek Kasik2008-09-301-17/+16
| | | | | | | | | | | | | 2008-09-30 Marek Kasik <mkasik@redhat.com> Bug 344522 – support non-local destination files (GtkPrint): * gtk/gtkprintunixdialog.c * gtk/gtkprinteroptionwidget.c: Process URI instead of filename. * modules/printbackends/file/gtkprintbackendfile.c: Add ability to save files on non-local filesystems. svn path=/trunk/; revision=21552
* Bug 549810 – Memory leaks in printing codeChristian Dywan2008-08-291-1/+3
| | | | svn path=/trunk/; revision=21241
* Revert name changeCody Russell2008-07-012-2/+2
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-302-2/+2
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch and Tim svn path=/trunk/; revision=20669
* modules/printbackends/cups/gtkcupsutils.cMichael Natterer2008-05-281-5/+2
| | | | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@gimp.org> * modules/printbackends/cups/gtkcupsutils.c * modules/printbackends/cups/gtkprintbackendcups.c * modules/printbackends/file/gtkprintbackendfile.c * modules/printbackends/lpr/gtkprintbackendlpr.c: include <gtk/gtk.h> instead of individual files. svn path=/trunk/; revision=20210
* RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" sizeMatthias Clasen2008-05-211-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | was chosen Patch by Marek Kasik. * gtk/gtk.symbols: * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size. * gtk/gtkprintbackend.[hc]: Add fallback implementation. * modules/printbackends/file/gtkprintbackendfile.c: * modules/printbackends/cups/gtkprintbackendcups.c: Implement get_default_page_size. * gtk/gtkpagesetupunixdialog.c: When selecting a different printer, select its default paper size. * gtk/gtkprintunixdialog.c: If no explicit page setup has been set, use the printer default. * gtk/gtkprintoperation-unix.c: Don't create an empty page setup if we don't have a default page setup. svn path=/trunk/; revision=20120
* Remove all .cvsignore files.Michael Natterer2007-12-131-4/+0
| | | | svn path=/trunk/; revision=19169
* call g_test_init() from gtk_test_init().15:39:40 Tim Janik2007-11-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-22 15:39:40 Tim Janik <timj@imendio.com> * gtk/gtktestutils.c: call g_test_init() from gtk_test_init(). * gtk/tests/testing.c: use g_test_add_func() to register tests and use g_test_run() to run the tests to integrate with the testing framework. * gtk/tests/Makefile.am: removed exemplary testing rules. * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am: * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am: * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am: * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am: * docs/reference/Makefile.am, docs/tools/Makefile.am: * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am: * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am: * demos/gtk-demo/Makefile.am, demos/Makefile.am: * modules/input/Makefile.am, modules/printbackends/file/Makefile.am: * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am: * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am: * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: * modules/engines/ms-windows/Theme/Makefile.am: * modules/engines/ms-windows/Makefile.am: * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am: * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am: * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am: * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am: * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am: * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am: include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments. svn path=/trunk/; revision=19033
* correct a commentMatthias Clasen2007-09-241-1/+1
| | | | svn path=/trunk/; revision=18862
* change the file extension when the file format is changed in the PrintSven Neumann2007-08-091-2/+59
| | | | | | | | | | 2007-08-09 Sven Neumann <sven@gimp.org> * modules/printbackends/file/gtkprintbackendfile.c: change the file extension when the file format is changed in the Print dialog (#356630). svn path=/trunk/; revision=18600
* Fix build problems on Cygwin. (#448604)Matthias Clasen2007-07-091-1/+2
| | | | | | | | | | 2007-07-09 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/*/Makefile.am: Fix build problems on Cygwin. (#448604) svn path=/trunk/; revision=18412
* Fix some locking issuesMatthias Clasen2007-06-121-0/+4
| | | | svn path=/trunk/; revision=18105
* Add new capability GTK_PRINT_CAPABILITY_NUMBER_UP.Carlos Garcia Campos2007-05-281-3/+12
| | | | | | | | | | | | | | | 2007-05-28 Carlos Garcia Campos <carlosgc@gnome.org> * gtk/gtkprinter.[ch]: Add new capability GTK_PRINT_CAPABILITY_NUMBER_UP. * docs/reference/gtk/tmpl/gtkprintunixdialog.sgml: * gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities): * modules/printbackends/file/gtkprintbackendfile.c: (file_printer_get_options), (file_printer_get_settings_from_options): * modules/printbackends/cups/gtkprintbackendcups.c: (cups_printer_get_capabilities): Add a new print capability to specify whether print dialog will offer printing multiple pages per sheet. (#398414) svn path=/trunk/; revision=17963
* Rename gtk_paper_size_get_builtins() to gtk_paper_size_get_paper_sizes()Matthias Clasen2007-04-301-0/+27
| | | | | | | | | | | | | | | | | | | 2007-04-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins() to gtk_paper_size_get_paper_sizes() and optionally include custom paper sizes. * gtk/gtkpagesetupunixdialog.c: Internally export a function to load custom paper sizes. * modules/printbackends/file/gtkprintbackendfile.c: Implement printer_list_papers, returning all paper sizes. (#434329, Christian Persch) svn path=/trunk/; revision=17728
* Fix leaked string. Fixes bug #402565.Felix Riemann2007-01-301-0/+1
| | | | | | | | | 2007-01-30 Felix Riemann <friemann@svn.gnome.org> * modules/printbackends/file/gtkprintbackendfile.c: (file_printer_get_options): Fix leaked string. Fixes bug #402565. svn path=/trunk/; revision=17238
* Handle filename encoding consistently. (#351812, Christian Persch)Matthias Clasen2006-08-181-26/+34
| | | | | | | | | 2006-08-17 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprinteroptionwidget.c (update_widgets): * modules/printbackends/file/gtkprintbackendfile.c (output_file_from_settings): Handle filename encoding consistently. (#351812, Christian Persch)
* Improve the handling of the default output filename, to ensure that weMatthias Clasen2006-08-171-21/+40
| | | | | | | | | 2006-08-17 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/file/gtkprintbackendfile.c: Improve the handling of the default output filename, to ensure that we default to output.ps when only PostScript output is possible. (#348236, Don Scorgie)
* Check if option is NULL before using it. (#348014, Christian Persch)Matthias Clasen2006-07-191-1/+2
| | | | | | | | 2006-07-19 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/file/gtkprintbackendfile.c (file_printer_get_settings_from_options): Check if option is NULL before using it. (#348014, Christian Persch)
* Apply a patch by Christian Persch to support PostScript and PDF output.Matthias Clasen2006-06-211-25/+138
| | | | | | | | 2006-06-21 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/file/gtkprintbackendfile.c: Apply a patch by Christian Persch to support PostScript and PDF output.
* Apply a patch by John Palmieri to use buffered io using GIOChannels, cleanMatthias Clasen2006-06-211-54/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-06-21 Matthias Clasen <mclasen@redhat.com> Apply a patch by John Palmieri to use buffered io using GIOChannels, clean up error handling and support Cups 1.2 api in the printing code. * acconfig.h: * configure.in: Detect Cups 1.2 * gtk/gtkdebug.h: * gtk/gtkmain.c: Add a printing debug key. * gtk/gtkprintbackend.[hc]: Remove the GError parameter from gtk_print_backend_print_stream, and take a GIOChannel instead of an fd. * gtk/gtkprinter-private.h: * gtk/gtkprinter.c: Replace the fd parameter of _gtk_printer_create_cairo_surface by a GIOChannel. * gtk/gtkprintjob.[hc]: Remove the GError parameter from gtk_print_job_send and make it return void. * gtk/gtkprintoperation-unix.c: * gtk/gtkprintjob.c: Adjust callers, add some debugging support. * modules/printbackends/Makefile.am: Fix DIST_SUBDIRS. * modules/printbackends/cups/Makefile.am: * modules/printbackends/lpr/Makefile.am: Add debug CFLAGS. * modules/printbackends/cups/gtkcupsutils.[hc]: * modules/printbackends/cups/gtkprintbackendcups.c: * modules/printbackends/file/gtkprintbackendfile.c: * modules/printbackends/lpr/gtkprintbackendfile.c: Adapt to the GIOChannel and GError changes, add debug output
* Add an GError parameter.Matthias Clasen2006-06-211-14/+17
| | | | | | | | | | | | | | | | | 2006-06-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintbackend.h: * gtk/gtkprintbackend.c (gtk_print_backend_print_stream): Add an GError parameter. * modules/printbackends/file/gtkprintbackendfile.c (gtk_print_backend_file_print_stream): * modules/printbackends/lpr/gtkprintbackendlpr.c (gtk_print_backend_lpr_print_stream): * modules/printbackends/cups/gtkprintbackendcups.c (gtk_print_backend_cups_print_stream): * gtk/gtkprintjob.c (gtk_print_job_send): Update all callers and implementations.
* configure.in gtk/Makefile.am Rename "pdf" backend to "file" backend. StepChristian Persch2006-06-204-0/+523
2006-06-20 Christian Persch <chpe@cvs.gnome.org> * configure.in * gtk/Makefile.am * modules/printbackends/Makefile.am A modules/printbackends/file/.cvsignore A modules/printbackends/file/Makefile.am A modules/printbackends/file/gtkprintbackendfile.c A modules/printbackends/file/gtkprintbackendfile.h R modules/printbackends/pdf/*: Rename "pdf" backend to "file" backend. Step 2 from bug #339592.