summaryrefslogtreecommitdiff
path: root/desktop/search.c
Commit message (Collapse)AuthorAgeFilesLines
* improve desktop text search header usageVincent Sanders2020-06-241-1/+1
| | | | | | | | | remove unecessary inclusion of desktop search header in content header which has knock on effect of not having ctype or string system headers dragged in unecessarily. Futher this highlighted use of ctype API where internal ascii processing ought to be used.
* consolodate the textsearch code into a single moduleVincent Sanders2020-05-121-0/+2
|
* hoist common text search out of content handlersVincent Sanders2020-05-121-2/+2
|
* improve content header usageVincent Sanders2020-05-071-0/+1
|
* split browser and browser_window operationsVincent Sanders2019-08-011-1/+4
|
* move page search gui callbacks to their own operations tableVincent Sanders2014-03-181-51/+12
|
* clean up desktop/gui.h include usageVincent Sanders2014-01-291-1/+0
|
* move options includeVincent Sanders2013-05-281-1/+1
|
* Remove search context from browser window, simplify search interface for ↵Michael Drake2013-05-071-76/+27
| | | | | | | | | | | | | | | | | | | | | | 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.
* Move browser_window struct to private header. Places that shouldn't include ↵Michael Drake2012-08-221-1/+1
| | | | | | | | | | | | | | | | | it do, such as front end code. Frontends that have been updated to build: framebuffer gtk monkey riscos TODO: amiga atari beos cocoa windows
* Stop render/search.c from dereferencing bw and remove dependency on html & ↵Michael Drake2012-08-141-0/+15
| | | | text contents' bw pointer.
* Clean up search gui callbacks.Michael Drake2012-08-141-6/+10
|
* Include dom/dom.h where it might be neededDaniel Silverstone2012-03-241-0/+1
| | | | svn path=/trunk/netsurf/; revision=13625
* Core part of search improvement:Michael Drake2011-08-241-643/+35
| | | | | | | | | | + Split up browser window and content related elements of html & text search. + Associate search contexts with contents, rather than browser windows. + Remove highlighting of search terms dependency on current_redraw_browser. + Fixes issues with search contexts being applied to the wrong content. svn path=/trunk/netsurf/; revision=12646
* Selection is now subordinate to html and text content types, and ↵Michael Drake2011-07-261-32/+39
| | | | | | disassociated from browser windows. Note: search currently uses hlcache_handle_get_content() to go from bw to h to get at c for search highlighting via selection. svn path=/trunk/netsurf/; revision=12626
* Remove unused hlcache_handle from search context.Michael Drake2011-07-261-4/+1
| | | | svn path=/trunk/netsurf/; revision=12625
* Remove assumption of gui window from search.Michael Drake2011-07-141-3/+2
| | | | svn path=/trunk/netsurf/; revision=12603
* Make search_term_highlighted a core function.Michael Drake2011-06-281-3/+3
| | | | svn path=/trunk/netsurf/; revision=12524
* First pass at core iframes. Currently lacking scrollbars.Michael Drake2011-06-141-1/+2
| | | | svn path=/trunk/netsurf/; revision=12474
* Ensure we can search textplain againDaniel Silverstone2010-04-221-5/+7
| | | | svn path=/trunk/netsurf/; revision=10454
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-281-15/+17
| | | | svn path=/trunk/netsurf/; revision=10180
* Merge r9731:HEAD from branches/MarkieB/gtkmain to trunk.John Mark Bell2009-12-181-4/+15
| | | | svn path=/trunk/netsurf/; revision=9737
* Merge branches/MarkieB/gtkmain to trunk.John Mark Bell2009-12-171-0/+705
svn path=/trunk/netsurf/; revision=9729