aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.c
Commit message (Collapse)AuthorAgeFilesLines
* ephy-web-app-utils: move the web app creation code hereXan Lopez2011-09-041-164/+0
|
* ephy-web-view: silence compiler warningXan Lopez2011-09-031-0/+1
|
* Add ephy_web_application_get_profile_directory()Claudio Saavedra2011-09-021-4/+1
| | | | And factor out some code
* 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-291-0/+203
| | | | | | | | 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
* Use an enum for the global mode of the applicationXan Lopez2011-06-301-1/+1
| | | | In preparation to add a new mode for WebApps.
* Always use the EphyEmbedShell to know if we are a private instanceXan Lopez2011-06-301-1/+1
| | | | We can now get rid of the EphyFileHelpers method.
* Use the generic marshaler throughoutXan Lopez2011-06-141-7/+6
| | | | 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).
* Use GtkOrientable interface instead of deprecated V/H widgetsClaudio Saavedra2011-06-091-2/+2
| | | | | | | | | | 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
* Added about:plugins support.Sergio Villar Senin2011-06-011-0/+8
| | | | | | 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
* Move overlay statusbar to EphyEmbedXan Lopez2011-04-161-183/+0
| | | | | It's where it belongs, and it will make things easier for the following patches in this area.
* ephy-web-view: use new API for DOM eventsXan Lopez2011-03-191-2/+3
| | | | This requires WebKitGTK+ r81486, soon to be 1.3.13.
* 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
* 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.
* Port floating statusbar to gedit's overlay widgetXan Lopez2011-02-111-95/+4
| | | | | | | | | | 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-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-web-view.c: fix typoXan Lopez2010-12-121-1/+1
|
* ephy-web-view: use custom error pagesDiego Escalante Urrelo2010-12-111-12/+138
| | | | | | Show nice error pages instead of WebKitGTK+'s defaults. Bug #592667
* ephy-web-view: make defines friendlier with introspectionDiego Escalante Urrelo2010-12-091-1/+1
| | | | | | Non prefixed names trigger lots of warnings, avoid them. Bug #636790
* ephy-permission-manager: fix names of permission typesDiego Escalante Urrelo2010-12-091-2/+4
| | | | | | Prefix them with EPHY_PERMISSION_TYPE instead of "EPT_". Bug #636790
* introspection: fix wrong and missing annotationsDiego Escalante Urrelo2010-12-091-2/+2
| | | | Bug #636790
* ephy-profile-migration: separate migration code into another binaryDiego Escalante Urrelo2010-12-071-18/+18
| | | | | | | | | | | 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
* 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.
* 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-061-33/+0
| | | | They are not even emitted anymore, and are unused.
* ephy-web-view: don't use set-scroll-adjustments signalXan Lopez2010-10-241-7/+19
| | | | Instead rely on notify::{h,v}adjustment
* gsettings: port epiphany to gsettingsDiego Escalante Urrelo2010-10-081-6/+8
| | | | | | 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.
* 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
* 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
* 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-251-18/+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.
* Use a chromium-like status bar by defaultXan Lopez2010-05-191-0/+259
| | | | | | | | | | 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.
* 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-web-view: fix compiler warningXan Lopez2010-05-041-1/+1
|
* Emit a signal when loading the homepageXan Lopez2010-05-031-12/+29
|
* Move homepage loading code to EphyWebViewXan Lopez2010-05-031-0/+31
| | | | | | 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 link message updating to EphyWebViewXan Lopez2010-05-031-0/+10
|
* Move URI handling to EphyWebViewXan Lopez2010-05-031-0/+21
|
* Move title update to EphyWebViewXan Lopez2010-05-031-0/+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-031-128/+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-021-23/+10
| | | | | | | We can use the webkit load status (WebKitLoadStatus) and avoid defining our own enum to check the net states. Bug #593743
* Make sure WebKitWebHistory is cleared when cleared EphyHistoryMario Sanchez Prada2010-04-201-26/+56
| | | | | | | | | | 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>
* Improve page print implementationJose Millan Soto2010-04-071-13/+31
| | | | | | | | | 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>
* 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
* 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-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.
* 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
* 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.
* Implemented print previewJose Millan Soto2010-02-091-33/+40
| | | | | | | | | | | | | | 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
* 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
|
* 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.
* 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
* 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
|
* 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.
* Restrict number of password infobars to oneGustavo Noronha Silva2009-12-201-0/+13
|
* Make form code safe against unnamed password/username elementsBenjamin Otte2009-12-181-2/+7
|
* Restore download on shift-click functionalityGustavo Noronha Silva2009-12-181-0/+4
|
* Make Ctrl-rightclick always display the browser keyboardGustavo Noronha Silva2009-12-181-0/+11
|
* docs: ephy-web-viewDiego Escalante Urrelo2009-12-181-26/+184
|
* 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 EphyEmbed inherit from GtkVBox instead of GtkScrolledWindowGustavo Noronha Silva2009-12-171-1/+1
|
* 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-161-0/+514
| | | | | | | | | 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-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-111-80/+48
| | | | Also redundant since we have the same thing in WebKitWebView now.
* Remove the 'favicon' signal from EphyWebViewXan Lopez2009-12-111-18/+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-101-7/+7
| | | | | | | | 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-081-31/+60
| | | | Connecting to notify::document-type is enough.
* ephy-web-view: fix typoXan Lopez2009-12-081-1/+1
|
* 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.c: fix auto-google search when using Ctrl-EnterXan Lopez2009-11-301-26/+34
| | | | Bug #603324
* Add GObject introspection annotations to many *_get_* functionsIain Nicol2009-11-181-3/+3
| | | | | | 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>
* Execute "javascript:" URIs instead of browsing for them.Chris Lamb2009-10-191-1/+4
| | | | Signed-off-by: Xan Lopez <xan@gnome.org>
* Encode the typed URL before passing it as a query string for searchingGustavo Noronha Silva2009-10-071-3/+6
| | | | | | | This change makes sure that all characters that are typed make it to the search query. Thanks to Dan Winship for pointing out the solution. Bug #596717
* Improve localhost matchingGustavo Noronha Silva2009-10-041-1/+1
| | | | | | | Also consider localhost being used along with a port, with a path, and with a domain. Bug #595690
* ephy-web-view.c: update comment of ephy_web_view_is_loadingXan Lopez2009-09-241-3/+4
|
* ephy-web-view.c: take into account FAILED status for is_loadingXan Lopez2009-09-241-8/+8
| | | | | | | When a page fails to load (for example, when the user cancels it) it won't go through the FINISHED state, which is the only one we are taking into account to decide if a page is still loading. Use the new WEBKIT_LOAD_FAILED status (WebKitGTK+ r48719) too.
* GTK+ 2.17.11 is now the required versionJavier Jardón2009-09-221-3/+6
| | | | | | | | | | | | | | | I've used all the GTK+ 2.17.11 api available, still missing: GTK_WIDGET_REALIZED (GTK_WIDGET ()) GTK_WIDGET_MAPPED (GTK_WIDGET ()) GTK_ENTRY->im_context GTK_STATUSBAR->frame GTK_STATUSBAR->label GTK_MESSAGE_DIALOG->label https://bugzilla.gnome.org/show_bug.cgi?id=595791 Signed-off-by: Xan Lopez <xan@gnome.org>
* Add back support for the "direction up" navigation (GNOME bug 595653)Frédéric Péters2009-09-221-4/+66
|
* Cleanup string freeze break for save asGustavo Noronha Silva2009-09-211-1/+8
| | | | | | | | Use '%s Files', instead of '%s/%s Files' as the translatable string to avoid confusion, and reuse existing mozilla-era translations. Fix the languages that had already translated the new strings using old po files as reference. Also add a translator comment to the source file, for future reference.
* Bring back epiphany context menuXan Lopez2009-09-201-18/+1
| | | | | | | | | | | | | There's a few items (like email link) and actions (like bookmark link) missing or not working because of missing information in the WebKitHitTestResult object, but most of the stuff is working. For some reason the g-ir-scanner is not picking up the correct type name for WebKitHitTestResult (it uses WebKitHitTestResult instead of WebKit.HitTestResult), so the introspection support is broken unless that error is fixed manually. Looking into that ... Bug #562617
* Implement saving the page using the DataSource APIGustavo Noronha Silva2009-09-151-1/+238
| | | | Bug #562611
* ephy-web-view.c: also allow to expire addresses after a new PROVISIONAL statusXan Lopez2009-09-111-0/+2
| | | | | | | | | | | Otherwise the typed address would get stuck if you tried to load a page while another was already loading, ie: - Load URL. - While it's loading, Ctrl+L, type something else, Enter. - The new page will load, but the typed address won't be replaced with the full address as usual. This is particularly bad when you type a few letters and complete the URL in the dropdown.
* Simplify EXPIRE logic in ephy_web_view_set_typed_addressXan Lopez2009-09-071-17/+12
| | | | | | The whole thing just had one functionality at this point as far as I can see: prevent the typed address from being wiped out when a page is loading. Simplify the code to do just that.
* ephy-web-view.c: remove some unused variablesXan Lopez2009-09-041-5/+0
|
* Reimplement "search keys" structure for the WebKit backendGustavo Noronha Silva2009-08-281-3/+22
| | | | | This allows Epiphany itself, and extensions to treat keys that are not handled by the WebView for in-page search purposes.
* ephy-web-view.c: do not duplicate the logic to figure out if a page is secureXan Lopez2009-08-271-9/+3
| | | | Just return the status we set when loading.
* Reimplement search on the location barGustavo Noronha Silva2009-08-271-1/+43
| | | | | | | Use a regular expression and SoupURI to figure out if we should search the string that was typed, or load it as an URI. Bug #583795
* Rename ephy_web_view_get_load_status to ephy_web_view_is_loadingXan Lopez2009-08-251-6/+6
| | | | | Much more clear, and avoids confusions with the WebKitWebView function with similar name.
* ephy-web-view: style fixXan Lopez2009-08-111-2/+2
|
* ephy-web-view: whitespace fixesXan Lopez2009-08-101-169/+169
|
* Move address normalization to the EphyWebView functions.Xan Lopez2009-08-101-4/+15
| | | | | | | | EphyLink is called repeatedly when opening URLs, so normalizing the address there all the time is pointless. Also, we don't go through here in all cases, so we need to add the normalization in the ephy_web_view_load_request function too; this fixes opening URLs like "foo.com" from the command line, for example.
* Add NULL-check as the returned item can be NULLBenjamin Otte2009-08-081-1/+2
|
* Ignore load status changes after LOAD_FINISHED is emittedCarlos Garcia Campos2009-08-041-0/+16
| | | | | | | This is a workaround for webkit bug https://bugs.webkit.org/show_bug.cgi?id=26409. FIRST_VISUALLY_NON_EMPTY_LAYOUT might be emitted after LOAD_FINISHED, so we just ignore any status change once LOAD_FINISHED has been set
* ephy-web-view.c: adapt to another API change in WebKitGTK+.Xan Lopez2009-06-211-2/+2
| | | | | The bf list now refs newly added items, mostly for the convenience of bindings.
* ephy-web-view.c: do not try to get the EphyWebView inside an EphyWebView.Xan Lopez2009-06-171-1/+1
| | | | Not many chances it will work.
* Move the get_title_composite function to EphyWebView.Xan Lopez2009-06-161-0/+37
|
* ephy-web-view.c: use 'load-status' property from WebKitWebView also internally.Xan Lopez2009-06-141-36/+7
| | | | | | Get rid of our 'load-status' property, and just keep the API semantics of the ephy_web_view_get_load_status function using the WebKitWebView's 'load-status' property.
* Get rid of redundant 'load-progress' property in EphyWebView.Xan Lopez2009-06-141-77/+0
| | | | | | | | | We now use WebKitWebView's 'progress' property directly. The "opening about:blank blinks the entry" bug is back because for some reason a) webkit reports a 10% progress for that URL b) get_uri reports NULL until 100% is loaded for only that page, so blacklisting by URI is not possible either.
* ephy-web-view.c: s/embed/view/ in a few places.Xan Lopez2009-06-141-5/+5
|
* Fold WebKitEmbedPrefs into EphyEmbedPrefs.Xan Lopez2009-06-061-1/+0
|
* Move all methods, signals and properties from EphyEmbed and EphyBaseEmbed to ↵Xan Lopez2009-06-051-4/+1989
| | | | | | | EphyWebView. Those two embed classes are pretty much dummy leftovers, so it should be easier to remove them now.
* Move load_url method to EphyWebView.Xan Lopez2009-06-031-0/+17
|
* ephy-web-view.c: use nil for false value in elisp, not 'f'.Xan Lopez2009-06-031-1/+1
|
* Move method to copy history between embeds/views to EphyWebView from EphyEmbed.Xan Lopez2009-05-311-0/+46
| | | | Just part of the gradual progress to get rid of the Embed interface.
* Provide API to loading using WebKitNetworkRequestGustavo Noronha Silva2009-05-301-0/+19
| | | | | | As the first API adition to out WebKitWebView subclass, we allow Epiphany code to use a WebKitNetworkRequest to load pages. This way we can use the full request information, not just the URI.
* Adding a new EphyWebView objectGustavo Noronha Silva2009-05-301-0/+57
This is an object inheriting from WebKitWebView, and will be used to house most of the functionality we move from EphyEmbed.