Commit Graph

358 Commits

Author SHA1 Message Date
Michael Drake
4402bcf779 Need nsurl. 2015-02-26 16:31:29 +00:00
Michael Drake
30909f8ed5 Move FILE_SCHEME_PREFIX to corestrings. 2015-02-26 16:14:23 +00:00
Vincent Sanders
cd2e336449 Try using -pipe on beos/haiku as temporary file access may be slow 2014-11-24 13:18:52 +00:00
Vincent Sanders
79e501075a make the form select menu API smaller.
By hiding all but the form selection menu option structure from code
outside of render this reduces the API to the absolute minimum to
support this feature.
2014-11-13 21:52:08 +00:00
Vincent Sanders
5562c9a553 Continue doxygen error cleanup. 2014-11-08 22:08:29 +00:00
Vincent Sanders
a325634882 fix errors in change url setting api to take an nsurl instead of a text string 2014-11-02 22:44:20 +00:00
Vincent Sanders
03abea12a7 fix errors introuced with previous header cleanup. 2014-11-02 20:39:15 +00:00
Vincent Sanders
ad343eccb1 remove unecessary utils/types.h
This cleans up this header and moves the functionality into more
useful places while reducing the include complexity but only pulling
in whats required.
2014-11-02 20:10:32 +00:00
Vincent Sanders
847e1111bc fix beos url setting function to return error code 2014-10-29 00:37:35 +00:00
Vincent Sanders
7ace528729 Update url setting API to return nserror code instead of calling warn_user 2014-10-29 00:18:12 +00:00
Vincent Sanders
14e2829489 remove the die API from the core.
The die() API for abnormal termination does not belong within the core
of netsurf and instead errors are propogated back to the callers.

This is the final part of this change and the API is now only used within
some parts of the frontends
2014-10-26 12:42:53 +00:00
Michael Drake
3d52312d96 BeOS front end doesn't need browser_private any more. 2014-10-25 15:09:41 +01:00
Michael Drake
b6d708865d Use API to get window extents. 2014-10-25 15:08:36 +01:00
Michael Drake
feb5cd04e4 Use API to test for browser window having a content. 2014-10-25 15:03:12 +01:00
Michael Drake
981e80c2ad Don't need access to content here. 2014-10-25 15:01:42 +01:00
Michael Drake
7f6024ed9a No need to log window target name. 2014-10-25 14:59:58 +01:00
Michael Drake
423ead2f77 Don't get content when its not needed. 2014-10-25 14:58:37 +01:00
Michael Drake
76a6f4d39f Cache scale in gui_window. 2014-10-25 14:56:49 +01:00
Michael Drake
967e5785f6 Doesn't look like this file uses browser window internals. 2014-10-25 13:11:10 +01:00
Michael Drake
5a8a97b324 Shouldn't need bw internals now. 2014-10-25 13:09:55 +01:00
Michael Drake
b40830bd3e Use API to access content for view source. 2014-10-25 13:08:28 +01:00
Michael Drake
94f32b8369 Move create_form_select_menu to window gui table. 2014-10-24 20:45:21 +01:00
Michael Drake
aba9fc342e Add missing simlinks. 2014-10-22 20:53:09 +01:00
Michael Drake
6b846c363d Add trivial maps facilitator at about:maps
This is a simple HTML front end for the Google Static Maps API, since
we don't yet have enough JS support for the full Google Maps.

See:
  https://developers.google.com/maps/documentation/staticmaps/
2014-10-22 20:42:21 +01:00
Vincent Sanders
f502ca3e69 update beos frontend to cope with updated operation table 2014-10-16 23:25:22 +01:00
Michael Drake
f4bac1e7df Remove unused global. 2014-10-16 12:23:04 +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
bfc7552d8d remove netsurf_poll callback and netsurf main loop 2014-10-13 01:18:19 +01:00
François Revol
34fdedba78 remove use of deprecated netsurf_quit variable in beos
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 01:15:44 +02:00
Vincent Sanders
428e34a0df extend beos C++ flags 2014-09-05 16:35:39 +01: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
b99ba0998b fixup haiku rsrc fetcher initialisation 2014-09-05 00:40:52 +01:00
François Revol
bf8896a450 Fix build
desktop/browser.h:456:76: error:
use of enum 'content_debug' without previous declaration
2014-08-07 23:04:30 +02:00
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