Commit Graph

1976 Commits

Author SHA1 Message Date
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
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
Michael Drake
31526e9bc6 Remove pointless strdup/free. 2014-09-07 11:12:49 +01:00
Michael Drake
253475f304 GUI launched fetches are verifiable. Thanks to jmb. 2014-09-07 11:03:21 +01:00
Vincent Sanders
1f341ed084 Correctly declare function as static and fix documentation 2014-09-07 00:31:46 +01:00
Vincent Sanders
55558579e2 Add missing includes to get rid of warnings 2014-09-07 00:27:30 +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
f2ba35133b Remove MimeMan stuff from !Cache. 2014-08-30 15:46:39 +01:00
Michael Drake
5cd61f2ef4 Avoid include of browser_private.h 2014-08-26 18:16:03 +01:00
Michael Drake
5bed515e68 Don't use browser_private.h 2014-08-22 16:35:39 +01:00
Vincent Sanders
af16c38d2d fix DOM tree dump debug 2014-08-04 00:37:21 +01:00
Michael Drake
c86c772ce6 Remove more dead code. 2014-07-09 20:04:27 +01:00
Michael Drake
55d2e1126a Remove redundant code. 2014-07-09 19:49:43 +01:00
Vincent Sanders
7659708d55 remove unecessary reformat call
This was an error in the original refactor where redraw routine had an uneccessary
optimisation to remove an outstanding reformat.
2014-07-09 12:50:37 +01:00
Michael Drake
9a38a5d062 Simplify schedule_remove.
Since entries are unique we can stop looking when we have a match.
2014-07-09 07:23:58 +01:00
Vincent Sanders
3a9fa29ee5 try and improve usage of browser window internals 2014-07-06 18:34:34 +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
8944edd649 convert all frontends to scheduled fetch operation 2014-06-26 19:05:59 +01:00
Steve Fryatt
ca91b4eea3 Fix signedness of numeric conversion when populating cache config dialogue box. 2014-06-09 23:03:39 +01:00
Steve Fryatt
cc1d5477ab Add disc cache parameters to configuration GUI. 2014-06-08 18:29:03 +01:00
Vincent Sanders
e687a359c7 remove unnecessary risc os header includes 2014-06-05 23:24:28 +01:00
Vincent Sanders
72f8e711d7 additional risc os header cleanups 2014-06-05 23:01:37 +01:00
Vincent Sanders
766c90d369 additional header cleanups 2014-06-05 21:50:47 +01:00
Vincent Sanders
1151ae8ba2 Add !Cache to riscos resources 2014-06-05 15:27:35 +01:00
Vincent Sanders
3834770f11 add riscos font header 2014-06-05 15:25:50 +01:00
Vincent Sanders
54fcb66d87 cleanup RISC OS frontend header usage 2014-06-05 15:14:49 +01:00
Vincent Sanders
f1c2dde13b extend file table with mkdir all and make fs backing store use it.
enable fs backing store for RISC OS.
2014-06-05 12:06:47 +01:00
Vincent Sanders
80bee65a71 remove forward declarations from risc os gui.c
cleanup filetype magic numbers.
2014-06-04 16:53:25 +01:00
Vincent Sanders
7f55cb58a0 stop riscos uncesecarily including gui.h 2014-06-04 12:07:03 +01:00
Michael Drake
91f3eb5c2f Scope reduce a variable. 2014-05-31 13:06:52 +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