Commit Graph

537 Commits

Author SHA1 Message Date
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 ea79e85fcd Clean up gui_window creation API. 2014-02-09 13:07:39 +00:00
Michael Drake 3d7cd77982 Simplify local history interface. 2014-02-08 22:43:54 +00:00
Michael Drake 22d15380f4 Add function to get browser window's extents. 2014-02-08 16:03:06 +00:00
Michael Drake 022a303d60 Move browser_window_update_extent to browser_private.h 2014-02-08 16:01:14 +00:00
Michael Drake 43c3caa469 Function to determine whether bw has a content. 2014-02-08 15:31:44 +00:00
Michael Drake 8bc3a80320 Add function to get bw's URL. 2014-02-08 15:00:08 +00:00
Michael Drake cf84e557fa Simplify browser_window_refresh_url_bar.
Reduces front end need to access bw internals.
2014-02-08 12:07:13 +00:00
Vincent Sanders db33103fa3 clean up desktop/gui.h include usage 2014-01-29 21:35:53 +00:00
Michael Drake 5787f8335e Simplify and optimise icon handling. 2014-01-24 23:13:18 +00:00
Michael Drake dab6d7961e Actually use the fact scheme is interned. 2014-01-24 22:00:25 +00:00
Vincent Sanders d47fed4524 move 401 login into operation table 2014-01-16 00:52:17 +00:00
Vincent Sanders bd065d4a43 split browser gui operations up 2014-01-15 19:37:05 +00:00
Vincent Sanders 0075eab194 move remaining gui operations to table 2014-01-14 23:31:54 +00:00
Vincent Sanders 667d4a0a49 confine the gui table acessor to the gui factory header 2014-01-14 20:05:14 +00:00
Vincent Sanders d18c8ed452 move teh final optional window operations into the table 2014-01-13 22:54:19 +00:00
Vincent Sanders e82d83f184 move four more optional window operations to table 2014-01-13 14:51:27 +00:00
Vincent Sanders d70e371cd9 move two more mandantory window operations to table 2014-01-13 11:38:35 +00:00
Vincent Sanders 7227c29bba move window scroll getter and setter into operations table 2014-01-13 01:08:15 +00:00
Vincent Sanders 5a962586fb move mandantory window update and redraw operations into table 2014-01-12 23:50:54 +00:00
Vincent Sanders 4b49b4ac77 move more optional window operations into table including removing unused hide_pointer operation altogether 2014-01-12 22:55:26 +00:00
Vincent Sanders b7736bae2f split gui operations into core and window and move more operations into tables 2014-01-12 17:07:34 +00:00
Vincent Sanders 56bb9582b1 move set title, set url, start and stop throbber window operations to gui table 2014-01-12 10:27:41 +00:00
Vincent Sanders c8496df3df move window creation and destruction into table 2014-01-11 22:34:12 +00:00
Rob Kendrick 550c8cd73c Change gui_file_gadget_interface to pass gui_window not browser_window, add GTK implementation that of course does not work. 2014-01-05 16:45:32 +00:00
Rob Kendrick 0d7f1cfc93 Add infrastructure for calling front ends to set file gadget filenames via clicking in addition to drag-and-drop 2014-01-05 16:04:35 +00:00
Rob Kendrick 1bd4a34a27 Remove asserts for default cases from all content message handlers; this is laborious and is no longer useful for catching bugs. 2014-01-05 14:39:08 +00:00
Michael Drake 1ae1d06ca4 Reduce leaking of thumbnails to only for URLs that urldb rejects.
Previously leaked thumbnails for all urls not previously visited.
2013-10-24 11:48:23 +01:00
Vincent Sanders 8cb2d52483 fix coverity #1111069 2013-10-23 13:48:26 +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 4ce2f6fd55 Update to use new hotlist and global history manager. 2013-09-02 12:29:16 +01:00
Michael Drake fd1a94a751 Update the new hotlist on visits. 2013-08-27 13:38:23 +01:00
Michael Drake 2a3ff41e14 Flag a TODO. 2013-08-16 08:25:26 +01:00
Michael Drake eaae716989 Move old hotlist out of the way. 2013-08-13 12:41:04 +01:00
Michael Drake 618ef54983 Update new global history, if the treeview test option is set. 2013-07-16 13:15:22 +01:00
Michael Drake 9f72b5e046 Fix namespace of old global history add function. 2013-07-15 12:57:40 +01:00
Michael Drake 094ef9a64b Minor wrapping fix. 2013-07-12 15:31:43 +01:00
Michael Drake 716776a181 Remove forward declaration. 2013-07-12 13:50:17 +01:00
Michael Drake d6d9378e9b Move global_history_add out of browser.h into global_history_core.h 2013-07-12 12:01:54 +01:00
Michael Drake 3a0bda9771 Move local history over to nsurl. 2013-07-11 23:38:32 +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
Michael Drake ba9769bc8c Pass fetch redirect info up to content layer as content_msg. Mark redirect origin URLs as visited in browser window content callback. Note this doesn't mean we track redirects, it just lets us get the :visited link style on links that redirect. 2013-05-27 14:51:00 +01:00
Vincent Sanders af75070bee add script_timeout option and use it 2013-05-22 19:12:26 +01:00
Vincent Sanders ce0fe06349 create javascript heartbeat and hook a script timeout to it 2013-05-22 19:12:26 +01:00
Michael Drake 8b6665fe03 Merge branch 'master' of git://git.netsurf-browser.org/netsurf into tlsa/selection-search-refactor 2013-05-07 14:56:42 +01:00
Michael Drake 3afd9c9731 Remove search context from browser window, simplify search interface for front ends.
Added content interface for search.

Removed bw->cur_search search context. Desktop layer now does nothing
except pass search requests from front end onto the bw's current_content
via the content interface.

Search API reduced to a pair of functions at each level:
  {desktop|content|html|textplain}_search
and
  {desktop|content|html|textplain}_search_clear

Updated front ends to use simplified search API.  Only tested GTK and RO builds.

These confine the search stuff to render/.  However search still uses struct
selection.  The handling for which is still spread over desktop/ and render/.
Also the render/search code itself still fiddles inside html and textplain
privates.
2013-05-07 14:41:40 +01:00
Vincent Sanders 30b1fc1dbd add assert to ensure API contract is met 2013-05-04 17:01:00 +01:00