Vincent Sanders
67ded2a02a
This moves message loading out of netsurf_init into each frontend
...
The translated message loading is dependant on configuration of
resource location in each frontend, additionally they should have the
ability to deal with errors in this loading in a implementation
specific manner.
This also extends the message loading API to be capable of loading
from an inline memory buffer instead of from a file.
2015-06-21 23:27:22 +01:00
Vincent Sanders
51c5f7f142
Set the default cache size on RISC OS to zero (off)
2015-06-01 11:52:41 +01:00
Vincent Sanders
0d811963c1
fixup all the remaining logging macro callsites
...
The semantic patch tool appears to have missed some difficult to
reason about callsites which have now been manually cleaned up
2015-05-28 17:06:18 +01:00
Vincent Sanders
c105738fa3
Change LOG() macro to be varadic
...
This changes the LOG macro to be varadic removing the need for all
callsites to have double bracketing and allows for future improvement
on how we use the logging macros.
The callsites were changed with coccinelle and the changes checked by
hand. Compile tested for several frontends but not all.
A formatting annotation has also been added which allows the compiler
to check the parameters and types passed to the logging.
2015-05-28 16:08:46 +01:00
Vincent Sanders
ad18ef5db9
Update RISC OS frontend to use bitmap operation table
2015-04-15 23:57:39 +01:00
John-Mark Bell
b051c037d3
RISC OS: squash warnings from GCC 4.7
2015-02-25 00:32:46 +00:00
Vincent Sanders
669df172ec
Fix my spelling of teh everywhere
2014-11-18 17:16:26 +00:00
Vincent Sanders
3e4f5737aa
Doxygen cleanups in frontends
2014-11-11 15:46:04 +00:00
Vincent Sanders
d204d6d555
Clean up saving as PDF
...
This removes the global PDF_Password interface that had completely
bitrotted and moves it into the standard misc operation table with a
sensible defualt implementation.
This also cleans up and fixes the gtk frontend implementation of the
pdf password callback so it compiles.
Finally this moves the implementation to a sensible place alongside
the other exporters reducing target makefile complexity futher.
2014-10-26 23:53:14 +00:00
Michael Drake
94f32b8369
Move create_form_select_menu to window gui table.
2014-10-24 20:45:21 +01:00
Vincent Sanders
ac70da346c
Update the RISC OS frontend to cope with split operations table headers
2014-10-16 22:33:44 +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
Vincent Sanders
af16c38d2d
fix DOM tree dump debug
2014-08-04 00:37:21 +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
Vincent Sanders
72f8e711d7
additional risc os header cleanups
2014-06-05 23:01:37 +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
Michael Drake
4ea90d2dca
Check correct variable for NULL.
2014-05-30 22:16:15 +01:00
Vincent Sanders
7d02ae916a
make launch_url core operation use nsurl
2014-05-27 23:52:35 +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
cd89779831
Remove unused variable and assignements to it.
2014-05-26 10:42:43 +01:00
Michael Drake
423a934e0b
Scope reduce some variables.
2014-05-26 10:40:54 +01:00
Vincent Sanders
966ed9449c
fix riscos mkpath and error reporting in save complete
2014-05-17 23:14:43 +01:00
Vincent Sanders
0a2082d777
ensure all vmkpath implementations check their parameters
2014-05-17 22:28:32 +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
096bd47ab0
refactor url utility functions to use standard nserror codes and have appropriate documentation.
2014-05-08 00:16:50 +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
Michael Drake
2c4825cb38
Remove excessive logging.
2014-04-18 17:30:28 +01:00
Michael Drake
898ff4b821
Add logging to view-source filename generation.
2014-04-18 16:35:46 +01:00
Michael Drake
979b59887f
Fix leak of url found by cppcheck.
2014-04-02 21:04:00 +01:00
Vincent Sanders
4d4d74c8cd
move page search gui callbacks to their own operations table
2014-03-18 22:32:52 +00:00
Vincent Sanders
87f6314dab
move scheduleing into browser operation table
2014-03-09 15:37:40 +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
Vincent Sanders
886a3106db
move utf8 local conversion operations to table
2014-02-01 22:17:36 +00:00
Vincent Sanders
1f62b5a980
make the clipboard operation table and members static to textselection module and cleanup unnecessary includes
2014-02-01 10:45:20 +00:00
Steve Fryatt
654b25ffa1
Improve handling of Message_MenusDeleted so that we don't close whatever menu tree is open at the time.
2014-01-28 23:58:42 +00:00
Vincent Sanders
dc074042e9
fix errors in url_to_path tfetch table changes
2014-01-25 23:21:28 +00:00
Vincent Sanders
8ce0a10670
move path_to_url and url_to_path to fetch operation table
2014-01-25 23:01:32 +00:00
Vincent Sanders
0475693394
create table for fetcher operations and move all operations into it
2014-01-23 00:00:18 +00:00
Vincent Sanders
54b7482f78
fix up riscos build errors
2014-01-16 14:28:25 +00:00
Vincent Sanders
d47fed4524
move 401 login into operation table
2014-01-16 00:52:17 +00:00
Vincent Sanders
38cb39339a
move filename_from_path and path_add_part into gui operation tables
2014-01-16 00:01:25 +00:00
Vincent Sanders
bd065d4a43
split browser gui operations up
2014-01-15 19:37:05 +00:00
Vincent Sanders
0075eab194
move remaining gui operations to table
2014-01-14 23:31:54 +00:00
Vincent Sanders
8dfe225153
move download operations to download table
2014-01-14 16:04:02 +00:00