2004-07-30 Jody Goldberg * Release 2.7.1 2004-07-30 Jody Goldberg * libgnomeprint/modules/lpd/gnome-print-lpd.c : missing include * libgnomeprint/gpa/gpa-state.c : warning suppression and associated fixes. * libgnomeprint/gpa/gpa-model.c : const brokeness warning * doc/reference/Makefile.am : Ignore the stf files to silence some warnings. 2004-07-22 Jody Goldberg * libgnomeprint/gpa/gpa-model.c (gpa_model_new_from_xml_str) : moved from cups for more general use. 2004-07-29 Colin Walters * libgnomeprint/modules/lpd/Makefile.am (libgnomeprintlpd_la_LDFLAGS): Remove unused LPD_LIBS. 2004-07-29 Matthias Clasen * libgnomeprint/modules/cups/gnome-print-cups.c (gnome_print_cups_printer_list_append): Keep a handle to the module so that it stays open even if there are no printers. 2004-07-27 Andreas J. Guelzow * libgnomeprint/modules/lpd/gnome-print-lpd.c (gnome_print_lpd_printer_list_append): ignore cups portion of /etc/printcap file 2004-07-27 Andreas J. Guelzow * libgnomeprint/modules/Makefile.am: add lpd subdirectory * configure.in: add libgnomeprint/modules/lpd/Makefile * libgnomeprint/modules/lpd/.cvsignore: new * libgnomeprint/modules/lpd/Makefile.am: new * libgnomeprint/modules/lpd/gnome-print-lpd.c: new 2004-07-26 Owen Taylor * libgnomeprint/gnome-print-pango.c (gnome_print_pango_glyph_string): Don't draw glyph id 0. (Mentioned in #143874, Paolo Maggi) 2004-07-21 Jody Goldberg * libgnomeprint/gnome-print-ps2.c (gnome_print_ps2_set_font_real) : Minor warning suppression no real effect. (gnome_print_ps2_glyphlist) : ditto. 2004-07-20 Colin Walters * configure.in: Add check for libgnomecups. * libgnomeprint/gpa/gpa-utils.c (gpa_utils_dump_tree_with_level): Handle printing GPAState nodes. * gpa-state.h, gpa-state.c: New subclass of GPANode, designed to hold state for a printer. * libgnomeprint/gpa/gpa-printer.h (struct GPAPrinter): Include module handle and polling state. (gpa_printer_set_polling, gpa_printer_get_state) (gpa_printer_get_state_by_id): New functions. * libgnomeprint/gpa/gpa-printer.c (gpa_printer_load_data): Keep module open and reuse, instead of reopening. (gpa_printer_list_load): Load settings here. (gpa_printer_set_polling): New function for setting module polling state. (gpa_printer_new_stub): Open module here. (gpa_printer_complete_stub): Create state node. (gpa_printer_get_state, gpa_printer_get_state_by_id): New functions for returning a state node for a printer. * libgnomeprint/gpa/gpa-node-private.h: Add child_added and child_removed signals. * libgnomeprint/gpa/gpa-node.c: Implement new signals. (gpa_node_get_child): Implement. * libgnomeprint/gpa/Makefile.am (libgpa_la_SOURCES): Add gpa-state.c. (libgpainc_HEADERS): Add gpa-state.h. * libgnomeprint/gnome-print-module.h: Add polling_state member. * libgnomeprint/modules/cups/gnome-print-cups.c: Include libgnomecups bits. (struct GnomePrintCupsNewPrinterCbData): Small structure for holding libgnomecups callback data. (append_printer): Install signal handlers. (gnome_print_cups_printer_list_append) (gnome_print_cups_adjust_settings): Refactor to use libgnomecups. (attributes_changed_cb): Handle attribute changes. (add_printer_location): Install the "Location" attribute of a printer state node. (queue_changed_cb): Handle a change in the number of oustanding jobs, and set the QueueLength attribute. (start_polling): Install libgnomecups signal handlers. (stop_polling): Deinstall handlers. (printer_added_cb, printer_gone_cb): New functions to handle printer addition and departure. (gpa_module_polling): Implement polling function using start_polling and stop_polling. (gpa_module_load_data): Use libgnomecups to retrieve PPD files. Install handlers for queue and attribute changes. 2004-07-19 Jody Goldberg * tests/generate.c : Some win32 tweaks from Mark 2004-07-15 Owen Taylor * libgnomeprint/gnome-print-pdf-t1.c (gnome_print_pdf_t1_determine_lengths_pfa): Just look for the last occurrence of 'cleartomark' in the file instead of making guesses as to what is after. The Adobe spec allows comments/PS code after the cleartomark and, e.g., fonts generated by pfaedit have such. * libgnomeprint/gnome-print-pdf.c (gnome_print_pdf_set_font_real): Initialize encodedname to NULL so we don't free a random bit of memory. * libgnomeprint/gnome-print.c (gnome_print_buffer_mmap): Fix problems with not setting b->buf_size that were causing the PS2 backend not to be able to embed fonts. 2004-07-11 Dom Lachowicz * configure.in: Check for zlib; append Z_LIBS to GNOME_PRINT_LIBS 2004-07-07 Dom Lachowicz * libgnomeprint/gnome-print.c: Workarounds for when mmap fails or on platforms where there is no mmap. 2004-07-03 J.H.M. Dassen (Ray) http://bugs.debian.org/256955 * libgnomeprint/modules/cups/Makefile.am: link libgnomeprintcups.so against TOOLS_LIBS to make all its symbols are resolvable. 2004-07-02 Jody Goldberg http://bugzilla.gnome.org/show_bug.cgi?id=145300 * libgnomeprint/ttsubset/sft.h : Remove the big/little endian kludge * libgnomeprint/ttsubset/sft.c : Use glib's version. There is lot's of other glibification that could be done but I don't want to get too far from the mainline on this code. http://bugzilla.gnome.org/show_bug.cgi?id=145235 * libgnomeprint/gnome-print-pdf.c (gnome_print_embed_all_pdf_fonts) : C89 compilation fix from Jens Granseuer 2004-06-29 Jody Goldberg * configure.in : post release bump