aboutsummaryrefslogtreecommitdiffstats
path: root/embed
Commit message (Collapse)AuthorAgeFilesLines
* 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-311-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.
* Make the inspector window biggerGustavo Noronha Silva2010-08-311-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-311-1/+1
| | | | Bug #626493
* Only show/hide the inspector window when it is detachedGustavo Noronha Silva2010-08-311-9/+17
| | | | Bug #626489
* Set Accept-Language header correctlyJosselin Mouette2010-08-311-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
* Allow attaching/detaching the inspector in Epiphany's windowGustavo Noronha Silva2010-08-311-8/+114
| | | | Bug #625640
* Defaults to ALL FILES on save_as dialogsJorge Kalmbach2010-08-311-1/+1
| | | | Bug #601312
* ephy-embed: don't create Save As button manuallyDiego Escalante Urrelo2010-08-311-10/+3
| | | | Bug #621050
* ephy-embed: clean up confirm_action_from_mimeDiego Escalante Urrelo2010-08-311-35/+36
| | | | | | Avoid duplication of code. Bug #621050
* Fixed detected feed URL for relative URIsFrédéric Péters2010-08-311-1/+14
| | | | Bug #609817
* ephy-web-view: remove dom-content-loaded signalXan Lopez2010-08-312-20/+0
| | | | | Would duplicate the functionality of the WebKit DOM signals, if it worked at all...
* ephy-embed-single: remove add_sidebar signalDiego Escalante Urrelo2010-08-312-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-08-311-1/+3
| | | | file name
* 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.
* 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>
* Reimplement content type checkingGustavo Noronha Silva2009-10-261-13/+19
| | | | | | | This brings back proper content type reporting, and the 'Open' button in the download dialog. Bug #598167
* Refactor EphyShell lifetime trackingXan Lopez2009-10-243-16/+45
| | | | | | | | | Stop having each EphyWindow ref the shell, and instead have the shell track all the newly created EphyWindows. When the last one is gone, quit the GTK+ mainloop. This is simpler and avoids potential reference cycles (see bug #573551). Bug #599348
* Allow popups when the user asks for them.Xan Lopez2009-10-231-0/+3
| | | | Bug #528799
* Pass mailto: URI to gtk_show_uri()Frédéric Péters2009-10-191-0/+1
| | | | | | (Part of) Bug #584537 Signed-off-by: Xan Lopez <xan@gnome.org>
* Execute "javascript:" URIs instead of browsing for them.Chris Lamb2009-10-192-1/+5
| | | | 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-222-5/+8
| | | | | | | | | | | | | | | 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.
* ephy-embed-container.h: fix indentationXan Lopez2009-09-201-30/+23
|
* Bring back epiphany context menuXan Lopez2009-09-204-124/+150
| | | | | | | | | | | | | 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-152-1/+240
| | | | Bug #562611
* Setup nspluginwrapper if availableBastien Nocera2009-09-151-0/+5
| | | | By calling mozilla-plugin-config on startup.
* 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.
* Get rid of EphyCommandManagerXan Lopez2009-09-104-239/+1
| | | | It was just another useless abstraction at this point.
* Automatically append (n) to duplicated downloadsDiego Escalante Urrelo2009-09-101-4/+81
| | | | | Bug 585499 - [Webkit] Automatic downloading into ~/Downloads fails if file already exists
* Delay obtaining suggested filename for dialogsGustavo Noronha Silva2009-09-091-13/+33
| | | | | | | | Most downloads will only have proper suggested filenames after the request has been sent, and a reply was received, so delay getting the suggested filename to when that has happened. Bug #577797
* Fixing style issues I introducedGustavo Noronha Silva2009-09-081-5/+5
|
* Re-adding basic ad blocking supportGustavo Noronha Silva2009-09-081-0/+25
| | | | Bug #562762
* ephy-embed-single: protect against SoupPasswordManager going awayXan Lopez2009-09-071-0/+4
| | | | It might go away for 2.30, so protect against that.
* Simplify EXPIRE logic in ephy_web_view_set_typed_addressXan Lopez2009-09-072-26/+13
| | | | | | 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-embed-prefs.c: do not auto-shrink imagesXan Lopez2009-09-071-0/+4
| | | | That's what ephy/gecko used to do (and I don't like it).
* ephy-embed-prefs.c: use 'minimum-logical-font-size' for minimum font size ↵Xan Lopez2009-09-071-1/+1
| | | | | | | | | preference Almost the same than 'minimum-font-size', but broadly speaking WebKit won't enforce it when it considers it could break the layout of a site. Should avoid breakage in some sites when we have a minimum font setting too big.
* ephy-embed: remove some whitespaceDiego Escalante Urrelo2009-09-051-1/+1
|
* Making gcc shut up, by initializing loading_uriGustavo Noronha Silva2009-09-051-1/+1
|
* ephy-web-view.c: remove some unused variablesXan Lopez2009-09-041-5/+0
|
* ephy-embed.c: use the initial request to fill the URL entryXan Lopez2009-09-031-7/+13
| | | | | | | Avoids having a blank URL entry until the server responds to our request. Bug #591294
* 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-embed.c: workaround possibly bogus COMMITTED load-status from WebKitXan Lopez2009-08-271-2/+41
| | | | | | | | | | | | When WebKitGTK+ fails to load a URI and is allowed to load the default error page it will emit a COMMITTED load-status with the original URI we failed to load. This was confusing epiphany, since in theory COMMITTED should be only emitted with URIs known to be good. As a workaround flag pages that fail to load in the callback for 'load-error' and avoid doing anything with them when they arrive in COMMITTED. Bug #593200
* 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.
* Make non-critical g_warning() into LOG()Benjamin Otte2009-08-271-3/+3
| | | | Failing to delete a favicon file should not cause the program to abort.
* 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
* ephy-embed.c: enable undo/redoXan Lopez2009-08-261-0/+8
| | | | | | Depends on WebKitGTK+ r47776 (will be in 1.1.14) Bug #591072
* Rename ephy_web_view_get_load_status to ephy_web_view_is_loadingXan Lopez2009-08-252-7/+7
| | | | | Much more clear, and avoids confusions with the WebKitWebView function with similar name.
* ephy-embed.c: update URL in location when clicking on #anchorsXan Lopez2009-08-211-0/+21
| | | | Bug #584506
* ephy-embed-single.c: use new keyring support in libsoup to store passwordsXan Lopez2009-08-131-0/+7
| | | | | We depend on WebKitGTK+ trunk (r47129) and libsoup master (f81520bfd3a97) now.
* Remove unused stuff and clean old references to Mozilla.Xan Lopez2009-08-123-26/+3
|
* Remove ephy-glib-compat.h, since we depend on a newer glib nowXan Lopez2009-08-122-2/+0
|
* ephy-embed.c: add FIXMEXan Lopez2009-08-111-0/+5
|
* ephy-web-view: style fixXan Lopez2009-08-111-2/+2
|
* Prefix noisy commands with AM_V_GENXan 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.
* Move URL normalization into a utility functionXan Lopez2009-08-102-2/+18
|
* downloader-view.c: hide the tray icon before unrefDiego Escalante Urrelo2009-08-101-0/+5
| | | | | | | | Apparently due to a GTK+/gnome-panel bug (bug #340110), the status icon space is not freed in the notification area. The best work-around is to hide the icon before unrefing it. Bug #591189
* ephy-embed.c: sort headersXan Lopez2009-08-091-11/+10
|
* Re-implement PDM's password viewer.Xan Lopez2009-08-094-359/+0
| | | | | | | | | Patch by Holger Freyther, Prit Laes, with fixes from Xan López. Fetches the data from the GNOME keyring, which is where WebKit stores it (when compiled with keyring support). Bug #579217
* Add NULL-check as the returned item can be NULLBenjamin Otte2009-08-081-1/+2
|
* embed/ephy-embed.c: Fix mnemonic usage.Priit Laes2009-08-051-1/+1
|
* 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
* Revert "Move Epiphany to solely use GnomeKeyring for password management."Priit Laes2009-07-295-2/+365
| | | | This reverts commit f453c807afecdc210410eeb9f389ca50d0764a7c.
* Move Epiphany to solely use GnomeKeyring for password management.Priit Laes2009-07-295-365/+2
| | | | | | Based on patch by Holger Freyther. Signed-off-by: Priit Laes <plaes@plaes.org>
* ephy-embed-prefs.c: also set the sans-serif familyXan Lopez2009-07-251-0/+3
|
* ephy-embed-prefs: use the font families set in the GNOME preferencesXan Lopez2009-07-252-4/+39
| | | | We were using the defaults set in WebKitGTK+.
* ephy-embed-prefs.h: remove duplicated defineXan Lopez2009-07-251-1/+0
|
* ephy-favicon-cache.c: recognize icons with mime type image/vnd.microsoft.iconPeter Bui2009-07-211-0/+1
| | | | | | Bug #578575 Signed-off-by: Xan Lopez <xan@gnome.org>
* Try again to fix bug #588143Xan Lopez2009-07-211-6/+0
| | | | | | Simpler (and working) solution: take into account the loading status of the view when deciding if we should use it, if it's blank, to load new pages passed through the command line.
* ephy-embed.c: use 'address' if 'typed-address' is NULL when updating the addressXan Lopez2009-07-211-0/+6
| | | | | Fixes the updating of the current address before the load starts when loading pages from the command line (bug #588143)
* ephy-embed.h: remove unneeded header.Xan Lopez2009-06-211-1/+0
|
* Add a function to get the EphyWebView inside an EphyEmbed.Xan Lopez2009-06-212-1/+17
| | | | For the benefit of bindings.
* 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.
* Simplify widget hierarchy.Xan Lopez2009-06-163-54/+22
| | | | Get rid of a dummy GtkBin layer.
* Move the get_title_composite function to EphyWebView.Xan Lopez2009-06-164-38/+38
|
* 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.
* Use WebKitWebView::load-status instead of our own solution.Xan Lopez2009-06-141-106/+53
|
* Get rid of redundant 'load-progress' property in EphyWebView.Xan Lopez2009-06-143-84/+2
| | | | | | | | | 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
|
* downloader-view.c: fix warning.Xan Lopez2009-06-061-1/+1
|
* ephy-embeds-single.c: style fix.Xan Lopez2009-06-061-1/+1
|
* ephy-embed-single.*: re-indent and untabify.Xan Lopez2009-06-062-156/+158
|
* Get rid of EphyEmbedFactory.Xan Lopez2009-06-066-114/+3
| | | | It's useless now, since there's only one backend.
* Make EphyEmbedPersist a non-interface type.Xan Lopez2009-06-066-165/+7
|
* Make EphyEmbedSingle a non-interface type.Xan Lopez2009-06-067-474/+268
|
* Fold WebKitEmbedPrefs into EphyEmbedPrefs.Xan Lopez2009-06-067-48/+46
|
* Kill EphyBaseEmbed, move the small widget logic it had to EphyEmbed.Xan Lopez2009-06-054-167/+48
|
* Change EphyEmbed to not be an interface type.Xan Lopez2009-06-0510-119/+110
| | | | Holds the code that used to be in WebKitEmbed, which is now dead.
* Move all methods, signals and properties from EphyEmbed and EphyBaseEmbed to ↵Xan Lopez2009-06-0513-2645/+2239
| | | | | | | 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-035-45/+24
|
* Remove ephy_embed_load, it's obsoleted by ephy_web_view_load_request.Xan Lopez2009-06-033-34/+0
|
* ephy-web-view.c: use nil for false value in elisp, not 'f'.Xan Lopez2009-06-031-1/+1
|
* Correctly handle the 'cancel' case in the download decision dialogGustavo Noronha Silva2009-06-021-1/+2
| | | | | | | | | Bug #583855 The code that handled responses for the download decision dialog was getting the downloader view from the embed too early. This change confines the request for the downloader view to the condition block that actually uses it.
* webkit-embed.c: we still do need to update loading_uri here.Xan Lopez2009-05-311-0/+3
| | | | | Fell through the cracks when moving the normalization higher on the stack.
* Move method to copy history between embeds/views to EphyWebView from EphyEmbed.Xan Lopez2009-05-315-74/+49
| | | | Just part of the gradual progress to get rid of the Embed interface.
* Remove LoadFlagsGustavo Noronha Silva2009-05-303-12/+1
| | | | | | They were used, it seems, to decide whether to allow Gecko to "fix" the URL. WebKit has no such facility, and we are already doing our own handling of URI normalization.
* Move URL normalization out of embed, to a higher levelGustavo Noronha Silva2009-05-301-13/+1
| | | | | We need this because not all code that loads URLs goes through embed now.
* Provide API to loading using WebKitNetworkRequestGustavo Noronha Silva2009-05-302-0/+22
| | | | | | 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-304-3/+130
| | | | | This is an object inheriting from WebKitWebView, and will be used to house most of the functionality we move from EphyEmbed.
* webkit-embed.c: do not reinvent ephy-embed-utils functions.Xan Lopez2009-05-291-10/+2
|
* webkit-embed: use C gettext macro for translation context.Xan Lopez2009-05-281-3/+1
| | | | Patch by Claude Paroz, bug #583893
* Preserve back/forward history when opening links in new tabs/windows.Xan Lopez2009-05-282-0/+32
| | | | Bug #583459.
* Fix variable declaration mixed with the code.Gustavo Noronha Silva2009-05-231-1/+2
|
* Reimplement the original download logic and dialog.Gustavo Noronha Silva2009-05-233-3/+229
| | | | | We are still missing some of the MIME logic, pending on a WebKit feature landing.
* ephy-embed: remove scroll methods from embedXan Lopez2009-05-221-17/+0
| | | | The way to scroll now is through the adjustments bound to the view.
* Implement caret browsing mode (bug #562621)Xan Lopez2009-04-282-1/+5
|
* ephy-embed: Mark favicon cache as dirty after deletion (bug #120826)Priit Laes2009-04-251-0/+1
|
* webkit-embed: don use deprecated 'title-changed' signal, connect to ↵Xan Lopez2009-04-241-11/+14
| | | | notify::title instead.
* Use GNOME settings for default font sizes.Xan Lopez2009-04-222-4/+40
| | | | We were using WebKitGTK+ defaults now.
* Remove unnecessary passing around of WebKitEmbed, and fix some styleGustavo Noronha Silva2009-03-271-13/+6
| | | | | | issues. svn path=/trunk/; revision=8945
* Adding myself to the header as copyright holder, for earlierGustavo Noronha Silva2009-03-271-0/+1
| | | | | | contributions. svn path=/trunk/; revision=8943
* Implementing auto-download, and respecting download lock-down.Gustavo Noronha Silva2009-03-271-30/+88
| | | | svn path=/trunk/; revision=8942
* Remove downloading files when cancelling the download.Gustavo Noronha Silva2009-03-262-1/+4
| | | | svn path=/trunk/; revision=8940
* Use Epiphany's profile directory to store the downloaded fileGustavo Noronha Silva2009-03-261-7/+8
| | | | | | temporarily, instead of XDG's cache directory. svn path=/trunk/; revision=8939
* webkit-embed: 'foo ? foo : NULL' == 'foo'Xan Lopez2009-03-221-1/+1
| | | | svn path=/trunk/; revision=8930
* Removing unused variableGustavo Noronha Silva2009-03-211-1/+0
| | | | svn path=/trunk/; revision=8929
* Do not use gtk_dialog_run() for the file chooser dialog whenGustavo Noronha Silva2009-03-212-26/+68
| | | | | | | | downloading. Start downloading early to a temporary location, and change the target URI after the user has decided where to put the file on. svn path=/trunk/; revision=8928
* ephy-base-embed: remove note about using force reload when available.Xan Lopez2009-03-181-4/+0
| | | | | | Turns out it's better not to, see bug #568108. svn path=/trunk/; revision=8916
* webkit-embed: re-add support for click-to-download.Xan Lopez2009-03-161-0/+8
| | | | svn path=/trunk/; revision=8908
* webkit-embed-single: couple of cleanups.Xan Lopez2009-03-141-8/+0
| | | | svn path=/trunk/; revision=8886
* Adapt WebKitDownload-related code to the changes done today inGustavo Noronha Silva2009-03-131-28/+36
| | | | | | WebKitGTK+. svn path=/trunk/; revision=8877
* webkit-embed.c: set security information.Xan Lopez2009-03-061-1/+24
| | | | | | | | | | | | | Patch by Mario Sánchez Prada. Libsoup lacks the needed security API to do this properly, so for now just set SECURITY_HIGH when a site with 'https' protocol reaches load-committed. This at least means we are actually using SSL, otherwise libosup would have failed to load. Bug #551106 svn path=/trunk/; revision=8852
* Fix a few compiler warnings and coding style.Xan Lopez2009-03-052-11/+14
| | | | svn path=/trunk/; revision=8851
* Basic download functionality for ephy/webkit. This update also removesGustavo Noronha Silva2009-03-056-400/+173
| | | | | | | | | the EphyDownload wrapper, which should be no longer needed with the advent of WebKitDownload. http://bugzilla.gnome.org/show_bug.cgi?id=570735 svn path=/trunk/; revision=8848
* webkit-embed: increase default size of inspector window.Xan Lopez2009-03-041-1/+1
| | | | svn path=/trunk/; revision=8843
* Remove ephy_embed_has_automatic_encoding, it's unused now.Xan Lopez2009-03-023-25/+0
| | | | svn path=/trunk/; revision=8833
* Remove get_backend function, there's only one possibility now.Xan Lopez2009-02-283-28/+0
| | | | svn path=/trunk/; revision=8825
* webkit-embed-prefs: use utils macro to get WebView from embed.Xan Lopez2009-02-281-1/+2
| | | | svn path=/trunk/; revision=8823
* webkit-embed-prefs: support user style sheets.Xan Lopez2009-02-271-1/+36
| | | | | | Bug #562628 svn path=/trunk/; revision=8819
* Remove embedding APIs for set/get encoding.Xan Lopez2009-02-273-62/+1
| | | | | | Use WebKit API directly. svn path=/trunk/; revision=8817
* webkit-embed: remove extra ';'.Xan Lopez2009-02-271-1/+1
| | | | svn path=/trunk/; revision=8816
* Implement get/set encoding for the embed.Xan Lopez2009-02-273-5/+8
| | | | | | Bug #525265 svn path=/trunk/; revision=8815
* webkit-embed-single: use SoupProxyResolverGNOME to use GNOME proxy settings.Xan Lopez2009-02-261-1/+6
| | | | svn path=/trunk/; revision=8814
* webkit-embed-single: unref cookie jar once it's added to the session.Xan Lopez2009-02-261-0/+1
| | | | svn path=/trunk/; revision=8813
* Use libsoup, getting the session from webkit, to handle cookies.Xan Lopez2009-02-234-394/+14
| | | | | | | Requires libsoup-gnome for SoupCookieJarSQLite storage. Depending on 2.25.91, although we actually need trunk to get working code. svn path=/trunk/; revision=8811
* downloader-view: use undeprecated gtk_status_icon_set_tooltip_text.Xan Lopez2009-02-211-2/+2
| | | | svn path=/trunk/; revision=8796
* Remove two unused get_type functions from public header filesRobert Carr2009-02-072-4/+0
| | | | svn path=/trunk/; revision=8754