aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Port downloads to WebKit2Carlos Garcia Campos2012-06-271-21/+91
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678612
* embed: Move about handlers to a new fileCarlos Garcia Campos2012-06-261-1/+1
| | | | | Leaving in ephy-request-about only the code specific to the soup feature implementation.
* ephy-download-widget: add get_destination_basename_from_download() helper ↵Carlos Garcia Campos2012-06-261-11/+26
| | | | function
* ephy-download-widget: add ephy_download_widget_download_finished()Carlos Garcia Campos2012-06-252-23/+33
| | | | | It makes easier to check whether download finished, and it's compatible with WebKit2.
* Initial WebKit2 portCarlos Garcia Campos2012-06-214-0/+78
| | | | It builds and basic functionality works.
* ephy-location-entry: make it possible to hide the faviconClaudio Saavedra2012-06-202-3/+42
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678405
* e-history-service: print db file when open failsDiego Escalante Urrelo2012-06-151-1/+1
|
* e-web-app-utils: warn when app dir already existsDiego Escalante Urrelo2012-06-151-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673271
* e-file-helpers: Add ephy_file_create_data_uri_for_filename()Carlos Garcia Campos2012-06-142-0/+53
| | | | | | | It creates a data URI for the given filename. Use the new function when building error and applications pages. https://bugzilla.gnome.org/show_bug.cgi?id=677025
* ephy-download-widget: Show bytes downloaded when the total size is unknownCarlos Garcia Campos2012-06-141-20/+54
|
* ephy-download-widget: Check the icon has changed before updating the imageCarlos Garcia Campos2012-06-131-3/+6
|
* ephy-download-widget: Don't leak the GIconCarlos Garcia Campos2012-06-131-5/+17
|
* ephy-profile-utils: fix memory leakPavel Vasin2012-06-121-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-location-entry: make parameters actual propertiesClaudio Saavedra2012-06-051-0/+112
| | | | | | So that they are bindable. https://bugzilla.gnome.org/show_bug.cgi?id=675804
* e-web-app-utils: warn when cookies are unavailableDiego Escalante Urrelo2012-05-271-0/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673270
* e-file-helpers: simplify ephy_file_get_downloads_dirDiego Escalante Urrelo2012-05-241-7/+14
| | | | | | | Better explain the logic of the function and reorder the conditions. This makes ~/Downloads the fallback instead of ~/Desktop. https://bugzilla.gnome.org/show_bug.cgi?id=673337
* Remove check for negative unsigned intsLubomír Sedlář2012-05-211-2/+0
| | | | | | | Unsigned integer can not be negative, therefore it is redundant to check whether it is greater than or equal to zero. https://bugzilla.gnome.org/show_bug.cgi?id=675888
* Add support for 'Do Not Track'Xan Lopez2012-05-191-0/+1
| | | | | | | If the org.gnome.Epiphany.web.do-not-track setting is enabled, we'll send the DNT: 1 header with every outbound request we make. See http://donottrack.us/ for more details.
* ephy-profile-utils: use absolute path for build dirXan Lopez2012-05-162-7/+7
| | | | That way we can run the tests from any directory in debug mode.
* ephy-profile-utils: tweak migrator location codeXan Lopez2012-05-161-7/+6
| | | | | | The path to the just built migrator is known at compile time, so no need to create strings at runtime. Also, share the name of the binary itself to avoid silly bugs like last time.
* ephy-profile-utils: fix migrator binary nameXan Lopez2012-05-101-1/+1
| | | | Mistakenly changed it to use underscores.
* Remove a few more egg leftoversXan Lopez2012-05-102-2/+0
|
* tests: test that trying to run an invalid migration step failsXan Lopez2012-05-103-10/+33
|
* ephy-profile-migrator: allow to run just one migration stepXan Lopez2012-05-101-7/+53
| | | | Use --do-step/-d and an index.
* ephy-profile-utils: make ephy_profile_utils_do_migration more verbose on failureXan Lopez2012-05-092-5/+8
| | | | So we can properly test it.
* Remove ephy-marshal.list, we don't use it anymoreXan Lopez2012-05-091-20/+0
|
* ephy-web-app-utils: remove unused variableXan Lopez2012-05-091-4/+0
|
* lib/egg: type builtins are not used eitherXan Lopez2012-05-091-66/+1
|
* lib/egg: remove some leftoversXan Lopez2012-05-093-71/+2
|
* ephy-web-app-utils: remove dummy toolbar XML fileXan Lopez2012-05-091-17/+0
| | | | | We don't use XML files to create our toolbars anymore, so this is not needed.
* ephy-profile-migrator: migrate Web Applications to new profile locationXan Lopez2012-05-092-2/+87
| | | | | | | | | | We need to update their desktop files (they had references to the profile directory) and the symlink of the .desktop file in the Shell applications directory. It would be much easier to just delete and re-add the applications, but unfortunately that would wipe out the existing profile data in the apps (like cookies).
* ephy-web-app-utils: add the desktop file name to EphyWebApplicationXan Lopez2012-05-092-0/+4
| | | | | It's quite cumbersome to re-construct from its name and URL, so just add it here. We'll use it to migrate the profile data.
* Move ephy-web-app-utils to lib/Xan Lopez2012-05-093-0/+557
| | | | | | We are going to use it in the profile migrator, so it needs to be there. Besides, this code just deals with plain data in the profile and application dir, so it makes sense for it to be here.
* ephy-profile-migrator: better safe than sorry in history migrationXan Lopez2012-05-091-11/+9
| | | | Do nothing if the destination history file already exists.
* ephy-profile-migrator: migrate the profile dir location before anything elseXan Lopez2012-05-091-4/+4
| | | | | Otherwise we'll read the .migrated file *before* we move the old profile. Not OK, it will make us start from scratch all the migration
* ephy-history: remove spurious castingsClaudio Saavedra2012-05-083-3/+3
|
* ephy-history-service: trim query strings to avoid reaching sqlite limitClaudio Saavedra2012-05-086-3/+19
| | | | | | | Sqlite limits the length of a LIKE pattern to 50000 bytes, therefore we need to make sure that longer strings are not used as queries. https://bugzilla.gnome.org/show_bug.cgi?id=674848
* Based on a patch by Jon McCann.Xan Lopez2012-05-083-6/+65
| | | | | | Migrate profile directory to XDG config dir https://bugzilla.gnome.org/show_bug.cgi?id=522810
* Allow for more fine-grained file helpers initXan Lopez2012-05-083-10/+20
| | | | | | | | | | Since we are about to migrate our profile dir, allow file helpers init to not ensure the profile dir exists (it was hardcoded until now). For this we get rid of the ugly boolean parameters and add a flags parameter, which preserves the old behaviors and allows for this new option. We update all the callers in the tree.
* ephy-profile-utils: split profile migration from EphyShellXan Lopez2012-05-082-0/+19
| | | | | Call it directly from main, since we want it to happen before the file helpers initialization.
* Drop the use of GTK accel mapsWilliam Jon McCann2012-05-082-39/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=674870
* e-file-helpers: unset EPHY_UUID_ENVVAR on shutdownDiego Escalante Urrelo2012-04-301-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673337
* e-file-helpers: improve ephy_file_tmp_filename commentDiego Escalante Urrelo2012-04-221-5/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673337
* Add an option to never show the tabs barXan Lopez2012-04-161-1/+2
| | | | We'll use this when we land the Overview.
* Create a new 'tabs-bar-visibility-policy' settingXan Lopez2012-04-163-7/+30
| | | | | | We need this to be an enum, since we'll a third option in the future for the Overview (to never show the tabs bar). For now just add the two values we have now and migrate the code and the user data.
* ephy-embed-single: introspection fixesXan Lopez2012-04-141-2/+2
|
* Add a 'crashed' option to the session restore policyXan Lopez2012-04-121-1/+2
| | | | | | | | | With this policy the session will only be restored if the application has exited unexpectedly, but not if the user manually closes it. There are no code changes needed for this to work, having a (valid) different value than always/never in the setting makes things just work.
* ephy-prefs: use new coding styleXan Lopez2012-04-121-77/+78
|
* Add a setting to control whether the session is automatically restoredXan Lopez2012-04-121-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We add a new gsettings key, 'restore-session-policy', with two valid values: 'always' and 'never'. A brief explanation of our session state mechanism follows. There are three ways to exit Epiphany: 1) Activate 'Quit' in the application menu 2) Close the last application window 3) Kill the process manually, SIGSEGV, or other similar unexpected event. For 1) and 2), we'll now do the same thing: a) Call ephy_session_close b) Exit the application manually ephy_session_close will check the new restore-session-policy setting, and only save the session state if it's set to 'always'. Before it used to manually destroy all present windows. We now let EphyShell or EphyWindow do this, EphySession only manages the session state saving. For 3), the process will die with the state saved up to that point, there's nothing we can do. For that reason, on startup also check the new setting; if it's set to 'never' ignore the session state, open a window in the homepage, and delete the old state file. https://bugzilla.gnome.org/show_bug.cgi?id=673453
* e-file-helpers: catch GErrors in switch_temp_fileDiego Escalante Urrelo2012-04-111-12/+41
| | | | | | | The GFile API provides useful error messages, print them when any operation fails to aid debugging. https://bugzilla.gnome.org/show_bug.cgi?id=673666
* e-file-helpers: remove old dirs from ephy_fileDiego Escalante Urrelo2012-04-111-6/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673665
* e-file-helpers: prevent invalid enumerator and return valueDiego Escalante Urrelo2012-04-071-2/+2
| | | | | | | | | | Invalid enumerators can be returned even when no GError is set. Check if the enumerator is non-NULL before proceeding, and adjust the default return value so it is not TRUE when g_file_enumerate_children fails. https://bugzilla.gnome.org/show_bug.cgi?id=673337
* e-file-helpers: remove ephy_file_add_recent_itemDiego Escalante Urrelo2012-04-072-20/+0
| | | | | | It's a two-line save, and there are no users of this API. https://bugzilla.gnome.org/show_bug.cgi?id=673337
* e-file-helpers: fix weird spacingDiego Escalante Urrelo2012-04-021-1/+1
|
* e-file-helpers: missing Returns: in commentDiego Escalante Urrelo2012-04-021-0/+2
|
* e-location-entry: make aligment pixel-perfectDiego Escalante Urrelo2012-03-311-0/+59
| | | | | | | | | | | Align the elements of the GtkEntryCompletion popup with those in the location entry. The code comes with a detailed comment and a scheme of how the aligment is done now. Because of the unhandled pixels of GtkEntryCompletion, this code might need an update if anything in GTK+ or Adwaita changes. https://bugzilla.gnome.org/show_bug.cgi?id=672927
* e-location-entry: dim URL in completion rowsDiego Escalante Urrelo2012-03-311-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672927
* e-location-entry: redundant ellipsize-setDiego Escalante Urrelo2012-03-311-4/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672927
* e-location-entry: make bookmark icon follow-stateDiego Escalante Urrelo2012-03-311-0/+1
| | | | | | | Makes the symbolic-icon of the completion rows change its color accordingly to the selection state. With Adwaita: black -> white. https://bugzilla.gnome.org/show_bug.cgi?id=672927
* Remove the 'disable-menubar' optionXan Lopez2012-03-301-1/+0
| | | | Since we don't have one anymore.
* Remove 'show-boomkarks-bar' optionXan Lopez2012-03-301-1/+0
| | | | Since we don't have one anymore.
* history-service: remove unnecessary type castClaudio Saavedra2012-03-291-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672926
* history-service: remove unused variablesClaudio Saavedra2012-03-292-3/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672926
* Rip out the EggSMClient codeXan Lopez2012-03-286-2403/+0
| | | | The brave new world is to use the session support in GtkApplication.
* Use glib resources to bundle our UI filesXan Lopez2012-03-282-8/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672907
* ephy-hosts-store: listen to favicon changes in the wk databaseClaudio Saavedra2012-03-271-2/+66
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672525
* download-widget: use the "linked" style classCosimo Cecchi2012-03-271-0/+4
| | | | | | | Link the glow and the menu buttons together by using a "linked" style class on the box containing them. https://bugzilla.gnome.org/show_bug.cgi?id=672712
* profile-migrator: do not freak out if the history is emptyXan Lopez2012-03-211-4/+6
| | | | | | | If the old history file exists but has no actual visits we'll enter into an infinite loop. https://bugzilla.gnome.org/show_bug.cgi?id=672547
* ephy-hosts-store: -1 is not a valid insertion positionClaudio Saavedra2012-03-211-1/+1
|
* ephy-history-window: add back the faviconsClaudio Saavedra2012-03-213-5/+74
| | | | | | | | Use the new webkit favicon database for favicons here. This might not work perfectly, but that's a webkitgtk issue, see https://bugs.webkit.org/show_bug.cgi?id=81665 https://bugzilla.gnome.org/show_bug.cgi?id=672480
* Fix distcheckXan Lopez2012-03-142-5/+7
| | | | | | | | | | Most data files are listed through EXTRA_DIST, so they are left in the top srcdir during VPATH builds. The new EphyWebView unit test needs data/pages/error.html, so distcheck was broken because ephy_file ("error.html") was failing since it looked for them in $pwd/data. To fix this, look for files in the top srcdir instead of $pwd/data, which will lead to the builddir data data dir during distcheck.
* floating-bar: set a max-width to the labelCosimo Cecchi2012-03-141-1/+2
| | | | | | | | We don't want the floating bar to extend without boundaries in the available size, since some hyperlinks can be very long (and make the bar cover the whole screen). https://bugzilla.gnome.org/show_bug.cgi?id=671520
* history: remember visit typesXan Lopez2012-03-143-8/+15
| | | | | | | Instead of hardcoding all visits as 'TYPED' properly distinguish between bookmarks, following links and typing URIs in the entry. We'll use this to compute the frecency of history items.
* history: generate gtypes for the history typesXan Lopez2012-03-141-0/+62
|
* lib: link to the internal libraries instead of copying source filesXan Lopez2012-03-141-22/+4
|
* ephy-history-service: make the async API cancellableClaudio Saavedra2012-03-133-41/+78
| | | | | | | | | | | The main purpose of the cancellable API in ephy-history-service is to let the user notify when the results of the operation are no longer needed and the callback call can be omitted. Since performing a read operation, in such cases, makes no sense, we cancel them altogether. However, given the nature of the service, we don't cancel write operations. https://bugzilla.gnome.org/show_bug.cgi?id=671901
* ephy-history-view: add row-middle-clicked signalClaudio Saavedra2012-03-132-0/+74
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671635
* ephy-history-service: Give me a break!Priit Laes2012-03-091-0/+1
| | | | | Signed-off-by: Priit Laes <plaes@plaes.org> Reviewed-by: Xan Lopez <xan@igalia.com>
* ephy-history-service: plug a few more leaksClaudio Saavedra2012-03-082-0/+4
|
* ephy-history-window: plug a couple of leaksClaudio Saavedra2012-03-082-2/+2
|
* ephy-history-service: add API to query for hostsClaudio Saavedra2012-03-084-2/+156
| | | | | By now, the public API only supports filtering by time range, but filtering by string matching is also possible.
* ephy-history-service: execute_get_hosts() should return TRUEClaudio Saavedra2012-03-081-1/+1
| | | | If there are no hosts, that's not a failure, so return TRUE instead.
* ephy-hosts-view: ensure "all hosts" is selected by defaultClaudio Saavedra2012-03-081-14/+28
| | | | | | If no host can be selected, always select the "all hosts" row. https://bugzilla.gnome.org/show_bug.cgi?id=671575
* ephy-host-store: add a clear() methodClaudio Saavedra2012-03-082-0/+14
| | | | | | | This adds always a default item "All sites" which, when selected, will show all urls in all hosts. https://bugzilla.gnome.org/show_bug.cgi?id=671575
* ephy-history-service-hosts-table: init host to NULLDiego Escalante Urrelo2012-03-081-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671594
* ephy-history-view: remove unneeded unselect_all()Claudio Saavedra2012-03-081-2/+1
| | | | | This breaks selection in _BROWSE mode, and we don't really need it anyway.
* ephy-hosts-view: add a method to select a given hostClaudio Saavedra2012-03-082-0/+34
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671559
* ephy-history-service: remove orphan hosts from databaseClaudio Saavedra2012-03-083-0/+27
| | | | | | | After removing all the urls in a host, we don't need that host anymore. https://bugzilla.gnome.org/show_bug.cgi?id=671559
* ephy-history-service: validate parameters of public methodsXan Lopez2012-03-071-33/+77
|
* ephy-history-service-urls-table: do not g_assert on inputXan Lopez2012-03-071-4/+4
| | | | Simply bail out and don't crash the browser.
* ephy-hosts-store: sort the model by URLClaudio Saavedra2012-03-071-0/+3
| | | | | This puts "Others" to the beginning of the list and the rest alphanumerically sorted.
* ephy-history-view: properly handle button-press-eventClaudio Saavedra2012-03-071-8/+6
| | | | | So that it doesn't trigger a double-click in the first press. Use a handler instead of connecting to the signal.
* ephy-history-window: correctly handle 2 and 10 days of historyXan Lopez2012-03-071-0/+1
|
* ephy-prefs: correct the order of the history time filter enumXan Lopez2012-03-071-2/+2
| | | | | EVER needs to be at the end, not in the second position, since that's the order in the ephy history window.
* Move the host and urls views from embed to lib/widgetsXan Lopez2012-03-0711-0/+790
| | | | | Since that's their natural place. Also create a base class to hold the common code they share.
* ephy-history-service: default handler for visit-url should be FALSEClaudio Saavedra2012-03-071-1/+1
| | | | So that AFTER handlers are executed as well
* ephy-history-service: add a method to remove a host from the historyClaudio Saavedra2012-03-074-0/+79
| | | | This method will remove all the history related to that host.
* Allow ephy_history_service_find_urls() to filter host specific urlsClaudio Saavedra2012-03-072-2/+3
|
* Add ephy_history_service_get_hosts()Claudio Saavedra2012-03-072-1/+29
| | | | To retrieve all hosts in the history
* Fix typoClaudio Saavedra2012-03-071-1/+1
|
* Allow the visits and urls queries to be host-specificClaudio Saavedra2012-03-074-0/+24
|
* Add missing header include to ephy-history-types.hClaudio Saavedra2012-03-071-0/+2
|
* ephy-profile-migration: only create ad-hoc hosts for non-default zoom levels.Xan Lopez2012-03-071-6/+4
| | | | | | Otherwise the default code path is enough. Also, the host is always going to be NULL for newly created URLs, so double check this is the case and don't try to handle anything else.
* ephy-history-service: agh, committed this by mistakeXan Lopez2012-03-071-1/+1
|
* ephy-history-service: handle correctly zoom level migrationXan Lopez2012-03-071-0/+9
| | | | | | We need to consider the case of an "invalid" host with a non default zoom level, since the profile migrator will send us that kind of thing.
* ephy-history-service: add a "cleared" signal for the clear methodXan Lopez2012-03-071-0/+14
| | | | And use it in EphyEmbed instead of the legacy signal.
* ephy-history-service: add a method to clear the entire historyClaudio Saavedra2012-03-072-0/+44
|
* ephy-history-service: add 'visit-url' signalXan Lopez2012-03-072-8/+43
| | | | | | | | | Similar to the old EphyHistory 'add-page' signal. It allows blocking the visit by handling the signal, since the actual logic to add the visit is in the class' default handler. The add_visit(s) methods won't emit this signal, but for now we'll assume that whoever is using those knows what he's doing.
* Rename ephy_history_service_add_page to ephy_history_service_visit_urlXan Lopez2012-03-072-3/+6
| | | | Fits much better with the naming model in that class.
* Get rid of EphyBrowseHistoryXan Lopez2012-03-072-0/+44
| | | | | | It was a very thin wrapper on top of the history service, it does not seem to make much sense. For now move the two useful helper methods down to the service without further changes.
* ephy-history-types: use the URL as default titleXan Lopez2012-03-071-1/+1
| | | | | This is what the old history code did. Looks better than an empty string.
* Retrieve the host id from the right columnClaudio Saavedra2012-03-071-1/+1
|
* Remove the set_url_property history methodXan Lopez2012-03-072-66/+0
| | | | It's not really that useful.
* ephy-history-service-hosts-table: drop the favicon columnXan Lopez2012-03-071-1/+0
| | | | It's not used at all. Again, format change.
* Store zoom levels per host, not per URLXan Lopez2012-03-077-71/+114
| | | | | | | | | | Zoom levels have always been stored per host in Epiphany, not per URL (otherwise you'd have to re-apply the zoom level again and again when visiting, say, every news entry in your favorite newspaper). Change things to work like that. Note: this changes the SQL table format for the history, so you'll need to re-migrate your history.
* Hook the new history to the URL entryXan Lopez2012-03-071-177/+20
| | | | | We now fetch the history from the SQL backend using a service thread, and merge the results with our old bookmark data.
* history-service: make sure we can update pages' titles and urlsClaudio Saavedra2012-03-071-7/+8
| | | | | | | | | | When we retrieve a url from the backend from a user given EphyHistoryURL, it's possible for this to contain updated information for the page. In such case, don't overwrite this with the one stored in the backend. This makes possible to later update this information when saving a new visit.
* history-service: do not join urls and visits table unnecessarilyClaudio Saavedra2012-03-071-6/+10
| | | | | If there is no visit time range there is no need to perform a inner join between these two tables, so spare the hassle.
* history-service: use the sort type during queriesClaudio Saavedra2012-03-071-0/+10
|
* EphyHistoryQuery: add a EphyHistorySortType parameter to the queryClaudio Saavedra2012-03-072-0/+10
|
* history-service: take into account the query's result limitClaudio Saavedra2012-03-071-1/+13
|
* EphyHistoryQuery: copy the limit tooClaudio Saavedra2012-03-071-0/+1
|
* history-service: Ignore queries time range if not setClaudio Saavedra2012-03-071-4/+4
|
* history-service: Count the first url visitClaudio Saavedra2012-03-071-0/+2
|
* ephy-profile-migrator: update to migrate also zoom level preferencesClaudio Saavedra2012-03-071-0/+7
|
* Build fixesClaudio Saavedra2012-03-071-5/+6
| | | | Xan, talk to me after class.
* ephy-profile-migrator: migrate history to the new formatXan Lopez2012-03-073-2/+208
|
* ephy-sqlite: and another forgotten file!Xan Lopez2012-03-071-0/+34
|
* ephy-history-service: forgot Makefile.am fileXan Lopez2012-03-071-0/+21
|
* ephy-history-service: change a few functions and variables to use "message"Xan Lopez2012-03-071-40/+40
| | | | They were leftovers from old APIs
* Add EphyHistoryService and helper classesXan Lopez2012-03-079-1/+2086
| | | | | | | | | EphyHistoryService provides a high-level API to store history information. It will processed by a worker thread using SQLite to provide a fast, responsive service to the main UI. Based on the code by Martin Robinson (mrobinson@igalia.com) and Claudio Saavedra (csaavedra@igalia.com).
* Add GObject wrapper classes for SQLiteXan Lopez2012-03-075-0/+620
| | | | | | | We'll use them to implement the new history/bookmarks storage backend. Code by Martin Robinson (mrobinson@igalia.com) and Claudio Saavedra (csaavedra@igalia.com)
* Plug a memory leakGiovanni Campagna2012-03-011-0/+1
| | | | | | Free GFiles created during argv parsing. https://bugzilla.gnome.org/show_bug.cgi?id=671095
* ephy-profile-utils: use == to compare SoupURI schemesSergio Villar Senin2012-02-241-1/+1
| | | | We can just use it as SOUP_URI_SCHEME_HTTPS is an intern static string.
* ephy-profile-utils: shut up libsoup runtime warningSergio Villar Senin2012-02-241-1/+1
| | | | | | | | It was actually more than a warning. It was preventing epy to recover passwords previously stored in the keyring, as all of them were stored using "/" as the path of the URI. https://bugzilla.gnome.org/show_bug.cgi?id=670431
* ephy-search-entry: use symbolic clear iconDiego Escalante Urrelo2012-02-081-3/+7
| | | | | | Instead of gtk+ stock icon, use the symbolic version. Respects LTR/RTL. https://bugzilla.gnome.org/show_bug.cgi?id=669131
* Allow toggling WebGL as a runtime GSettings switchMartin Robinson2012-02-031-0/+1
| | | | | | If WebGL is enabled in WebKitGTK+, this new GSettings switch disables and enables WebGL settings at runtime. WebGL is disabled by default currently because Epiphany may use Clutter in the future.
* Get rid of EPHY_STOCK_EPHYXan Lopez2012-01-276-42/+0
| | | | | | In 99% of the cases we were using it for gtk_window_set_icon_name, which does nothing in GNOME 3. In the couple of valid use cases, just use "web-browser" directly.
* And remove the last stock icon, bookmarksXan Lopez2012-01-273-72/+0
| | | | We can kill data/icons now.
* Remove the history stock iconXan Lopez2012-01-272-2/+0
|
* Remove EPHY_STOCK_BOOKMARKXan Lopez2012-01-273-3/+1
| | | | | Use the symbolic icon for the completion entry, I'm sure Lapo will approve.
* Remove more unused stock iconsXan Lopez2012-01-272-28/+1
|
* Remove all the lock stock iconsXan Lopez2012-01-273-7/+5
| | | | | | At this point we were only using the #defines in EphyLocationEntry to decide which symbolic icon to use, so keep that and delete everything else.
* Remove unused stock iconsXan Lopez2012-01-272-10/+0
| | | | | | | Both the icons themselves and the names in the header file. This just removes those without absolutely any reference to them in the entire source tree, but I suspect we can remove most of them since they are not actually used.
* entry: make EphyLocationEntry a GtkEntryCosimo Cecchi2012-01-202-72/+41
| | | | | | | | Instead of a GtkToolItem. A future commit will move the code in EphyLocationAction not to be a GtkAction, which is why this was a GtkToolItem in the first place. https://bugzilla.gnome.org/show_bug.cgi?id=668206
* Move the nautilus floating bar to lib/widgetsXan Lopez2012-01-173-3/+469
| | | | And fix a couple of warnings.
* ephy-middle-clickable-tool-button: remove, it's unused nowXan Lopez2012-01-173-103/+0
|
* Use the new Shell global menu for global actionsXan Lopez2012-01-141-1/+5
| | | | And remove them from the existing menubar.
* Fake middle clicks without gtk_button_{press,release}, which are deprecatedXan Lopez2012-01-025-0/+229
| | | | | | | | | | | | | | Factor the logic that fakes clicks from a middle click in EphyMiddleClick(Tool)Button by forwarding a left click to GTK+ when we receive a middle click. Since ephy_gui_is_middle_click stops working in this case, add the minimal logic in EphyLinkAction to make it work again (basically, cache the button that activated the action inside the action itself). The EphyMiddleClickable(Tool)Button classes were written by Alexandre Mazari. https://bugzilla.gnome.org/show_bug.cgi?id=628364
* ephy-dnd: reorder includesXan Lopez2012-01-011-1/+1
|
* ephy-gui: reorder includesXan Lopez2012-01-011-6/+4
|
* ephy-gui: remove unused methodXan Lopez2012-01-012-89/+0
|
* ephy-gui: remove long gone method declarationXan Lopez2012-01-011-3/+0
|
* ephy-session: use GTK's method to get the content areaXan Lopez2012-01-012-25/+0
| | | | Now we can remove our internal implementation.
* e-download-widget: update icon every 10%Diego Escalante Urrelo2011-12-211-0/+7
| | | | | | | | | | | In some cases trying to get the content-type of a download right at the start of the transfer won't give us useful information. To handle this case we query for the content-type and a proper icon every 10%, hoping that GIO/Soup will make a smarter guess. This is an arbitrary number that hopes to work with most cases. Bug #662059
* e-download-widget: use GIcon instead of GdkPixbufDiego Escalante Urrelo2011-12-211-19/+5
| | | | | | | GtkImage works fine with GIcon, this saves us some lines of code and allocating a GdkPixbuf. Bug #662059
* e-download: add ephy_download_get_content_typeDiego Escalante Urrelo2011-12-211-9/+5
| | | | | | | | | | This new API gets the content-type of a download using GIO, or Soup if GIO is still not available for the download. GIO is our first option since its local guesses are more reliable. Soup can be cheated by servers or confused by still too incomplete downloads. Bug #662059
* ephy-zoom-control: remove, there are no zoom toolbar items anymoreXan Lopez2011-12-154-375/+4
|
* Remove last traces of the EggToolbar codeXan Lopez2011-12-158-3991/+0
|
* Use a GtkOverlay for the statusbar instead of shipping GeditOverlayClaudio Saavedra2011-12-147-1440/+1
| | | | | | | Instead of escaping the cursor, we align the overlay at the opposite side of the window. This is consistent with nautilus. https://bugzilla.gnome.org/show_bug.cgi?id=653996
* Remove homepage preference from GSettingsXan Lopez2011-12-041-1/+0
| | | | | | | | Hardcode it to be "about:blank". The final step could be completely remove the rest of the code, but it might be useful for the future Overview page (if we consider it the new "homepage"). https://bugzilla.gnome.org/show_bug.cgi?id=665469
* Remove toolbar editorXan Lopez2011-12-031-1/+0
| | | | | | | The UI is gone, but the infrastructure still persists (EggToolbarModel, etc). Further cleanups are possible. https://bugzilla.gnome.org/show_bug.cgi?id=664260
* Remove some deprecated GTK+ callsClaudio Saavedra2011-11-222-4/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=664120
* Use GNetworkMonitor to monitor network statusXan Lopez2011-11-162-55/+0
| | | | | | We can now get rid of the NetworkManager custom code. https://bugzilla.gnome.org/show_bug.cgi?id=664096
* eggs-toolbar-mode: remove unused variableXan Lopez2011-11-151-4/+0
|
* lib/egg: update from libegg masterDiego Escalante Urrelo2011-10-112-22/+25
| | | | Drop GtkTable usage, sync our changes upstream.
* ephy-location-entry: remove unused includeXan Lopez2011-09-111-1/+0
|
* ephy-request-about: move this to embed/Xan Lopez2011-09-063-238/+0
| | | | We'll need to access embed/ data for about:applications.
* e-file-helpers: implement and use ephy_file_delete_dir_recursivelyDiego Escalante Urrelo2011-09-052-22/+62
| | | | | | | | | | Move the implementation from ephy-web-app-utils.c to ephy-file-helpers.c. The current one was not doing recursive delete, this caused the bug of private instances leaving their profile directories behind in /tmp. Bug #658201
* ephy-file-helpers: export the UUID env var in our headerXan Lopez2011-08-292-1/+2
| | | | We'll use it from src/ for a bit of a gross hack...
* ephy-file-helpers: make .desktop file launcher method parameters optionalXan Lopez2011-08-291-5/+9
| | | | We don't always need them.
* Use g_markup_printf_escaped when printing urisDiego Escalante Urrelo2011-08-131-5/+2
| | | | | | | This covers GtkInfoBar in ephy-web-view.c, ephy-download-widget.c and also tooltips and labels in ephy-download-widget.c Bug #649164
* ephy-file-helpers: nautilus now highlights filesDiego Escalante Urrelo2011-07-171-12/+1
| | | | | | | You can now call nautilus on a full path and it will highlight the file in its parent directory. Bug #654763
* ephy-file-helpers: use correct inode/directory typeJosselin Mouette2011-07-171-1/+1
| | | | | | Otherwise "Browse to" feature fails because we are using an obsolete mime type. Bug #651699
* ephy-download-widget: unescape tooltipsDiego Escalante Urrelo2011-07-171-1/+4
| | | | | | | In ae374ca97044684d6a33bb11ae8bccac06a85b9f we forgot about the tooltip. Bug #653690
* ephy-location-entry: use new channel-{secure,insecure} symbolic iconsXan Lopez2011-07-071-2/+2
| | | | Bug #650789
* ephy-profile-migrator: use new g_utf8_substringXan Lopez2011-07-051-19/+2
|
* Always use the EphyEmbedShell to know if we are a private instanceXan Lopez2011-06-302-16/+0
| | | | We can now get rid of the EphyFileHelpers method.
* toolbareditor: Fix the removal of items by DnD.José Aliste2011-06-281-0/+32
| | | | | | | | | If the 'window-dragging' property of GtkToolbar is set (as it is in adwaita) then the Toolbar starts the drag of the window on 'button-press' event. We prevent this by connecting a handler for 'button-press' which prevents the handler of the toolbar to be run while in edit mode. Fixes bug #647265
* Implement about:memoryXan Lopez2011-06-284-3/+423
| | | | | Gives an estimate of how much memory the browser process is using, extracted from /proc/$PID/smaps. Only works in GNU/Linux systems.
* Use NM_STATE_CONNECTED_GLOBAL instead of the compat #defineXan Lopez2011-06-241-3/+0
|
* Copy&paste a few NM defines/enums we need at compile timeXan Lopez2011-06-242-0/+58
| | | | | This way we don't need a compile-time dependency on NetworkManager, since we use it through the DBus APIs.
* eggsmclient-xsmp: fix warningsAntoine Jacoutot2011-06-201-0/+2
| | | | Bug #651030
* ephy-request-about: fix typoXan Lopez2011-06-191-1/+1
|
* ephy-request-about: some style fixesXan Lopez2011-06-172-98/+103
|
* Use the generic marshaler throughoutXan Lopez2011-06-144-28/+6
| | | | Just enough to get rid of ephy-marshal.h
* Blast from the pastXan Lopez2011-06-101-6/+21
|
* gedit-overlay: prevent underallocation warningsXan Lopez2011-06-101-2/+12
| | | | This is somewhat hacky, but we'll switch to GtkOverlay soon anyway.
* egg-toolbar-model: fix compiler modelXan Lopez2011-06-101-4/+0
| | | | I don't think this is useful anymore?
* gedit-overlay: fix compiler warningXan Lopez2011-06-101-1/+1
|
* Use GtkOrientable interface instead of deprecated V/H widgetsClaudio Saavedra2011-06-097-14/+22
| | | | | | | | | | Gtk[HV]Box, Gtk[HV]Separator, Gtk[HV]Paned are deprecated in GTK+ 3.2, so let's use the GtkOrientable interface instead. GtkBox is likely to dissapear soon too, so a migration to GtkGrid might be necessary at some point. https://bugzilla.gnome.org/show_bug.cgi?id=652201
* Simplify ephy_string_commandline_args_to_uris()Claudio Saavedra2011-06-091-41/+10
| | | | | | No need to use realpath(3), we're in 2011 now. https://bugzilla.gnome.org/show_bug.cgi?id=652120
* Move the save/load accelerators methods to the ephy file utilitiesClaudio Saavedra2011-06-092-0/+39
| | | | | | Second patch in an attempt to clean up ephy-main.c https://bugzilla.gnome.org/show_bug.cgi?id=652119
* Add ephy_string_commandline_args_to_uris() to ephy string utilitiesClaudio Saavedra2011-06-092-0/+74
| | | | | | | This is the first patch in an attempt to simplify epiphany's main() method, which is quite bulky by now. https://bugzilla.gnome.org/show_bug.cgi?id=652119
* Remove an unnecessary g_strv_length()Claudio Saavedra2011-06-031-3/+2
|
* Added about:plugins support.Sergio Villar Senin2011-06-014-4/+203
| | | | | | We are now able to show a page with the list of installed plugins. Bug #575498
* Add optional spell checking, enabled by defaultXan Lopez2011-05-231-0/+1
| | | | | | | Depends on WebKitGTK+ being built with spell check support, otherwise it won't do anything. Based on a patch by Diego Escalante.
* ephy-location-entry: handle gracefully first callXan Lopez2011-05-221-3/+3
| | | | | The set_stock_id method is called initially with NULL to set things up.
* ephy-location-entry: use symbolic icons for security stateXan Lopez2011-05-221-12/+28
| | | | | The code should probably be cleaned up to stop using the stock-id defines, which don't make much sense anymore.
* ephy-location-entry: do not use a yellow background for secure sitesXan Lopez2011-05-222-119/+0
| | | | | Adds unneeded clutter to the entry, we'll just rely on a visible symbolic lock icon when needed.
* ephy-profile-migrator: call g_type_init explicitlyXan Lopez2011-05-131-1/+1
|
* egg-toolbars-model: free types listXan Lopez2011-05-061-0/+1
|
* ephy-overlay-escaping-child: fix warningsXan Lopez2011-04-271-3/+8
|
* Slide out the status overlay when the mouse pointer goes close by.Alexandre Mazari2011-04-264-2/+367
| | | | | | | | | This introduces a GeditOverlayChild subclass, listening to parent overlay mouse events to define the escaping policy. The distance from which the widget "escapes" the mouse pointer can be set at construction time. https://bugzilla.gnome.org/show_bug.cgi?id=643909
* Remove a few GCC 4.6.0 warningsXan Lopez2011-04-214-14/+0
|
* Import latest version of Gedit's overlay code.Alexandre Mazari2011-04-193-95/+169
|
* Add a preference to force internal view-sourceDiego Escalante Urrelo2011-04-191-0/+1
| | | | | | | | | | | Using the view-source feature provided by WebKitGTK+ can be handier than opening gedit or the default text/html application in your system. This adds "internal-view-source" to org.gnome.Epiphany to force the internal-viewer always. Based on Ole Laursen's patch. Bug #597156
* egg-editable-toolbar: set a device to the DnD eventXan Lopez2011-04-031-11/+12
| | | | Otherwise we'll crash inside GTK+.
* ephy-file-helpers: respect our documented special keys for download dirXan Lopez2011-03-311-1/+16
| | | | | | | | 'Desktop' should be the desktop dir, 'Downloads' the downloads dir. If the key is an actual path we'll use it, if all else fails default to Desktop directory. Bug #644641
* Use the web-browser icon from the GNOME icon themeWilliam Jon McCann2011-03-251-1/+1
| | | | | | Instead of the low res version shipped internally. https://bugzilla.gnome.org/show_bug.cgi?id=645713
* shell: fix toolbar style enumSaleem Abdulrasool2011-03-121-2/+2
|
* toolbar: fix a typo in last commitCosimo Cecchi2011-03-091-2/+2
|
* toolbar: make sure the first toolbar gets the 'primary-toolbar' classCosimo Cecchi2011-03-092-4/+53
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=644261
* ephy-download-widget: unescape displayed filenamesDiego Escalante Urrelo2011-03-081-4/+9
| | | | Avoid having %20 and similar things in the widget labels.
* ephy-download-widget: new widgetDiego Escalante Urrelo2011-03-085-0/+983
| | | | | | | | A widget showing the progress of an EphyDownload and offering the default set of actions to take on it: Open, Browse to, Cancel. It keeps a ref to the EphyDownload its showing. Bug #618443
* ephy-download: add the new EphyDownload objectDiego Escalante Urrelo2011-03-081-0/+1
| | | | | | | | | | | | | | | | | EphyDownload is a wrapper object around WebKitDownload that handles common behavior in downloads: auto-destination, default action for the MIME type. It can be used to wrap a WebKitDownload coming from a WebKitView or to download a url: ephy_download_new_for_uri and ephy_download_new_for_download are provided. Its lifetime is not automagic like EphyEmbedPersist, so you have to unref it when you no longer need it. This new object replaces EphyEmbedPersist and enables us to use a single codepath for downloads in all Epiphany. Bug #618443
* ephy-file-helpers: allow desktop in ephy_file_browse_toDiego Escalante Urrelo2011-03-081-20/+7
| | | | | | | | Nautilus doesn't draw the desktop as always anymore. It's not visible unless you browse there, so the reason to not allow browse_to desktop is not valid anymore. Bug #618443
* ephy-file-helpers: only one downloads_dir functionDiego Escalante Urrelo2011-03-082-68/+4
| | | | | | | Remove all the ambiguity, we always throw downloads to the same place or the Desktop. Bug #618443
* ephy-file-helpers: add uninstalled ui/ in ephy_fileDiego Escalante Urrelo2011-03-041-0/+1
| | | | Bug #618443
* Small cleanup in widget's Makefile.amXan Lopez2011-02-271-2/+1
|
* Sync with upstream GeditOverlayXan Lopez2011-02-264-107/+21
|
* ephy-location-entry: add DNS prefetchingSergio Villar Senin2011-02-251-5/+54
| | | | | | | | Proactively perform DNS lookups when the user sets the cursor over an autocompleted entry in the location bar. This way the prefetching is likely to already have been resolved by the time the user actually clicks on the entry. https://bugzilla.gnome.org/show_bug.cgi?id=606087
* gedit-overlay-child: sync visible property of container and childXan Lopez2011-02-211-1/+8
| | | | | That way user can hide the inner widget and the overlay child container will be hidden automatically.
* gedit-overlay: sync with upstreamXan Lopez2011-02-201-0/+7
|
* gedit-overlay: always proxy main widget size requestXan Lopez2011-02-161-26/+4
| | | | | | | We don't want for the children to be able to overflow the main widget, it makes sense to keep them contained in the overlay. Bug #642451
* Sync with latest GeditOverlay codeXan Lopez2011-02-163-298/+51
| | | | And adapt to the new API.
* Sync with latest GeditOverlayXan Lopez2011-02-161-19/+12
|
* Sync with latest libeggXan Lopez2011-02-132-0/+8
|
* gedit-overlay: Fix a crash when overlay is detroyedCarlos Garcia Campos2011-02-121-6/+8
|
* Forgot these filesXan Lopez2011-02-122-0/+497
|
* Sync with upstream GeditOverlay codeXan Lopez2011-02-127-468/+243
|
* Port floating statusbar to gedit's overlay widgetXan Lopez2011-02-115-1/+1060
| | | | | | | | | | Works correctly in framed pages, and fixes a few bugs along the way (not to mention it should be more efficient since it does not redraw needlessly). The gedit code has been modified to get rid of the animation stuff we don't really need atm; we have coordinated with the gedit developers and hopefully both versions will be in sync again really soon.
* Use the new GTK_STATE_FLAG_NORMAL flagDiego Escalante Urrelo2011-01-111-5/+5
| | | | | | | Until 2.99.0 GtkStyleContext didn't have a "normal" flag, the closest thing was GTK_STATE_FLAG_ACTIVE, but it is not necessarily correct. Bug #636501
* ephy-location-entry: GdkRGBA colors are doublesDiego Escalante Urrelo2011-01-111-2/+2
| | | | Bug #636501
* ephy-file-helpers: do not use deprecated APIsXan Lopez2011-01-061-3/+2
|
* egg: cherry-pick fixes for compilation against GTK+ 2.91.7Xan Lopez2010-12-232-2/+10
|
* ephy-node-view: don't use gdk_cursor_unrefXan Lopez2010-12-221-1/+1
| | | | | It's deprecated since GdkCursor is a GObject now. The stuff in egg/ still needs fixing, but we'll just sync from upstream.
* Port to gtk+ master's GtkStyleContextDiego Escalante Urrelo2010-12-151-48/+52
| | | | | | | Updates all our uses of GtkStyle stuff to the newer GtkStyleContext API. ephy-web-view porting done by Matthias Clasen <mclasen@redhat.com> Bug #636501
* egg: update from masterDiego Escalante Urrelo2010-12-154-5/+46
| | | | Bug #636501
* ephy-spell-check: remove unused filesDiego Escalante Urrelo2010-12-123-372/+0
| | | | | | WebKitGTK+ implements this for us. Bug #637021
* ephy-web-view: use custom error pagesDiego Escalante Urrelo2010-12-111-1/+3
| | | | | | Show nice error pages instead of WebKitGTK+'s defaults. Bug #592667
* introspection: fix wrong and missing annotationsDiego Escalante Urrelo2010-12-092-10/+41
| | | | Bug #636790
* EphyLocationAction: fix potential leakJonathon Jongsma2010-12-091-0/+1
| | | | | | Free the lock_stock_id before setting a new one. https://bugzilla.gnome.org/show_bug.cgi?id=636742
* prefs-dialog: new custom font selection UIDiego Escalante Urrelo2010-12-081-0/+4
| | | | | | | | Allow users to set custom sans, serif and monospace fonts if they don't want the defaults, which are the desktop wide settings in the org.gnome.desktop.interface schema. Bug #636761
* ephy-file-helpers: prioritize uninstalled filesDiego Escalante Urrelo2010-12-081-4/+6
| | | | | This patch prioritizes uninstalled files so modified files in your epiphany checkout are used, avoiding the need to install them to see your changes.
* ephy-profile-utils: fix crasher when .migrated is unreadableDiego Escalante Urrelo2010-12-071-3/+5
| | | | | When .gnome2/epiphany/.migrated file is unreadable we can hit a crasher due to sscanf. We now check for NULL before feeding sscanf.
* ephy-profile-migration: separate migration code into another binaryDiego Escalante Urrelo2010-12-075-207/+303
| | | | | | | | | | | The migration code is now in the ephy-profile-migrator binary, this means: - epiphany is not linking to NSS anymore - lib/ephy-profile-migration.c was split into: + lib/ephy-profile-migrator.c: the new ephy-profile-migrator binary + lib/ephy-profile-utils.c: convenience _ephy_profile_*_form_auth_data functions. - testing for migration is done without running ephy-profile-migrator Bug #636685
* Always enable Web InspectorXan Lopez2010-10-241-1/+0
| | | | | I don't think it makes any sense to make this optional, much less to have a UI preference for it.
* Spinner changesXan Lopez2010-10-246-1484/+0
| | | | | | | | | | | | | | We get rid of the spinner in the toolbar, since load information is already given by the floating status indicator inside the WebView. The only remaining spinner is the one in the tabs, which has been ported to use GtkSpinner. Get rid of EphySpinner. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=524809 (again) https://bugzilla.gnome.org/show_bug.cgi?id=598442
* ephy-node-view: use new GtkScrollable APIsXan Lopez2010-10-241-1/+1
|