François Revol
43fea75b72
beos: Disable non-working menu entries
...
So at lest people won't expect too much.
2014-07-31 11:33:39 +02:00
François Revol
3129a25ee6
beos: Fix build
2014-07-26 13:34:34 +02:00
Vincent Sanders
0f151e37cb
Merge branch 'vince/reformatpending'
...
Conflicts:
amiga/gui.c
2014-07-06 10:45:31 +01:00
François Revol
4073a991dd
beos: Fix an oversight with number of fds for select()
...
curl_multi_fdset() does not include the +1 required
for select(), so we always need to add it.
2014-07-02 17:54:57 +02:00
François Revol
c574780d29
beos: drop @todo
...
From the select(2) linux manpage:
"nfds is the highest-numbered file descriptor in any of the three sets, plus 1."
As sEventPipe[0] is definitely a descriptor, it must be 1 more here.
2014-07-02 03:43:13 +02:00
François Revol
36ba460fe4
beos: handle realpath() returning NULL
...
Else we return with an uninitialized buffer...
2014-07-02 03:40:32 +02:00
François Revol
dcf3a55ae6
beos: Avoid crashing if FindPath() returns an error
...
This can happen when running from the build directory,
without the package already installed.
2014-07-02 03:11:25 +02:00
Vincent Sanders
18aefabd20
change reformat to be driven from the scheduler like redraw
2014-07-01 09:27:20 +01:00
Vincent Sanders
2330503533
Merge branch 'vince/fetchschedule'
2014-07-01 09:03:47 +01:00
Vincent Sanders
8944edd649
convert all frontends to scheduled fetch operation
2014-06-26 19:05:59 +01:00
Adrien Destugues
80cc326658
beos: Use PathFinder to locate resource folder.
...
So it can work wherever NetSurf is installed...
Note this uses a Haiku-specific API and definitely breaks BeOS build.
2014-06-20 15:31:23 +02:00
François Revol
d64fa80ba7
beos: Fix Haiku libnetwork detection post-PackageManagement
2014-06-20 15:24:55 +02:00
François Revol
fc290506a4
beos: Fix local variable shadowing a parameter
2014-06-20 15:19:10 +02:00
François Revol
186f7479ee
beos: Adjust browser_table for removed call
2014-06-20 15:06:16 +02:00
François Revol
c538396126
beos: Add missing include
2014-06-20 15:06:00 +02:00
Vincent Sanders
4b2101ba6a
clean up the fetcher factory and improve its API
2014-06-19 18:27:24 +01:00
Vincent Sanders
7d02ae916a
make launch_url core operation use nsurl
2014-05-27 23:52:35 +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
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
2326d3c503
remove unecessary utils/url.h includes
2014-05-09 10:15:42 +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
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
François Revol
fec9f916b6
beos: Fix build
2014-03-18 19:07:13 +01:00
Vincent Sanders
87f6314dab
move scheduleing into browser operation table
2014-03-09 15:37:40 +00:00
François Revol
4591b65ad9
beos: Fix build
...
One replacement was missed when changing browser_window_history_forward().
2014-02-20 16:02:43 +01:00
Michael Drake
a38a63a37e
Make history internal to browser_window module.
2014-02-15 18:44:50 +00:00
François Revol
df5e5fb487
Fix build
...
Drop broken explicit cast.
2014-02-13 17:18:17 +01: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
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
François Revol
17ecb818ad
beos: Fix build (missing include)
2014-02-04 23:34:41 +01:00
François Revol
4fab874d4f
beos: Drop unneeded desktop/gui.h include
2014-02-03 01:50:06 +01:00
François Revol
dba69de613
beos: Fix build (missing includes)
2014-02-02 16:58:56 +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
François Revol
4b760c7e49
beos: Fix build
...
Add missing header due to moved function.
2014-01-28 15:15:49 +01:00
François Revol
443d6f3e04
beos: Account for change in atomic_add() prototype in Haiku
...
Since the scheduler branch merge, atomic_add() takes a pointer
to int32, doesn't require the target to be volatile anymore.
2014-01-28 15:14:34 +01: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
François Revol
7c71ad4f5a
whitespace
2014-01-16 17:28:15 +01:00
François Revol
55bf16d754
beos: Better implementation of NSIconTextControl for the url bar
...
Instead of adding a child view we draw the bitmap over the child.
Fixup the TextRect also in Draw() which is called just before the
TextView's Draw().
It flickers a little less, and also respects the background color of
the text control when using a desktop theme.
Also drop a useless dynamic_cast.
2014-01-16 16:11:26 +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