aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Use the new GtkComboText APIsMatthias Classen2010-10-212-6/+6
| | | | Signed-off-by: Xan Lopez <xan@gnome.org>
* Plug g_file_new_for_path leaksXan Lopez2010-10-131-1/+2
|
* ephy-node-db: make the db unref all remaining nodes on destructionXan Lopez2010-10-121-1/+8
|
* Revert "Port to GtkSpinner"Xan Lopez2010-10-103-26/+1065
| | | | | | This reverts commit 98811918bc8c5065eb4b21feb35c9f4def67341f. Accidentally committed.
* Port to GtkSpinnerXan Lopez2010-10-093-1065/+26
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=598442
* ephy-spinner: fix spinner drawingXan Lopez2010-10-091-8/+1
| | | | Was using a no longer calculated rect for the drawing coordinates.
* gsettings: port epiphany to gsettingsDiego Escalante Urrelo2010-10-0810-2023/+222
| | | | | | Adds our own schemas, a migration file and removes old gconf API and files. Bug #624485
* Use gtk_widget_get_preferred_size instead of gtk_widget_size_requestXan Lopez2010-10-051-6/+6
|
* Adapt to latest changes in the GTK+ drawing modelXan Lopez2010-10-052-36/+24
| | | | | Mostly moving from ::expose-event to ::draw, and adapting to the changes in the paint functions.
* Update for latest GTK+ 3.x release.Xan Lopez2010-09-112-9/+9
|
* ephy-dialog: remove useless modal propertyDiego Escalante Urrelo2010-09-032-42/+0
| | | | Bug #624485
* lib/egg: update to libegg masterDiego Escalante Urrelo2010-08-314-242/+186
| | | | Bug #580557
* lib/egg: update scriptsDiego Escalante Urrelo2010-08-312-35/+8
| | | | Bug #580557
* lib/widgets: use cairo_fill() instead of cairo_paint()Carlos Garcia Campos2010-08-251-1/+1
|
* lib/widgets: use cairo for drawing widgetsDiego Escalante Urrelo2010-08-222-55/+45
| | | | | | Drop deprecated gdk_* drawing functions. Bug #627450
* ephy-gui: remove ephy_gui_connect_checkbutton_to_gconfDiego Escalante Urrelo2010-08-031-18/+0
| | | | | | | It's functionality can be replaced by GSettings API, plus it's not being used anywhere. Bug #625921
* Use accessor functions when possibleXan Lopez2010-06-132-5/+5
|
* ephy-gui: remove unused methodXan Lopez2010-06-132-28/+0
|
* ephy-file-helpers: use g_mkstemp instead of mkstempDiego Escalante Urrelo2010-06-041-1/+1
| | | | | | This allows the "XXXXXX" token to be anywhere in the tmpl string. Bug #302986
* ephy-location-entry: reenable favicons in completionDiego Escalante Urrelo2010-04-211-7/+0
| | | | | | | | | | | | | | | Favicons in the completion popup were hidden because of an ugly flashing. It turns out it is caused by gtk_entry_set_icon_from_* functions. They queue a resize if the GtkEntry is visible, hence we see this ugly flash which is actually the completion obeying to the resize. The side effect is that when you start typying a new address in the location entry, the favicon of the current location will still be displayed. The previous behaviour was to set a 'text/html' icon when the user edited the location entry. Note that such icon will disappear as soon as you activate the location entry. Bug #616345
* Also change EXTENSIONS_DIR hereXan Lopez2010-04-081-1/+1
|
* Use only GTK+ single includesJavier Jardón2010-04-061-1/+1
|
* Remove path when normalizing urls for keyring queryDiego Escalante Urrelo2010-03-251-0/+2
| | | | | | | | This means we store/retrieve "http://www.gnome.org/" instead of "http://www.gnome.org/login/". User+passwords are site-wide as long as the form elements match. This also makes migrated gecko passwords work. Bug #613065
* migration: be more strict with checks when storingDiego Escalante Urrelo2010-03-161-2/+7
| | | | | | | Make sure we don't confuse form passwords with HTTP auth passwords. And also check that username is not empty (at least that). Sometimes decryption fails (not even nss tools work) and we get empty usernames. As you can see, we are assuming here that usernames are always mandatory but passwords might not be.
* migration: fix leading * in password field nameDiego Escalante Urrelo2010-03-101-2/+3
| | | | | | | | Password form fields are marked with a *, but this * was not removed when storing the field name so this led to all the passwords field names to be migrated with the leading *. Bug #608687
* ephy-profile-migration: remove useless return valueDiego Escalante Urrelo2010-03-102-10/+8
| | | | _ephy_profile_query_form_auth_data is async, doesn't return anything.
* migration: don't store a trailing ) in realmDiego Escalante Urrelo2010-03-101-1/+1
| | | | | | Realms where exported as "realm)" because of a missing -1. Bug #608687
* Always use i18n'd Desktop and Downloads dir namesDiego Escalante Urrelo2010-02-241-1/+2
| | | | | | | | | | Otherwise preferences gets confused and also some other parts of our code put files where they shouldn't be. This was causing the default downloads destination to reset everytime the preferences dialog was opened and also causing some downloads (when "Open" is selected) to end up where they shouldn't. Bug #610721
* Use accessor functions instead direct accessJavier Jardón2010-02-112-3/+3
| | | | | | | Substitute GTK_WIDGET_MAPPED() and GTK_WIDGET_REALIZED() GTK+ required version bumped to 2.19.5 https://bugzilla.gnome.org/show_bug.cgi?id=595791
* Use SoupURI to get host name in ephy-stringDiego Escalante Urrelo2010-02-111-38/+10
| | | | Bug #582035
* ephy-file-helpers: some cleanupDiego Escalante Urrelo2010-02-022-25/+31
| | | | | | Sort variable names a bit in ephy_file_switch_temp_file. Bug #608749
* ephy-file-helpers: use localized folder namesDiego Escalante Urrelo2010-02-021-2/+2
| | | | Bug #608749
* ephy-dialog: check if we get a valid EphyDialogDiego Escalante Urrelo2010-01-261-2/+27
| | | | | | | This API is public but we are not really good checking we get valid EphyDialog objects when called, add some checks. Bug #607802
* ephy-location-entry: disable favicons in entry for releaseXan Lopez2010-01-251-0/+5
|
* docs: ephy-file-helpersDiego Escalante Urrelo2010-01-223-13/+204
|
* Show again favicon column in URL completion dropdownXan Lopez2010-01-151-2/+0
|
* Make EphyLocationEntry store a copy of the lock-stock-idXan Lopez2010-01-151-1/+2
| | | | | | | Otherwise we rely on the ordering of the property notifications to get a proper id instead of garbage (!). Bug #606995
* Use g_mkdir_with_parents instead of just mkdirDiego Escalante Urrelo2010-01-141-1/+1
| | | | | | | This ensures that if .gnome2/ doesn't exist, we don't fail instead of just creating the dir. Bug #605860
* Add sanity checks for places where we create SoupURIsGustavo Noronha Silva2009-12-201-0/+8
| | | | | SoupURI creation may fail for invalid URIs, and we would crash trying to work with the NULL pointers.
* ephy_gui_help: use gtk_show_uri to open helpDiego Escalante Urrelo2009-12-192-61/+29
| | | | | | | We were doing some ugly path searching for this. The correct method is to use gtk_show_uri. Bug #604024
* docs: ephy-web-viewDiego Escalante Urrelo2009-12-181-1/+1
|
* docs: ephy-dialogDiego Escalante Urrelo2009-12-182-17/+182
|
* docs: ephy-debugDiego Escalante Urrelo2009-12-181-0/+28
|
* Add a new utility function to query the keyring for the form passwordGustavo Noronha Silva2009-12-152-33/+97
| | | | | This is used to make all policy regarding what and how we save data be in one place.
* ephy-embed-single: cache form auth dataXan Lopez2009-12-152-3/+3
| | | | | Otherwise we need to query keyring all the time to figure out if we have to prefill forms.
* ephy-profile-migration: migrate form auth data from (copied) gecko profileXan Lopez2009-12-152-7/+125
| | | | | We store the login/password pairs used in forms in the keyring, like the HTTP auth data.
* Move profile migration tools from src/ to lib/Xan Lopez2009-12-155-0/+787
| | | | | We'll use them from embed/ for form password saving, and embed/ can't use code from src/
* ephy-prefs: remove obsolete preferenceXan Lopez2009-12-091-3/+0
|
* Add gconf key to control the search engine used in auto-searchCarl van Tonder2009-12-091-0/+1
| | | | | | | | Defaults to Google, like it used to. Bug #604087 Signed-off-by: Xan Lopez <xan@gnome.org>
* Remove redundant parameters in location-set APIDiego Escalante Urrelo2009-12-052-17/+8
| | | | | | | | | | | EphyLocationEntry, EphyLocationAction and EphyToolbar take an @adress and @typed_address parameter, while both are useful we only end up using one so we can easily decide which one to use in ephy-window.c instead of carrying both around until ephy-location-entry.c Bonus: make ephy_location_entry_set_location accept NULL as @address safely. Bug #603651
* docs: ephy-location-actionDiego Escalante Urrelo2009-12-031-6/+3
| | | | Bug #503852
* docs: ephy-tree-model-nodeDiego Escalante Urrelo2009-12-032-4/+65
| | | | Bug #503852