1. 30 Aug, 2018 1 commit
    • Adrián Pérez de Castro's avatar
      First pass at improving reader mode styling · 301ac606
      Adrián Pérez de Castro authored
      The following fonts are used for reader mode:
      
      - Merriweather (both the serif and sans variants) for text and titles.
      - Adobe Source Pro for monospaced/preformatted text content.
      
      A copy of the fonts is included and used as Web fonts. The CSS rules
      are designed to match locally installed copies first, thus avoiding
      the need for WebKit to fetch them from the bundled resources when
      available in the system. The fonts are distributed under the terms of
      the SIL OFL license.
      
      On addition to the existing styling, a dark variant is provided as
      well. Chosing the colorscheme is achieved by setting the "light" or
      "dark" class in the <body> element. Whether to use the serif or
      sans-serif font variant is chosen similarly using the "sans" and
      "serif" CSS classes.
      
      This adds two settings as well in a new org.gnome.Epiphany.reader
      scheme, which for now can be set using external tools like dconf Editor
      or the gsettings command line tools:
      
      - font-style: Chooses between sans-serif and serif font.
      - color-scheme: Chooses between light or dark background.
      
      For the moment the settings are read only when reader mode is activated.
      301ac606
  2. 28 Jun, 2018 1 commit
  3. 06 Aug, 2017 1 commit
  4. 05 Feb, 2017 1 commit
    • Carlos Garcia Campos's avatar
      Allow to have different settings in web applications · 7f065b1c
      Carlos Garcia Campos authored
      Make org.gnome.Epiphany.web schema relocatable to be used by web apps.
      Settings in org.gnome.Epiphany.web schema are now per web app, allowing
      users to have different settings in the main epiphany instance and in
      every web applications installed. Newly created web apps inherit the
      settings from the main instance. To make this possible I also had to
      move some of the settings:
      
       - user-agent, remember-passwords and enable-smooth-scrolling has been
         moved from the main schema to web. The profile migrator will copy the
         values from the main schema to the web one. Settings are not actually
         moved, but copied marking the old ones as deprecated.
      
       - adblock-filters has been moved from web to main schema, because it's
         actually shared, web apps use the default profile filters. This is
         not migrated because it's very recent setting and probably everybody
         is using the default value anyway since it's not exposed in the UI
         yet.
      
      When the profile migrator is run for the main ephy instance, we simply
      copy the values of the deprecated settings to its new location. When
      it's run for a web app we copy the settings from the main profile. If
      the migrator was not run for the main profile yet, we use the deprecated
      values instead. This way web apps will be ensured to have the same
      settings.
      The app menu for web applications includes now the preferences item to
      show the preferences dialog. The dialog is the same as the main one,
      but with with the global options hidden.
      This patch also removes ephy_settings_ensure_schema_for_path() and
      relocatable schemas are configured automatically based on the current
      profile dir, making it less error prone.
      7f065b1c
  5. 31 Jan, 2017 1 commit
    • Carlos Garcia Campos's avatar
      Save state of web apps in their own gsettings path · 9e305eb9
      Carlos Garcia Campos authored
      Make the org.gnome.Epiphany.state schema relocatable and set a specific
      path for web apps, or use the default one otherwise. This ensures that
      web apps don't write their window geometry to the general settings and
      every web app can have its own geometry no matter what window was last
      closed.
      9e305eb9
  6. 08 Oct, 2016 1 commit
  7. 11 Sep, 2016 2 commits
  8. 08 Feb, 2016 1 commit
    • Michael Catanzaro's avatar
      Remove vestiges of public API · 18dc1e1f
      Michael Catanzaro authored
      It's been gone for years, and it's not coming back. If we support
      extensions in the future, it would be via the WebExtensions API.
      
      This makes me less annoyed by having to maintain a meaningless
      distinction between installed and non-installed header files (it's been
      years since any headers were installed). It also makes me less annoyed
      by having to look at meaningless direct-inclusion guards. And finally,
      it makes me less annoyed because each time I see those direct-inclusion
      guards, I think of how they really ought to be inside the normal include
      guards, rather than outside, to avoid breaking GCC and Clang's
      optimization to avoid unnecessarily reading the contents of the header
      file. (WebKit gets this wrong, too.) You can thank me if this makes
      Epiphany compile 0.1s or so faster for you.
      
      There are no useful changes in this commit.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=761698
      18dc1e1f
  9. 07 Dec, 2015 1 commit
  10. 08 Oct, 2010 1 commit
  11. 25 Jan, 2009 1 commit
  12. 16 Jan, 2009 1 commit
  13. 12 Apr, 2008 1 commit
  14. 11 Mar, 2007 1 commit
  15. 13 Sep, 2006 1 commit
  16. 19 Dec, 2004 2 commits
  17. 25 Nov, 2004 1 commit
    • Christian Persch's avatar
      Check for iso-codes package. · 7ee1915e
      Christian Persch authored
      2004-11-25  Christian Persch  <chpe@cvs.gnome.org>
      
      	* configure.ac:
      
      	Check for iso-codes package.
      
      	* data/glade/prefs-dialog.glade:
      	* lib/ephy-langs.c: (ephy_langs_bind_iso_domains),
      	(read_iso_639_entry), (read_iso_3166_entry), (load_iso_entries),
      	(ephy_langs_iso_639_table), (ephy_langs_iso_3166_table):
      	* lib/ephy-langs.h:
      
      	Load language and locales list from iso-codes package, if available.
      
      	* src/prefs-dialog.c: (prefs_dialog_finalize),
      	(add_lang_dialog_selection_changed), (add_lang_dialog_response_cb),
      	(get_name_for_lang_code), (add_system_language_entry),
      	(setup_add_language_dialog), (create_language_section):
      
      	If the iso-codes package is available, use that to translate
      	language names and offer a wider variety of languages.
      	Fixes bug #155498.
      7ee1915e
  18. 07 Nov, 2004 1 commit
    • Christian Persch's avatar
      Show language code in the string in languages editor. Fixes bug #115355. · 7c1faa92
      Christian Persch authored
      2004-11-07  Christian Persch  <chpe@cvs.gnome.org>
      
      	* data/epiphany.schemas.in:
      	* embed/mozilla/mozilla-notifiers.cpp:
      	* lib/ephy-langs.c: (ephy_font_n_languages), (ephy_langs_sanitise),
      	(ephy_langs_append_languages), (ephy_langs_get_languages):
      	* lib/ephy-langs.h:
      	* src/prefs-dialog.c: (add_system_language_entry),
      	(setup_add_language_dialog), (create_language_section):
      
      	Show language code in the string in languages editor. Fixes bug #115355.
      7c1faa92
  19. 17 Oct, 2003 1 commit
    • Christian Persch's avatar
      Encoding menu improvements, Part 4: The Rewrite. · 0e078cd9
      Christian Persch authored
      2003-10-18  Christian Persch  <chpe@cvs.gnome.org>
      
      	Encoding menu improvements, Part 4:
      	The Rewrite.
      
      	* data/glade/epiphany.glade:
      	* data/ui/epiphany-ui.xml:
      	* data/ui/nautilus-epiphany-view.xml.in:
      	* embed/Makefile.am:
      	* embed/ephy-embed-shell.c: (ephy_embed_shell_init),
      	(ephy_embed_shell_finalize), (ephy_embed_shell_new),
      	(ephy_embed_shell_get_encodings):
      	* embed/ephy-embed-shell.h:
      	* embed/ephy-embed-utils.c: (ephy_embed_utils_save):
      	* embed/ephy-embed-utils.h:
      	* embed/ephy-embed.c: (ephy_embed_get_encoding_info):
      	* embed/ephy-embed.h:
      	* embed/ephy-encodings.c: (ephy_encodings_get_type),
      	(ephy_encodings_finalize), (ephy_encodings_class_init),
      	(ephy_encodings_get_node), (ephy_encodings_get_encodings),
      	(ephy_encodings_get_detectors), (ephy_encodings_get_all),
      	(ephy_encodings_get_categories), (ephy_encodings_add_recent),
      	(ephy_encodings_get_recent), (ephy_encodings_init),
      	(ephy_encoding_info_free), (ephy_encodings_new):
      	* embed/ephy-encodings.h:
      	* embed/mozilla/EphyWrapper.cpp:
      	* embed/mozilla/EphyWrapper.h:
      	* embed/mozilla/Makefile.am:
      	* embed/mozilla/mozilla-embed.cpp:
      	* embed/mozilla/mozilla-notifiers.cpp:
      	* lib/Makefile.am:
      	* lib/ephy-encodings.c:
      	* lib/ephy-encodings.h:
      	* lib/ephy-langs.c: (ephy_font_languages), (ephy_font_n_languages):
      	* lib/ephy-langs.h:
      	* src/Makefile.am:
      	* src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type),
      	(setup_filter), (sync_embed_cb), (sync_active_tab),
      	(ephy_encoding_dialog_set_window), (activate_choice),
      	(activate_automatic), (ephy_encoding_dialog_response_cb),
      	(category_node_selected_cb), (view_node_selected_cb),
      	(view_node_activated_cb), (ephy_encoding_dialog_init),
      	(ephy_encoding_dialog_finalize),
      	(ephy_encoding_dialog_set_property),
      	(ephy_encoding_dialog_get_property),
      	(ephy_encoding_dialog_class_init), (ephy_encoding_dialog_new):
      	* src/ephy-encoding-dialog.h:
      	* src/ephy-encoding-menu.c: (ephy_encoding_menu_init),
      	(sort_encodings), (add_menu_item), (update_encoding_menu_cb),
      	(encoding_activate_cb), (add_action),
      	(ephy_encoding_menu_view_dialog_cb),
      	(ephy_encoding_menu_automatic_cb), (ephy_encoding_menu_set_window),
      	(ephy_encoding_menu_finalize), (ephy_encoding_menu_class_init),
      	(ephy_encoding_menu_new):
      	* src/ephy-nautilus-view.c: (gnv_bonobo_control_activate_cb),
      	(gnv_cmd_select_encoding), (gnv_cmd_edit_find):
      	* src/ephy-window.c: (ephy_window_set_active_tab),
      	(setup_notebook), (ephy_window_set_property),
      	(ephy_window_get_property), (ephy_window_class_init):
      	* src/language-editor.h:
      	* src/pdm-dialog.c: (setup_passwords_treeview),
      	(setup_cookies_treeview):
      	* src/prefs-dialog.c: (prefs_dialog_finalize),
      	(get_current_language_code), (fonts_language_info_cmp),
      	(create_fonts_language_menu), (find_encoding_in_list_cmp),
      	(sort_encodings), (create_optionmenu), (prefs_dialog_init):
      
      	Made encodings menu dynamic, containing recently used items + items
      	related to the currently active encoding. Split encodings out as a
      	embed shell service, port all users over to that. Harvest all encoding
      	info we can get from mozilla.
      0e078cd9
  20. 13 Oct, 2003 1 commit
    • Christian Persch's avatar
      Encodings menu improvements, part 3: Refactored the encodings list; it no · 442741fc
      Christian Persch authored
      2003-10-13  Christian Persch  <chpe@cvs.gnome.org>
      
      	* embed/ephy-embed-single.c: (ephy_embed_single_free_passwords):
      	* embed/ephy-embed-single.h:
      	* embed/ephy-embed-utils.c:
      	(ephy_embed_utils_build_encodings_submenu):
      	* embed/mozilla/mozilla-embed-single.cpp:
      	* embed/mozilla/mozilla-notifiers.cpp:
      	* lib/Makefile.am:
      	* lib/ephy-encodings.c: (ephy_encoding_info_free),
      	(encodings_info_cmp), (ephy_encodings_get_list):
      	* lib/ephy-encodings.h:
      	* lib/ephy-langs.c: (ephy_lang_group_info_free),
      	(lang_group_info_cmp), (ephy_lang_get_group_list),
      	(fonts_language_info_cmp), (ephy_font_langs_get_codes_list),
      	(ephy_font_langs_get_list):
      	* lib/ephy-langs.h:
      	* po/POTFILES.in:
      	* src/ephy-encoding-menu.c: (ephy_encoding_menu_set_window),
      	(ephy_encoding_menu_rebuild):
      	* src/prefs-dialog.c: (prefs_dialog_finalize),
      	(get_current_language_code), (create_fonts_language_menu),
      	(default_encoding_menu_changed_cb), (find_encoding_in_list_cmp),
      	(create_default_encoding_menu):
      
      	Encodings menu improvements, part 3: Refactored the encodings
      	list; it no longer is neccessary to have it in the embed single.
      	Ported all callers to new infrastructure.
      442741fc
  21. 13 Jul, 2003 1 commit
    • Marco Pesenti Gritti's avatar
      · 9f70e82e
      Marco Pesenti Gritti authored
      2003-07-13  Marco Pesenti Gritti  <marco@it.gnome.org>
      
      	* Makefile.am:
      	* configure.in:
      	* embed/Makefile.am:
      	* embed/ephy-embed-shell.c: (ephy_embed_shell_get_favicon_cache),
      	(impl_get_downloader_view):
      	* embed/ephy-embed-shell.h:
      	* embed/ephy-embed-single.c:
      	* embed/ephy-embed-single.h:
      	* embed/mozilla/ProgressListener.cpp:
      	* embed/mozilla/mozilla-embed.cpp:
      	* lib/Makefile.am:
      	* lib/ephy-langs.h:
      	* lib/ephy-node.c: (unref_signal_objects),
      	(ephy_node_signal_connect_object):
      	* plugins/Makefile.am:
      	* plugins/sample/Makefile.am:
      	* plugins/sample/sample.c: (bmk_added), (bmk_removed),
      	(bmk_changed), (switch_page_cb), (window_focus_in_cb),
      	(location_changed_cb), (tab_added_cb), (new_window_cb),
      	(plugin_init):
      	* src/Makefile.am:
      	* src/bookmarks/Makefile.am:
      	* src/bookmarks/ephy-bookmark-action.c:
      	(ephy_bookmark_action_sync_icon):
      	* src/bookmarks/ephy-bookmark-properties.c: (set_window_icon),
      	(ephy_bookmark_properties_init):
      	* src/bookmarks/ephy-bookmarks-editor.c: (provide_favicon),
      	(ephy_bookmarks_editor_init):
      	* src/bookmarks/ephy-bookmarks.c: (update_favorites_menus):
      	* src/bookmarks/ephy-topic-action.c: (build_bookmarks_menu):
      	* src/ephy-automation.c: (impl_ephy_automation_loadurl),
      	(impl_ephy_automation_quit), (impl_ephy_automation_load_session):
      	* src/ephy-favicon-action.c: (ephy_favicon_action_init):
      	* src/ephy-history-window.c: (confirmation_dialog_response_cb),
      	(provide_favicon):
      	* src/ephy-location-action.c: (connect_proxy):
      	* src/ephy-notebook.c: (sync_icon):
      	* src/ephy-shell.c: (ephy_shell_get_active_window),
      	(ephy_shell_get_session), (ephy_shell_get_autocompletion),
      	(ephy_shell_get_toolbars_model):
      	* src/ephy-shell.h:
      	* src/ephy-tab.c: (ephy_tab_net_state_cb), (ephy_tab_init),
      	(ephy_tab_get_action):
      	* src/ephy-tab.h:
      	* src/ephy-tabs-menu.c: (ephy_tabs_menu_update):
      	* src/ephy-window.c: (ephy_window_fullscreen),
      	(ephy_window_unfullscreen), (sync_tab_icon), (ephy_window_init),
      	(remove_from_session), (ephy_window_get_active_tab):
      9f70e82e
  22. 11 Jun, 2003 1 commit
  23. 29 May, 2003 1 commit
    • Christian Persch's avatar
      Sort the lists of encoding autodetectors and of fonts languages. · 3893baea
      Christian Persch authored
      2003-05-29  Christian Persch  <chpe@cvs.gnome.org>
      
      * lib/ephy-langs.h:
      * data/glade/prefs-dialog.glade:
      * src/prefs-dialog.c: (autodetector_info_free), (prefs_dialog_finalize),
      (get_current_language_code), (setup_font_menu), (setup_size_control),
      (fonts_language_info_cmp), (create_fonts_language_menu),
      (autodetect_encoding_menu_changed_cb), (autodetector_info_cmp),
      (find_autodetector_info), (create_encoding_autodetectors_menu),
      (prefs_dialog_init):
      
      Sort the lists of encoding autodetectors and of fonts languages.
      
      * data/epiphany.schemas.in:
      
      Document the possible values for the encoding autodetectors.
      
      * embed/mozilla/mozilla-notifiers.cpp: (mozilla_notifiers_init),
      (mozilla_default_encoding_notifier),
      (mozilla_autodetect_encoding_notifier):
      
      Adapted for the changes in the prefs dialog.
      The default encoding notifier now propagates the setting to mozilla :)
      3893baea
  24. 28 May, 2003 1 commit
  25. 26 May, 2003 1 commit
    • Christian Persch's avatar
      Refactored the charset and language groups strings. · 3f91d766
      Christian Persch authored
      2003-05-26  Christian Persch  <chpe@cvs.gnome.org>
      
      * embed/mozilla/mozilla-i18n.h:
      * embed/mozilla/mozilla-i18n.c:
      * embed/mozilla/mozilla-embed-single.c: (fill_charsets_list),
      (impl_get_charset_titles):
      * embed/mozilla/mozilla-notifiers.c: (mozilla_notifiers_init):
      * lib/ephy-langs.h:
      * src/prefs-dialog.c: (setup_font_menu):
      
      Refactored the charset and language groups strings.
      3f91d766
  26. 30 Dec, 2002 1 commit