Commit Graph

10190 Commits

Author SHA1 Message Date
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
Vincent Sanders
5dd6fa6f22 use compatability macro for mkdir 2014-04-28 17:38:15 +01:00
Vincent Sanders
1fd565cba7 make GTK configuration handling conform to XDG specification. 2014-04-28 16:37:00 +01:00
Vincent Sanders
c0ac05d39c update version info for next development cycle 2014-04-25 16:59:57 +01:00
Vincent Sanders
f28fc945cc Merge branch 'heads/release/3.1' 2014-04-25 16:58:33 +01:00
Vincent Sanders
ddc5a52693 Update version for 3.1 release 2014-04-25 12:14:16 +01:00
Michael Drake
2c4825cb38 Remove excessive logging. 2014-04-18 17:30:28 +01:00
Michael Drake
d1223950d7 Handle some directories already existing.
When creating the path to the cache directory we were
  giving up on the first directory that already existed.

  This prevented the path to the cache directory getting
  made, which prevented view-source from working if the
  path was only patially available.
2014-04-18 17:12:52 +01:00
Michael Drake
2a4f7f6b65 Add more logging for filename init. 2014-04-18 17:07:24 +01:00
Michael Drake
55415ed6cd Add logging to filename_initialise(). 2014-04-18 16:50:58 +01:00