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
87f6314dab
move scheduleing into browser operation table
2014-03-09 15:37:40 +00:00
François Revol
df5e5fb487
Fix build
...
Drop broken explicit cast.
2014-02-13 17:18:17 +01: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
François Revol
17ecb818ad
beos: Fix build (missing include)
2014-02-04 23:34:41 +01:00
Vincent Sanders
886a3106db
move utf8 local conversion operations to table
2014-02-01 22:17:36 +00:00
Vincent Sanders
654da2ffb5
move utf8 conversion routines to use nserror instead of their own error enum
2014-01-28 21:40:13 +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
François Revol
c74bf433c3
beos: Fix updating system colors
2014-01-16 18:12:41 +01:00
François Revol
90742e6b4b
beos: Fix build
...
gcc2 doesn't know about named initializers in C++...
2014-01-16 17:28:16 +01: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
68eaec5cb4
complete move of remaining core gui functions
2014-01-15 12:28:55 +00:00
Vincent Sanders
8dfe225153
move download operations to download table
2014-01-14 16:04:02 +00:00
Vincent Sanders
d18c8ed452
move teh final optional window operations into the table
2014-01-13 22:54:19 +00:00
Vincent Sanders
b7736bae2f
split gui operations into core and window and move more operations into tables
2014-01-12 17:07:34 +00:00
Vincent Sanders
56bb9582b1
move set title, set url, start and stop throbber window operations to gui table
2014-01-12 10:27:41 +00:00
Vincent Sanders
c8496df3df
move window creation and destruction into table
2014-01-11 22:34:12 +00:00
Vincent Sanders
d3c392c3d3
Initial conversion of netsurf gui to callback vtable
2014-01-11 14:20:30 +00:00
Daniel Silverstone
692d4a328c
Fix some log statements
2014-01-05 17:22:30 +00:00
Rob Kendrick
550c8cd73c
Change gui_file_gadget_interface to pass gui_window not browser_window, add GTK implementation that of course does not work.
2014-01-05 16:45:32 +00:00
Rob Kendrick
d8ad3b8e78
Add new gui entry point for file open dialogue requests
2014-01-05 16:01:03 +00:00
François Revol
f8517f2e51
beos: remap resource:favicon.ico to favicon.png
...
We don't use it yet though.
2014-01-04 19:43:59 +01:00
François Revol
917f8ca804
beos: Drop duplicate throbber PNG resources
...
They are also added with another path by the makefile.
2014-01-04 19:43:56 +01:00
François Revol
6f4e293311
beos: Load Messages files for current language
...
For now we just check for LC_MESSAGES in the environment, which
should even work in BeOS. Someday we should probably use Haiku's
BLocale API instead.
2014-01-04 19:43:52 +01:00
François Revol
d69997c8a3
beos: Add missing call to lwc_string_unref()
2014-01-04 19:43:51 +01:00
François Revol
748b13c8ba
beos: Fix permission on temp directories creation
...
TODO: use filename_initialize() instead when it's fixed.
2014-01-04 19:43:50 +01:00
François Revol
375ee78d1c
Fix indentation
2013-12-07 01:28:55 +01:00
François Revol
62f7cfb04b
Fix Haiku build
...
Fix build of the BeOS code due to recent untested options commits.
2013-12-07 01:26:39 +01:00
Michael Drake
cf8ffa412a
Remove old hotlist, cookies, and history_global_core modules.
...
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00
Michael Drake
68078d7ea7
Fix up for cookies_old rename.
2013-07-22 10:21:37 +01:00
Vincent Sanders
a92e5930ff
fixup issues with new options API merge
2013-05-28 16:44:46 +01:00
Vincent Sanders
1b4e0d11d3
move beos to new options API
2013-05-28 14:16:11 +01:00
Vincent Sanders
ee6e6eec05
move options include
2013-05-28 14:16:10 +01:00
Vincent Sanders
35dacc3671
move the logging initialisation out to be call by frontends
...
This allows each frontend to pass a distinct callback to configure the
output file stream appropriately for their use.
2013-05-23 11:50:57 +01:00
Adrien Destugues - PulkoMandy
29f062e963
beos: Fix some cpp warnings
2013-03-09 20:51:22 +01:00
Michael Drake
a3c00c7192
Fixup for core selection change.
2013-02-22 15:12:10 +00:00
Vincent Sanders
869c7245f5
clean out useless outdated #if 0 blocks they serve no purpose and keep causing confusion in core refactors. Better examples are available in other frontends or in teh revision control system if strictly necessary
2013-02-18 14:47:21 +00:00
Vincent Sanders
529ca251fc
rename flags for browser_window routines to be shorter
2013-02-18 11:51:42 +00:00
Vincent Sanders
b112dec78d
change browser_window_create and refactor all callsites
2013-02-18 11:23:48 +00:00
Vincent Sanders
3bfb5b96a7
browser_window_navigate refactor
2013-02-18 11:23:27 +00:00
François Revol
2a01907ca1
beos: debug output cleanup
2012-11-25 20:55:34 +01:00
François Revol
17e19b283f
beos: Silence debug output
...
Either comment them or change to LOG() calls.
2012-11-25 20:00:27 +01:00
François Revol
38b17e1112
beos: Partial replicant instanciation fix
...
* use the correct resources
* work around a deadlock, allows BeHappy to start, though removing
the replicant from Tracker crashes
2012-11-25 19:47:48 +01:00
François Revol
fde30ff958
beos: Fix gui_poll()
...
Reintroduce curl_multi_fdset() and fix timeout calculations.
2012-11-25 18:17:55 +01:00
Adrien Destugues - PulkoMandy
eb28188661
Update the BeOS/Haiku port
...
* Toolbar use HVIF icons on Haiku
* Download window
* Some tweaks to the event loop to let network traffic happen
Signed-off-by: François Revol <revol@free.fr>
2012-11-24 21:39:40 +01:00
Michael Drake
35eb251244
Fix "error setting certificate verify locations" problem when the Choices file doesn't exist. Now there's a single place for front ends to set options overrides. Fix nsoption_setnull_charp leak.
2012-10-17 14:20:18 +01:00
Michael Drake
d9e7d58106
Fix up ripples from urldb change.
2012-10-11 11:20:02 +01:00