Commit Graph

5693 Commits

Author SHA1 Message Date
Michael Drake 0eb65d3344 Add some assert()s.
svn path=/trunk/netsurf/; revision=11144
2010-12-29 20:42:00 +00:00
John Mark Bell a501aeaabe malloc.h is non-standard. Remove it
svn path=/trunk/netsurf/; revision=11141
2010-12-29 18:39:20 +00:00
Michael Drake c154e7242d Fix empty tree rendering.
svn path=/trunk/netsurf/; revision=11135
2010-12-29 16:39:23 +00:00
Michael Drake 0d04658544 When fetching a local file of type data, examine the extension to determine mime type.
svn path=/trunk/netsurf/; revision=11123
2010-12-27 14:03:45 +00:00
James Bursa 841b458f7a Add LOG() to warn_user().
svn path=/trunk/netsurf/; revision=11122
2010-12-26 18:51:24 +00:00
James Bursa 5b754b8b1f Add LOG() to warn_user() and die(). Full implementation still needed.
svn path=/trunk/netsurf/; revision=11121
2010-12-26 18:48:11 +00:00
Michael Drake 873fa857a7 Use colour options for treeview rendering.
svn path=/trunk/netsurf/; revision=11118
2010-12-21 17:01:30 +00:00
Michael Drake 710f0ce844 Add COLOUR option type. Add some colour options for rendering core interfaces.
svn path=/trunk/netsurf/; revision=11117
2010-12-21 17:00:44 +00:00
Chris Young 2d54d7f798 Pass space down to ami_add_to_clipboard
svn path=/trunk/netsurf/; revision=11116
2010-12-20 19:06:57 +00:00
Daniel Silverstone b85b1f5ba5 Make fetch.c use new RING_COUNTBYLWCHOST
svn path=/trunk/netsurf/; revision=11108
2010-12-20 10:32:15 +00:00
Daniel Silverstone 8f734e5b7a Add RING_COUNTBYLWCHOST
svn path=/trunk/netsurf/; revision=11107
2010-12-20 10:31:59 +00:00
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