]> Pileus Git - ~andy/gtk/blob - ChangeLog.gtk-printing
stylecontext: Do invalidation on first resize container
[~andy/gtk] / ChangeLog.gtk-printing
1 2006-04-17  Matthias Clasen  <mclasen@redhat.com>
2
3         * docs/tools/widgets.c (get_all_widgets): Add print dialog
4         and page setup dialog.
5
6 2006-04-11  Matthias Clasen  <mclasen@redhat.com>
7
8         * gtk/gtkpapersize.c (gtk_paper_size_get_display_name):
9         Call gettext on the standard paper names. 
10
11 2006-04-11  Alexander Larsson  <alexl@redhat.com>
12
13         * gdk/gdk.symbols:
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.
18
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
22         are up.
23
24 2006-04-10  Alexander Larsson  <alexl@redhat.com>
25
26         * gtk/gtkprintoperation-win32.c: 
27         Better size handling.
28         Save win32-specific settings in additions to the generic ones
29         if the generic one is lossy.
30
31 2006-04-10  Alexander Larsson  <alexl@redhat.com>
32
33         * gtk/gtkprintoperation-win32.c:
34         Finish implementing run_page_setup_dialog.
35
36         * gtk/gtkpagesetup.h:
37         * gtk/gtkpapersize.h:
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:
45         s/EGG/GTK/
46
47 2006-04-09  Matthias Clasen  <mclasen@redhat.com>
48
49         * gtk+-unix-print-2.0.pc.in: Fix a typo  (#337698)
50
51 2006-04-07  Matthias Clasen  <mclasen@redhat.com>
52
53         * gtk/paper_names_offsets.c: 
54         * gtk/gen-paper-names.c: Correct the suffix/duplicate optimizations.
55
56 2006-04-07  Alexander Larsson  <alexl@redhat.com>
57
58         * gtk/gtkprintoperation-win32.c:
59         Initial work on gtk_print_run_page_setup_dialog.
60         Not reading margins yet.
61
62 2006-04-07  Alexander Larsson  <alexl@redhat.com>
63
64         * gtk/Makefile.am:
65         Link to winspool
66         
67         * gtk/gtk.symbols:
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.
74         
75         * gtk/gtkprintoperation-win32.c:
76         Poll for status updates
77         
78         * modules/printbackends/cups/gtkprintbackendcups.c:
79         Rename GTK_PRINT_STATUS_PROCESSING to GTK_PRINT_STATUS_PRINTING.
80         
81         * tests/print-editor.c:
82         Show print status string
83
84 2006-04-06  Matthias Clasen  <mclasen@redhat.com>
85
86         * gtk/paper_names_offsets.c: 
87         * gtk/gtkpapersize.c: Save 4K of .data by converting
88         the array of paper names to offsets. 
89
90         * gtk/gen-paper-names.c: Utility used to create
91         paper_names_offsets.c from paper_names.c.
92
93         * gtk/Makefile.am: Necessary glue.
94
95 2006-04-06  Alexander Larsson  <alexl@redhat.com>
96
97         * gtk/gtkprintoperation-win32.c: 
98         Use glib base64 code.
99         Set up manual_* vars fully.
100
101 2006-04-06  Alexander Larsson  <alexl@redhat.com>
102
103         * gtk/Makefile.am:
104         Add -lcomdlg32 on win32
105         
106         * gtk/gtkprint-win32.h:
107         Move WINVER define to .c files
108         
109         * gtk/gtk.symbols:
110         * gtk/gtkprintoperation-win32.c:
111         Add empty gtk_print_run_page_setup win implementation
112         Move WINVER define to this file
113         
114         * modules/Makefile.am:
115         Only build print backends on unix
116
117 2006-04-05  Matthias Clasen  <mclasen@redhat.com>
118
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.
124
125 2006-04-05  Alexander Larsson  <alexl@redhat.com>
126
127         * modules/printbackends/lpr/gtkprintbackendlpr.c:
128         Don't hardcode lpr command, expose full commandline.
129
130 2006-04-05  Alexander Larsson  <alexl@redhat.com>
131
132         * gtk/gtkpagesetupunixdialog.c:
133         * gtk/gtkprintunixdialog.c:
134         Don't check for printer changes after dialog is dead.
135         
136         * gtk/gtkprintbackend.c: (gtk_print_backend_load_modules):
137         Strip whitespace from backend strings
138         
139         * gtk/gtkprintbackend.h:
140         Add private printer functions
141         
142         * gtk/gtkprinter-private.h:
143         Move GtkPrinterPrivate into gtkprinter.c
144         
145         * gtk/gtkprinter.[ch]:
146         Move GtkPrinterPrivate into gtkprinter.c
147         Add new construct properties.
148         Add setter functions.
149         
150         * modules/printbackends/cups/gtkprintbackendcups.c:
151         * modules/printbackends/cups/gtkprintercups.[ch]:
152         Update to new APIs.
153         
154         * modules/printbackends/lpr/Makefile.am:
155         * modules/printbackends/lpr/gtkprintbackendlpr.c:
156         * modules/printbackends/lpr/gtkprinterlpr.[ch]
157         Update to new APIs.
158         Remove GtkPrinterLPR.
159         Read/Save command line option in settings
160         
161         * modules/printbackends/pdf/Makefile.am:
162         * modules/printbackends/pdf/gtkprintbackendpdf.c:
163         * modules/printbackends/pdf/gtkprinterpdf.[ch]:
164         Update to new APIs.
165         Remove GtkPrinterPDF.
166
167 2006-04-04  Matthias Clasen  <mclasen@redhat.com>
168
169         * gtk/gtkprintoperation.h: Add missing standard
170         GObject macros.  (#337277, Yevgen Muntyan)
171
172 2006-04-04  Alexander Larsson  <alexl@redhat.com>
173
174         * gtk/gtkprinteroption.[ch]:
175         Add gtk_printer_option_has_choice.
176         
177         * gtk/gtkprintunixdialog.c:
178         * modules/printbackends/cups/gtkprintbackendcups.c:
179         Add support for "print at time".
180
181 2006-04-04  Alexander Larsson  <alexl@redhat.com>
182
183         * gtk/gtkpapersize.c:
184         Handle ppd names with ".Transverse" suffix
185         Don't force width < height
186         
187         * gtk/gtkprinteroption.c:
188         Make sure that value is never NULL.
189         
190         * modules/printbackends/cups/gtkprintbackendcups.c:
191         Add some HP whitelist names
192         Remove spew from ignored options.
193
194 2006-04-03  Alexander Larsson  <alexl@redhat.com>
195
196         * gtk/gtkpagesetupunixdialog.c:
197         Fix warnings
198         
199         * gtk/gtkprinter-private.h:
200         * gtk/gtkprinter.[ch]:
201         Add gtk_printer_is_default.
202         
203         * gtk/gtkprintunixdialog.c:
204         Use gtk_printer_is_default.
205         
206         * modules/printbackends/cups/gtkprintbackendcups.c:
207         Get default printer info
208         
209         * modules/printbackends/pdf/gtkprintbackendpdf.c:
210         Fix warning.
211
212 2006-04-03  Alexander Larsson  <alexl@redhat.com>
213
214         * modules/printbackends/pdf/gtkprintbackendpdf.c:
215         * modules/printbackends/pdf/gtkprinterpdf.[ch]:
216         Correctly read/write/use the output filename setting.
217
218 2006-04-03  Alexander Larsson  <alexl@redhat.com>
219
220         * gtk/gtkpagesetupunixdialog.c:
221         Disable margin from printers if there are no printers.
222         
223         * gtk/gtkpapersize.c:
224         Fix build.
225
226 2006-04-01  Matthias Clasen  <mclasen@redhat.com>
227
228         * gtk/gtk.symbols: protect unix-only symbols by 
229         G_OS_UNIX (#336819, Yevgen Muntyan)
230
231         * gtk/gtkpapersize.c: Win32 fixes.  (#336806, Yevgen Muntyan)
232
233 2006-03-30  Alexander Larsson  <alexl@redhat.com>
234
235         * gtk/gtk.symbols:
236         Update
237         
238         * gtk/gtkprintbackend.[ch]:
239         Add dnotify to gtk_print_backend_print_stream
240         
241         * gtk/gtkprinter-private.h:
242         Declare gtk_print_job_set_status
243         
244         * gtk/gtkprinter.[ch]:
245         Remove gtk_printer_prepare_job.
246         
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.
252         
253         * gtk/gtkprintoperation-private.h:
254         Add destroy notify for platform_data.
255         Declare _gtk_print_operation_set_status.
256         
257         * gtk/gtkprintoperation-unix.c:
258         Hook up status change handling.
259         Use the new way to get a print job.
260
261         * gtk/gtkprintoperation.[ch]:
262         Add status_changed signal and get_status/is_finished.
263
264         
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.
270         
271         * tests/print-editor.c:
272         Track the print operations in the status bar.
273
274 2006-03-30  Alexander Larsson  <alexl@redhat.com>
275
276         * gtk/Makefile.am:
277         * gtk/gtkprintbackend.c:
278         Default to "pdf,cups" if we found cups, and
279         "pdf,lpr" otherwise.
280
281 2006-03-29  Matthias Clasen  <mclasen@redhat.com>
282
283         * modules/printbackends/Makefile.am: 
284         * configure.in: Don't build the cups backend 
285         if cups is not there.
286
287 2006-03-29  Alexander Larsson  <alexl@redhat.com>
288
289         * gtk/gtk.symbols:
290         gtk_printer_prep_job -> gtk_printer_prepare_job
291         gtk_print_job_prep -> gtk_print_job_prepare
292         
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
298         
299         * gtk/gtkprintjob.[ch]:
300         Add manual rendering settings to GtkPrintJob.
301         gtk_print_job_prep -> gtk_print_job_prepare
302         
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.
308
309         * gtk/gtkprintunixdialog.c:
310         Save page ranges.
311         
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
316         prepare_for_print.
317
318 2006-03-29  Alexander Larsson  <alexl@redhat.com>
319
320         * gtk/gtkprintunixdialog.c:
321         Make sure we remember the format-for printer.
322         Also, use it as the default if set.
323
324 2006-03-28  Alexander Larsson  <alexl@redhat.com>
325
326         * gtk/gtkprintunixdialog.c:
327         Remove unnecessary padding under list.
328         
329 2006-03-28  Alexander Larsson  <alexl@redhat.com>
330
331         * gtk/gtkpagesetupunixdialog.c:
332         * gtk/gtkprintunixdialog.c:
333         More HIGy layout.
334
335 2006-03-28  Alexander Larsson  <alexl@redhat.com>
336
337         * gtk/gtkpagesetupunixdialog.c:
338         HIG conformance of spacing and titles.
339         
340         * gtk/gtkprintunixdialog.c:
341         Use standard constructor form print button too.
342
343 2006-03-27  Matthias Clasen  <mclasen@redhat.com>
344
345         * modules/printbackends/*/Makefile.am: Fix 
346         a problem with builddir != srcdir builds.
347         (#335915, Yevgen Muntyan)
348
349 2006-03-27  Matthias Clasen  <mclasen@redhat.com>
350
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.
354
355 2006-03-27  Alexander Larsson  <alexl@redhat.com>
356
357         * gtk/gtkprintunixdialog.c:
358         Reorder print list so status is at the end.
359         Ellipsize the status column.
360
361 2006-03-27  Alexander Larsson  <alexl@redhat.com>
362
363         * gtk/gtkpagesetupunixdialog.c:
364         Handle removed printers and status-changed.
365         Handle NULL printer location.
366
367 2006-03-27  Alexander Larsson  <alexl@redhat.com>
368
369         * gtk/Makefile.am:
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):
374         * gtk/gtkstock.h:
375         Add orientation stock icons.
376         
377         * gtk/gtkpagesetupunixdialog.c:
378         Use the orientation icons.
379
380 2006-03-27  Alexander Larsson  <alexl@redhat.com>
381
382         * gtk/gtkpagesetupunixdialog.c:
383         * gtk/gtkprintjob.c:
384         * gtk/gtkprintoperation-unix.c:
385         * gtk/gtkprintunixdialog.c:
386         s/impl/dialog/
387         Don't prefix static functions with _
388
389 2006-03-26  Matthias Clasen  <mclasen@redhat.com>
390
391         * gtk/gtkprintunixdialog.c: Don't use _(""). (#335898,
392         Christian Persch)
393
394         * modules/printbackends/*: Don't use G_DEFINE_TYPE
395         in modules.
396
397         * gtk/gtkprintbackend.c: Remove an unused static function.
398
399 2006-03-25  Matthias Clasen  <mclasen@redhat.com>
400
401         * gtk/gtk.symbols: Add printing symbols
402
403         * gtk/gtkpapersize.[hc]: 
404         * gtk/gtkpage*.[hc]: 
405         * gtk/gtkprint*.[hc]: Add aliasing, #include cleanups.
406
407         * gtk/gtkprintcontext.h:
408         * gtk/gtkprintoperation.h:
409         * gtk/gtkprintsettings.h: Make get_type function const.
410
411         * modules/printbackends/pdf/gtkprintbackendpdf.c: Remove
412         C99ism.
413
414         * modules/printbackends/cups/gtkcupsutils.c: Use unsigned
415         integers for bitfields.
416
417 2006-03-24  Matthias Clasen  <mclasen@redhat.com>
418
419         * gtk/gtknotebook.c: Fix docs
420
421         * gtk/Makefile.am (EXTRA_DIST): Add the stock icons here.
422
423         * gdk/directfb/Makefile.am (EXTRA_DIST): Remove ChangeLog,
424         to make make dist happier.
425
426 2006-03-24  Alexander Larsson  <alexl@redhat.com>
427
428         * configure.in:
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
439
440 2006-03-24  Alexander Larsson  <alexl@redhat.com>
441
442         Import print-operation into gtk+
443         
444         * .cvsignore:
445         * Makefile.am:
446         * gtk+-unix-print-2.0.pc.in:
447         Add gtk+-unix-print-2.0.pc
448         
449         * configure.in:
450         Look for cups
451         Look for various _NL_* extensions
452         Output new makefiles and .pc.in
453         
454         * gtk/Makefile.am:
455         Add new files
456         
457         * gtk/gtk.h:
458         Include gtkprintoperation.h
459         
460         * gtk/gtkenums.h:
461         Add printing enums
462         
463         * gtk/gtkmarshalers.list:
464         Add required new marshallers
465         
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]:
485         * gtk/paper_names.c:
486         Generic printing support
487         
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]:
494         Cups backend
495         
496         * tests/.cvsignore:
497         * tests/Makefile.am:
498         * tests/print-editor.c:
499         Add printing test app
500