Commit Graph

10377 Commits

Author SHA1 Message Date
Vincent Sanders
966ed9449c fix riscos mkpath and error reporting in save complete 2014-05-17 23:14:43 +01:00
Vincent Sanders
0a2082d777 ensure all vmkpath implementations check their parameters 2014-05-17 22:28:32 +01:00
Michael Drake
7ba459f1b5 Fix leak of url schemes. 2014-05-16 18:58:06 +01:00
Michael Drake
9727f87525 Fix build. 2014-05-16 18:14:28 +01:00
Michael Drake
09e7ea6566 Simplfy and clarify splitting function.
Should be funtionally identical.
2014-05-16 18:06:29 +01:00
Chris Young
1cada179b3 Set a more sensible upper cache size limit. 2014-05-16 17:32:15 +01:00
Chris Young
8aa8791f5c Add disc cache size to settings UI 2014-05-16 17:26:32 +01:00
Michael Drake
982fc516cc Move old cache path. 2014-05-16 14:04:49 +01:00
Chris Young
aa846653c2 Tentatively enable the fs cache backing store 2014-05-16 09:57:09 +01:00
Chris Young
11f03cae0c Create cache dir 2014-05-16 09:55:38 +01:00
Michael Drake
e4ba144fe0 Remove unused #include
Persistent thumbnail code was ripped out of urldb ages ago.
2014-05-15 21:47:40 +01:00
Michael Drake
b516d25ee6 Shouldn't need desktop/browser_private.h any more. 2014-05-15 14:34:56 +01:00
Michael Drake
b31b66be47 Use clean interface to get bw extents.
Avoids dereffing bw, and using the content_* api.
2014-05-15 14:33:17 +01:00
Michael Drake
5da7f7e299 Use front end cached scale.
Avoids dereffing struct browser_window all over the place.
2014-05-15 14:23:33 +01:00
Michael Drake
7746a74b0a Shouldn't need desktop/browser_private.h any more. 2014-05-15 14:15:50 +01:00
Michael Drake
866d4ce9bb Cache scale in gui window.
+ Uses previously unused scale param of struct gui_window.
  + Avoids needing to get the scale from the core.
  + Simplifies code and avoids dereffing bw.
2014-05-15 13:56:01 +01:00
Michael Drake
a1ccc3312d Clean up gui_window_get_scroll() to use core interface correctly.
Avoids trampling through internal core data structures.
2014-05-15 12:55:57 +01:00
Michael Drake
b76e4d40a8 Use browser_window_has_content() instead of dereffing bw. 2014-05-15 12:40:34 +01:00
Vincent Sanders
ef00272e2f add helpers for time_t reading/writing 2014-05-15 01:18:52 +01:00
Vincent Sanders
a4be7f7d1a ensure new config directories can be created. 2014-05-13 17:49:23 +01:00
Vincent Sanders
07e4924254 make vsnstrjoin correctly check for null arguments. 2014-05-13 17:39:56 +01:00
Vincent Sanders
4784273195 fix typo in nsc_time_strptime 2014-05-13 16:59:30 +01:00
Vincent Sanders
6532346277 add struct tm definition and fix build error 2014-05-13 16:46:48 +01:00
Vincent Sanders
1a3ee6090d add strptime compatability 2014-05-13 16:37:49 +01:00
Vincent Sanders
6c466c985f Merge branch 'vince/llcache' 2014-05-13 15:55:24 +01:00
Vincent Sanders
6d3f5d2338 Enable filesystem based cache in gtk frontend 2014-05-13 15:53:06 +01:00
Vincent Sanders
64f607760b add backing store storage path to browser initialisation 2014-05-13 15:53:06 +01:00
Vincent Sanders
05932293f6 Add filesystem based backing store 2014-05-13 15:53:02 +01:00
Vincent Sanders
4a49ff5266 Extend low level source data cache with persistant storage 2014-05-13 15:52:58 +01:00
Vincent Sanders
657abbd245 low level source data cache backing store interface. 2014-05-12 23:47:43 +01:00
Vincent Sanders
ccc9ad969b fix gtk options loading 2014-05-12 23:46:31 +01:00
Vincent Sanders
06091eee36 fix fseek error return checking (fixes coverity 1109839) 2014-05-11 23:48:40 +01:00
Vincent Sanders
c3e2dc9005 check return values of fseek (fixes coverity 1109840) 2014-05-11 23:45:42 +01:00
Vincent Sanders
83fa2a9482 check return from fseek (fixes coverity 1109841) 2014-05-11 23:43:36 +01:00
Vincent Sanders
f94bc67107 safely copy header name and author (fixes coverity 1195408) 2014-05-11 23:38:18 +01:00
Vincent Sanders
4776de4001 ensure filename is null terminated (fix coverity 1195409) 2014-05-11 23:35:12 +01:00
Vincent Sanders
d3ddb39102 fix possible missing null termination (coverity 1195410 and 1195411 ) 2014-05-11 23:29:55 +01:00
Vincent Sanders
39b0393d31 cleanup utils header, remove cruft and add documentation 2014-05-11 21:31:14 +01:00
Vincent Sanders
06a3f84e50 remove amiga specific mkpath wrapper as registration has been fixed and the generic netsurf)mkpath is available 2014-05-11 16:54:36 +01:00
Chris Young
318edea47e Make mkpath allocate the string buffer for map_filename. Fixes 2119. 2014-05-10 15:22:38 +01:00
Vincent Sanders
7dc170e6d8 we now ensure the operations table is set up early enough the null check is not required 2014-05-10 11:17:34 +01:00
Vincent Sanders
16b11e7238 ensure operations tables are registered as early as possible. 2014-05-10 10:22:10 +01:00
Vincent Sanders
429d6e20f7 remove unused url operations 2014-05-09 10:30:24 +01:00
Vincent Sanders
162e97cf01 undo some overzellous include removal 2014-05-09 10:21:48 +01:00
Vincent Sanders
2326d3c503 remove unecessary utils/url.h includes 2014-05-09 10:15:42 +01:00
Vincent Sanders
1556055d91 fix nsurl references 2014-05-08 18:03:27 +01:00
Vincent Sanders
cd7f1eceea make download_context_get_url() return an nsurl and adapt callers to cope 2014-05-08 17:54:44 +01:00
Vincent Sanders
096bd47ab0 refactor url utility functions to use standard nserror codes and have appropriate documentation. 2014-05-08 00:16:50 +01:00
Michael Drake
781d42e33c Fix loading of Messages file.
Framebuffer front end still only handles loading the English one.
2014-05-07 17:29:25 +01:00
Vincent Sanders
b9bade808f missing comma 2014-05-07 16:47:44 +01:00