Commit Graph

6453 Commits

Author SHA1 Message Date
Chris Young
b415e6dabc Update to new API
svn path=/trunk/netsurf/; revision=12557
2011-07-02 17:41:25 +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
51f6d5475b Set bw for textplain selection.
svn path=/trunk/netsurf/; revision=12554
2011-07-02 12:34:35 +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
Ole Loots
5639e1e047 removed preparations for frames. (will be handled within the core)
svn path=/trunk/netsurf/; revision=12550
2011-06-30 20:20:27 +00:00
Chris Young
e9d4b68e28 Formatting changes
svn path=/trunk/netsurf/; revision=12549
2011-06-30 19:25:03 +00:00
Ole Loots
53e1631d7a adjusted typo, fixed compilation of setting knockout option during runtime.
svn path=/trunk/netsurf/; revision=12548
2011-06-30 19:16:11 +00:00
Chris Young
6fd47035c1 Fix compilation
svn path=/trunk/netsurf/; revision=12547
2011-06-30 18:58:52 +00:00
Michael Drake
fb4955e162 Make text/plain contents aware of the browser window they are opened in.
svn path=/trunk/netsurf/; revision=12546
2011-06-30 18:27:24 +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
3bb83e0349 Add file missing from r12543.
svn path=/trunk/netsurf/; revision=12544
2011-06-30 15:49:12 +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
John Mark Bell
a5dc6b9e66 Less broken WWW-Authenticate header parser
svn path=/trunk/netsurf/; revision=12542
2011-06-29 23:32:53 +00:00
Michael Drake
8577895dc1 Fix up amiga content handlers.
svn path=/trunk/netsurf/; revision=12541
2011-06-29 08:33:28 +00:00
Michael Drake
673a51a0e5 Fix up apple image content handler.
svn path=/trunk/netsurf/; revision=12540
2011-06-29 08:15:52 +00:00
Michael Drake
50bd90c84a Fix up Artworks content handler.
svn path=/trunk/netsurf/; revision=12536
2011-06-28 21:49:46 +00:00
Michael Drake
d284ac14d9 Front end gets root browser window on notification of scrollbar widget drag start.
svn path=/trunk/netsurf/; revision=12533
2011-06-28 21:16:37 +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
4d19457c59 Prevent iframes with display:inline and percentage width from getting a width of AUTO during minmax layout phase.
svn path=/trunk/netsurf/; revision=12528
2011-06-28 19:42:31 +00:00
Chris Young
079c138721 Update shortcuts
svn path=/trunk/netsurf/; revision=12527
2011-06-28 17:50:07 +00:00
Chris Young
6d0400a0ba Update from Samir Hawamdeh
svn path=/trunk/netsurf/; revision=12526
2011-06-28 17:49:49 +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
ee5dfee544 Remove search function that's implemented in the core.
svn path=/trunk/netsurf/; revision=12523
2011-06-28 12:18: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
e70d4947ea Use interface for turning off drag.
svn path=/trunk/netsurf/; revision=12521
2011-06-28 10:07:53 +00:00
Michael Drake
f8462b3344 Pass the content object down through html_redraw. Make overflow scrollbars used content for scrollbar, rather than browser window. Fixes overflow scrollbars in iframes.
svn path=/trunk/netsurf/; revision=12520
2011-06-28 08:56:37 +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
6f215b1f02 Enable content redraw request without hlcache_handle.
svn path=/trunk/netsurf/; revision=12518
2011-06-27 21:37:37 +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
2bedf4d88f Frond ends signal end of drag with call to browser_window_mouse_track.
svn path=/trunk/netsurf/; revision=12515
2011-06-27 17:45:17 +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
311080ff54 Simplify browser_window_mouse_drag_end calls.
svn path=/trunk/netsurf/; revision=12513
2011-06-27 16:16:21 +00:00
Ole Loots
dccf6e4280 Revert remove of cflib and further usage of xaaes nkcc routines. It resulted in not-working page up / page down and up / down keys.
svn path=/trunk/netsurf/; revision=12510
2011-06-25 20:03:28 +00:00
Ole Loots
b897861cdd avoid usage of uninitialized variable.
svn path=/trunk/netsurf/; revision=12509
2011-06-25 19:40:31 +00:00
Ole Loots
d6f5cead52 adjusted comment to match reality.
svn path=/trunk/netsurf/; revision=12508
2011-06-25 19:35:33 +00:00
Ole Loots
3210b6eaf8 small toolbar icon fix.
svn path=/trunk/netsurf/; revision=12507
2011-06-25 19:34:40 +00:00
Chris Young
f747bbb79e Shortcut backspace = go back one page in history
svn path=/trunk/netsurf/; revision=12506
2011-06-25 16:00:02 +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
92323b7808 Code style fix. Thanks Kinnison.
svn path=/trunk/netsurf/; revision=12504
2011-06-24 13:04:05 +00:00
Michael Drake
2fb134bac7 Fix mouse action offsets within scaled iframes.
svn path=/trunk/netsurf/; revision=12503
2011-06-24 12:23:10 +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
0bc058df5c Delete commented out code.
svn path=/trunk/netsurf/; revision=12500
2011-06-24 10:50:43 +00:00
Michael Drake
12be95517e Replace iframe stuff with asserts for now.
svn path=/trunk/netsurf/; revision=12499
2011-06-24 10:48:29 +00:00