Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add certificate-missing error code | Daniel Silverstone | 2019-12-03 | 1 | -0/+4 |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | move the fallback text for about handler into messages handler | Vincent Sanders | 2019-10-30 | 1 | -19/+73 |
| | |||||
* | Improve timeout error messaging | Vincent Sanders | 2019-10-28 | 1 | -0/+4 |
| | |||||
* | SSL Error: Enable OpenSSL hostname verification | Daniel Silverstone | 2019-08-14 | 1 | -2/+2 |
| | | | | | | | | Since OpenSSL 1.0.2 there has been hostname verification support which cURL doesn't turn on for some reason. Turn it on so that we get better hostname verification handling. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | add common name ssl certificate error | Vincent Sanders | 2019-08-10 | 1 | -0/+5 |
| | | | | | This adds an ssl faliure code and explanation why curl fetcher does not currently set it. | ||||
* | Support SSL verification through new about: handler | Daniel Silverstone | 2019-08-06 | 1 | -0/+48 |
| | | | | | | | | In doing this, also propagate why the certificates were bad so that the page can display a reason. We will need FatMessages for all these. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Excise the llcache query pathway. | Daniel Silverstone | 2019-08-05 | 1 | -0/+12 |
| | | | | | | | | In further preparation for the auth and cert queries being handled as special contents from `about:` this excises the query pathway from the llcache pretty much entirely. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | Resolve resource leak on error (coverity issue 1390560) | Vincent Sanders | 2018-05-18 | 1 | -7/+7 |
| | |||||
* | add hash table population from file or memory | Vincent Sanders | 2018-04-22 | 1 | -147/+11 |
| | |||||
* | Use coccinelle to change logging macro calls in c files | Vincent Sanders | 2017-09-06 | 1 | -9/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7); | ||||
* | Messages: Correct code comment. | Michael Drake | 2017-08-30 | 1 | -1/+1 |
| | |||||
* | Errorcodes: Add SPRITE_ERROR and use it in sprite content handler. | Michael Drake | 2017-08-30 | 1 | -0/+4 |
| | |||||
* | Messages: Return the unknown message if we get to the unhandled errorcode. | Michael Drake | 2017-08-28 | 1 | -0/+1 |
| | | | | We shouldn't get there though. | ||||
* | Messages: Do message lookups for all errorcodes. | Michael Drake | 2017-08-28 | 1 | -4/+55 |
| | |||||
* | Errorcodes: Remove redundant MNG error. | Michael Drake | 2017-08-28 | 1 | -4/+0 |
| | |||||
* | Ensure memory used by Messages is freed on exit | Chris Young | 2016-12-11 | 1 | -0/+25 |
| | |||||
* | message get API should not raise user errors itself | Vincent Sanders | 2016-04-29 | 1 | -4/+1 |
| | |||||
* | Split utils header into string functions and everything else | Vincent Sanders | 2016-04-21 | 1 | -0/+1 |
| | | | | | split out the string handling API from the rest of the utils header and fix up all the fallout. | ||||
* | Allow translation messages to be compiled in as GTK resources | Vincent Sanders | 2015-06-21 | 1 | -8/+113 |
| | |||||
* | This moves message loading out of netsurf_init into each frontend | Vincent Sanders | 2015-06-21 | 1 | -1/+7 |
| | | | | | | | | | | The translated message loading is dependant on configuration of resource location in each frontend, additionally they should have the ability to deal with errors in this loading in a implementation specific manner. This also extends the message loading API to be capable of loading from an inline memory buffer instead of from a file. | ||||
* | Change LOG() macro to be varadic | Vincent Sanders | 2015-05-28 | 1 | -7/+5 |
| | | | | | | | | | | | | 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. | ||||
* | fix doc comments | Vincent Sanders | 2014-10-25 | 1 | -20/+20 |
| | |||||
* | Improve the message loading API to return error codes. | Vincent Sanders | 2014-10-25 | 1 | -81/+68 |
| | | | | | | | Returning an error instead of simply calling die allows more robust error handling. Secondly initialisation may continue even if the messages have not been loaded which is more friendly than simply dropping dead with no communication to the user. | ||||
* | add message retrival of error codes ensuring there are messages for all codes | Vincent Sanders | 2012-11-26 | 1 | -0/+96 |
| | |||||
* | fix incorrect type in message loading | Vincent Sanders | 2012-03-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | zlib has changed typedef voidp gzFile; to typedef struct gzFile_s *gzFile; historically the gzFile *fp has efectively expanded to void**fp The compiler considerd void ** to be identical to void* as void cannot be dereferenced and compilation suceeded. With a concrete type it does not work. svn path=/trunk/netsurf/; revision=13517 | ||||
* | Merge treeview-redux to trunk | John Mark Bell | 2010-10-05 | 1 | -0/+31 |
| | | | | svn path=/trunk/netsurf/; revision=10865 | ||||
* | Clean up how GTK frontend finds resources | Vincent Sanders | 2010-07-28 | 1 | -2/+5 |
| | | | | svn path=/trunk/netsurf/; revision=10668 | ||||
* | Add support for gzipped Messages files | Rob Kendrick | 2008-07-26 | 1 | -5/+8 |
| | | | | svn path=/trunk/netsurf/; revision=4739 | ||||
* | Update all source code file headers to reflect GPL version 2 only and ↵ | Vincent Sanders | 2007-08-08 | 1 | -3/+14 |
| | | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486 | ||||
* | Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵ | Daniel Silverstone | 2007-05-30 | 1 | -4/+4 |
| | | | | | | | | | | | | | | in includes NetSurf includes are now done with ""s and other system includes with <>s as C intended. The scandeps tool has been updated to only look for ""ed includes, and to verify that the files exist in the tree before adding them to the dependency lines. The depend rule has therefore been augmented to make sure the autogenerated files are built before it is run. This is untested under self-hosted RISC OS builds. All else tested and works. svn path=/trunk/netsurf/; revision=3307 | ||||
* | Update project URL. | Michael Drake | 2006-11-27 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=3073 | ||||
* | Fix attempts to call die() before messages_hash exists: | John Mark Bell | 2006-10-12 | 1 | -9/+24 |
| | | | | | | | | | 1) Make hash_* more robust in the face of bad parameters 2) Make messages_* more robust in the face of bad parameters 3) Tidy up gui_init such that localised messages are loaded at the earliest opportunity svn path=/trunk/netsurf/; revision=2998 | ||||
* | Make Messages file parsing and searching use new re-usable hash table library | Rob Kendrick | 2006-08-21 | 1 | -80/+58 |
| | | | | svn path=/trunk/netsurf/; revision=2879 | ||||
* | Slightly improve hash table for Messages file. Paves way for more generic ↵ | Rob Kendrick | 2006-08-19 | 1 | -5/+14 |
| | | | | | | use of it, as well as more constant performance. svn path=/trunk/netsurf/; revision=2870 | ||||
* | [project @ 2005-07-16 14:35:20 by jmb] | John Mark Bell | 2005-07-16 | 1 | -18/+1 |
| | | | | | | | | | | | | | | | | | | - Convert Messages files to UTF-8 encoding. - Replace local_encoding_name() with platform specific utf8_[to,from]_local_encoding() functions - this allows mapping of 8bit characters 0x80->0x9f (inclusive). - All text that is rendered by the RISC OS Wimp is now converted to the system local encoding prior to display. - Lose the horrendous hack that was messages_get_key() - Menu text is now translated to system local encoding on the fly (if necessary) rather than at menu creation time. This allows the system alphabet to change under us and our menus remain usable. - The Languages menu now lists all languages that are present in the LangNames file. In the case of selecting the UI language, those languages which are not available are shaded. svn path=/import/netsurf/; revision=1796 | ||||
* | [project @ 2004-07-27 20:44:46 by jmb] | John Mark Bell | 2004-07-27 | 1 | -0/+17 |
| | | | | | | | Language configuration menu Make adjust clicks on font size arrows style guide compliant svn path=/import/netsurf/; revision=1154 | ||||
* | [project @ 2004-05-12 10:23:07 by rjw] | Richard Wilson | 2004-05-12 | 1 | -1/+1 |
| | | | | | | | Interactive help keys made more descriptive. Message key length increased to 24. svn path=/import/netsurf/; revision=856 | ||||
* | [project @ 2004-05-08 18:13:27 by bursa] | James Bursa | 2004-05-08 | 1 | -58/+76 |
| | | | | | | Clean up and make more efficient. svn path=/import/netsurf/; revision=843 | ||||
* | [project @ 2003-08-16 18:39:10 by bursa] | James Bursa | 2003-08-16 | 1 | -0/+134 |
New portable messages module. svn path=/import/netsurf/; revision=244 |