aboutsummaryrefslogtreecommitdiffstats
path: root/embed
Commit message (Collapse)AuthorAgeFilesLines
* Fix documentation commentClaudio Saavedra2011-09-121-1/+1
|
* web apps: Remove G_DIRECTORY_SEPARATOR chars from filenamesClaudio Saavedra2011-09-121-0/+1
| | | | | | To avoid nasty surprises https://bugzilla.gnome.org/show_bug.cgi?id=658028
* Normalize the web app profile directory and desktop file namesClaudio Saavedra2011-09-121-8/+38
| | | | | | | | This is necessary to allow the shell to guess properly the location of the desktop file out of the WM_CLASS property in the application window. Also, append a sha1 checksum to the filenames to avoid collisions. https://bugzilla.gnome.org/show_bug.cgi?id=658010
* ephy-web-view: SoupURI construction can fail for invalid URIsXan Lopez2011-09-121-2/+4
| | | | Guard against that.
* ephy-web-view: remove unused and unimplemented methodXan Lopez2011-09-112-18/+0
|
* ephy-web-view: sort includesXan Lopez2011-09-111-14/+14
|
* ephy-web-view: use SoupURI for about: checkXan Lopez2011-09-111-4/+9
| | | | | Turns out the stuff after about: in a SoupURI will be the path, not the host. Guess it makes sense.
* Remove obsolete commentClaudio Saavedra2011-09-091-2/+1
|
* ephy-web-view: remove now unused parameter to sprintfXan Lopez2011-09-081-1/+1
| | | | Noticed by Luc Pionchon.
* ephy-web-view: do not mention the URL twice in error pagesXan Lopez2011-09-071-1/+1
| | | | Sounds repetitive.
* Revert "ephy-web-view: fix title for error pages"Xan Lopez2011-09-071-1/+1
| | | | | | This reverts commit b01497d86f8ed6d1f3ddbfc66d2c5c1354c9afb3. Xan, see me after class.
* Make about:applications prettierXan Lopez2011-09-073-8/+57
| | | | Thanks to Lapo Calamandrei for the CSS.
* ephy-web-view: fix title for error pagesXan Lopez2011-09-061-1/+1
| | | | Diego, talk to me after class.
* ephy-web-view: fix multiple deletes in about:applicationsXan Lopez2011-09-061-1/+3
| | | | | The URI changes to about:applications? after the first one, need to take that into account.
* Implement about:applicationsXan Lopez2011-09-064-4/+147
| | | | | | A really simple way to list and delete the existing Web Applications. Hopefully this will go completely away in 3.4 replaced with something in the shell itself.
* ephy-request-about: move this to embed/Xan Lopez2011-09-063-0/+238
| | | | We'll need to access embed/ data for about:applications.
* e-web-view: fix error pages for RTL localesVinicius Depizzol2011-09-051-2/+3
| | | | | | | | Remove hardcoded directions in the CSS definitions and make them simpler. Bug #314205 Signed-off-by: Diego Escalante Urrelo <descalante@igalia.com>
* e-web-view: use proper html for paragraphsDiego Escalante Urrelo2011-09-051-10/+11
| | | | Bug #314205
* e-web-view: better messages in error pagesDiego Escalante Urrelo2011-09-051-4/+15
| | | | | | Use better words to describe the situation, avoid techie terms. Bug #637903
* e-file-helpers: implement and use ephy_file_delete_dir_recursivelyDiego Escalante Urrelo2011-09-051-52/+1
| | | | | | | | | | 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-web-app-utils: fix include sortXan Lopez2011-09-041-0/+1
|
* ephy-web-app-utils: adjust includes to styleguideXan Lopez2011-09-041-2/+0
|
* ephy-web-app-utils: move the web app creation code hereXan Lopez2011-09-043-164/+183
|
* ephy-web-view: silence compiler warningXan Lopez2011-09-031-0/+1
|
* ephy-web-app-utils: rename ephy_delete_web_application to ↵Xan Lopez2011-09-032-3/+3
| | | | | | ephy_web_application_delete You know, use namespaces correctly and all that.
* Add ephy_web_application_get_profile_directory()Claudio Saavedra2011-09-023-9/+26
| | | | And factor out some code
* Move EPHY_WEB_APP_PREFIX declaration to a cleaner locationClaudio Saavedra2011-09-022-2/+2
|
* Add --delete--application command line option to delete WebAppsXan Lopez2011-09-023-1/+175
| | | | | | Plus the necessary code to implement some sort of UI to do this for the 3.2 time frame. Hopefully for 3.4 we'll have a GNOME-wide system to deal with applications.
* ephy-web-view: do not launch ephy with jhbuildXan Lopez2011-08-291-1/+1
| | | | Leftovers from testing.
* Add basic support for Web ApplicationsXan Lopez2011-08-292-0/+211
| | | | | | | | Allow to save any page as a "Web Application". A new .desktop file will be created, and added to the Shell as a new application. It will launch epiphany in application mode, with its own private profile (inheriting some data from the main profile, like the relevant domain cookies) and in a new process.
* e-web-view: use hostname in geolocation infobarDiego Escalante Urrelo2011-08-131-1/+4
| | | | | | | Instead of the full URI, make it more readable and use only the hostname. Bug #649164
* Use line-wrap in GtkInfoBar labelsDiego Escalante Urrelo2011-08-131-1/+2
| | | | | | | Otherwise we can end up with fixed width windows that exceed the display size when long sentences are displayed. Bug #649164
* Use g_markup_printf_escaped when printing urisDiego Escalante Urrelo2011-08-131-5/+5
| | | | | | | This covers GtkInfoBar in ephy-web-view.c, ephy-download-widget.c and also tooltips and labels in ephy-download-widget.c Bug #649164
* e-web-view: use ephy_string_get_host_nameDiego Escalante Urrelo2011-08-111-4/+4
| | | | Bug #655899
* e-window: use a css file for widget stylingAlexandre Mazari2011-07-301-15/+0
| | | | | | | | | | | | Replace local styling (used for the tab close button and embed's status frame) by a global css sheet loaded at window construction. This allows tweaking style properties without rebuilding. The css file is installed in $(pkgdatadir)/epiphany.css. Signed-off-by: Diego Escalante Urrelo <descalante@igalia.com> Bug #644805
* e-embed: remove useless e-file-chooser includeDiego Escalante Urrelo2011-07-301-1/+0
|
* Add an --application-mode flag and global modeXan Lopez2011-06-301-1/+2
| | | | | | | | | For now it's pretty much like a private instance, but: - A profile directory *must* be passed - Global passwords and cookies are accessed. In the future we'll likely restrict cookies to the ones for the web application domain, which we'll copy from the main cookies file.
* Use an enum for the global mode of the applicationXan Lopez2011-06-304-22/+30
| | | | In preparation to add a new mode for WebApps.
* Use GtkApplication's window tracking for EphyWindow tooXan Lopez2011-06-302-44/+0
| | | | | | | | Instead of our own home-grown system. I think we should subclass window_added in GtkApplication and do there the session & state stuff and get rid of ephy_session_add_window and ephy_state_add_window.
* Always use the EphyEmbedShell to know if we are a private instanceXan Lopez2011-06-302-2/+2
| | | | We can now get rid of the EphyFileHelpers method.
* Merge EphyApplication into Ephy(Embed)ShellXan Lopez2011-06-302-3/+83
| | | | | | | | | | | We want to use EphyApplication from embed/ too, so instead of following the EphyEmbedShell/EphyShell pattern just fold the code into the Shell itself. This makes sense since both classes have basically the same function, and we can easily leave the non-embed code in EphyShell and move to EphyEmbedShell the bits we want to be global. The better name would be EphyCoreApplication/EphyApplication for the resulting object, but we can do this later.
* ephy-embed-single: remove add-search-engine signalXan Lopez2011-06-282-27/+0
| | | | | It's not used anymore. If we ever reimplement this we can add it again.
* ephy-embed-prefs: stop trying to use the GNOME font settingsXan Lopez2011-06-181-37/+7
| | | | | | | | | | | | | | They are particularly ill-suited for us in GNOME 3: - font-name is Cantarell, which is not good as the sans-serif font in the web. - document-font-name, which we hoped would be a serif font, is "Sans 11". So just give up and set "sans" "serif" and use whatever the system is set up to do for that. In Fedora we will get DejaVu, which is not particularly great, so ideally we should add code to get better defaults.
* ephy-embed-prefs: plug a couple of leaksXan Lopez2011-06-161-1/+4
|
* Use the generic marshaler throughoutXan Lopez2011-06-146-19/+13
| | | | Just enough to get rid of ephy-marshal.h
* ephy-web-view: do not warn of modified forms for short text in input elementsXan Lopez2011-06-101-2/+23
| | | | | It's not likely the user is interested in saving this, and it's pretty common (eg, google.com).
* ephy-embed-utils: make URI normalization for about: genericXan Lopez2011-06-101-3/+3
|
* Use GtkOrientable interface instead of deprecated V/H widgetsClaudio Saavedra2011-06-093-7/+10
| | | | | | | | | | 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
* use gtk_box_pack_start() with EphyEmbedClaudio Saavedra2011-06-091-1/+1
| | | | | | | Using gtk_container_add() is a bad idea because default fill/expand values can change, and they happened to do in GTK+ 3.1. https://bugzilla.gnome.org/show_bug.cgi?id=652201
* ephy-embed-single: set_network_status needs to notifyDiego Escalante Urrelo2011-06-051-0/+2
| | | | | | Otherwise ephy-window never finds out that the network-status has changed. Bug #624421
* Added about:plugins support.Sergio Villar Senin2011-06-014-5/+43
| | | | | | We are now able to show a page with the list of installed plugins. Bug #575498
* ephy-web-view: warn about unsubmitted forms on closeXan Lopez2011-06-011-0/+33
| | | | | | | Reimplement this again, hopefully a lot more accurately now with WebKit :) Bug #604986
* Add optional spell checking, enabled by defaultXan Lopez2011-05-231-0/+26
| | | | | | | Depends on WebKitGTK+ being built with spell check support, otherwise it won't do anything. Based on a patch by Diego Escalante.
* Slide out the status overlay when the mouse pointer goes close by.Alexandre Mazari2011-04-261-1/+6
| | | | | | | | | 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
* ephy-embed-prefs: plug a couple of leaksXan Lopez2011-04-241-1/+4
|
* Remove a few GCC 4.6.0 warningsXan Lopez2011-04-212-4/+0
|
* Better behaviour when openning new windows that are resized as tabsGustavo Noronha Silva2011-04-182-1/+39
| | | | | | | | | | When a new window is opened and given a specific size and position by javascript, the request should only be respected if the new window is being opened stand alone, and considered a popup. This fixes bad behaviour observed when the new window became a tab on an existing window and messed with its size. Bug #612155
* Move overlay statusbar to EphyEmbedXan Lopez2011-04-164-202/+187
| | | | | It's where it belongs, and it will make things easier for the following patches in this area.
* Rely on WebKit doing the check for mixed symbolsGustavo Noronha Silva2011-04-151-14/+0
| | | | | | | WebKit 1.4.0 checks if symbols are being mixed before loading a plugin. That is more robust, so we should rely on it. Bug #647096
* ephy-embed-prefs: auto-shrink images by defaultXan Lopez2011-04-121-1/+0
| | | | | This still has some issues, but until we figure them out I guess it's much better to turn the preference on than off.
* ephy-web-view: use new API for DOM eventsXan Lopez2011-03-191-2/+3
| | | | This requires WebKitGTK+ r81486, soon to be 1.3.13.
* Select the serif font as the default web font.Martin Robinson2011-03-121-4/+4
| | | | | | | To match the behavior of other browsers, the default web content font is the serif font, instead of the sans-serif font. Bug #644523.
* Improve the selection of the system serif font.Martin Robinson2011-03-121-5/+4
| | | | | | | | Instead of using the Gnome interface font as the default serif font, use the Gnome document font. The document font has an increased chance of being a serif font over the interface font. Bug #644521
* ephy-download: add the new EphyDownload objectDiego Escalante Urrelo2011-03-0810-2672/+1199
| | | | | | | | | | | | | | | | | 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-embed: add a border and a little padding to the status frameXan Lopez2011-03-051-0/+18
| | | | Otherwise it blends a bit too effectively into clear backgrounds.
* ephy-embed: hide toplevel child widgetXan Lopez2011-02-211-2/+8
| | | | | | Since that's what we add to the overlay, its visible property will be in sync with the child container. Gets rid of bothering 1px visible leftover when statusbar is hidden.
* ephy-web-view: do not update statusbar text for webviews without embed objectSergio Villar Senin2011-02-161-1/+3
| | | | | | Fixes a crash when trying to open the WebInspector https://bugzilla.gnome.org/show_bug.cgi?id=642306
* Sync with latest GeditOverlay codeXan Lopez2011-02-161-3/+3
| | | | And adapt to the new API.
* ephy-web-view: do not update status after we are deadXan Lopez2011-02-121-17/+19
| | | | We now reach to the EphyEmbed, so this is dangerous.
* Sync with upstream GeditOverlay codeXan Lopez2011-02-121-1/+1
|
* Change packing order for gedit overlayXan Lopez2011-02-111-4/+4
| | | | | Seems GeditOverlay works better if we pack directly the scrollable widget on it, then pack the overlay in a scrolled window. Do that.
* Port floating statusbar to gedit's overlay widgetXan Lopez2011-02-114-97/+36
| | | | | | | | | | 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.
* ephy-embed-single: Update to use direct-from-libsoup SoupCacheDan Winship2011-02-031-8/+10
| | | | | | and update configure.ac to require the corresponding libsoup https://bugzilla.gnome.org/show_bug.cgi?id=636861
* ephy-embed-single: make sure flash plugin is disabledCarlos Garcia Campos2011-01-111-3/+1
| | | | | | | | | There might be more than one plugin instance for flash. Iterate the whole list to be sure we have disabled all the possible instances. Bug #637959 Signed-off-by: Diego Escalante Urrelo <descalante@igalia.com>
* Use the new GTK_STATE_FLAG_NORMAL flagDiego Escalante Urrelo2011-01-111-1/+1
| | | | | | | 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
* Port to gtk+ master's GtkStyleContextDiego Escalante Urrelo2010-12-151-17/+23
| | | | | | | 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
* ephy-embed-single: move code from init to initializeXan Lopez2010-12-141-16/+16
|
* ephy-embed-single: couple of style fixesXan Lopez2010-12-141-2/+2
|
* ephy-embed-single: disable Flash by defaultXan Lopez2010-12-131-0/+16
| | | | | | The Adobe flash plugin uses GTK+2.x, so it cannot be loaded in our (GTK+3.x) process without causing a crash. Disable it by default until we implement a solution.
* ephy-web-view.c: fix typoXan Lopez2010-12-121-1/+1
|
* ephy-web-view: use custom error pagesDiego Escalante Urrelo2010-12-112-12/+148
| | | | | | Show nice error pages instead of WebKitGTK+'s defaults. Bug #592667
* ephy-web-view: make defines friendlier with introspectionDiego Escalante Urrelo2010-12-092-3/+3
| | | | | | Non prefixed names trigger lots of warnings, avoid them. Bug #636790
* ephy-permission-manager: fix names of permission typesDiego Escalante Urrelo2010-12-092-5/+7
| | | | | | Prefix them with EPHY_PERMISSION_TYPE instead of "EPT_". Bug #636790
* introspection: fix wrong and missing annotationsDiego Escalante Urrelo2010-12-097-23/+38
| | | | Bug #636790
* prefs-dialog: new custom font selection UIDiego Escalante Urrelo2010-12-081-2/+105
| | | | | | | | 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-embed-prefs: use minimum-font-size instead of minimum-logical-font-sizeDiego Escalante Urrelo2010-12-081-1/+1
| | | | | | minimum-logical-font-size doesn't works as expected by the UI. Bug #636761
* ephy-embed-single: don't use macros when not neededDiego Escalante Urrelo2010-12-081-1/+1
| | | | We can use the arguments of the function safely.
* ephy-embed-prefs: initialize prefs from settingsDiego Escalante Urrelo2010-12-071-11/+15
| | | | Settings kept in sync with g_signal_connect were missing an initialization.
* ephy-profile-migration: separate migration code into another binaryDiego Escalante Urrelo2010-12-072-19/+19
| | | | | | | | | | | 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
* ephy-embed: clean up embed widget skeletonDiego Escalante Urrelo2010-12-062-65/+37
| | | | | | | | The inspector embedding breaks some assumptions about the internal embed widgetry, mainly breaking EPHY_GET_EMBED_FROM_EPHY_WEB_VIEW macro. The embed now has the main EphyWebView in a GtkPaned permanently. Bug #628459
* Handle all the different kind of errors in the load_error_cb callbackAlejandro G. Castro2010-12-011-16/+57
| | | | | | and control they are caused by the main frame. Bug #623012
* ephy-web-view: manually unref DOM objects when neededXan Lopez2010-11-221-0/+8
| | | | | | Some DOM objects are not garbage collected by WebKit (since they are not in the DOM tree), manually unref them when they are not needed anymore.
* WebKitSoupCache expects a max cache size in bytesSergio Villar Senin2010-11-181-1/+1
| | | | Bug #635066
* Use gtk_paned_new() instead gtk_[h|v]paned_new()Javier Jardón2010-11-091-1/+1
|
* ephy-web-view: use full content zoom by defaultXan Lopez2010-11-081-0/+7
| | | | | | | As a FIXME we could support both (at the same time) somewhat easily, we just need to add the needed APIs in WebKitGTK+. Bug #615362
* ephy-web-view: remove ge-dom-mouse signalsXan Lopez2010-11-062-37/+0
| | | | They are not even emitted anymore, and are unused.
* Remove libnotify dependencyXan Lopez2010-10-291-84/+0
| | | | | We are going to revamp the downloads UI to fit better in the Shell design, but for now we can just get rid of this.
* Always enable Web InspectorXan Lopez2010-10-241-4/+1
| | | | | I don't think it makes any sense to make this optional, much less to have a UI preference for it.
* ephy-web-view: don't use set-scroll-adjustments signalXan Lopez2010-10-241-7/+19
| | | | Instead rely on notify::{h,v}adjustment
* Added soup cacheSergio Villar Senin2010-10-151-0/+44
|
* gsettings: port epiphany to gsettingsDiego Escalante Urrelo2010-10-088-325/+191
| | | | | | Adds our own schemas, a migration file and removes old gconf API and files. Bug #624485
* Adapt to latest changes in the GTK+ drawing modelXan Lopez2010-10-051-11/+9
| | | | | Mostly moving from ::expose-event to ::draw, and adapting to the changes in the paint functions.
* ephy-embed: add _ prefix to instance/class structsXan Lopez2010-10-042-6/+6
|
* ephy-favicon-cache: remove failed download filesDiego Escalante Urrelo2010-08-311-1/+7
| | | | Bug #618627
* ephy-favicon-cache: don't store invalid icon typesDiego Escalante Urrelo2010-08-311-11/+48
| | | | | | | Refuse to store in the cache any invalid icon type, this prevents us from storing 404 html pages as favicons. Bug #618627
* ephy-favicon-cache: remove invalid files on getDiego Escalante Urrelo2010-08-311-2/+2
| | | | | | | When calling ephy_favicon_cache_get we might hit an invalid file type that we didn't catch previously, delete it. Bug #618627
* ephy-favicon-cache: remove legacy EPHY_NODE_FAVICON_PROP_CHECKOLDDiego Escalante Urrelo2010-08-311-5/+0
| | | | Bug #618627
* downloader-view.c: do not overwrite timeout IDXan Lopez2010-08-301-1/+2
| | | | | | We just use it to update the buttons 100ms later, so having one is enough. If we overwrite it we might crash down the road when we run the timeout on a disposed DV.
* Brow paper bag commit fixing bracer style.Gustavo Noronha Silva2010-08-251-2/+1
|
* Use the Geolocation support in WebKitGTK+Gustavo Noronha Silva2010-08-251-0/+84
| | | | | | | | | Using the infrastructure for info bars, present policy requests to the user so they can allow/deny them based on the URI of the frame that is requesting. Moving forward, it would be a good idea to offer to save the decision, and store it in the history entry for that site. Bug #626687
* Make the inspector window biggerGustavo Noronha Silva2010-08-251-1/+1
| | | | | | | Its current size is not very helpful, and causes a small part of the inspector to be cut off horizontally. Bug #626625
* Bring inspector window to front when the inspector requests a showGustavo Noronha Silva2010-08-251-1/+1
| | | | Bug #626493
* Only show/hide the inspector window when it is detachedGustavo Noronha Silva2010-08-251-9/+17
| | | | Bug #626489
* Set Accept-Language header correctlyJosselin Mouette2010-08-171-4/+48
| | | | | | | | | | | | This makes language autodetection, as implemented by some websites, to work. Most of the code stolen from libsoup. Original patch from Mario Sánchez Prada. Updated to work with non-English locales. Approved by Gustavo Noronha. Bug 602547
* ephy-embed-prefs.h: remove old unused definesDiego Escalante Urrelo2010-08-101-12/+0
| | | | Bug #626454
* Allow attaching/detaching the inspector in Epiphany's windowGustavo Noronha Silva2010-08-031-8/+114
| | | | Bug #625640
* ephy-embed-prefs: remove old font definesDiego Escalante Urrelo2010-08-031-6/+0
| | | | Bug #625922
* ephy-web-view: use GObject DOM for ge-feed-linkDiego Escalante Urrelo2010-08-021-137/+28
| | | | Bug #625808
* ephy-web-view: use GObject DOM for form fill/saveDiego Escalante Urrelo2010-08-021-289/+121
| | | | Bug #625404
* Defaults to ALL FILES on save_as dialogsJorge Kalmbach2010-07-091-1/+1
| | | | Bug #601312
* ephy-embed: don't create Save As button manuallyDiego Escalante Urrelo2010-06-121-10/+3
| | | | Bug #621050
* ephy-embed: clean up confirm_action_from_mimeDiego Escalante Urrelo2010-06-121-35/+36
| | | | | | Avoid duplication of code. Bug #621050
* Fixed detected feed URL for relative URIsFrédéric Péters2010-06-081-1/+14
| | | | Bug #609817
* Do not change the address if we are still loading the previous pageAlejandro G. Castro2010-06-021-4/+8
| | | | | | | | | We were replacing the address with the old one even in the case the user cancelled the load because he added a new web page before the previous one finished the loading process. This patch adds a check to control if we can expire the address. Bug #620129
* ephy-web-view: remove dom-content-loaded signalXan Lopez2010-05-252-20/+0
| | | | | Would duplicate the functionality of the WebKit DOM signals, if it worked at all...
* ephy-web-view: factor statusbar drawing code out of expose handlerXan Lopez2010-05-231-39/+47
|
* ephy-web-view: add a bit of padding to the statusbarXan Lopez2010-05-231-12/+17
|
* Update the status message from within the EphyWebViewXan Lopez2010-05-191-0/+24
| | | | | There's no need anymore for the EphyWindow to do this, we can get rid of one extra roundtrip.
* Do not hardcode the statusbar context descriptionsXan Lopez2010-05-191-0/+3
| | | | | Define them in the EphyWebView header, since we'll need to create the context ids from multiple files.
* Use a chromium-like status bar by defaultXan Lopez2010-05-192-61/+325
| | | | | | | | | | Get rid of our statusbar for good and switch to something like what Chromium uses, since it takes less vertical space. The only regression is that we lose the resize grip, but that should be re-added to GtkWindow soon. Bug #609713
* Fix crash when trying to load URIs with no pathGustavo Noronha Silva2010-05-171-1/+1
| | | | | Trying to load file:, for instance, will crash Epiphany. This commit fixes this. See http://bugs.debian.org/554595.
* ephy-embed-single: remove add_sidebar signalDiego Escalante Urrelo2010-05-142-24/+0
| | | | We removed the sidebar extension for 2.30.
* Do not consider dots in directory names when looking for the extension of a ↵Sergio Villar Senin2010-05-051-1/+3
| | | | file name
* Handle the WEBKIT_NETWORK_ERROR_CANCELLED failAlejandro G. Castro2010-05-041-1/+9
| | | | | | In this case the user cancelled the load, we set the address of the current page loaded in the webview again in order to avoid showing an URL that was not committed.
* Handle LOAD_FAILED statusAlejandro G. Castro2010-05-041-0/+36
| | | | | | | Modified the state of the webivew in case the load failed to avoid keeping the old title or icon in that situation. Bug #593743
* Fix title modification in provisional stateAlejandro G. Castro2010-05-041-3/+5
| | | | | | | | Avoid setting the provisional uri as the title if there is already a typed address, and set the loading_title before using it in the status message. Bug #593743
* ephy-embed: add FIXME about redirects and EphyHistoryXan Lopez2010-05-041-0/+2
|
* ephy-web-view: fix compiler warningXan Lopez2010-05-041-1/+1
|
* Remove obsolete get_type function from headerXan Lopez2010-05-031-1/+0
|
* Emit a signal when loading the homepageXan Lopez2010-05-031-12/+29
|
* Move homepage loading code to EphyWebViewXan Lopez2010-05-032-0/+33
| | | | | | Create a method to make the EphyWebView load the homepage set by the user. This is in preparation for creating a signal for this action, which other code in Epiphany will need.
* Move helper function into ephy-embed-utils.cXan Lopez2010-05-032-0/+16
| | | | | | Make url_is_empty a helper function in embed/, since we'll be moving code from EphyShell into EphyEmbed that uses it and we don't want to duplicate it.
* Move link message updating to EphyWebViewXan Lopez2010-05-032-10/+10
|
* Move URI handling to EphyWebViewXan Lopez2010-05-032-21/+21
|
* Move title update to EphyWebViewXan Lopez2010-05-032-24/+35
| | | | | | Does not really make sense for the EphyEmbed container to connect to its child signal and then update its title, let the child itself handle it.
* Refactored the load status callback of ephy-web-view.cAlejandro G. Castro2010-05-033-201/+113
| | | | | | | | This patch uses the ephy-embed.c callback code and refactors it in just one method in the ephy-web-view that handles all the status changes for this object. Bug #593743
* Removed the EphyWebViewNetState enumAlejandro G. Castro2010-05-023-52/+12
| | | | | | | We can use the webkit load status (WebKitLoadStatus) and avoid defining our own enum to check the net states. Bug #593743
* docs: missing comment in ephy-favicon-cacheDiego Escalante Urrelo2010-04-241-2/+2
|
* Make sure WebKitWebHistory is cleared when cleared EphyHistoryMario Sanchez Prada2010-04-203-26/+72
| | | | | | | | | | Added new function in EphyWebView to clear the history from WebKitWebView, and connect to the 'cleared' signal in EphyEmbed to call to such a function when needed. Bug #539716 Signed-off-by: Xan Lopez <xan@gnome.org>
* Send 'Referer' on headers sent for context menu HTTP downloadsMario Sanchez Prada2010-04-171-1/+30
| | | | | | | | | | Make sure the EphyEmbedPersist object is created specifying the EphyEmbed object, and create the network request inside of it using the URL from the associated web view as 'Referer' Bug #136292 Signed-off-by: Xan Lopez <xan@gnome.org>
* Check if URL is NULL before setting its history titleJose Millan Soto2010-04-071-0/+1
| | | | | | Bug #582629 Signed-off-by: Xan Lopez <xan@gnome.org>
* Ignore case of URL schemesJose Millan Soto2010-04-071-9/+14
| | | | | | | | We only accept lowercase schemes right now, for no good reason. Bug #605089 Signed-off-by: Xan Lopez <xan@gnome.org>
* Improve page print implementationJose Millan Soto2010-04-072-13/+32
| | | | | | | | | Use the already existing functions we have for print preview also for printing; fixes a bunch of usability issues. Bug #609756 Signed-off-by: Xan Lopez <xan@gnome.org>
* Only offer to open files with safe mime typesOlivier Tilloy2010-03-261-0/+1
| | | | | | | Changed the "Open" button to "Download" when the mime type of the file is not considered safe for opening. Bug #361559
* downloader-view: stay alive until notifications are goneDiego Escalante Urrelo2010-03-161-65/+69
| | | | | | | | | | | | When using notifications for downloads we usually hit the ugly case where the notification pops but there is no GtkStatusIcon for it so it will pop in the default location (usually bottom right). This is inconsistent with the behavior when the GtkStatusIcon is present, which is to show it attached to it. To fix this we hold a reference to the DownloaderView when showing the notification and release it when such notification has been closed. Bug #611779
* downloader-view: change lifetime logicDiego Escalante Urrelo2010-03-161-5/+11
| | | | | | | | | | | The DV follows the same goal as before (being alive while there are downloads). Now every download holds a reference to the DV and releases it when the download is removed (finished, cancelled, etc). The DV clears its own reference once and only once when a download is removed and there are no more downloads in queue. Bug #611779
* downloader-view: use update_download_row correctly on addDiego Escalante Urrelo2010-03-161-2/+8
| | | | | | | | | | When adding a download we should call update_download_row() *after* connecting the signal handlers or they will never be disconnected. Also, in update_download_row() we should consider that the case where it is called with a download that has already been removed as a non fatal case (i.e. just return;). This is because in downloader_view_add_download() we can have the signal handlers remove the download from the view before the manual call (it was happening vice versa before this).
* downloader-view: hide the view when last download finishesDiego Escalante Urrelo2010-03-161-0/+11
| | | | | | | | When there are no more downloads in queue, hide the view. Also if a download is added but finishes before showing the window, don't show the window nor the notification. Bug #611779
* downloader-view: use g_object_get not get_propertyDiego Escalante Urrelo2010-03-161-6/+3
| | | | | | A minor simplification. Bug #611779
* downloader-view: properly disconnect signalsDiego Escalante Urrelo2010-03-161-4/+21
| | | | | | The previous code wasn't disconnecting signals at all. Bug #611779
* downloader-view: fix controls sensitivityDiego Escalante Urrelo2010-03-161-1/+2
| | | | | | | When there are no downloads left, the Pause/Cancel buttons should not be sensitive. Bug #611779
* downloader-view: make status icon visible on showDiego Escalante Urrelo2010-03-161-0/+2
| | | | Bug #611779
* Handle EPHY_EMBED_PERSIST_NO_VIEW flagDiego Escalante Urrelo2010-03-091-0/+19
| | | | | | | This flag determines if a download should not appear in the DownloaderView window. The default is to appear, like in gecko times. Bug #611635
* Remove download only after showing its notificationDiego Escalante Urrelo2010-03-091-1/+1
| | | | | | | Otherwise we can hit a case where the DownloaderView no longer exists (and hence the notification widget) because the removed download was the last one. Bug #611635
* downloader-view: handle DOWNLOAD_ACTION_DOWNLOAD actionDiego Escalante Urrelo2010-03-091-0/+2
| | | | | | Otherwise we will hit an assert. Bug #611635
* Inspect type property when hooking to login formsDiego Escalante Urrelo2010-03-091-1/+2
| | | | | | | | | | Some sites don't use a sane type attribute in their input tags. So for example you get input tags without a type, or with multiple types. Offenders are bugzillas and ohloh.net. Luckily, WebKit inferres correctly what the input should be so instead of relying on what the HTML says we rely on what WebKit thinks. Bug #608740
* ephy-web-view: add js_get_element_propertyDiego Escalante Urrelo2010-03-091-0/+15
| | | | | | | This retrieves a property from a JS object, just like "element.property" in plain javascript. Bug #608740
* Correctly handle shit+click only in ephy-windowDiego Escalante Urrelo2010-02-261-4/+0
| | | | | | | | | | | If we handle shift+click in EphyWebView default handler then we will be preventing WebKit from getting *any* shift+click event, this breaks shift+click for extending selection. Removing that however makes shift+click browse to links just as click would do. The solution is to prevent policy_decision_required_cb to browse to the clicked link when it includes the shift modifier. Bug #610844
* Fix last patch to account for changes in soup API, and bump required version2.29.91Gustavo Noronha Silva2010-02-231-1/+1
|
* Report broken certs through the padlock iconGustavo Noronha Silva2010-02-232-8/+36
| | | | | | | | This uses a new feature in libsoup that reports through a SoupMessageFlag whether the message is talking to a server that has a trusted server. Bug #600663
* Change 'Enable Java' setting to 'Enable Plugins'Xan Lopez2010-02-202-2/+5
| | | | | There's really no way to completely disable Java support alone, and I think enabling/disabling plugins in general is much more useful.
* Make sure the strings are initialized to NULLGustavo Noronha Silva2010-02-191-4/+4
| | | | | | | This fixes a crash reported ad-hoc in https://bugzilla.gnome.org/show_bug.cgi?id=609753. This is needed because we may bail out early, and try to free these strings without having properly initialized them.
* ephy-embed: don't use g_signal_connect_objectDiego Escalante Urrelo2010-02-181-14/+24
| | | | | | | | It doesn't do what we expect it to do to keep the download object alive, a simple g_signal_connect does the right thing instead. This fixes the downloads not moving to final destination problem. Bug #609263
* ephy-web-view: be precise in what modifiers to catchDiego Escalante Urrelo2010-02-171-4/+8
| | | | | | | | In ephy_web_view_button_press_event we are being too liberal with "&" when checking for modifiers, we want == so we don't prevent handling elsewhere. Also explain the function a bit more. Bug #604950
* Random formatting fixesDiego Escalante Urrelo2010-02-171-14/+14
| | | | Too wide comments, some indentation.
* Enable window auto resize/move.Xan Lopez2010-02-161-0/+1
| | | | Bug #604991
* Use correct UTF8 length when converting JSStringsDiego Escalante Urrelo2010-02-151-1/+1
| | | | | | | | | JSStringGetLength returns the number of UTF8 chars in the string, using this value results in trimmed strings when they contain UTF8 chars. The correct function is JSStringGetMaximumUTF8CStringSize that reports the number of bytes the string requires to be allocated, including null-byte. Bug #609936
* downloader-view: current-size is guint64 not gint64Diego Escalante Urrelo2010-02-121-1/+1
|
* ephy-web-view: fix password storageXan Lopez2010-02-101-4/+4
| | | | | | A previous patch to fix it from crashing on NULL strings changed how the strings are managed in general, so we were using variables containing garbage in some cases.
* ephy-embed-prefs: reenable page cache by defaultXan Lopez2010-02-091-1/+1
|
* Implemented print previewJose Millan Soto2010-02-093-52/+41
| | | | | | | | | | | | | | Created function ephy_web_view_show_print_preview, which replaces the old implementation of print preview, which was not working now. Preview is displayed in an external viewer, so print preview mode does no longer exist. All functions of the old implementation of print preview have been removed, PPViewToolbar was removed also. Also, as EphyWebView has no more a print preview mode, all functions which checked if a view was in print preview mode were modified. Bug #609021
* ephy-embed-prefs: disable the cache page for nowXan Lopez2010-02-091-1/+1
| | | | | There's a couple of issues with it we need to figure out, so disable it for the release.
* Check for null/empty username and password before saving to gnome-keyringEstêvão Samuel Procópio2010-02-071-12/+17
| | | | Bug #608517
* Using webkit_web_view_get_uri instead of js_get_domain_and_pathEstêvão Samuel Procópio2010-02-071-88/+24
|
* Make SoupCookieJarAcceptPolicy match our cookie policiesXan Lopez2010-02-054-5/+70
| | | | Bug #607484
* ephy-embed: comment typoDiego Escalante Urrelo2010-02-021-1/+1
| | | | Bug #608749
* Implement EphyEmbedPersist using WebKitDownloadDiego Escalante Urrelo2010-01-301-4/+188
| | | | | | | | EphyEmbedPersist is the object in charge of most context menu options. It handles "Save target as", "Open Image", "Save image as", among other actions. This reimplements it using WebKitDownload. Bug #600987
* ephy-web-view.c: allow all windows to be closed by JSactual-2.29.6Xan Lopez2010-01-261-1/+8
| | | | Since we are not marking windows as popups for now.
* Enable page cache for real, now.Gustavo Noronha Silva2010-01-221-0/+1
| | | | | All critical bugs have been fixed, we already depend on a new enough version of WebKit, and this feature needs testing.
* Escape the name of resources before saving themDiego Escalante Urrelo2010-01-211-4/+6
| | | | | | | | | | Some resources might be of the style "page.php?orig=/place/other", this would make Epiphany crash while saving them because of the invalid characters for the filename. To solve this we escape the name of the resources before using it as the name of the destination file. Bug #606876
* Rename a variable to make its relation obviousDiego Escalante Urrelo2010-01-211-15/+15
| | | | | | | | | | In ephy_web_view_save_sub_resources the destination_uri var is passed down to the GAsyncReadyCallbacks and is freed after all the operations are finished, however it is named sub_destination_uri in this callbacks. To make it more obvious that it is the same data we renamed all the ocurrences to destination_uri. Bug #606876
* ephy-web-view: plug leaks in ephy_web_view_saveDiego Escalante Urrelo2010-01-211-8/+11
| | | | Bug #606876
* Ask for confirmation when replacing files, in save asJorge Kalmbach2010-01-211-4/+6
| | | | Bug #605480
* Disable page cache - I committed it by mistakeGustavo Noronha Silva2010-01-161-1/+0
|
* Remove error handling work-aroundsGustavo Noronha Silva2010-01-162-31/+22
| | | | | | | WebKit will stop emitting load signals when it loads the error page, which makes life easier for us. Bug #377012
* Remove legacy fields in EphyEmbedPersistDiego Escalante Urrelo2010-01-141-7/+0
|
* Improve infobar text a bitDiego Escalante Urrelo2010-01-121-3/+12
| | | | | | Include a mention to the username being saved and the domain where the form is. Bug #605022
* Rename EphyWebView::ge-new-window to EphyWebView::new-windowXan Lopez2010-01-091-8/+8
|
* Don't omit notifications for downloadsDiego Escalante Urrelo2009-12-301-24/+11
| | | | | | | | | | If a download is finished while the GtkStatusIcon for DownloadView is not embedded the finished notification for such download is missed and user is left wondering what happened with his/her download. This makes notifications show whether there is or not a GtkStatusIcon to attach to. Bug #604599
* Implement replace action for downloadsDiego Escalante Urrelo2009-12-302-20/+81
| | | | | | | Always download to a temporary location, only move the file to the final destination after it has been downloaded completely. Bug #594192
* downloader-view: fix wrong return typeDiego Escalante Urrelo2009-12-301-1/+3
| | | | Bug #594192
* Minor style fixes in downloads code.Diego Escalante Urrelo2009-12-302-5/+7
| | | | Bug #594192
* ephy-embed: fix download button actionDiego Escalante Urrelo2009-12-301-0/+8
| | | | | | | | | Sometimes downloads can have a mime_description but a NULL helper_app in that case action is never changed so DOWNLOAD_ACTION_DOWNLOAD remains as action value. This is the same response value as Save as... button, which is wrong for the Download button. Bug #605091
* ephy-embed: minor style fixDiego Escalante Urrelo2009-12-291-2/+1
| | | | Bug #605091
* Enable mime type safety check in downloadsDiego Escalante Urrelo2009-12-291-0/+1
| | | | | | Honour our database of safe and unsafe mime types. Bug #605026
* Reimplement window.closeXan Lopez2009-12-261-0/+18
| | | | | | | | We consider all windows opened by the web page without user intervention as popups, and allow them to be closed in the same way if the page so requests. Bug #599009
* Copy WebKitWebHistoryItem objectsGustavo Noronha Silva2009-12-211-1/+2
| | | | | This is so that changes to the item objects do not affect other WebViews.
* ephy-embed-prefs: enable quirks mode by defaultXan Lopez2009-12-211-0/+1
| | | | Makes WebKit apply a series of workarounds for known broken sites.
* Restrict number of password infobars to oneGustavo Noronha Silva2009-12-201-0/+13
|
* Finish porting the favicon cache to WebKitDownloadGustavo Noronha Silva2009-12-201-5/+5
|
* Add custom user-agent supportVincent Untz2009-12-192-1/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We default to the WebKitGTK+ user agent with Epiphany and the version appended to it. This can be overriden/modified in two ways: - The gconf key /apps/epiphany/general/user_agent has the maximum priority, and if it's set it will be always used. - If the gconf key is not set, vendors can still customize the UA by placing a branding.conf file in the share data directory. One example would be: [User Agent] Vendor=SUSE VendorSub=11.2 VendorComment=2.29.94-1 And the result would be: Mozilla/5.0 (X11; U; Linux i686; fr-fr) AppleWebKit/531.2+ (KHTML, like Gecko) Safari/531.2+ SUSE/11.2 (2.29.94-1) Epiphany/2.29.94 Bug #580903 Signed-off-by: Xan Lopez <xan@gnome.org>
* Properly manage the list of languages for the "Accept-Language" headerMario Sanchez Prada2009-12-191-1/+56
| | | | | | | | New handler added to watch for changes in the GConf key with the list of languages for the "Accept-Language" HTTP header, and update the SoupSession's "accept-language" property (since libsoup 2.29.4). Bug #528893
* Make form code safe against unnamed password/username elementsBenjamin Otte2009-12-181-2/+7
|
* Restore download on shift-click functionalityGustavo Noronha Silva2009-12-183-2/+23
|
* Make Ctrl-rightclick always display the browser keyboardGustavo Noronha Silva2009-12-181-0/+11
|
* docs: ephy-web-viewDiego Escalante Urrelo2009-12-182-27/+185
|
* ephy-web-view: add missing includeDiego Escalante Urrelo2009-12-181-0/+1
|
* ephy-web-view.c: use NULL-safe str compare functionXan Lopez2009-12-181-1/+1
| | | | Fixes crasher in pages with no rel elements.
* Use the new top-widget infrastructure to ask whether to store passwordsGustavo Noronha Silva2009-12-171-19/+190
|
* Make it possible to add arbitrary widgets above the WebViewGustavo Noronha Silva2009-12-172-3/+93
|
* Make EphyEmbed inherit from GtkVBox instead of GtkScrolledWindowGustavo Noronha Silva2009-12-174-11/+19
|
* Allow dialog buttons be the defaultBenjamin Otte2009-12-171-0/+1
| | | | | Fixes crashers when we actually make them the default shortly afterwards.
* ephy-web-view: do not auto-fill passwords when using a private profileXan Lopez2009-12-161-3/+3
|
* Emitting ge-feed-link signal for rss extensionEstêvão Samuel Procópio2009-12-161-0/+93
| | | | Signed-off-by: Xan Lopez <xan@gnome.org>
* Implement the actual form authentication saving and pre-fillingGustavo Noronha Silva2009-12-162-0/+517
| | | | | | | | | This is a "draft" quality implementation. There are some FIXMEs, and a bunch of caveats, like private profiles not being taken into consideration, and the user not being asked whether they want to save the passwords or not. Bug #582267
* ephy-embed-single: add a function to update the form auth cache with a new entryXan Lopez2009-12-152-12/+47
|
* ephy-embed-single: add a function to get the form auth data for a URIXan Lopez2009-12-152-13/+45
|
* ephy-embed-single: cache form auth dataXan Lopez2009-12-151-0/+153
| | | | | Otherwise we need to query keyring all the time to figure out if we have to prefill forms.
* Let web pages handle mouse clicks before doing our own handlingGustavo Noronha Silva2009-12-141-1/+4
| | | | | | | This allows applications to provide their own context menus, and perform their own handling for right-click events. Bug #603326
* ephy-web-view: url-decode javascript URIs before executing themXan Lopez2009-12-141-3/+7
| | | | | | Fixes Amazon Add to Wishlist bookmark. Bug #604489
* ephy-web-view: do not set favicon when we have no addressNguyen Thai Ngoc Duy2009-12-121-1/+1
| | | | | | | | | This shouldn't happen in theory, but the double check fixes a crasher opening URLs from gmail. Bug #604375 Signed-off-by: Xan Lopez <xan@gnome.org>
* ephy-web-view: get rid of 'icon-address' propertyXan Lopez2009-12-112-85/+48
| | | | Also redundant since we have the same thing in WebKitWebView now.
* ephy-web-view.h: remove old signal from class structXan Lopez2009-12-111-2/+0
|
* Remove the 'favicon' signal from EphyWebViewXan Lopez2009-12-113-29/+1
| | | | We already have WebKitWebView::icon-loaded, so it's redundant now.
* Make the favicon cache work on top of new WebKit API, and WebKitDownloadGustavo Noronha Silva2009-12-103-57/+54
| | | | | | | | This restores basic favicon functionality. In the future we will want to replace our favicon cache with the IconDatabase that is available in WebKit. Bug #601859
* Add gconf key to control the search engine used in auto-searchCarl van Tonder2009-12-091-2/+14
| | | | | | | | Defaults to Google, like it used to. Bug #604087 Signed-off-by: Xan Lopez <xan@gnome.org>
* Use new WebKit API to respect the Content-Disposition headerGustavo Noronha Silva2009-12-091-1/+29
| | | | | | | This allows us to perform downloads when the server tells us to do so, even for types WebKit supports. This fixes downloading GMail attachments. Bug #598605
* Get rid of 'ge-document-type' signalXan Lopez2009-12-082-88/+60
| | | | Connecting to notify::document-type is enough.
* ephy-web-view: fix typoXan Lopez2009-12-081-1/+1
|
* ephy-embed: consider text/plain pages as document-type HTMLXan Lopez2009-12-081-2/+3
| | | | | | | WebKit still thinks of them as HTML documents, and otherwise things like the text-encoding menu are disabled for them. Bug #603927
* docs: nitpick in ephy-web-viewDiego Escalante Urrelo2009-12-031-1/+1
| | | | Bug #503852
* docs: ephy-web-view missing @view descriptionsDiego Escalante Urrelo2009-12-031-15/+15
| | | | Bug #503852
* ephy-web-view: formatting nitpickDiego Escalante Urrelo2009-12-031-8/+8
| | | | Bug #503852
* ephy-embed: reimplent EphyEmbedSingle 'handle-content' signalXan Lopez2009-12-031-1/+13
| | | | This is used by external download managers like gwget.
* ephy-web-view.c: fix auto-google search when using Ctrl-EnterXan Lopez2009-11-301-26/+34
| | | | Bug #603324
* Add GObject introspection annotations to more functionsIain Nicol2009-11-231-0/+5
| | | | | | Partial fix for bug #599757. Signed-off-by: Xan Lopez <xan@gnome.org>
* ephy-embed: only fetch the document type for a page from the main frameXan Lopez2009-11-191-16/+19
| | | | | | | Otherwise we will rewrite the right document type with the document type from other frames in the page. Bug #602400
* Add GObject introspection annotations to many *_get_* functionsIain Nicol2009-11-186-13/+71
| | | | | | Partial fix for bug #599757. Signed-off-by: Xan Lopez <xan@gnome.org>
* Initialize ephy_web_view_get_security_level's output param "description"Iain Nicol2009-10-301-2/+6
| | | | | | Partial fix for bug #599757. Signed-off-by: Xan Lopez <xan@gnome.org>
* Correct "ReturnValue" to "Return value" in gtk-doc commentsIain Nicol2009-10-272-3/+3
| | | | Signed-off-by: Xan Lopez <xan@gnome.org>