aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks-import.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the RDF bookmark importer (bug #129852).Vincent Untz2009-03-031-45/+77
| | | | | | | Correctly handle translations (for title, but also for localized URL). Correctly handle bookmark topics. svn path=/trunk/; revision=8840
* Remove $Id$ marker from source files.Xan Lopez2009-01-161-1/+0
| | | | svn path=/trunk/; revision=8695
* Fix bookmark import of ff3 filesDiego Escalante Urrelo2009-01-051-3/+4
| | | | | | | | ff3 now has some extra stuff in their .html files, so the importer is not always working, the regexp has been improved to fix this. Patch by Wouter Bolsterlee. Fixes bug #552997. svn path=/trunk/; revision=8668
* Avoid the parsing of non doc commentsDiego Escalante Urrelo2008-09-291-1/+1
| | | | svn path=/trunk/; revision=8560
* Rewrite the bookmark HTML importer, it now uses GRegex, this is bug #533986.Diego Escalante Urrelo2008-05-241-56/+74
| | | | | | Testing in trunk before committing to 2.22 branch. svn path=/trunk/; revision=8249
* Don't free file_info too soon or the pointer to file_type will be lost. ThisDiego Escalante Urrelo2008-05-201-1/+1
| | | | | | | fixes bookmark imports not working (note that HTML import is not working, only RDF). Patch by Sebastian Keller, closes: #523414. svn path=/trunk/; revision=8241
* Drop gnome-vfs dependency. Now Epiphany depends on glib >= 2.15.1.Cosimo Cecchi2008-01-141-5/+15
| | | | | | | Also, optional Zeroconf support depends on Avahi >= 0.6.22. Bug #507152. svn path=/trunk/; revision=7858
* Correct FSF address. Bug #409075, patch by John Millikin.RELEASE_2_18_0GNOME_2_18_BRANCHPOINTChristian Persch2007-03-121-1/+1
| | | | | | | | | | 2007-03-11 Christian Persch <chpe@gnome.org> * *: Correct FSF address. Bug #409075, patch by John Millikin. svn path=/trunk/; revision=6952
* Use UTF-8 copyright symbolChristian Persch2006-09-131-2/+2
|
* If we can't detect the mime type, fall back to checking the fileChristian Persch2006-03-031-17/+33
| | | | | | | | | | | | | 2006-03-02 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): If we can't detect the mime type, fall back to checking the file extension. Bug #331468. * src/ephy-main.c: (main): Don't pass NULL to realpath if PATH_MAX is defined. Bug #333051.
* lib/ephy-file-helpers.c lib/widgets/ephy-location-entry.cCrispin Flowerday2005-11-111-1/+1
| | | | | | | | | | | 2005-11-10 Crispin Flowerday <gnome@flowerday.cx> * lib/ephy-file-helpers.c * lib/widgets/ephy-location-entry.c * src/ephy-session.c * src/bookmarks/ephy-bookmarks-import.c: Remove some unused variables
* Adapt folder import to new menu code, patch by Peter Harvey.Christian Persch2005-10-191-56/+36
| | | | | | | | | 2005-10-18 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder), (ephy_bookmarks_import_mozilla): Adapt folder import to new menu code, patch by Peter Harvey.
* Check return value of fgets.Christian Persch2005-05-291-4/+6
| | | | | | | | | 2005-05-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (gul_general_read_line_from_file): Check return value of fgets.
* Make sure folder is != NULL. Fixes bug #163341.Christian Persch2005-02-271-3/+3
| | | | | | | | 2005-02-26 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder): Make sure folder is != NULL. Fixes bug #163341.
* Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargsChristian Persch2005-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-28 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_finalize): * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-encodings.c: (ephy_encodings_finalize), (ephy_encodings_init): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize), (favicon_download_completed_cb), (favicon_download_cancelled_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/ephy-history.c: (ephy_history_set_enabled), (ephy_history_save), (ephy_history_finalize), (ephy_history_host_visited), (ephy_history_set_page_title), (ephy_history_set_icon), (ephy_history_clear): * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * lib/ephy-dbus.c: (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_system_bus), (ephy_dbus_connect_to_session_bus), (path_message_func), (ephy_dbus_startup), (ephy_dbus_shutdown), (ephy_dbus_init), (ephy_dbus_finalize): * lib/ephy-debug.h: * lib/ephy-file-chooser.c: (ephy_file_chooser_finalize): * lib/ephy-file-helpers.c: (ephy_file_helpers_shutdown): * lib/ephy-langs.c: (load_iso_entries): * lib/ephy-module.c: (ephy_module_load), (ephy_module_unload), (ephy_module_new_object), (ephy_module_init), (ephy_module_finalize): * lib/ephy-node-db.c: (ephy_node_db_load_from_file), (ephy_node_db_write_to_xml_valist): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_init), (ephy_shlib_loader_finalize): * lib/widgets/ephy-location-entry.c: (entry_style_set_cb), (entry_realize_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_load), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_update_node): * lib/widgets/ephy-tree-model-sort.c: (each_property_get_data_binder): * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (connect_proxy), (ephy_bookmark_action_finalize): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_bookmark), (set_window_icon): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (provide_favicon): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf), (ephy_bookmarks_export_mozilla): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_rebuild), (do_update_cb), (bookmarks_tree_changed_cb), (topics_added_cb), (topics_removed_cb), (topic_child_changed_cb), (bookmark_added_cb), (bookmark_removed_cb), (activate_cb), (ephy_bookmarks_menu_finalize): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_toolbars_model), (ephy_bookmarks_save), (ephy_bookmarks_finalize), (ephy_bookmarks_find_keyword), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): * src/bookmarks/ephy-bookmarksbar-model.c: (save_changes_idle), (load_toolbars), (ephy_bookmarksbar_model_init), (ephy_bookmarksbar_model_dispose), (ephy_bookmarksbar_model_finalize): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_action_request), (ephy_bookmarksbar_finalize): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_set_title): * src/bookmarks/ephy-topic-action.c: (connect_proxy): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_set_bookmark): * src/ephy-encoding-menu.c: (add_action): * src/ephy-extensions-manager.c: (ephy_extensions_manager_load), (ephy_extensions_manager_unload), (ephy_extensions_manager_load_string), (get_loader_for_type), (load_extension), (unload_extension), (sync_loaded_extensions), (ephy_extensions_manager_load_dir), (ephy_extensions_manager_init), (ephy_extensions_manager_startup), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (impl_attach_tab), (impl_detach_tab): * src/ephy-history-window.c: (setup_filters), (provide_favicon): * src/ephy-link.c: (ephy_link_open): * src/ephy-location-action.c: (user_changed_cb), (sync_address), (ephy_location_action_set_address): * src/ephy-navigation-action.c: (menu_activated_cb), (connect_proxy): * src/ephy-notebook.c: (ephy_notebook_finalize): * src/ephy-session.c: (window_focus_in_event_cb), (impl_attach_window), (impl_detach_window), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_autoresume), (ephy_session_close), (ephy_session_save), (ephy_session_load), (ephy_session_add_window), (ephy_session_remove_window): * src/ephy-shell.c: (save_yourself_cb), (die_cb), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_get_toolbars_model), (toolwindow_show_cb), (toolwindow_hide_cb): * src/ephy-tab.c: (popups_manager_add), (popups_manager_add_window), (ephy_tab_get_popups_allowed), (popups_manager_show_all), (popups_manager_hide_all), (ephy_tab_finalize), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_new_window_cb), (ephy_tab_visibility_cb), (ephy_tab_destroy_brsr_cb), (ephy_tab_size_to_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_update): * src/ephy-toolbar.c: (sync_user_input_cb): * src/ephy-toolbars-model.c: (save_changes_idle), (ephy_toolbars_model_load): * src/ephy-window.c: (ephy_window_destroy), (show_embed_popup), (ephy_window_init), (ephy_window_finalize): * src/pdm-dialog.c: (pdm_dialog_cookies_construct), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_passwords_construct), (passwords_changed_cb): * src/prefs-dialog.c: (fonts_language_changed_cb): Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargs case.
* Show profile name for mozilla bookmarks, so we can distinguish betweenChristian Persch2005-01-201-13/+8
| | | | | | | | | | | | | | | 2005-01-19 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_find_file_recursive): * src/bookmarks/ephy-bookmarks-editor.c: (add_bookmarks_files), (add_bookmarks_source), (import_dialog_response_cb), (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.h: Show profile name for mozilla bookmarks, so we can distinguish between different profiles. Don't show firefox bookmarks as mozilla bookmarks. Fixes bug #143982.
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-command-manager.c: * embed/ephy-cookie-manager.c: * embed/ephy-download.c: * embed/ephy-embed-dialog.c: * embed/ephy-embed-event.c: * embed/ephy-embed-factory.c: * embed/ephy-embed-persist.c: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: * embed/ephy-embed.c: * embed/ephy-encodings.c: * embed/ephy-favicon-cache.c: * embed/ephy-history.c: * embed/ephy-password-manager.c: * embed/ephy-permission-manager.c: * embed/find-dialog.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/print-dialog.c: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-toolbars-model.c: * lib/ephy-debug.c: * lib/ephy-debug.h: * lib/ephy-dialog.c: * lib/ephy-dnd.c: * lib/ephy-file-chooser.c: * lib/ephy-file-helpers.c: * lib/ephy-glade.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-loader.c: * lib/ephy-module.c: * lib/ephy-node-db.c: * lib/ephy-node-filter.c: * lib/ephy-node.c: * lib/ephy-shlib-loader.c: * lib/ephy-state.c: * lib/ephy-stock-icons.c: * lib/ephy-string.c: * lib/ephy-zoom.c: * lib/widgets/ephy-location-entry.c: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-sort.c: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.c: * src/bookmarks/ephy-bookmark-action.c: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-export.c: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/bookmarks/ephy-topics-selector.c: * src/ephy-automation.c: * src/ephy-completion-model.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-extension.c: * src/ephy-extensions-manager.c: * src/ephy-favicon-action.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-location-action.c: * src/ephy-main.c: * src/ephy-navigation-action.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-shell.c: * src/ephy-statusbar.c: * src/ephy-tab.c: * src/ephy-tabs-menu.c: * src/ephy-toolbars-model.c: * src/ephy-window.c: * src/pdm-dialog.c: * src/popup-commands.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/toolbar.c: * src/window-commands.c: We always have config.h, no need to guard its inclusion.
* Fix import of bookmarks in root folder. Fixes bug #152443.Christian Persch2004-10-201-1/+1
| | | | | | | | 2004-10-19 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_xbel): Fix import of bookmarks in root folder. Fixes bug #152443.
* Make the hierarchy separator a #define.Christian Persch2004-08-231-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-23 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder), (folders_list_to_topic_name): * src/bookmarks/ephy-bookmarks.h: Make the hierarchy separator a #define. * src/bookmarks/ephy-bookmarks-menu.c: (remove_action), (ephy_bookmarks_menu_clean), (open_bookmark_cb), (add_action_for_bookmark), (ensure_bookmark_actions), (create_menu), (create_submenu), (ephy_bookmarks_menu_rebuild), (do_update_cb), (ephy_bookmarks_menu_maybe_update), (ephy_bookmarks_menu_set_window), (ephy_bookmarks_menu_set_property), (ephy_bookmarks_menu_get_property), (bookmarks_tree_changed_cb), (topics_added_cb), (topics_removed_cb), (topic_child_changed_cb), (bookmark_added_cb), (bookmark_removed_cb), (activate_cb), (ephy_bookmarks_menu_init), (ephy_bookmarks_menu_constructor), (ephy_bookmarks_menu_finalize), (ephy_bookmarks_menu_class_init), (ephy_bookmarks_menu_new): * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks.c: (bookmarks_removed_cb), (topics_removed_cb), (ephy_bookmarks_add): Speed up bookmarks menu with large bookmarks collections, partially fixes bug #141269. Fix topic hierarchy and updating on changes, fixes bug #147470, bug 147786, and bug #150246.
* Fix a mem leak.Christian Persch2004-08-091-8/+15
| | | | | | | | 2004-08-09 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): Fix a mem leak.
* Fix signedness difference warnings with gcc 3.5. Patch by Jon Oberheide.Christian Persch2004-07-311-34/+34
| | | | | | | | | | | | | | | | | | | | | 2004-07-31 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (drag_data_get_cb): * src/bookmarks/ephy-bookmarks-export.c: (write_topics_list), (ephy_bookmarks_export_rdf): * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_bookmark), (xbel_parse_folder), (xbel_parse_xbel), (parse_rdf_subjects), (parse_rdf_item), (ephy_bookmarks_import_rdf): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_save), (ephy_bookmarks_init): * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_get_node): * src/bookmarks/ephy-topic-action.c: (drag_data_get_cb): * src/ephy-session.c: (write_tab), (write_window_geometry), (write_tool_window), (write_ephy_window), (ephy_session_save), (parse_embed), (ephy_session_load): Fix signedness difference warnings with gcc 3.5. Patch by Jon Oberheide.
* Handle the bookmark in the root folder case correctly. Fix #145611Marco Pesenti Gritti2004-07-221-10/+14
| | | | | | | | | | 2004-07-22 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_mozilla): Handle the bookmark in the root folder case correctly. Fix #145611
* Preserve hierarchy in the xbel importer too. Use mime sniffing toMarco Pesenti Gritti2004-06-261-51/+37
| | | | | | | | | | 2004-06-26 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import), (xbel_parse_folder), (xbel_parse_xbel): Preserve hierarchy in the xbel importer too. Use mime sniffing to determine the file mime type.
* "/" in a topic title is now a submenu in the bookmarks menu.Marco Pesenti Gritti2004-06-231-1/+1
| | | | | | | | | | | | 2004-06-23 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (folders_list_to_topic_name): * src/bookmarks/ephy-bookmarks-menu.c: (create_menu), (ensure_folder), (create_submenu), (ephy_bookmarks_menu_rebuild): "/" in a topic title is now a submenu in the bookmarks menu.
* Keep the whole hierarchy of folders in the topic name, separated by |.Marco Pesenti Gritti2004-06-221-22/+39
| | | | | | | | | | 2004-06-22 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (folders_list_to_topic_name), (ephy_bookmarks_import_mozilla): Keep the whole hierarchy of folders in the topic name, separated by |. Mozilla importer only for now.
* Drop some unused code.Marco Pesenti Gritti2004-06-221-28/+11
| | | | | | | | | | 2004-06-22 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (bookmark_add), (xbel_parse_bookmark), (ephy_bookmarks_import_mozilla), (parse_rdf_item): Drop some unused code.
* Allow importing from Epiphany bookmarks format (RDF), fixes bug #144699.Christian Persch2004-06-211-0/+4
| | | | | | | | | 2004-06-21 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): Allow importing from Epiphany bookmarks format (RDF), fixes bug #144699.
* the xbel mime type is now application/x-xbelMarco Pesenti Gritti2004-03-221-1/+1
| | | | | | | | 2004-03-22 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): the xbel mime type is now application/x-xbel
* Add firefox option in bookmarks import dialogue.Christian Persch2004-03-181-1/+2
| | | | | | | | | | 2004-03-18 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.h: Add firefox option in bookmarks import dialogue.
* Really always check the return value of xmlTextReaderRead(), don't advanceChristian Persch2004-03-071-32/+51
| | | | | | | | | | | 2004-03-06 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_bookmark), (xbel_parse_folder), (xbel_parse_xbel), (ephy_bookmarks_import_xbel): Really always check the return value of xmlTextReaderRead(), don't advance if it's != 1. Fixes bug #136151.
* Fix XBEL importer not to tag all bookmarks with a "Bookmarks" category.Christian Persch2004-03-021-4/+92
| | | | | | | | | 2004-03-01 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder), (xbel_parse_xbel), (ephy_bookmarks_import_xbel): Fix XBEL importer not to tag all bookmarks with a "Bookmarks" category.
* If a folder has no name, don't tag its bookmarks with "Untitled" keyword,Christian Persch2004-02-291-3/+6
| | | | | | | | | | 2004-02-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder), (ephy_bookmarks_import_xbel): If a folder has no name, don't tag its bookmarks with "Untitled" keyword, just skip it.
* Add missing check for Firebird bookmarks, patch by André Dahlqvist.Xan Lopez2004-02-281-1/+2
| | | | Add missing check for Firebird bookmarks, patch by André Dahlqvist.
* Fix potential crash.Christian Persch2004-02-271-2/+7
| | | | | | | | | | | | 2004-02-27 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ns_parse_bookmark_item): Fix potential crash. (ephy_bookmarks_import_mozilla): Fix mem leak.
* Replace entities also in folder names, fixes bug #135440.Christian Persch2004-02-271-1/+1
| | | | | | | | 2004-02-27 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_mozilla): Replace entities also in folder names, fixes bug #135440.
* Don't crash when reading the RDF file fails.Christian Persch2004-01-291-1/+9
| | | | | | | | | 2004-01-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_rdf): Don't crash when reading the RDF file fails.
* Added disable_bookmark_editing key.Chris Lahey2004-01-101-4/+28
| | | | | | | | | | | | | | | | | | | | | | * data/epiphany-lockdown.schemas.in, lib/ephy-prefs.h: Added disable_bookmark_editing key. * lib/ephy-node-db.c, ephy-node-db.h, ephy-node.c: Added immutable property. * lib/egg/egg-editable-toolbar.c (drag_data_received_cb, toolbar_drag_motion_cb), src/ephy-toolbars-model.c (impl_get_item_id): Made these handle immutable models/node_dbs. * src/ephy-automation.c, src/ephy-session.c: Don't show the bookmark editor if disabled. * src/ephy-window.c: Disable a bunch of menus if bookmark editing is disabled. * src/bookmarks/ephy-bookmarks-import.c, src/bookmarks/ephy-bookmarks.c: Disable bookmark editing and importing is key is set. Uses immutable property.
* Better way of mapping hierarchy to topics when importing bookmarks fromChristian Persch2003-12-141-5/+35
| | | | | | | | | | 2003-12-13 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_mozilla): Better way of mapping hierarchy to topics when importing bookmarks from mozilla. Fixes bug #124145.
* Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.Christian Persch2003-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-embed-popup-control.c: * embed/ephy-encodings.c: * embed/ephy-history.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/ephy-file-helpers.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-node.c: * lib/ephy-zoom.h: * lib/widgets/ephy-cell-renderer-progress.c: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.c: * src/bookmarks/ephy-bookmark-action.c: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-notebook.c: * src/ephy-shell.c: * src/ephy-tab.c: * src/ephy-toolbars-model.c: * src/ephy-window.c: * src/pdm-dialog.c: * src/popup-commands.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/session.c: * src/toolbar.c: * src/window-commands.c: Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.
* Rewrote xbel bookmarks importer using xmlreader api. Should fix bugChristian Persch2003-09-031-81/+258
| | | | | | | | | | | | | | | 2003-09-03 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_single_bookmark), (xbel_parse_bookmark), (xbel_parse_folder), (xbel_parse_bookmarks), (ephy_bookmarks_import_xbel): Rewrote xbel bookmarks importer using xmlreader api. Should fix bug 120803. * configure.in: Require libxml2 >= 2.5.9
* Fix actionsMarco Pesenti Gritti2003-07-111-0/+5
| | | | | | | | | | | | | | 2003-07-11 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-autocompletion-window.c: (move_selection), (ephy_autocompletion_window_key_press_hack), (ephy_autocompletion_window_hide): Fix actions * src/bookmarks/ephy-bookmarks-import.c: (parse_rdf_item): Actually use smartlink prop when importing
* Some minor changes in rdf format (thanks to Edd Dumbill), and useMarco Pesenti Gritti2003-07-101-2/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-10 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-export.c: (add_topics_list), (ephy_bookmarks_export_rdf): Some minor changes in rdf format (thanks to Edd Dumbill), and use namespaces in the code. * src/bookmarks/ephy-bookmarks-import.c: (bookmark_add), (ephy_bookmarks_import_xbel), (parse_rdf_subjects), (parse_rdf_item), (ephy_bookmarks_import_rdf): * src/bookmarks/ephy-bookmarks-import.h: Add an rdf importer. * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_load), (ephy_bookmarks_save), (ephy_bookmarks_init), (ephy_bookmarks_finalize): Update db to 1.0, import bookmarks from the rdf first time. WARNING Backup your bookmarks.rdf file before using this and let me know if you get any problems. (esp if you had a < 0.7.3 epiphany version).
* *** empty log message ***Marco Pesenti Gritti2003-07-061-4/+0
|
* Remove use of acconfig.h.Marco Pesenti Gritti2003-07-041-25/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-04 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: Remove use of acconfig.h. * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozRegisterComponents.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * src/bookmarks/ephy-bookmarks-import.c: (bookmark_add), (xbel_parse_folder), (ephy_bookmarks_import_mozilla): * src/ephy-shell.c: (ephy_shell_init): Show an alert when mozilla cant start instead of crashing. Do not import bookmarks dups. Cleanup some mozilla code headers inclusion.
* Fallback using directories to detect format if the mime is not relevant.Marco Pesenti Gritti2003-06-281-1/+12
| | | | | | | | | | | | 2003-06-28 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.h: Fallback using directories to detect format if the mime is not relevant.
* Do not use libxml to parse mozilla bookmarks. Use the galeon parserMarco Pesenti Gritti2003-06-141-49/+221
| | | | | | | | | | | | 2003-06-13 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (gul_general_read_line_from_file), (gul_string_ascii_strcasestr), (ns_get_bookmark_item), (ns_parse_bookmark_item), (ephy_bookmarks_import_mozilla): Do not use libxml to parse mozilla bookmarks. Use the galeon parser instead, ugly but works.
* Get rid of starthere: and default to google, as discussed with Seth. Add aMarco Pesenti Gritti2003-06-091-22/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-09 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * data/ui/epiphany-bookmark-editor-ui.xml.in: * embed/ephy-embed-shell.c: (ephy_embed_shell_class_init): * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * lib/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (ephy_bookmark_action_sync_smart_url), (entry_activated_cb), (activate_cb), (connect_proxy), (ephy_bookmark_action_set_property), (ephy_bookmark_action_finalize), (ephy_bookmark_action_class_init), (sync_bookmark_properties), (ephy_bookmark_action_init): * src/bookmarks/ephy-bookmark-properties.c: (location_entry_changed_cb): * src/bookmarks/ephy-bookmarks-editor.c: (show_properties_dialog), (add_bookmarks_source_menu), (import_dialog_response_cb), (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import), (mozilla_parse_bookmarks), (xbel_parse_folder), (xbel_parse_bookmarks), (ephy_bookmarks_import_xbel): * src/bookmarks/ephy-bookmarks-import.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_autocompletion_source_foreach), (ephy_bookmarks_init_defaults), (update_topics_list), (update_has_smart_address), (ephy_bookmarks_add), (ephy_bookmarks_set_address): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_finalize), (ephy_new_bookmark_add), (ephy_new_bookmark_init), (ephy_new_bookmark_set_title): * src/bookmarks/ephy-new-bookmark.h: * src/ephy-shell.c: (ephy_shell_init): * src/popup-commands.c: (popup_cmd_bookmark_link): Get rid of starthere: and default to google, as discussed with Seth. Add a way to import bookmarks from the editor. (you still cant specificy a file, that's sort of low priority for me, but we have a plan on how to do it). Allow to edit smart bookmarks in the user interface. The address field is used and when there is a %s, it's considered a smart url. (like mozilla does it).
* Remove memory cache prefs/ui, now mozilla can deal with it automagically.Marco Pesenti Gritti2003-06-071-20/+3
| | | | | | | | | | | | | | | | | | | | 2003-06-07 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/ephy-embed-prefs.h: * embed/ephy-embed-single.c: (ephy_embed_single_clear_cache): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/bookmarks/ephy-bookmarks-import.c: (mozilla_parse_bookmarks), (xbel_parse_folder): * src/prefs-dialog.c: (prefs_clear_cache_button_clicked_cb): Remove memory cache prefs/ui, now mozilla can deal with it automagically. Rename Appeareance tab to be less generic. Do not convert spaces to _ on bookmarks importing.
* Fix memory leak while saving bookmarks, and performance problem duringOsma Ahvenlampi2003-05-061-0/+4
| | | | | | | | | | | | 2003-05-04 Osma Ahvenlampi <oa@iki.fi> * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-new-bookmark.c: Fix memory leak while saving bookmarks, and performance problem during import.
* Fix compilation with -WerrorXan Lopez2003-03-261-0/+2
| | | | Fix compilation with -Werror
* Fix to use the new apiMarco Pesenti Gritti2003-03-251-8/+28
| | | | | | | | | | 2003-03-25 Marco Pesenti Gritti <marco@it.gnome.org> * TODO: * src/bookmarks/ephy-bookmarks-import.c: (set_folder), (mozilla_parse_bookmarks), (xbel_parse_folder): Fix to use the new api
* Begin bookmarks editor redesign. Please still dont use it or you reallyMarco Pesenti Gritti2003-03-221-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-22 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/epiphany-bookmark-editor-ui.xml.in: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_get_type), (ephy_bookmark_properties_class_init), (ephy_bookmark_properties_finalize), (ephy_bookmark_properties_set_bookmark), (ephy_bookmark_properties_set_property), (ephy_bookmark_properties_get_property), (bookmark_properties_response_cb), (build_ui), (ephy_bookmark_properties_init), (ephy_bookmark_properties_new): * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.c: (popup_cmd_bookmark_properties), (ephy_bookmarks_editor_get_type), (keyword_node_selected_cb), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks-editor.h: * src/bookmarks/ephy-bookmarks-import.c: (mozilla_parse_bookmarks), (xbel_parse_single_bookmark), (xbel_parse_folder): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_add), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add), (build_editing_table), (ephy_new_bookmark_construct): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type), (ephy_topics_selector_class_init), (ephy_topics_selector_finalize), (ephy_topics_selector_set_bookmark), (ephy_topics_selector_set_property), (ephy_topics_selector_get_property), (fill_model), (topic_toggled), (ephy_topics_selector_apply), (ephy_topics_build_ui), (ephy_topics_selector_init), (ephy_topics_selector_new): * src/bookmarks/ephy-topics-selector.h: Begin bookmarks editor redesign. Please still dont use it or you really want backup your bookmarks ;)
* Make importing actually work properly. *cough*James Willcox2003-02-061-17/+2
| | | | | | | | | 2003-02-05 James Willcox <jwillcox@gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder), (xbel_parse_bookmarks): Make importing actually work properly. *cough*
* Added the ability to import galeon and konqueror bookmarks.James Willcox2003-02-061-0/+168
| | | | | | | | | | | | | | | | 2003-02-05 James Willcox <jwillcox@gnome.org> * data/starthere/section.xsl: * embed/mozilla/StartHereProtocolHandler.cpp: * lib/ephy-start-here.c: (galeon_bookmarks), (attach_content): * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_single_bookmark), (xbel_parse_folder), (xbel_parse_bookmarks), (ephy_bookmarks_import_mozilla), (ephy_bookmarks_import_xbel): * src/bookmarks/ephy-bookmarks-import.h: * src/ephy-shell.c: (ephy_shell_command_cb): Added the ability to import galeon and konqueror bookmarks.
* Use gtk icons for dnd. Basic implementation of bookmarks importing. StillMarco Pesenti Gritti2003-01-031-0/+93
2003-01-02 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-string.c: (ephy_str_replace_substring): * lib/ephy-string.h: * lib/widgets/eggtreemultidnd.c: (egg_tree_multi_drag_motion_event): * src/bookmarks/Makefile.am: Use gtk icons for dnd. Basic implementation of bookmarks importing. Still not used but functional.