Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Excise the llcache query pathway. | Daniel Silverstone | 2019-08-05 | 8 | -147/+128 | |
| | | | | | | | | 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 | 4 | -7/+49 | |
| | | | | | | | | | | * 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> | |||||
* | browser_window: Add fetch parameters and split navigate | Daniel Silverstone | 2019-08-05 | 2 | -14/+135 | |
| | | | | | | | | In order to support future reload/strange navigations, split the navigate function into two and add a stored parameters structure which can be used to regenerate any fetch. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Content messages: Remove ERRORCODE, rework ERROR | Daniel Silverstone | 2019-08-05 | 2 | -47/+10 | |
| | | | | | | | 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> | |||||
* | enable gnu extensions to get strcasestr from string.h | Vincent Sanders | 2019-08-05 | 1 | -0/+2 | |
| | ||||||
* | remove core snapping for values set in absolute mode | Vincent Sanders | 2019-08-04 | 1 | -7/+2 | |
| | ||||||
* | change browser_window_drop_file_at_point() to take unscaled coordinates | Vincent Sanders | 2019-08-04 | 1 | -38/+65 | |
| | ||||||
* | change browser_window_redraw to use unscaled coordinates | Vincent Sanders | 2019-08-04 | 1 | -0/+3 | |
| | ||||||
* | trivial documentation cleanups | Vincent Sanders | 2019-08-04 | 1 | -1/+1 | |
| | ||||||
* | Add content handlers for queries | Daniel Silverstone | 2019-08-04 | 3 | -0/+54 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | desktop: Expose llcache query handler temporarily | Daniel Silverstone | 2019-08-04 | 2 | -1/+17 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | remove unnecessary browser_window_redraw_rect interface | Vincent Sanders | 2019-08-03 | 2 | -8/+9 | |
| | ||||||
* | download: Include log.h | Daniel Silverstone | 2019-08-03 | 1 | -0/+1 | |
| | | | | 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> | |||||
* | local_history: Improve up/down navigation | Daniel Silverstone | 2019-08-03 | 1 | -10/+67 | |
| | | | | | | | | | | When pressing up/down on a node when you can't go up/down the window will now search for a parent node which is a child of a branching point, and move to that and try again for the up/down movement. This makes it slightly more intuitive to move through the tree. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Corewindow helper: Add documentation for cw_helper_scroll_visible() | Michael Drake | 2019-08-03 | 1 | -1/+8 | |
| | ||||||
* | Corewindow: Sanitise scrolling API. | Michael Drake | 2019-08-03 | 3 | -11/+9 | |
| | | | | | | | Now the core has a helper so that all the front ends don't need to implement the scroll to show area API. Now they simply have get and set scroll APIs. | |||||
* | Corewindow helper: Add helper to scroll to visible rectangle. | Michael Drake | 2019-08-03 | 2 | -0/+130 | |
| | | | | | This takes the algorithm from the GTK front end and puts it in the core, so it doesn't need to be implemented for every front end. | |||||
* | improve browser_window_set_scale | Vincent Sanders | 2019-08-03 | 1 | -22/+59 | |
| | | | | | | Allow scale setting to use an absolute value or a relative value. This also imposes sanity limits on the scale range (currently 0.2 to 10.0) and removes the old junk "all" parameter. | |||||
* | change browser_window_get_features to use unscaled coordinates | Vincent Sanders | 2019-08-03 | 1 | -48/+64 | |
| | ||||||
* | change browser_window_mouse_track to use unscaled coordinates | Vincent Sanders | 2019-08-03 | 1 | -153/+175 | |
| | ||||||
* | change browser_window_mouse_click to use unscaled coordinates | Vincent Sanders | 2019-08-03 | 1 | -118/+140 | |
| | | | | | this means frontends no longer need to scale mouse click events thus simplifying their implementation. | |||||
* | treeview: Support scrolling to the highlighted node | Daniel Silverstone | 2019-08-02 | 1 | -0/+36 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Local history: Consolidate thumbnail dimensions. | Michael Drake | 2019-08-02 | 3 | -50/+58 | |
| | ||||||
* | Local history: Treat thumbnail dimensions as CSS pixels. | Michael Drake | 2019-08-02 | 1 | -4/+6 | |
| | ||||||
* | local_history: Handle keys for navigating local history | Daniel Silverstone | 2019-08-02 | 1 | -0/+54 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | local_history: Add concept of a cursor to the local history | Daniel Silverstone | 2019-08-02 | 2 | -7/+66 | |
| | | | | | | | | So that we can eventually navigate around local history by keyboard, add the concept of a history cursor to the local history core window. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | remove scaled parameter from get_dimensions | Vincent Sanders | 2019-08-02 | 1 | -2/+2 | |
| | ||||||
* | remove scaling from internal browser get_dimensions calls | Vincent Sanders | 2019-08-02 | 3 | -12/+18 | |
| | ||||||
* | Browser window: Make invalidate gui callback use unsacled coordinates. | Michael Drake | 2019-08-01 | 1 | -7/+9 | |
| | ||||||
* | reformat and tidy up browser window code ready for corewindow changes | Vincent Sanders | 2019-08-01 | 1 | -1067/+1146 | |
| | ||||||
* | split browser and browser_window operations | Vincent Sanders | 2019-08-01 | 9 | -3479/+3509 | |
| | ||||||
* | Fix clamping in commit fa64763b0d8c6566eda5f6547e7f2f3e62b77613 | Vincent Sanders | 2019-08-01 | 1 | -1/+2 | |
| | ||||||
* | browser_history.c: Clamp contents to be 1x1 at min. | Daniel Silverstone | 2019-08-01 | 1 | -2/+10 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | treeview: Correct mis-freeing in treeview_create error path | Daniel Silverstone | 2019-08-01 | 1 | -1/+1 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Update version for next development cycle | Vincent Sanders | 2019-07-17 | 1 | -3/+3 | |
| | ||||||
* | cleanup browser window message handling | Vincent Sanders | 2019-07-10 | 1 | -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 logging | Daniel Silverstone | 2019-06-09 | 1 | -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> | |||||
* | Ensure we set the defaults for the log options to those compiled in | Daniel Silverstone | 2019-05-28 | 1 | -2/+2 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Browser window: Handle the content msg for getdims. | Michael Drake | 2019-05-06 | 1 | -0/+12 | |
| | ||||||
* | Logging: Bump lwc leak exit report to WARNING level. | Michael Drake | 2019-05-06 | 1 | -1/+1 | |
| | ||||||
* | Support DEBUG log level in console_log | Daniel Silverstone | 2019-05-06 | 1 | -0/+3 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Use console_log from browser_window_console_log | Daniel Silverstone | 2019-05-06 | 1 | -1/+3 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Add console_log to gui tables | Daniel Silverstone | 2019-05-06 | 1 | -0/+12 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | change content get_source_data interfaces to return uint8_t and size_t | Vincent Sanders | 2019-05-05 | 1 | -27/+38 | |
| | | | | | previously these interfaces returned char * and unsigned int which was undesirable. | |||||
* | Logging: migrate and provide content interface | Daniel Silverstone | 2019-05-05 | 1 | -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() API | Daniel Silverstone | 2019-05-05 | 1 | -0/+43 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Add browser_window_exec | Daniel Silverstone | 2019-05-05 | 1 | -0/+21 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | Treeview: Consider search bar for redraw area calculation. | Michael Drake | 2019-01-19 | 1 | -2/+2 | |
| | ||||||
* | Treeview: Use helper to get tree height. | Michael Drake | 2019-01-19 | 1 | -1/+1 | |
| |