summaryrefslogtreecommitdiff
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
...
* make urldb parsing of ascii data explicitVincent Sanders2016-09-101-7/+10
|
* document file fetcher being locale dependantVincent Sanders2016-09-101-1/+5
|
* Duktape: Prevent clang static analysis.Michael Drake2016-08-311-0/+3
| | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 1.5.1 import.
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2016-08-311-6/+6
| | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 1.5.1 import.
* Duktape: Update to version 1.5.1.Michael Drake2016-08-313-81/+185
| | | | | | | | | | | | Version 1.5.1 includes some of our own fixes, reducing our delta to upstream. These should not be needed now: - 2cbb337756d9af5bda4d594964d446439f602551 Squash harmless Clang warning introduced in Duktape 1.5.0. - 8f8cda2b48d1063366302204559c1ed3362656bc Fix Duktape on AmigaOS3 (thanks to Tygre and Sami)
* Fix Duktape on AmigaOS3 (thanks to Tygre and Sami)Chris Young2016-08-271-1/+1
|
* Fix longjmp to invalid address on jpeg init errorSergei Rogachev2016-08-141-2/+2
| | | | | | | | | | | | | | | | | | | Libjpeg used in NetSurf for decoding of JPEG images handles exceptions using a pair of non-local jump functions: setjmp() and longjmp(). When a decompression context is created via a call to the function jpeg_create_decompress() the caller passes a structure jpeg_decompress_struct as a parameter. This structure should has a validly initialized jump buffer, so the initialization or other functions called in future can jump to the exception handling context. The jpeg backend of NetSurf now initializes libjpeg mistakenly: jump buffer is filled after the call to jpeg_create_decompress(). It results in jump to random addresses in the case of exception caught during operation of the function jpeg_create_decompress(). The patch moves the initialization of jump buffer before the call to jpeg_create_decompress(). Signed-off-by: Sergei Rogachev <rogachevsergei@gmail.com>
* fix bitmap modification callback calling for bmp image handlerVincent Sanders2016-08-141-4/+10
| | | | | | | | bitmap file decoding is done at first call to redraw but was not calling the modified callback at the correct time immediately after decode so frontend image chnages were not being done. This caused nsgtk to fail to apply its colour space fixups so red was swapped with blue.
* Buildsystem: Make curl/openssl usage build-time options.Michael Drake2016-08-132-2/+6
|
* ensure url database destructor cleans up correctlyVincent Sanders2016-08-091-2/+7
|
* extend url database unit testing to cover more APIVincent Sanders2016-08-092-11/+26
|
* fix urldb warning and test buildVincent Sanders2016-08-081-3/+4
|
* update urldb dump to use LOG rather than writing to stderr directlyVincent Sanders2016-08-081-8/+19
|
* Allow certificate verification user prompt creation to return errorsVincent Sanders2016-07-311-0/+9
|
* URL unescape: return the new length to the caller.Michael Drake2016-07-241-3/+2
| | | | | | | | The avoids situations were we threw away the length, only for the caller to have to strlen the returned string. Note, there seems to be a case of the amiga front end writing beyond end of allocation. Added a TODO for now.
* Data URL handling: Use url_unescape rather than curl.Michael Drake2016-07-241-13/+10
|
* Whitespace: Convert spaces to tab for indent.Michael Drake2016-07-241-3/+3
|
* Actually use utils/inet.h instead of sys/select.hDaniel Silverstone2016-06-271-2/+1
|
* fetch.h needs sys/select.h for the fd_set type et al.Daniel Silverstone2016-06-271-0/+2
|
* Move fetcher_fdset to fetch.h (and rename to fetch_fdset). Maybe not ideal ↵Daniel Silverstone2016-06-273-28/+28
| | | | but better
* Refactor the fdset acquisition into the fetchers to stop fetch.c including ↵Daniel Silverstone2016-06-273-9/+38
| | | | curl.h
* Fix handling of certificate chainsVincent Sanders2016-06-271-145/+251
| | | | | | | When processing a x509 certificate chain from openssl it is necessary to allow teh entire chain to be processed rather than halting processing at the first certificate with an error. This allows errors with a certificate authority to be examined.
* msplit public url database API out for frontendsVincent Sanders2016-06-133-193/+32
|
* Move javascript content handler as appropriate for updated source formatVincent Sanders2016-06-0781-2/+100697
|
* reduce unecessary usage of content headersVincent Sanders2016-06-062-2/+2
|
* Allow include directories to be added by sub makefilesVincent Sanders2016-06-0619-37/+39
|
* fixup rsvg image handler for content API changesVincent Sanders2016-06-061-2/+4
|
* Update content to split public and internal APIVincent Sanders2016-06-0620-255/+96
|
* move plotters header into public APIVincent Sanders2016-05-306-6/+5
|
* move desktop window header into public APIVincent Sanders2016-05-301-1/+1
|
* move mouse and pointer state header into public APIVincent Sanders2016-05-301-1/+1
|
* move fetch header into public APIVincent Sanders2016-05-303-3/+3
|
* move misc header into public APIVincent Sanders2016-05-307-7/+7
|
* move bitmap API header to core include directoryVincent Sanders2016-05-2612-188/+11
|
* move the CSS content handlerVincent Sanders2016-05-2616-3/+6576
|
* move image content handlers to accomodate core build changesVincent Sanders2016-05-2329-3/+4830
|
* remove all core usage of warn_user APIVincent Sanders2016-04-261-1/+2
|
* split out the layout glyph sizing and splitting APIVincent Sanders2016-04-231-1/+1
| | | | | This refactors the core "font" sizing API to be handled through gui function tables similar to every other core/frontend calling API.
* need strings.h for strncasecmp on freebsdVincent Sanders2016-04-212-0/+2
|
* Split utils header into string functions and everything elseVincent Sanders2016-04-216-63/+26
| | | | | split out the string handling API from the rest of the utils header and fix up all the fallout.
* update content wallclock timing to use monotonic time interfaceVincent Sanders2016-04-202-7/+11
|
* use monotonic clock call for html reflow timingVincent Sanders2016-04-201-3/+3
|
* stop content header dragging in so many other headersVincent Sanders2016-04-192-1/+2
|
* remove curl fetchers use of the wallclock APIVincent Sanders2016-04-191-13/+15
| | | | | | | | | | The wallclock() API uses gettimeofday which can be affected by the the systems clock being changed etc. The curl fetcher usage of this API is to generate a timing delta and does not cope with the gettimeofday issues. This changes the fetcher to use the nsutils library monotonic time function which does not suffer from the issues with gettimeofday.
* move dir_sort_alpha function from generic utils to one specific place it is usedVincent Sanders2016-04-191-0/+43
|
* Reduce unecessary use of directory entry headersVincent Sanders2016-04-193-4/+3
| | | | | | | The config header was causing many source files to unecessarily include the dirent headers causing extra dependancies. This has been fixed by providing a utility dirent header that provides a common API across all platforms while removing the unecessary dirent header usage.
* reduce content header interdependancyVincent Sanders2016-04-185-23/+54
|
* clean up header usage in content hnadling coreVincent Sanders2016-04-181-20/+10
|
* Reduce unecessary use of networking headersVincent Sanders2016-04-173-3/+4
| | | | | | | | The utility configuration header dragged in a number of bsd sockets and related API as a side effect of setting up the configuration. By splitting the header and API setup into a separate header only the small number of places that need the functionality explitly include it.
* urldb no longer uses curl directly but it does need correct network includesVincent Sanders2016-04-171-0/+1
| | | | | | The update to remove curl usage from urldb must pull in the utility config header instead to get inet_aton and such or compoles on some platforms fail.