summaryrefslogtreecommitdiff
path: root/desktop/browser.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Handle failure to create new context.Michael Drake2015-08-131-0/+3
|
* Remove TODO.Michael Drake2015-08-131-2/+1
|
* Fix crash when JS context is required from a frame.Michael Drake2015-08-131-5/+6
|
* Change LOG() macro to be varadicVincent Sanders2015-05-281-22/+18
| | | | | | | | | | | | 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.
* Convert RISC OS to use bitmap render operationVincent Sanders2015-04-241-1/+1
|
* Convert framebuffer frontend to bitmap operations table.Vincent Sanders2015-04-141-1/+1
|
* Remove usage of browser private interfacesVincent Sanders2014-11-211-0/+4
| | | | | | | | The cocoa frontend was directly acessing browser internals instead of using the API. In the case of gui.m there was a check for the browser window not being root (browser->parent != NULL) . As gui windows can only ever be associated with the root brower window (i.e. its parent will always be NULL) this was completely redundant.
* make the form select menu API smaller.Vincent Sanders2014-11-131-1/+1
| | | | | | By hiding all but the form selection menu option structure from code outside of render this reduces the API to the absolute minimum to support this feature.
* Improve content encoding information APIVincent Sanders2014-11-071-1/+1
| | | | | Extend the content_get_encoding() API to retrieve the source of the encoding as well as the actual encoding.
* Allow content handlers to have debug values set through APIVincent Sanders2014-11-061-3/+11
| | | | | | | | Previously content handler debugging features were accessed by global variables. This allows the setting of debugging parameters via a content API giving per content control over debugging features. Currently only used by the html content handler to toggle global redraw debugging.
* move themse install to its own headerVincent Sanders2014-11-061-0/+1
|
* Make the fetching of a contents encoding generic.Vincent Sanders2014-11-051-1/+1
| | | | | | | The frontends previously had to use an html renderer API to get the encoding of a content. This also required the explicit checking of the contents type rather than using the existing content API to abstract this knowledge.
* change url setting api to take an nsurl instead of a text stringVincent Sanders2014-11-021-1/+1
|
* Change contextual content retrieval to browser features.Vincent Sanders2014-11-021-20/+32
| | | | | | | | | | | | | Update the API which allows frontends to acquire the page features (images, link urls or form elements) present at the given coordinates within a browser window. By making this an explicit browser_window API and using the browser.h header for the associated data structure with a more appropriate API naming the usage is much more obvious and contained. Additionally the link url is now passed around as a nsurl stopping it being converted from nsurl to text and back again several times.
* make adding a history entry return an error code.Vincent Sanders2014-10-291-1/+1
| | | | | This returns the error code to the caller instead of (sometimes) warning the user directly.
* Ensure browser window creation returns errors from common initialisation.Vincent Sanders2014-10-291-1/+6
| | | | | | The browser window common initialisation code returns error codes which were being ignored. The errors were additionally being reported via warn_user in inappropriate places within browser history construction.
* Update url setting API to return nserror code instead of calling warn_userVincent Sanders2014-10-291-28/+29
|