Commit Graph

10640 Commits

Author SHA1 Message Date
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 fa8d690005 remove unused include 2014-10-13 13:38:08 +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 33c6073dbe remove unecessary css include 2014-10-13 08:09:25 +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 bfc7552d8d remove netsurf_poll callback and netsurf main loop 2014-10-13 01:18:19 +01:00
Vincent Sanders d0655bafc2 remove use of deprecated netsurf_quit variable in riscos
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.
2014-10-13 00:56:09 +01:00
François Revol 34fdedba78 remove use of deprecated netsurf_quit variable in beos
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.
2014-10-13 01:15:44 +02:00
Vincent Sanders a726860d4e remove use of deprecated netsurf_quit variable in cocoa
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.
2014-10-12 23:35:09 +01:00
Vincent Sanders 21f8f8170a remove use of deprecated netsurf_quit variable in monkey
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.
2014-10-12 21:18:17 +01:00
Vincent Sanders 4dd5a9c114 set defaults for cookie and url database 2014-10-12 20:40:40 +01:00
Vincent Sanders aca826ef69 fix typo in netsurf_quit rework 2014-10-12 13:03:16 +01:00
Vincent Sanders 0c7c4173c2 remove use of deprecated netsurf_quit variable in win32
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.
2014-10-12 11:08:01 +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
Vincent Sanders 09509a9095 Some minor documentation cleanups to reduce doxygen warnings 2014-10-12 10:35:23 +01:00
Vincent Sanders 265f63e679 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 Amiga maintainer probably wants to look at moving the ami_quit
signalling inside ami_handle_msg() to further reduce overhead.
2014-10-12 10:05:01 +01:00
Vincent Sanders 1a2040bc72 Trivial sepelling, documentation and whitespace cleanups 2014-10-10 13:01:20 +01:00
Chris Young ad22d5446c Add three languages which now have OS4 language drivers. 2014-10-03 17:55:43 +01:00
Vincent Sanders bfd16c30fa update default mac os X version in the correct place 2014-10-03 15:35:16 +01:00
Vincent Sanders a32aef2f40 update to install OS packages on mac os x with macports 2014-10-03 15:24:15 +01:00
Vincent Sanders 57f8cf6433 As we no longer build the PPC version the default SDK version should be 10.6 for snow leopard compatability 2014-10-03 15:15:55 +01:00
Chris Young 49fd5ea238 Correct Lock() parameter 2014-09-29 19:01:25 +01:00
Michael Drake f58a2580e0 Fix textarea wrap bug.
Was comparing against the current start line length, to decide if it
needed redrawing, without taking into account that old start line
might have been longer.
2014-09-27 18:58:37 +01:00
Michael Drake c3d6099250 Redraws during layout are prohibited, and redundant. 2014-09-27 09:57:26 +01:00
Michael Drake c9bf72a4a3 Stop invalid background image URL from preventing page load.
Stops url(http://) from causing page load to fail with warning
message of "boxconvert".
2014-09-25 09:50:24 +01:00
Vincent Sanders e825f38437 move about and preferences window handling to more sensible position 2014-09-22 23:18:03 +01:00
Vincent Sanders 9487076f2a remove old notes that are no longer relevant 2014-09-22 22:58:27 +01:00
Vincent Sanders dfb774c245 change frmebuffer to run its own main loop 2014-09-22 22:56:10 +01:00
Vincent Sanders 79c6617cfb move gtk to using its own main loop instead of core polling 2014-09-22 18:11:39 +01:00
Vincent Sanders a8101a99ea use gtk completion variable and remove uneeded include of netsurf.h 2014-09-22 18:11:39 +01:00
Vincent Sanders 0de8cfc9d4 add flag to allow gtk loop to be signalled to exit 2014-09-22 18:11:39 +01:00
Vincent Sanders 841bc17090 move gtk execution loop to main() 2014-09-22 18:11:23 +01:00
Vincent Sanders 3d72c4a772 stop poll callback entry being mandantory in preparation for its removal 2014-09-22 18:11:23 +01:00
Chris Young e994704d5c void function 2014-09-20 13:44:28 +01:00
Chris Young a90f5d1c8b Stop the Amiga build complaining about redefined strndup 2014-09-20 13:42:47 +01:00
Chris Young 1b2225ea07 Move log init so it starts earlier 2014-09-20 13:38:38 +01:00
Michael Drake 2551885fd6 Optimise case where scrollbar_set_extents call changes nothing. 2014-09-19 12:39:02 +01:00
Michael Drake 5b96a84ef7 Setting extents can move scroll pos, so send message. 2014-09-19 12:33:34 +01:00
Michael Drake 6a74106d36 Make code more readable. 2014-09-19 12:32:52 +01:00
Michael Drake f95b9d2eb3 Fix a couple of comment typos. 2014-09-19 11:10:43 +01:00
Michael Drake 35f7f2b9f3 Resolve relative URLs in inline CSS relative to document's base URL, rather than its content URL.
This means passing the base URL as the URL param to LibCSS's
css_stylesheet_create, rather than the URL of the source of
the style data.
2014-09-18 18:07:52 +01:00
Michael Drake 1878bc88a9 Improve comments and simplify code. 2014-09-18 16:00:31 +01:00
Michael Drake dcf49c7341 Improve textarea layout comments to explain the non-obvious bits better. 2014-09-18 16:00:31 +01:00
Michael Drake 2dc8459c84 Improve comment. 2014-09-18 16:00:30 +01:00
Michael Drake 87c5753d49 Fix missing doxygen parameter comment. 2014-09-18 16:00:30 +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