Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | improve desktop text search header usage | Vincent Sanders | 2020-06-24 | 1 | -0/+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. | ||||
* | implement content opacity check through the function table | Vincent Sanders | 2020-05-13 | 1 | -12/+3 |
| | |||||
* | consolodate the textsearch code into a single module | Vincent Sanders | 2020-05-12 | 1 | -81/+0 |
| | |||||
* | hoist common text search out of content handlers | Vincent Sanders | 2020-05-12 | 1 | -12/+75 |
| | |||||
* | clean up content headers and documentation comments | Vincent Sanders | 2020-05-06 | 1 | -371/+272 |
| | | | | pure formatting and documentation changes, no code difference | ||||
* | remove junk content_add_error api | Vincent Sanders | 2020-05-06 | 1 | -6/+0 |
| | |||||
* | remove unused junk error values from content struct | Vincent Sanders | 2020-05-06 | 1 | -1/+0 |
| | | | | saves over half a kilobyte for every content | ||||
* | Add missing unrefs | Daniel Silverstone | 2019-12-01 | 1 | -0/+3 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | content_saw_insecure_objects: Fix various corner cases | Daniel Silverstone | 2019-12-01 | 1 | -3/+12 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Add missing include | Daniel Silverstone | 2019-12-01 | 1 | -0/+1 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Allow contents to indicate if they believe they may not be secure. | Daniel Silverstone | 2019-12-01 | 1 | -0/+45 |
| | | | | | | | | | | HTML contents reference many other objects. The browser window needs to know if any of them may not be secure, in which case it needs to report that in its page state. If other content types might refer to sub-contents, they will need to define the callback too. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Content: Remove redundant and unused redraw message fields. | Michael Drake | 2019-11-11 | 1 | -8/+0 |
| | | | | | | | | | | This was archaic support for rendering images as "overlays", and avoiding a redraw via the browser window redraw and HTML contents. Basically it was "plot this image here", but it was too error prone, so it was removed a long time ago. These are some last vestiges that made the redraw message look more complex than it is. | ||||
* | Excise the llcache query pathway. | Daniel Silverstone | 2019-08-05 | 1 | -10/+3 |
| | | | | | | | | In further preparation for the auth and cert queries being handled as special contents from `about:` this excises the query pathway from the llcache pretty much entirely. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Migrate SSL certificate storage to the browser window | Daniel Silverstone | 2019-08-05 | 1 | -0/+3 |
| | | | | | | | | | | * Fetchers now provide the certificates before headers * This is propagated all the way to the browser window * When a query occurs, we retrieve it from there and fire the query with those stored certificates. * The serial number is a bignum, store it as hex. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | content: Rename content_broadcast_errorcode() | Daniel Silverstone | 2019-08-05 | 1 | -2/+2 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Content messages: Remove ERRORCODE, rework ERROR | Daniel Silverstone | 2019-08-05 | 1 | -3/+5 |
| | | | | | | | This reworks CONTENT_MSG_ERROR to be structured data and removes the CONTENT_MSG_ERRORCODE message kind. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Migrate query dispatch up from llcache to hlcache | Daniel Silverstone | 2019-08-03 | 1 | -0/+7 |
| | | | | | | | | | | | | As a first step in refactoring query handling to be managed by `browser_window`, this migrates the calling of the query handler from the llcache object code up to the hlcache. In theory this may result in multiple queries happening for one object, but we mitigate multiple-responses in the llcache so all should be well. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | make content close check the content status itself | Vincent Sanders | 2019-07-10 | 1 | -39/+64 |
| | | | | make content handler open and close return error status | ||||
* | change content get_source_data interfaces to return uint8_t and size_t | Vincent Sanders | 2019-05-05 | 1 | -10/+4 |
| | | | | | previously these interfaces returned char * and unsigned int which was undesirable. | ||||
* | Add content_exec and associated vtable entry | Daniel Silverstone | 2019-05-05 | 1 | -0/+21 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Content: Make the content structure aware of viewport height. | Michael Drake | 2019-02-17 | 1 | -0/+2 |
| | | | | | | | It was always aware of viewport width, but since adding support for vh CSS units, the HTML content handler also needs viewport height. Signed-off-by: Michael Drake <michael.drake@codethink.co.uk> | ||||
* | Content: Log URLs with nsurl_access_log(). | Michael Drake | 2018-08-09 | 1 | -9/+9 |
| | | | | | | This reduces the log file size for startup and a single visit to https://www.bbc.co.uk/news from 266133 to 178777 bytes, by not dumping big data URLs over and over into the log. | ||||
* | Fixup everything the semantic patch missed | Vincent Sanders | 2017-09-07 | 1 | -1/+1 |
| | |||||
* | Use coccinelle to change logging macro calls in c files | Vincent Sanders | 2017-09-06 | 1 | -10/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7); | ||||
* | Content API: Avoid content message copy in content user callback. | Michael Drake | 2017-08-26 | 1 | -13/+19 |
| | |||||
* | Content API: Make content_broadcast take pointer to content_msg_data. | Michael Drake | 2017-08-26 | 1 | -15/+17 |
| | |||||
* | Improve content logging with content IDs (pointer values). | Michael Drake | 2017-03-23 | 1 | -1/+1 |
| | | | | This makes it easier to track a content by its ID through a log. | ||||
* | Update knockout plotter to use new API | Vincent Sanders | 2017-02-11 | 1 | -1/+1 |
| | |||||
* | Update all core use of plotters to new API | Vincent Sanders | 2017-02-11 | 1 | -4/+4 |
| | |||||
* | create netsurf inttypes header to have portable integer formatting macros | Vincent Sanders | 2017-01-21 | 1 | -1/+2 |
| | |||||
* | rationalise use of utils/utils.h header | Vincent Sanders | 2017-01-19 | 1 | -1/+0 |
| | |||||
* | Update content to split public and internal API | Vincent Sanders | 2016-06-06 | 1 | -13/+5 |
| | |||||
* | move plotters header into public API | Vincent Sanders | 2016-05-30 | 1 | -1/+0 |
| | |||||
* | move desktop window header into public API | Vincent Sanders | 2016-05-30 | 1 | -1/+1 |
| | |||||
* | move bitmap API header to core include directory | Vincent Sanders | 2016-05-26 | 1 | -1/+1 |
| | |||||
* | move image content handlers to accomodate core build changes | Vincent Sanders | 2016-05-23 | 1 | -1/+1 |
| | |||||
* | update content wallclock timing to use monotonic time interface | Vincent Sanders | 2016-04-20 | 1 | -4/+7 |
| | |||||
* | stop content header dragging in so many other headers | Vincent Sanders | 2016-04-19 | 1 | -0/+2 |
| | |||||
* | reduce content header interdependancy | Vincent Sanders | 2016-04-18 | 1 | -1/+2 |
| | |||||
* | clean up header usage in content hnadling core | Vincent Sanders | 2016-04-18 | 1 | -20/+10 |
| | |||||
* | Stop GIF animations when they are no longer in use, instead of waiting until ↵ | Chris Young | 2016-02-11 | 1 | -0/+7 |
| | | | | they are destroyed. | ||||
* | Remove torrent of logging during browser window resize. | Michael Drake | 2016-02-06 | 1 | -1/+1 |
| | |||||
* | fixup all the remaining logging macro callsites | Vincent Sanders | 2015-05-28 | 1 | -1/+1 |
| | | | | | The semantic patch tool appears to have missed some difficult to reason about callsites which have now been manually cleaned up | ||||
* | Change LOG() macro to be varadic | Vincent Sanders | 2015-05-28 | 1 | -20/+11 |
| | | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging. | ||||
* | Add scaled content redraw interface. | Vincent Sanders | 2015-04-23 | 1 | -2/+71 |
| | | | | | | Add a new interface to the content to allow automaticaly scaled content redraws. This is intended to replace the thumbnail_redraw interface with something more generic. | ||||
* | Move bitmap operations into an operation table. | Vincent Sanders | 2015-04-13 | 1 | -1/+2 |
| | | | | | | | The generic bitmap handlers provided by each frontend are called back from the core and therefore should be in an operation table. This was one of the very few remaining interfaces stopping the core code from being split into a library. | ||||
* | Doxygen cleanups | Vincent Sanders | 2014-11-09 | 1 | -6/+7 |
| | |||||
* | Continue doxygen error cleanup. | Vincent Sanders | 2014-11-08 | 1 | -79/+52 |
| | |||||
* | fix up more doxygen errors | Vincent Sanders | 2014-11-08 | 1 | -53/+19 |
| | |||||
* | Improve content encoding information API | Vincent Sanders | 2014-11-07 | 1 | -4/+4 |
| | | | | | Extend the content_get_encoding() API to retrieve the source of the encoding as well as the actual encoding. |