Commit Graph

12900 Commits

Author SHA1 Message Date
Vincent Sanders
6eff2522c8 add urldb tests for content type setting 2017-03-13 22:04:38 +00:00
Vincent Sanders
27aa56cbf6 make the urldb content type setting API return an error 2017-03-13 21:55:39 +00:00
Vincent Sanders
d55d7f3e1e add urldb tests for urls which cannot be found 2017-03-13 21:53:42 +00:00
Vincent Sanders
ce6c0b9026 add persistance flag tests to urldb 2017-03-13 21:20:47 +00:00
Vincent Sanders
92b5f114ba make urldb persistance setting API return an error 2017-03-13 21:19:59 +00:00
Vincent Sanders
9a004753d2 extend the session addition test with all the urls from the add/set/get test 2017-03-13 20:07:56 +00:00
Vincent Sanders
44ad580a75 extend urldb tests with url creation, setting and getting operations 2017-03-13 16:44:30 +00:00
Vincent Sanders
5078bffad7 change urldb_set_title API to return an error status 2017-03-13 16:38:24 +00:00
Vincent Sanders
363c32c07a extend nsurl component API test case 2017-03-10 11:36:02 +00:00
Vincent Sanders
fc1be0144c extend nsurl parent API tests 2017-03-10 11:06:51 +00:00
Vincent Sanders
510efac384 add nsurl get_utf8 test case 2017-03-10 10:22:17 +00:00
Vincent Sanders
b307fa4311 nsurl tests were not exercising unicode 2017-03-10 09:02:42 +00:00
Vincent Sanders
01d7392a6a replace tmpnam with something more suitable for the test files 2017-03-09 22:11:55 +00:00
Vincent Sanders
ae8623a0a2 fix compilation warnings in urldb test 2017-03-09 13:22:37 +00:00
Vincent Sanders
5ebec85282 actually check the generated database files against reference test data 2017-03-08 22:22:54 +00:00
Vincent Sanders
0da0dcc342 remove urldb_add_host and path from public API
The urldb_add_host and urldb_add_path API were only public for the
urldb test code which was calling them incorrectly in any case as the
url bloom filters were not updated so serialising and adding data to
entries was inconsistent.

This also changes the tests to use the urldb_add_url API which is less
buggy and results in a smaller, cleaner urldb API.
2017-03-08 13:27:00 +00:00
Vincent Sanders
b78887c7c8 make update data api return an result 2017-03-08 13:13:21 +00:00
Vincent Sanders
670110b171 use robust handling of time_t value (de)serialisation
The previous implementation was wrong on systems where time_t was not
an int type. This changes urldb to use the portable implementation
netsurf has available.
2017-03-08 10:54:17 +00:00
Vincent Sanders
4076cc64d2 Change url entry expiry timestamps in test database to far future 2017-03-08 10:10:55 +00:00
Vincent Sanders
ac446f9aff add a urldb test for a complete session where something is added to the database 2017-03-07 00:35:57 +00:00
Vincent Sanders
c41d42644b clean up url database documentation comments and formatting 2017-03-06 23:21:12 +00:00
Vincent Sanders
a88254897b Revert "make urldb internal parse macros less prone to control flow errors"
This reverts commit 718da3ffff.
These macros are used in a way that causes safe macros to break
2017-03-05 15:28:05 +00:00
Vincent Sanders
e182a4d67c fix memory leak in beos instantiate error path 2017-03-05 14:43:23 +00:00
Vincent Sanders
e190cdf926 fix uninitialised variable usage in atari ssl viewer
cppcheck identified uninitialised variable usage error
2017-03-05 14:40:49 +00:00
Vincent Sanders
3217c82cdb attempt to remove unintended sign extension warning in fs backing store 2017-03-05 13:02:47 +00:00
Vincent Sanders
718da3ffff make urldb internal parse macros less prone to control flow errors
fixes issue highlighted by coverity (CID 1361696)
2017-03-05 12:11:48 +00:00
Vincent Sanders
ca942e9e26 fix use of uninitialised variables in gtk print
fixes errors detected by coverity.
2017-03-04 14:23:06 +00:00
Vincent Sanders
30ccc06984 fix errors from cppcheck in amiga frontend 2017-03-03 19:34:11 +00:00
Vincent Sanders
0a8976156a split out browser window drag context into separate structure 2017-03-03 14:45:39 +00:00
Vincent Sanders
6083de4ee1 split out browser windoe favicon context to separate structure 2017-03-03 14:45:39 +00:00
Vincent Sanders
855721282c split out status bar text cache into separate struct 2017-03-03 14:45:39 +00:00
Vincent Sanders
028c4e2860 improve documentation comments in ssl certificate viewer 2017-03-01 23:47:27 +00:00
Vincent Sanders
44c5aef1c8 make scrollbar redraw signal errors correctly
allow scrollbar redraw to return error codes and update documentation
commenst appropriately.
2017-03-01 23:30:29 +00:00
Vincent Sanders
2f5e5620e2 Change interface to system colours to allow reporting of errors
Allow system colour interface to report errors instead of silently
failing and propogate the errors. This also fixes teh system colour
documentation.
2017-03-01 12:50:30 +00:00
Vincent Sanders
e72b89ac3d Improve treeview documentation comments 2017-02-28 23:41:48 +00:00
Vincent Sanders
1f19fe05cf Update doxygen config and use svg instead of png for graphs 2017-02-27 13:20:49 +00:00
Vincent Sanders
7dee82d900 remove unused computed rectangle in gtk local hostory redraw 2017-02-26 16:26:50 +00:00
Vincent Sanders
86134d9881 add local history destruction for gtk 2017-02-26 16:26:50 +00:00
Chris Young
25f9610d03 Atari packaging was copying ca-bundle twice 2017-02-25 15:39:34 +00:00
Chris Young
7a42134bee When switching to outline fonts on OS3 reset the fonts
TODO: make this change in the GUI when toggling
2017-02-25 00:16:49 +00:00
Chris Young
f162ddc711 Fix menu shortcuts on non-menuclass menus 2017-02-24 23:43:51 +00:00
Vincent Sanders
d9a2c7b9c1 fix some doxygen errors 2017-02-24 14:02:31 +00:00
Vincent Sanders
07c8ea22a5 fix unused variable warning on non public suffix library builds 2017-02-23 23:33:39 +00:00
Vincent Sanders
1820bb7e63 fix remaining doccomment errors 2017-02-22 08:30:58 +00:00
Vincent Sanders
d35f61caa3 fix merge error in windows frontend 2017-02-19 12:02:23 +00:00
Vincent Sanders
ae45b18b45 Merge branch 'vince/localhist-corewin' 2017-02-19 11:39:47 +00:00
Vincent Sanders
0f69965805 clean up some of the doxygen generation warnings 2017-02-19 11:32:17 +00:00
Vincent Sanders
67b22a8111 cleanup windows frontend documentation comments and spelling 2017-02-17 20:44:37 +00:00
Vincent Sanders
8ddb9df377 update gtk frontend to use corewindow local history 2017-02-17 09:06:32 +00:00
Vincent Sanders
c60cb335f2 add local history corewindow API 2017-02-17 09:06:25 +00:00