Commit Graph

47 Commits

Author SHA1 Message Date
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
94f32b8369 Move create_form_select_menu to window gui table. 2014-10-24 20:45:21 +01:00
Vincent Sanders
f502ca3e69 update beos frontend to cope with updated operation table 2014-10-16 23:25:22 +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
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
François Revol
3129a25ee6 beos: Fix build 2014-07-26 13:34:34 +02:00
Vincent Sanders
18aefabd20 change reformat to be driven from the scheduler like redraw 2014-07-01 09:27:20 +01:00
Michael Drake
ea79e85fcd Clean up gui_window creation API. 2014-02-09 13:07:39 +00:00
François Revol
dba69de613 beos: Fix build (missing includes) 2014-02-02 16:58:56 +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
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
bd065d4a43 split browser gui operations up 2014-01-15 19:37:05 +00:00
Vincent Sanders
d18c8ed452 move teh final optional window operations into the table 2014-01-13 22:54:19 +00:00
Vincent Sanders
e82d83f184 move four more optional window operations to table 2014-01-13 14:51:27 +00:00
Vincent Sanders
d70e371cd9 move two more mandantory window operations to table 2014-01-13 11:38:35 +00:00
Vincent Sanders
7227c29bba move window scroll getter and setter into operations table 2014-01-13 01:08:15 +00:00
Vincent Sanders
5a962586fb move mandantory window update and redraw operations into table 2014-01-12 23:50:54 +00:00
Vincent Sanders
4b49b4ac77 move more optional window operations into table including removing unused hide_pointer operation altogether 2014-01-12 22:55:26 +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
c8496df3df move window creation and destruction into table 2014-01-11 22:34:12 +00:00
François Revol
1025a49cb6 beos: if no gui window, pass the first one to nsbeos_about() 2014-01-04 19:44:05 +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
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Michael Drake
631265ef6b Front ends have no reason to include desktop/selection.h now. 2013-05-10 12:16:05 +01:00
Michael Drake
9644d0594c Remove struct selection from gui_drag_save_selection, so gui.h doesn't need it now. 2013-05-10 11:54:26 +01:00
Michael Drake
037beb44fb Pass caret clip rect out to front ends. (Nothing actually using them yet.) 2013-03-05 22:54:51 +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
François Revol
87946c5de8 beos: Fix clipboard handling to use the new API 2013-01-20 18:00:36 +01:00
François Revol
eb454ff9f2 beos: More debug output cleanup 2012-11-25 20:03:43 +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
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
37d148f4d7 Stab at fixing beos build for private bw struct. 2012-08-22 17:47:20 +01:00
Michael Drake
854e556041 Remove unused includes. 2012-08-20 15:00:23 +01:00
Michael Drake
b6c149f3d6 Convert to use selection_copy_to_clipboard() and font style passed via gui_add_to_clipboard. Note: untested. 2012-08-13 14:52:59 +01:00
Michael Drake
d106091d6e Pass font plot style out to front end clipboard append function. 2012-08-13 14:43:04 +01:00
Michael Drake
986bc5ff83 Simplify font colour acquisition. 2012-08-13 13:54:00 +01:00
François Revel
b9a2def970 Fix BeOS build:
- comment out unneeded includes for now,
- fix static lib linking order.

svn path=/trunk/netsurf/; revision=13713
2012-03-25 23:03:11 +00:00
François Revel
a66adbbfef Rename BeOS frontend files to strip the useless beos_ prefix. Fix includes and the rest so it builds.
svn path=/trunk/netsurf/; revision=13554
2012-03-22 21:48:24 +00:00