aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Bump GTK+ dependency to GTK+ 3.x branchXan Lopez2010-06-271-2/+2
| | | | | We require at least 2.90.4 to build, there is no support for the old 2.x versions anymore.
* popup-commands: remove unneeded includeXan Lopez2010-06-271-1/+0
|
* pdm-dialog: plug leakXan Lopez2010-06-131-2/+4
|
* pdm-dialog: nasty hack to compile with GSEAL enabledXan Lopez2010-06-131-2/+20
|
* Do not access im_context GtkEntry element directlyJavier Jardón2010-06-021-0/+4
| | | | | | Use gtk_entry_reset_im_context() instead. https://bugzilla.gnome.org/show_bug.cgi?id=595791
* ephy-location-action: don't request EXTRA_COLDiego Escalante Urrelo2010-05-291-2/+0
| | | | | | EXTRA_COL is never used in the match_func. Bug #616345
* Remove obsolete includeXan Lopez2010-05-191-1/+0
|
* Update copyright stringXan Lopez2010-05-191-1/+1
|
* ephy-find-toolbar: highlight matches on find_againDiego Escalante Urrelo2010-05-191-1/+10
| | | | | | | | Find next and Find previous where not highlighting matches when the find toolbar had been closed. We now trigger a highlight when the toolbar was hidden when the user requested to find again. Bug #611499
* ephy-find-toolbar: remove ephy_find_toolbar_find_againDiego Escalante Urrelo2010-05-191-12/+1
| | | | | | It's used only in one place. Bug #611499
* ephy-find-toolbar: rename EphyEmbedFindResult to EphyFindResultDiego Escalante Urrelo2010-05-191-18/+18
| | | | Bug #611499
* ephy-find-toolbar: simplify find next/prev functionsDiego Escalante Urrelo2010-05-191-35/+31
| | | | | | | Add EphyFindDirection enum and consolidate the code of ephy_find_toolbar_find_next() and ephy_find_toolbar_find_previous(). Bug #611499
* ephy-find-toolbar: remove useless ephy_find_toolbar_set_selectionDiego Escalante Urrelo2010-05-191-10/+2
| | | | Bug #611499
* Update the status message from within the EphyWebViewXan Lopez2010-05-191-24/+0
| | | | | 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-2/+2
| | | | | Define them in the EphyWebView header, since we'll need to create the context ids from multiple files.
* Avoid ending up with stuck URL-entry statusbar messagesXan Lopez2010-05-191-1/+7
| | | | | | | Turns out we can get two enter messages in a row followed by just one leave message, which will make the statusbar get stuck with a message forever. As a solution do not allow two enter messages to be processed unless we have gone through the corresponding leave message.
* Use a chromium-like status bar by defaultXan Lopez2010-05-196-458/+33
| | | | | | | | | | 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
* Do not create statusbar messages for navigation actionsXan Lopez2010-05-193-107/+1
| | | | They are not very useful and add clutter to the UI.
* Install introspection files in our own prefix, not g-i'sDan Winship2010-05-181-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=618935
* ephy-embed-single: remove add_sidebar signalDiego Escalante Urrelo2010-05-141-41/+0
| | | | We removed the sidebar extension for 2.30.
* Remove popup state from the statusbarXan Lopez2010-05-133-116/+1
| | | | | The whole feature is kind of broken anyway. When we fix we'll figure out how to show it in the UI.
* ephy-statusbar: remove caret browsing indicatorXan Lopez2010-05-133-45/+0
| | | | | We now show a dialog before enabling the preference, which should be warning enough.
* Show a dialog when the user wants to enable caret browsingXan Lopez2010-05-131-0/+37
| | | | | | | Otherwise it's really simple to enable it by mistake and never notice you did, which can be very confusing. Bug #501666
* ephy-statusbar: remove lock-clicked signalXan Lopez2010-05-133-23/+0
| | | | It's unused now.
* Do not show the security status in the statusbarXan Lopez2010-05-123-54/+0
| | | | | It's already shown in the URL entry, so it's redundant. First step towards getting rid of the statusbar for good...
* Remove smooth scrolling pref from the UIXan Lopez2010-05-121-2/+0
| | | | | We'll add it back whenever we manage to add support for it in WebKitGTK+.
* ephy-session: fix thinko when restoring a multiple-window sessionXan Lopez2010-05-041-7/+9
| | | | | | We were trying to reuse the first EphyEmbed in each window, but only the first one will actually have one. Refactor the code to only attempt this on the first window.
* ephy-session: use an infobar to inform the user about session restorationXan Lopez2010-05-032-93/+196
| | | | Much nicer than a modal dialog that blocks the browser initialization.
* Move homepage loading code to EphyWebViewXan Lopez2010-05-031-25/+3
| | | | | | 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-031-16/+2
| | | | | | 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.
* Open URIs on new tab when middle-clicking on an history itemMario Sanchez Prada2010-04-221-9/+100
| | | | | | | | | Open the history element on a new tab while keeping the right context for the selected item with regard to the back and forward lists. Bug #611400 Signed-off-by: Xan Lopez <xan@gnome.org>
* Allow not copying history when creating a new embedMario Sanchez Prada2010-04-222-3/+6
| | | | | | | | Just added a new flag and check it before copying the history Bug #611400 Signed-off-by: Xan Lopez <xan@gnome.org>
* Change sensitiveness for history buttons when clearing the historyMario Sanchez Prada2010-04-203-5/+20
| | | | | | | | Connect to the 'cleared' signal and change the sensitivity flags Bug #539716 Signed-off-by: Xan Lopez <xan@gnome.org>
* Split EphyNavigationAction in one abstract class and two subclassesMario Sanchez Prada2010-04-208-437/+825
| | | | | | | | | | | | | | To ease understanding and further modification of the two different usages for the EphyNavigationAction class (Back/Forward and Up buttons), all the code there was split so the common one is kept in the superclass, delegating the more specific parts in the implementations of the subclasses: History (back/forward) and Up buttons. Also updated usage of this class in EphyToolbar. Bug #539716 Signed-off-by: Xan Lopez <xan@gnome.org>
* Send 'Referer' on headers sent for context menu HTTP downloadsMario Sanchez Prada2010-04-171-0/+1
| | | | | | | | | | 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>
* ephy-toolbar: fix leave-fullscreen item visibilityDiego Escalante Urrelo2010-04-141-0/+1
| | | | | | | | We were explicitely setting the separator and toolbar visibility but not the exit_button item. This meant the fixed_toolbar was shown but the exit_button remained hidden. Bug #611445
* Version the extensions dir with EPIPHANY_API_VERSIONXan Lopez2010-04-081-1/+1
| | | | | We were using our normal release version, which is not where they are installed.
* Duplicate strings to be used as url in the Up dropdown menuMario Sanchez Prada2010-04-071-1/+1
| | | | | | Bug #599156 Signed-off-by: Xan Lopez <xan@gnome.org>
* Improve page print implementationJose Millan Soto2010-04-071-1/+3
| | | | | | | | | 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>
* ephy-window: fix button-press callback return valueDiego Escalante Urrelo2010-02-261-8/+4
| | | | | | | | Don't always return FALSE when is_middle_clickable or is_middle_click or middle_click_opens are FALSE. This can overwrite left_click + shift cases that are handled and hence should be TRUE. Bug #610844
* Correctly handle shit+click only in ephy-windowDiego Escalante Urrelo2010-02-261-0/+9
| | | | | | | | | | | 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
* Always use i18n'd Desktop and Downloads dir namesDiego Escalante Urrelo2010-02-241-2/+5
| | | | | | | | | | Otherwise preferences gets confused and also some other parts of our code put files where they shouldn't be. This was causing the default downloads destination to reset everytime the preferences dialog was opened and also causing some downloads (when "Open" is selected) to end up where they shouldn't. Bug #610721
* Change 'Enable Java' setting to 'Enable Plugins'Xan Lopez2010-02-201-1/+1
| | | | | There's really no way to completely disable Java support alone, and I think enabling/disabling plugins in general is much more useful.
* ephy-tabs-menu: show favicons instead of radiobuttons in the tabs menu.Olivier Tilloy2010-02-191-46/+29
| | | | | | Bug #405505 Signed-off-by: Xan Lopez <xan@gnome.org>
* Open links in new windows with control+shift+clickDiego Escalante Urrelo2010-02-171-6/+24
| | | | | | This should restore the old behaviour of modifiers completely. Bug #604950
* Random formatting fixesDiego Escalante Urrelo2010-02-172-6/+8
| | | | Too wide comments, some indentation.
* Remove legacy ALLOW_FIXUP flagsDiego Escalante Urrelo2010-02-156-14/+8
| | | | | | This were used by the gecko backend and nowadays are not used at all. Bug #608749
* Use accessor functions instead direct accessJavier Jardón2010-02-112-2/+2
| | | | | | | Substitute GTK_WIDGET_MAPPED() and GTK_WIDGET_REALIZED() GTK+ required version bumped to 2.19.5 https://bugzilla.gnome.org/show_bug.cgi?id=595791
* shift+control+click is not shift+clickDiego Escalante Urrelo2010-02-111-13/+18
| | | | Bug #604950
* Implemented print previewJose Millan Soto2010-02-097-563/+8
| | | | | | | | | | | | | | 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
* Clean uneeded EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBEDDiego Escalante Urrelo2010-02-024-6/+9
| | | | | | | We now have ephy_embed_get_web_view, EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED plus EPHY_WEB_VIEW casts are useless. Bug #608749
* popup-commands: missing unrefDiego Escalante Urrelo2010-01-301-0/+1
| | | | Bug #600987
* ephy-bookmarks-import: check for possible NULL derefXan Lopez2010-01-281-1/+1
| | | | Spotted by Holger Freyther.
* extensions-manager: remove legacy XML format supportDiego Escalante Urrelo2010-01-261-134/+2
| | | | | | | This has been long gone and anything still using it probably doesn't work with the API changes in the last year anyway. Bug #607881
* extensions-manager: use GDir instead of direntDiego Escalante Urrelo2010-01-261-9/+16
| | | | Bug #607881
* ephy-window: assume windows are not popups by defaultXan Lopez2010-01-251-1/+1
| | | | | We need to refine our code to identify popups, meanwhile it's better to err on the benevolent side.
* Suggest Filename based on the mimetype and URI of the WebKitWebResourceJorge Kalmbach2010-01-231-1/+30
| | | | Bug #605479
* window-commands: remove an empty line from f007602Diego Escalante Urrelo2010-01-211-1/+1
| | | | Just a nitpick in Jorge's patch.
* Ask for confirmation when replacing files, in save asJorge Kalmbach2010-01-211-0/+2
| | | | Bug #605480
* Make text search faster by delaying the actual searchGustavo Noronha Silva2010-01-161-4/+31
| | | | | | | This makes sure that we do not search for 1-2 characters when the user starts typing, making the search for longer words faster. Bug #598322
* Miscellaneous nitpick fixesDiego Escalante Urrelo2010-01-123-22/+21
|
* Avoid blank items in back/forward menusDiego Escalante Urrelo2010-01-121-3/+10
| | | | | | Use the url of the page as its menu label if there's no title set. Bug #604491
* Remove uneeded default handlers for about dialogDiego Escalante Urrelo2010-01-091-39/+0
| | | | | | | Since 2.18 url and email hooks are not necessary, GTK+ includes default handlers. Bug #509207
* Rename EphyWebView::ge-new-window to EphyWebView::new-windowXan Lopez2010-01-091-1/+1
|
* Emit again EphyWebView::ge-new-window when requiredXan Lopez2010-01-091-8/+8
|
* Do not dist .gir filesXan Lopez2010-01-061-1/+0
| | | | | | Since the g-i scanner and compiler are shipped together (and will be in the future), there's little to gain in shipping the .gir file in our tarball, and we save a few build-time headaches.
* Update the installation directory for .gir and .typelib filesIain Nicol2009-12-281-2/+2
| | | | Bug #605574
* Use introspection.m4 file to detect introspection supportXan Lopez2009-12-261-7/+7
|
* Reimplement window.closeXan Lopez2009-12-262-13/+12
| | | | | | | | 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
* ephy-bookmarks-editor: wrong castDiego Escalante Urrelo2009-12-201-1/+1
|
* ephy_gui_help: use gtk_show_uri to open helpDiego Escalante Urrelo2009-12-198-15/+9
| | | | | | | We were doing some ugly path searching for this. The correct method is to use gtk_show_uri. Bug #604024
* Restore download on shift-click functionalityGustavo Noronha Silva2009-12-181-25/+20
|
* Make EphyEmbed inherit from GtkVBox instead of GtkScrolledWindowGustavo Noronha Silva2009-12-1714-62/+63
|
* ephy-statusbar: fix GTK+ version check, it was reversedXan Lopez2009-12-161-2/+2
|
* Move profile migration tools from src/ to lib/Xan Lopez2009-12-155-788/+1
| | | | | We'll use them from embed/ for form password saving, and embed/ can't use code from src/
* Let web pages handle mouse clicks before doing our own handlingGustavo Noronha Silva2009-12-141-1/+6
| | | | | | | This allows applications to provide their own context menus, and perform their own handling for right-click events. Bug #603326
* ephy-navigation-action: reverse forward history listCarl van Toder2009-12-091-2/+2
| | | | | | | | Was reversed wrt epiphany/gecko Bug #601744 Signed-off-by: Xan Lopez <xan@gnome.org>
* ephy-statusbar: avoid widget surgery hacks with newer GTK+sXan Lopez2009-12-081-1/+8
| | | | Bug #602130
* ephy-encoding-dialog: fix compiler warning (and bug!)Xan Lopez2009-12-081-2/+1
|
* Revert "Don't use deprecated GtkButton API"Diego Escalante Urrelo2009-12-072-8/+8
| | | | | | Revert this commit since Xan is right about forgetting about deprecating API. Instead of hiding behind g_signal_emit() we should use modern API or file bugs to fill our need.
* Don't use deprecated GtkButton APIDiego Escalante Urrelo2009-12-062-8/+8
| | | | | | | | | | | | | | | In 82a5da33 we removed usage of gtk_button_pressed and gtk_button_released however replacing those for g_signal_emit calls of button-press-event and button-release-event. This however caused a crash on middle clicking of elements in the toolbar. To fix this we use g_signal_emit with pressed and released signals, these two are deprecated signals, though. There doesn't seem to be a way to trigger button pressed/released animation without the pressed/released *deprecated* signals or functions, so this is our best solution for now. Bug #603450
* Revert "Do not use deprecated GtkButton APIs"Xan Lopez2009-12-053-4/+4
| | | | | | | This reverts commit 167e60123c1024d539dc02f4a16f7de994bd1c29. I misread the documentation about this, the signals do not do the same than the old functions.
* Remove redundant parameters in location-set APIDiego Escalante Urrelo2009-12-056-30/+20
| | | | | | | | | | | EphyLocationEntry, EphyLocationAction and EphyToolbar take an @adress and @typed_address parameter, while both are useful we only end up using one so we can easily decide which one to use in ephy-window.c instead of carrying both around until ephy-location-entry.c Bonus: make ephy_location_entry_set_location accept NULL as @address safely. Bug #603651
* docs: missing parameters in signalsDiego Escalante Urrelo2009-12-032-0/+5
| | | | Bug #503852
* docs: ephy-location-actionDiego Escalante Urrelo2009-12-031-8/+79
| | | | Bug #503852
* docs: ephy-toolbarDiego Escalante Urrelo2009-12-032-3/+123
| | | | Bug #503852
* docs: ephy-statusbarDiego Escalante Urrelo2009-12-031-1/+15
| | | | Bug #503852
* docs: ephy-windowDiego Escalante Urrelo2009-12-032-7/+9
| | | | | | | Also make _ephy_window_set_context_event and _ephy_window_unset_context_event static since noone was using those. Bug #503852
* Do not use deprecated GtkButton APIsXan Lopez2009-11-303-4/+4
|
* Add GObject introspection annotations to more functionsIain Nicol2009-11-231-2/+2
| | | | | | Partial fix for bug #599757. Signed-off-by: Xan Lopez <xan@gnome.org>
* ephy-net-monitor: and use && instead of ||Xan Lopez2009-11-191-1/+1
|
* ephy-net-monitor: logic of the NULL checks was invertedXan Lopez2009-11-191-1/+1
|
* Disconnect dbus callbacks when disposing of the monitor.Tom Parker2009-11-181-4/+20
| | | | | | Fixes a crash in some situations, bug #572326 Signed-off-by: Xan Lopez <xan@gnome.org>
* Add GObject introspection annotations to many *_get_* functionsIain Nicol2009-11-188-12/+100
| | | | | | Partial fix for bug #599757. Signed-off-by: Xan Lopez <xan@gnome.org>
* Set program name to match the desktop fileGustavo Noronha Silva2009-11-121-0/+3
|
* Enable gtk-doc & g-ir-scanner support for our introspection annotationsIain Nicol2009-10-301-2/+38
| | | | | | Partial fix for bug #599757. Signed-off-by: Xan Lopez <xan@gnome.org>
* Provide the Inspect Element menu item againGustavo Noronha Silva2009-10-303-0/+33
| | | | | | | WebKit now provides API to start the web inspector, so we can restore the menu item. Bug #599473
* ephy-seed-loader: ref count extensions like ephy-shlib-loader doesIain Nicol2009-10-281-2/+1
| | | | | | Bug #599838 Signed-off-by: Xan Lopez <xan@gnome.org>
* ephy-seed-extension: don't assume the script returned an objectIain Nicol2009-10-271-1/+1
| | | | | | Bug #599714 Signed-off-by: Xan Lopez <xan@gnome.org>
* Correct "ReturnValue" to "Return value" in gtk-doc commentsIain Nicol2009-10-271-3/+3
| | | | Signed-off-by: Xan Lopez <xan@gnome.org>
* ephy-seed-extension: don't crash when detaching multiple extensionsIain Nicol2009-10-241-0/+1
| | | | | | | | | Protect the seed object from being released by the garbage collector after the first extension is detached. Bug #599422 Signed-off-by: Xan Lopez <xan@gnome.org>
* Refactor EphyShell lifetime trackingXan Lopez2009-10-242-25/+10
| | | | | | | | | 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
* Unref EphyShell on EphyWindow's dispose methodXan Lopez2009-10-231-2/+10
| | | | | | This way we can break ref cycles that can happen when using Seed extensions. Bug #573551
* Pass mailto: URI to gtk_show_uri()Frédéric Péters2009-10-191-0/+8
| | | | | | (Part of) Bug #584537 Signed-off-by: Xan Lopez <xan@gnome.org>
* Use the new syntax for seed importsIain Nicol2009-10-151-2/+2
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=598562 Signed-off-by: Xan Lopez <xan@gnome.org>
* src/Makefile.am: Fix parallel-build issue when introspection enabled.Priit Laes2009-09-271-1/+1
|
* ephy-window.c: workaround bug in WebKit progress notificationXan Lopez2009-09-241-4/+11
| | | | | | | LOAD_FINISHED is notified before progress 100% completed, which makes it very hard to rely on those signals to figure out if a page is still loading or not when syncing progress in a tab. Try to workaround this as best as possible.
* Prevents PDM from getting keyring passwords in a private sessionJulian de Navascues2009-09-221-2/+15
| | | | | | | | | | SoupSession will remember HTTP passwords during the private session but as we dont allow to delete them it doesnt make sense to show them in the dialog. Bug #591395 Signed-off-by: Xan Lopez <xan@gnome.org>
* GTK+ 2.17.11 is now the required versionJavier Jardón2009-09-2221-72/+112
| | | | | | | | | | | | | | | 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-0/+2
|
* ephy-notebook.c: better yet, get rid of the test completelyXan Lopez2009-09-201-7/+2
| | | | | Since gtk_notebook_get_nth_page, used just after that, returns NULL for out-of-bounds pages.
* ephy-notebook.c: use public GtkNotebook API instead of accessing members of ↵Xan Lopez2009-09-201-3/+3
| | | | its struct
* src/Makefile.am: add missing includeXan Lopez2009-09-201-0/+1
|
* Bring back epiphany context menuXan Lopez2009-09-203-101/+119
| | | | | | | | | | | | | 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
* ephy-window.c: do not leak hit test resultXan Lopez2009-09-201-0/+1
|
* ephy-window.c: reimplement middle-click clipboard to open linkXan Lopez2009-09-191-58/+26
| | | | Uses the new WebKitHitTestResult APIs landed in WebKitGTK+ r48505.
* Implement saving the page using the DataSource APIGustavo Noronha Silva2009-09-151-14/+35
| | | | Bug #562611
* ephy-profile-migration.c: repeat password migration when neededXan Lopez2009-09-141-2/+14
| | | | | The previous version had some bugs in it, so run it again for users that had already migrated their profile.
* Make the g-ir-scanner rule depend only on the header filesXan Lopez2009-09-131-1/+1
| | | | | If we depend on the binary epiphany file we'll rebuild things much more than needed.
* ephy-nss-glue.c: ask for the NSS master password if neededXan Lopez2009-09-111-0/+46
| | | | | | | It was possible to set a master password for NSS through the certificate manager extension, so we have to support this. Bug #594694
* ephy-nss-glue.c: ignore padLength error in the NSS glue codeXan Lopez2009-09-111-1/+4
| | | | It seems to be harmless, and if we ignore it we can still decrypt some passwords.
* Remove a couple of references to EphyCommandManagerXan Lopez2009-09-111-1/+0
|
* ephy-location-action.c: also disconnect the notebook signal on disconnect_proxyXan Lopez2009-09-101-1/+4
|
* Get rid of EphyCommandManagerXan Lopez2009-09-103-25/+17
| | | | It was just another useless abstraction at this point.
* ephy-location-action.c: unblock address sync on switch-page tooXan Lopez2009-09-101-6/+46
| | | | | | | | | | | We need to unblock the address syncing for the location on switch-page too, since it's not guaranteed that we'll receive a focus-out or activate event before we are interested in resyncing the URL entry again. For example, if the focus is on the entry and we switch tabs with the keyboard shortcut the entry will go out of sync, keeping the URL of the previous tab. Bug #594346
* ephy-profile-migration.c: fix crash when importing some profilesXan Lopez2009-09-101-2/+5
| | | | | | Be more careful about not going over the end of the lines array. Bug #594717
* ephy-profile-migration: stript URIs from whitespace before validatingXan Lopez2009-09-091-0/+1
| | | | libsoup is unhappy with trailing whitespace in some situations.
* Bug 594435: Bookmark properties topic improvementsEmilio Pozuelo Monfort2009-09-081-2/+3
| | | | | | | | | | | | If a bookmark has "foo" and "bar" topics, show "foo, bar, " instead of "fo, bar, o". While at it, remove the trailing comma, so we display "foo, bar" rather than "foo, bar, ". http://bugzilla.gnome.org/show_bug.cgi?id=594435 Signed-off-by: Xan Lopez <xan@gnome.org>
* ephy-location-action: g_strdup is NULL safeXan Lopez2009-09-071-1/+1
|
* Simplify EXPIRE logic in ephy_web_view_set_typed_addressXan Lopez2009-09-073-6/+3
| | | | | | 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.
* window-commands: unref the stream when we are done with itXan Lopez2009-09-071-0/+1
| | | | Per the documentation of 'g_file_replace_finish'.
* window-commands: also ref the embed while the stream is processedXan Lopez2009-09-071-3/+4
| | | | Since it also could go away meanwhile otherwise.
* window-commands: better strdup the URI webkit gives usXan Lopez2009-09-071-3/+4
| | | | | Since it's owned by the view, which might be dead by the time we fallback to viewing the source in another tab.
* window-commands.c: fallback to view source inside the browser when launching ↵Xan Lopez2009-09-071-6/+37
| | | | | | an external app fails Bug #594322
* ephy-window: make <ctrl>KP_0 an alias to <ctrl>0Diego Escalante Urrelo2009-09-051-0/+1
| | | | Bug 573624 - Reset font size with ctrl+0 from num block
* When the DataSource is empty, display empty file instead of crashingGustavo Noronha Silva2009-09-051-1/+4
| | | | | This is so that we don't crash when trying to view source for about:blank, and friends.
* ephy-session.c: fix opening an empty new epiphany window from command lineXan Lopez2009-09-041-3/+4
| | | | By not asking ephy to do silly things.
* ephy-link-action.c: plug memory leakXan Lopez2009-09-031-3/+8
| | | | Noticed by Dan Winship.
* Removing unnecessary includeGustavo Noronha Silva2009-09-021-1/+0
|
* Use new DataSource API to provide view page sourceGustavo Noronha Silva2009-09-021-24/+105
| | | | | | | This change requires WebKitGTK+ at revision 47965, because it uses the new DataSource API. Bug #503968
* Fixs the warning if using NULL urlJulian de Navascues2009-09-011-2/+8
| | | | | | | | | | | | If ephy_shell_new_tab receives a NULL url it passes it to ephy_shell_new_tab_full instead of always building a request with the url Also, in ephy_shell_new_tab_full checks that if OPEN_PAGE flag is enabled, request must be non NULL. Bug #593701 Signed-off-by: Xan Lopez <xan@gnome.org>
* Reimplement "search keys" structure for the WebKit backendGustavo Noronha Silva2009-08-281-9/+4
| | | | | This allows Epiphany itself, and extensions to treat keys that are not handled by the WebView for in-page search purposes.
* ephy-session.c: save session more often to avoid data lossJulian de Navascues2009-08-261-1/+7
| | | | | | | | | | Session was being saved only when the web was fully loaded (WEBKIT_LOAD_FINISHED status reached), so there was no info (URLs) to restore webs that were loading when crashed. Bug #593149 Signed-off-by: Xan Lopez <xan@gnome.org>
* Import passwords from the ephy/gecko profile on first run.Xan Lopez2009-08-264-3/+563
| | | | | | This feature requires NSS, so NSS is added as an optional dependency, enabled by default. Can be disabled with --disable-nss, but then passwords won't be imported.
* Rename ephy_web_view_get_load_status to ephy_web_view_is_loadingXan Lopez2009-08-255-7/+7
| | | | | Much more clear, and avoids confusions with the WebKitWebView function with similar name.
* ephy-session.c: whitespace fixesXan Lopez2009-08-251-56/+56
|
* ephy-session.c: ask users before recovering page that was loading when ↵Julian de Navascues2009-08-241-4/+100
| | | | | | | | session crashed Bug #583953 Signed-off-by: Xan Lopez <xan@gnome.org>
* ephy-main.c: do not import gecko profile when running a private instanceXan Lopez2009-08-241-2/+3
|
* ephy-seed-extension: force a GC cycle after detachs.Xan Lopez2009-08-211-0/+2
| | | | | This should help with memory management/lifecycle woes, although it does not seem to fix bug #573551
* ephy-bookmark-action.c: always show images in bookmarks menu itemsXan Lopez2009-08-171-0/+2
| | | | | Makes images re-appear after the changes that set icons off by default in menus for 2.28. Bug #588563
* Make the location action responsible of the modelXan Lopez2009-08-151-0/+1
| | | | | It does not make sense for the location entry to unref the model it gets as parameter.
* ephy-location-action.c: whitespace changesXan Lopez2009-08-151-32/+32
|
* Update the currently selected item after a case sensitivity changeBenjamin Otte2009-08-151-0/+18
| | | | | Try to keep the currently selected item selected, but if it doesn't match case, find the next match.
* ephy_find_toolbar_set_properties() => ephy_find_toolbar_mark_matches()Benjamin Otte2009-08-151-3/+3
| | | | Renaming to accurately reflect, what the function does.
* Don't pass the string to find to all functionsBenjamin Otte2009-08-151-31/+12
| | | | | | | | The string to find is set in the private structure, so when it needs to be changed, change it there. Removes lots of unnecessary code, in particular when entering text, the marking code (that took lots of CPU) wasn't run twice.
* Remove function set_string_and_highlight()Benjamin Otte2009-08-151-11/+4
| | | | | The function did the same thing as ephy_find_toolbar_set_properties(), so use that function always.
* pdm-dialog.c: do not remove rows twice...Xan Lopez2009-08-121-1/+0
|
* Remove ephy-glib-compat.h, since we depend on a newer glib nowXan Lopez2009-08-124-5/+0
|
* ephy-session.c: sort headersXan Lopez2009-08-121-11/+10
|
* ephy-session: move header from .h to .cXan Lopez2009-08-122-2/+1
|
* ephy-history-window: use new_with_mnemonic instead of new_with_label + ↵Xan Lopez2009-08-111-2/+1
| | | | set_use_underline
* Mark an underline as mnemonicMatthias Clasen2009-08-111-0/+1
| | | | | This prevents a Cl_ear button to show up in the history window. Patch found in Ubuntu package...
* And a few moreXan Lopez2009-08-111-2/+2
|
* Prefix noisy commands with AM_V_GENXan Lopez2009-08-112-6/+6
|
* Move address normalization to the EphyWebView functions.Xan Lopez2009-08-101-6/+1
| | | | | | | | 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-101-16/+5
|
* Remove ephy-password-manager leftoversXan Lopez2009-08-102-2/+0
|
* Add again the spinner.Xan Lopez2009-08-103-4/+60
| | | | | | | | | We need some indication in the UI of network activity when there are no tabs opened and the progress bar hasn't appeared yet in the URL entry. Re-add the spinner for now, we'll think of a better solution later. Bug #585035
* Forgot to add ephy-password-info.[ch] in previous commitXan Lopez2009-08-092-0/+113
|
* Re-implement PDM's password viewer.Xan Lopez2009-08-092-132/+263
| | | | | | | | | 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
* ephy-notebook: remove old FIXMEDiego Escalante Urrelo2009-08-071-5/+0
|
* Use g_hash_table_remove_all() to remove all itemsBenjamin Otte2009-07-311-7/+1
|
* Move default bookmarks to separate rdf file instead of hard-coded valuesVincent Untz2009-07-302-22/+2
| | | | Bug #300190
* Comments "about:recover" functionalityJulian de Navascues2009-07-291-28/+8
| | | | | | | | | | | | | Because "about:recover:" is not implemented yet, Epiphany cant recover tabs that were loading during a crash. So this patch avoids the attempts to recover these tabs and therefore blank tabs wont be opened. Tabs that were fully loaded are still opened and loaded succesfully. Bug #583953 Signed-off-by: Xan Lopez <xan@gnome.org>
* Revert "Move Epiphany to solely use GnomeKeyring for password management."Priit Laes2009-07-294-351/+195
| | | | This reverts commit f453c807afecdc210410eeb9f389ca50d0764a7c.
* Revert "Set password column initially as hidden."Priit Laes2009-07-291-2/+1
| | | | This reverts commit 4e351b7594260829fa6b38762b3c69927e7d2dc3.
* Revert "Use correct column from store for deletion."Priit Laes2009-07-291-1/+1
| | | | This reverts commit f64c5a8275701a2d9d22d9b9e75288c7fb161700.
* Revert "Make pdm_dialog_fill_passwords_list asynchronous."Priit Laes2009-07-291-21/+15
| | | | This reverts commit 745f33e3fac9dd57b1da6be26c82a9101adf59cd.
* Revert "Make password loading/showing asynchronous."Priit Laes2009-07-291-72/+37
| | | | This reverts commit dfbf90543edbb12a4c467db02f60214de3d07d83.
* Revert "Make clear all functionality asynchronous."Priit Laes2009-07-291-54/+21
| | | | This reverts commit a75e0d2fc04d9f599edccf572afe78f2e48e2e44.
* Revert "Password removal is now async :)"Priit Laes2009-07-291-62/+42
| | | | This reverts commit 689820485d8060c85760cd54d8b370f4e108d6dd.
* Revert "Password adding is fully async now."Priit Laes2009-07-291-83/+62
| | | | This reverts commit fbccb4712593d16d8bc06ed4cb3d6e27c1053dee.
* Password adding is fully async now.Priit Laes2009-07-291-62/+83
| | | | Signed-off-by: Priit Laes <plaes@plaes.org>
* Password removal is now async :)Priit Laes2009-07-291-42/+62
| | | | Signed-off-by: Priit Laes <plaes@plaes.org>
* Make clear all functionality asynchronous.Priit Laes2009-07-291-21/+54
| | | | Signed-off-by: Priit Laes <plaes@plaes.org>
* Make password loading/showing asynchronous.Priit Laes2009-07-291-37/+72
| | | | Signed-off-by: Priit Laes <plaes@plaes.org>
* Make pdm_dialog_fill_passwords_list asynchronous.Priit Laes2009-07-291-15/+21
| | | | Signed-off-by: Priit Laes <plaes@plaes.org>
* Use correct column from store for deletion.Priit Laes2009-07-291-1/+1
| | | | Signed-off-by: Priit Laes <plaes@plaes.org>
* Set password column initially as hidden.Priit Laes2009-07-291-1/+2
| | | | Signed-off-by: Priit Laes <plaes@plaes.org>
* Move Epiphany to solely use GnomeKeyring for password management.Priit Laes2009-07-294-195/+351
| | | | | | Based on patch by Holger Freyther. Signed-off-by: Priit Laes <plaes@plaes.org>
* ephy-embed-prefs.h: remove duplicated defineXan Lopez2009-07-252-3/+3
|
* ephy-navigation-action.c: do not jump to new tab when middle-clicking on ↵Xan Lopez2009-07-221-2/+2
| | | | back/forward
* ephy-navigation-action.c: add copyrightXan Lopez2009-07-211-0/+1
|
* ephy-navigation-action.c: sort includesXan Lopez2009-07-211-7/+7
|
* ephy-navigation-action.c: fixup for bug #583440Xan Lopez2009-07-211-10/+26
| | | | | | Need to handle properly the history copying either by using ephy_shell_new_tab or, in the case of forward history, by manually getting the forward URI.
* Try again to fix bug #588143Xan Lopez2009-07-211-4/+5
| | | | | | 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-navigation-action.c: fix middle-click on back/forwardXan Lopez2009-07-211-0/+2
| | | | | We were getting a new embed but not its web view, which is what we use to load the page. (bug #583440)
* Fix gcc warnings by using GINT_TO_POINTER/GPOINTER_TO_INTBenjamin Otte2009-07-201-2/+2
|
* ephy-history-window.c: do not use deprecated function.Xan Lopez2009-07-121-1/+1
|
* style fixes for a464b7332c02f6b4e34c5a7a88b8b93198f3e9beBenjamin Otte2009-07-081-5/+3
| | | | | - indent correctly - remove leftover unused variable
* remove unused references to historyBenjamin Otte2009-07-061-5/+0
|
* compute base address with strchr and without regexpsBenjamin Otte2009-07-061-8/+25
| | | | | | | This fixes two problems: 1) It improves performance a lot. 2) The regexp in use was not strict enough. It happily matched non-base addresses. (i.e. http://example.com/your-mom/ )
* ephy-window.c: can't use pspec to figure out if we should sync progress.Xan Lopez2009-06-171-6/+5
| | | | | Since it breaks syncing when switching between loading tabs. Need to do this properly and wait for webkit bug #26409.
* ephy-notebook.c: connect to embed-title, not to title.Xan Lopez2009-06-161-1/+1
| | | | | embed-title is the poorly named wrapper over the WebKitWebView's title signal.
* Move the get_title_composite function to EphyWebView.Xan Lopez2009-06-162-2/+2
|
* ephy-window.c: remove debug message.Xan Lopez2009-06-161-1/+0
|
* ephy-window.c: adapt to API change in WebKitGTK+.Xan Lopez2009-06-161-1/+2
| | | | Progress from the WebView goes from 0.0 to 1.0 now.
* ephy-window.c: remove unused variable.Xan Lopez2009-06-141-2/+0
|
* Use WebKitWebView::load-status instead of our own solution.Xan Lopez2009-06-141-3/+6
|
* ephy-window.c: a different hack to not show progress when loading about:blank.Xan Lopez2009-06-141-1/+11
|
* Get rid of redundant 'load-progress' property in EphyWebView.Xan Lopez2009-06-141-11/+3
| | | | | | | | | 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-shell.c: do not set typed address when opening a new tab.Xan Lopez2009-06-121-3/+0
| | | | | Fixes missing URI before load-committed but gives weird problems with about:blank getting stuck, need to think this through.
* ephy-shell.c: update for latest changes in WebKitNetworkRequest.Xan Lopez2009-06-121-13/+7
| | | | | | WebKitNetworkRequest objects won't fail to be constructed since WebKitGTK+ 1.1.9, worst case they'll have a bogus URI and trying to load them will fail.
* ephy-shell.c: set typed address when opening a page in a new tab too.Xan Lopez2009-06-111-2/+5
|
* ephy-tabs-menu.c: pass correct parameter to sync_tab_title function.Xan Lopez2009-06-091-1/+1
|
* ephy-tabs-menu.c: tab titles are not updated.Xan Lopez2009-06-081-4/+4
| | | | | | Code was not updated to reflect latest refactorings. Bug #585139
* epiphany.h.in: remove old includes.Xan Lopez2009-06-061-2/+0
|
* src/Makefile.am: remove webkit embed library, it does not exist anymore.Xan Lopez2009-06-061-1/+0
|
* Remove Python support.Xan Lopez2009-06-0611-4894/+0
| | | | | The supported language for extensions other than C/C++ is now JavaScript through Seed.
* Remove embedfactory library from Makefiles.Xan Lopez2009-06-061-3/+0
|
* ephy-window.c: silence warning.Xan Lopez2009-06-061-1/+1
|
* Get rid of EphyEmbedFactory.Xan Lopez2009-06-064-11/+7
| | | | It's useless now, since there's only one backend.
* Move all methods, signals and properties from EphyEmbed and EphyBaseEmbed to ↵Xan Lopez2009-06-0517-212/+234
| | | | | | | EphyWebView. Those two embed classes are pretty much dummy leftovers, so it should be easier to remove them now.
* ephy-location-action.c: strip whitespace from URLs before loading.Holger Hans Peter Freyther2009-06-031-1/+1
| | | | Bug #584466
* ephy-shell.c: check that the network request is not NULL before unrefing it.Xan Lopez2009-06-031-1/+2
| | | | It won't be created with, for example, about:blank.
* Move load_url method to EphyWebView.Xan Lopez2009-06-034-17/+7
|
* ephy-shell.c: do not crash when loading about:blank ...Xan Lopez2009-05-311-4/+7
|
* Move method to copy history between embeds/views to EphyWebView from EphyEmbed.Xan Lopez2009-05-313-22/+7
| | | | Just part of the gradual progress to get rid of the Embed interface.
* Include WebKit-1.0 in .gir creationDiego Escalante Urrelo2009-05-301-0/+1
|
* Remove LoadFlagsGustavo Noronha Silva2009-05-302-22/+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-1/+18
| | | | | We need this because not all code that loads URLs goes through embed now.
* Fix missing HTTP information when opening links in new tabsGustavo Noronha Silva2009-05-305-23/+33
| | | | | | | | | | Bug #120341 This changeset reworks ephy_shell_new_tab_full (and its callers) to use a WebKitNetworkRequest instead of an URL when handling openning links in new tabs. This gains us the advantage of feeding the new WebView with the same WebKitNetworkRequest WebKit would use to navigate to the new address.
* Adding a new EphyWebView objectGustavo Noronha Silva2009-05-301-0/+1
| | | | | This is an object inheriting from WebKitWebView, and will be used to house most of the functionality we move from EphyEmbed.
* Preserve back/forward history when opening links in new tabs/windows.Xan Lopez2009-05-281-5/+4
| | | | Bug #583459.
* Update Seed extension wrapper to Seed API changesTim Horton2009-05-111-1/+2
|
* ephy-window: declare variables only if needed.Xan Lopez2009-04-241-8/+7
|
* ephy-window: ignore chrome flags when opening new page in a tab.Xan Lopez2009-04-241-24/+33
| | | | | If we are forcing the creating of the new page in a tab ignore whatever chrome flags the new window would try to set.
* ephy-find-toolbar: fix backwards search, forward search was hardcoded.Xan Lopez2009-04-171-2/+2
|
* ephy-window: use new-window-policy-decision-requested signal.Xan Lopez2009-03-251-10/+29
| | | | | | | | | | | | | Patch by Alejandro G. Castro. Allows to open links with target=_blank in a new tab by clicking with the middle button. Requires WebKitGTK+ r41969. Fixes #573357. svn path=/trunk/; revision=8938
* ephy-topic-action: call gtk_activatable_get_related_action on the right widget.Xan Lopez2009-03-211-1/+4
| | | | | | | We set the action on the tool item, so fetch the action from there and not its child button. Fixes bug #571178. svn path=/trunk/; revision=8926
* ephy-window: try with a bigger z-index...Xan Lopez2009-03-191-1/+1
| | | | svn path=/trunk/; revision=8922
* ephy-window: nasty hack to try to get the link-message on top of everything.Xan Lopez2009-03-191-0/+1
| | | | | | Mmm, maybe I should use an actual GTK+ window after all :) svn path=/trunk/; revision=8921
* ephy-window: implement translucent link-message statusbar.Xan Lopez2009-03-191-3/+100
| | | | | | | | 'Inspired' from Chrome, will show the link-message in a translucent floating div on the bottom left corner of the web view if the normal statusbar is hidden. svn path=/trunk/; revision=8920
* ephy-profile-migration: and another.Xan Lopez2009-03-141-0/+1
| | | | svn path=/trunk/; revision=8885
* ephy-profile-migration: plug leak.Xan Lopez2009-03-141-0/+1
| | | | svn path=/trunk/; revision=8884
* Add profile migration.Xan Lopez2009-03-134-2/+168
| | | | | | | Migrate cookies from Mozilla, both sqlite and txt formats (sqlite has priority in case both exist). svn path=/trunk/; revision=8880
* detect NetworkManager using pkg-configBenjamin Otte2009-03-122-1/+3
| | | | svn path=/trunk/; revision=8873
* Remove ephy-download leftovers.Xan Lopez2009-03-111-1/+0
| | | | svn path=/trunk/; revision=8869
* ephy-net-monitor: remove unneeded includes, fix compiler warning.Xan Lopez2009-03-071-6/+5
| | | | svn path=/trunk/; revision=8855
* Update ephy-completion-model with some 2-26 thingsDiego Escalante Urrelo2009-03-061-47/+16
| | | | svn path=/trunk/; revision=8853