summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix another leakMatthias Clasen2007-01-041-6/+8
| | | | svn path=/trunk/; revision=17050
* Close the http connection after getting the PPD.Matthias Clasen2007-01-041-5/+7
| | | | | | | | | | | 2007-01-03 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/cups/gtkprintbackendcups.c: Close the http connection after getting the PPD. svn path=/trunk/; revision=17042
* CleanupsMatthias Clasen2007-01-032-78/+103
| | | | svn path=/trunk/; revision=17036
* Fix some IPP compliance issues. (#391523, Albrecht Dress)Matthias Clasen2007-01-012-10/+12
| | | | | | | | | | | | | | | | | 2007-01-01 Matthias Clasen <mclasen@redhat.com> Fix some IPP compliance issues. (#391523, Albrecht Dress) * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not IPP_TAG_OPERATION. * modules/printbackends/cups/gtkprintbackendcups.c (gtk_print_backend_cups_print_stream): Don't add the requesting-user-name attribute a second time. svn path=/trunk/; revision=17002
* broken pre-commit scriptMatthias Clasen2006-12-281-0/+2
|
* Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).Kristian Rietveld2006-12-271-0/+3
| | | | | | | | | | | | | | | | | | 2006-12-27 Kristian Rietveld <kris@gtk.org> Support inverting arrows via XSetting. (#377979, Yevgen Muntyan). * gtk/gtksettings.c (gtk_settings_class_init): add new setting gtk-alternative-sort-arrows. * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add new setting. * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new gtk-alternative-sort-arrows setting to true. * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): invert direction if gtk-alternative-sort-arrows is TRUE.
* forgotten fileMatthias Clasen2006-12-271-4/+3
|
* Use getters for http fields where available. (#364866, Björn Lindqvist)Matthias Clasen2006-12-271-19/+16
| | | | | | | | 2006-12-27 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/cups/gtkprintbackendcups.c: Use getters for http fields where available. (#364866, Björn Lindqvist)
* Be careful to not override GTK+ translations with the translations of theMatthias Clasen2006-12-231-2/+2
| | | | | | | | | | | 2006-12-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimmulticontext.c: Be careful to not override GTK+ translations with the translations of the input method. (#317080, Tor Lillqvist) * modules/input/imcedilla.c: Use standard macros for translation domain and locale dir.
* Move G_GNUC_INTERNAL before function declarations. (#352276, DamienMatthias Clasen2006-12-233-15/+15
| | | | | | | | | | 2006-12-22 Matthias Clasen <mclasen@redhat.com> * modules/engines/pixbuf/pixbuf.h: * modules/engines/pixbuf/pixbuf-rc-style.h: * modules/engines/pixbuf/pixbuf-style.h: Move G_GNUC_INTERNAL before function declarations. (#352276, Damien Carbery)
* Replace a lot of idle and timeout calls by the new gdk_threads api.Matthias Clasen2006-12-221-1/+6
| | | | | | | 2006-12-22 Matthias Clasen <mclasen@redhat.com> * *.c: Replace a lot of idle and timeout calls by the new gdk_threads api.
* Bug 351679 - Notebooks drawn with extra line below tab in MS-WindowsDom Lachowicz2006-12-141-9/+113
| | | | | | | | 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com> * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks drawn with extra line below tab in MS-Windows theme. Patch by Cody Russell
* Properly pass multi-value options to cups. (#355350, Jürg Billeter)Matthias Clasen2006-12-111-73/+144
| | | | | | | 2006-12-10 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): Properly pass multi-value options to cups. (#355350, Jürg Billeter)
* Bug 351678 - Notebooks not with PositionType.Top drawn incorrectly. PatchDom Lachowicz2006-12-021-28/+76
| | | | | | | 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com> * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks not with PositionType.Top drawn incorrectly. Patch by Cody Russell
* Remove the broken Thai input method and add a functional Thai and LaoBehdad Esfahbod2006-11-297-218/+743
| | | | | | | | | | | | | | | | | | | | 2006-11-28 Behdad Esfahbod <behdad@gnome.org> Remove the broken Thai input method and add a functional Thai and Lao input method by Theppitak Karoonboonyanan. (#81031) * modules/input/imthai.c: * modules/input/gtkimcontextthai.c: * modules/input/gtkimcontextthai.h: * modules/input/thai-charprop.c: * modules/input/thai-charprop.h: Added. * modules/input/imthai-broken.c: Removed. * modules/input/Makefile.am: Updated.
* Make print dialog work when 'BrowseShortNames Off' is specified in cupsMatthias Clasen2006-11-251-2/+2
| | | | | | | | 2006-11-25 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/cups/gtkprintbackendcups.c: Make print dialog work when 'BrowseShortNames Off' is specified in cups configuration. Patch by Tim Waugh.
* Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)Matthias Clasen2006-11-151-2/+15
| | | | | | | 2006-11-15 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
* Remember to free GDI Pen resources, introduced by bug 340201.(#364514)Dom Lachowicz2006-10-231-0/+1
| | | | | | | 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com> * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember to free GDI Pen resources, introduced by bug 340201.(#364514)
* CleanupsMatthias Clasen2006-10-083-12/+8
|
* Complete the fix for bug 357280Matthias Clasen2006-10-031-0/+8
|
* Complete the fix for bug 357280.Matthias Clasen2006-10-031-8/+25
| | | | | | | 2006-10-03 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/cups/gtkprintbackendcups.c: Complete the fix for bug 357280.
* Only use the group name field if cups is new enough. (#357280)Matthias Clasen2006-10-021-0/+2
| | | | | | | 2006-10-02 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): Only use the group name field if cups is new enough. (#357280)
* Bug 340201Dom Lachowicz2006-09-123-264/+723
|
* Add.Behdad Esfahbod2006-09-061-0/+4
|
* Send printer-list-done on error.Matthias Clasen2006-08-311-1/+3
| | | | | | 2006-08-31 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
* Use a resonable timeout of 3 seconds when polling for printer listMatthias Clasen2006-08-281-2/+3
| | | | | | | | 2006-08-28 Matthias Clasen <mclasen@redhat.com> * modules/printbackend/cups/gtkprintbackendcups.c: Use a resonable timeout of 3 seconds when polling for printer list updates, instead of 300000 seconds...
* Query range style properties only on range widgets. (#352277, BenjaminMatthias Clasen2006-08-261-1/+1
| | | | | | | | 2006-08-26 Matthias Clasen <mclasen@redhat.com> * pixbuf-draw.c (reverse_engineer_stepper_box): Query range style properties only on range widgets. (#352277, Benjamin Otte)
* 2.10.2GTK_2_10_2Matthias Clasen2006-08-181-0/+4
|
* 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)
* Simplify, make it build against cups 1.1. (#350329)Matthias Clasen2006-08-151-32/+16
| | | | | | | 2006-08-15 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/cups/gtkprintbackendcups.c (create_pickone_option): Simplify, make it build against cups 1.1. (#350329)
* 2.10.1GTK_2_10_1Matthias Clasen2006-07-241-0/+4
|
* 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)
* Make bits from my last commit are conditionally compiled only if cups 1.2John Palmieri2006-07-181-4/+10
| | | | | | * modules/printbackends/cups/gtkprintbackendcups.c: Make bits from my last commit are conditionally compiled only if cups 1.2 is available.
* add GTK_PRINTER_OPTION_TYPE_PICKONE_PASSWORD,John Palmieri2006-07-181-6/+75
| | | | | | | | | | | | * gtk/gtkprinteroption.h: * gtk/gtkprinteroptionwidget.c: * modules/printbackends/cups/gtkprintbackendcups.c: add GTK_PRINTER_OPTION_TYPE_PICKONE_PASSWORD, GTK_PRINTER_OPTION_TYPE_PICKONE_PASSCODE, GTK_PRINTER_OPTION_TYPE_PICKONE_REAL, GTK_PRINTER_OPTION_TYPE_PICKONE_INT, and GTK_PRINTER_OPTION_TYPE_PICKONE_STRING options to support a subset of the new CUPS 1.2 custom options spec
* Get the name of the first printer in a class to use when requesting a PPDJohn Palmieri2006-07-063-7/+51
| | | | | | | | | | | | * modules/printbackends/cups/gtkprintbackendcups.c: (cups_request_printer_list_cb): Get the name of the first printer in a class to use when requesting a PPD (cups_request_ppd_cb, cups_request_ppd): Fix the parameters of the "details-acquired" signal emittion (cups_request_ppd): get the ppd name from the cups printer * modules/printbackends/cups/gtkprintercups.c (gtk_printer_cups_get_ppd_name): New method for getting the name of the ppd we should request
* Fix compilation with cups 1.1Matthias Clasen2006-06-221-1/+0
|
* 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-218-202/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-213-41/+51
| | | | | | | | | | | | | | | | | 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.
* CleanupsMatthias Clasen2006-06-211-112/+80
|
* configure.in gtk/Makefile.am Rename "pdf" backend to "file" backend. StepChristian Persch2006-06-207-142/+143
| | | | | | | | | | | | | | 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.
* Convert input to filename encoding and construct an URI from that. AddChristian Persch2006-06-201-8/+15
| | | | | | | | | | | 2006-06-20 Christian Persch <chpe@cvs.gnome.org> * gtk/gtkprinteroptionwidget.c: (filesave_changed_cb), (alternative_set), (construct_widgets): Convert input to filename encoding and construct an URI from that. * gtk/gtkprintsettings.h: Add OUTPUT_FILE_FORMAT and OUTPUT_URI keys. * modules/printbackends/pdf/gtkprintbackendpdf.c: Use those defines. Step 1 from bug #339592.
* Add a capabilities argument to the printer_get_options method and to theMatthias Clasen2006-06-192-8/+13
| | | | | | | | | | | | | | | | | | | 2006-06-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprinter-private.h: * gtk/gtkprinter.c (_gtk_printer_get_options): * gtk/gtkprintbackend.h: Add a capabilities argument to the printer_get_options method and to the _gtk_printer_get_options function * modules/printbackends/lpr/gtkprintbackendlpr.c (lpr_printer_get_options): * modules/printbackends/pdf/gtkprintbackendpdf.c (pdf_printer_get_options): * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): * gtk/gtkprintunixdialog.c (selected_printer_changed): Adjust callers and implementations.
* Fix a typo: s/Extention/Extension/.Matthias Clasen2006-06-172-2/+2
| | | | | | | | 2006-06-17 Matthias Clasen <mclasen@redhat.com> * modules/printbackends/pdf/gtkprintbackendpdf.c: * modules/printbackends/lpr/gtkprintbackendlpr.c: Fix a typo: s/Extention/Extension/.
* Use stock print icons; make it compileMatthias Clasen2006-06-172-4/+3
|
* Add a GtkPrintSettings parameter to the printer_create_cairo_surfaceMatthias Clasen2006-06-163-174/+211
| | | | | | | | | | | | | | 2006-06-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintbackend.h: Add a GtkPrintSettings parameter to the printer_create_cairo_surface method. * modules/printbackends/pdf/gtkprintbackendpdf.c: * modules/printbackends/cups/gtkprintbackendcups.c: * modules/printbackends/lpr/gtkprintbackendlpr.c: * gtk/gtkprinter.c (_gtk_printer_create_cairo_surface): * gtk/gtkprinter-private.h: * gtk/gtkprintjob.c (gtk_print_job_get_surface): Adapt all users.
* fix 345038Matthias Clasen2006-06-161-3/+6
|
* fix the print-to-pdf iconMatthias Clasen2006-06-161-1/+1
|
* Use gtk_printer_accepts_ps here.Matthias Clasen2006-06-121-3/+6
| | | | | | | | | | | | | | | 2006-06-12 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintunixdialog.c (is_printer_active): Use gtk_printer_accepts_ps here. * modules/printbackends/pdf/gtkprintbackendpdf.c (gtk_print_backend_pdf_init): Mark the virtual "Print to PDF" printer as not accepting PS. * gtk/gtk.symbols: * gtk/gtkprinter.h: * gtk/gtkprinter.c: Add two new properties accepts-pdf and accepts-ps (with getters) to allow learning supported formats.