Commit Graph

11 Commits

Author SHA1 Message Date
Michael Drake
631265ef6b Front ends have no reason to include desktop/selection.h now. 2013-05-10 12:16:05 +01:00
Michael Drake
3afd9c9731 Remove search context from browser window, simplify search interface for front ends.
Added content interface for search.

Removed bw->cur_search search context. Desktop layer now does nothing
except pass search requests from front end onto the bw's current_content
via the content interface.

Search API reduced to a pair of functions at each level:
  {desktop|content|html|textplain}_search
and
  {desktop|content|html|textplain}_search_clear

Updated front ends to use simplified search API.  Only tested GTK and RO builds.

These confine the search stuff to render/.  However search still uses struct
selection.  The handling for which is still spread over desktop/ and render/.
Also the render/search code itself still fiddles inside html and textplain
privates.
2013-05-07 14:41:40 +01:00
Michael Drake
153c444454 Move browser_window struct to private header. Places that shouldn't include it do, such as front end code.
Frontends that have been updated to build:
  framebuffer
  gtk
  monkey
  riscos

TODO:
  amiga
  atari
  beos
  cocoa
  windows
2012-08-22 12:22:58 +01:00
Michael Drake
f478ee4db7 Remove a bunch of unused includes. 2012-08-20 18:54:57 +01:00
Michael Drake
b51816c222 Clean up search gui callbacks. 2012-08-14 13:41:30 +01:00
Vincent Sanders
2622adaa1f allow netsurf to build with gtk3
svn path=/trunk/netsurf/; revision=13926
2012-05-16 19:57:43 +00:00
Michael Drake
31f221e84f Remove search init function.
svn path=/trunk/netsurf/; revision=13391
2012-01-06 23:42:22 +00:00
Michael Drake
fc3de8814c Search-as-you-type.
svn path=/trunk/netsurf/; revision=13385
2012-01-06 23:10:04 +00:00
Michael Drake
34fe2531f2 Remove gui_window_get_browser_window from core. Remove unused implementations from front ends. Rename the GTK front end implementation to nsgtk_get_browser_window and change the GTK front end to use that.
svn path=/trunk/netsurf/; revision=12737
2011-09-05 13:28:17 +00:00
Michael Drake
48917cbb82 GTK changes for core search update (r12646).
svn path=/trunk/netsurf/; revision=12647
2011-08-24 12:31:27 +00:00
Vincent Sanders
42f89d4e0b fixup gtk source file names
svn path=/trunk/netsurf/; revision=11529
2011-01-29 23:40:22 +00:00