Michael Drake
cbe24279f8
Don't give up on a mouse action because BROWSER_MOUSE_PRESS_{1|2} is set. The RISC OS front end sets them for action-on-button-press (rather than release) behaviour.
...
svn path=/trunk/netsurf/; revision=11065
2010-12-15 21:58:01 +00:00
Michael Drake
0e56e9c21b
Possible fix for issue reported by Chris Young.
...
svn path=/trunk/netsurf/; revision=11062
2010-12-15 19:48:59 +00:00
Michael Drake
20aedef6d8
Debug function for dumping browser_mouse_state.
...
svn path=/trunk/netsurf/; revision=11061
2010-12-15 18:05:25 +00:00
Michael Drake
4b64e92194
Only draw caret if there is no selection.
...
svn path=/trunk/netsurf/; revision=11060
2010-12-15 15:10:15 +00:00
Michael Drake
b037763e6e
Position text and caret correctly in single line text area. Make caret red so it stands out for now. It should be an OS caret anyway.
...
svn path=/trunk/netsurf/; revision=11059
2010-12-15 14:15:43 +00:00
Michael Drake
bf4968f334
Much faster redraw of treeviews.
...
svn path=/trunk/netsurf/; revision=11058
2010-12-15 10:38:41 +00:00
Michael Drake
f474bc06bf
Further tidy up of node redraw.
...
svn path=/trunk/netsurf/; revision=11057
2010-12-15 01:05:10 +00:00
Michael Drake
771b0e3b8b
Pass clip rectangle around tree redraw. Update clipping area with respect to what's being plotted. Simplify tree redraw and add more comments.
...
svn path=/trunk/netsurf/; revision=11056
2010-12-15 00:32:37 +00:00
Vincent Sanders
60c840628f
Small refactor to change icon names to being passed in from frontends instead of core treeview globals
...
svn path=/trunk/netsurf/; revision=11053
2010-12-14 00:18:24 +00:00
Michael Drake
2e249ac9e6
Set text position with respect to TREE_LINE_HEIGHT.
...
svn path=/trunk/netsurf/; revision=11043
2010-12-12 22:37:51 +00:00
Michael Drake
f777a58ec5
Set expansion toggle position with respect to TREE_LINE_HEIGHT.
...
svn path=/trunk/netsurf/; revision=11042
2010-12-12 21:24:35 +00:00
Michael Drake
d1d3a65b06
Set icon position with respect to TREE_LINE_HEIGHT.
...
svn path=/trunk/netsurf/; revision=11041
2010-12-12 21:13:55 +00:00
Michael Drake
eabf7e8afd
Remove redundant line plots, from tree_draw_node() and add comments.
...
svn path=/trunk/netsurf/; revision=11040
2010-12-12 20:39:46 +00:00
Michael Drake
cff0709528
More "NetSurfy" colours. Note treeview restyling is still in progress; this will change.
...
svn path=/trunk/netsurf/; revision=11039
2010-12-12 16:48:26 +00:00
Michael Drake
55d9191bb5
Create some tree plot styles and use them.
...
svn path=/trunk/netsurf/; revision=11038
2010-12-12 16:45:41 +00:00
Michael Drake
86b8057c60
Remove pointless rectangle fill under text.
...
svn path=/trunk/netsurf/; revision=11037
2010-12-12 16:32:39 +00:00
Michael Drake
18b2824d6c
Rename usages of "furniture" which applied to expansion toggle boxes to "expansion_toggle". Now "furniture" refers exclusively to all tree furniture. Start commenting things.
...
svn path=/trunk/netsurf/; revision=11036
2010-12-12 14:30:33 +00:00
Michael Drake
79b87832a4
Rename tree_draw_node_expansion() to tree_draw_node_expansion_toggle(). Pedantic wrap/indentation changes in tree_draw_node.
...
svn path=/trunk/netsurf/; revision=11035
2010-12-12 13:55:25 +00:00
Michael Drake
a7240fd6a9
Fix TREE_ICON_SIZE to match size of actual icons. Fix clip rectangle for icon redraw.
...
svn path=/trunk/netsurf/; revision=11034
2010-12-12 13:01:27 +00:00
Michael Drake
4c5a0d845c
Use TREE_LINE_HEIGHT define instead of magic 20 everywhere.
...
svn path=/trunk/netsurf/; revision=11033
2010-12-12 12:45:12 +00:00
Michael Drake
ff9bd6540c
Clearer font styles.
...
svn path=/trunk/netsurf/; revision=11032
2010-12-12 12:14:03 +00:00
Rob Kendrick
35daa32e80
Change styles used for plotting local history to make it more obvious what the current page is, along with other minor improvements.
...
svn path=/trunk/netsurf/; revision=11008
2010-12-05 17:03:37 +00:00
Michael Drake
bd39b8f0d7
Retain edits to hotlist entry titles.
...
svn path=/trunk/netsurf/; revision=11006
2010-12-05 16:09:52 +00:00
Michael Drake
5eaeaed909
Remove Hubbub and Wapcaplet initialisation and finalisation.
...
svn path=/trunk/netsurf/; revision=10980
2010-12-04 20:14:33 +00:00
Michael Drake
8e07f9388c
More useful comment about what bw->scroll is for.
...
svn path=/trunk/netsurf/; revision=10936
2010-11-03 16:07:30 +00:00
Chris Young
835d033e7b
Amiga icon loader. Treeviews will now use the user's icons for content types.
...
svn path=/trunk/netsurf/; revision=10925
2010-10-30 14:23:38 +00:00
Chris Young
755e45028d
If a drag is in progress that the tree can't handle, it is a TREE_UNKNOWN_DRAG not a
...
TREE_NO_DRAG, as the platform code might be able to deal with it.
svn path=/trunk/netsurf/; revision=10920
2010-10-30 10:43:14 +00:00
Chris Young
f2c834ac51
Only set TREE_MOVE_DRAG is the tree is TREE_MOVABLE
...
svn path=/trunk/netsurf/; revision=10919
2010-10-30 09:23:03 +00:00
Chris Young
25e9b79f5c
Allow getting the tree's drag property. This ensures we can see whether the current
...
drag is something we might need to display an icon for.
svn path=/trunk/netsurf/; revision=10917
2010-10-29 17:40:36 +00:00
John Mark Bell
f309236fa8
Fix bug 3095552: don't escape URLs after editing. (credit: Martin Bazley)
...
svn path=/trunk/netsurf/; revision=10911
2010-10-27 20:15:01 +00:00
John Mark Bell
43e5a16b34
Squash warning
...
svn path=/trunk/netsurf/; revision=10903
2010-10-24 16:39:16 +00:00
Chris Young
c4ebfa24d8
Don't expand the oldest global history entries by default.
...
svn path=/trunk/netsurf/; revision=10902
2010-10-24 16:24:37 +00:00
Chris Young
c5b9e45960
Make CR also stop and save tree edits
...
svn path=/trunk/netsurf/; revision=10892
2010-10-17 13:00:51 +00:00
Chris Young
c052d534e7
Add some missing CONTENT_WEBPs. WebP images in HTML docs now display correctly.
...
svn path=/trunk/netsurf/; revision=10890
2010-10-16 15:26:28 +00:00
Vincent Sanders
1dbbbaf64a
ensure iframe stuff does not de-reference null pointers
...
svn path=/trunk/netsurf/; revision=10884
2010-10-14 00:59:39 +00:00
Steve Fryatt
73cf86e437
- Request correct redraw area when changing a node's size in tree_handle_node_changed().
...
- Update parameter documentation to match function definitions.
svn path=/trunk/netsurf/; revision=10876
2010-10-10 09:10:44 +00:00
Vincent Sanders
45b2ab2d88
If the cookies tree has not been initialised do not allow operations to be scheduled upon it.
...
svn path=/trunk/netsurf/; revision=10868
2010-10-06 21:46:06 +00:00
John Mark Bell
6173bb0e6c
Merge treeview-redux to trunk
...
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
James Bursa
76a8c043a6
Simplify a browser_window_go_post() to browser_window_go().
...
svn path=/trunk/netsurf/; revision=10762
2010-09-12 18:27:59 +00:00
Vincent Sanders
bda534e12a
Clean up how GTK frontend finds resources
...
svn path=/trunk/netsurf/; revision=10668
2010-07-28 15:22:44 +00:00
Chris Young
004aee8281
Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging
...
selections within NetSurf window to text fields (does not work across windows).
todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is
putting something on the clipboard which causes a crash when pasting it back
svn path=/trunk/netsurf/; revision=10660
2010-07-24 16:39:37 +00:00
Michael Drake
513793a060
Fix inventory file leafname.
...
svn path=/trunk/netsurf/; revision=10624
2010-07-09 21:36:55 +00:00
Chris Young
d6eb28d5de
Replace unnecessarily complicated path concatenation with something simpler and
...
easily adaptable to different platform path structures.
svn path=/trunk/netsurf/; revision=10621
2010-07-09 19:45:44 +00:00
John Mark Bell
5bebf2f2fc
Merge branches/vince/netsurf-fbtk-rework to trunk.
...
svn path=/trunk/netsurf/; revision=10605
2010-07-07 18:08:17 +00:00
Michael Drake
f6faa20a37
In switch statements add default branch for unknown enum values, with assert.
...
svn path=/trunk/netsurf/; revision=10603
2010-07-06 21:09:20 +00:00
Vincent Sanders
bd6c884020
Fix up confusing formatting
...
svn path=/trunk/netsurf/; revision=10586
2010-06-28 11:31:51 +00:00
Michael Drake
0642cdafc2
Fix mouse.h file description. Add iframe comment.
...
svn path=/trunk/netsurf/; revision=10571
2010-06-09 09:53:07 +00:00
Michael Drake
b010a25771
+ Refactor input handling from browser window code into content
...
handlers.
+ Disentangle all box tree manipulation from browser window
code and put it where it belongs.
+ Move other content specific and other irrelevant code from
browser window handling to appropriate places.
+ Put mouse state enum in new mouse header, since it's not just
used by browser window code, and it is used by treeview
windows on the treeview branch.
svn path=/trunk/netsurf/; revision=10561
2010-06-04 09:35:08 +00:00
John Mark Bell
000e6ad3de
It turns out that realloc(ptr, 0) --> free(ptr) is not actually required by the C standard (whereas realloc(NULL, size) --> malloc(size) is).
...
Therefore, explicitly model the behaviour expected by our libraries (that realloc of 0 size is equivalent to free).
svn path=/trunk/netsurf/; revision=10524
2010-04-30 07:00:58 +00:00
Vincent Sanders
2fd1476f8c
The schedule_run function is only called by the frontends so remove it from the core header and add its definition to the frontend headers.
...
Alter the framebuffer schedule_run to return the time untill the next event.
svn path=/trunk/netsurf/; revision=10512
2010-04-28 22:39:37 +00:00