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
Vincent Sanders
6349704b5e
fix silly errors in atari and amiga file operation table change
2014-05-07 16:38:58 +01:00
Vincent Sanders
c56642819e
add file operations table and make all frontends use it.
...
This rationalises the path construction and basename file
operations. The default implementation is POSIX which works for all
frontends except windows, riscos and amiga which have differeing path
separators and rules.
These implementations are significantly more robust than the previous
nine implementations and also do not use unsafe strncpy or buffers
with arbitrary length limits.
These implementations also carry full documentation comments.
2014-05-07 16:24:51 +01:00
Vincent Sanders
c1e2da80df
add string utility to join strings
2014-05-07 16:24:30 +01:00
Vincent Sanders
283cd05d01
Improve documentation on mimetype fetcher table
2014-05-07 16:23:19 +01:00
Vincent Sanders
f6867efcf8
Fix checking memory allocation return, fixes coverity 1164969
2014-05-07 16:23:19 +01:00
Vincent Sanders
626d37511f
check return from stat() fixes coverity 1164069
2014-05-07 16:23:19 +01:00
Michael Drake
084e042766
Add L and l with stroke glyphs.
2014-05-07 13:43:14 +01:00
Michael Drake
ea4af6dffc
Add glyphs used for list bullets.
...
Added:
WHITE CIRCLE
BLACK SMALL_SQUARE
2014-05-07 12:46:33 +01:00
Michael Drake
c937925643
Add four more latin glyphs in all four styles.
...
Added regular, italic, bold and bold italic versions of:
U+0102 - LATIN CAPITAL LETTER A WITH BREVE
U+0103 - LATIN SMALL LETTER A WITH BREVE
U+1EC6 - LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND DOT BELOW
U+1EC7 - LATIN SMALL LETTER E WITH CIRCUMFLEX AND DOT BELOW
2014-05-06 22:44:38 +01:00
Michael Drake
15ba60f305
Remove some debug.
2014-05-06 21:58:49 +01:00