Commit Graph

865 Commits

Author SHA1 Message Date
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
Vincent Sanders
c56642819e add file operations table and make all frontends use it.
This rationalises the path construction and basename file
operations. The default implementation is POSIX which works for all
frontends except windows, riscos and amiga which have differeing path
separators and rules.

These implementations are significantly more robust than the previous
nine implementations and also do not use unsafe strncpy or buffers
with arbitrary length limits.

These implementations also carry full documentation comments.
2014-05-07 16:24:51 +01:00
Vincent Sanders
283cd05d01 Improve documentation on mimetype fetcher table 2014-05-07 16:23:19 +01:00
Vincent Sanders
44715aea3c erroneous path to testament include 2014-05-01 16:02:00 +01:00
Vincent Sanders
56b42943d0 improve iconv library handling 2014-04-30 11:56:57 +01:00
Vincent Sanders
6f9a93e332 fix formatting of defaults makefiles 2014-03-20 11:05:39 +00:00
Vincent Sanders
4d4d74c8cd move page search gui callbacks to their own operations table 2014-03-18 22:32:52 +00:00
Vincent Sanders
5c6a0eda3b fixup missing includes from schedule changes 2014-03-09 16:14:05 +00:00
Vincent Sanders
87f6314dab move scheduleing into browser operation table 2014-03-09 15:37:40 +00:00
Michael Drake
a38a63a37e Make history internal to browser_window module. 2014-02-15 18:44:50 +00:00
Michael Drake
49bed056dd Make browser_window_navigate (un)verifiable flag match browser_window_create. 2014-02-10 22:40:04 +00:00
Michael Drake
af014bce99 Allow tab creation without history clone. Changes browser_window_create and browser_window_navigate flags. 2014-02-10 14:08:45 +00:00
Michael Drake
bd5102676a Fix error. 2014-02-09 13:22:02 +00:00
Michael Drake
ea79e85fcd Clean up gui_window creation API. 2014-02-09 13:07:39 +00:00
Michael Drake
3d7cd77982 Simplify local history interface. 2014-02-08 22:43:54 +00:00
Vincent Sanders
dc33cb1418 atari fix for undefined PATH_MAX 2014-02-03 18:50:06 +00:00
Vincent Sanders
8d9e8791d9 try to make atari limits.h set PATH_MAX 2014-02-03 18:47:34 +00:00
Vincent Sanders
59fe9e09ac atari limits include 2014-02-03 18:37:32 +00:00
Vincent Sanders
17231603db fix atari PATH_MAX include 2014-02-03 18:31:53 +00:00
Vincent Sanders
abb37ba148 fix remaining include errors 2014-02-03 18:23:02 +00:00
Vincent Sanders
59eaaf3015 fixup missing includes 2014-02-03 18:12:44 +00:00
Vincent Sanders
236e135d63 fix missing stdlib include 2014-02-01 22:56:23 +00:00
Vincent Sanders
7798dae86a fix missing includes 2014-02-01 22:44:43 +00:00