Commit Graph

1804 Commits

Author SHA1 Message Date
Steve Fryatt
20b3d960e5 Remove excessive logging from hotlist code. 2013-12-30 17:04:54 +00:00
Steve Fryatt
5c25b2e47d Provide some interactive help for the URL Bar's favicon and hotlist indicator. 2013-12-30 16:38:27 +00:00
Steve Fryatt
f64c8ed9ef Update the URL hotlist icon when entries are deleted from the hotlist.
This does not currently spot entries which are edited.
2013-12-30 16:20:37 +00:00
Steve Fryatt
6300c7ed90 Tidy up hotlist icon interfaces and make consistant with rest of toolbar. 2013-12-30 15:41:38 +00:00
Steve Fryatt
1019692b88 Fix indentation. 2013-12-30 12:44:07 +00:00
Steve Fryatt
b8dd4f282b Bring hotlist icon event handling in line with other toolbar actions.
- Make hotlist icon return click events to clients.
- Move URL add and remove code into browser window toolbar event handler.
- Pass hotlist icon URL add/remove via RISC OS hotlist interface.
2013-12-30 12:36:24 +00:00
Steve Fryatt
f825521072 Fix hotlist icon in browser URL bar.
- Change URL container to Double/Click/Drag so that mouse actions get passed on.
- Correctly parse return code from hotlist_add_url() to identify successful adds.
2013-12-29 21:39:23 +00:00
Michael Drake
d5062bd9f9 Make view source menu option open the frame source, rather than frameset. 2013-12-19 13:53:33 +00:00
Michael Drake
eea3492266 Update hotlist indicator when current page is added to hotlist. 2013-11-23 15:30:26 +00:00
Michael Drake
24d0916778 Make RO hotlist add function take nsurl. 2013-11-22 18:19:20 +00:00
Michael Drake
68a4fe32d0 Remove forward declarations. 2013-11-22 13:02:45 +00:00
Michael Drake
dbd70b1e47 Flag a TODO. 2013-11-22 12:04:46 +00:00
Michael Drake
d13b91b247 Always show hotlist indicator. 2013-11-22 11:58:53 +00:00
Michael Drake
1ef75e56ed Update URL bar's hotlist indicator as you type. 2013-11-22 11:52:34 +00:00
Michael Drake
6ee760dea3 Start URL bar hotlist indicator button implementation.
- Clicking to hotlist add/remove doesn't work.
- Doesn't update while typing in URL bar.
2013-11-22 11:21:52 +00:00
Michael Drake
1c85232a63 Improve responsiveness of drags. 2013-10-27 18:48:58 +00:00
Vincent Sanders
f29306cc9a improve gtk source save to use gtk overwrite protection feature coverity 1109873 2013-10-25 21:25:56 +01:00
Michael Drake
f5bdd4b109 Move BITMAP_SAVE_FULL_ALPHA out of core to RISC OS front end, where it belongs. 2013-10-03 21:11:54 +01:00
Michael Drake
ff480312fe Remove BITMAP_READY flag. 2013-10-03 21:07:29 +01:00
Michael Drake
138d8c4677 Remove unused structure member. 2013-10-03 20:53:50 +01:00
Michael Drake
c720ecf449 Remove old debug window template. 2013-10-03 20:04:29 +01:00
Michael Drake
92ea400bd3 Optimise treeview redraw. It draws its own background, so don't need white background in the template. 2013-10-03 19:45:02 +01:00
Michael Drake
8850d40cec Remove unused image cache config window template. 2013-10-03 19:34:01 +01:00
Michael Drake
43e4cb2ad7 Remove image memory options. 2013-10-03 19:28:15 +01:00
Michael Drake
143e553593 Remove redundant bitmap compression/decompression/dropping-to-disc. The core now has a converted bitmap cache that is pruned more agressively. 2013-10-03 19:25:01 +01:00
Michael Drake
d041594fd9 Lose forward declaration. 2013-10-03 17:04:19 +01:00
Michael Drake
dba846b5b8 Remove unused function. 2013-10-03 16:56:05 +01:00
Michael Drake
b22adee6fc Add undo (F8) and redo (F9) keys. If caret is not in textarea, F8 is still view source. 2013-10-01 13:40:38 +01:00
Michael Drake
65a658769e Set treeview text size to 12pt. 2013-09-09 22:19:18 +01:00
Michael Drake
f13a11e31f Destroy treeviews. 2013-09-08 19:04:45 +01:00
Steve Fryatt
683ff4d1b5 Remove dotted box from treeview move drags, as core draws location arrow for us. 2013-09-08 16:26:18 +01:00
Steve Fryatt
bf3bea5874 Correct constraining rectangle for treeview drags so that pointer can't leave window. 2013-09-08 16:24:21 +01:00
Steve Fryatt
f3f2c5b481 gui_current_drag_type now only used for data transfer protocol routing; fix button bar drag handler.
Remove all references to gui_current_drag_type outside of gui.c which are not related to routing DataSaveAck messages.
Update button bar drag code so that it uses ro_mouse.
2013-09-08 15:51:29 +01:00
Steve Fryatt
ee8fb6f39f Allow ro_mouse to enable null polls; remove unused global variables.
Implement ro_mouse_poll_interval() to allow ro_mouse to influence null polling.
Remove unused calls to drag type globals.
2013-09-08 13:27:11 +01:00
Steve Fryatt
a00e0f91c7 Move all mouse tracking into ro_mouse module.
Add Pointer Entering Window events to wimp_event module and add handlers to all modules requiring mouse tracking.
Updated: Treeview, URL Complete, History and GUI Window.
Delete all handling for Pointer Entering/Leaving from ro_gui.
2013-09-08 11:55:21 +01:00
Steve Fryatt
e87596ad1f Restructure handling of DragEnd events.
Add ro_mouse module to process mouse events during drags and on null polls.
Implement support in ro_mouse for tracking the mouse during drags and passing on DragEnd events.
Remove ro_gui_drag_end() and update all of its clients so that they use ro_mouse.
Remove the unused ro_gui_window_frame_resize_end().

Termination of save drags with Escape is unimplemented, but appears broken anyway.
The use of gui_drag_type is still required to handle Message_DatasaveAck processing.
Mouse tracking is still handled via gui.c.
2013-09-08 00:47:55 +01:00
Michael Drake
1658554437 Don't allow what treeview initialisation sets as the dimensions to be overwritten with defaults of 0. 2013-09-03 17:12:08 +01:00
Michael Drake
f2b4a7a997 Port to new recursive expand/contract functions. 2013-09-03 12:36:55 +01:00
Michael Drake
cf8ffa412a Remove old hotlist, cookies, and history_global_core modules.
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00
Michael Drake
e9f65ff9cb Remove cookies, history_global, and hotlist_old _initialise and _cleanup functions. 2013-09-02 18:57:43 +01:00
Michael Drake
4473f4b8a8 Remove tree icon_name globals from all the front ends. 2013-09-02 16:39:46 +01:00
Michael Drake
49c7994d05 Remove bulk of old treeview implementation. 2013-09-02 16:19:16 +01:00
Michael Drake
46e569c481 Use TREE_HOTLIST directly. 2013-09-02 14:42:53 +01:00
Michael Drake
9f35fd3fee Use TREE_HISTORY directly. 2013-09-02 14:39:04 +01:00
Michael Drake
128fdbec43 Select TREE_COOKIES directly. 2013-09-02 14:33:53 +01:00
Michael Drake
5c7ca39ada Remove tree_url_node module. Had to disable treeview scanning in amiga and cocoa front ends. Amiga front end very likely broken. 2013-09-02 14:17:09 +01:00
Michael Drake
c3ca5ab979 Fix treeview code's inconsistant application of the plot origin. (Fixes various redraw glitches.) 2013-08-16 10:05:21 +01:00
Michael Drake
8a87058dc2 Remove pointless clipping. Move some calculations out of function call params to make them more readable. 2013-08-16 09:49:59 +01:00
Michael Drake
c716a53bed Make the no_font_blending toggle. 2013-08-16 09:28:56 +01:00
Michael Drake
2b0a98bd47 Avoid background blending overhead for treeview text. 2013-08-16 09:15:50 +01:00