summaryrefslogtreecommitdiff
path: root/render/textplain.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove search context from browser window, simplify search interface for ↵Michael Drake2013-05-071-1/+0
| | | | | | | | | | | | | | | | | | | | | | 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.
* Virtualise content handler finalisation calls. Remove pointless implementations.John Mark Bell2011-09-151-1/+0
| | | | svn path=/trunk/netsurf/; revision=12797
* Core part of search improvement:Michael Drake2011-08-241-0/+1
| | | | | | | | | | + 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-8/+8
| | | | | | 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
* Merge branches/jmb/content-factory to trunkJohn Mark Bell2011-05-061-30/+2
| | | | svn path=/trunk/netsurf/; revision=12283
* ConstifyJohn Mark Bell2011-02-141-1/+1
| | | | svn path=/trunk/netsurf/; revision=11680
* Pass clip rect as struct through content_redraw api. Update the front ends ↵Michael Drake2011-02-131-2/+2
| | | | | | to use this. Note only RO build tested. svn path=/trunk/netsurf/; revision=11670
* Replace use of iconv with a parserutils inputstreamJohn Mark Bell2010-09-131-3/+1
| | | | svn path=/trunk/netsurf/; revision=10770
* + Refactor input handling from browser window code into contentMichael Drake2010-06-041-0/+5
| | | | | | | | | | | | | handlers. + Disentangle all box tree manipulation from browser window code and put it where it belongs. + Move other content specific and other irrelevant code from browser window handling to appropriate places. + Put mouse state enum in new mouse header, since it's not just used by browser window code, and it is used by treeview windows on the treeview branch. svn path=/trunk/netsurf/; revision=10561
* Most of a stop implementation.John Mark Bell2010-04-041-1/+2
| | | | | | | | | Remaining work: 1) Clone content_html_data 2) Cloning content_css_data requires the charset of the old content 3) Calling hlcache_handle_abort() before a content has been created must clean up the retrieval context. svn path=/trunk/netsurf/; revision=10236
* Constify data parameter to *_process_dataJohn Mark Bell2010-04-031-1/+2
| | | | svn path=/trunk/netsurf/; revision=10234
* The convert stage of a content's state progression no longer reflows the ↵John Mark Bell2010-03-291-1/+1
| | | | | | | | | | | | | content to the provided dimensions. It is now defined as converting the content into a state in which it is ready for use. The user of the content is now responsible for performing an initial reformat (sic) of the content before it can be redrawn. Purge width/height parameters from hlcache_handle_retrieve/content_convert/*_convert APIs. Fix up content handlers affected by the above change in semantics. Ensure that browser_window_callback performs an initial reformat of its content. svn path=/trunk/netsurf/; revision=10207
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-281-9/+11
| | | | svn path=/trunk/netsurf/; revision=10180
* Merge LibCSS port to trunk.John Mark Bell2009-07-231-1/+2
| | | | svn path=/trunk/netsurf/; revision=8752
* 'unsigned long' -> 'colour' where it made sense.John Tytgat2008-09-281-1/+1
| | | | svn path=/trunk/netsurf/; revision=5459
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-3/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* [project @ 2006-02-15 23:09:53 by adrianl]Adrian Lees2006-02-151-1/+22
| | | | | | Extend text selection, copying, saving and searching code to handle textplain contents; modified textplain code to accept other line terminators svn path=/import/netsurf/; revision=2081
* [project @ 2006-02-13 00:17:44 by jmb]John Mark Bell2006-02-131-0/+2
| | | | | | Add missing includes svn path=/import/netsurf/; revision=2079
* [project @ 2006-02-12 23:07:28 by bursa]James Bursa2006-02-121-3/+23
| | | | | | Rewrite handling of text/plain contents. Now rendered directly instead of converting to HTML. svn path=/import/netsurf/; revision=2078
* [project @ 2004-11-22 00:33:04 by jmb]John Mark Bell2004-11-221-0/+2
| | | | | | Improve plain text rendering (converts occurrences of '<' with '&lt;') svn path=/import/netsurf/; revision=1369
* [project @ 2004-06-10 20:41:26 by bursa]James Bursa2004-06-101-2/+2
| | | | | | Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents. svn path=/import/netsurf/; revision=951
* [project @ 2004-03-11 02:19:13 by bursa]James Bursa2004-03-111-6/+2
| | | | | | Add source_data to content structure and remove equivalents from individual contents. svn path=/import/netsurf/; revision=606
* [project @ 2003-12-27 20:15:22 by bursa]James Bursa2003-12-271-1/+1
| | | | | | Use charset from Content-Type header. svn path=/import/netsurf/; revision=460
* [project @ 2003-06-30 12:44:02 by bursa]James Bursa2003-06-301-2/+5
| | | | | | New file headers. svn path=/import/netsurf/; revision=190
* [project @ 2003-02-09 12:58:14 by bursa]James Bursa2003-02-091-0/+17
Reorganization and rewrite of fetch, cache, and content handling. svn path=/import/netsurf/; revision=96