Commit Graph

10299 Commits

Author SHA1 Message Date
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
Chris Young
b1f67dab31 Remove Cairo from AmigaOS frontend. 2014-05-03 16:38:58 +01:00
Vincent Sanders
0c5c7159d8 remove uncessary includes 2014-05-02 12:26:25 +01:00
Vincent Sanders
b7c744cf32 make brackets match 2014-05-02 12:01:37 +01:00
Vincent Sanders
3c8769cc4b OpenBSD headers have strcasestr 2014-05-02 11:46:39 +01:00
Vincent Sanders
99c997bfc6 adjust javascript library build parameters for openbsd 2014-05-02 11:16:32 +01:00
Vincent Sanders
c80a281ea5 update to cope with make tool naming 2014-05-02 11:08:01 +01:00
Vincent Sanders
1eb49059ab add OpenBSD to jenkins build script 2014-05-02 11:03:43 +01:00
Vincent Sanders
44715aea3c erroneous path to testament include 2014-05-01 16:02:00 +01:00
Vincent Sanders
a73f22c966 make gtk commandline filename loading use snprintf 2014-04-30 13:56:01 +01:00
Vincent Sanders
3a7fb23b87 monkey should not force external iconv 2014-04-30 12:11:01 +01:00
Vincent Sanders
56b42943d0 improve iconv library handling 2014-04-30 11:56:57 +01:00
Chris Young
1822b7c163 Update some version numbers for 3.2-dev.
The minor version of 3 here is correct, it is only used internally to conform to AmigaOS versioning conventions.
2014-04-28 18:17:55 +01:00