Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix overflow-{x|y} handling. | Michael Drake | 2015-11-01 | 1 | -3/+4 |
| | |||||
* | Fix descendant bounding box calcs to work with overflow-{x|y}. | Michael Drake | 2015-10-31 | 1 | -16/+16 |
| | |||||
* | Don't call up if the parent's jscontext has gone NULL in the meantime | Daniel Silverstone | 2015-10-31 | 1 | -1/+1 |
| | |||||
* | Change click handling to fire_dom_event | Daniel Silverstone | 2015-10-31 | 1 | -1/+1 |
| | |||||
* | Add fire_dom_event, it's in a bad place but we can move it later | Daniel Silverstone | 2015-10-31 | 2 | -0/+42 |
| | |||||
* | Shunt the handling of new elements | Daniel Silverstone | 2015-10-31 | 1 | -3/+4 |
| | |||||
* | Initial work toward JS event support | Daniel Silverstone | 2015-10-31 | 1 | -0/+14 |
| | |||||
* | Fix dom document leak for framesets. | Michael Drake | 2015-10-31 | 1 | -0/+5 |
| | |||||
* | Make nsurl utf8 string conversion function consistent with nsurl API. | Michael Drake | 2015-10-25 | 1 | -1/+1 |
| | |||||
* | Rework IDN URL retrieval to return an nserror | Chris Young | 2015-10-24 | 1 | -6/+11 |
| | |||||
* | Modify the status bar link text so it shows either the ASCII encoded or IDN ↵ | Chris Young | 2015-10-24 | 1 | -4/+15 |
| | | | | | | | host, depending on the set option. Default is to display the encoded version as this provides some security making phishing domains more obvious, and a lot of our frontends are unable to display the full range of UTF-8 characters on the status bar. Displaying the decoded address in the URL bar requires frontends to be updated (GTK and Amiga done already), and the same caveats apply. | ||||
* | ensure completion of async js scripts completes the fetch | Vincent Sanders | 2015-10-02 | 1 | -0/+7 |
| | | | | | | When the fetch of asynchronous javascript scripts completed the completion of html rendering was not processed leaving the state machine waiting forever. | ||||
* | fix gadget resource leak (coverity #1109875) | Vincent Sanders | 2015-09-07 | 1 | -0/+1 |
| | |||||
* | Rename context_menu.c and strip out all the context menu code, so this file ↵ | Chris Young | 2015-09-05 | 1 | -0/+1 |
| | | | | and popupmenu.class is only used (optionally) for HTML form selection. | ||||
* | Reorder percentage calculation. | Michael Drake | 2015-08-24 | 1 | -2/+2 |
| | | | | | | | | | Fixed point representation couldn't store 0.65 exactly, so avoid doing the divide by 100 first. I will look at moving this into libcss's fixed point header and doing it in a way that avoids arithmetic overflow, but for now this fixes el reg layout. | ||||
* | It's not a hubbub error | Daniel Silverstone | 2015-08-12 | 1 | -1/+2 |
| | |||||
* | Store the HTML content as userdata on the DOM's HTMLDocument | Daniel Silverstone | 2015-08-09 | 1 | -0/+53 |
| | |||||
* | Only iterate the form when freeing a control if there is one. | Daniel Silverstone | 2015-06-03 | 1 | -14/+16 |
| | | | | This fixes Bug#2322 | ||||
* | 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 | 15 | -242/+187 |
| | | | | | | | | | | | | 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. | ||||
* | put assert back to protect against bad logic in frontend drag implementations | Vincent Sanders | 2015-05-08 | 1 | -0/+4 |
| | |||||
* | remove assert if drag message contains an unknown type. | Vincent Sanders | 2015-05-03 | 1 | -8/+12 |
| | | | | | Instead of asserting if a message contains an unsupported drag type the message is now logged and ignored. | ||||
* | Silence incorrect warning from gcc 4.9 | Vincent Sanders | 2015-05-03 | 1 | -9/+19 |
| | | | | | | | This makes the box_move_xy function return a value on all code paths. This was not really necessary as there is an assert in the path that could have returned without a value. The gcc optimiser seems unable to reason about this in this case causing a warning. | ||||
* | Ensure result of ftell is checked for errors | Vincent Sanders | 2015-04-26 | 1 | -0/+6 |
| | | | | | | | | The ftell call in the html renderer handling of drag and drop was not checking its return value for errors which could have resulted in attempting to read -1 bytes. coverity 1251038 | ||||
* | Remove duplicate branch in relative position handling. | Michael Drake | 2015-04-23 | 1 | -5/+5 |
| | |||||
* | Ensure we delink form controls when freeing them | Daniel Silverstone | 2015-04-22 | 1 | -0/+19 |
| | |||||
* | add some debug to form gadget freeing | Vincent Sanders | 2015-03-27 | 1 | -3/+10 |
| | | | | | Serveral reports of form freeing segfaulting on RISC OS so this adds some debug in this area to see if we can tell why. | ||||
* | To avoid namespace conflicts with ncurses add NetSurf key prefix. | Witold Filipczyk | 2015-03-27 | 3 | -12/+12 |
| | | | | Adds a NetSurf key code prefix of NS_ to all key codes. | ||||
* | Forms: consider submit buttons successful. Fixes #2284. | John-Mark Bell | 2015-03-10 | 1 | -2/+47 |
| | |||||
* | Add invalidate API to html content script handling and use it. | Vincent Sanders | 2015-03-09 | 3 | -25/+66 |
| | | | | | | | | | | The html content script handling needs to invalidate its JavaScript context when the browsing context (browser_window) containing it is either closed or the content fetch is aborted (stopped) Previously the invalidation was only done on browser_window close which resulted in use after free crashes because of the now invalid JavaScript context. | ||||
* | clear the html content reference to javascript context. | Vincent Sanders | 2015-03-06 | 1 | -0/+8 |
| | | | | | | | | | | | | When the browser window is about to be destroyed html_close gets called indicating the browser_window previously associated with the html content is about to become invalid. This makes the javascript context invalid within the html content (it is held by the browser window) when that context is about to be destroyed. Previously the javascript children would continue to attempt to use the context after it had been destroyed causing all sorts of strange errors and failures. | ||||
* | Remove nsurl include. | Michael Drake | 2015-02-26 | 1 | -3/+2 |
| | |||||
* | Revert removal of implied table adding. | Michael Drake | 2015-01-27 | 1 | -2/+52 |
| | | | | | Even if the DOM is always sanitised, CSS display property can cause other boxes to be required. | ||||
* | Remove unused variables. | Michael Drake | 2015-01-24 | 1 | -3/+0 |
| | |||||
* | Remove redundant implied table insertion. | Michael Drake | 2015-01-24 | 1 | -49/+2 |
| | |||||
* | release gadget allocation on error path (Coverity 1109875) | Vincent Sanders | 2014-11-30 | 1 | -0/+1 |
| | |||||
* | Fix my spelling of teh everywhere | Vincent Sanders | 2014-11-18 | 1 | -1/+1 |
| | |||||
* | Remove unecessary form debug | Vincent Sanders | 2014-11-15 | 1 | -33/+37 |
| | | | | | Additionaly we make the curl fetcher report errors instead of uninitialised buffer. | ||||
* | Fix cocoa usage of render internals | Vincent Sanders | 2014-11-13 | 2 | -0/+18 |
| | |||||
* | make the form select menu API smaller. | Vincent Sanders | 2014-11-13 | 4 | -93/+129 |
| | | | | | | 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. | ||||
* | doxgen warning fixes in riscos frontend. | Vincent Sanders | 2014-11-12 | 1 | -25/+30 |
| | |||||
* | cleanup Doxygen warnings | Vincent Sanders | 2014-11-12 | 4 | -40/+41 |
| | |||||
* | Doxygen cleanups | Vincent Sanders | 2014-11-12 | 6 | -29/+34 |
| | |||||
* | Doxygen cleanups | Vincent Sanders | 2014-11-12 | 3 | -79/+89 |
| | |||||
* | change form API to return error instead of warning user. | Vincent Sanders | 2014-11-11 | 2 | -14/+31 |
| | | | | | | | Update the form API so instead of directly warning the user it returns an error code to the caller allowing the appropriate action to be taken outside the core. Additionally clean up documentation of this API. | ||||
* | Make most of the form API internal to the html renderer. | Vincent Sanders | 2014-11-11 | 10 | -113/+151 |
| | | | | | | Very little of the form API needed exposing outside of the renderer. This makes the form API that may be used by frontends obvious and limited. | ||||
* | Doxygen warning fixes | Vincent Sanders | 2014-11-10 | 3 | -9/+9 |
| | |||||
* | address even more potential leaks on error path in box_select (coverity 1109875) | Vincent Sanders | 2014-11-10 | 1 | -1/+3 |
| | |||||
* | fix leak of gadget on error path. (coverity 1109875) | Vincent Sanders | 2014-11-10 | 1 | -2/+6 |
| | |||||
* | Fix reference to local variable outside scope (fixes coverity 1251161) | Vincent Sanders | 2014-11-10 | 1 | -1/+1 |
| |