Commit Graph

6494 Commits

Author SHA1 Message Date
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
1832155b7c Caret position is already scaled in core.
svn path=/trunk/netsurf/; revision=12597
2011-07-11 10:34:30 +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
John Mark Bell
c54b6aabaa Direct access of png_structp members is deprecated
svn path=/trunk/netsurf/; revision=12594
2011-07-07 22:41:23 +00:00
Michael Drake
2d1f2ee06a Remove remaining internal browser window usage from render/textinput.
svn path=/trunk/netsurf/; revision=12593
2011-07-07 20:22:57 +00:00
Michael Drake
9f0d5f9dcd Remove unused structure.
svn path=/trunk/netsurf/; revision=12592
2011-07-07 19:21:05 +00:00
Michael Drake
5560356e0e Remove unnecessary #include.
svn path=/trunk/netsurf/; revision=12591
2011-07-07 19:14:31 +00:00
Michael Drake
12d826a050 Function namespacing.
svn path=/trunk/netsurf/; revision=12590
2011-07-07 19:12:53 +00:00
Michael Drake
50f52cfc51 Remove ghost caret.
svn path=/trunk/netsurf/; revision=12589
2011-07-07 18:38:35 +00:00
Michael Drake
e9b0a3ffb4 Fix build.
svn path=/trunk/netsurf/; revision=12588
2011-07-07 18:35:03 +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
b9ff7f39ae Remove pointless content_msg_data.
svn path=/trunk/netsurf/; revision=12585
2011-07-06 16:01:53 +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
f8fdd8faac Fix up Windows for r12574 API change.
svn path=/trunk/netsurf/; revision=12583
2011-07-06 12:59:47 +00:00
Michael Drake
b9544e7e5d Fix up RISC OS for r12574 API change.
svn path=/trunk/netsurf/; revision=12582
2011-07-06 12:59:26 +00:00
Michael Drake
ad205c1d66 Fix up Monkey for r12574 API change.
svn path=/trunk/netsurf/; revision=12581
2011-07-06 12:56:31 +00:00
Michael Drake
639e2dbfef Fix up GTK for r12574 API change.
svn path=/trunk/netsurf/; revision=12580
2011-07-06 12:53:23 +00:00
Michael Drake
c9ff2da701 Fix up Framebuffer for r12574 API change.
svn path=/trunk/netsurf/; revision=12579
2011-07-06 12:51:11 +00:00
Michael Drake
810fb1a919 Fix up Cocoa for r12574 API change.
svn path=/trunk/netsurf/; revision=12578
2011-07-06 12:48:45 +00:00
Michael Drake
1b03b5dfae Fix up BeOS for r12574 API change.
svn path=/trunk/netsurf/; revision=12577
2011-07-06 12:45:38 +00:00
Michael Drake
1e43cd7f76 Fix up Atari for r12574 API change.
svn path=/trunk/netsurf/; revision=12576
2011-07-06 12:42:45 +00:00
Michael Drake
ed8778ddb3 Fix up Amiga for r12574 API change.
svn path=/trunk/netsurf/; revision=12575
2011-07-06 12:42:17 +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
Chris Young
b1e425a967 Correctly select FILLPEN or FOREGROUNDPEN for scroller knob colour
svn path=/trunk/netsurf/; revision=12569
2011-07-03 18:20:18 +00:00
Chris Young
d253daa020 Pick scroller gadget colours from the screen's DrawInfo pens
svn path=/trunk/netsurf/; revision=12568
2011-07-03 17:22:23 +00:00
Michael Drake
a7d41d3ac2 Pass correct plotter table for Drawfile export.
svn path=/trunk/netsurf/; revision=12567
2011-07-03 15:03:13 +00:00
Chris Young
4e65935385 Fix an issue with GETTITLE returning an incorrect string on occasion
Fix warnings

svn path=/trunk/netsurf/; revision=12566
2011-07-03 15:01:56 +00:00
Chris Young
b6cc0550cd Don't crash when freeing diskobject
svn path=/trunk/netsurf/; revision=12565
2011-07-03 11:54:43 +00:00
Chris Young
9d30f67d54 Fix AppIcons for non-HTML contents
svn path=/trunk/netsurf/; revision=12564
2011-07-03 11:47:54 +00:00
Chris Young
aa8e6de67d Make AmiDock icon behave a little more sensibly when all windows are iconified.
svn path=/trunk/netsurf/; revision=12563
2011-07-03 11:20:00 +00:00
Chris Young
e3447be7a3 Iconfication; only enabled when running on WB screen at present
svn path=/trunk/netsurf/; revision=12562
2011-07-03 11:05:18 +00:00
Chris Young
bb7408a56e When opening new tabs next to the active one, open them sequentially until the tab is
switched away from.  This is more akin to how Firefox etc do it.  Make this the
default.

svn path=/trunk/netsurf/; revision=12561
2011-07-02 22:40:45 +00:00
Chris Young
18ca27a56f Don't prompt for build selection if there is no static build present
svn path=/trunk/netsurf/; revision=12560
2011-07-02 22:21:20 +00:00
Chris Young
bdc0d994c1 Add an option to open new tabs next to the current tab. Needs some additional logic
as opening multiple tabs results in the new tabs being in reverse order to that
expected.

svn path=/trunk/netsurf/; revision=12559
2011-07-02 22:04:51 +00:00
Chris Young
910c6d314f Put a search icon where the old search favicon was
svn path=/trunk/netsurf/; revision=12558
2011-07-02 19:38:54 +00:00
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