Daniel Silverstone
7d032d5fb7
Handy way to intersperse GDB when testing nsgtk
...
svn path=/trunk/netsurf/; revision=11106
2010-12-20 10:31:23 +00:00
Chris Young
699cf4ed10
Don't show a drag icon for text selection
...
svn path=/trunk/netsurf/; revision=11105
2010-12-20 00:21:47 +00:00
Michael Drake
9a0ecd3d8a
Fix framebuffer build.
...
svn path=/trunk/netsurf/; revision=11104
2010-12-19 19:08:44 +00:00
Steve Fryatt
333d202068
Remove unnecessary duplicate parameter.
...
svn path=/trunk/netsurf/; revision=11103
2010-12-19 18:22:09 +00:00
Steve Fryatt
ae920bfb34
Track pointer on all treeview windows.
...
svn path=/trunk/netsurf/; revision=11102
2010-12-19 18:16:14 +00:00
Chris Young
ec1e826e3b
Squash warning
...
svn path=/trunk/netsurf/; revision=11101
2010-12-19 17:33:16 +00:00
Chris Young
87592394cf
Prefill incorrect login details
...
svn path=/trunk/netsurf/; revision=11100
2010-12-19 17:18:17 +00:00
Michael Drake
1aad3b71c0
Enable knockout for tree redraw.
...
svn path=/trunk/netsurf/; revision=11099
2010-12-19 16:14:06 +00:00
Chris Young
60e8d57209
Dynamically enable/disable buttons and menus
...
svn path=/trunk/netsurf/; revision=11098
2010-12-19 12:49:41 +00:00
Steve Fryatt
0bd39eed21
Allow tree drag status to reflect drags within textareas.
...
svn path=/trunk/netsurf/; revision=11097
2010-12-19 12:27:33 +00:00
Chris Young
3d62709e60
Allow snapshotting of treeview windows
...
svn path=/trunk/netsurf/; revision=11096
2010-12-19 12:04:35 +00:00
Steve Fryatt
2820ff0d6f
Use dashed boxes for treeview drags.
...
svn path=/trunk/netsurf/; revision=11095
2010-12-19 10:45:13 +00:00
Steve Fryatt
6cc0f1b24b
Give macro expansion less potential for ambiguity.
...
svn path=/trunk/netsurf/; revision=11094
2010-12-19 10:33:14 +00:00
Chris Young
de5cbf9ee4
Make drag scrolls work more reliably and only within 10px of render area
...
svn path=/trunk/netsurf/; revision=11093
2010-12-18 23:34:56 +00:00
Michael Drake
75c82c33e6
Draw tree background when there are no nodes.
...
svn path=/trunk/netsurf/; revision=11092
2010-12-18 16:35:52 +00:00
Chris Young
00a18370e0
Stop empty mouse events being reported, remove spurious extra button presses
...
svn path=/trunk/netsurf/; revision=11091
2010-12-17 20:30:50 +00:00
Steve Fryatt
cef10de11b
Don\'t pass spurious drag event data to the core treeview.
...
svn path=/trunk/netsurf/; revision=11090
2010-12-17 17:13:34 +00:00
Michael Drake
d5b18c69fd
Take some calculations out of line redraw loop and fix rounding error.
...
svn path=/trunk/netsurf/; revision=11089
2010-12-17 14:11:06 +00:00
Michael Drake
74ecfe0036
Simplify text plot position calc.
...
svn path=/trunk/netsurf/; revision=11088
2010-12-17 14:07:33 +00:00
Michael Drake
a01f9508b0
Base treeview line height on text height, unless that's too small for the icon to fit.
...
svn path=/trunk/netsurf/; revision=11087
2010-12-17 13:32:43 +00:00
Rob Kendrick
4f03905955
Move setting of the CSS DPI to before any treeviews are created, from when the first browser window is created.
...
svn path=/trunk/netsurf/; revision=11086
2010-12-17 13:07:38 +00:00
Michael Drake
bb4bda0b3a
When a hotlist entry edit ends by cancelling, rather than confirming the change, end the whole edit and don't pass onto next element for edit.
...
svn path=/trunk/netsurf/; revision=11085
2010-12-17 11:10:22 +00:00
Chris Young
96cb4b40e7
Allow double-clicks in main browser and middle button double-clicks in treeview
...
svn path=/trunk/netsurf/; revision=11083
2010-12-16 23:28:33 +00:00
Chris Young
ddd677e72a
Copy shared libraries too
...
svn path=/trunk/netsurf/; revision=11082
2010-12-16 23:04:30 +00:00
Steve Fryatt
689123822a
Apply simple weighted averaging to download rate calculations.
...
svn path=/trunk/netsurf/; revision=11081
2010-12-16 22:09:10 +00:00
Michael Drake
d2b8d00cd3
Remove redundant code from drag browser_mouse_state setup.
...
svn path=/trunk/netsurf/; revision=11080
2010-12-16 21:38:42 +00:00
Michael Drake
ccdafcc4d7
Document RISC OS front end's setup of browser_mouse_state.
...
svn path=/trunk/netsurf/; revision=11079
2010-12-16 21:33:19 +00:00
Michael Drake
4960449811
Don't require CTRL or ALT for treeview window to claim input focus on click.
...
svn path=/trunk/netsurf/; revision=11078
2010-12-16 21:31:14 +00:00
Michael Drake
3a2df10787
Make drags less jerky.
...
svn path=/trunk/netsurf/; revision=11077
2010-12-16 20:46:13 +00:00
Michael Drake
ad7283780d
When we get a motion notify event, only set of a drag in the core if the mouse has moved at least 5px from where it was pressed.
...
svn path=/trunk/netsurf/; revision=11076
2010-12-16 20:30:10 +00:00
Michael Drake
b067265bd3
Set last_{x|y} coords on press event so they are not used uninitialised in motion_notify_event.
...
svn path=/trunk/netsurf/; revision=11075
2010-12-16 20:13:44 +00:00
Michael Drake
c84ab4b21e
Pass adjust double clicks to the core too.
...
svn path=/trunk/netsurf/; revision=11074
2010-12-16 19:26:23 +00:00
John Mark Bell
bcfb508f86
User may have no handle if it was the target of an iterator when the handle was aborted
...
svn path=/trunk/netsurf/; revision=11071
2010-12-16 00:18:41 +00:00
Michael Drake
1248c21a0e
A double click fires a click as well.
...
svn path=/trunk/netsurf/; revision=11070
2010-12-16 00:04:51 +00:00
John Mark Bell
c96f682d9d
Fix bug #3138151 : shut down caches before killing off fetch layer
...
svn path=/trunk/netsurf/; revision=11069
2010-12-16 00:03:57 +00:00
Michael Drake
064c8e50d2
Improve double click handling.
...
svn path=/trunk/netsurf/; revision=11068
2010-12-15 23:55:39 +00:00
John Mark Bell
c675c3552d
Ensure that we clean up after the client even if they report an error from their notification callback.
...
svn path=/trunk/netsurf/; revision=11067
2010-12-15 22:59:19 +00:00
Michael Drake
a2a0e25382
Ensure mouse button press events are sent to the core for treeview type windows. Keep track of both select and adjust drags, and inform the core which is being held during a drag.
...
svn path=/trunk/netsurf/; revision=11066
2010-12-15 22:02:27 +00:00
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
95870c95dd
Give caret for alt and ctrl since both start an edit.
...
svn path=/trunk/netsurf/; revision=11064
2010-12-15 21:53:38 +00:00
John Mark Bell
d745dae903
Make llcache_object_user objects distinct from llcache_handles.
...
This allows us to be robust against clients completely changing the contents of the user list underneath us during iteration.
Fix llcache_send_event_to_users to also be robust against the user list changing under it.
svn path=/trunk/netsurf/; revision=11063
2010-12-15 21:15:49 +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
f6b0a33fd2
make the history, download, hotlist and cookies initialisation actually use the generic glade file finding code instead of their own thing and erroring out.
...
svn path=/trunk/netsurf/; revision=11055
2010-12-14 18:54:20 +00:00
John Mark Bell
b550f27f4b
Fix OpenBSD build (credit: Anthony Bentley)
...
svn path=/trunk/netsurf/; revision=11054
2010-12-14 08:38:20 +00:00