Commit Graph

465 Commits

Author SHA1 Message Date
Vincent Sanders
2465fc4e6b move the mandantory library config for libcss and libdom to core makefile 2015-04-17 22:48:55 +01:00
Vincent Sanders
cc11912da1 Convert framebuffer frontend to bitmap operations table. 2015-04-14 23:08:02 +01:00
Vincent Sanders
e62db5a49c define _DEFAULT_SOURCE as well as _BSD_SOURCE to supress warnings in glibc 2.12 2015-03-28 18:25:41 +00:00
Michael Drake
22e0c0536a Reduce log spam esp. from animated gifs. 2015-03-28 12:31:10 +00:00
Michael Drake
733400ed38 Reduce log spam from animations. 2015-03-28 12:27:45 +00:00
Michael Drake
c9e8bd24c8 Remove trailing whitespace. 2015-03-28 12:22:23 +00:00
Witold Filipczyk
befa5e6ed3 To avoid namespace conflicts with ncurses add NetSurf key prefix.
Adds a NetSurf key code prefix of NS_ to all key codes.
2015-03-27 09:36:19 +00:00
Vincent Sanders
8a99b045bc Remove url from content thumbnailers API
The content thumbnailers for each frontend were being provided the
contents url. This was only ever used to call the urldb thumbnail
setting API.

This changes it so the single callsite that passed a valid url adds
the bitmap to that url itself in desktop_history.c instead of forcing
every frontend to require the urldb API.

Additionally the old API could pass the url as NULL which was causing
asserts where this was not an expected parameter value. Because of
this this fixes bug #2286 which was also present in the monkey
frontend as both called nsurl_access() on the url without the NULL
check and caused an assertion.
2015-03-15 00:00:45 +00:00
Vincent Sanders
cdd7f2f950 allow for framebuffer command line parsing to cope with unknown long options 2014-12-27 12:44:23 +00:00
Vincent Sanders
871c14693e change the framebuffer frontend way of disabling the toolbar
This changes the toolbar disabling from the empty string (which is
impossible to configure) to the q (for quiet) specifier
2014-12-27 11:11:41 +00:00
Vincent Sanders
5f57a39130 revert unecessary librt linkage as it not comes from libnsfb pkg-config correctly 2014-11-27 16:04:16 +00:00
Vincent Sanders
18d1fce332 add rt library to link 2014-11-27 14:40:00 +00:00
Vincent Sanders
669df172ec Fix my spelling of teh everywhere 2014-11-18 17:16:26 +00:00
Vincent Sanders
9fde3502b6 doxygen cleanups in utils 2014-11-12 23:27:13 +00:00
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