summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'master' of git://git.netsurf-browser.org/netsurfChris Young2016-09-072-36/+67
|\
| * make monkey frontend mime type processing use explicit ascii processingVincent Sanders2016-09-071-20/+38
| |
| * make GTK frontend mime type processing use explicit ascii processingVincent Sanders2016-09-071-16/+29
| |
* | When opening a new blank tab, always switch to it.Chris Young2016-09-042-5/+16
| |
* | Only bring the screen to the front if an active tab is being opened via ↵Chris Young2016-09-041-1/+6
| | | | | | | | re-launch
* | Bring screen to front when new window/tab is opened be launching NetSurf a ↵Chris Young2016-09-041-1/+2
|/ | | | second time.
* 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)
* add some sanity checking for HOST variable if already set in environmentVincent Sanders2016-08-291-0/+20
|
* Fix Duktape on AmigaOS3 (thanks to Tygre and Sami)Chris Young2016-08-271-1/+1
|
* move core window API into netsurf header pathVincent Sanders2016-08-185-8/+17
|
* Call CloseLibraryChris Young2016-08-181-0/+1
|
* Ensure we don't use a half-opened library if it is optional.Chris Young2016-08-181-2/+4
|
* Fail if the library interface doesn't open.Chris Young2016-08-181-0/+6
| | | | This will happen when attempting to open old 68k libraries with no separate interface file, but may also occur when the interface name or version doesn't exist (although the library version number _should_ prevent that)
* Test: Add trailing whitespace and garbage datetime string parse tests.Michael Drake2016-08-171-0/+12
|
* Time: Micro-optimisation: Put GMT first in timezone list.Michael Drake2016-08-171-3/+5
|
* add bmp file format to file fetch types for gtk and framebufferVincent Sanders2016-08-162-0/+3
|
* Open a new window instead of a tab if we can't locate the window the tab is ↵Chris Young2016-08-151-1/+9
| | | | supposed to be added to.
* Allow a second-run NetSurf to open passed URL in a new tab rather than a new ↵Chris Young2016-08-153-6/+12
| | | | window.
* add some corestrings API tests and fix corestrings fini.Vincent Sanders2016-08-143-1/+58
|
* add bloom filter test for adding NULL stringVincent Sanders2016-08-141-35/+76
|
* 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>
* licence and credits buttons got swapped, fix itVincent Sanders2016-08-141-2/+2
| | | | Thanks to bavier for the bug report
* 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.
* Merge branch 'tlsa/date'Michael Drake2016-08-1310-132/+1718
|\
| * Buildsystem: Make curl/openssl usage build-time options.Michael Drake2016-08-134-10/+25
| |
| * Tests: Add some basic tests for date string parsing.Michael Drake2016-08-132-1/+436
| |
| * Time: Add date string to time_t parser.Michael Drake2016-08-131-3/+810
| |
| * url: Use ascii module, rather than ctype for locale safetly.Michael Drake2016-08-131-1/+3
| |
| * nsurl: Update to use ascii_* helper functions.Michael Drake2016-08-131-112/+15
| |
| * Utils: Add a set of ASCII string parsing helpers.Michael Drake2016-08-131-0/+358
| | | | | | | | These are not affected by the current locale.
| * Time: Expose arrays of weekday and month names.Michael Drake2016-08-131-6/+72
|/
* Ensure we are treating LShift/RShift and LAlt/RAlt the same.Chris Young2016-08-121-35/+24
|
* Don't attempt to close a public screen we're not the owner of.Chris Young2016-08-111-3/+3
| | | | I've never been entirely clear on what the correct approach here is, but OS4 has a feature where it will auto open/close a public screen for you. In this case, in the microseconds between unlocking that screen and attempting to close it, OS4 has already disposed of the screen and NetSurf has crashed, so we assume the owner will handle the closing instead.
* Fix OS3 buildChris Young2016-08-111-1/+6
|
* OS3-related commentsChris Young2016-08-111-1/+7
|
* Remove excessive scheduler debugChris Young2016-08-111-26/+0
|
* Don't Abort/WaitIO when we've already removed it from the message queue (thx ↵Chris Young2016-08-111-4/+10
| | | | Georg)
* Tests: Fix option handling test data.Michael Drake2016-08-111-0/+1
|
* Treeview: Add `treeview_font_size` to options.Michael Drake2016-08-114-6/+19
| | | | Default is 11pt, and RISC OS overrides to 12pt.
* Missing TAG_DONE (thx capehill)Chris Young2016-08-102-1/+2
|
* Treeview: Rationalise initialisation and finalisation.Michael Drake2016-08-1013-60/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the expected behaviour for front ends using the correct API for hotlist, global history, cookie manager, and ssl cert viewer was that the front end would initialise the treeview module on startup and finalise it on application exit. However, this meant that the front ends had to include the core treeview header, which they didn't otherwise need. Since the tree module provided access to the new treeview utilities through the old tree API, and was used by front ends with no changes for the new treeview API, the tree layer refcounted initialisations of treeview-based widgets, and only called the underlying treeview init/fini functions when needed. This change moves that refcounting into the treeview module. Now the hotlist, global history, cookie manager, and ssl cert viewer widgets call call treeview init/fini as part of their own initialisation and finalisation. This means that front ends using the correct APIs for treeview-based widgets don't need to know anything about the underlying treeview, and the tree module compatibility layer has had its treeview refcounting removed. Finally, the treeview_init function took a font size parameter. Now it does not and lit gets font size from config. We probably want to add a new `treeview_font_size` option to nsoptions, and have differnent defaults on different platforms. 12pt on RISC OS, and 11pt elsewhere, most likely.
* Use the API for duplicating IORequestsChris Young2016-08-101-17/+48
| | | | | | Add some more debug: It appears that some timer events are not being picked up, I can see in the log that something which should have been signalled is not being run. Enabling the log appears to make the situation worse.
* Always wait for at least some time, as it's ambiguous as to whether a 0.0s ↵Chris Young2016-08-101-0/+2
| | | | timerequest is valid.
* more debugChris Young2016-08-091-2/+3
|
* Decouple the scheduler from system timeChris Young2016-08-091-69/+54
| | | | | This is a hang-over from the old polling scheduler. I've modified it to use relative times and pass the callback along with the TimeRequest so events get executed in the order they arrive. The list of events is still in a heap sorted by expected execution time, but this may need to change to something more efficient for random lookups.
* add more tests for partial iterator in url databaseVincent Sanders2016-08-091-3/+83
|
* ensure url database destructor cleans up correctlyVincent Sanders2016-08-091-2/+7
|
* add more API coverage to url database unit testsVincent Sanders2016-08-091-6/+21
|