Commit Graph

11088 Commits

Author SHA1 Message Date
Michael Drake
a2c0e05197 Avoid use of math.h
To update the generated source file, first build the converter:

      $ gcc -O2 -Wall framebuffer/convert_font.c \
          -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
2014-06-02 14:22:41 +01:00
Michael Drake
31c3f4b81d Remove unused #define 2014-06-02 14:01:31 +01:00
Michael Drake
0f6fd6b800 Add an extra logging verbosity level.
Now, when run without arguments, the final result is printed.
2014-06-02 13:16:25 +01:00
Michael Drake
5abfbba049 Make the glyph style more readable in the debug output. 2014-06-02 13:08:25 +01:00
Michael Drake
56556a677e Detect bad line endings and print error. 2014-06-01 20:37:26 +01:00
Michael Drake
5085bfbf99 Handle overflow-x and overflow-y properties.
Fixes display of BBC Sport.
  Requires LibCSS with support for overflow-x and overflow-y.
2014-06-01 18:36:22 +01:00
Michael Drake
576e93e1f3 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2014-06-01 11:45:19 +01:00
Chris Young
ea01d6b3fc Double the stack as it still runs out on occasion 2014-06-01 08:46:22 +01:00
Chris Young
a98b946ca2 Confidently remove the debug 2014-06-01 08:45:29 +01:00
Chris Young
3457d3adc7 Sometimes (but not always) the UTF-16 conversion inserts a BOM. Skip it. 2014-06-01 08:44:51 +01:00
Michael Drake
91f3eb5c2f Scope reduce a variable. 2014-05-31 13:06:52 +01:00
Michael Drake
c7ba173a64 Remove completely dead file.
NetSurf's list handling has been redundant and unused for years.
2014-05-31 10:45:32 +01:00
Michael Drake
0cdc102946 Remove unused variable. 2014-05-31 08:48:50 +01:00
Michael Drake
ee32aa43fe Remove an unused variable. 2014-05-31 08:47:32 +01:00
Michael Drake
77cea75e51 Remove unused variable. 2014-05-31 08:42:43 +01:00
Michael Drake
4bf23fc217 Fix line endings. 2014-05-31 08:42:08 +01:00
Michael Drake
0793ae25e3 Scope reduce some variables. 2014-05-31 00:06:49 +01:00
Michael Drake
ce117d140e Remove dead code and variables. 2014-05-30 23:59:17 +01:00
Michael Drake
910efb0156 Scope reduce several variables. 2014-05-30 23:57:04 +01:00
Michael Drake
c01e168d64 Scope reduce a couple of variables. 2014-05-30 23:35:38 +01:00
Michael Drake
dcf9eca7b3 Visits is unsigned, so can't be less than 0. 2014-05-30 23:33:13 +01:00
Michael Drake
8ee941a7a5 Scope reduce several variables. 2014-05-30 23:30:44 +01:00
Michael Drake
bbb002ee1d Scope reduce some variables. 2014-05-30 23:24:56 +01:00
Michael Drake
ecee6ffad8 Remove dead code. 2014-05-30 23:22:50 +01:00
Michael Drake
33513e65ea Fix toolbar width calculation.
+ has greater precedence than ?:, so wrap :? part in ().
2014-05-30 23:18:29 +01:00
Michael Drake
2f02d0785a Scope reduce a variable. 2014-05-30 23:13:42 +01:00
Michael Drake
55b3163520 Reduce scope of a variable. 2014-05-30 23:11:09 +01:00
Michael Drake
259a02a72a Scope reduce some variables. 2014-05-30 23:06:30 +01:00
Michael Drake
f313635e21 Reduce scope of a variable. 2014-05-30 23:04:10 +01:00
Michael Drake
0b39a3750c Reduce scope of a few variables. 2014-05-30 23:02:02 +01:00
Michael Drake
ef8b0e8204 Reduce scope of several variables. 2014-05-30 22:59:12 +01:00
Michael Drake
dca506dfe4 Remove unused variables, and dead code. 2014-05-30 22:54:27 +01:00
Michael Drake
ae0e1316b7 Remove unused struct search_static_data members. 2014-05-30 22:52:22 +01:00
Michael Drake
bab90eddda Use angle brackets instead of quotes for include of external headers. 2014-05-30 22:29:04 +01:00
Michael Drake
4fbe86bc5a Scope reduce some variables. 2014-05-30 22:27:07 +01:00
Michael Drake
3ce61d6950 Reduce scope of a couple of variables. 2014-05-30 22:18:29 +01:00
Michael Drake
4ea90d2dca Check correct variable for NULL. 2014-05-30 22:16:15 +01:00
Michael Drake
d0e67542f5 Reduce scope of a variable. 2014-05-30 22:12:18 +01:00
Michael Drake
d25b62f1c2 Avoid redundant assignement of name to name. 2014-05-30 21:59:12 +01:00
Vincent Sanders
e9d53022a4 write a cache tag file as an aid to backup software 2014-05-30 00:19:20 +01:00
Vincent Sanders
95baa1113b add proxy excusion entry to GTK builder file. From Pavel Smolyar (bug #2122) 2014-05-29 18:02:07 +01:00
Vincent Sanders
644fc616b3 attempt to purge low level cache on out of memory during fetch 2014-05-29 14:00:13 +01:00
Vincent Sanders
4acfda898b fix plain text rendering line breaking with mutibyte sequences (fixes bug #2134) 2014-05-29 11:25:52 +01:00
Vincent Sanders
7c0da1e94f annotate die() as not returning 2014-05-28 15:12:58 +01:00
Vincent Sanders
7d02ae916a make launch_url core operation use nsurl 2014-05-27 23:52:35 +01:00
Vincent Sanders
662e950e48 ensure hlcache handle is not passed as NULL 2014-05-27 11:39:02 +01:00
Vincent Sanders
1966649c83 fix amiga build to use correct nsurl acessor function 2014-05-27 00:15:34 +01:00
Vincent Sanders
688f60d963 fix errors with path_to_url conversion 2014-05-27 00:08:04 +01:00
Vincent Sanders
00b6cfc57e rework path to url mapping functions to convert from and to nsurl 2014-05-26 23:52:36 +01:00
Michael Drake
1f337f292d Fix fread error handling. 2014-05-26 14:03:20 +01:00