Commit Graph

887 Commits

Author SHA1 Message Date
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
Ole Loots
72fb68014d Removed unused variable. 2014-09-13 14:38:18 +02:00
Ole Loots
dcccaf2217 Always return correct type 2014-09-13 14:25:12 +02:00
Ole Loots
31bece790b Removed unused label 2014-09-13 14:24:42 +02:00
Ole Loots
d7f479070e Replace default posix file handling table with GEMDOS compatible one
Since build #1917, URL to path conversion was broken.
Thanks to Peter for reporting the bug.
Most of the path handling code was taken from the windows frontend.

Note:
- NetSurf core switched to an file handling table with default
  posix compatible functions.
- The atari frontend always uses GEMDOS compatible
  path like: "u:\folder\1", even when running on top of
  FreeMiNT environment.
2014-09-13 14:15:01 +02: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
Vincent Sanders
07f1ae7461 fixup missing includes 2014-07-06 19:36:12 +01:00
Vincent Sanders
3a9fa29ee5 try and improve usage of browser window internals 2014-07-06 18:34:34 +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
8944edd649 convert all frontends to scheduled fetch operation 2014-06-26 19:05:59 +01:00
Michael Drake
77cea75e51 Remove unused variable. 2014-05-31 08:42:43 +01:00
Michael Drake
4bf23fc217 Fix line endings. 2014-05-31 08:42:08 +01:00
Vincent Sanders
688f60d963 fix errors with path_to_url conversion 2014-05-27 00:08:04 +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
Michael Drake
15d95ddcf8 Ensure bitmap width/height are initialised. 2014-05-20 22:40:46 +01:00
Michael Drake
fcc318cf29 Remove unused variables. 2014-05-20 21:34:29 +01:00
Michael Drake
e23d42283b Fix line endings. 2014-05-20 21:29:23 +01:00
Michael Drake
b1773d8012 Reduce a variable's scope. 2014-05-20 21:28:45 +01:00
Michael Drake
966188eb8a Remove unused variables. 2014-05-20 21:27:12 +01:00
Michael Drake
1785eba577 Fix line endings. 2014-05-20 21:22:42 +01:00
Michael Drake
c9c8e2f92c Remove dead code, unused variables, reduce a variable's scope. 2014-05-20 21:21:41 +01:00
Michael Drake
a1974a2ea6 Fix line endings. 2014-05-20 21:18:24 +01:00
Michael Drake
53d2852efd Remove some unused variables. Scope reduce a variable. 2014-05-20 21:17:00 +01:00
Michael Drake
f57db0b2d6 Fix line endings. 2014-05-20 21:13:49 +01:00
Michael Drake
4648ce4e59 Remove unused variables. 2014-05-20 21:12:53 +01:00
Michael Drake
1d9ce5348a Fix line endings. 2014-05-20 21:10:52 +01:00
Michael Drake
7c94c2752c Remove unused variables. 2014-05-20 21:09:46 +01:00
Michael Drake
b31f224f42 Fix line endings. 2014-05-20 21:06:32 +01:00
Michael Drake
a7d44f9707 Remove a bunch of unused variables. 2014-05-20 21:06:00 +01:00
Michael Drake
4c04e32236 Fix use of uninitialised scroll values. 2014-05-20 21:05:11 +01:00
Michael Drake
923feec091 Fix line endings. 2014-05-20 20:42:25 +01:00
Michael Drake
47337932c0 Various fixes informed by cppcheck.
Removal of unused variables and dead assignements.
2014-05-20 20:40:42 +01:00
Michael Drake
768f380d81 Fix rgb check.
It was doing the same check on green twice, and not checking blue.
2014-05-20 20:24:19 +01:00
Michael Drake
59f63984ee Remove unused variables. 2014-05-20 20:20:58 +01:00
Michael Drake
a8e79b4d39 Remove redundant NULL check. 2014-05-20 20:17:48 +01:00
Michael Drake
687e97abd2 Fix line endings. 2014-05-20 20:17:00 +01:00
Michael Drake
49e9a30b30 Remove unused variable. 2014-05-20 17:54:50 +01:00
Michael Drake
751cf4f09f Fix line endings. 2014-05-20 17:54:31 +01:00
Michael Drake
11fcdcca7b Remove unused variables. 2014-05-20 17:52:20 +01:00
Michael Drake
4bbc541640 Fix redundant if/else. 2014-05-20 17:51:41 +01:00
Michael Drake
8b0d969bd6 Fix line endings. 2014-05-20 17:48:51 +01:00
Michael Drake
22b683cea0 Remove unused variables. 2014-05-20 17:47:51 +01:00
Michael Drake
97d82ec793 Fix if/else with duplicate branches. 2014-05-20 17:45:51 +01:00
Michael Drake
527003629f Fix line endings. 2014-05-20 17:45:35 +01:00
Michael Drake
329bae77d8 Scope reduce some variables. 2014-05-19 17:48:42 +01:00
Michael Drake
2badf21a62 Remove unused variables. 2014-05-19 17:47:16 +01:00
Michael Drake
dff18de7cc Remove unused variable. 2014-05-19 17:42:19 +01:00
Michael Drake
801737a373 Fix line endings. 2014-05-19 17:42:19 +01:00
Michael Drake
93f01350db Remove unused variables. 2014-05-19 17:42:19 +01:00
Michael Drake
5f612d6600 Remove unused variables. 2014-05-19 17:42:19 +01:00
Michael Drake
2660ec08c2 Remove duplicate condition. 2014-05-19 17:42:19 +01:00
Michael Drake
0c7b5da5f1 Scope reduce variables. 2014-05-19 17:42:12 +01:00
Michael Drake
05087404da Fix line endings. 2014-05-19 17:28:59 +01:00
Michael Drake
a8fc41529f Remove unused variables. 2014-05-19 17:13:35 +01:00
Michael Drake
af11d7eb96 Scope reduce some variables. 2014-05-19 17:12:18 +01:00
Michael Drake
c59c314283 Fix line endings. 2014-05-19 17:08:42 +01:00
Michael Drake
ec84f27733 Remove unused variables. 2014-05-19 17:07:27 +01:00
Michael Drake
99e0cfbd1f Fix line endings. 2014-05-19 17:05:28 +01:00
Michael Drake
1b0a968f1c Remove unused variables. 2014-05-19 17:01:40 +01:00
Michael Drake
ae621334a6 Fix line endings. 2014-05-19 17:00:53 +01:00
Michael Drake
b2181ddfce Remove unused variables. 2014-05-19 16:56:55 +01:00
Michael Drake
299aae255f Remove if/else with duplicate branches. 2014-05-19 16:53:45 +01:00
Michael Drake
c21c781be8 Fix line endings. 2014-05-19 16:53:13 +01:00
Michael Drake
69e6fd86b3 Socpe reduce two variables. 2014-05-19 16:50:42 +01:00
Michael Drake
0629a976ae Fix line endings. 2014-05-19 16:49:59 +01:00
Michael Drake
1d73b947e9 Remove unused variables. 2014-05-19 16:48:08 +01:00
Michael Drake
c11ed96ed3 Remove unused variable. 2014-05-19 16:47:10 +01:00
Michael Drake
8dbe07011c Remove if/else with duplicate branches. 2014-05-19 16:46:02 +01:00
Michael Drake
11ff9acd83 Make line endings consistent. 2014-05-19 16:43:36 +01:00
Michael Drake
eec68e5433 Scope reduce some variables. 2014-05-19 16:37:09 +01:00
Vincent Sanders
b9ded6c735 make atari font plotting include css header explicitly 2014-05-18 23:25:09 +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
Vincent Sanders
162e97cf01 undo some overzellous include removal 2014-05-09 10:21:48 +01:00
Vincent Sanders
2326d3c503 remove unecessary utils/url.h includes 2014-05-09 10:15:42 +01:00
Vincent Sanders
cd7f1eceea make download_context_get_url() return an nsurl and adapt callers to cope 2014-05-08 17:54:44 +01:00
Vincent Sanders
096bd47ab0 refactor url utility functions to use standard nserror codes and have appropriate documentation. 2014-05-08 00:16:50 +01:00
Vincent Sanders
6349704b5e fix silly errors in atari and amiga file operation table change 2014-05-07 16:38:58 +01:00