Commit Graph

8688 Commits

Author SHA1 Message Date
Michael Drake
0f08d885a0 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2013-01-15 19:43:32 +00:00
Michael Drake
348e9789a4 Add scrollbars to textarea, and improve scrolling to try to keep caret in centre. Currently the scrollbars are mostly decoration, although they show accuratly where you are scrolled to in the area. TODO: Pass mouse input to scrollbars. 2013-01-15 19:40:32 +00:00
Chris Young
78e956607f Don't busy the pointer when removing the caret - it's pointless and flickery 2013-01-15 19:23:20 +00:00
Ole Loots
8d35a11cf3 Commented debug output 2013-01-15 01:54:54 +01:00
Ole Loots
ff7208c907 Menu Accelerators where not parsed. 2013-01-15 01:54:18 +01:00
Ole Loots
4f64d85dfa Make toolbar height configurable,
started to use extended AES Object types.
2013-01-15 01:31:35 +01:00
Michael Drake
4e756f6088 Remove architecture from UA string. 2013-01-14 13:59:07 +00:00
Michael Drake
96264ca71e Use right padding. Thanks jmb. 2013-01-14 12:01:23 +00:00
Michael Drake
700aea8b08 Fix caret removal redraw to take account of border width. Fix scroll_visible to take account of border width in vertical scroll. 2013-01-14 11:46:56 +00:00
Ole Loots
a0227890e9 Further work on search in browser window. 2013-01-14 01:01:22 +01:00
Michael Drake
2b7bc02961 Implement most of the styling needed for HTML. Allow caret to be hidden. 2013-01-13 23:01:29 +00:00
John-Mark Bell
a6b117fcb4 Fix 3556638: can't use SpriteExtend version number to detect alpha sprite support any more. 2013-01-13 21:50:20 +00:00
Chris Young
6975360e1c Disable compositing if simple refresh is enabled; set it back to "like WB" if simple refresh is disabled. 2013-01-13 19:19:59 +00:00
Chris Young
8625933812 Expand the damaged area rectangle by one pixel each side to stop missing lines 2013-01-13 19:11:48 +00:00
Chris Young
e7ef916b53 Prevent deadlock during simple refresh damaged area redraw 2013-01-13 19:06:51 +00:00
John-Mark Bell
a2e67922d5 Fix 2576557: prepend '!' to target leafname if preparing a full save. 2013-01-13 18:45:05 +00:00
John-Mark Bell
4e7edf00e2 Fix 1912552: move FontRemove into ro_gui_cleanup() 2013-01-13 18:18:49 +00:00
John-Mark Bell
6e09ff691b Consult internal mimemap before consulting MimeMap module. 2013-01-13 17:54:11 +00:00
John-Mark Bell
8e66adaade Avoid calling bitmap_modified with NULL. 2013-01-13 17:14:10 +00:00
Michael Drake
716b50062b Update for new textarea API. 2013-01-13 15:16:13 +00:00
Michael Drake
740559ab52 Rewrite redraw to handle selection properly. (Now text can change colour inside selection, rather than just rendering a rectangle under the normal line of text. This removes colour restrictions, allowing e.g. inversion for selected text.) 2013-01-13 14:51:26 +00:00
Michael Drake
6938efc2a0 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2013-01-13 00:09:50 +00:00
Michael Drake
c7a37392e4 Add background colour to textarea_redraw API. Add source comments. 2013-01-12 20:59:32 +00:00
John-Mark Bell
a6b08c674f Fix handling of junk input 2013-01-12 20:57:01 +00:00
Michael Drake
5124b8a02a Add textarea_setup struct to textarea_create API. 2013-01-12 20:46:01 +00:00
Chris Young
453301f961 Fix fast scroll up 2013-01-12 14:06:48 +00:00
John-Mark Bell
261528747c Remove code that hasn't been used since 2004. 2013-01-12 02:35:09 +00:00
Ole Loots
badc87f343 Use windowes objc_w* and form_w* functions,
this should respect the window area, but
it doesn't.
2013-01-11 23:53:46 +01:00
Ole Loots
adcbbbe880 Started to move the search form into the browser window. 2013-01-11 02:12:30 +01:00
Michael Drake
ac03806a50 Fix redraw of caret when scroll offsets are non-zero, only caret has moved, and we're not getting a full textarea redraw. 2013-01-10 23:21:47 +00:00
Michael Drake
ac89e52109 Simplify routine to scroll ta so that caret is visible. 2013-01-10 23:20:42 +00:00
Chris Young
d7ddfd6ac3 Make logic compare clearer 2013-01-10 22:07:11 +00:00
Ole Loots
cca5bb4304 Use window_get_grect instead of guiwin_get_grect. 2013-01-10 21:19:05 +01:00
Ole Loots
91c2885b4c Pass mouse button to toolbar event handler 2013-01-10 21:10:07 +01:00
Ole Loots
4245051bd8 Pass mbuttons to toolbar events 2013-01-10 21:09:21 +01:00
Ole Loots
3ce968e36c Prepared for toolbar context menu, fixed declarations. 2013-01-10 21:07:36 +01:00
Michael Drake
ab5d165659 More wrap behaviour improvement. 2013-01-10 19:43:22 +00:00
Michael Drake
694c1e7eea Fix silly. 2013-01-10 18:42:56 +00:00
Michael Drake
d3973b2991 Fix previous caret position redraw. 2013-01-10 18:36:25 +00:00
Michael Drake
2158ef60a8 Improve reflow in multiline textareas. 2013-01-10 17:42:43 +00:00
Michael Drake
eddb0f17d1 Simplfy caret placement and redraw. 2013-01-10 15:06:05 +00:00
Michael Drake
4cad82db9f Fix caret placement in multi-line textareas. 2013-01-10 12:46:33 +00:00
Ole Loots
26cc21c5c0 Fixed WM_FULLED handling 2013-01-10 01:31:36 +01:00
Ole Loots
b6b900920c Added some inline documentation 2013-01-10 01:27:36 +01:00
Chris Young
3269333658 Fix reading of clipboard 2013-01-10 00:00:51 +00:00
Chris Young
6e4c82265c Get CSET using PropChunk rather than StopChunk 2013-01-09 23:42:14 +00:00
Ole Loots
b273046a1c Fixed merges... 2013-01-09 23:31:00 +01:00
Ole Loots
56e1e98e2c Merge branch 'master' into mono/removing-windom-dependency
Conflicts:
	atari/gui.c
2013-01-09 23:02:28 +01:00
Ole Loots
fe49a18332 code formating 2013-01-09 22:59:22 +01:00
Chris Young
6b4ab8141f Remove unused variables 2013-01-09 20:20:54 +00:00