Commit Graph

867 Commits

Author SHA1 Message Date
Michael Drake
30909f8ed5 Move FILE_SCHEME_PREFIX to corestrings. 2015-02-26 16:14:23 +00:00
Vincent Sanders
a481e5965a remove atari need to use browser internal data structures 2014-11-21 12:32:46 +00:00
Vincent Sanders
9fde3502b6 doxygen cleanups in utils 2014-11-12 23:27:13 +00:00
Vincent Sanders
f686882856 fix up some warnings in atari build 2014-11-10 22:17:07 +00:00
Vincent Sanders
f0894e4ae0 remove unecessary include of render header from atari 2014-11-10 22:17:07 +00:00
Vincent Sanders
33eb1f413a Doxygen warning fixes 2014-11-10 20:15:14 +00:00
Vincent Sanders
5562c9a553 Continue doxygen error cleanup. 2014-11-08 22:08:29 +00:00
Vincent Sanders
05a64bfde9 fix up more doxygen errors 2014-11-08 16:49:32 +00:00
Vincent Sanders
8f64d5d223 Improve Doxygen documentation 2014-11-08 12:35:11 +00:00
Vincent Sanders
f287379a7c Fix several doxygen issues 2014-11-08 11:38:20 +00:00
Vincent Sanders
a325634882 fix errors in change url setting api to take an nsurl instead of a text string 2014-11-02 22:44:20 +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
c31c4babe1 Change contextual content retrieval to browser features.
Update the API which allows frontends to acquire the page features
(images, link urls or form elements) present at the given coordinates
within a browser window.

By making this an explicit browser_window API and using the browser.h
header for the associated data structure with a more appropriate API
naming the usage is much more obvious and contained.

Additionally the link url is now passed around as a nsurl stopping it
being converted from nsurl to text and back again several times.
2014-11-02 15:46:42 +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
503da8f3f6 Try doxygen todo format. 2014-10-25 16:32:13 +01:00
Michael Drake
cf199105c5 Shouldn't need bw internals now. 2014-10-25 16:12:16 +01:00
Michael Drake
6e3a6b37e0 Attempt to avoid using bw internals.
There are so many levels of windows here, that this could well be
broken, as its rather confusing.
2014-10-25 16:10:49 +01:00
Michael Drake
65b4c2f86a Shouldn't need bw internals now. 2014-10-25 16:05:13 +01:00
Michael Drake
720579e110 Don't access bw internals. 2014-10-25 16:04:43 +01:00
Michael Drake
6823d229ea Reduce usage of bw internals. Add some TODOs for m0n0 to look at. 2014-10-25 15:58:39 +01:00
Michael Drake
434d6a49a9 Doesn't look like browser window internals are used here. 2014-10-25 15:47:14 +01:00
Michael Drake
93e3d84b98 Use API to test for bw content. 2014-10-25 15:44:50 +01:00
Michael Drake
c4829ca636 Initial bw scale comes from core. 2014-10-25 15:43:41 +01:00
Michael Drake
a96ba0369c Shouldn't need browser window internals now. 2014-10-25 15:37:03 +01:00
Michael Drake
dd59552f6e Attempt to remove dependancy of search implementation on bw internals. 2014-10-25 15:34:22 +01:00
Michael Drake
030c18d0df Doesn't look like browser window internals are used here. 2014-10-25 15:25:36 +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
5ef5ff6a07 stop dereferencing browser private data in atari gui 2014-10-19 19:21:00 +01:00
Vincent Sanders
56731e1dbb remove all unecessary desktop/browser.h includes 2014-10-17 10:49:24 +01:00
Vincent Sanders
19c26ca182 update atari includes to accomodate gui operation table refactor 2014-10-16 22:33:44 +01:00
Vincent Sanders
30f118a86d remove unecessary css includes from fronetends 2014-10-13 15:45:51 +01:00
Vincent Sanders
02bbaa3e88 split version info into its own header and remove unnecessary nesurf.h includes
The netsurf.h header should *only* contain the registration, core
initialisation and finalisation methods. Version information is best
placed in its own header.

Also remove any unneeded inclusion of this header limiting it to
solely the places the relevant API is required.
2014-10-13 15:08:16 +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
3fa0ed01c0 add API to set DPI 2014-10-13 02:34:10 +01:00
Vincent Sanders
aca826ef69 fix typo in netsurf_quit rework 2014-10-12 13:03:16 +01:00
Vincent Sanders
685e4a7fc5 remove use of deprecated netsurf_quit variable
The core no longer needs to run the event polling loop as fetches are now
scheduler driven. This is part of a series which will ultimately remove
netsurf_poll callback altogether.

The Atari maintainer probably wants to look at moving the ami_quit
handling inside atari_poll() to further reduce overhead.
2014-10-12 10:44:05 +01:00
Vincent Sanders
521d1824cf whitespace and documentation cleanups 2014-10-12 10:35:56 +01:00
Ole Loots
0864dbf8a8 Do not show the maximize window widget 2014-09-17 00:54:16 +02:00
Ole Loots
2c0407d7d4 Moved Save/Abort buttons into a toolbar 2014-09-17 00:47:26 +02:00
Ole Loots
a63715a319 Include default cache folder in package 2014-09-16 23:03:44 +02:00
Ole Loots
1ce4a14da9 Fixed some unused variable warnings. 2014-09-15 23:31:39 +02:00
Ole Loots
067b21e8f6 Fixed some unused variable warining. 2014-09-15 23:27:15 +02:00
Ole Loots
2c01ca13f2 Enabled the filesystem backing store. 2014-09-15 23:06:28 +02:00
Ole Loots
ccac364857 Added disc cache options to the settings dialog 2014-09-15 22:19:13 +02:00
Ole Loots
771da43c43 Pass store path to netsurf_init() 2014-09-15 21:51:24 +02:00
Ole Loots
48c48319e0 Added missing include 2014-09-13 14:43:10 +02:00
Ole Loots
cc1da0813e Removed unused variable 2014-09-13 14:40:52 +02:00
Ole Loots
00e9dd8690 Removed unused variable / dead code. 2014-09-13 14:40:02 +02:00