Commit Graph

58 Commits

Author SHA1 Message Date
Vincent Sanders 09e90a4cea reduce beos frontend usage of plotter API 2016-05-04 21:19:43 +01:00
Vincent Sanders 246ab6d9ff allow beos frontend to make clipboard functions private.
reduces the unecessary export of clipboard functions in beos frontend
and also removes inclusion of unecessary headers.
2016-05-03 19:45:25 +01:00
Vincent Sanders 91515e2b56 update beos frontend to remove useage of depricated warn_user API 2016-05-01 22:04:03 +01:00
Vincent Sanders d8b6de50d6 remove unecessary include causing build faliure. 2016-04-24 20:44:16 +01:00
Vincent Sanders a74778302f fixup haiku brakage from header changes 2016-04-21 22:47:15 +01:00
Adrien Destugues 18c8cb0f85 UI fixes for search bar and cookie manager
- Make the "Utilities" menu enabled again, since the cookie manager is
  there,
- Bigger default size for the cookie manager window, and activate it
  when shown,
- Fix the layout of the top bar so the search field is visible, and
  make it send the search request to the right place.
2016-02-01 23:21:24 +00:00
Adrien Destugues 989bc6e190 Fix build on 64-bit Haiku
- Fix path to look for libnetwork to work also on non-hybrid systems
- Remove references to /boot/common as it is not used anymore
- Fix a few type errors
- Use compiler provided va_copy when available
2015-07-14 09:12:44 +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
Witold Filipczyk befa5e6ed3 To avoid namespace conflicts with ncurses add NetSurf key prefix.
Adds a NetSurf key code prefix of NS_ to all key codes.
2015-03-27 09:36:19 +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
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