Commit Graph

451 Commits

Author SHA1 Message Date
Vincent Sanders
d1f2d29e10 Doxygen cleanups and documentation additions 2014-11-10 17:00:15 +00:00
Vincent Sanders
ea033c54d4 Doxygen cleanups 2014-11-10 16:05:22 +00:00
Vincent Sanders
c14ddad660 change url setting api to take an nsurl instead of a text string 2014-11-02 22:30:45 +00:00
Vincent Sanders
ad343eccb1 remove unecessary utils/types.h
This cleans up this header and moves the functionality into more
useful places while reducing the include complexity but only pulling
in whats required.
2014-11-02 20:10:32 +00:00
Vincent Sanders
7ace528729 Update url setting API to return nserror code instead of calling warn_user 2014-10-29 00:18:12 +00:00
Vincent Sanders
14e2829489 remove the die API from the core.
The die() API for abnormal termination does not belong within the core
of netsurf and instead errors are propogated back to the callers.

This is the final part of this change and the API is now only used within
some parts of the frontends
2014-10-26 12:42:53 +00:00
Michael Drake
197f6e34f8 Fix wrap. 2014-10-24 10:30:23 +01:00
Michael Drake
3afc4098c7 Squash redefinition of typedef Clang warning.
Clang gave warning:
    redefinition of typedef 'fbtk_widget_t' is a C11 feature
    [-Wtypedef-redefinition]

Thanks to Christian Lepper.

      ML: netsurf-dev
  Thread: New User - Hello to all - some Ideas concerning Netsurf for arm
2014-10-24 09:49:37 +01:00
Michael Drake
6b846c363d Add trivial maps facilitator at about:maps
This is a simple HTML front end for the Google Static Maps API, since
we don't yet have enough JS support for the full Google Maps.

See:
  https://developers.google.com/maps/documentation/staticmaps/
2014-10-22 20:42:21 +01:00
Vincent Sanders
1097cc40b4 remove unecessary browser.h include from core headers 2014-10-17 12:21:52 +01:00
Vincent Sanders
3b4dea6241 Update framebuffer frontend to cope with split operations table headers 2014-10-16 22:33:44 +01:00
Vincent Sanders
17be8cf216 Put the font operations table alongside all the other core API
The netsurf core is driven from numerous operation tables most of
which are now set through a common netsurf_register() interface. The
font and plotting interfaces are currently separate and unlike all the
other operation tables are modified for differing contexts.

This change moves the font operations alongside all the other
operations table and remove unnecessary interaction with the renderers
font internals. Further this also removes the need for css internals
to be visible in frontends.
2014-10-13 11:56:31 +01:00
Vincent Sanders
1bbc9a485e remove unecessary includes 2014-10-13 08:07:58 +01:00
Vincent Sanders
3fa0ed01c0 add API to set DPI 2014-10-13 02:34:10 +01:00
Vincent Sanders
dfb774c245 change frmebuffer to run its own main loop 2014-09-22 22:56:10 +01:00
Michael Drake
9a08ec9ad3 Free header_path. 2014-09-06 20:48:06 +01:00
Vincent Sanders
4f530a3f8f Pull warning flags out into variables that can be overriden seperately for C and C++ 2014-09-05 16:01:44 +01:00
Michael Drake
5487000874 Give internal font more meaningful name.
s/core/ns-sans/
2014-09-02 09:42:56 +01:00
Vincent Sanders
a57278f574 fix framebuffer internal font generation 2014-08-20 15:38:34 +01:00
Vincent Sanders
ee3247f532 remove logically dead code path (coverity 1231842) 2014-08-18 17:20:28 +01:00
Vincent Sanders
1a71a84b62 cope with error return from ftell (coverity 1231843) 2014-08-18 17:15:57 +01:00
Vincent Sanders
98a4985b30 generate internal font from glyph data on demand 2014-08-17 23:49:06 +01:00
Michael Drake
c0548fc472 Optimise glyph scaling. 2014-08-01 23:05:03 +01:00
Michael Drake
8945e314c8 Simplify glyph scaling slightly. 2014-08-01 14:33:40 +01:00
Michael Drake
ac067e3238 Simplify style handling. 2014-08-01 12:26:57 +01:00
Michael Drake
6b7e073c58 Add support for double-size rendering of internal font for headings. 2014-08-01 09:50:31 +01:00
Michael Drake
35c8da4ecf Remove unused #define. 2014-08-01 09:49:57 +01:00
Michael Drake
8c57ad1e11 Fix up use of uninitialised variable. 2014-07-26 22:37:53 +01:00
Michael Drake
31def6a338 Add rudimentary support for resizing.
- Currently only libnsfb's SDL surface supports resizing.
- Flickers like crazy while resizing.  Possibly because the SDL
  surface is not set to use double buffering.
- The internal widget library, fbtk, was never intended for this,
  as such it has no knowledge of how a widget should be positioned
  with respect to its parent.
  This means the top level window has to track everything and move
  them itself.
2014-07-26 22:12:55 +01:00
Vincent Sanders
db01637343 remove content include from urldb header 2014-07-17 00:18:44 +01:00
Vincent Sanders
caf918d2f2 fixup merge of scheduled reformat 2014-07-06 11:01:39 +01:00
Vincent Sanders
0f151e37cb Merge branch 'vince/reformatpending'
Conflicts:
	amiga/gui.c
2014-07-06 10:45:31 +01:00
Vincent Sanders
8848f754e0 documentation fixes and cleanups 2014-07-02 16:39:08 +01:00
Vincent Sanders
18aefabd20 change reformat to be driven from the scheduler like redraw 2014-07-01 09:27:20 +01:00
Vincent Sanders
2330503533 Merge branch 'vince/fetchschedule' 2014-07-01 09:03:47 +01:00
Vincent Sanders
8944edd649 convert all frontends to scheduled fetch operation 2014-06-26 19:05:59 +01:00
Michael Drake
dfc095bd90 Display U+FFFD for characters > U+FFFF. 2014-06-24 13:26:39 +01:00
Michael Drake
cd159b6775 Don't display certain invisible characters.
Fixes display of U+200E code points all over Google
  search results.
2014-06-18 13:13:44 +01:00
Michael Drake
9523658467 Fix number of many characters from the Geometric Shapes block. 2014-06-04 14:37:31 +01:00
Michael Drake
f29d741b48 Add Polish glyphs. Thanks to Artur Jarosik.
Adds:
    U+0118 - LATIN CAPITAL LETTER E WITH OGONEK
    U+0119 - LATIN SMALL LETTER E WITH OGONEK
    U+0104 - LATIN CAPITAL LETTER A WITH OGONEK
    U+0105 - LATIN SMALL LETTER A WITH OGONEK
    U+0106 - LATIN CAPITAL LETTER C WITH ACUTE
    U+0107 - LATIN SMALL LETTER C WITH ACUTE
    U+0143 - LATIN CAPITAL LETTER N WITH ACUTE
    U+0144 - LATIN SMALL LETTER N WITH ACUTE
    U+015A - LATIN CAPITAL LETTER S WITH ACUTE
    U+015B - LATIN SMALL LETTER S WITH ACUTE
    U+0179 - LATIN CAPITAL LETTER Z WITH ACUTE
    U+017A - LATIN SMALL LETTER Z WITH ACUTE
    U+017B - LATIN CAPITAL LETTER Z WITH DOT ABOVE
    U+017C - LATIN SMALL LETTER Z WITH DOT ABOVE
2014-06-02 20:29:22 +01:00
Michael Drake
4c9a9f24f9 Tidy up the #defines used for setting particular codepoint bits.
Align the definitions correctly.
  #undef them after they're used.
2014-06-02 15:49:44 +01:00
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
Vincent Sanders
00b6cfc57e rework path to url mapping functions to convert from and to nsurl 2014-05-26 23:52:36 +01:00
Vincent Sanders
315877c822 reduce uncessary include usage 2014-05-18 23:17:15 +01:00
Vincent Sanders
64f607760b add backing store storage path to browser initialisation 2014-05-13 15:53:06 +01:00
Vincent Sanders
16b11e7238 ensure operations tables are registered as early as possible. 2014-05-10 10:22:10 +01:00