After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 538822 - Remove ephy-embed-find
Remove ephy-embed-find
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-17 19:49 UTC by Xan Lopez
Modified: 2009-01-23 02:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH] ephy-find-toolbar: port to use webkit API directly. (9.72 KB, patch)
2008-06-17 19:49 UTC, Xan Lopez
committed Details | Review
[PATCH] embed: remove ephy-embed-find and the webkit implementation. (16.67 KB, patch)
2008-06-17 19:49 UTC, Xan Lopez
committed Details | Review
[PATCH] ephy-find-toolbar: remove _EMBED_ from find results enum. (1.54 KB, patch)
2008-06-17 22:19 UTC, Xan Lopez
committed Details | Review
[PATCH] ephy-find-toolbar: add FIXME about ge-search-key-press never being emitted. (477 bytes, patch)
2008-06-17 22:19 UTC, Xan Lopez
committed Details | Review
[PATCH] ephy-find-toolbar: M-x tabify (5.97 KB, patch)
2008-06-17 22:19 UTC, Xan Lopez
committed Details | Review
[PATCH] ephy-find-toolbar: rename impl_* functions to ephy_find_toolbar_* (3.71 KB, patch)
2008-06-17 22:19 UTC, Xan Lopez
committed Details | Review
[PATCH] ephy-find-toolbar: remove $Id$ from license comment. (403 bytes, patch)
2008-06-17 22:19 UTC, Xan Lopez
committed Details | Review
[PATCH] ephy-find-toolbar: copy over embed scroll functionality. (3.32 KB, patch)
2008-06-17 22:19 UTC, Xan Lopez
committed Details | Review
[PATCH] embed: remove scroll functions. (4.30 KB, patch)
2008-06-17 22:19 UTC, Xan Lopez
accepted-commit_now Details | Review
[1/1] ephy-find-toolbar: use upstream functions to scroll view. (1.96 KB, patch)
2008-06-28 22:35 UTC, Xan Lopez
accepted-commit_now Details | Review

Description Xan Lopez 2008-06-17 19:49:00 UTC
Make src/ use the webkit API directly.
Comment 1 Xan Lopez 2008-06-17 19:49:52 UTC
Created attachment 112931 [details] [review]
[PATCH] ephy-find-toolbar: port to use webkit API directly.


Copy the code from embeb/webkit mostly verbatim for now.
---
 src/Makefile.am         |    1 +
 src/ephy-find-toolbar.c |  173 ++++++++++++++++++++++++++++++++++------------
 2 files changed, 129 insertions(+), 45 deletions(-)
Comment 2 Xan Lopez 2008-06-17 19:49:58 UTC
Created attachment 112932 [details] [review]
[PATCH] embed: remove ephy-embed-find and the webkit implementation.

 embed/Makefile.am                |    2 -
 embed/ephy-embed-factory.c       |    6 --
 embed/ephy-embed-find.c          |  128 ---------------------------
 embed/ephy-embed-find.h          |  101 ---------------------
 embed/webkit/Makefile.am         |    2 -
 embed/webkit/webkit-embed-find.c |  179 --------------------------------------
 embed/webkit/webkit-embed-find.h |   57 ------------
 src/ephy-find-toolbar.c          |    1 -
 8 files changed, 0 insertions(+), 476 deletions(-)
Comment 3 Xan Lopez 2008-06-17 19:50:30 UTC
EphyFindToolbar could use a few small cleanups still.
Comment 4 Xan Lopez 2008-06-17 22:19:18 UTC
Created attachment 112940 [details] [review]
[PATCH] ephy-find-toolbar: remove _EMBED_ from find results enum.

 src/ephy-find-toolbar.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
Comment 5 Xan Lopez 2008-06-17 22:19:24 UTC
Created attachment 112941 [details] [review]
[PATCH] ephy-find-toolbar: add FIXME about ge-search-key-press never being emitted.

 src/ephy-find-toolbar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Comment 6 Xan Lopez 2008-06-17 22:19:27 UTC
Created attachment 112942 [details] [review]
[PATCH] ephy-find-toolbar: M-x tabify

 src/ephy-find-toolbar.c |   56 +++++++++++++++++++++++-----------------------
 1 files changed, 28 insertions(+), 28 deletions(-)
Comment 7 Xan Lopez 2008-06-17 22:19:30 UTC
Created attachment 112943 [details] [review]
[PATCH] ephy-find-toolbar: rename impl_* functions to ephy_find_toolbar_*

 src/ephy-find-toolbar.c |   38 +++++++++++++++++++-------------------
 1 files changed, 19 insertions(+), 19 deletions(-)
Comment 8 Xan Lopez 2008-06-17 22:19:34 UTC
Created attachment 112944 [details] [review]
[PATCH] ephy-find-toolbar: remove $Id$ from license comment.


CVS is long gone...
---
 src/ephy-find-toolbar.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Comment 9 Xan Lopez 2008-06-17 22:19:37 UTC
Created attachment 112945 [details] [review]
[PATCH] ephy-find-toolbar: copy over embed scroll functionality.


Only used here.
---
 src/ephy-find-toolbar.c |   57 +++++++++++++++++++++++++++++++++++++---------
 1 files changed, 46 insertions(+), 11 deletions(-)
Comment 10 Xan Lopez 2008-06-17 22:19:40 UTC
Created attachment 112946 [details] [review]
[PATCH] embed: remove scroll functions.

 embed/ephy-embed.c          |   53 -------------------------------------------
 embed/ephy-embed.h          |   17 -------------
 embed/webkit/webkit-embed.c |   31 -------------------------
 3 files changed, 0 insertions(+), 101 deletions(-)
Comment 11 Xan Lopez 2008-06-17 22:25:59 UTC
Oh, there's one extension using scroll_by_pixels, so I guess we want to export that somehow. src/ephy-web-view-utils.c ?
Comment 12 Christian Persch 2008-06-27 16:17:03 UTC
I think if it's useful outside ephy, it should be in webkit-gtk's API.
Comment 13 Xan Lopez 2008-06-28 13:51:56 UTC
Makes sense. Alp?
Comment 14 Xan Lopez 2008-06-28 13:59:43 UTC
I've pushed everything but the removal of the scroll functions for now.
Comment 15 Xan Lopez 2008-06-28 22:34:56 UTC
Opened upstream bug about the scrolling functions: https://bugs.webkit.org/show_bug.cgi?id=19802
Comment 16 Xan Lopez 2008-06-28 22:35:58 UTC
Created attachment 113587 [details] [review]
[1/1] ephy-find-toolbar: use upstream functions to scroll view.

 src/ephy-find-toolbar.c |   40 ++++------------------------------------
 1 files changed, 4 insertions(+), 36 deletions(-)
Comment 17 Christian Persch 2008-08-04 12:59:29 UTC
Commit these once the upstream API exists.
Comment 18 Xan Lopez 2009-01-23 02:20:55 UTC
After several discussions with WebKit discussions it seems clear the way to go with this is to use the adjustment values directly. Committed with those changes.