Commit Graph

117 Commits

Author SHA1 Message Date
Vincent Sanders
8bb0e87b1a make clipboard table operations static and remove unecessary includes 2014-02-01 12:41:23 +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
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
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
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
9c707c8df0 fix coverity 1109891 2013-10-31 23:17:14 +00: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
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
49c7994d05 Remove bulk of old treeview implementation. 2013-09-02 16:19:16 +01:00
Michael Drake
4a01ef9e7a Avoid sslcert_get_tree_flags. 2013-08-13 13:48:53 +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
Vincent Sanders
bccaa05fdb add finalisation to options and document the API better 2013-06-01 16:09:39 +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
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Vincent Sanders
35dacc3671 move the logging initialisation out to be call by frontends
This allows each frontend to pass a distinct callback to configure the
output file stream appropriately for their use.
2013-05-23 11:50:57 +01:00
Vincent Sanders
38d0a299df remove unecissary glib internationalisation include 2013-04-14 11:27:42 +01:00
Vincent Sanders
529ca251fc rename flags for browser_window routines to be shorter 2013-02-18 11:51:42 +00:00
Vincent Sanders
b112dec78d change browser_window_create and refactor all callsites 2013-02-18 11:23:48 +00:00
Michael Drake
7af0614202 Make delete line key enum value name less missleading. (Doesn't cut to clipboard.) 2013-02-11 10:34:06 +00:00
Michael Drake
8314101ada Pass various control keys to core for clipboard control, etc. 2013-01-08 12:07:56 +00:00
Vincent Sanders
33934e1271 implement the GTK preferances dialog with signals 2013-01-01 00:59:47 +00:00
John-Mark Bell
f824ab8af4 Port save complete to libdom. 2012-11-03 23:19:45 +00:00
Michael Drake
35eb251244 Fix "error setting certificate verify locations" problem when the Choices file doesn't exist. Now there's a single place for front ends to set options overrides. Fix nsoption_setnull_charp leak. 2012-10-17 14:20:18 +01:00
Michael Drake
d9e7d58106 Fix up ripples from urldb change. 2012-10-11 11:20:02 +01:00
Michael Drake
153c444454 Move browser_window struct to private header. Places that shouldn't include it do, such as front end code.
Frontends that have been updated to build:
  framebuffer
  gtk
  monkey
  riscos

TODO:
  amiga
  atari
  beos
  cocoa
  windows
2012-08-22 12:22:58 +01:00
Michael Drake
9202c137b2 Remove unused includes. 2012-08-20 16:08:06 +01:00
Vincent Sanders
8ffc6439a7 fix build on gtk 2.12
svn path=/trunk/netsurf/; revision=13927
2012-05-17 16:48:20 +00:00
Vincent Sanders
2622adaa1f allow netsurf to build with gtk3
svn path=/trunk/netsurf/; revision=13926
2012-05-16 19:57:43 +00:00
François Revel
bae750ee44 Fix a crash when opening Preferences panel and Choices file doesn't exist:
- add missing strdup(),
- fix free() vs g_free() mixups.

svn path=/trunk/netsurf/; revision=13824
2012-04-07 18:32:11 +00:00
François Revel
c48042e0da Implement gui_launch_url() for GTK.
svn path=/trunk/netsurf/; revision=13820
2012-04-07 12:56:02 +00:00
Vincent Sanders
1490b52a6b NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
John Mark Bell
26a1bb7718 Use S_IRWXU where appropriate
svn path=/trunk/netsurf/; revision=13439
2012-02-10 20:02:13 +00:00
John Mark Bell
6d8cb05732 Fix Debian bug #659376: .netsurf must not be world readable
svn path=/trunk/netsurf/; revision=13438
2012-02-10 19:41:02 +00:00
Vincent Sanders
e0596793e1 load default favicon once
svn path=/trunk/netsurf/; revision=13357
2011-12-31 00:00:54 +00:00
Michael Drake
deae02c0e7 Remove unused variable.
svn path=/trunk/netsurf/; revision=13050
2011-10-14 20:57:24 +00:00
Daniel Silverstone
c7b2675eff Ensure the GTK UI closes all its scaffoldings before exiting.
svn path=/trunk/netsurf/; revision=13019
2011-10-09 11:35:24 +00:00
Vincent Sanders
4c829ae481 use resource:favicon.ico instead of resource:favicon.png
svn path=/trunk/netsurf/; revision=12982
2011-10-07 21:03:45 +00:00
John Mark Bell
d5bb9d98e7 Build resource: map at start time
Remove stylesheet url globals -- the core will always use resource:{default,quirks,adblock}.css as appropriate

svn path=/trunk/netsurf/; revision=12949
2011-10-05 08:32:52 +00:00
Vincent Sanders
7334ec404e reduce to a single global structure for glade file locations
svn path=/trunk/netsurf/; revision=12872
2011-09-24 09:24:13 +00:00
Vincent Sanders
14db3f7c70 make resource path discovery robust when no resources can be found
svn path=/trunk/netsurf/; revision=12860
2011-09-22 15:10:22 +00:00
John Mark Bell
f27d5a3e15 Remove gui_multitask
svn path=/trunk/netsurf/; revision=12828
2011-09-21 00:25:09 +00:00
Michael Drake
a70c32422a gui_find_resource --> gui_get_resource_url.
svn path=/trunk/netsurf/; revision=12089
2011-03-17 11:57:09 +00:00
Michael Drake
66f6e9eff5 Rename utils/resource to utils/filepath to avoid confusion with resource: fetcher.
svn path=/trunk/netsurf/; revision=12088
2011-03-17 11:26:30 +00:00
Daniel Silverstone
f40bba0c3a missing semicolon. I suck
svn path=/trunk/netsurf/; revision=12005
2011-03-13 00:05:20 +00:00
Daniel Silverstone
eef98634f6 Shunt some schedule_run() calls around.. Should improve behaviour on GTK and monkey a little
svn path=/trunk/netsurf/; revision=12004
2011-03-13 00:04:45 +00:00
Vincent Sanders
0fd2523f5f make tab work in forms on gtk
svn path=/trunk/netsurf/; revision=11982
2011-03-12 19:02:58 +00:00
John Mark Bell
b193361d8f Make resource paths global static, as it's only used in here
svn path=/trunk/netsurf/; revision=11777
2011-02-23 22:58:21 +00:00
Vincent Sanders
0231675abf add resource handling
move gtk and framebuffer to use generic resource handling

svn path=/trunk/netsurf/; revision=11772
2011-02-23 22:27:55 +00:00
Vincent Sanders
fa98e3d76a add about: fetcher
rename fetchers to be more sensible 

svn path=/trunk/netsurf/; revision=11692
2011-02-15 23:18:10 +00:00
Vincent Sanders
fbb1139214 add default system colour handlers to each frontend
svn path=/trunk/netsurf/; revision=11530
2011-01-30 13:40:47 +00:00
Vincent Sanders
42f89d4e0b fixup gtk source file names
svn path=/trunk/netsurf/; revision=11529
2011-01-29 23:40:22 +00:00