aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Port find to WebKit2Carlos Garcia Campos2012-06-271-9/+95
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678628
* Port downloads to WebKit2Carlos Garcia Campos2012-06-272-4/+68
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678612
* Port resources to WebKit2Carlos Garcia Campos2012-06-271-12/+54
| | | | http://bugzilla-attachments.gnome.org/attachment.cgi?id=217022
* ephy-notebook: do not assume the type of the child widget in 'remove'Xan Lopez2012-06-261-1/+2
| | | | | | Since commit 325cf071d1 in GTK+ the 'remove' method will be called also with the tab label widget, so do not assert when the type is not EphyEmbed, just do nothing.
* embed: Move about handlers to a new fileCarlos Garcia Campos2012-06-261-1/+1
| | | | | Leaving in ephy-request-about only the code specific to the soup feature implementation.
* ephy-download-widget: add ephy_download_widget_download_finished()Carlos Garcia Campos2012-06-251-22/+2
| | | | | It makes easier to check whether download finished, and it's compatible with WebKit2.
* ephy-navigation-history-action: Don't leak link-messageCarlos Garcia Campos2012-06-251-3/+2
|
* Port editing commands to WebKit2Carlos Garcia Campos2012-06-252-9/+84
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678596
* ephy-window: Add helper function to update action sensitivityCarlos Garcia Campos2012-06-251-19/+15
|
* Port history to WebKit2Carlos Garcia Campos2012-06-251-15/+52
| | | | | | | In WebKit2 the back forward list is a read-only object, so the code were the back forward list is modified hasn't been ported. https://bugzilla.gnome.org/show_bug.cgi?id=678594
* ephy-navigation-history-action: Rename webkit_construct_history_listCarlos Garcia Campos2012-06-251-4/+5
| | | | | As construct_webkit_history_list since the webkit_ prefix makes the function look like WebKit API even if it's a private method.
* Add support for new windows in WebKit2Carlos Garcia Campos2012-06-251-37/+81
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678593
* Port policy client to WebKit2Carlos Garcia Campos2012-06-251-3/+149
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678591
* Port web view loading progress and feedback to WebKit2Carlos Garcia Campos2012-06-242-3/+26
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678532
* popup-commands: use EPHY_DOWNLOAD_ACTION_DO_NOTHINGDiego Escalante Urrelo2012-06-231-0/+1
| | | | | | Stop downloaded backgrounds from popping an image viewer instance. https://bugzilla.gnome.org/show_bug.cgi?id=676128
* Initial WebKit2 portCarlos Garcia Campos2012-06-2117-8/+344
| | | | It builds and basic functionality works.
* Use WebKitWebView API to get/set the zoom level instead of g_object_get/setCarlos Garcia Campos2012-06-211-7/+5
| | | | | Also use always double instead of float so that it will be compatible with WebKit2 API.
* Include libsoup header explicitly when requiredCarlos Garcia Campos2012-06-211-0/+1
| | | | Instead of relying on webkit header to include it.
* ephy-embed: show a message popup when entering fullscreen modeClaudio Saavedra2012-06-202-0/+9
| | | | | | | | The message is different depending on whether we are entering HTML5 fullscreen mode or application fullscreen, since the keys used to leave either mode are different. https://bugzilla.gnome.org/show_bug.cgi?id=671195
* ephy-window: hide all chrome when entering fullscreen modeClaudio Saavedra2012-06-201-1/+5
| | | | | | | | | | We keep track of the state of the chrome before entering fullscreen mode in order to restore it afterwards. Also, set tabs-allowed to FALSE in the EphyNotebook when in fullscreen mode. When leaving fullscreen mode, restore to the previous state. https://bugzilla.gnome.org/show_bug.cgi?id=671195
* ephy-window: keep track of whether the downloads box is shownClaudio Saavedra2012-06-201-5/+14
| | | | | | We add it to EphyWebViewChrome and track it there. https://bugzilla.gnome.org/show_bug.cgi?id=671195
* ephy-window: remove ephy-fullscreen-popupClaudio Saavedra2012-06-204-550/+0
| | | | | | We're no longer using it https://bugzilla.gnome.org/show_bug.cgi?id=671195
* ephy-notebook: fix the property enabling tabs visibilityClaudio Saavedra2012-06-203-17/+20
| | | | | | | | Replace the redundant and unused "show-tabs" with "tabs-allowed", and allow its use to ultimately hide the tabs, regardless of the policy, whenever the application UI deems necessary. https://bugzilla.gnome.org/show_bug.cgi?id=678468
* ephy-location-controller: add missing get_property bits for "show-icon"Claudio Saavedra2012-06-201-0/+3
|
* ephy-window: add a method to toggle visibility of default actionsClaudio Saavedra2012-06-201-11/+19
| | | | | | | Where default actions are the ones that should be disabled when we display a blank page or anything that is not a webpage. https://bugzilla.gnome.org/show_bug.cgi?id=678405
* ephy-location-controller: add a boolean "show-icon" propertyClaudio Saavedra2012-06-201-0/+22
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678405
* ephy-window: split ephy_window_set_active_tab() into smaller methodsClaudio Saavedra2012-06-201-165/+175
| | | | | | Which we will also reuse later on. https://bugzilla.gnome.org/show_bug.cgi?id=678405
* ephy-window: add _ephy_window_set_navigation_flags()Claudio Saavedra2012-06-201-10/+14
| | | | | | We'll share this code later. https://bugzilla.gnome.org/show_bug.cgi?id=678405
* ephy-shell: EPHY_EMBED_SHELL_MODE_TEST means no realizeDiego Escalante Urrelo2012-06-181-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678134
* ephy-shell: move variable to the only scope where it's usedXan Lopez2012-06-151-3/+2
|
* ephy-shell: initialize jump_to variable to FALSEXan Lopez2012-06-151-1/+1
| | | | | | Otherwise commit ccf3836d601c makes us use that variable with a garbage value most of the time, since it won't be initialized unconditionally anymore.
* popup-commands: use g_get_user_special_dir APIDiego Escalante Urrelo2012-06-151-1/+1
| | | | | | | "Pictures" was hardcoded as the destination folder, use G_USER_DIRECTORY_PICTURES instead. https://bugzilla.gnome.org/show_bug.cgi?id=677240
* ephy-shell: document EphyNewTabFlagsDiego Escalante Urrelo2012-06-151-0/+27
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673683
* ephy-shell: imitate other flag checks for jump_toDiego Escalante Urrelo2012-06-151-2/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676905
* ephy-shell: handy gboolean fullscreen_lockdownDiego Escalante Urrelo2012-06-151-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676905
* ephy-shell: fix bracesDiego Escalante Urrelo2012-06-151-5/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676905
* ephy-web-view: remove unused EphyWebViewChrome elementsDiego Escalante Urrelo2012-06-151-3/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676904
* Fix memory leakCarlos Garcia Campos2012-06-151-3/+4
|
* windows-commands: remove dead codeClaudio Saavedra2012-06-141-15/+0
| | | | The toolbar-editor is gone, so this code should be gone too.
* ephy-bookmarks-import: missing return after ifXan Lopez2012-06-141-0/+1
| | | | | This was making the file-check test never run unless we were in lock-down mode.
* Add a new mode for shell testing, EPHY_EMBED_SHELL_MODE_TESTXan Lopez2012-06-142-4/+8
| | | | | | For now the only difference is that no top-level window will be shown in this mode, but in the future it can be extended to behave in a manner appropriate for testing.
* ephy-session: add a method to load a session from a stringXan Lopez2012-06-142-20/+77
| | | | | And re-write the ephy_session_load method on top of it. We'll use this in our unit tests.
* ephy-completion-model: use a cancellable with the history serviceClaudio Saavedra2012-06-131-1/+14
| | | | | | | | For two things: first, cancel pending operations if a new search term is given before this is complete and, second, to cancel any operation remaining during the model disposal. https://bugzilla.gnome.org/show_bug.cgi?id=672073
* ephy-history-window: cancel history operations during disposeClaudio Saavedra2012-06-131-4/+12
| | | | | | To avoid surprises if the history-window happens to be destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=672073
* ephy-session: fix memory leak in write_tab()Pavel Vasin2012-06-121-2/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-bookmarks-editor: fix GList leaksPavel Vasin2012-06-121-4/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-bookmarks-editor: fix memory leakPavel Vasin2012-06-121-1/+14
| | | | | | webkit_favicon_database_get_favicon_uri returns newly allocated string https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-completion-model: fix GList of EphyHistoryURL leakPavel Vasin2012-06-121-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-bookmarks: fix memory leaksPavel Vasin2012-06-121-2/+4
| | | | | | webkit_favicon_database_get_favicon_uri returns newly allocated string https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-bookmark-action: fix memory leakPavel Vasin2012-06-121-0/+2
| | | | | | webkit_favicon_database_get_favicon_uri returns newly allocated string https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-window: simplify window_state_event() chain-upClaudio Saavedra2012-06-111-4/+2
|
* ephy-location-controller: add missing default case in set/get_property methodsClaudio Saavedra2012-06-051-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675804
* ephy-location-controller: use GBinding to sync properties with the entryClaudio Saavedra2012-06-051-55/+15
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675804
* ephy-session: simplify code to handle session resumeXan Lopez2012-05-281-5/+6
| | | | | There's no need to tell the parse_embed method whether the window it gets is the resume window or not, it can figure it out by itself.
* ephy-session: format comments a bit betterXan Lopez2012-05-281-11/+8
|
* ephy-session: missing space before '('Xan Lopez2012-05-281-1/+1
|
* ephy-session: remove a couple of redundant includesXan Lopez2012-05-281-2/+0
|
* ephy-shell: fix a comment typoDiego Escalante Urrelo2012-05-271-1/+1
|
* popup-commands: committed this by mistakeXan Lopez2012-05-251-1/+0
|
* configure.ac: require GTK+ 3.5.2 for OSD style classXan Lopez2012-05-251-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676784
* embed: remove custom CSS styling for the overlay progressbarCosimo Cecchi2012-05-241-29/+0
| | | | | | | Now that the overlay progressbar is styled by the theme, we can just set the OSD style class on the overlay to get the same effect. https://bugzilla.gnome.org/show_bug.cgi?id=676660
* Always close bookmarks fileLubomír Sedlář2012-05-211-7/+11
| | | | | | | | During error handling it was possible to return from function without closing bookmarks file and freeing two string, causing memory and descriptor leaks. https://bugzilla.gnome.org/show_bug.cgi?id=675888
* Prevent use of unitialized memoryLubomír Sedlář2012-05-211-1/+1
| | | | | | | Initialize the variable to NULL, so that even without another assignment it is safe to read it. https://bugzilla.gnome.org/show_bug.cgi?id=675888
* preferences: fix 'Add language' dialog layoutXan Lopez2012-05-191-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676043
* prefs: expose the Do Not Track setting in the preferences UIXan Lopez2012-05-192-25/+57
|
* ephy-main: fix typo in messageXan Lopez2012-05-191-1/+1
|
* Remove a few more egg leftoversXan Lopez2012-05-101-1/+0
|
* tests: test that trying to run an invalid migration step failsXan Lopez2012-05-101-1/+1
|
* ephy-window: no need to cast the return value of g_object_newXan Lopez2012-05-101-8/+8
|
* Allow for more fine-grained file helpers initXan Lopez2012-05-081-3/+10
| | | | | | | | | | Since we are about to migrate our profile dir, allow file helpers init to not ensure the profile dir exists (it was hardcoded until now). For this we get rid of the ugly boolean parameters and add a flags parameter, which preserves the old behaviors and allows for this new option. We update all the callers in the tree.
* ephy-profile-utils: split profile migration from EphyShellXan Lopez2012-05-082-20/+4
| | | | | Call it directly from main, since we want it to happen before the file helpers initialization.
* Drop the use of GTK accel mapsWilliam Jon McCann2012-05-081-3/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=674870
* ephy-navigation-history-action: restore menusDiego Escalante Urrelo2012-05-021-0/+396
| | | | | | | | In ebbb1c48197f53b98575b0cb4f6d9fa1e4535abc back/forward drop-downs were removed. This commit brings them back, using the removed code with minor updates. https://bugzilla.gnome.org/show_bug.cgi?id=671609
* ephy-shell: EPHY_NEW_TAB_DONT_SHOW_WINDOW means no realizeDiego Escalante Urrelo2012-04-221-1/+1
| | | | | | | | | If the user passed EPHY_NEW_TAB_DONT_SHOW_WINDOW do not call gtk_widget_realize and gtk_widget_grab_focus on the returned EphyEmbed since this is most likely against the intentions of EPHY_NEW_TAB_DONT_SHOW_WINDOW. https://bugzilla.gnome.org/show_bug.cgi?id=673683
* ephy-window: remove additional spacing in the downloads barSebastian Keller2012-04-171-2/+0
| | | | | It was added to accomodate the window resize grip, which does not exist anymore in Adwaita.
* ephy-notebook: disconnect settings signal handler on finalizeXan Lopez2012-04-161-0/+3
| | | | Otherwise we'll try to update dead notebooks if the setting changes.
* Add an option to never show the tabs barXan Lopez2012-04-161-6/+6
| | | | We'll use this when we land the Overview.
* window-commands: switch pages using the EphyNotebook APIXan Lopez2012-04-163-9/+73
| | | | | | The signal we were using does not work when the tabs bar is hidden, and we'll want the shortcuts to work in that state. Add new EphyNotebooks methods that do the right thing and use them.
* Create a new 'tabs-bar-visibility-policy' settingXan Lopez2012-04-161-3/+6
| | | | | | We need this to be an enum, since we'll a third option in the future for the Overview (to never show the tabs bar). For now just add the two values we have now and migrate the code and the user data.
* Move resources to its own directory inside src/Xan Lopez2012-04-168-9/+9
|
* Move a few EphyShell methods to ephy-private.hXan Lopez2012-04-145-19/+25
| | | | These are clearly not meant to be used outside of Epiphany.
* Remove Help buttonsXan Lopez2012-04-134-33/+37
| | | | Since there's no Help for now.
* Remove Epiphany manualXan Lopez2012-04-132-14/+0
| | | | | | | | | The current manual is quite obsolete and uses and outdated technology, so it really just needs a full rewrite at this point. Hopefully this will motivate someone to do it, meanwhile we stop shipping misguiding documentation. https://bugzilla.gnome.org/show_bug.cgi?id=674047
* Add a setting to control whether the session is automatically restoredXan Lopez2012-04-122-52/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We add a new gsettings key, 'restore-session-policy', with two valid values: 'always' and 'never'. A brief explanation of our session state mechanism follows. There are three ways to exit Epiphany: 1) Activate 'Quit' in the application menu 2) Close the last application window 3) Kill the process manually, SIGSEGV, or other similar unexpected event. For 1) and 2), we'll now do the same thing: a) Call ephy_session_close b) Exit the application manually ephy_session_close will check the new restore-session-policy setting, and only save the session state if it's set to 'always'. Before it used to manually destroy all present windows. We now let EphyShell or EphyWindow do this, EphySession only manages the session state saving. For 3), the process will die with the state saved up to that point, there's nothing we can do. For that reason, on startup also check the new setting; if it's set to 'never' ignore the session state, open a window in the homepage, and delete the old state file. https://bugzilla.gnome.org/show_bug.cgi?id=673453
* ephy-session: remove unused variableXan Lopez2012-04-121-2/+0
|
* ephy-shell: respect the lockdown quit settingRudolfs2012-04-111-2/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673649
* ephy-embed-single: do not handle ephy-embed-prefsDiego Escalante Urrelo2012-04-111-0/+3
| | | | | | | | | ephy-embed-prefs acts like a singleton. Instead of calling init and shutdown in EphyEmbedSingle instances handle it in ephy-main as a true init/shutdown API like ephy-file-helpers. https://bugzilla.gnome.org/show_bug.cgi?id=673273
* ephy-completion-model: normalize NULL strings to "" in ↵Xan Lopez2012-04-031-4/+4
| | | | | | | | | | should_add_bookmark_to_model Otherwise we can get false positives in the regexp, since the previous attempt at normalization would not properly take NULL strings into account. https://bugzilla.gnome.org/show_bug.cgi?id=673301
* ephy-shell: fix whitespaceXan Lopez2012-04-021-3/+3
|
* ephy-shell: whitespace nitpick in castDiego Escalante Urrelo2012-04-011-2/+2
|
* e-web-app-utils: add ephy_web_application_existsAlexandre Mazari2012-03-311-8/+1
| | | | | | Signed-off-by: Diego Escalante Urrelo <diegoe@igalia.com> https://bugzilla.gnome.org/show_bug.cgi?id=658925
* window-commands: get app name only onceAlexandre Mazari2012-03-311-7/+8
| | | | | | | | Avoid multiple calls to gtk_entry_get_text. Signed-off-by: Diego Escalante Urrelo <diegoe@igalia.com> https://bugzilla.gnome.org/show_bug.cgi?id=658925
* ephy-toolbar: fix stop/reload button alignmentDiego Escalante Urrelo2012-03-311-0/+10
| | | | | | | | Add location entry and stop/reload button to a vertical GtkSizeGroup. This ensures that they have the same height, regardless of things like fonts. https://bugzilla.gnome.org/show_bug.cgi?id=668135
* Makefile: silence epiphany resources generationXan Lopez2012-03-311-2/+2
|
* ephy-encoding-dialog: reorder includesXan Lopez2012-03-311-9/+8
|
* ephy-window: listen to org.gnome.Epiphany.ui.show-toolbarsXan Lopez2012-03-301-0/+30
| | | | We were not properly changing the UI if the key was changing at runtime.
* ephy-session: use g_slice_new for SessionCommand structureXan Lopez2012-03-301-3/+2
|
* ephy-window: save the session when the last window is closed manuallyXan Lopez2012-03-301-1/+16
| | | | | | | | If the user closes the last window manually (pressing the [x] button in the window) she probably wants to save the session contents too, so do that. This is consistent with the behavior of Firefox and Chrome. https://bugzilla.gnome.org/show_bug.cgi?id=673122
* Fix compilation warningClaudio Saavedra2012-03-291-1/+1
|
* ephy-web-app-utils: do not use the webview in the web app creation methodAlexandre Mazari2012-03-291-1/+1
| | | | | | | It's not really needed, will allow to reuse this code during profile migration. https://bugzilla.gnome.org/show_bug.cgi?id=658925
* ephy-shell: save the session state on QuitXan Lopez2012-03-291-0/+1
| | | | It will be automatically restored on startup.
* ephy-session: remove unused variableXan Lopez2012-03-291-1/+0
|
* ephy-session: rename session_crashed.xml to session_state.xmlXan Lopez2012-03-291-13/+13
| | | | We are going to use his all the time now, not only for crashes.
* ephy-session: it's not really possible to close while restoring anymoreXan Lopez2012-03-291-11/+0
|
* ephy-session: always auto-resume session on crashXan Lopez2012-03-291-178/+7
| | | | Don't ask, just do it.
* ephy-session: fix gtk-doc syntaxXan Lopez2012-03-291-1/+1
|
* Rip out the EggSMClient codeXan Lopez2012-03-282-244/+0
| | | | The brave new world is to use the session support in GtkApplication.
* resources: strip blanks from all XML filesXan Lopez2012-03-281-6/+6
| | | | Saves about 20K in the generated files.
* Make the resources depend on the actual UI filesXan Lopez2012-03-288-4/+2344
| | | | | | Otherwise we won't update them if the UI files change. To do this we need to move them from data/ui/ to src/, which is not great. Things would be easier with non-recursive Makefiles.
* Use glib resources to bundle our UI filesXan Lopez2012-03-289-28/+80
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672907
* epiphany.h.in: remove ephy-history mentionDiego Escalante Urrelo2012-03-271-1/+0
| | | | It breaks ephy-extensions build.
* ephy-completion-model: minor cleanupClaudio Saavedra2012-03-211-1/+1
| | | | | | | No need to invoke twice webkit_get_favicon_databas() in the same method, there's a variable pointing to the database already. https://bugzilla.gnome.org/show_bug.cgi?id=672483
* ephy-completion-model: fix a few leaksClaudio Saavedra2012-03-211-2/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672481
* ephy-history-window: fix callback for new signal signatureXan Lopez2012-03-201-0/+1
|
* Remove EphyHistory from the repository. It's unused now.Xan Lopez2012-03-203-6/+0
|
* bookmarks: use the new favicon databaseXan Lopez2012-03-201-12/+13
|
* Replace EphyFaviconCache by WebKit's icon database cacheSergio Villar Senin2012-03-208-65/+117
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=648653
* Fix bookmarklet's titles when they are createdXan Lopez2012-03-161-31/+37
| | | | | | | | This was pretty much broken since the Gecko days. On top of that, catch the case where the bookmarklet title is in the child node of the anchor element, which we never got right before. https://bugzilla.gnome.org/show_bug.cgi?id=672194
* The security certificate code is a no-op, remove itXan Lopez2012-03-152-15/+0
|
* window-commands: forcing offline mode has been a no-op for a whileXan Lopez2012-03-141-0/+3
|
* Don't go to EphyEmbedSingle just to get the network statusXan Lopez2012-03-142-29/+3
| | | | | The new GNetworkMonitor class is really a good enough abstraction, don't overdo it.
* history: remember visit typesXan Lopez2012-03-145-3/+18
| | | | | | | Instead of hardcoding all visits as 'TYPED' properly distinguish between bookmarks, following links and typing URIs in the entry. We'll use this to compute the frecency of history items.
* ephy-private: add missing headerXan Lopez2012-03-131-0/+1
|
* ephy-history-service: make the async API cancellableClaudio Saavedra2012-03-133-7/+7
| | | | | | | | | | | The main purpose of the cancellable API in ephy-history-service is to let the user notify when the results of the operation are no longer needed and the callback call can be omitted. Since performing a read operation, in such cases, makes no sense, we cancel them altogether. However, given the nature of the service, we don't cancel write operations. https://bugzilla.gnome.org/show_bug.cgi?id=671901
* ephy-history-view: open pages in a new tab on middle clickClaudio Saavedra2012-03-131-11/+11
| | | | | | This was present in the old EphyNodeView history. Bring it back. https://bugzilla.gnome.org/show_bug.cgi?id=671635
* ephy-main: run app mode only with a existing dirDiego Escalante Urrelo2012-03-111-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669700
* ephy-history-window: init hosts to NULLDiego Escalante Urrelo2012-03-111-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671613
* ephy-history-window: filter hosts with time range as wellClaudio Saavedra2012-03-081-2/+3
|
* ephy-hosts-view: ensure "all hosts" is selected by defaultClaudio Saavedra2012-03-081-5/+3
| | | | | | If no host can be selected, always select the "all hosts" row. https://bugzilla.gnome.org/show_bug.cgi?id=671575
* ephy-host-store: add a clear() methodClaudio Saavedra2012-03-081-1/+1
| | | | | | | This adds always a default item "All sites" which, when selected, will show all urls in all hosts. https://bugzilla.gnome.org/show_bug.cgi?id=671575
* Annotate correctly the fact that FileNewTab now always opens the homepageXan Lopez2012-03-083-3/+8
| | | | | We need to detect it in EphyEmbed to avoid adding about:blank to the history in that case.
* ephy-bookmarks: remove update on redirectXan Lopez2012-03-081-87/+0
| | | | | | This is pretty cool, but our new history service does not support it (and it's been always broken in the WebKit backend anyway), so remove it. We'll bring it back eventually.
* ephy-history-window: update the list of hosts after a url is deletedClaudio Saavedra2012-03-081-2/+8
| | | | | | | | Since now we remove orphan hosts, we need to update the list of hosts after url removal, too. Do this while preserving the currently selected host, if any. https://bugzilla.gnome.org/show_bug.cgi?id=671559
* ephy-history-window: use the constructed methodXan Lopez2012-03-071-3/+7
| | | | Instead of doing extra stuff in _new.
* ephy-history-window: style fixesXan Lopez2012-03-071-91/+94
|
* ephy-history-window: correct asserts and g_return_if_failXan Lopez2012-03-071-11/+5
| | | | | Don't assert parameters in public methods, don't g_return_if_fail parameters in private ones.
* ephy-history-window: change string for full history optionClaudio Saavedra2012-03-071-1/+1
|
* ephy-bookmarks: remove the "Most visited" categoryXan Lopez2012-03-072-187/+0
| | | | | The place to do this kind of thing is really the History, not Bookmarks.
* ephy-history-window: and also handle "Ever" now that we have infinite ↵Xan Lopez2012-03-071-0/+2
| | | | history storage
* ephy-history-window: correctly handle 2 and 10 days of historyXan Lopez2012-03-071-2/+6
|
* ephy-bookmarks-ui: remove unneeded includeXan Lopez2012-03-071-1/+0
|
* ephy-bookmarks: actually connect to the new serviceXan Lopez2012-03-071-1/+1
|
* ephy-bookmarks: use the new history service when possibleXan Lopez2012-03-072-3/+10
| | | | | The 'cleared' stuff is easy to port. The rest, not so much, because the API to get the visit count is async.
* ephy-bookmarks: reorder includesXan Lopez2012-03-071-9/+9
|
* pdm-dialog: use the new history serviceXan Lopez2012-03-071-4/+4
|
* ephy-navigation-history-action: use the new history serviceXan Lopez2012-03-071-9/+4
|
* ephy-history-window: sort headers, remove duplicatesXan Lopez2012-03-071-19/+18
|
* ephy-history-view: use the new hosts and urls viewsXan Lopez2012-03-073-365/+311
|
* Allow ephy_history_service_find_urls() to filter host specific urlsClaudio Saavedra2012-03-071-1/+1
|
* Set the history service during history window instantiationClaudio Saavedra2012-03-073-3/+10
| | | | The old history object is kept for now but it will be removed later
* Add a EphyHistoryService property to EphyHistoryWindowClaudio Saavedra2012-03-071-1/+16
|
* Get rid of EphyBrowseHistoryXan Lopez2012-03-071-9/+9
| | | | | | It was a very thin wrapper on top of the history service, it does not seem to make much sense. For now move the two useful helper methods down to the service without further changes.
* ephy-completion-model: fix warning when a bookmark has no keywordsXan Lopez2012-03-071-3/+3
| | | | Values in EphyNode can be NULL, so guard against that.
* ephy-completion-model: remove stale includeXan Lopez2012-03-071-1/+0
|
* ephy-location-controller: smoother redraw of the completion popupXan Lopez2012-03-071-1/+13
| | | | | Workaround some bugs in entry completion's redraw code. See https://bugzilla.gnome.org/show_bug.cgi?id=671074
* Hook the new history to the URL entryXan Lopez2012-03-074-602/+422
| | | | | We now fetch the history from the SQL backend using a service thread, and merge the results with our old bookmark data.
* ephy-completion-model: reorder includesXan Lopez2012-03-071-4/+4
|
* src: Reorder LDADD arguments properlyClaudio Saavedra2012-03-071-1/+1
|
* Add EphyHistoryService and helper classesXan Lopez2012-03-071-0/+1
| | | | | | | | | EphyHistoryService provides a high-level API to store history information. It will processed by a worker thread using SQLite to provide a fast, responsive service to the main UI. Based on the code by Martin Robinson (mrobinson@igalia.com) and Claudio Saavedra (csaavedra@igalia.com).
* Enable keyboard accelerator for the create buttonJiro Matsuzawa2012-03-051-1/+1
| | | | | | | I use 'r' of "Create" as a mnemonic character because "C" is already used by "_Cancel". https://bugzilla.gnome.org/show_bug.cgi?id=670328
* ephy-window: add a Extensions menuDiego Escalante Urrelo2012-02-261-0/+1
| | | | | | | Together with epiphany-extensions-3.3.90 this makes the extensions manager visible again, and also all the extensions menu items. https://bugzilla.gnome.org/show_bug.cgi?id=669951
* ephy-bookmarks-ui: fix typo in activate_bookmarks_menuDiego Escalante Urrelo2012-02-261-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=670760
* ephy-shell: use the new g_application_quit to quitXan Lopez2012-02-231-12/+1
|
* ephy-window: show an error if we fail to open a non-web URI with gtk_show_uriXan Lopez2012-02-231-2/+4
| | | | Better than silently doing nothing.
* ephy-web-view: remove close-requested signalDiego Escalante Urrelo2012-02-221-94/+0
| | | | | | | | | WebKitWebView has a ::close-web-view signal for the same thing. The only user of this was ephy-window, for exactly the same thing that we are already doing in ephy-web-view, when handling ::close-web-view. https://bugzilla.gnome.org/show_bug.cgi?id=669737
* ephy-window: use tab-close-request to avoid code duplicationDiego Escalante Urrelo2012-02-111-16/+3
| | | | | | | | There were two paths checking for modified forms and downloads on tab closing. Instead of duplication code, make EphyEmbedContainer impl_remove_child trigger ::tab-close-request on EphyNotebook. https://bugzilla.gnome.org/show_bug.cgi?id=669736
* ephy-shell: install global menu for private mode tooXan Lopez2012-02-091-3/+9
| | | | | | | | This is still not enough to make it work, the menu shows empty in private mode, but the code change is obviously correct. See bug https://bugzilla.gnome.org/show_bug.cgi?id=647986 https://bugzilla.gnome.org/show_bug.cgi?id=669740
* ephy-shell: load home page in new windowsDiego Escalante Urrelo2012-02-091-1/+1
| | | | | | Fixes the uncertain loading state of new windows. https://bugzilla.gnome.org/show_bug.cgi?id=669130
* ephy-main: always set a default icon for windowsDiego Escalante Urrelo2012-02-091-0/+9
| | | | | | | The web-browser icon for the normal/private mode, or the corresponding Web Application icon. https://bugzilla.gnome.org/show_bug.cgi?id=669182
* Convert app names to the proper encoding before using them as filenamesClaudio Saavedra2012-02-081-0/+2
| | | | | | Also add proper conversion error handling where needed. https://bugzilla.gnome.org/show_bug.cgi?id=658028
* ephy-window: restore alt+# accels to switch tabsDiego Escalante Urrelo2012-02-011-0/+84
| | | | | | | Create 10 fixed GtkActions that react to the alt+# accelerators. Based on code from gedit-window.c. https://bugzilla.gnome.org/show_bug.cgi?id=668702
* ephy-window: do not duplicate tons of code in sync_tab_is_blankXan Lopez2012-01-301-59/+13
|
* ephy-window: correct thinko in action sensitivity handlingXan Lopez2012-01-281-1/+6
|
* ephy-window: simplify handling of back/forward sensitivityXan Lopez2012-01-281-30/+6
| | | | | | Back/Forward sensitivity only depends on one factor (whether you can actually go back or forward), so there is no need to use the ephy action helper method. This allows to simplify the code quite a bit.
* ephy-notebook: remove dnd-enabled propertyXan Lopez2012-01-273-31/+0
| | | | It does not seem to do anything.
* ephy-main: tidy up indentationXan Lopez2012-01-271-1/+2
|
* Get rid of EPHY_STOCK_EPHYXan Lopez2012-01-279-21/+2
| | | | | | In 99% of the cases we were using it for gtk_window_set_icon_name, which does nothing in GNOME 3. In the couple of valid use cases, just use "web-browser" directly.
* And remove the last stock icon, bookmarksXan Lopez2012-01-272-3/+0
| | | | We can kill data/icons now.
* Remove the history stock iconXan Lopez2012-01-271-1/+0
|
* Remove EPHY_STOCK_BOOKMARKXan Lopez2012-01-271-2/+0
| | | | | Use the symbolic icon for the completion entry, I'm sure Lapo will approve.
* ephy-window: remove stock icons from two more GtkActionsXan Lopez2012-01-271-2/+0
|
* Also remove stock icons in the history and bookmarks editorsXan Lopez2012-01-272-24/+24
|
* ephy-window: do not define stock icons for the GtkActionsXan Lopez2012-01-271-27/+27
| | | | We are not using them.
* Make EphyWindow responsible for its own destruction when the last tab is goneXan Lopez2012-01-242-6/+7
| | | | | | EphyNotebook was destroying its toplevel when the last tab was destroyed. I think this is really weird, so move the responsibility to the window. This will probably break something, I'm sure.
* ephy-notebook: remove full title tooltip on each tabXan Lopez2012-01-241-6/+0
| | | | It's pretty annoying and hardly useful.
* ephy-location-controller: lose lock tooltip propertyXan Lopez2012-01-241-37/+0
|
* ephy-window: lose security state tooltipsXan Lopez2012-01-241-29/+4
|
* ephy-window: we don't do tooltips anymore, remove support code for thatXan Lopez2012-01-241-212/+40
|
* ephy-window: remove toplevel actions that do not exist anymoreXan Lopez2012-01-241-5/+0
|
* Make the user visible name Web in more placesJon McCann2012-01-241-5/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=666587
* ephy-window: remove unneeded includeXan Lopez2012-01-241-1/+0
|
* ephy-window: call sync_tab_is_blank on new tabsDiego Escalante Urrelo2012-01-241-0/+1
|
* ephy-window: sync page actions with is-blank propertyDiego Escalante Urrelo2012-01-241-1/+97
| | | | | | | | Add ::is-blank property to EphyWebView and update EphyWindow to sync some of the page menu actions with it. There's no point in enabling save/reload/bookmark/etc on about:blank. https://bugzilla.gnome.org/show_bug.cgi?id=668105
* ephy-window: pass non-web schemas to gtk_show_uriDiego Escalante Urrelo2012-01-241-2/+15
| | | | | | | Handle every non-web scheme in policy_decision_required_cb with gtk_show_uri. This enables xmpp:, apt: and similar links to work. https://bugzilla.gnome.org/show_bug.cgi?id=551857
* ephy-action-helper: document flags APIDiego Escalante Urrelo2012-01-241-0/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=668510
* ephy-window: remove leftover from the editable toolbar ancient pastXan Lopez2012-01-231-6/+0
|
* ephy-window: remove leftovers from when EphyWindow managed the progress barXan Lopez2012-01-231-4/+0
|
* Remove the "Open Frame" functionalityXan Lopez2012-01-233-39/+3
| | | | | It's been #if 0-ed and broken forever too. If someone really wants it it should probably go into an extension.
* ephy-window: remove unused codeXan Lopez2012-01-221-4/+0
|
* ephy-window: also remove the statusbar tips for tool itemsXan Lopez2012-01-221-135/+0
|
* ephy-window: remove menu statusbar helper messagesXan Lopez2012-01-221-45/+2
| | | | | | They are not that helpful and are a bit distracting. https://bugzilla.gnome.org/show_bug.cgi?id=668191
* Remove mailto: specific menusXan Lopez2012-01-222-43/+0
| | | | | They have been dead/#if zeroed for a long time without any bugs opened about it, so I can guess they were not used a lot in their day.
* ephy-window: we don't have a menu anymore, so the menudock widget is not neededXan Lopez2012-01-221-8/+1
|
* ephy-window: update comments a bit in window actionsXan Lopez2012-01-221-15/+15
| | | | In particular, don't mention the menus anymore, since they do not exist.
* window-commands.h: remove duplicate and obsolete stuff, reformat a bitXan Lopez2012-01-221-113/+81
|
* ephy-window: make ephy_window_get_find_toolbar privateXan Lopez2012-01-213-2/+3
| | | | | Surely this is not interesting for anyone outside Epiphany? It's not used in extensions.
* Make ephy_window_get_ui_manager return a GtkUIManager, not a GObjectXan Lopez2012-01-215-15/+15
| | | | | No clue why it was doing that, but seems pointless. I wish I could make it private but it's used all over the place.
* ephy-window: remove "add-widget" callback from GtkUIManagerXan Lopez2012-01-211-11/+0
| | | | | We don't add widgets to our UI directly from the UI manager, so it's useless.
* ephy-window: make ephy_window_set_location privateXan Lopez2012-01-212-3/+4
| | | | | Setting the EphyWindow's location string directly is the kind of crack that has to be private.
* Be a bit more strict about header includesXan Lopez2012-01-204-1/+4
|
* ephy-window: do not include <string.h> just for strcmpXan Lopez2012-01-201-2/+1
|
* ephy-window: and remove three more forward declarationsXan Lopez2012-01-201-183/+174
| | | | The remaining one kinda makes sense, so leave it alone.
* ephy-window: remove unused includeXan Lopez2012-01-201-1/+0
|
* ephy-window: reorder a few methods to get rid of forward declarationsXan Lopez2012-01-201-142/+134
|
* ephy-window: remove duplicated methodXan Lopez2012-01-201-15/+2
| | | | | ephy_window_set_location and _ephy_window_set_location were identical. Remove the latter.
* More private method cleanupsXan Lopez2012-01-204-21/+19
| | | | | Move another method to ephy-private.h, and stop exporting another one that is only used internally in EphyWindow.
* Add a ephy-private.h headerXan Lopez2012-01-206-9/+48
| | | | | | This should hold methods needed by Epiphany internally but that we do not want to export. Only a couple of them so far, but we should probably add a lot more.
* ephy-window: remove redundant includesXan Lopez2012-01-201-2/+0
|
* ephy-window: missing annotationXan Lopez2012-01-202-0/+9
|
* location-controller: remove references to "proxy"Cosimo Cecchi2012-01-201-7/+7
| | | | | | | We're not a GtkAction anymore, so referencing "proxy" in the code is a bit misleading. https://bugzilla.gnome.org/show_bug.cgi?id=668305
* location-controller: use the right signal data to unblock signalCosimo Cecchi2012-01-201-2/+1
| | | | | | | | | We were using priv->proxy, which is a leftover from when this was a GtkAction, and is actually always NULL. Use the right pointer instead. Fix location entry failing to properly update the address when switching tabs. https://bugzilla.gnome.org/show_bug.cgi?id=668305
* ephy-shell: pass active window to the about dialogDiego Escalante Urrelo2012-01-201-1/+7
| | | | | | So it can be modal. https://bugzilla.gnome.org/show_bug.cgi?id=668113
* Rename EphyLocationAction -> EphyLocationControllerCosimo Cecchi2012-01-207-264/+263
| | | | | | Since it's not a GtkAction anymore. https://bugzilla.gnome.org/show_bug.cgi?id=668206
* location-action: don't make this a GtkAction anymoreCosimo Cecchi2012-01-206-212/+201
| | | | | | | It doesn't really make sense in a world where the location action is only used on a fixed toolbar, and complicates the code a lot. https://bugzilla.gnome.org/show_bug.cgi?id=668206
* entry: make EphyLocationEntry a GtkEntryCosimo Cecchi2012-01-204-106/+36
| | | | | | | | Instead of a GtkToolItem. A future commit will move the code in EphyLocationAction not to be a GtkAction, which is why this was a GtkToolItem in the first place. https://bugzilla.gnome.org/show_bug.cgi?id=668206
* ephy-window: annotate return value of a methodXan Lopez2012-01-201-0/+9
|
* ephy-toolbar: set the MENUBAR style classXan Lopez2012-01-191-0/+5
| | | | That way we can drag the app using the toolbar itself.
* ephy-window: hide our titlebar when maximizedXan Lopez2012-01-191-0/+3
|
* Remove Print Setup item from the super menu and embed it into print dialogCarlos Garcia Campos2012-01-184-34/+0
|
* ephy-home-action: remove a lot of unused codeXan Lopez2012-01-181-148/+9
|
* Remove Print Preview item from the super menuXan Lopez2012-01-184-22/+0
| | | | | It's already accessible from the Print dialog itself, so there's really no need to duplicate it.
* ephy-page-menu-action: do not query the action proxies during disposeXan Lopez2012-01-181-9/+5
| | | | | That was a bad idea. Just store the proxy used for the visibility hack in the private data too.
* ephy-find-toolbar: reorder includesXan Lopez2012-01-171-3/+3
|
* ephy-window: fix binding for Find PreviousXan Lopez2012-01-171-1/+1
| | | | If the binding uses Shift we need to put the letter in uppercase.
* Remove Find Next/Previous from page menuXan Lopez2012-01-171-0/+3
| | | | | The actions are already in the find toolbar, which is accessible from the menu, so there's no need to have them there.
* ephy-page-menu-action: disconnect the visible handler on disposeXan Lopez2012-01-171-0/+10
|
* ephy-page-menu-action: set the DROPDOWN type hint on the page menuCosimo Cecchi2012-01-171-0/+4
| | | | | So that the WM will use shadows on it as if it was generated from a menubar.
* ephy-page-menu-action: set the style class in the button, not the menuXan Lopez2012-01-171-12/+12
|
* ephy-page-menu-action: hang on to our menuXan Lopez2012-01-171-2/+14
|
* ephy-page-menu: set a style class when our menu is visibleXan Lopez2012-01-173-29/+61
| | | | To aid with styling.
* ephy-toolbar: set a name for the page menu buttonXan Lopez2012-01-171-0/+1
| | | | To aid styling.
* Move the nautilus floating bar to lib/widgetsXan Lopez2012-01-173-466/+0
| | | | And fix a couple of warnings.
* floating-bar: import NautilisFloatingBar into EpiphanyCosimo Cecchi2012-01-173-0/+466
| | | | Yay for sharing code. It also helps theming.
* ephy-notebook: use symbolic icon for close buttonXan Lopez2012-01-171-1/+2
|
* ephy-page-menu: fix warningXan Lopez2012-01-171-1/+1
|
* ephy-combined-stop-reload-action: object orientation is hard, let's go shoppingXan Lopez2012-01-172-5/+5
|
* ephy-page-menu: activate on button pressXan Lopez2012-01-171-16/+41
| | | | Requested by the Design Team.
* Back/Forward actions do need to have a label setXan Lopez2012-01-172-0/+4
| | | | | Since they are used in context menus too. Re-add those and force the toolbar buttons to be image-only.
* ephy-window: forgot thisXan Lopez2012-01-171-1/+0
|
* Refactor GtkActions with attached EphyWindowsXan Lopez2012-01-1713-215/+190
| | | | | Make a GtkAction subclass that only holds an EphyWindow and nothing else, and use it throughout. Allows us to kill some duplicated code.