summaryrefslogtreecommitdiff
path: root/desktop/browser.c
Commit message (Collapse)AuthorAgeFilesLines
* desktop: clamp dpi in browser_set_dpi() to sensible valuesFrançois Revol2020-05-051-0/+7
| | | | | The cocoa frontend missed a cast resulting in a huge negative dpi and some GB allocated for thumbnails...
* split browser and browser_window operationsVincent Sanders2019-08-011-3469/+6
|
* cleanup browser window message handlingVincent Sanders2019-07-101-143/+148
| | | | | | | | separate out ready and done message processing to make the code more readable. remove checking of content status as content_close() handles that itself.
* browser.c: Don't require > 0 chars in loggingDaniel Silverstone2019-06-091-1/+4
| | | | | | | Sometimes JavaScript chooses to log an empty string. We should honour that by requiring msg be a valid empty string. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Browser window: Handle the content msg for getdims.Michael Drake2019-05-061-0/+12
|
* Support DEBUG log level in console_logDaniel Silverstone2019-05-061-0/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Use console_log from browser_window_console_logDaniel Silverstone2019-05-061-1/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Logging: migrate and provide content interfaceDaniel Silverstone2019-05-051-0/+7
| | | | | | | | Migrate the console enums into netsurf/console.h and add support so that contents can raise a message to log to the console. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Provide new browser_window_console_log() APIDaniel Silverstone2019-05-051-0/+43
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add browser_window_execDaniel Silverstone2019-05-051-0/+21
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Browser: Add function to get bw URL with any fragment.Michael Drake2018-07-231-0/+30
| | | | This returns a ref to the URL.
* Browser: Rename function to access bw URL.Michael Drake2018-07-231-3/+3
|
* move html and text content handlers where they belongVincent Sanders2018-05-101-3/+3
|
* Browser: Don't add history entry until after reformat.Michael Drake2018-04-141-4/+8
| | | | | | | Adding a history entry causes content_redraw() for the thumbnail. But we can't content_redraw() until after content_reformat(). Otherwise we get HTML redraw before HTML layout has happened.
* Browser history: Create new history entries early in the READY state.Michael Drake2017-09-231-17/+17
| | | | | This prevents us updating the previous history entry with this page's scroll offsets.
* Browser history: Update history scroll offsets on scroll to fragment.Michael Drake2017-09-231-0/+5
|
* Add concept of browser scroll offset saving in local historyDaniel Silverstone2017-09-231-1/+29
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-17/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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);
* Browser favicon: Handle errorcode in the hlcache callback.Michael Drake2017-08-281-0/+1
|
* Update documentation removing junk and moving to markdown for most text filesVincent Sanders2017-06-091-1/+1
|
* simplify the browser window operations by removing scroll APIVincent Sanders2017-04-261-63/+92
| | | | | The browser window scrollingAPI was duplicated in window operation table, this simplifies it to a single set_scroll API.
* remove reformat from browser window operation tableVincent Sanders2017-04-261-6/+30
| | | | | | the reformat callback was completely unecessary and implementations appeared potentialy buggy. This rationalises the API and reduces the number of operations a frontend must provide.
* replace redraw and update methods with invalidate in window table APIVincent Sanders2017-04-191-3/+3
|
* split out browser window drag context into separate structureVincent Sanders2017-03-031-42/+50
|
* split out browser windoe favicon context to separate structureVincent Sanders2017-03-031-34/+52
|
* split out status bar text cache into separate structVincent Sanders2017-03-031-28/+41
|
* make scrollbar redraw signal errors correctlyVincent Sanders2017-03-011-4/+14
| | | | | allow scrollbar redraw to return error codes and update documentation commenst appropriately.
* Update knockout plotter to use new APIVincent Sanders2017-02-111-2/+2
|
* Update all core use of plotters to new APIVincent Sanders2017-02-111-16/+17
|
* remove unecessary textinput header use from global history headerVincent Sanders2016-06-301-0/+1
|
* reduce curl usage to fetcher, url unescaping and time parsingVincent Sanders2016-06-291-1/+0
|
* Allow include directories to be added by sub makefilesVincent Sanders2016-06-061-1/+1
|
* Update content to split public and internal APIVincent Sanders2016-06-061-4/+4
|
* move plotters header into public APIVincent Sanders2016-05-301-1/+1
|
* move desktop window header into public APIVincent Sanders2016-05-301-26/+26
|
* move misc header into public APIVincent Sanders2016-05-301-1/+1
|
* move window header into public APIVincent Sanders2016-05-301-1/+1
|
* move the CSS content handlerVincent Sanders2016-05-261-1/+1
|
* remove all core usage of warn_user APIVincent Sanders2016-04-261-5/+6
|
* fix error reporting from frameset creationVincent Sanders2016-04-261-4/+6
|
* make framebuffer use nsutils library monotonic timesVincent Sanders2016-04-211-0/+1
|
* replace wallclock API usage with nsutils monitonic timeVincent Sanders2016-04-211-8/+14
|
* reduce content header interdependancyVincent Sanders2016-04-181-0/+1
|
* complete the rename of the gui browser tableVincent Sanders2016-04-161-7/+7
| | | | | | When the operations tables were created the browser table was renamed to miscellaneous except the actual rename patch was never applied, this fixes that situation.
* Update font interface documentation to include parameter directionVincent Sanders2016-03-221-1/+1
|
* Remove torrent of logging during browser window resize.Michael Drake2016-02-061-1/+0
|
* Don't leak frame scrollbars.Michael Drake2015-10-311-0/+9
|
* Implement basic browsing context name propertyVincent Sanders2015-10-181-1/+36
|
* Proper error handling for JS context creation.Michael Drake2015-08-131-5/+4
|
* Can't tell if failure to create a JS context is an error or not.Michael Drake2015-08-131-3/+2
| | | | It won't create one when built jsoff.