summaryrefslogtreecommitdiff
path: root/render/textplain.c
Commit message (Collapse)AuthorAgeFilesLines
* Update for new lpu API.Michael Drake2013-12-141-3/+2
|
* move options includeVincent Sanders2013-05-281-1/+1
|
* Remove search context from browser window, simplify search interface for ↵Michael Drake2013-05-071-31/+82
| | | | | | | | | | | | | | | | | | | | | | 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.
* A load of refactoring of how content selection and input work.Michael Drake2013-02-221-3/+46
| | | | | | | | | | | | | Keypresses now go via content interface. Contents don't shove the selection object into browser windows any more. Contents report selection existence by sending message. HTML content keeps track of where selections in it exist. Contents report whether they have input focus via caret setting msg. Caret can be hidden (can still input/paste) or removed. Consolidate textarea selection handling. Make textarea report its selection status changes to client. Various textarea fixes. Changed how we decide when to clear selections, and give focus.
* reduce talloc usage to box tree layout onlyVincent Sanders2012-10-031-16/+25
|
* Don't pass struct box to content open.Michael Drake2012-08-201-4/+2
|
* Minor style tweaks.Michael Drake2012-08-191-2/+2
|
* Use content msg system for status text, and don't pass internal status ↵Michael Drake2012-08-191-11/+3
| | | | message as an explict message.
* Use interface to set drag type. Longer term, it would be better to avoid ↵Michael Drake2012-08-181-3/+4
| | | | using bw altogether.
* Set content handlers now set pointer via content msg.Michael Drake2012-08-171-1/+3
|
* Don't use GUI_POINTERs in content handlers.Michael Drake2012-08-161-2/+2
|
* Shut up missing text_redrawDaniel Silverstone2012-03-251-0/+1
| | | | svn path=/trunk/netsurf/; revision=13650
* Remove bogus dependencies on box.hJohn Mark Bell2012-03-241-1/+0
| | | | svn path=/trunk/netsurf/; revision=13607
* NetSurf options rework (a=vince r=daniels,jmb)Vincent Sanders2012-03-221-1/+1
| | | | svn path=/trunk/netsurf/; revision=13548
* Allow drag handlers to inform browser window layer of any pointer range ↵Michael Drake2012-01-101-2/+2
| | | | | | constraints. svn path=/trunk/netsurf/; revision=13394
* Virtualise content handler finalisation calls. Remove pointless implementations.John Mark Bell2011-09-151-0/+2
| | | | svn path=/trunk/netsurf/; revision=12797
* Clean up content_factory_register_handler API -- content handlers no longer ↵John Mark Bell2011-09-151-13/+10
| | | | | | use the mime type, so don't require it to be interned up front svn path=/trunk/netsurf/; revision=12796
* Remove mime_type parameter from content handler content_type callback APIJohn Mark Bell2011-09-031-2/+2
| | | | svn path=/trunk/netsurf/; revision=12704
* Core part of search improvement:Michael Drake2011-08-241-5/+43
| | | | | | | | | | + 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-54/+57
| | | | | | 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
* Fix selection for non-gui browser windows (iframes).Michael Drake2011-07-131-17/+51
| | | | | | | Selection no longer uses current_redraw_browser. Fix long-standing selection bugs on platforms that use action on release behaviour. svn path=/trunk/netsurf/; revision=12598
* Refactor http utilitiesJohn Mark Bell2011-07-081-17/+36
| | | | svn path=/trunk/netsurf/; revision=12595
* Set bw for textplain selection.Michael Drake2011-07-021-0/+2
| | | | svn path=/trunk/netsurf/; revision=12554
* Set/unset selection context's browser window on content_open/content_close.Michael Drake2011-07-011-2/+19
| | | | svn path=/trunk/netsurf/; revision=12551
* Make text/plain contents aware of the browser window they are opened in.Michael Drake2011-06-301-1/+21
| | | | svn path=/trunk/netsurf/; revision=12546
* Remove plotter table global. Pass a redraw context around redraw functions. ↵Michael Drake2011-06-301-5/+8
| | | | | | Knockout could be handled better. Note: untested on most front ends. svn path=/trunk/netsurf/; revision=12543
* Unify content_redraw params in content_redraw_data struct. Core and RISC OS ↵Michael Drake2011-06-281-26/+19
| | | | | | content handlers updated. svn path=/trunk/netsurf/; revision=12529
* Make search_term_highlighted a core function.Michael Drake2011-06-281-2/+1
| | | | svn path=/trunk/netsurf/; revision=12524
* First pass at core iframes. Currently lacking scrollbars.Michael Drake2011-06-141-1/+1
| | | | svn path=/trunk/netsurf/; revision=12474
* refactor content handler initilisation to use named initialisorsVincent Sanders2011-05-091-15/+11
| | | | svn path=/trunk/netsurf/; revision=12341
* consolidate content redraw Vincent Sanders2011-05-081-3/+4
| | | | | | more cleanups ready for image content refactor svn path=/trunk/netsurf/; revision=12317
* Merge branches/jmb/content-factory to trunkJohn Mark Bell2011-05-061-92/+233
| | | | svn path=/trunk/netsurf/; revision=12283
* Handle scaled rendering of text/plain with plot origin offset too.Michael Drake2011-03-171-4/+4
| | | | svn path=/trunk/netsurf/; revision=12098
* Fix text/plain rendering's plot range calc to take account of vertical plot ↵Michael Drake2011-03-171-2/+2
| | | | | | offset (y). svn path=/trunk/netsurf/; revision=12097
* Make text size a separate #define. Michael Drake2011-03-151-3/+4
| | | | svn path=/trunk/netsurf/; revision=12058
* Saturated maths in css fixed point Vincent Sanders2011-03-121-3/+2
| | | | svn path=/trunk/netsurf/; revision=11975
* Cache space widths.Michael Drake2011-03-011-1/+1
| | | | svn path=/trunk/netsurf/; revision=11877
* Fix bug #3194007: stop emitting duplicate READY/DONE events.John Mark Bell2011-02-271-1/+2
| | | | | | | * Make content handlers responsible for setting READY/DONE state & emitting events. * Stop content_convert doing this when there is a registered convert function for the content type. svn path=/trunk/netsurf/; revision=11850
* 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-16/+7
| | | | | | to use this. Note only RO build tested. svn path=/trunk/netsurf/; revision=11670
* Slightly less braindead textplain handlingJohn Mark Bell2010-10-231-24/+72
| | | | svn path=/trunk/netsurf/; revision=10900
* Remove bogus assertionJohn Mark Bell2010-09-171-2/+2
| | | | svn path=/trunk/netsurf/; revision=10793
* Replace all instances of NUL with U+FFFDJohn Mark Bell2010-09-131-4/+14
| | | | svn path=/trunk/netsurf/; revision=10771
* Replace use of iconv with a parserutils inputstreamJohn Mark Bell2010-09-131-69/+98
| | | | svn path=/trunk/netsurf/; revision=10770
* + Refactor input handling from browser window code into contentMichael Drake2010-06-041-0/+88
| | | | | | | | | | | | | 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-8/+47
| | | | | | | | | 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-2/+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-33/+79
| | | | svn path=/trunk/netsurf/; revision=10180
* Merge branches/MarkieB/gtkmain to trunk.John Mark Bell2009-12-171-4/+8
| | | | svn path=/trunk/netsurf/; revision=9729