- * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_destroy): unload
- the file, plugs file handle, PDFDoc, whatnot leak (Bug #135525,
- spotted by Ali Akcaagac).
-
-2004-02-19 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
-
- Fix for bug #134807
-
- * gpdf/xpdf/gpdf-control.cc (gpdf_control_print):
- Add handler for disconnected control to close print
- dialog when gpdf exists.
- (gpdf_control_get_filename): Add handler for disconnected
- control to close SaveAs file chooser when gpdf exists.
- (verb_FileProperties_cb): Add handler for disconnected
- control to close Properties dialog when gpdf exists.
-
-2004-02-18 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
-
- Bugzilla #134609
-
- * gpdf/xpdf/gpdf-persist-stream.cc
- (gpdf_persist_stream_on_dialog_response_cb):
- Replaced old gpdf_persist_stream_on_cancelbutton_clicked,
- gpdf_persist_stream_on_okbutton_clicked and
- gpdf_persist_stream_on_helpbutton_clicked with
- gpdf_persist_stream_on_dialog_response_cb.
- (gpdf_persist_stream_create_password_dialog):
- Changed handlers connected on dialog buttons with one
- handler connected on dialog's response.
-
- * gpdf/xpdf/gpdf-persist-file.cc (gpdf_persist_file_on_dialog_response_cb):
- Replaced old gpdf_persist_file_on_cancelbutton_clicked,
- gpdf_persist_file_on_okbutton_clicked and
- gpdf_persist_file_on_helpbutton_clicked with
- gpdf_persist_file_on_dialog_response_cb.
- (gpdf_persist_file_create_password_dialog):
- Changed handlers connected on dialog buttons with one
- handler connected on dialog's response.
-
- * gpdf/xpdf/gpdf-control.cc (gpdf_control_private_destroy_dialog):
- Removed.
- (gpdf_control_private_error_dialog)
- (gpdf_control_private_warn_dialog)
- (gpdf_control_private_info_dialog):
- Changed clicked handler set on button with response handler
- set on dialog itself. Original handler
- gpdf_control_private_destroy_dialog have been replaced with
- gtk_widget_dialog.
- (gpdf_control_no_postscript_printer_alert): Use the
- gpdf_control_private_error_dialog instead of managing its
- own dialog.
- (gpdf_control_properties_dialog_response_cb): Removed old
- dialog resp cb used for props dialog.
- (verb_FileProperties_cb): Changed dialog handler for resp
- with gtk_widget_destroy.
- (persist_file_loading_failed_cb): Replaced dialog managed
- with gpdf_control_private_error_dialog.
-
-2004-02-16 Martin Kretzschmar <m_kretzschmar@gmx.net>
-
- * gpdf/configure.in, NEWS: Version 0.123.
-
-2004-02-16 Martin Kretzschmar <m_kretzschmar@gmx.net>
-
- * gpdf/autogen.sh: require automake 1.7 because of the way we use
- automake conditionals. Fixes distcheck.
-
-2004-02-13 Jaka Mocnik <jaka@gnu.org>
-
- * ggv/configure.in: version 2.5.4; tagged as GGV_2_5_4.
-
-2004-02-12 Jaka Mocnik <jaka@gnu.org>
-
- * ggv/src/recent-files/egg-recent-model.c (end_element_handler): only add
- an uri to the list if it exists!
-
-2004-02-10 Jaka Mocnik <jaka@gnu.org>
-
- * ggv/src/ggv-window.c (ggv_window_reload): show a dialog if the file
- can't be reloaded.
- * ggv/src/ggv-prefs-ui.c: remember strings when focus leaves the
- entry.
- * ggv/src/ggv-window.c (verb_FileOpen): allow opening multiple files
- at once!
- * ggv/bonobo/GNOME_GGV.server.in.in: Postscript -> PostScript!
-
-2004-02-10 Jaka Mocnik <jaka@gnu.org>
-
- * ggv/src/recent-files/egg-recent-view-bonobo.c
- (egg_recent_view_bonobo_clear): added sanity checks for UI container.
- * ggv/src/ps.c (psscan): pass the filename as a parameter and use it to
- invoke the test command on strange files that might be PS but do not
- seem to be.
- * ggv/bonobo/ggv-sidebar.c (page_list_selection_changed): sanity check if
- (checklist != NULL).
- * ggv/bonobo/ggv-postscript-view.c (load_ps): return a boolean indicating
- success.
- (load_ps_from_stream): set exception when loading fails.
- (load_ps_from_file): set exception when loading fails.
- fix for #133601.
- * ggv/src/ggv-window.c (verb_FileOpen): keep the dialog open until user
- either enter a non-empty filename and opens it or cancel the
- operation. fixes #130603
- (verb_FileOpen): load PS file before showing a new window. destroy
- new window if the file is not valid PS. show dialog in that case.
- fixes #133601.
- * ggv/bonobo/ggv-postscript-view.c (add_dialog_to_view): add a dialog to
- the list of dialogs maintained by this PS view component.
- (ggv_postscript_view_destroy_dialogs): destroy all our dialogs.
- (ggv_postscript_view_destroy): destroy all dialogs via above func.
- * ggv/src/recent-files/*: synced with latest libegg, since James reverted
- the changes he made in November. here's what I get for tracking
- changes once...
- * ggv/src/ggv-window.c (verb_FileOpen):
- * ggv/src/ggv-recent.c (ggv_recent_init): use new recent-files API.
-
-2004-02-09 Breda McColgan <breda.mccolgan@sun.com>
-
- * gpdf/help/C/gpdf.xml: Implemented technical review comments
- * gpdf/help/C/gpdf-C.omf: Updated date
-
-2004-02-09 Martin Kretzschmar <m_kretzschmar@gmx.net>
-
- * gpdf/xpdf/gpdf-thumbnails-view.cc
- (gpdf_thumbnails_view_populate_idle): #if'ed out one code path
- that I missed on 2004-01-13 when commenting out thumbnail
- generation menus. Fixes a crasher.
-
-2004-02-08 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
-
- * gpdf/xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load):
- Raise Bonobo exception when file opening fails in order
- to enable shell to catch it and discard window opening.
- Fix for Bug #133503
-
-2004-02-08 Martin Kretzschmar <m_kretzschmar@gmx.net>
-
- * gpdf/xpdf/gpdf-control.cc (gpdf_control_setup_view_widgets):
- "Thumbnails"->"Pages" because many PDFs don't have thumbnails.
-
- * gpdf/shell/gpdf.c (gpdf_window_init_fullscreen_popup): explicitly add
- F11 keybinding.
-
- * gpdf/shell/gpdf-window-ui.xml (keybindings): ViewFullScreen is not a
- verb, so F11 doesn't work when in fullscreen mode. Remove it.
-
- * gpdf/xpdf/gpdf-control.cc (gpdf_print_job_prepare): use duplex
- setting supplied by gnome-print. Part of Bug #131979.
-
-2004-02-07 Breda McColgan <breda.mccolgan@sun.com>
-
- * gpdf/help/C/gpdf.xml: Updated for GNOME 2.6, technical review draft
- * gpdf/help/C/gpdf-C.omf: Updated for GNOME 2.6
- * gpdf/help/C/l10n.txt: Added for GNOME 2.6
- * gpdf/help/C/figures/gpdf_window.png: Added for GNOME 2.6
-
-2004-02-07 Martin Kretzschmar <m_kretzschmar@gmx.net>
-
- * gpdf/shell/gpdf.c (set_window_icon_default): simplify, based on patch
- by Frederic Crozat <fcrozat@mandrakesoft.com> and inline into main.
-
-2004-02-06 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
-
- * gpdf/shell/gpdf.c (gpdf_window_init_fullscreen_popup):
- Added accel group for exit full screen view and
- ESC accel key.
- Fix for Bug #133595.
-
-2004-02-05 Tomasz Kłoczko <kloczek@pld.org.pl>
-
- * ggv/acinclude.m4: removed
- This file contain private copy of few aclocal macros provided by
- gettext. It breaks regenerata aclocal.m4 under automake diffrent
- version than used by mantainer. All neccessary macros are copied
- to aclocal.m4 during run autogen.sh.
- * ggv/configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
- AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are substed
- by default.
-
-2004-02-05 Martin Kretzschmar <m_kretzschmar@gmx.net>
-
- * gpdf/xpdf/gpdf-control.cc (gpdf_control_print): no more need to
- process GNOME_PRINT_DIALOG_RESPONSE_PREVIEW.
- (gpdf_control_no_preview_alert): no longer necessary.
-
-2004-02-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
-
- * gpdf/xpdf/gpdf-control.cc (gpdf_control_print_dialog_new): disable
- print preview the right way, instead of showing some alert dialog.
- (Bug #133326)
-
-2004-02-05 Alexander Winston <alexander.winston@comcast.net>
-
- * gpdf/acinclude.m4: correctly quote macro definitions to silence
- aclocal-1.8 warnings and prevent future automake problems. (Bug
- #133226).
-
-2004-02-04 Jaka Mocnik <jaka@gnu.org>
-
- * ggv/bonobo/ggv-postscript-view.c (verb_FileSaveMarked): if Save is
- clicked in the file chooser and the url is empty, rerun the dialog.
- fixes #131656.
- * ggv/bonobo/ggv-control.c, bonobo/ggv-postscript-view.c: added
- sanity check (uicontainer != CORBA_OBJECT_NIL) before set prop
- calls that were not guarded yet.
- * ggv/src/ggv-ui.xml: removed ellipsis from "About" menu item label.
- * ggv/acinclude.m4: applied a patch from Alexander Winston that fixes
- the underquoted m4 definitions. fixes #133179.
- * ggv/configure.in: require intltool >= 0.30; version 2.5.3;
- tagged as GGV_2_5_3.
-
-2004-01-29 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
-
- * gpdf/configure.in: Fixed missing coma in AC_HELP_STRING.
-
-2004-01-27 Martin Kretzschmar <m_kretzschmar@gmx.net>
-
- * gpdf/xpdf/gpdf-font-face.c: adapt to changes in libgnomeprint CVS.
-
-2004-01-26 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
-
- * gpdf/xpdf/gpdf-thumbnails-view.cc: Include GOutputDev.h.
- Added an embed boolean flag for thumbnails struct.
- Added a all_generated boolean flag.
- Removed CAN_GENERATE_THUMBNAILS define.
- (gpdf_thumbnails_view_set_selected_page): Check if is not
- current page before darkening thumbnail.
- Added tools menu item update.
- (gpdf_thumbnails_view_canvas_outline_event_cb):
- Changed cursor when dragging in thumb.
- (gpdf_thumbnails_view_get_page_pixbuf): New func to gen
- pixbuf from a page with GOutputDev.
- (gpdf_thumbnails_view_create_thumbnail_pixbuf): Renamed
- gpdf_thumbnails_view_create_thumbnail_image that create
- white filled thumbs in ..._create_thumbnail_pixbuf.
- (gpdf_thumbnails_view_create_thumbnail_image): New func
- that get page pixbuf and scale it to make thumb.
- (gpdf_thumbnails_view_render_thumbnail_image): Added
- embed boolean flag and update all_generated flag.
- (gpdf_thumbnails_view_populate_idle): Moved PDF doc related
- local vars from func context to loop context.
- Changed gpdf_thumbnails_view_create_thumbnail_image in
- gpdf_thumbnails_view_create_thumbnail_pixbuf.
- Removed tools menu item update if no thumbs availables.
- Scroll to 0,0 to show first page thumb.
- (gpdf_thumbnails_view_popup_menu_item_generate_cb):
- Added implem for current page thumb generation.
- (gpdf_thumbnails_view_popup_menu_item_generate_all_cb):
- Added implem for all pages thumbs generation.
- (gpdf_thumbnails_view_get_tools_menu): If all thumb are
- generated the menu is removed.
- Now set menu items sensitivity to TRUE.
-
- * gpdf/xpdf/gpdf-bookmarks-view.cc
- (gpdf_bookmarks_view_update_popup_actions): Now only updates
- menu items sensitivity when some bookmarks are availables.
- (gpdf_bookmarks_view_bookmark_select_func): Test item to be
- sure not to select NULL bookmark (can occurs if some problem
- occurs while parsing PDF: should be fixed).
- (gpdf_bookmarks_view_get_tools_menu): Changed menu items init
- stmts layout to group the expand_all/collapse_all.
-
- * gpdf/xpdf/Makefile.am (libgpdf_a_SOURCES): Added again
- GOutputDev.cc/h and TextOutputDev.cc/h.
-
- * gpdf/xpdf/GOutputDev.h: Added needFontUpdate boolean flag.
-
- * gpdf/xpdf/GOutputDev.cc (GOutputDev::GOutputDev): Added
- needFontUpdate init.
- (GOutputDev::startDoc):
- Removed TextPage::clear call.
- (GOutputDev::endPage):
- Added boolean flag as param for coalesce.
- (GOutputDev::restoreState):
- Added needFontUpdate flag set to true.
- (GOutputDev::updateAll):
- Set flag needFontUpdate instead of calling updateFont().
- (GOutputDev::updateFont):
- reset needFontUpdate flag and call TextPage::fontUpdate().
- (GOutputDev::beginString):
- (GOutputDev::endString):
- Changed calls to begin/end string in begin/end word.
- (GOutputDev::drawChar):
- Added updateFont() call if needed. Added code param to
- TextPage::addChar.
- (GOutputDev::beginType3Char):
- Added updateFont() call if needed.
-
- * gpdf/xpdf/gpdf-thumbnails-view.cc
- (gpdf_thumbnails_view_canvas_outline_event_cb):
- Fixed a bug in thumb drag. A zoom mult coef wrongly added.
- It has been removed, as some useless commented out traces.
-
-2004-01-26 Andraz Tori <Andraz.tori1@guest.arnes.si>
-
- * gpdf/configure.in: Added "sl" (Slovenian) to ALL_LINGUAS.
-
-2004-01-25 Martin Kretzschmar <m_kretzschmar@gmx.net>
-
- * gpdf/Makefile.am: update for intltool 0.29, disable-schemas-install
- when distchecking.
-
-2004-01-23 Martin Kretzschmar <m_kretzschmar@gmx.net>
-
- * gpdf/xpdf/gpdf-control-ui.xml, shell/gpdf-window-ui.xml: add some
- explicit keybindings, menu keybindings are disabled when the
- menubar is hidden.
-
-2004-01-22 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
-
- * gpdf/xpdf/gpdf-sidebar.c (set_tools_button_sensitivity):
- New func to set tools menu button sensitivity.
- (gpdf_sidebar_set_page_tools_menu):
- (select_page): Now call set_tools_button_sensitivity.
-
- * gpdf/xpdf/gpdf-thumbnails-view.cc
- (gpdf_thumbnails_view_populate_idle): Added
- missing item var.
-
- * gpdf/xpdf/gpdf-control.cc: Removed ifdef USE_ANNOTS
- around annots-view.h file. Ifdefs are now in the
- header that also defines sidebar page id.
- Removed Pages Ids from here to move them in
- their respective view header.
- (gpdf_control_private_reset_cursor):
- (gpdf_control_private_set_wait_cursor):
- (gpdf_control_private_set_cursor): Ensure window
- is a gdk_window.
- (gpdf_control_update_bookmarks_view_tools_menu)
- (gpdf_control_bookmarks_view_ready)
- (gpdf_control_update_thumbnails_view_tools_menu)
- (gpdf_control_thumbnails_view_ready)
- (gpdf_control_update_annots_view_tools_menu)
- (gpdf_control_annots_view_ready):
- Added funcs to deal with tools menu updates and
- Ready signals for views. They should be grouped
- in two funcs? To be fixed?...
- (gpdf_control_enable_ui): Added tools menu update
- in control enable UI func.
- (gpdf_control_get_bookmarks_view): Added connection
- to Ready signal instead of settings tools menu.
- This is to wait asynchronous bookmarks loads to be
- sure we have a tools menu to activate.
- (gpdf_control_get_thumbnails_view): Same for thumbnails
- view.
- (gpdf_control_get_annots_view): and for annots view.
- (gpdf_control_pdf_doc_changed): Moved control_enable_ui
- out of the if statement.
-
- * gpdf/xpdf/gpdf-annots-view.h
- (GPDF_ANNOTS_VIEW_PAGE_ID):
- Sidebar Page id now defined in here.
- Added class func for Ready signal.
-
- * gpdf/xpdf/gpdf-annots-view.cc: Removed unused private
- field annots. Replaced with the total number of annotations
- available inthe document.
- (gpdf_annots_view_class_init):
- Added Ready signal telling control that annotations
- asynchronous load finished.
- (gpdf_annots_view_emit_ready): Ready signal emission func
- (gpdf_annots_view_have_annotations): Added a func using
- the total num of annots to tell if some are available.
- (gpdf_annots_view_update_annots_list): Here I count
- total number of annotations.
- (gpdf_annots_view_populate_idle): Moved some local
- vars from func context to the loop context where they
- are used.
- (gpdf_annots_view_populate_idle): Removed a leak, annots
- list was not deleted.
- (gpdf_annots_view_get_tools_menu): Use new have_annotations
- func to disable tools menu when no annotations are
- availables.
-
- * gpdf/xpdf/gpdf-thumbnails-view.h
- (GPDF_THUMBNAILS_VIEW_PAGE_ID):
- Sidebar Page id now defined in here.
- Added class func for Ready signal.
-
- * gpdf/xpdf/gpdf-thumbnails-view.cc:
- (gpdf_thumbnails_view_class_init):
- Added Ready signal to tell control that thumbnails
- asynchronous load finished.
- (gpdf_thumbnails_view_emit_ready): Ready signal
- emission func.
- (gpdf_thumbnails_view_populate_idle): Only
- change tools menu item widget sensitivity if
- tools menu was created (widget actually exist).
- Changed brace position.
- (gpdf_thumbnails_view_populate_idle): Added
- ready signal emission.
-
- * gpdf/xpdf/gpdf-bookmarks-view.h (GPDF_BOOKMARKS_VIEW_PAGE_ID):
- Sidebar Page id now defined in here.
- Added class func for Ready signal.
-
- * gpdf/xpdf/gpdf-bookmarks-view.cc:
- (gpdf_bookmarks_view_class_init):
- Added the READY signal that tell control that
- asynchronous bookmarks load finished.
- (gpdf_bookmarks_view_emit_ready): Ready signal
- emission func.
- (gpdf_bookmarks_view_have_outline_items):
- Added a func telling if some bookmarks are availables.
- (gpdf_bookmarks_view_update_popup_actions):
- If no bookmarks availables, no need to browse the
- tree.
- Set menu item widget sensitivity only if menu was
- created.
- (gpdf_bookmarks_view_populate_idle):
- (gpdf_bookmarks_view_set_pdf_doc):
- Now populate bookmarks tree in idle func.
- (gpdf_bookmarks_view_get_tools_menu): Used
- gpdf_bookmarks_view_have_outline_items to
- disable tools menu creation when no bookmarks
- availables.
-
-2004-01-20 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
-
- * gpdf/xpdf/tests/test-pdf-loading.cc (TEST_NEW):
- Removed unused pdf_doc var.
-
- * gpdf/shell/tests/test-uri-input.c: Added decl for
- setup and reat_down to avoid gcc warnings.
-
- * gpdf/xpdf/gpdf-stock-icons.c (GPDF_ADD_STOCK_ICON):
- Add init value for icon_set vars to avoid warning.
-
- * gpdf/xpdf/gpdf-persist-stream.cc
- (gpdf_persist_stream_create_password_dialog): Added
- g_signal_connect for help button.
-
- * gpdf/xpdf/gpdf-control.cc: Removed unused
- gpdf_control_get_title method. Also removed some
- unused vars.
-
- * gpdf/xpdf/gpdf-thumbnails-view.cc:
- * gpdf/xpdf/gpdf-bookmarks-view.cc:
- * gpdf/xpdf/gpdf-annots-view.cc: Removed undefined
- class_finalize method decl, view_init unused method,
- and some unused vars.
-
- * gpdf/xpdf/Thumb.cc (ThumbColorMap::ThumbColorMap): Changed
- field init order to match decl and to avoid warning.
- Removed several unused vars.
- (Thumb::Thumb): Removed unused vars.
- (Thumb::getPixbufData): Removed unused vars.
-
- * gpdf/xpdf/TextOutputDev.cc (TextPage::coalesce): Init a var
- to avoid warning.
-
- * gpdf/xpdf/GPOutputDev.cc (GPOFontMap::~GPOFontMap): Changed
- param named to avoid shadowing of the xref class field and
- the associated warning.
-
- * gpdf/xpdf/Makefile.am (INCLUDES):
- * gpdf/shell/Makefile.am (INCLUDES):
- * gpdf/lib/ggv-sidebar/Makefile.am (INCLUDES):
- * gpdf/configure.in: Changed the way WARN_CFLAFS & WARN_CXXFLAGS
- were passed to compiler. Now use CFLAGS/CXXFLAGS in configure
- instead of INCLUDES in some Makefiles.
-
-2004-01-19 Martin Kretzschmar <m_kretzschmar@gmx.net>
-
- * gpdf/xpdf/gpdf-control.cc (MENU_FIT_WIDTH_PATH): one more "Zoom Items
- Placeholder" occurence. (see 2004-01-13)
-
- * gpdf/gpdf.desktop.in (_Name, _Comment): short and sweet,
- by Ross Burton and Alexander Winston (Bug #131906).
-
-2004-01-18 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
-
- * gpdf/xpdf/gpdf-bookmarks-view.cc (gpdf_bookmarks_view_construct):
- Complement for Bug #131798: Removed shadow from scrolled
- window to get the same look as nautilus.
-
- * gpdf/xpdf/gpdf-annots-view.cc (gpdf_annots_view_construct):
- Complement for Bug #131798: Removed shadow from scrolled
- window to get the same look as nautilus.
-
- * gpdf/xpdf/gpdf-sidebar.c (gpdf_sidebar_instance_init):
- Changed sidebar title frame shadow type. It was ETCHED_IN
- and it make it look slightly different than the Nautilus
- sidebar one. With GTK_SHADOW_NONE both looks the same.
- This fix bug #131798
- (gpdf_sidebar_instance_init): Also changed arrow box shadows
- as the ones in nautilus.
-
- * gpdf/xpdf/gpdf-control.cc (gpdf_control_save_sidebar_state):
- Changed the source for the CONF_WINDOWS_SHOW_SIDEBAR
- value. It was GTK_WIDGET_MAPPED, but it do not run anymore.
- Now use GTK_WIDGET_VISIBLE.
- Fix for Bug #131776.
-
-2004-01-17 Remi Cohen-Scali <rcoscali@cvs.gnome.org>
-
- * gpdf/xpdf/gpdf-control-ui.xml: Changed 'Side Pane' in
- 'Sidebar' to be consistent with other designation for
- this widget.
- This fix Bug #131733.
-
-2004-01-17 Martin Kretzschmar <m_kretzschmar@gmx.net>
-
- * gpdf/xpdf/gpdf-control.cc (gpdf_control_private_error_dialog)
- (gpdf_control_private_warn_dialog)
- (gpdf_control_private_info_dialog): Ok -> GTK_STOCK_OK, suggested
- by Christian Neumair.
- (gpdf_control_private_question_dialog): unused and might encourage
- use of Yes/No dialogs: remove
- (gpdf_control_private_display_help): use "%s", not <%s>.
-
- * gpdf/xpdf/gpdf-control-private.h (gpdf_control_private_question_dialog):
- remove prototype.
-
- * gpdf/gpdf.schemas.in: removed the not really long "long" descriptions
- to reduce string count. Suggested by Christian Neumair.