Commit Graph

831 Commits

Author SHA1 Message Date
Vincent Sanders
6f9a93e332 fix formatting of defaults makefiles 2014-03-20 11:05:39 +00:00
Vincent Sanders
4d4d74c8cd move page search gui callbacks to their own operations table 2014-03-18 22:32:52 +00:00
Vincent Sanders
a67c49eacf Fix gtk web page searching 2014-03-18 16:02:21 +00:00
Vincent Sanders
87f6314dab move scheduleing into browser operation table 2014-03-09 15:37:40 +00:00
John-Mark Bell
b928095652 GTK: add some support for input methods.
We do not currently support pre-edit texts, or
retrieving/modifying text surrounding the caret.
This does, at least, finally allow the use of
dead keys during text input, but probably is
insufficient for useful input of CJKV &c.
2014-02-17 00:21:49 +00:00
John-Mark Bell
c47a497bca GTK: more endian fixes for bitmap conversion. 2014-02-16 00:54:07 +00:00
John-Mark Bell
1511a74203 GTK: fix pre-multiplication of alpha. 2014-02-16 00:24:11 +00:00
John-Mark Bell
5e0efcbd6c GTK: make image component manipulation endian-safe. 2014-02-16 00:00:21 +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
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
5e495f0ab9 Avoid dereffing bw in a few places. 2014-02-08 19:52:17 +00:00
Michael Drake
616335c9ca Don't use bw internals. 2014-02-08 19:21:22 +00:00
Michael Drake
5f517cc714 Don't need browser_private.h any more. 2014-02-08 17:13:04 +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
Michael Drake
ec7a02e550 Use get_scale function instead of derefing the bw. 2014-02-08 16:21:46 +00:00
Michael Drake
a505ea49df Use browser_window_get_extents function. 2014-02-08 16:05:58 +00:00
Michael Drake
e33737ef23 Use browser_window_has_content. 2014-02-08 15:41:32 +00:00
Michael Drake
3697f543d6 Use browser_window_has_content. 2014-02-08 15:33:39 +00:00
Michael Drake
72b5bc85f2 Remove pointless variable. 2014-02-08 15:18:46 +00:00
Michael Drake
41d70c741f Use browser_window URL accessor. 2014-02-08 15:16:05 +00:00
Michael Drake
7a81fe9165 Use clean accessor for bw URL. 2014-02-08 15:06:51 +00:00
Michael Drake
7794f3fb14 Remove includes of browser_private.h and hlcache.h 2014-02-08 15:02:20 +00:00
Michael Drake
2cc6b04a49 Avoid includes of desktop/browser_private.h and content/hlcache.h 2014-02-08 14:28:38 +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
25bc5b2b8c remove unecessary desktop/browser.h includes 2014-02-04 15:30:53 +00:00
Vincent Sanders
3455d66921 reduce desktop/browser.h unecessary includes 2014-02-03 17:56:24 +00:00
Vincent Sanders
6a7ca8b2a8 remove unecessary includes 2014-02-03 16:57:45 +00:00
Vincent Sanders
886a3106db move utf8 local conversion operations to table 2014-02-01 22:17:36 +00:00
Vincent Sanders
427f127fa9 remove further extraneous includes 2014-02-01 14:23:58 +00:00
Vincent Sanders
00bdf39dc2 remove unnecessary includes 2014-02-01 13:06:51 +00:00
Vincent Sanders
8bb0e87b1a make clipboard table operations static and remove unecessary includes 2014-02-01 12:41:23 +00:00
Vincent Sanders
db33103fa3 clean up desktop/gui.h include usage 2014-01-29 21:35:53 +00:00
Vincent Sanders
654da2ffb5 move utf8 conversion routines to use nserror instead of their own error enum 2014-01-28 21:40:13 +00:00
Vincent Sanders
8ce0a10670 move path_to_url and url_to_path to fetch operation table 2014-01-25 23:01:32 +00:00
Vincent Sanders
0475693394 create table for fetcher operations and move all operations into it 2014-01-23 00:00:18 +00:00
Vincent Sanders
d47fed4524 move 401 login into operation table 2014-01-16 00:52:17 +00:00
Vincent Sanders
38cb39339a move filename_from_path and path_add_part into gui operation tables 2014-01-16 00:01:25 +00:00
Vincent Sanders
bd065d4a43 split browser gui operations up 2014-01-15 19:37:05 +00:00
Vincent Sanders
68eaec5cb4 complete move of remaining core gui functions 2014-01-15 12:28:55 +00:00
Vincent Sanders
8dfe225153 move download operations to download table 2014-01-14 16:04:02 +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
Vincent Sanders
d3c392c3d3 Initial conversion of netsurf gui to callback vtable 2014-01-11 14:20:30 +00:00
Rob Kendrick
d24ee91311 Under GTK, file gadgets are more like buttons 2014-01-05 17:16:26 +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
d8ad3b8e78 Add new gui entry point for file open dialogue requests 2014-01-05 16:01:03 +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
Vincent Sanders
5a408069c9 remove lcms dependancy as NetSurf does not directaly use it.
The dependancy probbaly comes from our historical use of libmng,
even then the libmng pkg-config should bring it in.
2014-01-04 16:13:10 +00:00
Vincent Sanders
f725c2dcde check stat error return (coverity 1109835) 2013-11-27 22:21:59 +00:00
Vincent Sanders
47c17ad889 check return of chmod (coverity 1109836) 2013-11-27 22:09:21 +00:00
Michael Drake
3eb65bb54f Fix Coverity #1129524, resource leak. 2013-11-18 14:19:27 +00:00
Daniel Silverstone
4b3a7666dc Use realpath and stuff file:// on the front of file arguments in GTK frontend 2013-11-17 15:07:09 +00:00
Vincent Sanders
8702eedf67 fix leak in error path (coverity 1109889) 2013-11-06 10:52:29 +00:00
Vincent Sanders
41bda017d1 fix error path resource handling in gtk browser window creation (coverity 1109888) 2013-11-03 16:30:34 +00:00
Vincent Sanders
5c3daf9013 fix memory leak in error path (coverity 1109889) 2013-11-03 15:00:40 +00:00
Vincent Sanders
401d1fd1a6 fix coverity 1109883 2013-10-31 23:17:14 +00:00
Vincent Sanders
9c707c8df0 fix coverity 1109891 2013-10-31 23:17:14 +00:00
Michael Drake
0f166ad6b0 Remove comment. Background only used with alpha channel when printing via Tinct on RISC OS. 2013-10-28 14:30:31 +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
Vincent Sanders
2962faed63 fix gtk title setting to cope with null titles coverity 1109897 2013-10-25 15:44:52 +01:00
Vincent Sanders
88bd4e2ee2 fix resource leak coverity 1109883 2013-10-25 12:42:53 +01:00
Vincent Sanders
2e4c1cf950 fix resource leak coverity 1109884 2013-10-25 12:42:53 +01:00
Vincent Sanders
2cd2846122 fix coverity 1109906 uninitialised pointer read 2013-10-25 12:42:53 +01:00
Michael Drake
2d14f0bb2e Fix Ctrl+Shift+Z. 2013-10-01 13:15:25 +01:00
Michael Drake
10b422b163 Pass KEY_UNDO and KEY_REDO to core. (Currently ignored.) 2013-09-30 21:37:31 +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
cb92b7d341 Cleanup mouse handling a bit. 2013-08-28 15:20:41 +01:00
Michael Drake
8b83456c02 Beginnings of new hotlist module, implemented with new treeview.
Currently it can only open, display and launch entries in an existing hotlist file.

TODO:
  - Generate defualt hotlist when file not found.
  - Add hotlist saving.
  - Allow adding to hotlist.
  - Allow hotlist editing.
  - Allow hotlist nodes to be moved by dragging.
  - Allow hotlist visit data to be updated.
2013-08-16 08:25:25 +01:00
Michael Drake
4a01ef9e7a Avoid sslcert_get_tree_flags. 2013-08-13 13:48:53 +01:00
Michael Drake
eaae716989 Move old hotlist out of the way. 2013-08-13 12:41:04 +01:00
Michael Drake
d7f73d77bc Use new ssl certificate viewer. 2013-08-12 11:43:41 +01:00
Michael Drake
68078d7ea7 Fix up for cookies_old rename. 2013-07-22 10:21:37 +01:00
Michael Drake
3f45e53539 s/history_core/local_history/ 2013-07-10 11:55:42 +01:00
Vincent Sanders
a93e32de37 work round missing functionality 2013-06-28 13:20:05 +01:00
Vincent Sanders
2f280f16eb completely rework scaffolding window destruction using gtkwidget destroy signals 2013-06-28 12:13:02 +01:00
Vincent Sanders
3d7f79683c add new tab tab 2013-06-27 16:42:08 +01:00
Vincent Sanders
59dc293156 fix status/toolbar bottom split position and setting user option in gtk 2013-06-25 19:01:41 +01:00
Vincent Sanders
4e24869524 Add and use no proxy list option 2013-06-04 18:11:15 +01:00
Vincent Sanders
bccaa05fdb add finalisation to options and document the API better 2013-06-01 16:09:39 +01:00
Michael Drake
b2aa0c129c Remove 0.5px vertical displacement of text. 2013-05-31 15:12:40 +01:00
Vincent Sanders
8b43b732bc move gtk frontend to use new options API 2013-05-28 14:16:11 +01:00
Vincent Sanders
63d7247a9c fix mismatched option name and variable names
block_ads should be block_advertisments to match option name
toolbar_status_width should be toolbar_status_size to match option name
2013-05-28 14:16:11 +01:00