Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update monkey frontend to use invalidate window area API | Vincent Sanders | 2017-04-23 | 1 | -14/+22 |
| | |||||
* | Update windows frontend to use invalidate window area API | Vincent Sanders | 2017-04-23 | 1 | -36/+27 |
| | |||||
* | update gtk frontend with invalidate window API change | Vincent Sanders | 2017-04-23 | 1 | -15/+25 |
| | |||||
* | update atari frontend for invalidate window API change | Vincent Sanders | 2017-04-23 | 1 | -23/+29 |
| | |||||
* | update amiga frontend invalidate window API change | Vincent Sanders | 2017-04-19 | 1 | -35/+48 |
| | |||||
* | update riscos frontend to invalidate window API | Vincent Sanders | 2017-04-19 | 3 | -49/+58 |
| | |||||
* | replace redraw and update methods with invalidate in window table API | Vincent Sanders | 2017-04-19 | 3 | -21/+26 |
| | |||||
* | Adjust the requested class versions to be the minimum required. | Chris Young | 2017-04-16 | 6 | -26/+50 |
| | | | | | | | Some features of later versions are used but are either restricted to OS4 only, or runtime version checks select the appropriate routines. Where the lowest required version cannot be determined, the version provided in the ClassAct 3.3 archive is requested. Bugs may mean these older classes do not work as expected. In addition, restrict the opening of listbrowser.gadget and the custom Stringview class to OS4 only. | ||||
* | Duktape: Make declaration match definition for duk_refzero_check_fast() | Michael Drake | 2017-04-16 | 1 | -1/+1 |
| | |||||
* | Duktape: Make declarations match definitions for duk_raw_read_xxx_be | Michael Drake | 2017-04-16 | 1 | -6/+6 |
| | | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 2.1.0 import. | ||||
* | Duktape: Prevent clang static analysis. | Michael Drake | 2017-04-16 | 1 | -0/+3 |
| | | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 2.1.0 import. | ||||
* | Duktape: Update to 2.1.0 release. | Michael Drake | 2017-04-16 | 3 | -5539/+7089 |
| | |||||
* | GTK: Slight optimisation to nsfont_split(). | Michael Drake | 2017-04-11 | 1 | -1/+1 |
| | | | | | When we aren't modifying the line, pango_layout_get_line_readonly() is a faster alternative to pango_layout_get_line(). | ||||
* | GTK: Font rendering: Use same pango layout for painting as for measuring. | Michael Drake | 2017-04-11 | 1 | -7/+4 |
| | | | | | | | | | | | | | | | With this change we are consistent about how the pango layout we use is created. Now it always comes from a pango_layout_new() call on a pango context that comes from gdk_pango_context_get(). Previously the pango layout used for painting came from a call to pango_cairo_create_layout(), which required a global called "current_cr" (a cairo drawing context), which is only valid during redraw (painting). Since it was only valid during painting, this source could not be used for pango layout creation for the measuring code. | ||||
* | CSS: Handle presentational hint for HR's "width" attribute. | Michael Drake | 2017-04-10 | 1 | -0/+1 |
| | |||||
* | Presentational hints: Ensure length is initialised for auto margins. | Michael Drake | 2017-04-06 | 1 | -0/+2 |
| | | | | | | | | | | | Although the length is unused when margin is auto, having uninitialised values present in a computed style means that the style hashing may give the same style different hashes depending on the unintitialised info. The effect of this would have been be to reduce the chance of computed style sharing. It would have had no effect on page rendering. | ||||
* | Support coverage flushing on assert() | Daniel Silverstone | 2017-03-31 | 2 | -4/+68 |
| | | | | | | | | | | | | When assert() is called, which is not uncommon in utility code within NetSurf, we lose coverage data for anything done before the assert() in the test. This commit corrects that oversight but is at least slightly GCC specific and may need tweaks for non-Linux platforms. By default, 'make coverage' will enable assert coverage, and it can be disabled with 'make coverage NOASSERTCOVERAGE=yes' if necessary. Signed-off-by: Daniel Silverstone <dsilvers@netsurf-browser.org> | ||||
* | fix doc comment spelling mistake | Vincent Sanders | 2017-03-28 | 1 | -1/+1 |
| | |||||
* | nsurl: Remove redundant code path. | Michael Drake | 2017-03-27 | 1 | -8/+9 |
| | |||||
* | Tests: Increase nsurl coverage. | Michael Drake | 2017-03-27 | 1 | -0/+11 |
| | |||||
* | Tests: Add nsurl insensitivity test for HTTPS scheme. | Michael Drake | 2017-03-27 | 1 | -0/+1 |
| | |||||
* | Tests: Add nsurl tests for unnecessary and bad escape values. | Michael Drake | 2017-03-27 | 1 | -0/+6 |
| | |||||
* | nsurl: Use ascii header for hex to value conversion. | Michael Drake | 2017-03-27 | 1 | -40/+1 |
| | |||||
* | ASCII: Add function for converting two hex chars to value. | Michael Drake | 2017-03-27 | 1 | -0/+13 |
| | |||||
* | ASCII: Add hex char to value conversion function. | Michael Drake | 2017-03-27 | 1 | -0/+20 |
| | |||||
* | ASCII: Split out a-f test. | Michael Drake | 2017-03-27 | 1 | -3/+13 |
| | |||||
* | ASCII: Split out A-F test. | Michael Drake | 2017-03-27 | 1 | -3/+13 |
| | |||||
* | Tests: Add some more nsurl cases insensitivity tests. | Michael Drake | 2017-03-27 | 1 | -0/+3 |
| | |||||
* | Tests: Add tests for file: URL credentials and host handling. | Michael Drake | 2017-03-27 | 1 | -0/+6 |
| | |||||
* | nsurl: Don't allow credentials or host for file: URLs. | Michael Drake | 2017-03-27 | 1 | -0/+10 |
| | |||||
* | Tests: Add more file scheme URL parsing tests. | Michael Drake | 2017-03-27 | 1 | -0/+7 |
| | |||||
* | Tests: Fix file URL component parsing test to match corrected behaviour. | Michael Drake | 2017-03-27 | 1 | -1/+1 |
| | |||||
* | nsurl: Set path of "/" for file: URLs with empty path. | Michael Drake | 2017-03-27 | 1 | -3/+7 |
| | |||||
* | nsurl: Add detection of "file:" URL schemes. | Michael Drake | 2017-03-27 | 1 | -0/+10 |
| | |||||
* | nsurl: Add "file:" entry to enum of known URL schemes. | Michael Drake | 2017-03-27 | 1 | -0/+1 |
| | |||||
* | Duktape: Suppress warnings about increasing alignment of pointer type. | Michael Drake | 2017-03-23 | 1 | -2/+2 |
| | |||||
* | Duktape: Atari Mint lacks trunc, log2 and cbrt. | Michael Drake | 2017-03-23 | 1 | -1/+7 |
| | | | | | | | | build/Linux-atari/content_handlers_javascript_duktape_duktape.o:build/Linux-atari/content_handlers_javascript_duktape_duktape.o:(.text+0x978): undefined reference to `_trunc' build/Linux-atari/content_handlers_javascript_duktape_duktape.o:build/Linux-atari/content_handlers_javascript_duktape_duktape.o:(.text+0x990): undefined reference to `_log2' build/Linux-atari/content_handlers_javascript_duktape_duktape.o:build/Linux-atari/content_handlers_javascript_duktape_duktape.o:(.text+0x99c): undefined reference to `_cbrt' | ||||
* | Duktape: Make declarations match definitions for duk_raw_read_xxx_be | Michael Drake | 2017-03-23 | 1 | -6/+6 |
| | | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 2.0.2 import. | ||||
* | Merge branch 'tlsa/duktape2' | Michael Drake | 2017-03-23 | 7 | -21034/+24912 |
|\ | |||||
| * | Duktape: Prevent clang static analysis. | Michael Drake | 2017-03-23 | 1 | -0/+3 |
| | | | | | | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 2.0.2 import. | ||||
| * | Duktape 2.X: duk_error now returns a duk_ret_t | Michael Drake | 2017-03-23 | 3 | -10/+6 |
| | | | | | | | | | | | | https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_error-duk_error_va-duk_throw-duk_fatal-have-a-return-value This also changes Console.bnd to return on error, rather than ignoring it. | ||||
| * | Duktape 2.x: duk_safe_call callbacks now have a void ptr user data param. | Michael Drake | 2017-03-23 | 1 | -5/+5 |
| | | | | | | | | https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_safe_call-userdata | ||||
| * | Duktape 2.X: Update to Duktape 2.0.2. | Michael Drake | 2017-03-23 | 4 | -21021/+24900 |
|/ | | | | | | | | | | | | | | | | Note that DUK_OPT_XXX feature selection has been removed. This means we can't use `DUK_OPT_HAVE_CUSTOM_H`, so we need another way to tell duktape about our custom header. This means assembling our own duktape distribution with a duktape "tools/configure.py" invocation. Instructions for updating duktape have been added to NetSurf's `Docs/` directory. See: https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_opt_xxx-feature-option-support-removed | ||||
* | HTML content handler: Don't let aborted contents get stuck in LOADING. | Michael Drake | 2017-03-23 | 1 | -0/+1 |
| | | | | | | | Previously, aborted HTML fetches left the content in LOADING state, and the hlcache clean code does not clean contents in the LOADING state. They, and their child contents ended up stuck in the cache forever. | ||||
* | HTML object fetch handler: Remove bogus parent content state assertion. | Michael Drake | 2017-03-23 | 1 | -2/+0 |
| | |||||
* | Improve content logging with content IDs (pointer values). | Michael Drake | 2017-03-23 | 2 | -6/+10 |
| | | | | This makes it easier to track a content by its ID through a log. | ||||
* | Add heap fault injection generator into tests | Vincent Sanders | 2017-03-22 | 4 | -43/+235 |
| | | | | | | | | | | This builds a dynamic library which can cause heap allocation (malloc) faliures after a specified number of calls. This is useful to allow tesing of memory failure allocation paths within netsurf test suites. An example test for core strings test has been added which incrementaly fails alloctions allowing all error paths in initialisation to be exercised. | ||||
* | Allow for more varied notification backmsgs | Chris Young | 2017-03-21 | 3 | -4/+30 |
| | |||||
* | fix mime sniff test with comment tag | Vincent Sanders | 2017-03-20 | 1 | -1/+1 |
| | |||||
* | extend mime sniff coverage with bad mp4 tests | Vincent Sanders | 2017-03-20 | 1 | -11/+51 |
| |