| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Lots of safety checks on node functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-26 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/ephy-node.c: (callback), (ephy_node_dispose):
* lib/ephy-node.h:
s/DESTROYED/DESTROY which is more useulf
* lib/widgets/ephy-tree-model-node.c:
(ephy_tree_model_node_set_property), (root_destroy_cb):
* src/bookmarks/ephy-bookmarks-editor.c:
(ephy_bookmarks_editor_update_menu):
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults),
(ephy_bookmarks_set_toolbars_model), (ephy_bookmarks_set_property),
(ephy_bookmarks_get_property), (ephy_bookmarks_class_init),
(bookmarks_removed_cb), (topics_removed_cb), (ephy_bookmarks_init),
(ephy_bookmarks_finalize):
* src/ephy-shell.c: (ephy_shell_get_toolbars_model):
* src/ephy-toolbars-model.c: (impl_add_item),
(ephy_toolbars_model_set_bookmarks),
(ephy_toolbars_model_set_property),
(ephy_toolbars_model_get_property),
(ephy_toolbars_model_class_init), (ephy_toolbars_model_init),
(ephy_toolbars_model_finalize), (ephy_toolbars_model_new):
* src/ephy-toolbars-model.h:
* src/toolbar.c: (topic_destroy_cb), (bookmark_destroy_cb),
(toolbar_ensure_action), (toolbar_init):
Better way to remove unrefed bookmarks from the toolbar.
Ref bookmarks in toolbars model and weak reaf toolbars model
in bookmarks. So setting defaults really works.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-25 Marco Pesenti Gritti <marco@it.gnome.org>
* configure.in:
* embed/ephy-favicon-cache.c: (ephy_favicon_cache_save):
* embed/ephy-history.c: (ephy_history_save), (hosts_removed_cb),
(pages_removed_cb), (unref_empty_host),
(page_removed_from_host_cb), (connect_page_removed_from_host),
(ephy_history_init), (ephy_history_add_host):
* lib/ephy-file-helpers.c: (ephy_file_save_xml):
* lib/ephy-file-helpers.h:
* lib/ephy-node.c: (callback), (ephy_node_emit_signal),
(real_remove_child), (ephy_node_dispose):
* lib/ephy-node.h:
* lib/ephy-state.c: (ephy_states_save):
* lib/widgets/ephy-tree-model-node.c: (root_child_removed_cb):
* src/bookmarks/ephy-bookmarks-export.c:
(ephy_bookmarks_export_rdf):
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_save),
(bookmarks_removed_cb), (topics_removed_cb):
Try to fix node removal problems. I cant repro crashes ...
but they are quite hard to reproduce.
Use a save_xml helper that is low disk safe.
* src/ephy-automation.c: (impl_ephy_automation_loadurl):
Use OPEN_PAGE when an url is passed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-25 Marco Pesenti Gritti <marco@it.gnome.org>
* embed/ephy-favicon-cache.c: (ephy_favicon_cache_load),
(ephy_favicon_cache_save), (ephy_favicon_cache_init),
(ephy_favicon_cache_finalize):
* embed/ephy-history.c: (ephy_history_load), (ephy_history_save),
(ephy_history_init):
* lib/ephy-node-db.c: (ephy_node_db_get_property),
(ephy_node_db_set_property), (ephy_node_db_class_init),
(ephy_node_db_init), (ephy_node_db_finalize), (ephy_node_db_new),
(_ephy_node_db_remove_id):
* lib/ephy-node-db.h:
* lib/ephy-node.c: (ephy_node_save_to_xml):
* lib/ephy-node.h:
* lib/ephy-state.c: (ephy_states_load), (ephy_states_save),
(ensure_states):
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_load),
(ephy_bookmarks_save), (ephy_bookmarks_init):
Revert latest node changes. Parents nodes need to be saved
first and it's easier to do that in a not generic way :/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-23 Marco Pesenti Gritti <marco@it.gnome.org>
* embed/ephy-favicon-cache.c: (ephy_favicon_cache_load),
(ephy_favicon_cache_save), (ephy_favicon_cache_init),
(ephy_favicon_cache_finalize):
* embed/ephy-history.c: (ephy_history_load), (ephy_history_save),
(ephy_history_init):
* lib/ephy-node-db.c: (ephy_node_db_set_version),
(ephy_node_db_get_property), (ephy_node_db_set_property),
(ephy_node_db_class_init), (ephy_node_db_init),
(ephy_node_db_finalize), (ephy_node_db_new),
(_ephy_node_db_remove_id), (ephy_node_db_load_from_xml),
(ephy_node_db_save_to_xml):
* lib/ephy-node-db.h:
* lib/ephy-node.c: (ephy_node_to_xml):
* lib/ephy-node.h:
* lib/ephy-state.c: (ephy_states_load), (ephy_states_save),
(ensure_states):
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_load),
(ephy_bookmarks_save), (ephy_bookmarks_init),
(ephy_bookmarks_finalize):
Implement generic way to save/load db and make it
low disk safe.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-20 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/ephy-dnd.c: (ephy_dnd_drag_data_get),
(ephy_dnd_node_list_extract_nodes):
* lib/ephy-node-db.c: (ephy_node_db_set_name), (node_from_id_real),
(ephy_node_db_get_name):
* lib/ephy-node-db.h:
* lib/ephy-node.c: (ephy_node_get_db):
* lib/ephy-node.h:
* lib/widgets/ephy-location-entry.c:
(ephy_location_entry_button_press_event_cb),
(ephy_location_entry_build):
* lib/widgets/ephy-tree-model-sort.c: (each_node_get_data_binder):
Fix nodes drag and drop.
Make double click select the whole address in toolbar entry.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lib/Makefile.am:
* lib/ephy-dnd.c: (ephy_dnd_node_list_extract_nodes):
* lib/ephy-node.c: (write_lock_to_read_lock),
(read_lock_to_write_lock), (lock_gdk), (unlock_gdk), (callback),
(ephy_node_emit_signal), (ephy_node_finalize), (real_remove_child),
(remove_child), (signal_object_weak_notify),
(unref_signal_objects), (ephy_node_dispose), (ephy_node_new),
(ephy_node_new_with_id), (ephy_node_get_id), (ephy_node_ref),
(ephy_node_unref), (ephy_node_freeze), (ephy_node_thaw),
(child_changed), (real_set_property), (ephy_node_set_property),
(ephy_node_get_property), (ephy_node_get_property_string),
(ephy_node_get_property_boolean), (ephy_node_get_property_long),
(ephy_node_get_property_int), (ephy_node_get_property_double),
(ephy_node_get_property_float), (ephy_node_get_property_node),
(save_parent), (ephy_node_save_to_xml), (real_add_child),
(ephy_node_new_from_xml), (ephy_node_add_child),
(ephy_node_remove_child), (ephy_node_has_child),
(ephy_node_real_get_child_index), (ephy_node_sort_children),
(ephy_node_reorder_children), (ephy_node_get_children),
(ephy_node_get_n_children), (ephy_node_get_nth_child),
(get_child_index_real), (ephy_node_get_child_index),
(ephy_node_get_next_child), (ephy_node_get_previous_child),
(ephy_node_signal_connect_object), (ephy_node_signal_disconnect):
* lib/ephy-node.h:
* lib/ephy-state.c: (ephy_states_load), (ensure_states),
(ephy_state_add_window), (ephy_state_add_paned), (ephy_state_save):
* lib/widgets/ephy-node-view.c: (ephy_node_view_class_init),
(ephy_node_view_selection_changed_cb),
(ephy_node_view_set_property), (ephy_node_view_get_property),
(ephy_node_view_remove):
* lib/widgets/ephy-tree-model-node.c:
(ephy_tree_model_node_class_init),
(ephy_tree_model_node_set_property),
(ephy_tree_model_node_get_property),
(ephy_tree_model_node_get_value), (ephy_tree_model_node_get_path),
(ephy_tree_model_node_iter_next),
(ephy_tree_model_node_node_from_iter):
* src/bookmarks/ephy-bookmark-action.c:
(ephy_bookmark_action_init), (ephy_bookmark_action_new):
* src/bookmarks/ephy-bookmark-properties.c:
(ephy_bookmark_properties_class_init),
(ephy_bookmark_properties_set_property):
* src/bookmarks/ephy-bookmarks-editor.c:
(cmd_show_in_bookmarks_bar), (cmd_open_bookmarks_in_tabs),
(cmd_open_bookmarks_in_browser), (cmd_delete),
(cmd_bookmark_properties), (cmd_copy),
(ephy_bookmarks_editor_node_activated_cb),
(ephy_bookmarks_editor_update_menu),
|
|
|
|
|
|
| |
Add ephy_node_sort_children, unused but kept for future reference
in jorn's s3kr3t project (and it's cool to be the state of the
art implementation of node stuff anyway).
|
|
|
|
| |
Implement ephy_node_reorder_children (from Rhythmbox).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-13 Marco Pesenti Gritti <marco@it.gnome.org>
* embed/mozilla/default-prefs.js:
Use google feel like for keywords
* lib/ephy-node.c: (ephy_node_new_with_id),
(ephy_node_system_init):
* lib/ephy-node.h:
Pass the reserved ids num
* lib/ephy-types.h:
* src/ephy-shell.c: (ephy_shell_init):
Increase reserved ids to 100.
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults),
(ephy_bookmarks_load), (ephy_bookmarks_init):
Default keywords and bookmarks (only google smb).
Keywords are probably quite sucky, well it's a start ;)
Adding more bookmarks could be a i18n pain.
We should be ready for 0.5.0 now.
Apologies to translators for the added string, but this
was really necessary for the bookmarks system to make sense :/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-09 Marco Pesenti Gritti <marco@it.gnome.org>
* TODO:
* embed/ephy-history.c: (ephy_history_init):
* embed/mozilla/FilePicker.cpp:
* lib/ephy-node.c: (ephy_node_new_with_id),
(ephy_node_system_init):
* lib/ephy-node.h:
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init):
Extend ephy node to allow some reversed ids.
Use it for base bookmarks/history elements, should
fix bookmarks lossage.
Fix filepicker initialization.
|
|
|