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
Michael Drake
c75d23e539
Update for c with caron.
...
Forgot to update with the glyph_data.
This is why it should be generated at build time. :)
2014-05-06 21:57:40 +01:00
Michael Drake
8869cc494a
Add upper and lower case C with caron glyphs.
2014-05-06 21:39:19 +01:00
Michael Drake
4cbc56ebc1
Add Unicode support to internal font.
...
+ Now contains more glpyhs (was previously limited to cp-1252).
+ When a glyph is unavailable, the codepoint is now rendered.
+ Added glyph data file.
+ Added converter to generate the font's .c file from the data.
TODO:
The generated file is currently checked into the repo, but it
should be generated as part of the build process, in the
build-* directory.
To update the generated source file, first build the converter:
$ gcc -O2 -Wall framebuffer/convert_font.c -lm \
-o build-Linux-framebuffer/tools/convert_font
And then use it to generate the souce file:
$ build-Linux-framebuffer/tools/convert_font \
framebuffer/res/fonts/glyph_data \
framebuffer/GEN_font_internal.c -v
The converter's usage is:
convert_font [options] <in_file> <out_file>
See convert_font --help for more details.
2014-05-06 21:31:05 +01:00
Chris Young
d67504677b
Make the install script work for Dutch language.
2014-05-05 00:07:37 +01:00
Chris Young
06fcab1314
Remove a rogue procedure call
2014-05-03 16:48:42 +01:00
Chris Young
53a8f2aa0c
Remove some unused library/SObj copying procedures from the Installer script.
2014-05-03 16:42:35 +01:00