Vincent Sanders
8c2cfecfb5
Allow content handlers to have debug values set through API
...
Previously content handler debugging features were accessed by global
variables. This allows the setting of debugging parameters via a
content API giving per content control over debugging features.
Currently only used by the html content handler to toggle global
redraw debugging.
2014-11-06 22:51:46 +00:00
Vincent Sanders
46f369ca9e
move themse install to its own header
2014-11-06 14:19: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
c31c4babe1
Change contextual content retrieval to browser features.
...
Update the API which allows frontends to acquire the page features
(images, link urls or form elements) present at the given coordinates
within a browser window.
By making this an explicit browser_window API and using the browser.h
header for the associated data structure with a more appropriate API
naming the usage is much more obvious and contained.
Additionally the link url is now passed around as a nsurl stopping it
being converted from nsurl to text and back again several times.
2014-11-02 15:46:42 +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
Michael Drake
b0509c6545
Fix and improve comment for browser_window_get_scrollbar_type().
2014-10-25 13:01:43 +01:00
Michael Drake
eed2a97eca
Add bw function to get scrollbar type.
2014-10-25 12:04:11 +01:00
Michael Drake
eea369afe7
Add function to find if a bw is a frameset.
2014-10-25 12:00:34 +01:00
Michael Drake
ff72d58f60
Move browser_window_get_root to private header.
2014-10-25 11:31:40 +01:00
Michael Drake
f7f21096b3
Move browser_window_set_status to private header.
2014-10-25 11:29:31 +01:00
Vincent Sanders
dc5deb26b1
improve documentation and whitespace cleanup.
2014-10-19 21:49:46 +01:00
Vincent Sanders
1180d19324
improve documentation in headers
2014-10-19 19:12:55 +01:00
Michael Drake
85fb1fd45d
Add is_selectable to browser window API surface.
2014-10-18 18:53:50 +01:00
Michael Drake
03e7605bcf
Add call to test whether a browser window may be searched.
2014-10-18 17:39:03 +01:00
Michael Drake
34cdbcfc25
Move up_available fn to core.
2014-10-18 10:16:00 +01:00
Michael Drake
7519993fd7
Add core function to navigate to URL parent.
2014-10-17 09:51:10 +01:00
Vincent Sanders
3fa0ed01c0
add API to set DPI
2014-10-13 02:34:10 +01:00
Vincent Sanders
af16c38d2d
fix DOM tree dump debug
2014-08-04 00:37:21 +01:00
Vincent Sanders
698b7c61f0
make gtk source viewer less explody. fixes #2159
2014-07-21 01:15:43 +01:00
Vincent Sanders
3a9fa29ee5
try and improve usage of browser window internals
2014-07-06 18:34:34 +01:00
Vincent Sanders
18aefabd20
change reformat to be driven from the scheduler like redraw
2014-07-01 09:27:20 +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
3d2e416ea9
Move broser_window_initialise_common to browser_private.h
2014-02-09 13:28:37 +00:00
Michael Drake
56b2770722
Add flag for cloning a window.
2014-02-09 13:26:09 +00:00
Michael Drake
ea79e85fcd
Clean up gui_window creation API.
2014-02-09 13:07:39 +00:00
Michael Drake
22d15380f4
Add function to get browser window's extents.
2014-02-08 16:03:06 +00:00
Michael Drake
022a303d60
Move browser_window_update_extent to browser_private.h
2014-02-08 16:01:14 +00:00
Michael Drake
43c3caa469
Function to determine whether bw has a content.
2014-02-08 15:31:44 +00:00
Michael Drake
8bc3a80320
Add function to get bw's URL.
2014-02-08 15:00:08 +00:00
Michael Drake
cf84e557fa
Simplify browser_window_refresh_url_bar.
...
Reduces front end need to access bw internals.
2014-02-08 12:07:13 +00:00
Vincent Sanders
3455d66921
reduce desktop/browser.h unecessary includes
2014-02-03 17:56:24 +00:00
Vincent Sanders
aaecf9e1af
add missing include for neturf_quit symbol
2014-01-29 23:36:59 +00:00
Vincent Sanders
db33103fa3
clean up desktop/gui.h include usage
2014-01-29 21:35:53 +00:00
Rob Kendrick
0d7f1cfc93
Add infrastructure for calling front ends to set file gadget filenames via clicking in addition to drag-and-drop
2014-01-05 16:04:35 +00:00
Michael Drake
55592d5a8d
Move hotlist_visted from browser.h to hotlist.h
2013-07-12 12:07:54 +01:00
Michael Drake
d6d9378e9b
Move global_history_add out of browser.h into global_history_core.h
2013-07-12 12:01:54 +01:00
Michael Drake
e8950dee22
Propagate native caret clip rect through core.
2013-03-05 22:54:51 +00:00
Michael Drake
541523f962
Less ambiguous flag documentation comment.
2013-03-04 15:12:58 +00:00
Michael Drake
c2a718075a
A load of refactoring of how content selection and input work.
...
Keypresses now go via content interface.
Contents don't shove the selection object into browser windows any more.
Contents report selection existence by sending message.
HTML content keeps track of where selections in it exist.
Contents report whether they have input focus via caret setting msg.
Caret can be hidden (can still input/paste) or removed.
Consolidate textarea selection handling.
Make textarea report its selection status changes to client.
Various textarea fixes.
Changed how we decide when to clear selections, and give focus.
2013-02-22 12:19:35 +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
Michael Drake
4747bbbfb2
HTML drags now go via content msg.
2013-02-08 13:22:53 +00:00
Michael Drake
762e1aad73
First pass at getting html forms to use textarea widget.
...
(Input element types text & password, and textarea element.)
Can edit and submit forms, but there are loads of issues.
2013-02-06 22:39:45 +00:00
Michael Drake
d9e7d58106
Fix up ripples from urldb change.
2012-10-11 11:20:02 +01:00
Michael Drake
38a9c374a4
Remove unused functions.
2012-10-09 15:26:32 +01:00
Vincent Sanders
5800789df2
trivial docuemntation cleanups to address some of the huge number of docuemntation warnings
2012-10-08 14:52:24 +01:00
Michael Drake
153c444454
Move browser_window struct to private header. Places that shouldn't include it do, such as front end code.
...
Frontends that have been updated to build:
framebuffer
gtk
monkey
riscos
TODO:
amiga
atari
beos
cocoa
windows
2012-08-22 12:22:58 +01:00
Michael Drake
d307a854fc
Clean up includes.
2012-08-22 10:37:22 +01:00