aboutsummaryrefslogtreecommitdiffstats
path: root/embed
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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
|