Commit Graph

55 Commits

Author SHA1 Message Date
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
32eaf611b4 fix theme adding dialog 2013-04-29 16:02:20 +01:00
Michael Drake
ef363460f1 Remove another unused inuclude of render/textplain.h. 2013-04-29 14:58:10 +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
Vincent Sanders
3bfb5b96a7 browser_window_navigate refactor 2013-02-18 11:23:27 +00:00
Vincent Sanders
33934e1271 implement the GTK preferances dialog with signals 2013-01-01 00:59:47 +00:00
Vincent Sanders
f12be4ed85 restructure GTK frontend options dialog to be compiant with the gnome HIG and actually work 2012-12-28 01:08:23 +00: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
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
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
f2993e6ed0 content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +00:00
Michael Drake
36eff6da2b Port more internals to nsurl. Front ends may need updating.
svn path=/trunk/netsurf/; revision=12926
2011-10-03 15:56:47 +00:00
Vincent Sanders
cb27637a41 add option to set tab position
svn path=/trunk/netsurf/; revision=12896
2011-09-26 23:35:06 +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
b9bdb198cb compatability fix for recent gtk API deprecation
svn path=/trunk/netsurf/; revision=12469
2011-06-07 17:23:39 +00:00
Vincent Sanders
b3608e3a63 fix close button having default focus
svn path=/trunk/netsurf/; revision=12010
2011-03-13 10:00:44 +00:00
John Mark Bell
155d8dec3f gtk_dialog_set_has_separator is deprecated in GTK >= 2.21.8
svn path=/trunk/netsurf/; revision=12009
2011-03-13 09:52:40 +00:00
Vincent Sanders
009ba43d6e fix gtk about dialog to use about: to display credits and licence
svn path=/trunk/netsurf/; revision=12006
2011-03-13 00:29:50 +00:00
Vincent Sanders
42f89d4e0b fixup gtk source file names
svn path=/trunk/netsurf/; revision=11529
2011-01-29 23:40:22 +00:00
Rob Kendrick
d85dfd0e7c Rationalise titles and styles of various GTK windows
svn path=/trunk/netsurf/; revision=11002
2010-12-05 15:03:53 +00:00
Vincent Sanders
bda534e12a Clean up how GTK frontend finds resources
svn path=/trunk/netsurf/; revision=10668
2010-07-28 15:22:44 +00:00
Daniel Silverstone
270ef59a98 Merge jmb/new-cache; r=dsilvers,rs=vince
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
Rob Kendrick
759a482c8f slight, marginal and trifling nsgtk beautification
svn path=/trunk/netsurf/; revision=10157
2010-03-27 11:31:03 +00:00
John Mark Bell
d64f5102eb themesfolder is on stack. Do not free().
svn path=/trunk/netsurf/; revision=9739
2009-12-18 20:25:11 +00:00
John Mark Bell
b75b2ae8bb Merge r9731:HEAD from branches/MarkieB/gtkmain to trunk.
svn path=/trunk/netsurf/; revision=9737
2009-12-18 20:15:50 +00:00
John Mark Bell
355799ce0b Merge branches/MarkieB/gtkmain to trunk.
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
John Mark Bell
7ee7281fcd Fix font config stuff
svn path=/trunk/netsurf/; revision=8765
2009-07-24 00:43:02 +00:00
John Mark Bell
9582b087c7 Rework GTK options code to be less bug ridden. This fixes a bunch of buffer overflows and memory leaks. Additionally, don't bother calculating the default toolbar button type here -- it will already be determined the first time that a browser window is opened (i.e. before the preferences dialog can be opened, anyway).
Remove loads of trailing whitespace from every line in the gtk languages file.

svn path=/trunk/netsurf/; revision=7370
2009-04-29 15:24:00 +00:00
Rob Kendrick
efa447f3bc Update GTK about box to be more accurate
svn path=/trunk/netsurf/; revision=7258
2009-04-23 12:13:45 +00:00
Rob Kendrick
b648e36dc1 Fixed pitch font for GTK source view
svn path=/trunk/netsurf/; revision=7147
2009-04-21 10:38:57 +00:00
John Mark Bell
aef5c88839 Much tidying, error checking, implementation hiding, etc.
svn path=/trunk/netsurf/; revision=7145
2009-04-21 10:24:30 +00:00
Rob Kendrick
fe86c4a618 Check in missing files from previous commit
svn path=/trunk/netsurf/; revision=7139
2009-04-20 22:13:59 +00:00
Rob Kendrick
ec034af671 Apply contributions from Mark Benjamin and Chris Tarnowski, with some reworking from me. Beware; glade nastyness ahead.
svn path=/trunk/netsurf/; revision=7136
2009-04-20 20:31:13 +00:00
Sean Fox
ab3da70659 Squash some memory leaks.
svn path=/trunk/netsurf/; revision=6290
2009-01-29 08:13:28 +00:00
Daniel Silverstone
a804727385 A bit of tidying of the GTK options dialog code. Still not ideal, still not warning free.
svn path=/trunk/netsurf/; revision=5951
2009-01-02 14:36:02 +00:00
Daniel Silverstone
d9f9bda135 Ensure that unset string options do not crash when you try and set them
svn path=/trunk/netsurf/; revision=5591
2008-10-18 09:38:23 +00:00
Rob Kendrick
4b2802c546 Whole bunch of warning fixes in GTK
svn path=/trunk/netsurf/; revision=5521
2008-10-09 23:07:38 +00:00
Rob Kendrick
35120aab1a Fix warnings in gtk_option.c - this code needs *serious* refactoring to remove crackful macros that unbalance braces.
svn path=/trunk/netsurf/; revision=5519
2008-10-09 22:49:48 +00:00
Michael Drake
bbda089a72 Style guide formatting: indentation, 80 char width, 2 tabs after wrap.
svn path=/trunk/netsurf/; revision=5518
2008-10-09 21:32:56 +00:00
Rob Kendrick
35766f761e Fix braino in previous commit
svn path=/trunk/netsurf/; revision=5517
2008-10-09 21:22:27 +00:00
Rob Kendrick
a0273d8c7f Fix warning in gtk_about.c, reformat
svn path=/trunk/netsurf/; revision=5516
2008-10-09 21:17:31 +00:00
Mike Lester
232c43418d Fixed all but one "about dialog" related warnings. All credit strings are now constant.
svn path=/trunk/netsurf/; revision=5515
2008-10-09 20:47:19 +00:00
Daniel Silverstone
6e0a71f631 Add support for displaying the tab bar if there's only one tab.
svn path=/trunk/netsurf/; revision=5348
2008-09-16 13:32:12 +00:00
John Tytgat
e063a2a59d Second merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'.
Merged revisions 4195-4211,4216,4219-4220,4222-4234,4236-4250,4252-4262,4264-4266,4268-4326,4329-4335,4338-4342,4344-4411,4413-4420,4422-4436,4438-4491,4494-4506,4508-4514,4516,4518-4552,4554,4556-4564,4567-4568,4570-4574,4576-4686,4689-4692,4694,4698-4709,4715-4723,4725-4755,4757-4769,4771-4919,4921-4996,4998-5110,5112-5117 via svnmerge from 
svn://svn.netsurf-browser.org/branches/adamblokus/netsurf

........
  r4736 | adamblokus | 2008-07-26 13:46:54 +0200 (Sat, 26 Jul 2008) | 2 lines
  
  Sorting out some problems with svn.
........
  r4737 | adamblokus | 2008-07-26 13:54:36 +0200 (Sat, 26 Jul 2008) | 4 lines
  
  Added export tab to the options dialog.
  Added the possibility of changing some print options.
........
  r4897 | adamblokus | 2008-08-04 17:59:05 +0200 (Mon, 04 Aug 2008) | 5 lines
  
  Added checking of horizontal clipping.
  Added better table loosening.
  Changed some minor bugs.
  Applied changes in the Export options tab according to the review from tlsa.
........
  r4905 | adamblokus | 2008-08-05 01:53:34 +0200 (Tue, 05 Aug 2008) | 2 lines
  
  Fixed bug which made it impossible to export pdf's.
........
  r4919 | adamblokus | 2008-08-05 16:39:33 +0200 (Tue, 05 Aug 2008) | 2 lines
  
  Fixed some memory leaks which caused Netsurf to break.
........
  r4927 | adamblokus | 2008-08-06 02:26:30 +0200 (Wed, 06 Aug 2008) | 4 lines
  
  Fixed bug with filenames which crashed Netsurf.
  Turned anti aliasing off for printing.
  Fixed some scaling issues.
........
  r4928 | adamblokus | 2008-08-06 17:52:44 +0200 (Wed, 06 Aug 2008) | 5 lines
  
  Added new export/print options:
  - suppressing images
  - turning off backgrounds
  - toggled loosening
........
  r4950 | adamblokus | 2008-08-07 21:15:21 +0200 (Thu, 07 Aug 2008) | 5 lines
  
  Added new options to PDF export:
  - document compression
  - document encryption
  Added PDF password dialog
........
  r4954 | adamblokus | 2008-08-07 22:11:31 +0200 (Thu, 07 Aug 2008) | 2 lines
  
  Added saving print settings.
........
  r4956 | adamblokus | 2008-08-07 22:44:48 +0200 (Thu, 07 Aug 2008) | 2 lines
  
  Fixes to PDF encryption
........
  r4970 | adamblokus | 2008-08-09 15:26:24 +0200 (Sat, 09 Aug 2008) | 3 lines
  
  Fixed bug in plotting tiled bitmaps.
  Fixed bug with too long text decorations.
........
  r4977 | adamblokus | 2008-08-09 19:18:56 +0200 (Sat, 09 Aug 2008) | 2 lines
  
  Fixed JPG embedding bug.
........
  r4988 | adamblokus | 2008-08-10 16:59:51 +0200 (Sun, 10 Aug 2008) | 3 lines
  
  Added clip checking to pdf plotters. No more "blank" clips.
  Made PDF compression a default setting.
........
  r4995 | adamblokus | 2008-08-10 20:03:00 +0200 (Sun, 10 Aug 2008) | 2 lines
  
  Fixed Haru crash on font-size==0.
........
  r4996 | adamblokus | 2008-08-10 21:04:43 +0200 (Sun, 10 Aug 2008) | 2 lines
  
  Added changing text mode only if necessary.
........
  r5045 | adamblokus | 2008-08-11 21:26:26 +0200 (Mon, 11 Aug 2008) | 3 lines
  
  Removing gtk stuff from core code.
  Little fix in options. 
........
  r5048 | adamblokus | 2008-08-11 21:57:45 +0200 (Mon, 11 Aug 2008) | 2 lines
  
  Better font size checking in PDF export.
........
  r5050 | adamblokus | 2008-08-11 22:19:56 +0200 (Mon, 11 Aug 2008) | 2 lines
  
  Fixed riscos text scale bug.
........
  r5073 | adamblokus | 2008-08-12 17:40:57 +0200 (Tue, 12 Aug 2008) | 2 lines
  
  Added missing tooltips
........
  r5092 | adamblokus | 2008-08-13 17:09:25 +0200 (Wed, 13 Aug 2008) | 2 lines
  
  Moved /pdf folder to desktop/save_pdf
........
  r5110 | adamblokus | 2008-08-13 22:44:50 +0200 (Wed, 13 Aug 2008) | 2 lines
  
  Added comments.
........
  r5113 | adamblokus | 2008-08-13 23:07:35 +0200 (Wed, 13 Aug 2008) | 2 lines
  
  Cosmetic changes
........
  r5116 | adamblokus | 2008-08-14 16:10:18 +0200 (Thu, 14 Aug 2008) | 2 lines
  
  Fixed bug with BOX_INLINE_END in tree duplication.
........
  r5117 | joty | 2008-08-14 21:47:46 +0200 (Thu, 14 Aug 2008) | 1 line
  
  Improvement for r5116: use local vars when possible; rename global last to box_duplicate_last; check on box_duplicate_main_tree failure.
........

svn path=/trunk/netsurf/; revision=5118
2008-08-14 20:32:10 +00:00
Rob Kendrick
fe7cae2bfe Refactor Makefile a little to be slightly more organised. Made more features configurable from Makefile.config
svn path=/trunk/netsurf/; revision=4775
2008-07-28 20:56:24 +00:00