1 2006-04-17 Matthias Clasen <mclasen@redhat.com>
3 * docs/tools/widgets.c (get_all_widgets): Add print dialog
6 2006-04-11 Matthias Clasen <mclasen@redhat.com>
8 * gtk/gtkpapersize.c (gtk_paper_size_get_display_name):
9 Call gettext on the standard paper names.
11 2006-04-11 Alexander Larsson <alexl@redhat.com>
14 * gdk/win32/gdkevents-win32.c:
15 * gdk/win32/gdkwin32.h:
16 Add gdk_win32_set_modal_dialog_libgtk_only that we
17 need for handling the mainloop in the print dialogs.
19 * gtk/gtkprintoperation-win32.c:
20 Pump the gtk+ mainloop when needed in the print dialogs.
21 This means gtk+ windows will redraw while the print dialogs
24 2006-04-10 Alexander Larsson <alexl@redhat.com>
26 * gtk/gtkprintoperation-win32.c:
28 Save win32-specific settings in additions to the generic ones
29 if the generic one is lossy.
31 2006-04-10 Alexander Larsson <alexl@redhat.com>
33 * gtk/gtkprintoperation-win32.c:
34 Finish implementing run_page_setup_dialog.
38 * gtk/gtkprint-win32.h:
39 * gtk/gtkprintcontext.h:
40 * gtk/gtkprinter-private.h:
41 * gtk/gtkprintoperation-private.h:
42 * gtk/gtkprintoperation-unix.c:
43 * gtk/gtkprintoperation.h:
44 * gtk/gtkprintsettings.h:
47 2006-04-09 Matthias Clasen <mclasen@redhat.com>
49 * gtk+-unix-print-2.0.pc.in: Fix a typo (#337698)
51 2006-04-07 Matthias Clasen <mclasen@redhat.com>
53 * gtk/paper_names_offsets.c:
54 * gtk/gen-paper-names.c: Correct the suffix/duplicate optimizations.
56 2006-04-07 Alexander Larsson <alexl@redhat.com>
58 * gtk/gtkprintoperation-win32.c:
59 Initial work on gtk_print_run_page_setup_dialog.
60 Not reading margins yet.
62 2006-04-07 Alexander Larsson <alexl@redhat.com>
68 * gtk/gtkprintoperation-private.h:
69 * gtk/gtkprintoperation-unix.c:
70 * gtk/gtkprintoperation.[ch]:
71 Add gtk_print_operation_get_status_string() and status
72 string to _gtk_print_operation_set_status.
73 Rename GTK_PRINT_STATUS_PROCESSING to GTK_PRINT_STATUS_PRINTING.
75 * gtk/gtkprintoperation-win32.c:
76 Poll for status updates
78 * modules/printbackends/cups/gtkprintbackendcups.c:
79 Rename GTK_PRINT_STATUS_PROCESSING to GTK_PRINT_STATUS_PRINTING.
81 * tests/print-editor.c:
82 Show print status string
84 2006-04-06 Matthias Clasen <mclasen@redhat.com>
86 * gtk/paper_names_offsets.c:
87 * gtk/gtkpapersize.c: Save 4K of .data by converting
88 the array of paper names to offsets.
90 * gtk/gen-paper-names.c: Utility used to create
91 paper_names_offsets.c from paper_names.c.
93 * gtk/Makefile.am: Necessary glue.
95 2006-04-06 Alexander Larsson <alexl@redhat.com>
97 * gtk/gtkprintoperation-win32.c:
99 Set up manual_* vars fully.
101 2006-04-06 Alexander Larsson <alexl@redhat.com>
104 Add -lcomdlg32 on win32
106 * gtk/gtkprint-win32.h:
107 Move WINVER define to .c files
110 * gtk/gtkprintoperation-win32.c:
111 Add empty gtk_print_run_page_setup win implementation
112 Move WINVER define to this file
114 * modules/Makefile.am:
115 Only build print backends on unix
117 2006-04-05 Matthias Clasen <mclasen@redhat.com>
119 * gtk/gtkprintunixdialog.c:
120 * gtk/gtkprintoperation-unix.c: Use GTK_RESPONSE_CANCEL/OK
121 instead of GTK_RESPONSE_REJECT/ACCEPT, to make Esc close
122 the dialog, and to not use values which are documented
123 as reserved for apps.
125 2006-04-05 Alexander Larsson <alexl@redhat.com>
127 * modules/printbackends/lpr/gtkprintbackendlpr.c:
128 Don't hardcode lpr command, expose full commandline.
130 2006-04-05 Alexander Larsson <alexl@redhat.com>
132 * gtk/gtkpagesetupunixdialog.c:
133 * gtk/gtkprintunixdialog.c:
134 Don't check for printer changes after dialog is dead.
136 * gtk/gtkprintbackend.c: (gtk_print_backend_load_modules):
137 Strip whitespace from backend strings
139 * gtk/gtkprintbackend.h:
140 Add private printer functions
142 * gtk/gtkprinter-private.h:
143 Move GtkPrinterPrivate into gtkprinter.c
145 * gtk/gtkprinter.[ch]:
146 Move GtkPrinterPrivate into gtkprinter.c
147 Add new construct properties.
148 Add setter functions.
150 * modules/printbackends/cups/gtkprintbackendcups.c:
151 * modules/printbackends/cups/gtkprintercups.[ch]:
154 * modules/printbackends/lpr/Makefile.am:
155 * modules/printbackends/lpr/gtkprintbackendlpr.c:
156 * modules/printbackends/lpr/gtkprinterlpr.[ch]
158 Remove GtkPrinterLPR.
159 Read/Save command line option in settings
161 * modules/printbackends/pdf/Makefile.am:
162 * modules/printbackends/pdf/gtkprintbackendpdf.c:
163 * modules/printbackends/pdf/gtkprinterpdf.[ch]:
165 Remove GtkPrinterPDF.
167 2006-04-04 Matthias Clasen <mclasen@redhat.com>
169 * gtk/gtkprintoperation.h: Add missing standard
170 GObject macros. (#337277, Yevgen Muntyan)
172 2006-04-04 Alexander Larsson <alexl@redhat.com>
174 * gtk/gtkprinteroption.[ch]:
175 Add gtk_printer_option_has_choice.
177 * gtk/gtkprintunixdialog.c:
178 * modules/printbackends/cups/gtkprintbackendcups.c:
179 Add support for "print at time".
181 2006-04-04 Alexander Larsson <alexl@redhat.com>
183 * gtk/gtkpapersize.c:
184 Handle ppd names with ".Transverse" suffix
185 Don't force width < height
187 * gtk/gtkprinteroption.c:
188 Make sure that value is never NULL.
190 * modules/printbackends/cups/gtkprintbackendcups.c:
191 Add some HP whitelist names
192 Remove spew from ignored options.
194 2006-04-03 Alexander Larsson <alexl@redhat.com>
196 * gtk/gtkpagesetupunixdialog.c:
199 * gtk/gtkprinter-private.h:
200 * gtk/gtkprinter.[ch]:
201 Add gtk_printer_is_default.
203 * gtk/gtkprintunixdialog.c:
204 Use gtk_printer_is_default.
206 * modules/printbackends/cups/gtkprintbackendcups.c:
207 Get default printer info
209 * modules/printbackends/pdf/gtkprintbackendpdf.c:
212 2006-04-03 Alexander Larsson <alexl@redhat.com>
214 * modules/printbackends/pdf/gtkprintbackendpdf.c:
215 * modules/printbackends/pdf/gtkprinterpdf.[ch]:
216 Correctly read/write/use the output filename setting.
218 2006-04-03 Alexander Larsson <alexl@redhat.com>
220 * gtk/gtkpagesetupunixdialog.c:
221 Disable margin from printers if there are no printers.
223 * gtk/gtkpapersize.c:
226 2006-04-01 Matthias Clasen <mclasen@redhat.com>
228 * gtk/gtk.symbols: protect unix-only symbols by
229 G_OS_UNIX (#336819, Yevgen Muntyan)
231 * gtk/gtkpapersize.c: Win32 fixes. (#336806, Yevgen Muntyan)
233 2006-03-30 Alexander Larsson <alexl@redhat.com>
238 * gtk/gtkprintbackend.[ch]:
239 Add dnotify to gtk_print_backend_print_stream
241 * gtk/gtkprinter-private.h:
242 Declare gtk_print_job_set_status
244 * gtk/gtkprinter.[ch]:
245 Remove gtk_printer_prepare_job.
247 * gtk/gtkprintjob.[ch]:
248 Now you create print job directly with gtk_print_job_new() and
249 they'll be prepared automatically.
250 Add status_changed signal and get_status.
251 Add gtk_print_job_set_source_file to allow sending a file.
253 * gtk/gtkprintoperation-private.h:
254 Add destroy notify for platform_data.
255 Declare _gtk_print_operation_set_status.
257 * gtk/gtkprintoperation-unix.c:
258 Hook up status change handling.
259 Use the new way to get a print job.
261 * gtk/gtkprintoperation.[ch]:
262 Add status_changed signal and get_status/is_finished.
265 * modules/printbackends/cups/gtkprintbackendcups.c:
266 * modules/printbackends/lpr/gtkprintbackendlpr.c:
267 * modules/printbackends/pdf/gtkprintbackendpdf.c:
268 Update to use new APIs and set status on the job.
269 Cups polls for the status.
271 * tests/print-editor.c:
272 Track the print operations in the status bar.
274 2006-03-30 Alexander Larsson <alexl@redhat.com>
277 * gtk/gtkprintbackend.c:
278 Default to "pdf,cups" if we found cups, and
281 2006-03-29 Matthias Clasen <mclasen@redhat.com>
283 * modules/printbackends/Makefile.am:
284 * configure.in: Don't build the cups backend
285 if cups is not there.
287 2006-03-29 Alexander Larsson <alexl@redhat.com>
290 gtk_printer_prep_job -> gtk_printer_prepare_job
291 gtk_print_job_prep -> gtk_print_job_prepare
293 * gtk/gtkprintbackend.h:
294 * gtk/gtkprinter-private.h:
295 * gtk/gtkprinter.[ch]:
296 Add print_job argument to printer_prepare_for_print
297 gtk_printer_prep_job -> gtk_printer_prepare_job
299 * gtk/gtkprintjob.[ch]:
300 Add manual rendering settings to GtkPrintJob.
301 gtk_print_job_prep -> gtk_print_job_prepare
303 * gtk/gtkprintoperation-private.h:
304 * gtk/gtkprintoperation-unix.c:
305 * gtk/gtkprintoperation.c:
306 Get more manual_* settings working.
307 Run mainloop after each printed page.
309 * gtk/gtkprintunixdialog.c:
312 * modules/printbackends/cups/gtkprintbackendcups.c:
313 * modules/printbackends/lpr/gtkprintbackendlpr.c:
314 * modules/printbackends/pdf/gtkprintbackendpdf.c:
315 Now put the manual_* settings inside the PrintJob in
318 2006-03-29 Alexander Larsson <alexl@redhat.com>
320 * gtk/gtkprintunixdialog.c:
321 Make sure we remember the format-for printer.
322 Also, use it as the default if set.
324 2006-03-28 Alexander Larsson <alexl@redhat.com>
326 * gtk/gtkprintunixdialog.c:
327 Remove unnecessary padding under list.
329 2006-03-28 Alexander Larsson <alexl@redhat.com>
331 * gtk/gtkpagesetupunixdialog.c:
332 * gtk/gtkprintunixdialog.c:
335 2006-03-28 Alexander Larsson <alexl@redhat.com>
337 * gtk/gtkpagesetupunixdialog.c:
338 HIG conformance of spacing and titles.
340 * gtk/gtkprintunixdialog.c:
341 Use standard constructor form print button too.
343 2006-03-27 Matthias Clasen <mclasen@redhat.com>
345 * modules/printbackends/*/Makefile.am: Fix
346 a problem with builddir != srcdir builds.
347 (#335915, Yevgen Muntyan)
349 2006-03-27 Matthias Clasen <mclasen@redhat.com>
351 * gtk/gtkprintbackend.c: Simply the syntax
352 of the setting to "cups,pdf", and get rid
353 of the GScanner used to parse it.
355 2006-03-27 Alexander Larsson <alexl@redhat.com>
357 * gtk/gtkprintunixdialog.c:
358 Reorder print list so status is at the end.
359 Ellipsize the status column.
361 2006-03-27 Alexander Larsson <alexl@redhat.com>
363 * gtk/gtkpagesetupunixdialog.c:
364 Handle removed printers and status-changed.
365 Handle NULL printer location.
367 2006-03-27 Alexander Larsson <alexl@redhat.com>
370 * gtk/stock-icons/24/gtk-orientation-landscape.png:
371 * gtk/stock-icons/24/gtk-orientation-portrait.png:
372 * gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
373 * gtk/gtkiconfactory.c: (get_default_icons):
375 Add orientation stock icons.
377 * gtk/gtkpagesetupunixdialog.c:
378 Use the orientation icons.
380 2006-03-27 Alexander Larsson <alexl@redhat.com>
382 * gtk/gtkpagesetupunixdialog.c:
384 * gtk/gtkprintoperation-unix.c:
385 * gtk/gtkprintunixdialog.c:
387 Don't prefix static functions with _
389 2006-03-26 Matthias Clasen <mclasen@redhat.com>
391 * gtk/gtkprintunixdialog.c: Don't use _(""). (#335898,
394 * modules/printbackends/*: Don't use G_DEFINE_TYPE
397 * gtk/gtkprintbackend.c: Remove an unused static function.
399 2006-03-25 Matthias Clasen <mclasen@redhat.com>
401 * gtk/gtk.symbols: Add printing symbols
403 * gtk/gtkpapersize.[hc]:
405 * gtk/gtkprint*.[hc]: Add aliasing, #include cleanups.
407 * gtk/gtkprintcontext.h:
408 * gtk/gtkprintoperation.h:
409 * gtk/gtkprintsettings.h: Make get_type function const.
411 * modules/printbackends/pdf/gtkprintbackendpdf.c: Remove
414 * modules/printbackends/cups/gtkcupsutils.c: Use unsigned
415 integers for bitfields.
417 2006-03-24 Matthias Clasen <mclasen@redhat.com>
419 * gtk/gtknotebook.c: Fix docs
421 * gtk/Makefile.am (EXTRA_DIST): Add the stock icons here.
423 * gdk/directfb/Makefile.am (EXTRA_DIST): Remove ChangeLog,
424 to make make dist happier.
426 2006-03-24 Alexander Larsson <alexl@redhat.com>
429 * gtk/gtkprintbackend.c:
430 * modules/printbackends/Makefile.am:
431 * modules/printbackends/cups/Makefile.am:
432 * modules/printbackends/lpr/Makefile.am:
433 * modules/printbackends/lpr/gtkprintbackendlpr.[ch]:
434 * modules/printbackends/lpr/gtkprinterlpr.[ch]:
435 * modules/printbackends/pdf/Makefile.am:
436 * modules/printbackends/pdf/gtkprintbackendpdf.[ch]:
437 * modules/printbackends/pdf/gtkprinterpdf.[ch]:
438 Import pdf and lpr backend
440 2006-03-24 Alexander Larsson <alexl@redhat.com>
442 Import print-operation into gtk+
446 * gtk+-unix-print-2.0.pc.in:
447 Add gtk+-unix-print-2.0.pc
451 Look for various _NL_* extensions
452 Output new makefiles and .pc.in
458 Include gtkprintoperation.h
463 * gtk/gtkmarshalers.list:
464 Add required new marshallers
466 * gtk/gtkpagesetup.[ch]:
467 * gtk/gtkpagesetupunixdialog.[ch]:
468 * gtk/gtkpagesetupunixdialog.h:
469 * gtk/gtkpapersize.[ch]:
470 * gtk/gtkprint-win32.[ch]:
471 * gtk/gtkprintbackend.[ch]:
472 * gtk/gtkprintcontext.[ch]:
473 * gtk/gtkprinter-private.h:
474 * gtk/gtkprinter.[ch]:
475 * gtk/gtkprinteroption.[ch]:
476 * gtk/gtkprinteroptionset.[ch]:
477 * gtk/gtkprinteroptionwidget.[ch]:
478 * gtk/gtkprintjob.[ch]:
479 * gtk/gtkprintoperation-private.h:
480 * gtk/gtkprintoperation-unix.c:
481 * gtk/gtkprintoperation-win32.c:
482 * gtk/gtkprintoperation.[ch]:
483 * gtk/gtkprintsettings.[ch]:
484 * gtk/gtkprintunixdialog.[ch]:
486 Generic printing support
488 * modules/Makefile.am:
489 * modules/printbackends/Makefile.am:
490 * modules/printbackends/cups/Makefile.am:
491 * modules/printbackends/cups/gtkcupsutils.[ch]:
492 * modules/printbackends/cups/gtkprintbackendcups.[ch]:
493 * modules/printbackends/cups/gtkprintercups.[ch]:
498 * tests/print-editor.c:
499 Add printing test app