John Mark Bell
35cf89594d
Abort loading content when closing window
...
svn path=/trunk/netsurf/; revision=12620
2011-07-23 17:53:57 +00:00
Michael Drake
430b63e242
Remove assumption of gui window from search.
...
svn path=/trunk/netsurf/; revision=12603
2011-07-14 10:27:24 +00:00
Michael Drake
9c91893028
Fix selection for non-gui browser windows (iframes).
...
Selection no longer uses current_redraw_browser.
Fix long-standing selection bugs on platforms that use action on release behaviour.
svn path=/trunk/netsurf/; revision=12598
2011-07-13 13:20:26 +00:00
Michael Drake
637f726a13
Scale caret height in core
...
svn path=/trunk/netsurf/; revision=12596
2011-07-11 10:33:43 +00:00
John Mark Bell
b34502af82
Refactor http utilities
...
svn path=/trunk/netsurf/; revision=12595
2011-07-08 08:38:17 +00:00
Michael Drake
bc91b72c56
Clean up text input code. Now desktop/textinput.{c|h} is concerend with browser windows only. HTML content specific stuff moved to render/textinput.{c|h} and disassociated from browser windows.
...
svn path=/trunk/netsurf/; revision=12587
2011-07-07 17:50:04 +00:00
Michael Drake
e2681caf9c
Reduce forward declaration of functions.
...
svn path=/trunk/netsurf/; revision=12586
2011-07-07 11:50:45 +00:00
Michael Drake
e4a0bebd27
Pass struct rect to browser_window_update_box(), rather than union content_msg_data.
...
svn path=/trunk/netsurf/; revision=12584
2011-07-06 15:34:49 +00:00
Michael Drake
727aa61bb6
Pass struct rect to gui_window_update_box(), rather than union content_msg_data.
...
svn path=/trunk/netsurf/; revision=12574
2011-07-06 12:39:26 +00:00
Michael Drake
865af5f235
Fix update_box coords when issued from scaled iframe.
...
svn path=/trunk/netsurf/; revision=12573
2011-07-06 11:58:09 +00:00
Michael Drake
5412ae7251
Use prescribed method for discovering browser window position.
...
svn path=/trunk/netsurf/; revision=12572
2011-07-06 10:30:58 +00:00
Michael Drake
9f2ea3be4c
Iframe scrollbars.
...
svn path=/trunk/netsurf/; revision=12571
2011-07-05 20:13:28 +00:00
Michael Drake
1f9b970f57
Set focus browser_window in place_caret.
...
svn path=/trunk/netsurf/; revision=12570
2011-07-04 12:15:21 +00:00
Michael Drake
a6d4f9cb30
Function to find out if browser window has a selection. Front ends should use this API. RISC OS front end updated.
...
svn path=/trunk/netsurf/; revision=12556
2011-07-02 16:43:20 +00:00
Michael Drake
3f485e083d
Minor selection changes.
...
svn path=/trunk/netsurf/; revision=12555
2011-07-02 16:12:00 +00:00
Michael Drake
dde300ea7d
Set selection browser window as before, for now.
...
svn path=/trunk/netsurf/; revision=12553
2011-07-02 12:18:04 +00:00
Chris Young
4147c185c8
When launching multiple URLs from a treeview, allow to open one window with multiple
...
tabs instead of one window per URL. Make compatible frontends do this by default.
svn path=/trunk/netsurf/; revision=12552
2011-07-02 11:41:06 +00:00
Michael Drake
f9566b6405
Set/unset selection context's browser window on content_open/content_close.
...
svn path=/trunk/netsurf/; revision=12551
2011-07-01 11:16:43 +00:00
Michael Drake
9c4b9f5c94
Fix up RISC OS front end.
...
svn path=/trunk/netsurf/; revision=12545
2011-06-30 17:51:58 +00:00
Michael Drake
eddae6af06
Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
...
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
416a6452d5
Function to get root browser window.
...
svn path=/trunk/netsurf/; revision=12531
2011-06-28 21:09:57 +00:00
Michael Drake
3128ecf2a5
Unify content_redraw params in content_redraw_data struct. Core and RISC OS content handlers updated.
...
svn path=/trunk/netsurf/; revision=12529
2011-06-28 20:17:39 +00:00
Michael Drake
b57c2e0bee
Move rectangle type to utils/types.h
...
svn path=/trunk/netsurf/; revision=12525
2011-06-28 15:18:48 +00:00
Michael Drake
25e7c86fb7
Make search_term_highlighted a core function.
...
svn path=/trunk/netsurf/; revision=12524
2011-06-28 12:30:56 +00:00
Michael Drake
5c9155e606
Core form select widget now associated with HTML contents. Don't use current_redraw_browser for select widget redraw. Fixes core select widget in iframes.
...
svn path=/trunk/netsurf/; revision=12522
2011-06-28 11:15:39 +00:00
Michael Drake
c9fe1b604e
HTML contents manage box scrollbars, rather than browser_windows.
...
svn path=/trunk/netsurf/; revision=12519
2011-06-27 22:21:15 +00:00
Michael Drake
a06bde0232
Remove obsolete comment.
...
svn path=/trunk/netsurf/; revision=12517
2011-06-27 18:35:39 +00:00
Michael Drake
625c685f41
browser_window_mouse_drag_end is private now, and can be removed once contents handle all their own interaction.
...
svn path=/trunk/netsurf/; revision=12516
2011-06-27 18:19:47 +00:00
Michael Drake
23eea5de9f
Fix bw->drag_type to be aware of remaining drag types.
...
svn path=/trunk/netsurf/; revision=12514
2011-06-27 17:29:49 +00:00
Michael Drake
c587cfe9de
Iframes inherit parent browser window's scale.
...
svn path=/trunk/netsurf/; revision=12505
2011-06-24 13:05:57 +00:00
Michael Drake
dea7683985
Remove gui_window_set_scale().
...
svn path=/trunk/netsurf/; revision=12502
2011-06-24 12:01:24 +00:00
Michael Drake
5fb349e4de
Fix crash when scaling pages with iframes on RISC OS.
...
svn path=/trunk/netsurf/; revision=12501
2011-06-24 11:50:06 +00:00
Michael Drake
5a4c8916ef
If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust.
...
svn path=/trunk/netsurf/; revision=12497
2011-06-24 09:30:33 +00:00
Michael Drake
dd653479b2
Ensure top level browser window has focus by default.
...
svn path=/trunk/netsurf/; revision=12495
2011-06-22 13:52:56 +00:00
Michael Drake
3c74989841
Purge more favicon remnants.
...
svn path=/trunk/netsurf/; revision=12494
2011-06-22 10:27:20 +00:00
Michael Drake
db45778fb1
Give the selection context the current bw when it's created.
...
svn path=/trunk/netsurf/; revision=12485
2011-06-16 09:07:13 +00:00
Michael Drake
543a08ca22
Delete redundant function declaration.
...
svn path=/trunk/netsurf/; revision=12480
2011-06-15 13:46:41 +00:00
Michael Drake
142cee6f55
Fix paste in form inputs in iframes.
...
svn path=/trunk/netsurf/; revision=12479
2011-06-15 12:30:13 +00:00
Michael Drake
5192bf85fa
Remove logging.
...
svn path=/trunk/netsurf/; revision=12478
2011-06-15 12:21:01 +00:00
Michael Drake
f368c3c849
Improve scale with iframes.
...
svn path=/trunk/netsurf/; revision=12477
2011-06-15 11:46:07 +00:00
Michael Drake
319a90bff7
Only call gui_window_new_content for browser windows with gui windows.
...
svn path=/trunk/netsurf/; revision=12475
2011-06-14 20:48:58 +00:00
Michael Drake
53f4da3420
First pass at core iframes. Currently lacking scrollbars.
...
svn path=/trunk/netsurf/; revision=12474
2011-06-14 20:00:18 +00:00
Chris Young
861137d3b2
Disable extra logging. Here treeview init is down to ~5 seconds from ~20.
...
Still more room for improvement, as adding nodes appears to recalculate the widths of
all the parent nodes even though (the text and icon of) those haven't changed.
svn path=/trunk/netsurf/; revision=12463
2011-06-04 21:33:33 +00:00
Chris Young
89937f8b71
Don't expand cookies tree by default
...
svn path=/trunk/netsurf/; revision=12462
2011-06-04 21:26:31 +00:00
Chris Young
522ddf0416
Rudimentary text width caching to speed up many duplicate "Today", "Yesterday" calcs
...
svn path=/trunk/netsurf/; revision=12461
2011-06-04 21:10:39 +00:00
Chris Young
48a0663999
Remove at least one instance of unnecessary recalculation
...
svn path=/trunk/netsurf/; revision=12460
2011-06-04 20:46:08 +00:00
Chris Young
24d0a07f8f
Extra logging to track the source of node size calculations
...
A couple of minor changes to prevent unnecessary recalculation
svn path=/trunk/netsurf/; revision=12459
2011-06-04 20:22:24 +00:00
Michael Drake
a79ef8cffb
Remove redundant code.
...
svn path=/trunk/netsurf/; revision=12458
2011-06-04 14:38:50 +00:00
Michael Drake
4db9dbe744
Purge unused variable.
...
svn path=/trunk/netsurf/; revision=12425
2011-05-17 09:05:49 +00:00
Vincent Sanders
c7e943c7d2
check for dereference of teh right value
...
svn path=/trunk/netsurf/; revision=12424
2011-05-17 07:28:15 +00:00