Commit Graph

121 Commits

Author SHA1 Message Date
Witold Filipczyk
befa5e6ed3 To avoid namespace conflicts with ncurses add NetSurf key prefix.
Adds a NetSurf key code prefix of NS_ to all key codes.
2015-03-27 09:36:19 +00:00
Chris Young
1ea747196e Fix more hook functions 2015-02-24 19:51:51 +00:00
Chris Young
793b53a27a make context_menu.c build for os3 2015-01-10 23:15:06 +00:00
Michael Drake
ba9a049d7b Simplify ami_history_open API and use correct call to get history object. 2014-11-22 00:02:28 +00:00
Michael Drake
60c33e0410 Should be free of reliance on browser window internals here now. 2014-11-21 14:39:12 +00:00
Michael Drake
781fe8f330 Use browser_window_get_content() to get the current content.
Although I dislike this API, and it may go at some point.
2014-11-21 14:38:17 +00:00
Michael Drake
90f89f98e3 Use API for getting browser window history. 2014-11-21 14:37:17 +00:00
Michael Drake
b4e044f6c9 Use browser_window_get_url() instead of getting URL from current content. 2014-11-21 14:30:09 +00:00
Michael Drake
3b686eaccc Use browser_window_can_select(), instead of assuming based on content type. 2014-11-21 14:26:29 +00:00
Chris Young
230e348315 update comments 2014-11-16 16:44:19 +00:00
Chris Young
0966b8097c Allocate screen title when first needed and keep it private to amiga/gui.c 2014-11-16 16:40:41 +00:00
Chris Young
3c4b721621 Avoid bw->window ref 2014-11-16 16:24:07 +00:00
Chris Young
79690c6c90 Remove the global which meant we could only open one local history window.
Now we can open multiple local history windows, which avoids the confusion when requesting a local history window when one is already open.
2014-11-16 15:51:57 +00:00
Chris Young
7053638a72 Remove some more cyclic references 2014-11-16 15:33:11 +00:00
Chris Young
30039a06ee Fix amiga/context_menu.c for new struct 2014-11-16 14:50:48 +00:00
Vincent Sanders
79e501075a make the form select menu API smaller.
By hiding all but the form selection menu option structure from code
outside of render this reduces the API to the absolute minimum to
support this feature.
2014-11-13 21:52:08 +00:00
Chris Young
de1fccd8c4 Fix warnings 2014-11-09 00:56:11 +00:00
Vincent Sanders
c31c4babe1 Change contextual content retrieval to browser features.
Update the API which allows frontends to acquire the page features
(images, link urls or form elements) present at the given coordinates
within a browser window.

By making this an explicit browser_window API and using the browser.h
header for the associated data structure with a more appropriate API
naming the usage is much more obvious and contained.

Additionally the link url is now passed around as a nsurl stopping it
being converted from nsurl to text and back again several times.
2014-11-02 15:46:42 +00:00
Vincent Sanders
0b64df140c Update amiga frontend for split operation table header changes 2014-10-16 22:33:44 +01:00
Michael Drake
63645c4c32 Fix core create_form_select_menu API to pass gw, rather than bw out to front ends. 2014-10-16 12:39:31 +01:00
Chris Young
349913572c Fix web search from context menu 2014-08-24 16:54:20 +01:00
Vincent Sanders
a6d3ceae0e Completely re-write web search provider handling 2014-05-25 01:01:59 +01:00
Chris Young
a36e7aaeb3 Fix cppcheck syntaxError 2014-04-05 23:09:47 +01:00
Chris Young
0f68598649 Fix cppcheck syntaxError 2014-04-05 20:26:39 +01:00
Chris Young
fb072686c1 Fix cppcheck syntaxError 2014-04-03 19:12:07 +01:00
Michael Drake
6867726326 More build fixing. 2014-02-15 18:59:54 +00:00
Michael Drake
3efe56d7ef Fix build. 2014-02-15 18:52:32 +00:00
Michael Drake
a38a63a37e Make history internal to browser_window module. 2014-02-15 18:44:50 +00:00
Michael Drake
49bed056dd Make browser_window_navigate (un)verifiable flag match browser_window_create. 2014-02-10 22:40:04 +00:00
Michael Drake
af014bce99 Allow tab creation without history clone. Changes browser_window_create and browser_window_navigate flags. 2014-02-10 14:08:45 +00:00
Michael Drake
3d7cd77982 Simplify local history interface. 2014-02-08 22:43:54 +00:00
Michael Drake
8deb9ec25c Native select menu interface shouldn't force front end to dig inside bw struct. 2014-02-08 17:11:55 +00:00
Chris Young
bf3ed6a67f Formatting. 2014-02-06 19:57:13 +00:00
Chris Young
b2fff176df This shouldn't be UTF-8 2014-01-05 22:55:34 +00:00
Chris Young
50e038538a Add hotlist favourites star button 2013-11-23 12:23:56 +00:00
Chris Young
3a35294a0e Fix adding to hotlist from context menu 2013-10-13 12:01:11 +01:00
Chris Young
bdf76965b4 Add Undo/Redo to Amiga version. NB: Clear selection no longer has a shortcut key. 2013-10-01 18:51:27 +01:00
Chris Young
653cf8fa1f Use a simulated keypress rather than a simulated mouseclick 2013-09-12 17:12:45 +01:00
Chris Young
0e5667e28e Botched fixes just to get it to compile again 2013-09-12 10:58:19 +01:00
Chris Young
9af55136d0 Disable the treeview context menu for now, as it needs fixing. 2013-09-12 10:51:39 +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
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
eaae716989 Move old hotlist out of the way. 2013-08-13 12:41:04 +01:00
Michael Drake
3f45e53539 s/history_core/local_history/ 2013-07-10 11:55:42 +01:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Chris Young
b66775dc53 Prevent ASL from causing delayed menus 2013-05-25 13:59:42 +01:00
Chris Young
0b028e41c6 more fix of edit menu updates 2013-05-12 20:36:46 +01:00
Chris Young
57e5f7d89a attempt fix cut disable on context menu 2013-05-12 20:36:42 +01:00
Michael Drake
631265ef6b Front ends have no reason to include desktop/selection.h now. 2013-05-10 12:16:05 +01:00
Michael Drake
dd704c2c43 Fix can paste/copy tests. 2013-03-18 23:06:06 +00:00