aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix build with latest glib.Wouter Bolsterlee2008-03-051-1/+1
| | | | svn path=/trunk/; revision=8030
* Declare variable at the beginning of the function to fix build withJens Granseuer2008-02-271-1/+3
| | | | | | compilers that only understand C89. Bug #518890. svn path=/trunk/; revision=7991
* Accept empty password to unlock a token; and allow empty new password if the ↵Christian Persch2008-02-261-13/+5
| | | | | | requested password quality allows it. Bug #515096, patch by Thomas Wendt. svn path=/trunk/; revision=7982
* Add Undo/Redo commands to the location entry, both in the context menuCosimo Cecchi2008-02-152-12/+98
| | | | | | and linked to the main window commands. Bug #171179. svn path=/trunk/; revision=7945
* GConf option to disable messagebox about unsubmitted form data. (#516170)Xan Lopez2008-02-151-0/+1
| | | | | | | | | Left undocumented on schema because we are in string freeze, will document for 2.24. Patch by Jake Nelson svn path=/trunk/; revision=7944
* Popup the completion dropdown menu when we're focusing the location barCosimo Cecchi2008-02-021-0/+15
| | | | | | with the cursor at the end of entry and we press down. Bug #340572. svn path=/trunk/; revision=7908
* Better fix for bug #511759.Cosimo Cecchi2008-01-252-5/+3
| | | | svn path=/trunk/; revision=7888
* Use g_file_new_for_uri () instead of g_file_new_for_path () inCosimo Cecchi2008-01-251-2/+2
| | | | | | | ephy_file_browse_to (). Fix bug #511759. svn path=/trunk/; revision=7886
* Fix build for builddir != srcdirXan Lopez2008-01-191-0/+1
| | | | svn path=/trunk/; revision=7875
* Missing files from last commit.Cosimo Cecchi2008-01-142-0/+691
| | | | svn path=/trunk/; revision=7859
* Drop gnome-vfs dependency. Now Epiphany depends on glib >= 2.15.1.Cosimo Cecchi2008-01-148-630/+389
| | | | | | | Also, optional Zeroconf support depends on Avahi >= 0.6.22. Bug #507152. svn path=/trunk/; revision=7858
* Catch bookmarks and history in EphyLocationActionPrivate, it's smarter.Diego Escalante Urrelo2007-12-272-3/+5
| | | | | | | Fixes bug #505777. svn path=/trunk/; revision=7828
* Moves the completion_func from lib/widgets/ephy-location-entry.c toDiego Escalante Urrelo2007-12-262-101/+16
| | | | | | | | | | | src/ephy-location-action.c. Adds a function to set the completion_func in lib/widgets/ephy-location-entry.c|h. Part of bug #392979. svn path=/trunk/; revision=7821
* download-dialog hidden state is now saved to gconf. New downloads started while Diego Escalante Urrelo2007-12-241-0/+1
| | | | | | | | | | the dialog is hidden pop-up a notification (as in libnotify). We now require libnotify to build. Fixes bug #311209. svn path=/trunk/; revision=7802
* Add "node-middle-clicked" signal to EphyNodeView.Cosimo Cecchi2007-12-082-0/+38
| | | | | | Part of bug #385037. svn path=/trunk/; revision=7762
* Remove a FIXME in ephy_file_delete_directory. The function is alreadyDiego Escalante Urrelo2007-12-081-1/+0
| | | | | | | implemented. svn path=/trunk/; revision=7760
* Adds a EPHY_NODE_VIEW_ELLIPSIZED flag and make history window andCosimo Cecchi2007-11-192-1/+8
| | | | | | | bookmarks editor views use it to display address and title columns. Fix bug #132808. svn path=/trunk/; revision=7719
* Fix a bug in EphyNodeView which caused weird problems when setting columnsCosimo Cecchi2007-11-191-0/+5
| | | | | | | | as resizable; thanks to Kristian Rietveld for finding out the cause. Make history window columns resizable and bookmarks editor columns resizable and sortable. Part of bug #132808. svn path=/trunk/; revision=7718
* Hide Back/Forward buttons when disable_history lockdown key is enabled. MakeCyril Brulebois2007-11-121-1/+5
| | | | | | | the call to gtk_widget_show() in editable toolbar's create_item_from_action() conditional. Fixes bug #394795. svn path=/trunk/; revision=7663
* Adds a column in the history window showing the date and the time of theCosimo Cecchi2007-11-073-0/+323
| | | | | | | | visit, substitutes radiobuttons with checkboxes in the View menu of the window. Also, adds lib/ephy-time-helpers that contains a strftime() implementation. Fix bug #380156. svn path=/trunk/; revision=7641
* Update to latest EggToolbarEditor code.Felix Riemann2007-11-042-10/+62
| | | | | | | This supports changing the editor's model during runtime and tries to avoid some possibly leaking signal handlers. Fixes bug #493149. svn path=/trunk/; revision=7619
* Remove unneeded marshallers. Fixes bug #484060.Felix Riemann2007-10-071-19/+0
| | | | svn path=/trunk/; revision=7519
* Changes g_value_set_string to g_value_take_string to avoid a leak. Also add theDiego Escalante Urrelo2007-09-301-1/+4
| | | | | | | g_value_unset calls for text and visible vars on extracell_data_func. svn path=/trunk/; revision=7509
* Make the location entry completion cells smarter, now bookmarks take the fullDiego Escalante Urrelo2007-09-301-3/+35
| | | | | | | | | | | width of the popup. Also make the extracell (titles of history entries) align to the left so it's less messy and easier to browse a lot of entries with similar titles. Almost-fixes bug #419475. svn path=/trunk/; revision=7508
* Implement ephy_file_delete_directory in lib/ephy-file-helpers.c so privateDiego Escalante Urrelo2007-09-291-4/+28
| | | | | | | | | instances of Epiphany remove the profile dir on exit. Note that the profile dir won't be deleted if it's a custom path. Fixes bug #329680. svn path=/trunk/; revision=7506
* Add a preview for the FileChooser. The default size is 150x150. Fixes bugDiego Escalante Urrelo2007-09-281-0/+39
| | | | | | | | | | * lib/ephy-file-chooser.c: Add a preview for the FileChooser. The default size is 150x150. Fixes bug #440859. svn path=/trunk/; revision=7502
* Make Epiphany properly remember the last saved location in the FileChooser.Cosimo Cecchi2007-09-261-0/+26
| | | | | | Fix for bug #336251. svn path=/trunk/; revision=7494
* Add a somewhat tricky fix for url titles not visible on the completionDiego Escalante Urrelo2007-09-191-30/+37
| | | | | | | | | | | | | | | | | 2007-09-18 Diego Escalante Urrelo <diegoe@gnome.org> * lib/widgets/ephy-location-entry.c: Add a somewhat tricky fix for url titles not visible on the completion popup of the location entry when using a dark theme (like Darkilouche). We are using GTK_STATE_INSENSITIVE, rationale on the bug report. Fixes bug #446898. Also replaced some spaces for tabs. svn path=/trunk/; revision=7474
* Modifies the EphySearchEntry to inherit from EphyIconEntry instead ofCosimo Cecchi2007-09-102-8/+16
| | | | | | | | | | | | | | | | | | 2007-09-09 Cosimo Cecchi <cosimoc@svn.gnome.org> * lib/widgets/ephy-search-entry.c: (ephy_search_entry_get_type), (ephy_search_entry_timeout_cb), (ephy_search_entry_changed_cb), (ephy_search_entry_init), (ephy_search_entry_clear): * lib/widgets/ephy-search-entry.h: * src/bookmarks/ephy-bookmarks-editor.c: (search_entry_clear_cb), (build_search_box): Modifies the EphySearchEntry to inherit from EphyIconEntry instead of GtkEntry, to have icons on it. Adds a cleaner icon in the search entry of Bookmarks Editor. Fixes bug #463469. svn path=/trunk/; revision=7358
* Fixes bad state syncing when adding zoom controls to the toolbar. FixesCosimo Cecchi2007-09-091-0/+4
| | | | | | | | | | | | 2007-09-09 Cosimo Cecchi <cosimoc@svn.gnome.org> * lib/widgets/ephy-zoom-action.c: (connect_proxy): Fixes bad state syncing when adding zoom controls to the toolbar. Fixes bug #338005. Patch by Cyril Brulebois. svn path=/trunk/; revision=7355
* Add saved files to the GtkRecent list, gnome-panel is broken so don'tDiego Escalante Urrelo2007-08-272-0/+15
| | | | | | | | | | | | | | | | | 2007-08-26 Diego Escalante Urrelo <diegoe@gnome.org> * lib/ephy-file-helpers.c: * lib/ephy-file-helpers.h: * embed/mozilla/MozDownload.h: * embed/mozilla/MozDownload.cpp: Add saved files to the GtkRecent list, gnome-panel is broken so don't expect to see the effects of this working there, you can use it on the GtkFileChooser dialog however. Fixes Bug #148401. Original patch by Christian Persch, updated by Cosimo Cecchi. svn path=/trunk/; revision=7300
* Make cursor be at the end of the URL when selecting entries from theDiego Escalante Urrelo2007-08-191-0/+1
| | | | | | | | | | | | 2007-08-19 Diego Escalante Urrelo <diegoe@gnome.org> * lib/widgets/ephy-location-entry.c: Make cursor be at the end of the URL when selecting entries from the completion popup. Fixes bug #466344. svn path=/trunk/; revision=7283
* Fix multihead problems in toolbar editor.Carlos Garcia Campos2007-08-162-6/+15
| | | | | | | | | | 2007-08-16 Carlos Garcia Campos <carlosgc@gnome.org> * lib/egg/egg-toolbar-editor.c: (set_drag_cursor): * lib/egg/egg-editable-toolbar.c: (configure_item_cursor), (new_pixbuf_from_widget): Fix multihead problems in toolbar editor. svn path=/trunk/; revision=7279
* Remove an unused variable. One-liner by Cosimo Cecchi. Part of BugDiego Escalante Urrelo2007-07-311-1/+0
| | | | | | | | | | | | 2007-07-30 Diego Escalante Urrelo <diegoe@gnome.org> * lib/ephy-file-helpers.c: Remove an unused variable. One-liner by Cosimo Cecchi. Part of Bug #433173. svn path=/trunk/; revision=7226
* Fix some strict aliasing warnings. Patch by Cosimo Cecchi. Bug #433173.Diego Escalante Urrelo2007-07-301-6/+0
| | | | | | | | | | | | 2007-07-30 Diego Escalante Urrelo <diegoe@gnome.org> * lib/ephy-password-dialog.c: Fix some strict aliasing warnings. Patch by Cosimo Cecchi. Bug #433173. svn path=/trunk/; revision=7213
* Fix memory leak.Carlos Garcia Campos2007-07-301-0/+3
| | | | | | | | 2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org> * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_dispose): Fix memory leak. svn path=/trunk/; revision=7212
* Remove some icons from the context menu, and use better ones for some menuWouter Bolsterlee2007-07-212-4/+6
| | | | | | | | | | | | | | 2007-07-21 Wouter Bolsterlee <wbolster@svn.gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-window.c: Remove some icons from the context menu, and use better ones for some menu items. Reported by Andreas Nilsson. Patch by Cosimo Cecchi. Fixes bug #410223. svn path=/trunk/; revision=7191
* Use the right icon name. Bug #385872.Christian Persch2007-07-151-1/+1
| | | | | | | | | | | | | | | 2007-07-15 Christian Persch <chpe@gnome.org> * data/chrome/about.xhtml: * data/epiphany.desktop.in.in: * data/icons/16x16/apps/Makefile.am: * data/icons/22x22/apps/Makefile.am: * data/icons/32x32/apps/Makefile.am: * lib/ephy-stock-icons.h: Use the right icon name. Bug #385872. svn path=/trunk/; revision=7160
* Update glib req to 2.13.4 so we can use g_get_user_special_dir.Christian Persch2007-07-111-162/+9
| | | | | | | | | | | | | | | | 2007-07-11 Christian Persch <chpe@gnome.org> * configure.ac: Update glib req to 2.13.4 so we can use g_get_user_special_dir. * lib/ephy-file-helpers.c: (ephy_file_downloads_dir), (ephy_file_desktop_dir): Use g_get_user_special_dir to get the Desktop and Downloads directory location. svn path=/trunk/; revision=7146
* Use the new gtk functions to persist and load the print settings and pageChristian Persch2007-07-112-183/+0
| | | | | | | | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_set_page_setup), (ephy_embed_shell_get_page_setup), (ephy_embed_shell_set_print_settings), (ephy_embed_shell_get_print_settings): * lib/ephy-print-utils.c: * lib/ephy-print-utils.h: Use the new gtk functions to persist and load the print settings and page setup. Migrate our old settings, if present. svn path=/trunk/; revision=7143
* Remove gtk version check since we now depend on 2.11.Christian Persch2007-07-101-5/+0
| | | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * lib/widgets/ephy-location-entry.c: (cursor_on_match_cb), (ephy_location_entry_set_completion): Remove gtk version check since we now depend on 2.11. svn path=/trunk/; revision=7138
* Port to new tooltips API.Christian Persch2007-07-102-28/+3
| | | | | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_finalize), (ephy_location_entry_class_init), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (ephy_location_entry_set_lock_tooltip): Port to new tooltips API. svn path=/trunk/; revision=7137
* Port to new tooltips API.Christian Persch2007-07-102-63/+4
| | | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): Port to new tooltips API. svn path=/trunk/; revision=7136
* Install under hicolor and use "epiphany" named icon as application iconLuca Ferretti2007-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-10 Luca Ferretti <elle.uca@libero.it> * configure.ac: * data/icons/16x16/Makefile.am: * data/icons/16x16/apps/Makefile.am: * data/icons/16x16/apps/epiphnay.svg: * data/icons/16x16/apps/epiphnay.png: * data/icons/22x22/Makefile.am: * data/icons/22x22/apps/Makefile.am: * data/icons/22x22/apps/epiphnay.svg: * data/icons/22x22/apps/epiphnay.png: * data/icons/24x24/Makefile.am: * data/icons/24x24/apps/Makefile.am: * data/icons/24x24/apps/epiphnay.png: * data/icons/scalable/Makefile.am: * data/icons/scalable/apps/Makefile.am: * data/icons/scalable/apps/epiphnay.svg: * lib/ephy-stock-icons.h: Install under hicolor and use "epiphany" named icon as application icon * data/icons/Makefile.am: Update gtk icon cache for hicolor on install and uninstall svn path=/trunk/; revision=7129
* Kill EPHY_STOCK_DOWNLOAD and add STOCK_DOWNLOAD, using "emblem-download"Luca Ferretti2007-07-102-2/+2
| | | | | | | | | | | | | | | | | | | | 2007-07-10 Luca Ferretti <elle.uca@libero.it> * embed/downloader-view.c: (show_status_icon), (downloader_view_build_ui): * embed/mozilla/ContentHandler.cpp: * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-window.c: Kill EPHY_STOCK_DOWNLOAD and add STOCK_DOWNLOAD, using "emblem-download" named icon. Partially fix 450904. Note: you need latest svn version of gnome-icon-theme to have the download icon @ 16x16 pixels svn path=/trunk/; revision=7126
* Copy the lock icons from g-i-t 2.16 into epiphany, since the new ones inChristian Persch2007-07-102-9/+7
| | | | | | | | | | | | | | | | | | 2007-07-09 Christian Persch <chpe@gnome.org> * configure.ac: * data/icons/16x16/status/Makefile.am: * data/icons/24x24/status/Makefile.am: * data/icons/48x48/Makefile.am: * data/icons/48x48/status/Makefile.am: * data/icons/Makefile.am: * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: Copy the lock icons from g-i-t 2.16 into epiphany, since the new ones in g-i-t are broken (see bug #348350 comment 93 ff). svn path=/trunk/; revision=7119
* removed added Rename to update-toolbareditor-from-libegg.sh Also updatedJaap Haitsma2007-07-046-124/+46
| | | | | | | | | | | | | 2007-07-03 Jaap Haitsma <jaap@haitsma.org> * lib/egg/update-toolbareditor-from-libegg: removed * lib/egg/update-toolbareditor-from-libegg.sh: added Rename to update-toolbareditor-from-libegg.sh Also updated the script such it updates itself * lib/egg/egg*: Sync with latest libegg toolbareditor svn path=/trunk/; revision=7115
* script that syncs local toolbar editor copy with the one in libegg SVNJaap Haitsma2007-07-0111-44/+111
| | | | | | | | | | | | | 2007-07-01 Jaap Haitsma <jaap@haitsma.org> * lib/egg/update-toolbareditor-from-libegg: script that syncs local toolbar editor copy with the one in libegg SVN * lib/egg/egg*: sync with toolbar editor in libegg. Sync obtained by running update-toolbareditor-from-libegg * lib/egg/eggintl.h: removed not needed anymore by egg-toolbareditor * lib/egg/Makefile.am: remove eggintl.h svn path=/trunk/; revision=7106
* use "document-page-setup" named icon for STOCK_PRINT_SETUP (now availableLuca Ferretti2007-06-261-1/+5
| | | | | | | | | | | | 2007-06-26 Luca Ferretti <elle.uca@libero.it> * lib/ephy-stock-icons.h: use "document-page-setup" named icon for STOCK_PRINT_SETUP (now available on gnome-icon-theme trunk); add comments to explain icons origin (icon naming spec, custom, deprecated...) svn path=/trunk/; revision=7099
* Make named drag-icons toolbar-sized like the others. Part of bug #450590.Felix Riemann2007-06-251-1/+25
| | | | | | | | | | 2007-06-25 Felix Riemann <friemann@svn.gnome.org> * lib/egg/egg-toolbar-editor.c: (event_box_realize_cb): Make named drag-icons toolbar-sized like the others. Part of bug #450590. svn path=/trunk/; revision=7096
* Cleanups to my last commit. Fixes bug 450590 (Felix Riemann, Jaap Haitsma)Felix Riemann2007-06-251-28/+15
| | | | | | | | | | 2007-06-24 Felix Riemann <friemann@svn.gnome.org> * lib/egg/egg-toolbar-editor.c: (editor_create_item_from_name): Cleanups to my last commit. Fixes bug 450590 (Felix Riemann, Jaap Haitsma) svn path=/trunk/; revision=7094
* Add a workaround to take into account that Gtk{Radio,Toggle}Actions onlyFelix Riemann2007-06-241-2/+13
| | | | | | | | | | | | 2007-06-24 Felix Riemann <friemann@svn.gnome.org> * lib/egg/egg-toolbar-editor.c: (editor_create_item_from_name): Add a workaround to take into account that Gtk{Radio,Toggle}Actions only set either the stock-id or the icon-name property depending on the image type. This makes it possible to display the icon of such actions in the toolbar editor. (bug #450590) svn path=/trunk/; revision=7093
* Adds some prefixes to web_prefixes for ftp sites. Bug #422114.Diego Escalante Urrelo2007-06-011-1/+5
| | | | | | | | | | | 2007-05-31 Diego Escalante Urrelo <diegoe@gnome.org> * lib/widgets/ephy-location-entry.c: Adds some prefixes to web_prefixes for ftp sites. Bug #422114. svn path=/trunk/; revision=7062
* No need to make this data static.Christian Persch2007-05-271-1/+1
| | | | | | | | | | 2007-05-27 Christian Persch <chpe@gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): No need to make this data static. svn path=/trunk/; revision=7052
* Include config.h.Christian Persch2007-05-201-0/+2
| | | | | | | | | | 2007-05-19 Christian Persch <chpe@gnome.org> * lib/egg/eggtreemultidnd.c: Include config.h. svn path=/trunk/; revision=7034
* Support using named icons in the toolbareditor and attach them to theFelix Riemann2007-05-081-2/+16
| | | | | | | | | | | 2007-05-08 Felix Riemann <friemann@svn.gnome.org> * lib/egg/egg-toolbar-editor.c: (event_box_realize_cb), (editor_create_item_from_name): Support using named icons in the toolbareditor and attach them to the mouse pointer while dragging them to the toolbar. (bug #436684) svn path=/trunk/; revision=7024
* Copy the items on the completion list as the user moves through them. TheXan Lopez2007-05-022-2/+36
| | | | | | | | | | | | | | | | * lib/widgets/ephy-location-entry.c: * lib/widgets/ephy-location-entry.h: * src/ephy-completion-model.c: * src/ephy-completion-model.h: * src/ephy-location-action.c: Copy the items on the completion list as the user moves through them. The original input can be restored pressing Esc. The tentative completion can be made definitive pressing Left or Right. Fixes #409291, #102528 svn path=/trunk/; revision=7020
* Avoid opening nautilus if downloads are done to Desktop. This re-fixes bugDiego Escalante Urrelo2007-04-251-5/+19
| | | | | | | | | | | | | 2007-04-24 Diego Escalante Urrelo <diegoe@gnome.org> * src/popup-commands.c: * lib/ephy-file-helpers.c: Avoid opening nautilus if downloads are done to Desktop. This re-fixes bug #383698. svn path=/trunk/; revision=7014
* Use xdg-user-dirs to get a better default Downloads directory (Closes:Bastien Nocera2007-04-241-0/+150
| | | | | | | | | | | | 2007-04-23 Bastien Nocera <hadess@hadess.net> * lib/ephy-file-helpers.c: (xdg_user_dir_lookup), (ephy_file_downloads_dir_from_xdg), (ephy_file_downloads_dir): Use xdg-user-dirs to get a better default Downloads directory (Closes: #415342) svn path=/trunk/; revision=7011
* #if 0 some currently unused code. Bug #423907.Christian Persch2007-03-291-0/+2
| | | | | | | | | | 2007-03-29 Christian Persch <chpe@gnome.org> * lib/ephy-password-dialog.c: (ephy_password_dialog_constructor): #if 0 some currently unused code. Bug #423907. svn path=/trunk/; revision=6977
* Correct FSF address. Bug #409075, patch by John Millikin.RELEASE_2_18_0GNOME_2_18_BRANCHPOINTChristian Persch2007-03-1279-87/+87
| | | | | | | | | | 2007-03-11 Christian Persch <chpe@gnome.org> * *: Correct FSF address. Bug #409075, patch by John Millikin. svn path=/trunk/; revision=6952
* Regenerate the type builtins when the Makefile changes. Should fix bugChristian Persch2007-03-112-12/+12
| | | | | | | | | | | | | | | 2007-03-11 Christian Persch <chpe@gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Regenerate the type builtins when the Makefile changes. Should fix bug #416994; no code freeze break since it's only fixing a build problem. svn path=/trunk/; revision=6948
* Don't use C++-style comments in C files. No code changes, only commentsChristian Persch2007-03-061-14/+23
| | | | | | | | | | | | | | | | | | | | 2007-03-05 Christian Persch <chpe@svn.gnome.org> * lib/ephy-password-dialog.c: (update_capslock_warning), (ephy_password_dialog_constructor), (ephy_password_dialog_finalize), (ephy_password_dialog_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_updated): * src/ephy-cert-manager-dialog.c: (certs_manager_dialog_remove_button_clicked_cb), (certs_manager_dialog_finalize): * src/ephy-find-toolbar.c: (ephy_find_toolbar_init): * src/ephy-main.c: (unref_proxy_reply_cb): Don't use C++-style comments in C files. No code changes, only comments changed. Bug #414706, patch by John Millikin. svn path=/trunk/; revision=6940
* Make sure the type builtins are regenerated when the Makefile changes.Christian Persch2007-03-042-4/+4
| | | | | | | | | | | | | 2007-03-03 Christian Persch <chpe@svn.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Make sure the type builtins are regenerated when the Makefile changes. svn path=/trunk/; revision=6934
* Move ephy-adblock.* to embed. Change the API to pass EphyEmbed toBenjamin Berg2007-03-033-163/+0
| | | | | | | | | | | | | | | | | | | 2007-03-03 Benjamin Berg <benjamin@sipsolutions.net> * embed/Makefile.am: * embed/ephy-adblock-manager.c: (ephy_adblock_manager_should_load): * embed/ephy-adblock-manager.h: * embed/ephy-adblock.c: (ephy_adblock_should_load): * embed/ephy-adblock.h: * embed/mozilla/EphyContentPolicy.cpp: * lib/Makefile.am: * lib/ephy-adblock.c: * lib/ephy-adblock.h: Move ephy-adblock.* to embed. Change the API to pass EphyEmbed to should_load. This is needed to fix bug #348331. svn path=/trunk/; revision=6931
* Convert EphyNode to use GSlice.Christian Persch2007-01-291-16/+22
| | | | | | | | | | | | | | | | 2007-01-28 Christian Persch <chpe@svn.gnome.org> * lib/ephy-node.c: (destroy_signal_data), (node_parent_free), (ephy_node_destroy), (ephy_node_new_with_id), (real_set_property), (ephy_node_set_property), (ephy_node_set_property_string), (ephy_node_set_property_boolean), (ephy_node_set_property_long), (ephy_node_set_property_int), (ephy_node_set_property_double), (ephy_node_set_property_float), (real_add_child), (ephy_node_new_from_xml), (ephy_node_signal_connect_object): Convert EphyNode to use GSlice. svn path=/trunk/; revision=6859
* Make sure we don't write characters < 0x20 (except 0x9, 0xa, 0xd) to XML.Christian Persch2007-01-291-1/+33
| | | | | | | | | | | | | 2007-01-28 Christian Persch <chpe@svn.gnome.org> * lib/ephy-node.c: (safe_write_string), (ephy_node_write_to_xml): * src/bookmarks/ephy-bookmarks-export.c: (sanitise_string), (write_topics_list), (write_rdf): Make sure we don't write characters < 0x20 (except 0x9, 0xa, 0xd) to XML. Bug #392782. svn path=/trunk/; revision=6856
* configure.acLuca Ferretti2007-01-182-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 2007-01-18 Luca Ferretti <elle.uca@libero.it> * data/icons/*/places/bookmark-web.*: * data/icons/*/places/Makefile.am: * data/icons/*/Makefile.am: * configure.ac Add to build new "bookmark-web" custom named icon at 16, 22 and 24 pixels - under new places directory. * lib/ephy-stock-icons.c: * lib/ephy-stock-icons.h: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmark-action.c: Remove STOCK_BOOKMARK and add EPHY_STOCK_BOOKMARK using new "bookmark-web" custom named icon. svn path=/trunk/; revision=6830
* Opens images in a new browser window if EOG is not found. Bug #167595.Diego Escalante Urrelo2007-01-091-4/+2
| | | | | | | | | | | | | 2007-01-09 Diego Escalante Urrelo <diegoe@svn.gnome.org> * src/popup-commands.c: * lib/ephy-file-helpers.c: Opens images in a new browser window if EOG is not found. Bug #167595. Patch by Björn Lindqvist. svn path=/trunk/; revision=6811
* Workaround/semi-fix for bug #351814. The real cause of the problem is theDiego Escalante Urrelo2007-01-091-6/+11
| | | | | | | | | | | | | | | 2007-01-08 Diego Escalante Urrelo <diegoe@svn.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: * lib/widgets/ephy-node-view.c: Workaround/semi-fix for bug #351814. The real cause of the problem is the user_data that is never set on a GtkTreeIter, so the Ephy implementation of the tree makes it to have a stamp of 0 being that way an invalid iter. Patch by Diego Escalante Urrelo. svn path=/trunk/; revision=6796
* Sorry, forgot to svn add this file from the previous commit. :(.Diego Escalante Urrelo2007-01-031-0/+34
| | | | svn path=/trunk/; revision=6784
* Utilize GLib's new g_timeout_add_seconds to reduce context switches andDiego Escalante Urrelo2007-01-031-0/+1
| | | | | | | | | | | | | | | | | | | 2007-01-03 Diego Escalante Urrelo <diegoe@svn.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_init): * embed/ephy-history.c: (ephy_history_init): * lib/Makefile.am: * lib/ephy-glib-compat.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_save_delayed): * src/ephy-dbus.c: (session_filter_func), (system_filter_func): * src/ephy-extensions-manager.c: (reload_cb): * src/ephy-session.c: (confirm_shutdown_cb): Utilize GLib's new g_timeout_add_seconds to reduce context switches and improve CPU/power efficiency. Patch by Chris Wilson. svn path=/trunk/; revision=6783
* Remove x bit from source filesChristian Persch2006-12-317-0/+0
| | | | svn path=/trunk/; revision=6772
* .cvsignore files are obsoleteChristian Persch2006-12-303-28/+0
| | | | svn path=/trunk/; revision=6768
* Invert MoveToolItem and RemoveToolItem order, matchingh same feature forLuca Ferretti2006-12-203-6/+1
| | | | | | | | | | | | | | | | 2006-12-19 Luca Ferretti <elle.uca@libero.it> * data/ui/epiphany-ui.xml: Invert MoveToolItem and RemoveToolItem order, matchingh same feature for panel applets. * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_set_ui_manager): * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: Remove STOCK_DRAG_MODE and STOCK_VIEW_SOURCE.
* Show favicons in location entry drop-down. Bug #112748, patch by DiegoChristian Persch2006-12-182-3/+15
| | | | | | | | | | | | | | | | 2006-12-18 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_completion): * lib/widgets/ephy-location-entry.h: * src/ephy-completion-model.c: (ephy_completion_model_get_column_type), (init_favicon_col), (ephy_completion_model_get_value): * src/ephy-completion-model.h: * src/ephy-location-action.c: (connect_proxy): Show favicons in location entry drop-down. Bug #112748, patch by Diego Escalante Urrelo.
* List title and URL in location entry drop-down. Bug #169550, patch byChristian Persch2006-12-182-3/+25
| | | | | | | | | | | | | | | | 2006-12-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_completion): * lib/widgets/ephy-location-entry.h: * src/ephy-completion-model.c: (ephy_completion_model_get_column_type), (ephy_completion_model_get_value): * src/ephy-completion-model.h: * src/ephy-location-action.c: (connect_proxy): List title and URL in location entry drop-down. Bug #169550, patch by Diego Escalante Urrelo.
* Fix secure location bar colouring with dark themes. Bug #347343, patch byChristian Persch2006-12-181-2/+2
| | | | | | | | | | 2006-12-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_style_set): Fix secure location bar colouring with dark themes. Bug #347343, patch by Diego Escalante Urrelo.
* embed/ephy-encodings.c embed/ephy-favicon-cache.c embed/ephy-history.cBjörn Lindqvist2006-12-172-123/+70
| | | | | | | | | | | | | | | | | | 2006-12-17 Björn Lindqvist <bjourne@gmail.com> * embed/ephy-encodings.c * embed/ephy-favicon-cache.c * embed/ephy-history.c * embed/mozilla/GlobalHistory.cpp * lib/ephy-state.c * lib/widgets/ephy-node-view.c * src/ephy-tab.c * src/bookmarks/ephy-bookmarks.c Refactor lots of code by using the function ephy_node_set_property_XXX() instead of ephy_node_set_property(). Also, add emacs mode headers to touched files. Bug #381546.
* Use a define for the default window icon. Bug #385872.Christian Persch2006-12-159-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor): * lib/ephy-gui.c: (ephy_gui_check_location_writable): * lib/ephy-module.c: * lib/ephy-password-dialog.c: (ephy_password_dialog_constructor): * lib/ephy-spell-check.c: * lib/ephy-stock-icons.h: * lib/widgets/.cvsignore: * lib/widgets/ephy-spinner-tool-item.c: (ephy_spinner_tool_item_toolbar_reconfigured): * lib/widgets/testspinner.c: * plugins/desktop-file/plugin.cpp: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-history-window.c: (confirmation_dialog_construct): * src/ephy-main.c: (main): * src/ephy-session.c: (confirm_shutdown_cb), (session_command_autoresume): * src/ephy-shell.c: (ephy_shell_add_sidebar_cb): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor): * src/ephy-window.c: (construct_confirm_close_dialog): * src/pdm-dialog.c: (pdm_dialog_init): * src/window-commands.c: (window_cmd_help_about): Use a define for the default window icon. Bug #385872. * lib/ephy-module.c: The symbol can be NULL even though the symbol lookup succeeded.
* Remove the proxy icon from View->Page Source menu entry.Luca Ferretti2006-12-141-1/+1
| | | | | | | | | | | | | 2006-12-14 Luca Ferretti <elle.uca@libero.it> * src/ephy-window.c: Remove the proxy icon from View->Page Source menu entry. * lib/ephy-stock-icons.h: Keep STOCK_VIEW_SOURCE by now, but use "text-html" instead deprecated "stock_view-html-source".
* Add new "bookmark-view" icon from Andreas Nilsson, replacingLuca Ferretti2006-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-14 Luca Ferretti <elle.uca@libero.it> * data/icons/16x16/actions/Makefile.am: * data/icons/16x16/actions/bookmark-view.png: * data/icons/16x16/actions/bookmark-view.xcf: * data/icons/16x16/actions/download.xcf: * data/icons/16x16/actions/epiphany-download.xcf.bz2: * data/icons/16x16/status/Makefile.am: * data/icons/16x16/status/popup-hidden.xcf: * data/icons/16x16/status/popup-hidden.xcf.bz2: * data/icons/22x22/actions/Makefile.am: * data/icons/22x22/actions/bookmark-view.png: * data/icons/22x22/actions/bookmark-view.xcf: * data/icons/22x22/actions/download.xcf: * data/icons/22x22/actions/epiphany-download.xcf.bz2: * data/icons/22x22/status/Makefile.am: * data/icons/22x22/status/popup-hidden.xcf: * data/icons/22x22/status/popup-hidden.xcf.bz2: * data/icons/24x24/actions/Makefile.am: * data/icons/24x24/actions/README: * data/icons/24x24/actions/bookmark-view.png: * data/icons/24x24/actions/web-bookmarks.png: * data/icons/32x32/actions/Makefile.am: * data/icons/32x32/actions/download.svg: * data/icons/32x32/actions/epiphany-download.svg: * data/icons/scalable/status/Makefile.am: Add new "bookmark-view" icon from Andreas Nilsson, replacing "web-bookmarks". Move images source from xcf.bz2 to xcf and use the same name of the named icon, including them in dist. * lib/ephy-stock-icons.h: Use "bookmark-view" named icon for EPHY_STOCK_BOOKMARKS.
* Updated icon for history from Andreas Nilsson.Luca Ferretti2006-12-131-1/+1
| | | | | | | | | | | | | | | | | | 2006-12-13 Luca Ferretti <elle.uca@libero.it> * data/icons/16x16/actions/Makefile.am: * data/icons/16x16/actions/history-view.png: * data/icons/22x22/actions/Makefile.am: * data/icons/22x22/actions/history-view.png: * data/icons/24x24/actions/Makefile.am: * data/icons/24x24/actions/history-view.png: * data/icons/24x24/actions/web-history.png: Updated icon for history from Andreas Nilsson. * lib/ephy-stock-icons.h: Use "history-view" as named icon.
* Move code around.Christian Persch2006-12-091-0/+7
| | | | | | | | | 2006-12-08 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * src/ephy-main.c: (main): Move code around.
* Remove old stock iconsLuca Ferretti2006-12-092-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-08 Luca Ferretti <elle.uca@libero.it> * data/art/Makefile.am: * data/art/epiphany-bookmarks.png: * data/art/epiphany-download.png: * data/art/epiphany-entry.png: * data/art/epiphany-history.png: * data/art/epiphany-popup-hidden.png: * data/art/epiphany-popup-hidden.svg: Remove old stock icons * data/icons/16x16/actions/download.png: * data/icons/16x16/actions/epiphany-download.png: * data/icons/22x22/actions/download.png: * data/icons/22x22/actions/epiphany-download.png: * data/icons/24x24/actions/Makefile.am: * data/icons/24x24/actions/download.png: * data/icons/24x24/actions/epiphany-download.png: * data/icons/24x24/actions/location-entry.png: * data/icons/24x24/actions/web-bookmarks.png: * data/icons/24x24/actions/web-history.png: * data/icons/32x32/actions/download.png: * data/icons/32x32/actions/epiphany-download.png: * data/icons/scalable/actions/download.svg: * data/icons/scalable/actions/epiphany-download.svg: Move old stock icons here and rename "epiphany-download" to "download" * lib/ephy-stock-icons.c: (ephy_stock_icons_init): Use gtk_icon_source_set_icon_name for EPHY_STOCK* * lib/ephy-stock-icons.h: Update named icons to installed icons. * src/ephy-main.c: (main): Call gtk_icon_theme_append_search_path to add custom Ephy directory for themed icons. This should complete the icon theme support to Epiphany. Of course there is still some work to do, as well as provide fresh icons at all sizes and define the names.
* Fix typoChristian Persch2006-12-051-2/+2
|
* Version 2.17.3.Christian Persch2006-12-053-61/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-04 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Version 2.17.3. * embed/mozilla/GtkNSSDialogs.cpp: Use NULL for gtk_label_new instead of "". * lib/ephy-print-utils.c: (ephy_print_utils_page_setup_new_from_key_file): Fix possible invalid free. * lib/widgets/ephy-spinner.c: (ephy_spinner_images_unref), (ephy_spinner_images_load), (ephy_spinner_load_images), (ephy_spinner_expose), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_stop): Fix compliance with icon theme spec by skipping the first frame in the animation when in spinning mode. Bug #382207. Try the "process-working" icon first and fall back to "gnome-spinner" when it's not available. * m4/gecko.m4: Updated. 2006-12-04 Luca Ferretti <elle.uca@libero.it>
* Lower the priority of the spinner animation so that the animation does notBenjamin Berg2006-11-181-3/+5
| | | | | | | | 2006-11-17 Benjamin Berg <benjamin@sipsolutions.net> * lib/widgets/ephy-spinner.c: (ephy_spinner_start): Lower the priority of the spinner animation so that the animation does not stop page loading. Fixes bug #374623.
* This is entirely my code, not marco'sChristian Persch2006-11-051-1/+1
|
* Remove debug spew.Christian Persch2006-11-041-2/+0
| | | | | | | | 2006-11-03 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-spell-check.c: (ephy_spell_check_check_word): Remove debug spew.
* A lib/widgets/ephy-spinner-tool-item.c: AChristian Persch2006-10-181-0/+2
| | | | | | | | | | | | | | | 2006-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: A lib/widgets/ephy-spinner-tool-item.c: A lib/widgets/ephy-spinner-tool-item.h: * lib/widgets/testspinner.c: (change_toolbar_style_cb), (change_toolbar_icon_size_cb), (spin_toolbar_spinner_cb), (main): * src/ephy-toolbar.c: (ephy_toolbar_update_spinner), (ephy_toolbar_constructor): Add EphySpinnerToolItem which encapsulates a spinner and automatically adapts its size to toolbar style changes, and use it in EphyToolbar.
* A lib/widgets/ephy-spinner-tool-item.c: AChristian Persch2006-10-183-4/+282
| | | | | | | | | | | | | | | 2006-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: A lib/widgets/ephy-spinner-tool-item.c: A lib/widgets/ephy-spinner-tool-item.h: * lib/widgets/testspinner.c: (change_toolbar_style_cb), (change_toolbar_icon_size_cb), (spin_toolbar_spinner_cb), (main): * src/ephy-toolbar.c: (ephy_toolbar_update_spinner), (ephy_toolbar_constructor): Add EphySpinnerToolItem which encapsulates a spinner and automatically adapts its size to toolbar style changes, and use it in EphyToolbar.
* Fix a crash after failing to get the spinner animation or rest icons.Christian Persch2006-10-182-18/+14
| | | | | | | | | | | | 2006-10-17 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (ephy_spinner_get_type), (ephy_spinner_init), (ephy_spinner_new): * lib/widgets/ephy-spinner.h: Fix a crash after failing to get the spinner animation or rest icons. Derive EphySpinner from GtkWidget not GtkEventBox.
* Automatically open a Nautilus window after downloading has finished. FixesWouter Bolsterlee2006-10-152-0/+24
| | | | | | | | | | | | | 2006-10-15 Wouter Bolsterlee <wbolster@gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/MozDownload.cpp: * lib/ephy-file-helpers.c: (ephy_file_browse_to): * lib/ephy-file-helpers.h: * src/popup-commands.c: (save_property_url_completed_cb), (save_property_url): Automatically open a Nautilus window after downloading has finished. Fixes bug #138876, patch by Ed Catmur.
* Fix a bug in the last commit.Christian Persch2006-10-092-2/+2
| | | | | | | | | | | | 2006-10-08 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Fix a bug in the last commit.
* Make the enum/flags values not global.Christian Persch2006-10-082-14/+14
| | | | | | | | | | | | 2006-10-08 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Make the enum/flags values not global.
* Fix compile warnings.Christian Persch2006-10-012-5/+4
| | | | | | | | | | 2006-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (bump_spinner_frame_cb): * lib/widgets/testspinner.c: (add_spinner), (main): Fix compile warnings.
* Fix compile warnings.Christian Persch2006-10-011-6/+1
| | | | | | | | | | 2006-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (bump_spinner_frame_cb): * lib/widgets/testspinner.c: (add_spinner), (main): Fix compile warnings.
* Simplify code and save some memory.Christian Persch2006-09-301-104/+111
| | | | | | | | | | | | | | | 2006-09-29 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_ref), (ephy_spinner_images_unref), (ephy_spinner_cache_data_unload), (ephy_spinner_images_load), (ephy_spinner_cache_get_images), (ephy_spinner_load_images), (ephy_spinner_unload_images), (ephy_spinner_init), (ephy_spinner_expose), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_remove_update_callback), (ephy_spinner_stop), (ephy_spinner_size_request): Simplify code and save some memory.
* Fix spinner with new g-i-t. Fixes bug #330415. Fix a crash when failing toChristian Persch2006-09-302-164/+172
| | | | | | | | | | | | | | | | 2006-09-29 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_images_free), (ephy_spinner_cache_data_unload), (scale_to_size), (ephy_spinner_images_load), (ephy_spinner_cache_data_new), (ephy_spinner_cache_data_free), (ephy_spinner_cache_get_images), (ephy_spinner_cache_finalize), (ephy_spinner_cache_class_init), (ephy_spinner_cache_ref), (ephy_spinner_init), (ephy_spinner_set_size), (ephy_spinner_size_request): * lib/widgets/testspinner.c: Fix spinner with new g-i-t. Fixes bug #330415. Fix a crash when failing to load some icon data, Gedit bug #357456.
* Clicking favicon in the location bar selects URL. Fix bug #349557.Jean-François Rameau2006-09-141-0/+29
| | | | | | | | | 2006-09-13 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents), (icon_button_press_event_cb): Clicking favicon in the location bar selects URL. Fix bug #349557.
* Use UTF-8 copyright symbolChristian Persch2006-09-1378-123/+123
|
* Remove some unnecessary static data.Christian Persch2006-09-0724-28/+28
| | | | | | | | 2006-09-06 Christian Persch <chpe@cvs.gnome.org> * *.c *.cpp: Remove some unnecessary static data.
* Remove debug printfChristian Persch2006-08-181-2/+0
|
* Fix crash when reading the options file. Bug #351788. Actually return theChristian Persch2006-08-181-32/+36
| | | | | | | | | 2006-08-17 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-print-utils.c: Fix crash when reading the options file. Bug #351788. Actually return the settings object.
* Don't crash on error. Bug #351187.Christian Persch2006-08-141-2/+2
| | | | | | | | | 2006-08-13 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-print-utils.c: (ephy_print_utils_page_setup_new_from_key_file): Don't crash on error. Bug #351187.
* ephy_file_launch_desktop_file accepts now a parameter. Fix #343321.Jean-François Rameau2006-08-102-1/+3
| | | | | | | | | | | | | | 2006-08-09 Jean-François Rameau <jframeau@cvs.gnome.org> * src/popup-commands.c: (background_download_completed): * lib/ephy-file-helpers.h: (ephy_file_launch_desktop_file): * lib/ephy-file-helpers.c: (ephy_file_launch_desktop_file): ephy_file_launch_desktop_file accepts now a parameter. Fix #343321. * src/ephy-window.c: Remove CONF_DESKTOP_BG_PICTURE #define. No need.
* Improve the a11y theme check.Christian Persch2006-08-081-2/+2
| | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: Improve the a11y theme check.
* Use variables here, not configure substitutions.Christian Persch2006-08-081-1/+1
| | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: Use variables here, not configure substitutions.
* Fix the build.Christian Persch2006-08-061-0/+2
| | | | | | | | 2006-08-05 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: Fix the build.
* A lib/ephy-print-utils.c: A lib/ephy-print-utils.h:Christian Persch2006-08-054-0/+618
| | | | | | | | | | | | | | | | | 2006-08-05 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_set_page_setup), (ephy_embed_shell_get_page_setup), (ephy_embed_shell_set_print_settings), (ephy_embed_shell_get_print_settings): A lib/ephy-print-utils.c: A lib/ephy-print-utils.h: * lib/ephy-string.c: (ephy_string_flags_from_string), (ephy_string_flags_to_string), (ephy_string_enum_from_string), (ephy_string_enum_to_string): * lib/ephy-string.h: Persist print settings and page setup.
* Define STOCK_NEW_WINDOW with named icon "window-new" and use it in File ->Luca Ferretti2006-07-262-7/+9
| | | | | | | | | | | | | 2006-07-26 Luca Ferretti <elle.uca@libero.it> * lib/ephy-stock-icons.c: * lib/ephy-stock-icons.h: * src/ephy-window.c: Define STOCK_NEW_WINDOW with named icon "window-new" and use it in File -> New Window. Use "tab-new", "bookmark-new" and "mail-forward" named icons from Icon Naming Standard for related actions. A first step to fix bug # 348350
* Set default dictionary based on applicable locale names.Jean-François Rameau2006-07-251-5/+13
| | | | | | | | 2006-07-24 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/ephy-spell-check.c: (ephy_spell_check_init): Set default dictionary based on applicable locale names.
* Fix default activation.Christian Persch2006-07-251-0/+21
| | | | | | | | | | | | | 2006-07-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-password-dialog.c: Fix default activation. * data/glade/form-signing-dialog.glade: * embed/mozilla/GeckoFormSigningDialog.cpp: Fix content packing options.
* Reset IM context before activation. Bug #348478, patch by Nguyễn TháiChristian Persch2006-07-251-0/+1
| | | | | | | | | 2006-07-24 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (match_selected_cb): Reset IM context before activation. Bug #348478, patch by Nguyễn Thái Ngọc Duy.
* Add a way to turn off password remembering. Bug #332374.Christian Persch2006-07-221-0/+3
| | | | | | | | | | | | 2006-07-21 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-prefs.h: * src/prefs-dialog.c: Add a way to turn off password remembering. Bug #332374.
* Add our options in a custom tab in the print dialogue.Christian Persch2006-07-222-3/+53
| | | | | | | | | | | | | | | 2006-07-21 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * data/glade/print.glade: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GeckoPrintService.h: * lib/ephy-gui.c: (ephy_gui_message_dialog_get_content_box), (ephy_gui_message_dialog_set_wrap_mode), (checkbutton_toggled_cb), (ephy_gui_connect_checkbutton_to_gconf): * lib/ephy-gui.h: Add our options in a custom tab in the print dialogue.
* When resetting the entry also emit user-changed, to restore the originalChristian Persch2006-07-201-5/+18
| | | | | | | | | | | 2006-07-20 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb), (entry_activate_after_cb), (action_activated_after_cb), (ephy_location_entry_reset_internal), (ephy_location_entry_reset): When resetting the entry also emit user-changed, to restore the original URI in the tab's property. Bug #345934.
* Work around bug #346662 by not changing selection while removing theChristian Persch2006-07-111-0/+15
| | | | | | | | | | 2006-07-10 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (ephy_node_view_selection_changed_cb), (ephy_node_view_remove): Work around bug #346662 by not changing selection while removing the nodes. Fixes crash with gtk 2.10.
* Fix middle-click and ctrl-enter in the location entry autocompletionChristian Persch2006-07-111-5/+61
| | | | | | | | | | | | | | 2006-07-10 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb), (entry_key_press_after_cb), (entry_activate_after_cb), (match_selected_cb), (action_activated_after_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_set_completion): * src/ephy-location-action.c: (action_activated_cb): Fix middle-click and ctrl-enter in the location entry autocompletion drop-down. Bug #345934, based on a patch by johannes@sipsolutions.net.
* A lib/ephy-password-dialog.c: A lib/ephy-password-dialog.h:Christian Persch2006-06-223-0/+812
| | | | | | | | | | | | | | | | 2006-06-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSDialogs.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozRegisterComponents.cpp: * lib/Makefile.am: A lib/ephy-password-dialog.c: A lib/ephy-password-dialog.h: Implement nsITokenPasswordDialogs. Misc cleanups and mozilla string simplification now that we depend on gecko 1.8.
* Check for enchant, and output an overview of the configured options onChristian Persch2006-06-093-0/+363
| | | | | | | | | | | | | | | | | | | | | 2006-06-09 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for enchant, and output an overview of the configured options on successful configure. * data/default-prefs-common.js: * embed/mozilla/GeckoSpellCheckEngine.cpp: * embed/mozilla/GeckoSpellCheckEngine.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * lib/Makefile.am: * lib/ephy-spell-check.c: * lib/ephy-spell-check.h: Spell check support using the gecko 'spellchecker' extension. No corrections context menu or language switching yet.
* Improve next-token logic for bookmark completion. Fixes #339167 (hopefullyWouter Bolsterlee2006-06-051-2/+2
| | | | | | | | 2006-06-05 Wouter Bolsterlee <uws+gnome@xs4all.nl> * lib/widgets/ephy-location-entry.c: (keyword_match): Improve next-token logic for bookmark completion. Fixes #339167 (hopefully for real this time).
* Make bookmark search ignore special characters (bug 339167)Frederic Peters2006-05-301-1/+1
|
* Fix crash when moving zoom widget on toolbar (#338682)Frederic Peters2006-05-301-0/+3
| | | | | | | | 2006-05-30 Frederic Peters <fpeters@0d.be> * lib/egg/egg-editable-toolbar.c: (action_sensitive_cb) Fix crash when moving zoom widget on toolbar (#338682)
* Fix launching of desktop files.Christian Persch2006-05-301-1/+8
| | | | | | | | | 2006-05-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_launch_application), (launch_desktop_item): Fix launching of desktop files.
* Add methods to EphyNode to set typed properties. This change improves theJean-François Rameau2006-05-232-18/+146
| | | | | | | | | | | | | 2006-05-16 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/ephy-node.h: * lib/ephy-node.c: * src/epiphany.defs: Add methods to EphyNode to set typed properties. This change improves the Python API so it should be easy now to play with bookmarks. Also clean up the code with unnecessary checks.
* Shut upChristian Persch2006-05-121-0/+4
|
* Drop support for gecko 1.7.Christian Persch2006-05-113-45/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-05-10 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/glade/prefs-dialog.glade: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get): * embed/mozilla/AutoJSContextStack.cpp: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutModule.cpp: * embed/mozilla/EphyAboutModule.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/EphyDirectoryProvider.cpp: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphyHistoryListener.h: * embed/mozilla/EphyPromptService.cpp: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySidebar.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozRegisterComponents.h: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/PrintingPromptService.h: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-download.h: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-event.h: * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-find.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-persist.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: * embed/mozilla/mozilla-x509-cert.cpp: * embed/mozilla/mozilla-x509-cert.h: * lib/ephy-gui.c: * lib/ephy-gui.h: * lib/ephy-langs.c: * m4/gecko.m4: * src/ephy-window.c: (sync_tab_security): * src/prefs-dialog.c: (prefs_dialog_init): Drop support for gecko 1.7.
* #337140: Replace fallback favicon with more semantically correct 'text-html'Tommi Komulainen2006-04-151-3/+7
| | | | | | | | 2006-04-15 Tommi Komulainen <tommi.komulainen@iki.fi> * lib/widgets/ephy-location-entry.c (update_favicon): Replace 'stock-new' fallback favicon with more semantically correct 'text-html' It also looks better with Tango icon theme. Bug #337140
* A data/epiphany-pango.schemas:Christian Persch2006-04-101-0/+3
| | | | | | | | | | | | 2006-04-09 Christian Persch <chpe@cvs.gnome.org> * data/Makefile.am: A data/epiphany-pango.schemas: * lib/ephy-prefs.h: * src/ephy-main.c: (main): Enable pango for some indic languages, which depend on it for correct rendering. Bug #335799.
* Add ephy_guid_help_with_doc_id for use by e-e.Christian Persch2006-04-032-12/+27
| | | | | | | | | 2006-04-02 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_help_with_doc_id), (ephy_gui_help): * lib/ephy-gui.h: Add ephy_guid_help_with_doc_id for use by e-e.
* Use g_object_ref_sink().Christian Persch2006-03-293-6/+3
| | | | | | | | | | | | | | 2006-03-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyPromptService.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_set_fixed): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init): * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-statusbar.c: (ephy_statusbar_init): Use g_object_ref_sink().
* Fix print format/arg mismatch.Christian Persch2006-03-241-2/+2
| | | | | | | | 2006-03-23 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node.c: (write_parent), (ephy_node_write_to_xml): Fix print format/arg mismatch.
* Use GtkStatusIcon.Christian Persch2006-03-207-2286/+2
| | | | | | | | | | | | | | | | | | | | | | | 2006-03-20 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (status_icon_popup_menu_cb), (show_status_icon), (downloader_view_init), (downloader_view_finalize), (update_status_icon), (download_changed_cb), (downloader_view_add_download), (downloader_view_remove_download), (download_dialog_delete_event_cb): Use GtkStatusIcon. * lib/egg/Makefile.am: * lib/egg/eggstatusicon.c: * lib/egg/eggstatusicon.h: * lib/egg/eggtrayicon.c: * lib/egg/eggtrayicon.h: * lib/egg/eggtraymanager.c: * lib/egg/eggtraymanager.h: Remove egg status icons files.
* lib/egg/egg-editable-toolbar.cPeter Harvey2006-02-241-4/+15
| | | | | | | | | 2006-02-24 Peter Harvey <peter.a.harvey@gmail.com> * lib/egg/egg-editable-toolbar.c Fix a bug where the visibility_paths were deleted on deconstruct rather than dispose.
* lib/egg/egg-editable-toolbar.cPeter Harvey2006-02-241-0/+7
| | | | | | | | | 2006-02-24 Peter Harvey <peter.a.harvey@gmail.com> * lib/egg/egg-editable-toolbar.c Made the "Show" menu items insensitive when the entire toolbar is hidden.
* lib/egg/egg-editable-toolbar.cPeter Harvey2006-02-241-0/+7
| | | | | | | | 2006-02-23 Peter Harvey <peter.a.harvey@gmail.com> * lib/egg/egg-editable-toolbar.c Added translator comment.
* data/ui/epiphany-fs-toolbar.xml lib/egg/egg-toolbars-model.cPeter Harvey2006-02-216-92/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-21 Peter Harvey <peter.a.harvey@gmail.com> * data/ui/epiphany-fs-toolbar.xml * lib/egg/egg-toolbars-model.c * lib/egg/egg-toolbars-model.h Added "editable" attribute for toolbars. * data/ui/epiphany-ui.xml * lib/egg/egg-editable-toolbar.c * lib/egg/egg-editable-toolbar.h * src/ephy-toolbar.c * src/ephy-window.c Many improvements to toolbar menus. Includes changes to show visibility toggles in multiple locations. * lib/ephy-stock-icons.c * lib/ephy-stock-icons.h Additional stock icon for drag and drop. * src/bookmarks/ephy-bookmarks-ui.c Make 'customize toolbar' invisible when editing. * src/ephy-shell.c Mark the full-screen toolbar as non-removable.
* src/bookmarks/ephy-bookmarks-editor.cPeter Harvey2006-02-141-0/+2
| | | | | | | | | | | | | 2006-02-10 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmarks-editor.c Do not create the bookmarks bar when removing bookmarks from the toolbar. * lib/egg/egg-toolbars-model.c Fix infinite loop when a toolbar has no items on it.
* Remove ephy_gui_window_present.Christian Persch2006-02-142-32/+0
| | | | | | | | | 2006-02-14 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: * lib/ephy-gui.h: Remove ephy_gui_window_present.
* Move --private-instance out of debug #ifdef.Christian Persch2006-02-142-10/+26
| | | | | | | | | | | | 2006-02-14 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_helpers_init), (ephy_file_helpers_shutdown), (ephy_file_delete_on_exit), (ephy_file_monitor_cancel), (ephy_file_delete_directory): * lib/ephy-file-helpers.h: * src/ephy-main.c: (main): Move --private-instance out of debug #ifdef.
* Save tons of g_type_from_name calls.Christian Persch2006-02-071-30/+38
| | | | | | | | 2006-02-07 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node.c: (ephy_node_new_from_xml): Save tons of g_type_from_name calls.
* lib/ephy-state.h lib/ephy-state.c src/epiphany.defsPeter Harvey2006-02-042-52/+16
| | | | | | | | | | | | 2006-02-04 Peter Harvey <peter.a.harvey@gmail.com> * lib/ephy-state.h * lib/ephy-state.c * src/epiphany.defs * src/bookmarks/ephy-bookmark-properties.c Combined very similar functions into one. Made the 'similar' bookmark count update immediately at start.
* lib/ephy-state.h lib/ephy-state.c src/ephy-shell.cPeter Harvey2006-02-041-0/+4
| | | | | | | | | | 2006-02-04 Peter Harvey <peter.a.harvey@gmail.com> * lib/ephy-state.h * lib/ephy-state.c * src/ephy-shell.c Forgotten files from previous two commits.
* lib/ephy-state.h lib/ephy-state.c src/ephy-shell.cPeter Harvey2006-02-041-4/+58
| | | | | | | | | | 2006-02-04 Peter Harvey <peter.a.harvey@gmail.com> * lib/ephy-state.h * lib/ephy-state.c * src/ephy-shell.c Forgotten files from previous two commits.
* lib/egg/egg-editable-toolbar.c lib/egg/egg-toolbar-editor.cPeter Harvey2006-02-044-41/+186
| | | | | | | | | | | | | | | | 2006-02-04 Peter Harvey <peter.a.harvey@gmail.com> * lib/egg/egg-editable-toolbar.c * lib/egg/egg-toolbar-editor.c * lib/egg/egg-toolbars-model.c * lib/egg/egg-toolbars-model.h * src/bookmarks/ephy-bookmark-factory-action.c * src/bookmarks/ephy-topic-factory-action.c * src/ephy-toolbars-model.c * src/epiphany.defs Improve the system for testing whether an item has already been used on the toolbar.
* On session logout, check if there are downloads pending (since they're notChristian Persch2006-02-032-0/+26
| | | | | | | | | | | | | | | | | | | | | | 2006-02-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/downloader-view.h: * embed/ephy-embed-shell.c: (ephy_embed_shell_get_downloader_view_nocreate): * embed/ephy-embed-shell.h: * lib/ephy-gui.c: (ephy_gui_message_dialog_get_content_box): * lib/ephy-gui.h: * src/ephy-session.c: (confirm_shutdown_dialog_update_timeout_label), (confirm_shutdown_dialog_tick_cb), (confirm_shutdown_dialog_response_cb), (confirm_shutdown_dialog_accept_cb), (confirm_shutdown_dialog_weak_ref_cb), (confirm_shutdown_cb), (save_yourself_cb): On session logout, check if there are downloads pending (since they're not resumable, bug #128048). #if 0'd for now.
* Fix some memory leaks.Jean-François Rameau2006-02-031-3/+11
| | | | | | | | | 2006-02-02 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (toolbar_visibility_refresh): * src/bookmarks/ephy-topics-entry.c: (update_database): Fix some memory leaks.
* Queue commands received from the main and remote instances, and processChristian Persch2006-02-022-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (save_yourself_cb), (die_cb), (session_command_free), (session_command_find), (resume_dialog_response_cb), (resume_dialog_weak_ref_cb), (session_command_autoresume), (session_command_open_bookmarks_editor), (session_command_open_uris), (session_command_dispatch), (session_command_queue_next), (session_command_queue_clear), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_close), (ephy_session_load), (ephy_session_get_active_window), (ephy_session_queue_command): * src/ephy-session.h: * src/ephy-main.c: (unref_proxy_reply_cb), (open_urls), (call_dbus_proxy), (queue_commands), (main): Queue commands received from the main and remote instances, and process them after autoresume has completed. Bug #328286. * data/epiphany-service.xml: * lib/ephy-file-helpers.c: (ephy_file_helpers_init): * lib/ephy-file-helpers.h: * src/ephy-activation.c: (session_queue_command), (ephy_activation_load_uri_list), (ephy_activation_load_session), (ephy_activation_open_bookmarks_editor): * src/ephy-activation.h: * src/ephy-dbus.c: * src/ephy-dbus.h: * src/epiphany.defs:
* lib/egg/egg-editable-toolbar.cPeter Harvey2006-02-021-3/+19
| | | | | | | | | | 2006-01-31 Peter Harvey <peter.a.harvey@gmail.com> * lib/egg/egg-editable-toolbar.c Add tooltips to toolitems again (reverses a regression). Use _forall instead of _foreach when connecting signals, to make sure that widgets like Zoom get a right-click menu.
* lib/egg/egg-toolbars-model.c lib/egg/egg-toolbars-model.hPeter Harvey2006-01-312-0/+65
| | | | | | | | | | 2006-01-31 Peter Harvey <peter.a.harvey@gmail.com> * lib/egg/egg-toolbars-model.c * lib/egg/egg-toolbars-model.h Added a useful function to remove all instances of a named action from the toolbars.
* Don't double-ref the UI manager. Don't try to set a cursor on windowlessChristian Persch2006-01-311-18/+21
| | | | | | | | | | 2006-01-30 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (configure_item_cursor), (egg_editable_toolbar_set_ui_manager): Don't double-ref the UI manager. Don't try to set a cursor on windowless widgets.
* Fix the build with -Werror.Christian Persch2006-01-311-11/+14
| | | | | | | | | 2006-01-30 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_set_ui_manager): Fix the build with -Werror.
* data/ui/epiphany-ui.xml src/ephy-lockdown.c src/ephy-toolbar.cPeter Harvey2006-01-312-170/+330
| | | | | | | | | | | | | 2006-01-30 Peter Harvey <peter.a.harvey@gmail.com> * data/ui/epiphany-ui.xml * src/ephy-lockdown.c * src/ephy-toolbar.c * src/ephy-window.c * lib/egg/egg-editable-toolbar.c * lib/egg/egg-editable-toolbar.h Add a Toolbars submenu with per-toolbar hide/show items.
* Add a convenience function to get current event data.Christian Persch2006-01-303-2/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_get_current_event): * lib/ephy-gui.h: Add a convenience function to get current event data. * src/ephy-link.c: (ephy_link_open), (ephy_link_flags_from_current_event): * src/ephy-link.h: Add a convenience function to translate the current event into EphyLinkFlags. * src/ephy-go-action.c: (ephy_go_action_get_type): * src/ephy-go-action.h: Make this an EphyLinkAction. * lib/widgets/ephy-location-entry.c: (entry_key_press_cb): * src/ephy-home-action.c: (ephy_home_action_activate): * src/ephy-location-action.c: (entry_activate_cb): * src/ephy-tab.c: (open_link_in_new), (ephy_tab_dom_mouse_click_cb): * src/window-commands.c: (window_cmd_load_location): Fix link activation to respect ctrl and shift modifiers. Part of bug #310814. 2006-01-29 Christian Persch <chpe@cvs.gnome.org>
* Fix strings again. Bug #328747.Christian Persch2006-01-291-77/+77
| | | | | | | | | 2006-01-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: * src/ephy-main.c: Fix strings again. Bug #328747.
* Jan 29 2006 Reinout van Schouwen <reinout@cs.vu.nl>Reinout van Schouwen2006-01-291-77/+77
| | | | | | * Jan 29 2006 Reinout van Schouwen <reinout@cs.vu.nl> * lib/ephy-file-helpers.c: fix #328747
* libnm-glib be-gone! Use NetworkManager directly via DBUS, by importing theChristian Persch2006-01-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | 2006-01-25 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/epiphany.schemas.in: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: * lib/ephy-prefs.h: * src/Makefile.am: * src/ephy-net-monitor.c: * src/ephy-net-monitor.h: * src/ephy-shell.c: (ephy_shell_sync_network_status), (impl_get_embed_single), (ephy_shell_dispose), (ephy_shell_get_net_monitor), (_ephy_shell_create_instance), (_ephy_shell_startup): * src/ephy-shell.h: libnm-glib be-gone! Use NetworkManager directly via DBUS, by importing the excellent net-monitor extension directly into Epiphany. Code by Jean-François Rameau.
* Run the main loop until the reply is received when activating a runningChristian Persch2006-01-252-17/+39
| | | | | | | | | | | | | | 2006-01-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_dot_dir), (ephy_file_helpers_init): * lib/ephy-file-helpers.h: * src/ephy-dbus.c: * src/ephy-main.c: (unref_proxy_reply_cb), (open_urls), (main): Run the main loop until the reply is received when activating a running instance. Fixes URL opening with two concurrently starting instance.
* Add a GError** to ephy_file_helpers_init and ephy_ensure_dir_exists, so weChristian Persch2006-01-242-16/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * lib/ephy-file-helpers.c: (ephy_file_helpers_init), (ephy_ensure_dir_exists): * lib/ephy-file-helpers.h: Add a GError** to ephy_file_helpers_init and ephy_ensure_dir_exists, so we can show the error to the user in main(). * src/ephy-dbus.c: (ephy_dbus_connect_to_session_bus_cb), (ephy_dbus_connect_to_system_bus_cb), (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_system_bus), (ephy_dbus_connect_to_session_bus), (ephy_dbus_shutdown), (ephy_dbus_finalize), (ephy_dbus_get_type), (ephy_dbus_get_default), (ephy_dbus_get_bus), (ephy_dbus_get_proxy), (_ephy_dbus_startup), (_ephy_dbus_release), (_ephy_dbus_is_name_owner): * src/ephy-dbus.h: Refactored. Propagate errors to callers via GError**, and change lifecycle to the app lifetime. * src/ephy-lockdown.c: (ephy_lockdown_init), (ephy_lockdown_finalize): Move gconf notification add/remove for the lockdown key dirs here from main(). * src/ephy-shell.c: (ephy_shell_dispose), (_ephy_shell_create_instance): * src/ephy-shell.h: * src/epiphany.defs: Remove ephy_shell_startup and related stuff. * src/ephy-main.c: (handle_url), (handle_email), (shell_weak_notify), (dbus_g_proxy_finalized_cb), (save_yourself_cb), (die_cb), (gnome_session_init), (path_from_command_line_arg), (open_urls), (call_dbus_proxy), (show_error_message), (main): Move all startup code to main(), so we can show errors to the user instead of crashing when things go wrong. Part of bug #326807.
* When updating the address bar, always update the address state, sometimesCrispin Flowerday2006-01-231-0/+3
| | | | | | | | | | 2006-01-22 Crispin Flowerday <gnome@flowerday.cx> * lib/widgets/ephy-location-entry.c (ephy_location_entry_set_location): When updating the address bar, always update the address state, sometimes it isn't updated if the text in the GtkEntry isn't altered (and hence the 'changed' signal isn't called.
* When adding a column that can be sorted on, re-create the sort model, soCrispin Flowerday2006-01-181-0/+8
| | | | | | | | | | 2006-01-17 Crispin Flowerday <gnome@flowerday.cx> * lib/widgets/ephy-node-view.c (ephy_node_view_add_column): When adding a column that can be sorted on, re-create the sort model, so that it sets up the sort method correctly. Fixes bug #320686
* Add event type to the callback.Christian Persch2006-01-172-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-17 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_monitor_timeout_cb), (ephy_file_monitor_cb): * lib/ephy-file-helpers.h: Add event type to the callback. * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: New function, like NS_NewFileURI (which we can't use since nsNetUtil.h conflicts with embed strings). * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: Check that the user CSS file exists before registering it. Also handle file-deleted events. * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_build): * src/bookmarks/ephy-topics-palette.c: (ephy_topics_palette_constructor), (ephy_topics_palette_class_init): Build fixes.
* Fix number of /'s in URI.Christian Persch2006-01-177-18/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-17 Christian Persch <chpe@cvs.gnome.org> * data/chrome/epiphany.manifest.in: Fix number of /'s in URI. * data/epiphany.schemas.in: Add new entries. * embed/mozilla/EphyAboutModule.cpp: Fix title. * data/glade/prefs-dialog.glade: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: * lib/eel-gconf-extensions.c: (eel_gconf_unset_key), (eel_gconf_notify): * lib/eel-gconf-extensions.h: * lib/egg/egg-editable-toolbar.c: (popup_context_menu_cb), (button_press_event_cb), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_set_selected): * lib/ephy-dialog.c: (set_value_from_pref), (set_pref_from_value), (set_value_from_togglebutton), (strcmp_with_null), (get_index_from_value), (compare_values), (set_togglebutton_from_value), (set_pref_from_info_and_emit), (spinbutton_changed_cb), (save_info): * lib/ephy-dialog.h: * lib/ephy-file-helpers.c: (ephy_file_monitor_timeout_cb), (ephy_file_monitor_cb), (ephy_file_monitor_add), (ephy_file_monitor_cancel): * lib/ephy-file-helpers.h: * src/ephy-extensions-manager.c: (ephy_extensions_manager_load_file): * src/ephy-window.c: * src/popup-commands.c: (popup_cmd_bookmark_link): * src/prefs-dialog.c: (prefs_dialog_finalize), (setup_font_combo), (fonts_language_changed_cb), (font_prefs_dialog_response_cb), (row_is_separator), (setup_fonts_dialog), (font_prefs_button_clicked_cb), (css_checkbox_toggled), (css_edit_button_clicked_cb), (prefs_dialog_init): Rework font prefs, and add user stylesheet setting. * src/bookmarks/ephy-bookmark-action-group.c: (node_added_cb): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_local): * src/window-commands.c: (window_cmd_file_bookmark_page): Some build fixes.
* lib/egg/egg-editable-toolbar.hPeter Harvey2006-01-171-2/+5
| | | | | | | | 2006-01-17 Peter Harvey <peter.a.harvey@gmail.com> * lib/egg/egg-editable-toolbar.h Checking in forgotten changes to the editable toolbar API.
* EggEditableToolbar no longer supports middle-mouse-button drag.Peter Anthony Harvey2006-01-171-254/+124
| | | | | Fixed a bug in the popup-menu drag. Now uses GtkUIManager for the popup-menu.
* Added stock_bookmark as one of our stock icons.Peter Anthony Harvey2006-01-172-0/+2
|
* Do not try to store a string parameter if it is null (avoids segfault).Peter Anthony Harvey2006-01-171-0/+2
|
* Add a method to EphyAdblock interface, ephy_adblock_manager_edit_rule, soJean-François Rameau2006-01-162-0/+20
| | | | | | | | | | | | | | 2006-01-15 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/ephy-adblock.h: * lib/ephy-adblock.c: * embed/ephy-adblock-manager.h: * embed/ephy-adblock-manager.c: Add a method to EphyAdblock interface, ephy_adblock_manager_edit_rule, so one can allow/disallow an url. Add a method to EphyAdblockManager, ephy_adblock_manager_has_blocker, so one can ask it whether a blocker is running.
* 2006-01-13 Christian Persch <chpe@cvs.gnome.org>Christian Persch2006-01-132-2/+0
| | | | | * lib/ephy-stock-icons.c: * lib/ephy-stock-icons.h:
* Removed unused struct.Peter Anthony Harvey2006-01-101-6/+0
|
* Fix compiler warnings.Christian Persch2006-01-042-0/+3
| | | | | | | | | 2006-01-04 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-adblock.c: * lib/ephy-file-helpers.c: Fix compiler warnings.
* R data/art/epiphany-close-tab.png:Christian Persch2006-01-042-4/+0
| | | | | | | | | | | | 2006-01-04 Christian Persch <chpe@cvs.gnome.org> R data/art/epiphany-close-tab.png: * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-notebook.c: (build_tab_label): Go back to using the gtk stock close icon, to get correct themeing in a11y themes.
* Don't include generated files in the tarball. Bug #319440.Christian Persch2006-01-032-4/+7
| | | | | | | | | | | | | | | | | | | | | | 2006-01-03 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Don't include generated files in the tarball. Bug #319440. R help/C/Makefile.am: R help/es/Makefile.am: R help/eu/Makefile.am: R help/fi/Makefile.am: R help/ja/Makefile.am: R help/uk/Makefile.am: Remove obsolete files.
* R data/GNOME_Epiphany_Automation.server.in: A data/epiphany-service.xml: AChristian Persch2006-01-034-497/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-02 Christian Persch <chpe@cvs.gnome.org> * Makefile.am: * autogen.sh: * configure.ac: R data/GNOME_Epiphany_Automation.server.in: * data/Makefile.am: A data/epiphany-service.xml: A data/org.gnome.Epiphany.service.in: * doc/reference/Makefile.am: R idl/.cvsignore: R idl/EphyAutomation.idl: R idl/Makefile.am: * lib/Makefile.am: R lib/ephy-dbus.c: R lib/ephy-dbus.h: * lib/ephy-file-helpers.c: (ephy_file_launch_application): * src/Makefile.am: A src/ephy-activation.c: A src/ephy-activation.h: A src/ephy-dbus.c: A src/ephy-dbus.h: * src/ephy-main.c: (main): * src/ephy-shell.c: (ephy_shell_init), (open_urls), (dbus_g_proxy_finalized_cb), (ephy_shell_startup), (ephy_shell_dispose): Bonobo is dead; long live the Bonobos! Patch by Gustavo Gama, bug #322463.
* Put a marker in the environment to detect when we launch ourself as aChristian Persch2005-12-311-30/+40
| | | | | | | | | | | | 2005-12-30 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_helpers_init), (my_gdk_spawn_make_environment_for_screen), (make_spawn_environment_for_sn_context), (ephy_file_launch_application), (launch_desktop_item): Put a marker in the environment to detect when we launch ourself as a helper app. Fixes bug #324828.
* Add some code so ad blocking should be more easy. Based on the fact thatJean-François Rameau2005-12-203-0/+141
| | | | | | | | | | | | | | | | | | | | | 2005-12-19 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/Makefile.am: * embed/ephy-adblock-manager.c: * embed/ephy-adblock-manager.h: * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-embed-shell.h: * embed/mozilla/EphyContentPolicy.cpp: (EphyContentPolicy::ShouldLoad): * lib/Makefile.am: * lib/ephy-adblock.h: * lib/ephy-adblock.c: * src/ephy-shell.c: (ephy_shell_get_extensions_manager): Add some code so ad blocking should be more easy. Based on the fact that Epiphany already has its own content policy component (EphyContentPolicy). The new design adds: - an interface, EphyAdBlock - a manager, EphyAdBlockManager, pointing to a blocker (possibly no one).
* Use a gtk stock cursor (GDK_HAND2) instead of already removed image. FixesClaudio Saavedra2005-12-171-5/+1
| | | | | | | | 2005-12-16 Claudio Saavedra <csaavedra@alumnos.utalca.cl> * lib/egg/egg-editable-toolbar.c: (configure_item_cursor): Use a gtk stock cursor (GDK_HAND2) instead of already removed image. Fixes bug #324265.
* Fix quote characterChristian Persch2005-12-121-2/+2
|
* Fix quote characterChristian Persch2005-12-121-2/+2
|
* Fix typoChristian Persch2005-12-121-1/+1
|
* Updated comment to refer to the schema autogeneration tool.Christian Persch2005-12-061-2/+2
| | | | | | | | 2005-12-05 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-langs.c: Updated comment to refer to the schema autogeneration tool.
* Add a method to generate collation keys for domain names.Christian Persch2005-11-292-0/+51
| | | | | | | | | | | | | | | | | | | | | | | 2005-11-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_collate_key_for_domain): * lib/ephy-string.h: Add a method to generate collation keys for domain names. * src/pdm-dialog.c: (cookie_search_equal), (pdm_dialog_cookies_construct), (cookie_host_to_iter), (compare_cookie_host_keys), (pdm_dialog_fill_cookies_list), (pdm_dialog_cookies_destruct), (pdm_dialog_cookie_add), (pdm_dialog_cookie_scroll_to), (sync_notebook_tab), (pdm_dialog_init), (pdm_dialog_finalize), (pdm_dialog_open): * src/pdm-dialog.h: * src/window-commands.c: (window_cmd_edit_personal_data): Open the PDM dialogue on the cookies page scrolled to show the cookies of the currently loaded page, if there are any. Sort cookies by domain. Allow treeview typeaheadfind search to find by substring not prefix.
* === Release 1.9.2 ===Release192Christian Persch2005-11-131-29/+30
| | | | | | | | | | | | | | | | | | | | | | | 2005-11-12 Christian Persch <chpe@cvs.gnome.org> === Release 1.9.2 === * Makefile.am: Pass make distcheck. * NEWS: * configure.ac: Updated for 1.9.2. * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save), (parse_data_list), (parse_item_list), (parse_toolbars): * src/bookmarks/ephy-bookmarks-ui.c: (ephy_bookmarks_ui_attach_toolbar_model): Fix compile warnings.
* lib/ephy-file-helpers.c lib/widgets/ephy-location-entry.cCrispin Flowerday2005-11-112-2/+2
| | | | | | | | | | | 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
* Don't translate param spec strings.Christian Persch2005-11-083-18/+21
| | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtrayicon.c: (egg_tray_icon_class_init): * lib/egg/eggtraymanager.c: (egg_tray_manager_class_init): Don't translate param spec strings.
* More static strings.Christian Persch2005-11-083-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtrayicon.c: (egg_tray_icon_class_init): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/ephy-find-toolbar.c: (ephy_find_toolbar_class_init): * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-python-extension.c: (ephy_python_extension_class_init): * src/ephy-session.c: (ephy_session_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_class_init): * src/ephy-toolbar.c: (ephy_toolbar_class_init): * src/ppview-toolbar.c: (ppview_toolbar_class_init): More static strings.
* Mark strings in param specs as static.Christian Persch2005-11-0811-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_class_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-history.c: (ephy_history_class_init): * embed/mozilla/mozilla-download.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_class_init): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_class_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtraymanager.c: (egg_tray_manager_class_init): * lib/ephy-dialog.c: (ephy_dialog_class_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_class_init): * lib/ephy-node-db.c: (ephy_node_db_class_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_class_init): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_class_init): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_class_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_class_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_class_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_class_init): * src/ephy-history-window.c: (ephy_history_window_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-navigation-action.c: (ephy_navigation_action_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_class_init): * src/ephy-window.c: (ephy_window_class_init): Mark strings in param specs as static.
* String cleanup.Christian Persch2005-11-041-4/+5
| | | | | | | | 2005-11-04 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_check_location_writable): String cleanup.
* R data/art/hand-open.png:Christian Persch2005-11-031-6/+5
| | | | | | | | | | | 2005-11-03 Christian Persch <chpe@cvs.gnome.org> * data/art/Makefile.am: R data/art/hand-open.png: * lib/egg/egg-toolbar-editor.c: (drag_data_get_cb), (set_drag_cursor): Use a gtk stock cursor (GDK_HAND2) instead of our own, un-themed one.
* Simplify the drag icon code.Christian Persch2005-11-031-109/+21
| | | | | | | | | 2005-11-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (favicon_drag_begin_cb), (ephy_location_entry_construct_contents): Simplify the drag icon code.
* Show drag icon with page title + URL when dragging from the drag handle.Christian Persch2005-11-031-0/+238
| | | | | | | | | | | | 2005-11-02 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (favicon_create_drag_pixmap), (favicon_button_press_event_cb), (favicon_button_release_event_cb), (favicon_motion_notify_event_cb), (ephy_location_entry_construct_contents): Show drag icon with page title + URL when dragging from the drag handle.
* Return early when the action doesn't exist; don't crash. Patch by PeterChristian Persch2005-11-021-1/+4
| | | | | | | | | | 2005-11-02 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (create_item_from_action), (item_added_cb): Return early when the action doesn't exist; don't crash. Patch by Peter Harvey.
* Use GINT_TO_POINTER/GPOINTER_TO_INT when stuffing ints into pointers, andChristian Persch2005-11-021-7/+9
| | | | | | | | | | 2005-11-01 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbars-model.c: (item_node_new), (item_node_free), (egg_toolbars_model_get_n_avail), (egg_toolbars_model_set_n_avail): Use GINT_TO_POINTER/GPOINTER_TO_INT when stuffing ints into pointers, and fix gcc 2.95 issues.
* More curly quotes.Christian Persch2005-11-011-2/+2
| | | | | | | | | | | | | | | | | | | | 2005-11-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_verify_postscript): * lib/ephy-gui.c: (ephy_gui_check_location_writable): * src/bookmarks/ephy-bookmark-properties.c: (update_window_title): * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct), (add_bookmarks_source), (import_bookmarks): * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): * src/ephy-extensions-manager.c: (dir_changed_cb): * src/ephy-tab.c: (update_net_state_message): More curly quotes.
* Constification.Christian Persch2005-11-011-2/+2
| | | | | | | | | | | 2005-10-31 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dbus.c: * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults): Constification.
* Store the redirect and toplevel attributes when adding pages to theChristian Persch2005-10-311-0/+1
| | | | | | | | | | | | | | | 2005-10-31 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_class_init), (ephy_history_add_page), (impl_add_page): * embed/ephy-history.h: * embed/mozilla/GlobalHistory.cpp: * lib/ephy-marshal.list: * src/epiphany.defs: Store the redirect and toplevel attributes when adding pages to the history (doesn't do anything with the info yet, though). Based on a galeon patch by tko.
* R lib/ephy-glade.c: R lib/ephy-glade.h:Christian Persch2005-10-314-205/+13
| | | | | | | | | | | | | 2005-10-31 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: * lib/Makefile.am: * lib/ephy-dialog.c: (impl_construct): R lib/ephy-glade.c: R lib/ephy-glade.h: Remove ephy-glade since we don't need autoconnect anymore.
* Don't use BIND_LAZY when enabling debugging. That way we can find missingChristian Persch2005-10-311-6/+11
| | | | | | | | | 2005-10-30 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-module.c: (ephy_module_load): Don't use BIND_LAZY when enabling debugging. That way we can find missing symbols in extensions more easily.
* Use G_MODULE_BIND_LAZY when dlopening modules.Emmanuele Bassi2005-10-312-4/+6
| | | | | | | | | 2005-10-30 Emmanuele Bassi <ebassi@cvs.gnome.org> * lib/ephy-glade.c: (glade_signal_connect_func): * lib/ephy-module.c: (ephy_module_load): Use G_MODULE_BIND_LAZY when dlopening modules.
* Set the action's accel group. Fixes bug #319536.Christian Persch2005-10-301-1/+7
| | | | | | | | 2005-10-30 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (create_item_from_action): Set the action's accel group. Fixes bug #319536.
* Add ephy_file_get_downloads_dir() to get the actual downloads directory,Christian Persch2005-10-303-1/+44
| | | | | | | | | | | | | | | 2005-10-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor): * lib/ephy-file-helpers.c: (ephy_file_get_downloads_dir): * lib/ephy-file-helpers.h: * src/prefs-dialog.c: (download_path_changed_cb), (create_download_path_button): Add ephy_file_get_downloads_dir() to get the actual downloads directory, and use it in the prefs dialogue, the filechooser, and the backend.
* Use G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL when opening the extensionChristian Persch2005-10-291-1/+2
| | | | | | | | | 2005-10-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-module.c: (ephy_module_load): Use G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL when opening the extension module.
* Skip spinner update when we're not loaded. Should fix bug #320079.Christian Persch2005-10-291-7/+11
| | | | | | | | | | 2005-10-29 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (bump_spinner_frame_cb), (ephy_spinner_start): Skip spinner update when we're not loaded. Should fix bug #320079.
* Expose the extension description keyfile directly to the loaders.Christian Persch2005-10-215-20/+28
| | | | | | | | | | | | | | | | | 2005-10-21 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-loader.c: (ephy_loader_get_object): * lib/ephy-loader.h: * lib/ephy-module.c: (ephy_module_load), (ephy_module_new): * lib/ephy-module.h: * lib/ephy-shlib-loader.c: (impl_get_object), (ephy_shlib_loader_class_init): * src/ephy-extensions-manager.c: (free_extension_info), (ephy_extensions_manager_load_ini_string), (get_loader_for_type), (load_extension): * src/ephy-python-loader.c: (impl_get_object): Expose the extension description keyfile directly to the loaders.
* Minor code cleanup.Christian Persch2005-10-201-6/+10
| | | | | | | | 2005-10-20 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): Minor code cleanup.
* Remove fullscreen and leave-fullscreen stock icons; they're available inChristian Persch2005-10-202-4/+0
| | | | | | | | | | | | | 2005-10-20 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-toolbar.c: (ephy_toolbar_constructor): * src/ephy-window.c: Remove fullscreen and leave-fullscreen stock icons; they're available in gtk+ since 2.8.
* H18 patch, by Peter Harvey <pah06@uow.edu.au>.Peter Harvey2005-10-176-1110/+1255
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-16 Peter Harvey <pah06@uow.edu.au> H18 patch, by Peter Harvey <pah06@uow.edu.au>. * data/ui/epiphany-bookmark-editor-ui.xml: * data/ui/epiphany-ui.xml: * lib/egg/egg-editable-toolbar.c: (get_dock_position), (get_toolbar_position), (get_toolbar_nth), (find_action), (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (move_item_cb), (set_dock_visible), (remove_item_cb), (remove_toolbar_cb), (toggle_visibility_cb), (egg_editable_toolbar_add_visibility_items), (egg_editable_toolbar_add_popup_items), (popup_context_menu_cb), (button_press_event_cb), (configure_item_sensitivity), (configure_item_cursor), (connect_widget_signals), (action_sensitive_cb), (create_item_from_action), (create_item_from_position), (toolbar_drag_data_received_cb), (toolbar_drag_drop_cb), (toolbar_drag_motion_cb), (toolbar_drag_leave_cb), (configure_drag_dest), (create_dock), (toolbar_changed_cb), (unparent_fixed), (update_fixed), (toolbar_added_cb), (toolbar_removed_cb), (item_added_cb), (item_removed_cb), (egg_editable_toolbar_construct), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_set_property), (egg_editable_toolbar_get_property), (egg_editable_toolbar_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_get_edit_mode), (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.c: (compare_items), (item_added_or_removed_cb), (toolbar_removed_cb), (egg_toolbar_editor_set_model), (egg_toolbar_editor_finalize), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (editor_create_item), (editor_create_item_from_name), (append_table), (update_editor_sheet), (egg_toolbar_editor_init): * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save), (toolbar_node_new), (item_node_new), (item_node_free), (toolbar_node_free), (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags), (egg_toolbars_model_get_data), (egg_toolbars_model_get_name), (impl_add_item), (egg_toolbars_model_add_item), (egg_toolbars_model_add_toolbar), (parse_data_list), (parse_item_list), (parse_toolbars), (egg_toolbars_model_load), (egg_toolbars_model_class_init), (egg_toolbars_model_init), (egg_toolbars_model_finalize), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item), (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth), (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth), (egg_toolbars_model_get_types), (egg_toolbars_model_set_types), (fill_avail_array), (egg_toolbars_model_get_avail), (egg_toolbars_model_get_n_avail), (egg_toolbars_model_set_n_avail): * lib/egg/egg-toolbars-model.h: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action-group.c: (smart_added_cb), (smart_removed_cb), (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_bookmark_group_new): * src/bookmarks/ephy-bookmark-action-group.h: * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (ephy_bookmark_action_sync_icon), (show_context_menu), (popup_menu_cb), (button_press_cb), (button_release_cb), (connect_proxy), (ephy_bookmark_action_updated), (ephy_bookmark_action_get_bookmark), (ephy_bookmark_action_set_bookmark), (ephy_bookmark_action_set_property), (ephy_bookmark_action_get_property), (ephy_bookmark_action_finalize), (ephy_bookmark_action_class_init), (ephy_bookmark_action_init), (ephy_bookmark_action_name), (ephy_bookmark_action_new): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmark-factory-action.c: (ephy_bookmark_factory_action_get_type), (activate_item_cb), (build_menu_for_topic), (build_menu), (remove_placeholder_cb), (activate_placeholder_cb), (clicked_placeholder_cb), (realize_placeholder_cb), (create_tool_item), (connect_proxy), (ephy_bookmark_factory_action_class_init), (ephy_bookmark_factory_action_new): * src/bookmarks/ephy-bookmark-factory-action.h: * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_property), (ephy_bookmark_properties_get_property), (bookmark_properties_response_cb), (update_entry), (location_entry_changed_cb), (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (add_entry_monitor), (cmd_add_topic), (delete_topic_dialog_construct), (cmd_bookmarks_import), (ephy_bookmarks_editor_finalize), (ephy_bookmarks_editor_node_activated_cb), (ephy_bookmarks_editor_update_menu), (view_focus_cb), (add_focus_monitor), (remove_focus_monitor), (bookmarks_filter), (search_entry_search_cb), (ephy_bookmarks_editor_construct), (ephy_bookmarks_editor_set_parent), (ephy_bookmarks_editor_set_property), (ephy_bookmarks_editor_get_property), (ephy_bookmarks_editor_init): * src/bookmarks/ephy-bookmarks-menu.c: (append_bookmarks), (append_menu), (ephy_bookmarks_menu_build): * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks-ui.c: (find_action), (activate_bookmarks_menu), (activate_favorites_menu), (erase_bookmarks_menu), (erase_favorites_menu), (tree_changed_cb), (node_added_cb), (node_changed_cb), (node_removed_cb), (ephy_bookmarks_ui_attach_window), (ephy_bookmarks_ui_detach_window), (toolbar_node_removed_cb), (topic_has_data), (topic_get_data), (topic_get_name), (bookmark_has_data), (bookmark_get_data), (bookmark_get_name), (bookmark_new_name), (ephy_bookmarks_ui_attach_toolbar_model), (ephy_bookmarks_ui_detach_toolbar_model): * src/bookmarks/ephy-bookmarks-ui.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type), (ephy_bookmarks_init_defaults), (ephy_bookmarks_class_init), (ephy_bookmarks_save_delayed), (add_to_favorites), (update_bookmark_keywords), (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_add), (ephy_bookmarks_set_address), (ephy_bookmarks_set_icon), (ephy_bookmarks_add_keyword), (ephy_bookmarks_show_bookmark_properties), (ephy_bookmarks_get_from_id), (ephy_bookmarks_compare_topics), (ephy_bookmarks_compare_topic_pointers), (ephy_bookmarks_compare_bookmarks), (ephy_bookmarks_compare_bookmark_pointers): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar-model.h: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-bookmarksbar.h: * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-favorites-menu.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add), (build_editing_table), (ephy_new_bookmark_construct), (ephy_new_bookmark_set_property), (ephy_new_bookmark_get_property): * src/bookmarks/ephy-nodes-cover.c: (ephy_nodes_count_covered), (ephy_nodes_remove_covered), (ephy_nodes_remove_not_covered), (ephy_nodes_get_covered), (ephy_nodes_covered), (ephy_nodes_get_covering): * src/bookmarks/ephy-nodes-cover.h: * src/bookmarks/ephy-open-tabs-action.c: (activate_cb), (node_added_cb), (node_removed_cb), (ephy_open_tabs_group_new), (ephy_open_tabs_action_name): * src/bookmarks/ephy-open-tabs-action.h: * src/bookmarks/ephy-related-action.c: (node_changed), (node_destroyed), (open_link), (iface_init), (ephy_related_action_get_type), (ephy_related_action_new): * src/bookmarks/ephy-related-action.h: * src/bookmarks/ephy-topic-action-group.c: (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_topic_group_new): * src/bookmarks/ephy-topic-action-group.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type), (create_tool_item), (ephy_topic_action_sync_label), (get_popup), (erase_popup), (child_added_cb), (child_changed_cb), (child_removed_cb), (menu_destroy_cb), (menu_init_cb), (button_deactivate_cb), (button_toggled_cb), (button_release_cb), (button_press_cb), (connect_proxy), (ephy_topic_action_updated), (ephy_topic_action_get_topic), (ephy_topic_action_set_topic), (ephy_topic_action_set_property), (ephy_topic_action_get_property), (ephy_topic_action_class_init), (ephy_topic_action_init), (ephy_topic_action_name), (ephy_topic_action_new): * src/bookmarks/ephy-topic-action.h: * src/bookmarks/ephy-topic-factory-action.c: (ephy_topic_factory_action_get_type), (sort_topics), (activate_item_cb), (build_menu), (remove_placeholder_cb), (activate_placeholder_cb), (clicked_placeholder_cb), (realize_placeholder_cb), (create_tool_item), (connect_proxy), (ephy_topic_factory_action_class_init), (ephy_topic_factory_action_new): * src/bookmarks/ephy-topic-factory-action.h: * src/ephy-link-action.c: (ephy_link_action_group_get_type), (ephy_link_action_group_new): * src/ephy-link-action.h: * src/ephy-lockdown.c: (find_name), (find_action_group), (update_window): * src/ephy-notebook.c: (move_tab_to_another_notebook), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (tab_label_style_set_cb), (build_tab_label), (ephy_notebook_add_tab): * src/ephy-shell.c: (ephy_shell_get_toolbars_model): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor), (ephy_toolbar_editor_finalize), (ephy_toolbar_editor_set_property), (ephy_toolbar_editor_class_init): * src/ephy-toolbar.c: (ephy_toolbar_realize), (ephy_toolbar_unrealize), (ephy_toolbar_finalize): * src/ephy-toolbars-model.c: (update_flags), (ephy_toolbars_model_load): * src/ephy-window.c: (ephy_window_get_type), (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_key_press_event), (tool_item_enter_cb), (tool_item_leave_cb), (tool_item_drag_begin_cb), (connect_tool_item), (disconnect_tool_item), (disconnect_proxy_cb), (connect_proxy_cb), (update_chromes_actions), (show_embed_popup), (tab_added_cb), (tab_removed_cb), (ephy_window_set_chrome), (ephy_window_dispose), (ephy_window_class_init), (ephy_window_init), (ephy_window_finalize), (ephy_window_remove_tab), (ephy_window_set_zoom), (sync_prefs_with_chrome), (ephy_window_view_toolbar_cb): * src/ephy-window.h: Revision history: h18, released 2005/09/23, for Epiphany 1.8.0 * Just an update for 1.8.0. h17, released 2005/08/30, for Epiphany 1.7.6 or CVS HEAD * Mostly just an update for 1.7.6. * Topic menus on the toolbar now open without releasing the mouse button. * Topic menus on the toolbar are now also hierarchical (see if you like it. h16, released 2005/08/25, for Epiphany 1.7.5 or CVS HEAD * Just an update for 1.7.5. Sorry, I've been busy. :) h15, released 2005/07/19, for Epiphany 1.7.2 or CVS HEAD * Code cleanup h14, released 2005/07/9, for Epiphany 1.7.1 or CVS HEAD * Improved helpful tip when adding a bookmark * Improved toolbar context menu * Toolbar visibility state is now saved * Separated bookmark/topic action groups into separate files * Topics in the overflow menu now behave as submenus * Now importing old bookmarksbar, and saving to new filename * Incremented toolbar file format version number to 1.1 * Fixed the 'sticky' statusbar help * Fixed a crashing bug (dnd then open a topic on the toolbar) h13, released 2005/05/12, for CVS HEAD * Added middle-mouse drag-drop for the editable toolbar. * Fixed some warnings at compile and run time. * Added brief help for the user when adding a new bookmark. * Cleaned up the editable toolbar code a little. h12, released 2005/05/10, for CVS HEAD * Added new editing facilities for the editable toolbar. h11, released 2005/04/29, for CVS HEAD * Fixed bug in statusbar information for toolbar items. * Added an all-new 'Related' toolbar widget which changes to show the most related topic whenever a bookmark is activated. h10, released 2005/04/15, for Epiphany 1.6.2 or CVS HEAD * Added statusbar information for all toolbar items. * Empty toolbars are now only deleted when exiting edit mode. * Fixed regression of middle-click for bookmarks on toolbar. * Fixed regression of ellipsized bookmark names in menus. h9, released 2005/04/12, for Epiphany 1.6.1 * Updated patch for 1.6.1. Long time no see. * Now using EphyLink objects everywhere. h7, released 2004/10/21, for Epiphany 1.4.4 * Updated patch for 1.4.4. * Fixed bugs causing crashes when bookmarks were added (thanks Reinout). * Added "Open in Tabs" back into bookmark menus where suitable. h6, released 2004/09/20, for Epiphany 1.4.0 * Updated patch for 1.4.0. * Removed the bookmarks bar. * Generate shared XML string for bookmarks menu. * Slightly improve performance of node-cover code. * Delay adding bookmarks menu until it is first used. * Fixed bug(?) in ephy-node. h4, released 2004/08/08, for Epiphany 1.3.4 * Updated patch due to changes to topics selector. * Removed 'Most Visited' from the min-cover calculations. * Fixed Epiphany 1.3.4 bug where topics in selector aren't sorted. * Updated patch due to other changes in Epiphany 1.3.4 source. h3, released 2004/07/12, for Epiphany 1.3.2 * Simple update for Epiphany 1.3.2 h3, released 2004/05/24, for Epiphany 1.2.5 * Moved duplicated functions into a seperate file. * Improved topic selector. * Bookmarks toolbar topic menus now have subdivisions. * Topic names in menu now change if modified in the bookmarks editor. h2, released 2004/05/23, for Epiphany 1.2.5 * Significantly cleaned up the code. * 'Most Visited' no longer appears as a submenu. * Subtopics are selected much more intelligently, giving a better approximation to a true minimum cover. * Topic selector now shows suggestions with arrows, not bold font. h1, released 2004/05/19, for Epiphany 1.2.5 * Initial release.
* Exten the EphyLinkAction to attach a mouse-release-event handler whichPhilip Langdale2005-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-16 Philip Langdale <philipl@mail.utexas.edu> * src/ephy-link-action.c: (proxy_button_release_event_cb), (get_event_widget), (ephy_link_action_connect_proxy), (ephy_link_action_disconnect_proxy), (ephy_link_action_class_init), (ephy_link_action_get_type): Exten the EphyLinkAction to attach a mouse-release-event handler which turns around and calls gtk_action_activate in response to a middle-click even on the proxy. This allows us to fully encapsulate the extra work needed to catch middle clicks. The GoHome action will automatically start working correctly now that it is getting activated in this case. * src/ephy-navigation-action.c: (activate_by_history_index), (activate_back_or_forward_menu_item_cb), (ephy_navigation_action_activate), (ephy_navigation_action_class_init): Fully enscapsulate 'activate' handling inside the action. This is more consistent because the menus are already handled internally. Also add support for middle-click on back/forward/up. * src/ephy-toolbar.c: (ephy_toolbar_set_window): Don't attach 'activate' signal handlers to the navigate actions because activation is now handled internally to the action. I intend to make a followup change that removes the separate actions for GoUp/Back/Forward in the menu and replace them with the main actions already used in the toolbar. This means the menu items will get middle-click support for free. * lib/ephy-gui.c: (ephy_gui_is_middle_click): Only consider an unmodified middle-click to be a middle-click.
* Fix constness and don't strdup when returning early.Christian Persch2005-10-112-3/+3
| | | | | | | | 2005-10-10 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_shorten): Fix constness and don't strdup when returning early.
* Bring back ephy_string_shorten.Christian Persch2005-10-102-3/+55
| | | | | | | | | | | | | | | 2005-10-10 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_blank_chr), (ephy_string_shorten): * lib/ephy-string.h: Bring back ephy_string_shorten. * src/ephy-tab.c: (ephy_tab_file_monitor_cb), (ephy_tab_set_title): Shorten overlong tab titles, hard. Increase reload delay slightly. Strip whitespace from tab title before determining if it's empty.
* Search the needle in the haystack, not the other way 'round.Christian Persch2005-10-101-1/+1
| | | | | | | | 2005-10-09 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: Search the needle in the haystack, not the other way 'round.
* Fix logging.Christian Persch2005-10-101-1/+1
| | | | | | | | 2005-10-09 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: Fix logging.
* Fix logging.Christian Persch2005-10-101-1/+1
| | | | | | | | 2005-10-09 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: Fix logging.
* Fix profiling in builddir != srcdir builds.Christian Persch2005-10-091-33/+49
| | | | | | | | 2005-10-08 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: Fix profiling in builddir != srcdir builds.
* Ensure the images are loaded before starting to spin. Should fix crashesChristian Persch2005-10-091-7/+16
| | | | | | | | | * lib/widgets/ephy-spinner.c: (ephy_spinner_start), (ephy_spinner_dispose), (ephy_spinner_finalize), (ephy_spinner_class_init): Ensure the images are loaded before starting to spin. Should fix crashes on start/new tab.
* Add style properties for 'secure-[bg|fg]-color', and apply them when theChristian Persch2005-10-072-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-06 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_style_set), (ephy_location_entry_class_init), (ephy_location_entry_set_favicon), (ephy_location_entry_set_secure): * lib/widgets/ephy-location-entry.h: Add style properties for 'secure-[bg|fg]-color', and apply them when the entry is in 'secure' mode. Reset the IM context before emitting the 'activate' signal. * src/ephy-location-action.c: (sync_secure), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init): * src/ephy-toolbar.c: (ephy_toolbar_set_security_state), (ephy_toolbar_init): * src/ephy-toolbar.h: * src/ephy-window.c: (sync_chromes_visibility), (sync_tab_security): Set the location entry's 'secure' property on secure sites, and also always show the lock for secure sites.
* Use "position" property notification instead of size-allocate to monitorChristian Persch2005-10-031-5/+5
| | | | | | | | | | | | | | | | 2005-10-03 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-state.c: (paned_sync_position_cb), (ephy_state_add_paned): Use "position" property notification instead of size-allocate to monitor the paned's position. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Use resize=FALSE with gtk_paned_pack1. Fixes growing size of the left pane of the bookmarks editor by repeated opening.
* Remove unused code.Christian Persch2005-10-021-1/+3
| | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * lib/widget/ephy-spinner.c: Remove unused code.
* Don't include config.h here.Christian Persch2005-10-024-58/+362
| | | | | | | | | | | | | | | | | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.h: Don't include config.h here. * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_data_unload), (ephy_spinner_cache_data_load), (ephy_spinner_cache_data_new), (ephy_spinner_cache_data_free), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize), (ephy_spinner_load_images), (ephy_spinner_init), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_set_timeout), (ephy_spinner_finalize), (ephy_spinner_screen_changed), (ephy_spinner_class_init): Make spinner multihead safe. * lib/widgets/testspinner.c: Add a tiny spinner test program.
* Don't spin unmapped spinners. Slightly decrease the frequency. Might helpChristian Persch2005-10-021-4/+45
| | | | | | | | | | | 2005-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-spinner.c: (ephy_spinner_init), (ephy_spinner_start), (ephy_spinner_stop), (ephy_spinner_map), (ephy_spinner_unmap), (ephy_spinner_class_init): Don't spin unmapped spinners. Slightly decrease the frequency. Might help with bug #315232.
* Reset the IM context before activating the entry.Christian Persch2005-10-012-5/+10
| | | | | | | | | | | | | 2005-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb): Reset the IM context before activating the entry. * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb): * src/ephy-find-toolbar.c: (tab_search_key_press_cb): Add GDK_ISO_Enter to recognised keyvals.
* If the library path isn't absolute, look in the main extension dir, andCrispin Flowerday2005-09-252-1/+26
| | | | | | | | | | 2005-09-24 Crispin Flowerday <gnome@flowerday.cx> * lib/Makefile.am: * lib/ephy-module.c: (ephy_module_load): If the library path isn't absolute, look in the main extension dir, and then the users own extension directory
* Support "Library" argument.Christian Persch2005-09-241-1/+7
| | | | | | | | | 2005-09-23 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-shlib-loader.c: (impl_get_object) (ephy_shlib_loader_class_init): Support "Library" argument.
* Fix compile warnings.Christian Persch2005-09-221-2/+1
| | | | | | | | 2005-09-21 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: Fix compile warnings.
* New function to check the filename/directory for writability, derived fromChristian Persch2005-09-222-36/+5
| | | | | | | | | | | | | | | | | | 2005-09-21 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_check_location_writable): * lib/ephy-gui.h: New function to check the filename/directory for writability, derived from the now removed ephy_gui_confirm_overwrite_file. * src/bookmarks/ephy-bookmarks-editor.c: * embed/mozilla/FilePicker.cpp: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: Use the filechooser's stock confirm-overwrite checking, but we still need our own writability check.
* Only include execinfo.h if it exists.Christian Persch2005-08-301-0/+2
| | | | | | | | 2005-08-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: Only include execinfo.h if it exists.
* Check for execinfo.h. Fixes bug #314776.Christian Persch2005-08-301-0/+4
| | | | | | | | | 2005-08-29 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/ephy-debug.c: (trap_handler): Check for execinfo.h. Fixes bug #314776.
* Version 1.9.Christian Persch2005-08-294-35/+9
| | | | | | | | | | | | | | | | | | | | | | | | 2005-08-28 Christian Persch <chpe@cvs.gnome.org> * ChangeLog-20050828: * Makefile.am: * autogen.sh: * configure.ac: * data/Makefile.am: * data/epiphany-1.10.pc.in: * data/epiphany-1.8.pc.in: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * lib/ephy-dbus.c: (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_session_bus), (ephy_dbus_disconnect_bus): * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Version 1.9.
* Add an "add-page" signal to the EphyHistory object that can be used toCrispin Flowerday2005-08-281-0/+1
| | | | | | | | | | | | | | | | 2005-08-28 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-history.c: (ephy_history_class_init), (internal_get_host), (ephy_history_get_host), (ephy_history_add_host), (ephy_history_add_page), (impl_add_page): * embed/ephy-history.h: * lib/ephy-marshal.list: Add an "add-page" signal to the EphyHistory object that can be used to block urls from appearing in the history. Also make the ephy_history_get_host() function not create the EphyNode if it doesn't already exist.
* Change a g_return_if_fail into a regular return.Christian Persch2005-08-211-1/+1
| | | | | | | | 2005-08-21 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_launch_handler): Change a g_return_if_fail into a regular return.
* Remove "-s" argument which hasn't been supported for ages.Christian Persch2005-08-162-9/+130
| | | | | | | | | | | | | | | | | | 2005-08-15 Christian Persch <chpe@cvs.gnome.org> * data/GNOME_Epiphany_Automation.server.in: Remove "-s" argument which hasn't been supported for ages. * data/mime-types-permissions.xml: Add more mime types. * lib/ephy-gui.c: (ephy_gui_menu_position_under_widget), (ephy_gui_menu_position_on_toolbar): * lib/ephy-gui.h: Improve menu positioning on toolbar buttons.
* More gcc4 fixes.Christian Persch2005-08-131-1/+1
| | | | | | | | | 2005-08-13 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get): * lib/ephy-dnd.c: (ephy_dnd_drag_data_get): More gcc4 fixes.
* Add switch to disable focus fix, and to disable PSM. Error out if PSMChristian Persch2005-08-082-0/+10
| | | | | | | | | | | | | | | | | | | 2005-08-07 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Add switch to disable focus fix, and to disable PSM. Error out if PSM isn't found but --disable-psm not given. Should prevent accidental compilation without PSM. * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_entry): * lib/widgets/ephy-icon-entry.h: Add ephy_icon_entry_get_entry. * src/epiphany.defs: Updated python bindings.
* No need to add focus_width to borders anymore. Now we get the same heightChristian Persch2005-08-031-6/+0
| | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_borders): No need to add focus_width to borders anymore. Now we get the same height as a normal entry.
* Use the entry's style's [xy]thickness, not our own. Fixes rendering withChristian Persch2005-08-031-25/+33
| | | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_borders), (ephy_icon_entry_size_allocate): Use the entry's style's [xy]thickness, not our own. Fixes rendering with current Clearlooks engine.
* A lib/widgets/testiconentry.c: A lib/widgets/ephy-icon-entry.c: AChristian Persch2005-08-035-92/+524
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: A lib/widgets/testiconentry.c: A lib/widgets/ephy-icon-entry.c: A lib/widgets/ephy-icon-entry.h: New widget, looks like a GtkEntry with icons inside. * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_tooltip), (update_address_state), (match_selected_cb), (entry_clear_activate_cb), (entry_populate_popup_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_set_completion), (ephy_location_entry_set_location), (ephy_location_entry_get_location), (ephy_location_entry_reset), (ephy_location_entry_activate), (ephy_location_entry_get_entry), (ephy_location_entry_set_show_lock): Use EphyIconEntry. Fixes location entry drawing with new GNOME default theme (Clearlooks), and should also fix drawing with all themes, except those which draw inside-focus on entries even when the entry has no frame.
* Fix location entry favicon updating.Christian Persch2005-08-011-1/+3
| | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: Fix location entry favicon updating.
* Allow set-but-empty EPHY_DEBUG_BREAK variable.Christian Persch2005-07-311-1/+1
| | | | | | | | 2005-07-30 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: (trap_handler): Allow set-but-empty EPHY_DEBUG_BREAK variable.
* ALlow EPHY_DEBUG_BREAK even in non-debug builds.Christian Persch2005-07-301-17/+33
| | | | | | | | 2005-07-30 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-debug.c: (trap_handler), (ephy_debug_init): ALlow EPHY_DEBUG_BREAK even in non-debug builds.
* Unify bookmarks/smart bookmarks address resolution, and add a signal toChristian Persch2005-07-271-0/+1
| | | | | | | | | | | | | | | | | | | 2005-07-26 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * src/bookmarks/ephy-bookmark-action.c: (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_class_init), (impl_resolve_address), (ephy_bookmarks_resolve_address): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-topic-action.c: (menu_activate_cb), (open_in_tabs_activate_cb): * src/ephy-location-action.c: (action_activated_cb), (entry_activate_cb): * src/epiphany.defs: Unify bookmarks/smart bookmarks address resolution, and add a signal to EphyBookmarks for it.
* Fix ESC behaviour to always stop, and to reset the location entry whenChristian Persch2005-07-262-44/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-24 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_finalize), (update_address_state), (update_favicon), (editable_changed_cb), (entry_button_press_cb), (match_selected_cb), (entry_key_press_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_set_location), (ephy_location_entry_reset), (ephy_location_entry_set_favicon): * lib/widgets/ephy-location-entry.h: * src/ephy-location-action.c: (entry_activate_cb), (user_changed_cb), (sync_address), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_finalize), (ephy_location_action_set_address): * src/ephy-location-action.h: * src/ephy-lockdown.c: (update_location_editable): * src/ephy-tab.c: (ephy_tab_get_typed_address): * src/ephy-toolbar.c: (ephy_toolbar_set_location): * src/ephy-toolbar.h: * src/ephy-window.c: (ephy_window_key_press_event), (sync_tab_address), (ephy_window_set_active_tab), (modal_alert_cb): * src/epiphany.defs: * src/window-commands.c: (window_cmd_view_stop): Fix ESC behaviour to always stop, and to reset the location entry when it's focused only. Reset the location entry favicon to the stock icon when the address shown is != the tab's address. When switching tab, preserve the selection if it was owned by the location entry. Fixes bug #155824.
* Don't crash in case the desktop file is not found.Christian Persch2005-07-251-0/+1
| | | | | | | | 2005-07-25 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_launch_desktop_file): Don't crash in case the desktop file is not found.
* Remove stray g_print.Christian Persch2005-07-171-2/+0
| | | | | | | | 2005-07-17 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: Remove stray g_print.
* Check all selected nodes if they allow dragging.Christian Persch2005-07-121-1/+39
| | | | | | | | | | | | | | | | | | | 2005-07-11 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (check_node_is_drag_source), (can_drag_selection), (button_release_cb), (motion_notify_cb): Check all selected nodes if they allow dragging. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (key_pressed_cb): Don't allow to delete or rename local sites, or to put them on the bookmarks bar. * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): Fix capitalisation.
* Implement a way to disallow dragging from resp. dropping on certain nodes.Christian Persch2005-07-114-13/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-10 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node-common.h: * lib/ephy-node.c: (ephy_node_new_with_id), (ephy_node_signal_disconnect), (ephy_node_set_is_drag_source), (ephy_node_get_is_drag_source), (ephy_node_set_is_drag_dest), (ephy_node_get_is_drag_dest): * lib/ephy-node.h: * lib/widgets/ephy-node-view.c: (drag_motion_cb), (drag_data_received_cb): Implement a way to disallow dragging from resp. dropping on certain nodes. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-bookmarks.c: (save_filter), (save_filter_local), (ephy_bookmarks_save), (update_bookmark_keywords), (bookmark_is_categorized), (resolve_cb), (browse_cb), (ephy_local_bookmarks_init), (ephy_local_bookmarks_stop), (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_get_topic_uri), (ephy_bookmarks_find_keyword), (ephy_bookmarks_get_favorites), (ephy_bookmarks_get_local): * src/bookmarks/ephy-bookmarks.h: Implement "Local Sites" topic, filled with zeroconf-discovered bookmarks. Patch by Bastien Nocera, fixes bug #144969.
* Uppercase letters shouldn't breaks history autocompletion. Fix BugJean-François Rameau2005-07-101-2/+2
| | | | | | | | | 2005-07-09 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (completion_func): Uppercase letters shouldn't breaks history autocompletion. Fix Bug #308236.
* Don't leak windows.Christian Persch2005-07-081-1/+2
| | | | | | | | | 2005-07-07 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (new_pixbuf_from_widget), (new_separator_pixbuf): Don't leak windows.
* EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning).Jean-François Rameau2005-07-046-47/+49
| | | | | | | | | | | | | | | | | | | | | | | 2005-07-03 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-cookie-manager.h: EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning). * embed/ephy-favicon-cache.c: * lib/ephy-file-helpers.c: * lib/ephy-langs.c: * lib/ephy-node-db.c: * lib/ephy-node.c: * lib/ephy-state.c: * lib/egg/eggtraymanager.c: * src/ephy-extensions-manager.c: * src/ephy-main.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-window.c: Fixes more signed/unsigned problems with gcc 4.0.