Commit Graph

960 Commits

Author SHA1 Message Date
Daniel Silverstone (parasomnia chroot)
78149141f9 all-program now splits fatmessages for generic in-tree execution 2013-04-10 23:24:49 +01:00
Michael Drake
037beb44fb Pass caret clip rect out to front ends. (Nothing actually using them yet.) 2013-03-05 22:54:51 +00:00
Michael Drake
c2a718075a A load of refactoring of how content selection and input work.
Keypresses now go via content interface.
Contents don't shove the selection object into browser windows any more.
Contents report selection existence by sending message.
HTML content keeps track of where selections in it exist.
Contents report whether they have input focus via caret setting msg.
Caret can be hidden (can still input/paste) or removed.
Consolidate textarea selection handling.
Make textarea report its selection status changes to client.
Various textarea fixes.
Changed how we decide when to clear selections, and give focus.
2013-02-22 12:19:35 +00: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
Michael Drake
0c0e988ea5 Pass double and triple clicks to the browser window. 2013-02-12 13:20:36 +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
4843658742 Don't need to break on space any more. This gives us unicode line breaking from pango. 2013-02-10 18:23:34 +00:00
Michael Drake
d899ebb5fa Pass correct mouse button for button 2. 2013-01-16 11:54:30 +00:00
Michael Drake
e2e7aa135c Update GTK front end to implement new clipboard API. 2013-01-08 17:02:27 +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
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
Vincent Sanders
0402b5ca91 fixup combo boxes to have content, missed in conversion from glade 2012-12-26 17:47:41 +00:00
Vincent Sanders
484fa8b110 move common include path setup to core Makefile 2012-12-20 15:27:07 +00:00
Vincent Sanders
c87cbe5655 split target defaults out 2012-12-13 19:26:24 +00:00
Vincent Sanders
16d67095a6 add pkg-config macro for libraries which are not controled by configuration 2012-12-13 17:23:47 +00:00
Vincent Sanders
45906b9dc2 make macro name more correct 2012-12-13 16:31:05 +00:00
John-Mark Bell
617d655c7b Remove libxml 2012-11-10 00:11:57 +00:00
Anthony J. Bentley
4c82afa287 Fix GNUisms to make things more portable.
On OpenBSD, install does not take a -v flag, and tar does not default to
stdin/stdout.
2012-11-07 08:43:28 +00:00
Vincent Sanders
f16d560f6f add math library to link 2012-11-05 17:20:33 +00:00
John-Mark Bell
07a53f4b44 Appease ancient "install" by removing -C 2012-11-05 09:08:52 +00:00
John-Mark Bell
925a830f9e Make step adjustment work on GTK 2.12 2012-11-05 08:59:29 +00:00
Rob Kendrick (fatigue)
ba2a0fd723 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2012-11-04 11:20:31 +00:00
Rob Kendrick (fatigue)
abb1251461 Try to rationalise the gtk install target somewhat 2012-11-04 11:17:41 +00:00
Daniel Silverstone
3675f38cc3 Force GtkAdjustments to have a step -- this is a bodge but makes scrollwheels work again 2012-11-04 11:06:08 +00:00
John-Mark Bell
f824ab8af4 Port save complete to libdom. 2012-11-03 23:19:45 +00:00
Daniel Silverstone
180f7ff42c Merge Vincent's Javascript work onto master 2012-11-03 15:13:43 +00:00
Rob Kendrick (monotony)
118b03a786 Add a macro to split and install messages files, and have gtk front end use it. 2012-11-03 11:16:33 +00:00
Daniel Silverstone
5631943e40 Ensure that we turn on JS sources if either of USE_JS or USE_MOZJS is triggered 2012-11-02 23:03:20 +00:00
Rob Kendrick (monotony)
de074a3ada Deference symlinks when installing. This should be rewritten to use the install tool 2012-11-02 19:13:09 +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
d88a839937 Remove suspension of bmp/gif images. It's completely redundant with the convert on demand core image cache. 2012-10-14 20:03:18 +01:00
Daniel Silverstone
fa660c24e8 Remove unnecessary libxml includes from GTK includes 2012-10-11 20:48:06 +01:00
Michael Drake
d9e7d58106 Fix up ripples from urldb change. 2012-10-11 11:20:02 +01:00
Vincent Sanders
5800789df2 trivial docuemntation cleanups to address some of the huge number of docuemntation warnings 2012-10-08 14:52:24 +01:00
Rob Kendrick (humdrum)
c2eff23c0d Make GTK install target work again, and make copy flags consistent 2012-10-02 13:07:32 +01:00
Vincent Sanders
e237ebac8f Split install and package targets.
Install target is for installing on the local machine and package generates a package
2012-08-23 11:46:31 +01:00
Michael Drake
bc8fee46f7 Fix scaled tiled image rendering. 2012-08-22 22:29:18 +01:00
Michael Drake
4357f5e9d7 Test for zero width/height at the start. 2012-08-22 22:26:00 +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
1086fc5246 Change order of libs. 2012-08-21 14:17:11 +01:00
Michael Drake
634b8f642e Don't need to set everything to zero since it's static 2012-08-20 23:05:09 +01:00
Michael Drake
b134279644 Allow the presence of form inputs to be obtained without knowledge of html content internals. 2012-08-20 22:02:37 +01:00
Michael Drake
f478ee4db7 Remove a bunch of unused includes. 2012-08-20 18:54:57 +01:00
Michael Drake
9202c137b2 Remove unused includes. 2012-08-20 16:08:06 +01:00
Michael Drake
8fc0eab89b Use proper function for dumping box tree. 2012-08-20 16:06:51 +01:00
Michael Drake
971058cd67 Remove unused struct box. 2012-08-20 14:21:16 +01:00
Michael Drake
b51816c222 Clean up search gui callbacks. 2012-08-14 13:41:30 +01:00
Michael Drake
c8a83bf1b4 s/TRUE/true/ 2012-08-13 14:51:24 +01:00
Michael Drake
d106091d6e Pass font plot style out to front end clipboard append function. 2012-08-13 14:43:04 +01:00
Michael Drake
5747465437 Use selection_copy_to_clipboard instead of peering at core innards. 2012-08-02 14:38:47 +01:00
Michael Drake
02561162a9 Add welcome page resources. Add symlinks to English welcome page to gtk and framebuffer. 2012-07-21 13:09:14 +01:00
Vincent Sanders
804bec4f99 make non js builds compile
make js support compile with older debian/ubuntu packaging


svn path=/trunk/netsurf/; revision=13990
2012-06-27 23:17:18 +00:00
Vincent Sanders
4c89c9d5df improve javascript support
svn path=/trunk/netsurf/; revision=13962
2012-06-10 22:17:30 +00:00
Vincent Sanders
feb37dd067 cleanup debug logging
svn path=/trunk/netsurf/; revision=13961
2012-06-10 14:53:52 +00:00
Vincent Sanders
d6fbe19acd remove supurflous variable
svn path=/trunk/netsurf/; revision=13960
2012-06-10 14:53:25 +00:00
Vincent Sanders
bc664042c4 remove junk blank page resource
svn path=/trunk/netsurf/; revision=13959
2012-06-10 14:51:40 +00: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
4465c4f4af Add Seeks <http://www.seeks-project.info/> to the list of search engines. Use http for the favicon to avoid a cert popup.
svn path=/trunk/netsurf/; revision=13821
2012-04-07 17:14:31 +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
Michael Drake
ce20021df7 Fix colour string matching. Lose unneeded case insensitivity in matching.
svn path=/trunk/netsurf/; revision=13739
2012-03-27 11:02:35 +00:00
Michael Drake
eb189092c7 Constify param to gui_system_colour_char function.
svn path=/trunk/netsurf/; revision=13737
2012-03-27 10:47:29 +00:00
Daniel Silverstone
bf5459c18b Include render/box.h
svn path=/trunk/netsurf/; revision=13667
2012-03-25 10:21:47 +00:00
Vincent Sanders
b21f85a072 initial move to libdom
svn path=/trunk/netsurf/; revision=13573
2012-03-23 23:18:04 +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
9478f01828 Fix bug #3481624: this was needlessly complex
svn path=/trunk/netsurf/; revision=13463
2012-02-23 21:22:37 +00:00
Vincent Sanders
ea0c028cac fix favicon display
svn path=/trunk/netsurf/; revision=13460
2012-02-21 20:54:31 +00:00
Vincent Sanders
8e3e8f2ca1 remove unused scrolledwindow member
svn path=/trunk/netsurf/; revision=13452
2012-02-20 21:28:24 +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
4dd1b4d80b fix the popup menu entry signal attaching to attach the correct handler functions. as the prototype changes depending on signal type and we were using the non menu function prototype for menu entries.
svn path=/trunk/netsurf/; revision=13437
2012-02-08 02:45:03 +00:00
Michael Drake
6794af012e Constify rect param to gui_window_drag_start.
svn path=/trunk/netsurf/; revision=13397
2012-01-11 16:45:17 +00:00
Michael Drake
04ece30fa9 Pass pointer constraints for drag out to front ends. Ensure content scrollbar drag termination always informs the browser window layer that the drag is over.
svn path=/trunk/netsurf/; revision=13395
2012-01-11 14:20:26 +00:00
Michael Drake
31f221e84f Remove search init function.
svn path=/trunk/netsurf/; revision=13391
2012-01-06 23:42:22 +00:00
Michael Drake
fc3de8814c Search-as-you-type.
svn path=/trunk/netsurf/; revision=13385
2012-01-06 23:10:04 +00:00
Michael Drake
aac69e6478 s/s/S/
svn path=/trunk/netsurf/; revision=13366
2012-01-02 13:42:51 +00:00
John Mark Bell
f91dcf7308 Fix build with GTK <2.16
svn path=/trunk/netsurf/; revision=13364
2012-01-02 12:11:07 +00:00
Vincent Sanders
6ebaecccaf Totaly prefunctry binding to spidermonkey
svn path=/trunk/netsurf/; revision=13360
2012-01-01 21:42:38 +00:00
Vincent Sanders
7124d96b1f ensure favicon is correctly set
svn path=/trunk/netsurf/; revision=13358
2011-12-31 12:57:47 +00:00
Vincent Sanders
e0596793e1 load default favicon once
svn path=/trunk/netsurf/; revision=13357
2011-12-31 00:00:54 +00:00
Vincent Sanders
be20f89884 only use libsexy entry widget prior to gtk 2.16
svn path=/trunk/netsurf/; revision=13356
2011-12-30 23:22:18 +00:00
Vincent Sanders
df18a97143 Change GTK plotting to use cairo surfaces throughout
svn path=/trunk/netsurf/; revision=13354
2011-12-30 00:58:35 +00:00
Michael Drake
67f2470d5a Pass whether background images are wanted in redraw_context.
svn path=/trunk/netsurf/; revision=13335
2011-12-23 22:39:25 +00:00
John Mark Bell
4e3a4448ec Beginnings of a gstreamer binding. I've been sitting on this for too long
svn path=/trunk/netsurf/; revision=13248
2011-12-05 22:33:02 +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
9a29f4b4fe Call core to see if handles scroll wheel event first.
svn path=/trunk/netsurf/; revision=13199
2011-11-29 15:17:35 +00:00
Chris Young
24486e342a Update frontends for r13185. Enabled new functionality, where it is not logical it
can be switched off.

svn path=/trunk/netsurf/; revision=13186
2011-11-27 20:09:10 +00:00
Chris Young
085940711d Add missing title
svn path=/trunk/netsurf/; revision=13058
2011-10-15 13:10: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
Vincent Sanders
33af42360f fix ico handler to actually decode to bitmap when called via get_internal
svn path=/trunk/netsurf/; revision=12980
2011-10-07 19:39:52 +00:00
Vincent Sanders
52ad2c1e25 initial favicon support
svn path=/trunk/netsurf/; revision=12975
2011-10-06 23:31:55 +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
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
212358278c clean up gtk tabs argument types to avoid uncessary casting
svn path=/trunk/netsurf/; revision=12888
2011-09-26 14:34:16 +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
Vincent Sanders
e82c5be653 remove deprecated GDK usage except for in libsexy
svn path=/trunk/netsurf/; revision=12803
2011-09-17 14:58:42 +00:00
Vincent Sanders
33df7bb9a0 ensure depricated interfaces are not used
svn path=/trunk/netsurf/; revision=12800
2011-09-16 11:09:58 +00:00
Michael Drake
9db586ed63 Port GTK front end's context menu handling to browser_window_get_contextual_content. (Can handle various things the old code couldn't (imagemaps, (i)frames).) Fix "Save Link" menu option to save the target of the link rather than the current content.
svn path=/trunk/netsurf/; revision=12756
2011-09-06 18:15:42 +00:00
Michael Drake
0401d52f51 Remove gui_window_frame_resize_start() functions.
svn path=/trunk/netsurf/; revision=12738
2011-09-05 15:35:34 +00:00
Michael Drake
34fe2531f2 Remove gui_window_get_browser_window from core. Remove unused implementations from front ends. Rename the GTK front end implementation to nsgtk_get_browser_window and change the GTK front end to use that.
svn path=/trunk/netsurf/; revision=12737
2011-09-05 13:28:17 +00:00
Michael Drake
1d5c6fd0ce Delete unused function.
svn path=/trunk/netsurf/; revision=12731
2011-09-05 10:54:04 +00:00
Michael Drake
a7b886181b Delete dead frames handling.
svn path=/trunk/netsurf/; revision=12730
2011-09-05 10:52:37 +00:00
John Mark Bell
0cc93c221b Fix runtime warning
svn path=/trunk/netsurf/; revision=12717
2011-09-04 20:57:12 +00:00
Michael Drake
e1f20d37c5 Remove dead code.
svn path=/trunk/netsurf/; revision=12715
2011-09-04 19:00:18 +00:00
Michael Drake
5be6bd452d Remove gui_window_position_frame() definition from core and remove all implementations from front ends.
svn path=/trunk/netsurf/; revision=12711
2011-09-04 18:20:24 +00:00
Vincent Sanders
cd554e6f1e make image content handlers build conditional from teh makefile
svn path=/trunk/netsurf/; revision=12673
2011-08-28 14:29:15 +00:00
Michael Drake
1bcfb7500b Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12655
2011-08-24 13:35:27 +00:00
Michael Drake
48917cbb82 GTK changes for core search update (r12646).
svn path=/trunk/netsurf/; revision=12647
2011-08-24 12:31:27 +00:00
Vincent Sanders
0860ac499d refactor to fix warning about out of range enums
split default image finding for toolbar and findbar
reorder to avoid forward declarations
refactor macros to be *slightly* less awful

svn path=/trunk/netsurf/; revision=12640
2011-08-13 22:02:36 +00:00
John Mark Bell
f75b0fca43 Fix motion event handling in GTK treeview
svn path=/trunk/netsurf/; revision=12622
2011-07-24 11:38:26 +00:00
Michael Drake
9c91893028 Fix selection for non-gui browser windows (iframes).
Selection no longer uses current_redraw_browser.
Fix long-standing selection bugs on platforms that use action on release behaviour.

svn path=/trunk/netsurf/; revision=12598
2011-07-13 13:20:26 +00:00
Michael Drake
639e2dbfef Fix up GTK for r12574 API change.
svn path=/trunk/netsurf/; revision=12580
2011-07-06 12:53:23 +00:00
Chris Young
4147c185c8 When launching multiple URLs from a treeview, allow to open one window with multiple
tabs instead of one window per URL.  Make compatible frontends do this by default.

svn path=/trunk/netsurf/; revision=12552
2011-07-02 11:41:06 +00:00
Michael Drake
eddae6af06 Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
2bedf4d88f Frond ends signal end of drag with call to browser_window_mouse_track.
svn path=/trunk/netsurf/; revision=12515
2011-06-27 17:45:17 +00:00
Michael Drake
dea7683985 Remove gui_window_set_scale().
svn path=/trunk/netsurf/; revision=12502
2011-06-24 12:01:24 +00:00
Michael Drake
5a4c8916ef If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust.
svn path=/trunk/netsurf/; revision=12497
2011-06-24 09:30:33 +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
Michael Drake
324e5bfce4 New window opens with homepage, rather than current page.
svn path=/trunk/netsurf/; revision=12457
2011-06-04 13:51:42 +00:00
John Mark Bell
b8fd68db1b If you ask for a new tab, clone must be non-NULL
svn path=/trunk/netsurf/; revision=12422
2011-05-16 22:11:18 +00:00
Vincent Sanders
8be1e85e91 consolidate content redraw
more cleanups ready for image content refactor

svn path=/trunk/netsurf/; revision=12317
2011-05-08 19:54:35 +00:00
John Mark Bell
e71691bae8 Merge branches/jmb/content-factory to trunk
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Vincent Sanders
e7f9e93cc6 make teh GTK frontend build on -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DPANGO_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGTK_MULTIHEAD_SAFE
svn path=/trunk/netsurf/; revision=12138
2011-03-26 20:56:59 +00:00
Chris Young
7ec2cc7f8e Update to use official libwebp 0.1
Remove libvpx references as no longer needed.

svn path=/trunk/netsurf/; revision=12115
2011-03-20 23:32:44 +00:00
Michael Drake
55afb9a64a Comment out noisy nsfont_width logging.
svn path=/trunk/netsurf/; revision=12096
2011-03-17 14:12:39 +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
Michael Drake
3bc192186c Remove superseded about doc.
svn path=/trunk/netsurf/; revision=12072
2011-03-16 12:27:00 +00:00
Vincent Sanders
1da7b161f8 Stop gtk printing from exploding if its unable to initialise the job
add interface to clone a high level cache handle
make generic printing core call new hlcache interface

svn path=/trunk/netsurf/; revision=12068
2011-03-15 22:02:06 +00:00
Vincent Sanders
cb2e3f95b8 make gtk help menu entries actually do something
svn path=/trunk/netsurf/; revision=12065
2011-03-15 21:00:08 +00:00
Vincent Sanders
a5ef282aec Improve logging output to only show the part of teh string being measured
svn path=/trunk/netsurf/; revision=12045
2011-03-14 16:42:31 +00:00
Rob Kendrick
7591d2712e Try to reduce a bit of Pango overhead by avoiding recreation of Pango layout contexts for each width request.
svn path=/trunk/netsurf/; revision=12044
2011-03-14 16:28:37 +00:00
John Mark Bell
408f78b737 Move schedule.h to utils/
svn path=/trunk/netsurf/; revision=12039
2011-03-13 22:50:54 +00:00
Daniel Silverstone
93e9bfe323 Shunt the schedule function definitions to desktop/schedule.h. Shunt the hlcache/llcache to using schedule to get their cleanups run.
svn path=/trunk/netsurf/; revision=12029
2011-03-13 18:26:46 +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
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
John Mark Bell
155f50a48c Hacky mime mappings for RISC OS filetype extensions
svn path=/trunk/netsurf/; revision=11993
2011-03-12 22:28:43 +00:00
Michael Drake
260fbf5fcc Symlinks for GTK front end.
svn path=/trunk/netsurf/; revision=11992
2011-03-12 22:17:55 +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
Michael Drake
55fd1d0133 Front ends don't need to call thumbnail_get_redraw_scale() now.
svn path=/trunk/netsurf/; revision=11946
2011-03-09 21:04:15 +00:00
Michael Drake
5833549a35 Purge nsgtk_plot_set_scale(), nsgtk_plot_get_scale() and nsgtk_plot_scale global.
svn path=/trunk/netsurf/; revision=11943
2011-03-09 16:52:03 +00:00
Michael Drake
cebac17d4d Don't scale text plots in front end (GTK).
svn path=/trunk/netsurf/; revision=11936
2011-03-08 18:48:07 +00:00
John Mark Bell
de688b59e1 Fix text selection
svn path=/trunk/netsurf/; revision=11927
2011-03-06 18:04:13 +00:00
Vincent Sanders
9660442e92 remove obsolete, unused gui_window_redraw API
svn path=/trunk/netsurf/; revision=11870
2011-03-01 14:31:54 +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
John Mark Bell
5c2d8c35f7 Hide implementation detail
svn path=/trunk/netsurf/; revision=11769
2011-02-23 08:23:02 +00:00
John Mark Bell
ec1b92cf24 Obtain download filename from the core
svn path=/trunk/netsurf/; revision=11768
2011-02-23 08:19:10 +00:00
Michael Drake
8813181cea Use core's thumbnail_redraw().
svn path=/trunk/netsurf/; revision=11717
2011-02-19 22:24:36 +00:00
Michael Drake
a66575dfeb Remove thumbnail_create() from browser.h. Make RO front end use the core thumbnail_redraw function. Make other front ends include the right header for thumbnail_create().
svn path=/trunk/netsurf/; revision=11716
2011-02-19 22:17:54 +00:00
Michael Drake
8912285839 Comment rationale for render buffer dimensions.
svn path=/trunk/netsurf/; revision=11699
2011-02-16 14:35:48 +00:00
Michael Drake
082b128106 Remove legacy logging.
svn path=/trunk/netsurf/; revision=11698
2011-02-16 14:14:00 +00:00
Michael Drake
120005e04b Various gtk thumbnailing fixes. Don't make intermediate buffer bigger than it needs to be. Don't pass clip rect that's larger than render area. Don't plot blank background before setting the clip rect. Scale initial content render appropriately. Simplify and fix scale calc for thumbnail resampling.
svn path=/trunk/netsurf/; revision=11697
2011-02-16 13:52:29 +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
Michael Drake
9665415428 Add "const".
svn path=/trunk/netsurf/; revision=11684
2011-02-14 22:08:21 +00:00
Michael Drake
94e7b44ebc Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct.
svn path=/trunk/netsurf/; revision=11683
2011-02-14 22:05:39 +00:00
Michael Drake
5cefc9584a Pass clip rect to browser_window_redraw as pointer.
svn path=/trunk/netsurf/; revision=11672
2011-02-13 23:04:26 +00:00
Michael Drake
fe7921a387 Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
svn path=/trunk/netsurf/; revision=11670
2011-02-13 22:25:11 +00:00
Michael Drake
fedcbf6656 Pass clip rect to browser_window_redraw as struct.
svn path=/trunk/netsurf/; revision=11648
2011-02-11 19:36:33 +00:00
Vincent Sanders
9a183018ea improve browser_window_redraw width and height handling
svn path=/trunk/netsurf/; revision=11642
2011-02-11 00:14:22 +00:00
Vincent Sanders
2a8e8a5cf1 add browser_window_redraw() method to make content_redraw calls from frontends common RISC OS, atari, amiga and beos have not been updated
svn path=/trunk/netsurf/; revision=11640
2011-02-10 22:35:41 +00:00
John Mark Bell
86c2948eb4 Fix copying text/plain to clipboard
svn path=/trunk/netsurf/; revision=11636
2011-02-09 20:31:34 +00:00
Vincent Sanders
42990ed9ec commit a neatness and comment cleanup in the gtk window code
svn path=/trunk/netsurf/; revision=11632
2011-02-08 23:40:14 +00:00
Vincent Sanders
726881c2ad gtk can have *only* a single accelerator group attached or it goes bang
svn path=/trunk/netsurf/; revision=11598
2011-02-01 23:11:29 +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
Vincent Sanders
acc2c341bd Make GTK popup menu generated like the menu bar menu
Clean up gtk scaffoling of some gsoc madness
fix tab opening from popup menu
Remove forward declarations and stop exporting the symbols for every event handler when they should be static

svn path=/trunk/netsurf/; revision=11514
2011-01-28 12:17:51 +00:00
Michael Drake
47c7051242 Change default favicon to content image.
svn path=/trunk/netsurf/; revision=11502
2011-01-26 18:36:48 +00:00
Vincent Sanders
7ff51a93d5 gtk context menu cleanups
svn path=/trunk/netsurf/; revision=11480
2011-01-25 09:19:47 +00:00
Daniel Silverstone
699f0cb344 Make the tree icon dir a non-option
svn path=/trunk/netsurf/; revision=11422
2011-01-20 14:05:13 +00:00
John Mark Bell
a145763c1d Remove redundant computation.
Fix nsfont_split to actually conform to its API and not return split points in the middle of character byte sequences.

svn path=/trunk/netsurf/; revision=11264
2011-01-09 00:52:00 +00:00
Daniel Silverstone
1335ffd488 Make the default favicon a desaturated netsurf logo
svn path=/trunk/netsurf/; revision=11247
2011-01-07 14:16:33 +00:00
Daniel Silverstone
1ca13118a8 Ensure that if we're given no icon (or can't generate one) we default to the system-default favicon
svn path=/trunk/netsurf/; revision=11246
2011-01-07 14:13:40 +00:00
Daniel Silverstone
0bfafb51a6 New tabs should be (assuming not blank) my-home-page/netsurf-home-page rather than current URL
svn path=/trunk/netsurf/; revision=11245
2011-01-07 13:36:05 +00:00
Daniel Silverstone
29321bf3bd Ensure we only update the favicon rendering when the icon being updated is the one in the active tab.
svn path=/trunk/netsurf/; revision=11244
2011-01-07 13:20:47 +00:00
Rob Kendrick
4f03905955 Move setting of the CSS DPI to before any treeviews are created, from when the first browser window is created.
svn path=/trunk/netsurf/; revision=11086
2010-12-17 13:07:38 +00:00
Michael Drake
3a2df10787 Make drags less jerky.
svn path=/trunk/netsurf/; revision=11077
2010-12-16 20:46:13 +00:00
Michael Drake
ad7283780d When we get a motion notify event, only set of a drag in the core if the mouse has moved at least 5px from where it was pressed.
svn path=/trunk/netsurf/; revision=11076
2010-12-16 20:30:10 +00:00
Michael Drake
b067265bd3 Set last_{x|y} coords on press event so they are not used uninitialised in motion_notify_event.
svn path=/trunk/netsurf/; revision=11075
2010-12-16 20:13:44 +00:00
Michael Drake
1248c21a0e A double click fires a click as well.
svn path=/trunk/netsurf/; revision=11070
2010-12-16 00:04:51 +00:00
Vincent Sanders
f6b0a33fd2 make the history, download, hotlist and cookies initialisation actually use the generic glade file finding code instead of their own thing and erroring out.
svn path=/trunk/netsurf/; revision=11055
2010-12-14 18:54:20 +00:00
Vincent Sanders
60c840628f Small refactor to change icon names to being passed in from frontends instead of core treeview globals
svn path=/trunk/netsurf/; revision=11053
2010-12-14 00:18:24 +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
Rob Kendrick
5f2b953c5d Give bookmarks window the focus when it is opened, remove utility style from window definition
svn path=/trunk/netsurf/; revision=10997
2010-12-05 11:43:50 +00:00
Rob Kendrick
78e5ba66f3 Remove a small amount of putridness from GTK full save implemention. Still needs to cope gracefully with the target directory already existing and offer to overwrite.
svn path=/trunk/netsurf/; revision=10995
2010-12-05 11:10:31 +00:00
Michael Drake
1a1bf3d2f0 Purge Aliases file stuff.
svn path=/trunk/netsurf/; revision=10982
2010-12-04 20:19:17 +00:00
Michael Drake
5eaeaed909 Remove Hubbub and Wapcaplet initialisation and finalisation.
svn path=/trunk/netsurf/; revision=10980
2010-12-04 20:14:33 +00:00
Vincent Sanders
802f58f10d Futher simplification of the makefile
Use target makefiles to set build sources

svn path=/trunk/netsurf/; revision=10916
2010-10-29 00:54:27 +00:00
Vincent Sanders
72cf3adc78 Beginning of NetSurf build infrastructure cleanup
Provide makefile fragment for each target, isolates the target makefile changes into one place simplifying the top level makefile

svn path=/trunk/netsurf/; revision=10910
2010-10-27 18:39:24 +00:00
John Mark Bell
52f7f6a620 More GTK 2.22.0 support
svn path=/trunk/netsurf/; revision=10897
2010-10-23 14:12:33 +00:00
John Mark Bell
23df373b3b Hackery to support GTK >= 2.21.6
svn path=/trunk/netsurf/; revision=10895
2010-10-23 13:53:11 +00:00
Chris Young
b0da0e5067 Fix WebP images for little-endian processors, and enable for gtk build.
Direct links work, images embedded in web pages are not showing up -
test page at http://www.unsatisfactorysoftware.co.uk/netsurf/webptest/

svn path=/trunk/netsurf/; revision=10886
2010-10-16 13:50:35 +00:00
John Mark Bell
6173bb0e6c Merge treeview-redux to trunk
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
Vincent Sanders
8747703583 move tabs menu somewhere less annoying
svn path=/trunk/netsurf/; revision=10797
2010-09-18 20:53:43 +00:00
Vincent Sanders
ae4339a970 Make the gtk menus fully translatable
clean up the macro madness a bit in gtk_menu.c

svn path=/trunk/netsurf/; revision=10796
2010-09-18 18:14:09 +00:00
Vincent Sanders
dd43ea0830 move the gtk menu creation into gtk_menu.c from gtk_scaffolding.c
This causes the menu creation to be concentrated in one place removing the need for numerous external linkages

svn path=/trunk/netsurf/; revision=10794
2010-09-17 23:18:01 +00:00
James Bursa
f3d867254c Rename wndWarning to nsgtk_warning_window. Remove some unnecessary includes.
svn path=/trunk/netsurf/; revision=10764
2010-09-12 23:40:34 +00:00
Vincent Sanders
faca1687ce hell with it, heres a version which should result in fewer portability complaints
svn path=/trunk/netsurf/; revision=10756
2010-09-11 18:47:36 +00:00
Vincent Sanders
bf11d92769 cause content_redraw() to be called with the width and height of the content instead of the window.
r=tlsa

svn path=/trunk/netsurf/; revision=10754
2010-09-10 13:35:54 +00:00
Vincent Sanders
43eb5cd640 Fix GTK redraw artifacts with non html content
svn path=/trunk/netsurf/; revision=10753
2010-09-10 13:08:05 +00:00
Michael Drake
9aa397ba68 Start bitmap opacity support in GTK front end. Still needs bitmap_test_opaque() implemented to be complete.
svn path=/trunk/netsurf/; revision=10706
2010-08-14 16:47:18 +00:00
Vincent Sanders
229393e22e Add GTK language resources
svn path=/trunk/netsurf/; revision=10669
2010-07-28 15:26:02 +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
Vincent Sanders
4bfd6ea6f0 remove symlinks to directories for Message translations
svn path=/trunk/netsurf/; revision=10667
2010-07-28 15:19:30 +00:00
Chris Young
004aee8281 Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging
selections within NetSurf window to text fields (does not work across windows).

todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is
putting something on the clipboard which causes a crash when pasting it back

svn path=/trunk/netsurf/; revision=10660
2010-07-24 16:39:37 +00:00
Vincent Sanders
27d5a1ff54 Make GTK frontend select apropriate messages file
svn path=/trunk/netsurf/; revision=10657
2010-07-22 23:01:13 +00:00
Michael Drake
513793a060 Fix inventory file leafname.
svn path=/trunk/netsurf/; revision=10624
2010-07-09 21:36:55 +00:00
Chris Young
1510bbd3ad Check the last character for a path separator, rather than the NULL string termination.
svn path=/trunk/netsurf/; revision=10622
2010-07-09 19:55:13 +00:00
Chris Young
d6eb28d5de Replace unnecessarily complicated path concatenation with something simpler and
easily adaptable to different platform path structures.

svn path=/trunk/netsurf/; revision=10621
2010-07-09 19:45:44 +00:00
John Mark Bell
2d4222def8 Fix gtk compat layer to not segfault on old versions of GTK.
svn path=/trunk/netsurf/; revision=10593
2010-07-03 23:44:20 +00:00
John Mark Bell
a327c4e624 Avoid potential use of NULL pointer.
svn path=/trunk/netsurf/; revision=10588
2010-06-29 06:05:54 +00:00
Michael Drake
b010a25771 + Refactor input handling from browser window code into content
handlers.
+ Disentangle all box tree manipulation from browser window
  code and put it where it belongs.
+ Move other content specific and other irrelevant code from
  browser window handling to appropriate places.
+ Put mouse state enum in new mouse header, since it's not just
  used by browser window code, and it is used by treeview
  windows on the treeview branch.

svn path=/trunk/netsurf/; revision=10561
2010-06-04 09:35:08 +00:00
Daniel Silverstone
5e887908b3 Consolidate several 'myrealloc' functions into ns_realloc, rename one which *is* different, thereby eliminating the word 'myrealloc' from the NS codebase
svn path=/trunk/netsurf/; revision=10530
2010-04-30 16:06:03 +00:00
John Mark Bell
cf73e479e5 Add missing includes
svn path=/trunk/netsurf/; revision=10525
2010-04-30 07:02:19 +00:00
John Mark Bell
000e6ad3de It turns out that realloc(ptr, 0) --> free(ptr) is not actually required by the C standard (whereas realloc(NULL, size) --> malloc(size) is).
Therefore, explicitly model the behaviour expected by our libraries (that realloc of 0 size is equivalent to free).

svn path=/trunk/netsurf/; revision=10524
2010-04-30 07:00:58 +00:00
Vincent Sanders
2fd1476f8c The schedule_run function is only called by the frontends so remove it from the core header and add its definition to the frontend headers.
Alter the framebuffer schedule_run to return the time untill the next event.


svn path=/trunk/netsurf/; revision=10512
2010-04-28 22:39:37 +00:00
Vincent Sanders
03bb3e8636 remove _GNU_SOURCE define from everywhere.
strndup is not standard so provide an implementation.

svn path=/trunk/netsurf/; revision=10474
2010-04-24 15:22:17 +00:00
Vincent Sanders
448b0275ae Fix file: handling on risc os, gtk, windows and framebuffer frontends
svn path=/trunk/netsurf/; revision=10419
2010-04-16 23:56:53 +00:00
John Mark Bell
ad8d0b3350 Handle llcache queries (GTK only for now)
svn path=/trunk/netsurf/; revision=10403
2010-04-14 23:03:49 +00:00
Daniel Silverstone
613fa0213a Simplify gtk scheduler and clean up valgrind-exposed error
svn path=/trunk/netsurf/; revision=10397
2010-04-14 09:59:23 +00:00
Rob Kendrick
f75d630d25 Hack workaround for broken libcurls who obey ALL_PROXY for file: URLs. See comment.
svn path=/trunk/netsurf/; revision=10394
2010-04-13 18:41:19 +00:00
Rob Kendrick
39209643d0 Add gtk_compat.c, which provides implementations of newer GTK functions that we require. This is needed because some macros we were using have been deprecated and replaced with functions, and we build without deprecated features due to it spewing warnings everywhere.
svn path=/trunk/netsurf/; revision=10392
2010-04-13 17:13:52 +00:00
Rob Kendrick
9bb36f143e Revert previous two changes, as it breaks far too recent versions of GTK.
svn path=/trunk/netsurf/; revision=10390
2010-04-13 11:22:35 +00:00
Rob Kendrick
693b39f1f1 GTK 2.20 removes some widget property access macros that were deprecated in 2.18. Change uses to new function calls. Allows nsgtk to be built on Ubuntu 10.04.
svn path=/trunk/netsurf/; revision=10388
2010-04-13 11:12:28 +00:00
Daniel Silverstone
2a0b0dab5b Suppress issues with < 1x1 (i)frames for now in GTK frontend
svn path=/trunk/netsurf/; revision=10383
2010-04-12 09:48:36 +00:00
John Mark Bell
83944723c0 Now that theme_install owns hlcache handle, ensure we clean it up.
Additionally, complete port from struct content to hlcache_handle.

svn path=/trunk/netsurf/; revision=10378
2010-04-11 23:08:54 +00:00
Michael Drake
580fa084de Fix window updates when main window is scrolled.
svn path=/trunk/netsurf/; revision=10347
2010-04-11 12:13:53 +00:00
Michael Drake
0b0044979c Fix warnings about scroll and value possibly getting used uninitialised.
svn path=/trunk/netsurf/; revision=10328
2010-04-09 09:02:05 +00:00
Michael Drake
dc3ce6372f Try to handle nonsense status bar width option settings. This is probably only mildly better than just leaving people with almost no status bar by default.
svn path=/trunk/netsurf/; revision=10326
2010-04-08 21:27:55 +00:00
Michael Drake
169e8e3f91 Status bar width now set in proportion to actual window width. Correctly retain status bar proportion as window is resized.
svn path=/trunk/netsurf/; revision=10325
2010-04-08 20:17:57 +00:00
Michael Drake
ee12fb211f Slightly clearer comment.
svn path=/trunk/netsurf/; revision=10324
2010-04-08 18:55:38 +00:00
Michael Drake
ce57df5bd0 Remove min status bar width limitation. Set initial status bar width when gui_window is created. Note the TODOs in gtk_window.c gui_create_browser_window().
svn path=/trunk/netsurf/; revision=10323
2010-04-08 18:47:51 +00:00
Michael Drake
c1d0f32875 Turn on smooth scaling by default, since it doesn't make much difference to preformance and looks better. Align columns in options table.
svn path=/trunk/netsurf/; revision=10321
2010-04-08 17:37:08 +00:00
Michael Drake
9d38a66299 Make scaled bitmap plotting much faster by only scaling the portion of the bitmap we need to plot.
svn path=/trunk/netsurf/; revision=10320
2010-04-08 17:07:49 +00:00
Michael Drake
3b5dbecaf4 Increase scroll increment.
svn path=/trunk/netsurf/; revision=10317
2010-04-08 14:59:13 +00:00
Daniel Silverstone
2dc7d37a43 GTK's source suggests scroll wheels generally get twice as much scrollypower as arrow keys
svn path=/trunk/netsurf/; revision=10316
2010-04-08 14:49:36 +00:00
Daniel Silverstone
1bbba38519 Ensure the h/v scrollbars default to 16px step increment
svn path=/trunk/netsurf/; revision=10315
2010-04-08 14:45:24 +00:00
Daniel Silverstone
2e3d7a2648 Add scroll event support
svn path=/trunk/netsurf/; revision=10314
2010-04-08 14:36:09 +00:00
Rob Kendrick
b4c3765e34 Pass an empty string as the label for the local history button. While the GTK docs say NULL is reasonable, it causes the ATK layer to produce runtime assertions.
svn path=/trunk/netsurf/; revision=10313
2010-04-08 14:28:04 +00:00
Daniel Silverstone
8b1cde1bb5 Some X servers set MOD2 for some reason. Limit arrow/pgup/down to 'not alt/control/shift'
svn path=/trunk/netsurf/; revision=10310
2010-04-08 14:07:41 +00:00
Daniel Silverstone
8f1dec6f1d Add missing setting which was preventing gtk tabs from working
svn path=/trunk/netsurf/; revision=10306
2010-04-08 13:29:04 +00:00
Michael Drake
19a38aa18e Manually clip for scaled plots too. Doesn't make much difference to performance because the creation of scaled bitmaps is so slow.
svn path=/trunk/netsurf/; revision=10305
2010-04-08 13:22:32 +00:00
Michael Drake
51b27bdf54 Manually clip bitmap area to be plotted. This speeds up rendering considerably. Currently only done for unscaled images.
svn path=/trunk/netsurf/; revision=10297
2010-04-08 11:20:16 +00:00
James Bursa
92bf8b1a7b Partly fix tab closing.
svn path=/trunk/netsurf/; revision=10294
2010-04-07 22:28:19 +00:00
James Bursa
01087a552c Put status bar and horizontal scroll bar next to each other. Each tab now contains a table containing a layout, status label, and scroll bars. The GtkLayout replaces ScrolledWindow->Fixed->DrawingArea.
svn path=/trunk/netsurf/; revision=10277
2010-04-07 16:52:45 +00:00
James Bursa
4746cb7fe1 Make struct browser_mouse a part of gui_window instead of a malloced pointer. It was never used separately or outside gtk_window.c or freed.
svn path=/trunk/netsurf/; revision=10271
2010-04-07 13:53:43 +00:00
John Mark Bell
2748fe4f64 Make downloads work again.
svn path=/trunk/netsurf/; revision=10243
2010-04-05 21:35:38 +00:00
John Mark Bell
89daef932a Fix compilation
svn path=/trunk/netsurf/; revision=10242
2010-04-05 12:02:49 +00:00
Vincent Sanders
95e4a737de rationalise the usage of the file scheme
svn path=/trunk/netsurf/; revision=10221
2010-03-31 13:59:57 +00:00
Vincent Sanders
e00fb7bd2d second pass at startup refactor removing the gui_init callback
svn path=/trunk/netsurf/; revision=10205
2010-03-29 20:03:44 +00:00
Vincent Sanders
7e67527267 first part of initialisation refactor move gui_init2 into frontends
svn path=/trunk/netsurf/; revision=10202
2010-03-29 16:59:30 +00:00
Michael Drake
aafc98465b Remove unnecessary assignment.
svn path=/trunk/netsurf/; revision=10193
2010-03-28 19:26:47 +00:00
Michael Drake
dd2b9e4b19 Pass mouse buttons to core correctly.
svn path=/trunk/netsurf/; revision=10192
2010-03-28 19:21:47 +00:00
Daniel Silverstone
5d074feaf2 Remove redundant fetch_poll call
svn path=/trunk/netsurf/; revision=10185
2010-03-28 15:38:01 +00:00
Rob Kendrick
40da15205e Adjust alignment and padding of toolbar. All this toolbar code needs throwing away.
svn path=/trunk/netsurf/; revision=10182
2010-03-28 14:48:32 +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
21da4f5bdf Call the toolbar sensitivity update function when changing sensitivity of toolbar buttons when throbber stops
svn path=/trunk/netsurf/; revision=10179
2010-03-28 11:41:51 +00:00
Rob Kendrick
2d3ea6c278 Remove empty tab labels from glade files; removes GTK assertions on startup. Also fix popup menu stock items to be ones that actually exist.
svn path=/trunk/netsurf/; revision=10178
2010-03-28 11:26:08 +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
Chris Young
033b5d815a Move code which extracts the filename from a given path into frontend.
svn path=/trunk/netsurf/; revision=10139
2010-03-21 13:32:59 +00:00
James Bursa
3129db31c3 Clean up, rename, and split out some new functions. Remove unused code.
svn path=/trunk/netsurf/; revision=10130
2010-03-15 00:42:48 +00:00
Michael Drake
b263a70bb4 Remove html favicon of unknown origin and use a NetSurf logo when there's no other favicon.
svn path=/trunk/netsurf/; revision=10042
2010-02-13 20:39:07 +00:00
Rob Kendrick
ec402980b9 Change previous commit to more sensible values
svn path=/trunk/netsurf/; revision=9971
2010-02-12 13:14:12 +00:00
Michael Drake
14a1574e20 More normal default window size for nsgtk.
svn path=/trunk/netsurf/; revision=9970
2010-02-12 13:01:48 +00:00
John Mark Bell
2c8452b961 Remove unused variable
svn path=/trunk/netsurf/; revision=9891
2010-01-24 15:45:34 +00:00
Vincent Sanders
17096ef891 Somewhat rationalise GTK throbber initialisation
svn path=/trunk/netsurf/; revision=9872
2010-01-24 01:46:17 +00:00
John Mark Bell
c9ce56727e Add missing include
svn path=/trunk/netsurf/; revision=9861
2010-01-21 23:58:05 +00:00
John Mark Bell
7e81850643 Add missing include
svn path=/trunk/netsurf/; revision=9860
2010-01-21 23:56:25 +00:00
John Mark Bell
5b0ad574b6 Fix compilation when BMP/PNG/GIF support is disabled.
svn path=/trunk/netsurf/; revision=9858
2010-01-21 23:48:34 +00:00
Vincent Sanders
e01d93f344 Refactor main into the frontends
remove unused embedded global

svn path=/trunk/netsurf/; revision=9851
2010-01-20 20:32:30 +00:00
John Mark Bell
11582027d1 Make nsgtk_throbber_initialise_from_png() actually check for allocation failure.
Make nsgtk_throbber_initialise_from_gif() actually stand a chance of working.

svn path=/trunk/netsurf/; revision=9747
2009-12-20 12:05:12 +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
fcffcf4b18 Ensure scaffolding object exists before using it
svn path=/trunk/netsurf/; revision=9738
2009-12-18 20:21:13 +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
Michael Drake
13afa0ff4c Merge Paul Blokus' selectscroll branch. Adds core select menu widget for forms and core scrollbar widget.
svn path=/trunk/netsurf/; revision=9289
2009-08-14 10:37:33 +00:00
Michael Drake
7b565d8bc5 Fix menu pointer's hotspot.
svn path=/trunk/netsurf/; revision=9153
2009-08-10 14:43:31 +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
ddeadd1c02 Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
John Mark Bell
6e13c2fb0a Scale font sizes, for better accuracy.
svn path=/trunk/netsurf/; revision=8657
2009-07-21 16:55:35 +00:00
John Mark Bell
2565a37a52 Refactor text plotter and other font functions to remove dependency on CSS.
svn path=/trunk/netsurf/; revision=8641
2009-07-21 10:59:53 +00:00
Michael Drake
8365d46eb7 Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB.
svn path=/trunk/netsurf/; revision=8513
2009-07-14 10:57:07 +00:00
Vincent Sanders
86232d72a6 next round of plotter refactor
svn path=/trunk/netsurf/; revision=8512
2009-07-14 10:03:58 +00:00
Vincent Sanders
680298e61c plotters line refactor
svn path=/trunk/netsurf/; revision=8446
2009-07-10 18:36:49 +00:00
John Mark Bell
9e5f6510ec Tweak dot/dash patterns.
svn path=/trunk/netsurf/; revision=8416
2009-07-09 12:13:01 +00:00
Vincent Sanders
f9ecd56f62 ploter refactor of rectangle handling
svn path=/trunk/netsurf/; revision=8399
2009-07-08 22:04:40 +00:00
Vincent Sanders
0ade453958 Refactor fill plotter to take a style
svn path=/trunk/netsurf/; revision=8332
2009-07-05 20:10:17 +00:00
John Mark Bell
7792d81e85 Give input focus to drawing area on click. (credit: Paul Blokus)
svn path=/trunk/netsurf/; revision=8277
2009-07-02 23:22:24 +00:00
Vincent Sanders
1165edf662 remove redundant clg call
svn path=/trunk/netsurf/; revision=8240
2009-07-01 13:53:06 +00:00
Vincent Sanders
aa26843411 Improve bitmap plotter API
svn path=/trunk/netsurf/; revision=8195
2009-06-30 13:02:23 +00:00
John Mark Bell
ca96353d9f Merged revisions 7764-7977,7979-8058 via svnmerge from
svn://svn.netsurf-browser.org/branches/paulblokus/textinput

........
  r7769 | paulblokus | 2009-06-11 22:26:16 +0100 (Thu, 11 Jun 2009) | 4 lines
  
  replace global history window with an empty window for future tests
  add the necessary files
  first lines ported
........
  r7771 | paulblokus | 2009-06-11 23:51:46 +0100 (Thu, 11 Jun 2009) | 1 line
  
  more functions
........
  r7772 | paulblokus | 2009-06-12 02:07:36 +0100 (Fri, 12 Jun 2009) | 1 line
  
  redraw working
........
  r7777 | paulblokus | 2009-06-12 11:35:45 +0100 (Fri, 12 Jun 2009) | 3 lines
  
  plotter fix
  make use of the provided clipping rectangle
........
  r7781 | paulblokus | 2009-06-12 16:26:51 +0100 (Fri, 12 Jun 2009) | 3 lines
  
  callbacks for taxtarea to request a [caret]redraw
  basic caret handling drawing
........
  r7782 | paulblokus | 2009-06-12 22:36:50 +0100 (Fri, 12 Jun 2009) | 1 line
  
  single character insertion
........
  r7783 | paulblokus | 2009-06-12 22:41:37 +0100 (Fri, 12 Jun 2009) | 1 line
  
  single character insertion
........
  r7784 | paulblokus | 2009-06-12 23:55:40 +0100 (Fri, 12 Jun 2009) | 3 lines
  
  fixed caret clipping
  arrows, delete and backspace
........
  r7812 | paulblokus | 2009-06-16 14:55:41 +0100 (Tue, 16 Jun 2009) | 1 line
  
  remove bug causing NS hang on \n in textarea
........
  r7816 | paulblokus | 2009-06-16 16:29:48 +0100 (Tue, 16 Jun 2009) | 1 line
  
  Enter, Home, End keys
........
  r7817 | paulblokus | 2009-06-16 16:56:16 +0100 (Tue, 16 Jun 2009) | 1 line
  
  Ctrl + Home/End
........
  r7818 | paulblokus | 2009-06-16 17:16:51 +0100 (Tue, 16 Jun 2009) | 1 line
  
  redraw caret only on caret moves
........
  r7821 | paulblokus | 2009-06-16 20:18:30 +0100 (Tue, 16 Jun 2009) | 1 line
  
  line end/start delete
........
  r7822 | paulblokus | 2009-06-16 23:43:42 +0100 (Tue, 16 Jun 2009) | 1 line
  
  selection drawing + select all
........
  r7823 | paulblokus | 2009-06-17 02:31:07 +0100 (Wed, 17 Jun 2009) | 3 lines
  
  auto scrolling on caret moves
  clear selection
........
  r7845 | paulblokus | 2009-06-18 17:35:03 +0100 (Thu, 18 Jun 2009) | 1 line
  
  page up/down
........
  r7846 | paulblokus | 2009-06-18 17:38:45 +0100 (Thu, 18 Jun 2009) | 1 line
  
   remove unnecessary fix
........
  r7847 | paulblokus | 2009-06-18 18:00:16 +0100 (Thu, 18 Jun 2009) | 1 line
  
  clipping fixes
........
  r7849 | paulblokus | 2009-06-18 18:21:02 +0100 (Thu, 18 Jun 2009) | 1 line
  
  scroll fix
........
  r7850 | paulblokus | 2009-06-18 18:45:13 +0100 (Thu, 18 Jun 2009) | 1 line
  
  simplified redraw request logic
........
  r7855 | paulblokus | 2009-06-18 19:56:24 +0100 (Thu, 18 Jun 2009) | 1 line
  
  front end passing mouse events
........
  r7858 | paulblokus | 2009-06-18 22:18:39 +0100 (Thu, 18 Jun 2009) | 3 lines
  
  drag selection
  bug fixes
........
  r7860 | paulblokus | 2009-06-18 23:32:39 +0100 (Thu, 18 Jun 2009) | 3 lines
  
  take selection into account on keypress of different types
  a few bugs fixed
........
  r7876 | paulblokus | 2009-06-19 13:43:07 +0100 (Fri, 19 Jun 2009) | 3 lines
  
  pango nsfont_split fix
  a few textarea fixes
........
  r7879 | paulblokus | 2009-06-19 17:33:10 +0100 (Fri, 19 Jun 2009) | 4 lines
  
  newline handling seems to work this way
  clear selection on mouse click
  more bug fixes
........
  r7880 | paulblokus | 2009-06-19 18:16:27 +0100 (Fri, 19 Jun 2009) | 3 lines
  
  no caret option
  selection follows drag
........
  r7883 | paulblokus | 2009-06-19 19:08:44 +0100 (Fri, 19 Jun 2009) | 3 lines
  
  o width selection bug fix
  caret at correct side of drag selection
........
  r7918 | paulblokus | 2009-06-22 21:01:28 +0100 (Mon, 22 Jun 2009) | 3 lines
  
  fix caret positioning at line end
  CR removal in input methods
........
  r7919 | paulblokus | 2009-06-22 21:34:39 +0100 (Mon, 22 Jun 2009) | 1 line
  
  fix crash on 0 length text
........
  r7926 | paulblokus | 2009-06-23 09:53:56 +0100 (Tue, 23 Jun 2009) | 3 lines
  
  change LF into spaces for single line widget
  text normalisation at one place
........
  r7931 | paulblokus | 2009-06-23 10:51:25 +0100 (Tue, 23 Jun 2009) | 1 line
  
  cleanup
........
  r7933 | paulblokus | 2009-06-23 11:17:22 +0100 (Tue, 23 Jun 2009) | 1 line
  
  fix selection draw
........
  r7935 | paulblokus | 2009-06-23 11:41:30 +0100 (Tue, 23 Jun 2009) | 1 line
  
  guard readonly
........
  r7942 | paulblokus | 2009-06-24 08:19:39 +0100 (Wed, 24 Jun 2009) | 1 line
  
  applied changes suggested by jmb
........
  r7943 | paulblokus | 2009-06-24 09:04:49 +0100 (Wed, 24 Jun 2009) | 1 line
  
  little fixes
........
  r7945 | paulblokus | 2009-06-24 12:50:14 +0100 (Wed, 24 Jun 2009) | 1 line
  
  correct line length and wrapping
........
  r7947 | paulblokus | 2009-06-24 14:32:36 +0100 (Wed, 24 Jun 2009) | 3 lines
  
  fixed page up/down broken in last commit
  changed logic for caret positioning on soft breaks
........
  r7949 | paulblokus | 2009-06-24 16:31:42 +0100 (Wed, 24 Jun 2009) | 1 line
  
  remove temporary/test code
........
  r7975 | paulblokus | 2009-06-25 16:00:46 +0100 (Thu, 25 Jun 2009) | 1 line
  
  changes suggested by jmb
........
  r7976 | paulblokus | 2009-06-25 16:33:23 +0100 (Thu, 25 Jun 2009) | 1 line
  
  added ro_ prefix to RISC OS textarea code
........

svn path=/trunk/netsurf/; revision=8060
2009-06-27 13:59:25 +00:00
John Mark Bell
243c1ba03f Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG.
svn path=/trunk/netsurf/; revision=7593
2009-05-28 10:39:53 +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
John Mark Bell
b815973c15 Simplify handling of tab switching. Now only has one event entry point, rather than two (and is thus less confusing).
Update window titlebar on tab switch (based on r7234)

svn path=/trunk/netsurf/; revision=7235
2009-04-22 12:32:55 +00:00
John Mark Bell
e7df2e1fb8 Some kind of documentation of option_button_type. Ideally, we'll be using an enum here in future.
svn path=/trunk/netsurf/; revision=7148
2009-04-21 10:47:24 +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
John Mark Bell
03c1e930be Reflow to the entire widget width, rather than leaving a 2px border on the right side. I've no idea why this was needed, but it looks odd.
svn path=/trunk/netsurf/; revision=7142
2009-04-21 01:01:59 +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
John Mark Bell
daf7a52dd6 Hubbub is no longer optional.
Remove libxml2 parser binding.

svn path=/trunk/netsurf/; revision=7115
2009-04-17 00:54:27 +00:00
Daniel Silverstone
4411cc918d Update GTK tab opening to hopefully correctly render pages on open. (Mark Benjamin)
svn path=/trunk/netsurf/; revision=7055
2009-04-07 09:01:12 +00:00
John Mark Bell
2531079866 Revert r6973. Apparently, it causes loads of problems.
svn path=/trunk/netsurf/; revision=7047
2009-04-05 19:17:24 +00:00
John Mark Bell
b230423267 Change URL bar contents when switching tabs in GTK frontend.
Remove fixed-size buffer from core URL string handling.

Credit: Mark Benjamin.

svn path=/trunk/netsurf/; revision=6998
2009-03-30 15:46:26 +00:00
John Mark Bell
f5587d22a4 Squash warning
svn path=/trunk/netsurf/; revision=6986
2009-03-29 12:49:17 +00:00
Michael Drake
86ea073c40 Improve line plotter.
svn path=/trunk/netsurf/; revision=6949
2009-03-27 19:18:52 +00:00
John Mark Bell
58cd142338 Remember the scroll position in the history, so that it's maintained when going back. (credit: Paweł Blokus)
svn path=/trunk/netsurf/; revision=6793
2009-03-17 12:26:41 +00:00
John Mark Bell
07e1187b69 Add .spr -> image/x-riscos-sprite MIME mapping to GTK front end
Fix crash inducing bugs in nssprite.c

svn path=/trunk/netsurf/; revision=6743
2009-03-09 00:58:23 +00:00
Michael Drake
b833e5a727 Log gtk gui_window_get_dimensions sizes.
svn path=/trunk/netsurf/; revision=6684
2009-03-03 19:26:58 +00:00
Rob Kendrick
5b53bb6baa Select the text in the URL bar on Ctrl-A if the widget has the focus, rather
than the document text. 
Thanks to Paweł Blokus <pblokus@gmail.com> for the patch.

svn path=/trunk/netsurf/; revision=6659
2009-02-28 20:02:09 +00:00
John Mark Bell
847b776285 Purge NETSURF_USE_SSL and WITH_SSL
svn path=/trunk/netsurf/; revision=6599
2009-02-22 15:07:50 +00:00
John Mark Bell
de42425720 Remove misleading comment
svn path=/trunk/netsurf/; revision=6552
2009-02-17 23:50:40 +00:00
John Mark Bell
ee986e1d0a Divorce PDF export and printing.
At some point, the RISC OS printing code should be ported to the core page-based output engine.

svn path=/trunk/netsurf/; revision=6544
2009-02-17 16:37:51 +00:00
John Mark Bell
f41d666fe1 Squash warnings from GTK.
Rework export_pdf and print menu handlers to not leak memory, actually check return values, and stop processing in those cases.
Many pedantic whitespace changes.
Remove 3 spurious labels from the tab notebook in netsurf.glade.
Make PDF export menu entry sensitive by default.
Make Print preview menu entry insensitive, as it's unsupported.

svn path=/trunk/netsurf/; revision=6543
2009-02-17 15:08:22 +00:00
John Mark Bell
22d8b8e512 Squash warning when built without WITH_SSL
svn path=/trunk/netsurf/; revision=6540
2009-02-15 23:21:53 +00:00
Vincent Sanders
cbf07e1bc3 make schedule_run return if it has active jobs to schedule
svn path=/trunk/netsurf/; revision=6447
2009-02-11 22:33:55 +00:00
John Tytgat
403376e890 - desktop/save_pdf/pdf_plotters.c:
- Have a set of libharu gstate update related wrapper routines which minimizes the gstate updates in the PDF file 
resulting in smaller PDF file size.
  - Colour values were wrongly scaled (was dividing by 256 instead of by 255).
  - pdf_plot_polygon(): last (closing) lineto wasn't needed, a fill operation will do that automatically.
  - pdf_scale/pdf_set_scale(): moved to desktop/save_pdf/font_haru.c as pdf_text_scale/haru_nsfont_set_scale().
- desktop/save_pdf/pdf_plotters.c(pdf_set_scale): moved to desktop/save_pdf/font_haru.h as haru_nsfont_set_scale().
- desktop/save_pdf/font_haru.c:
  - moved pdf_scale variable from pdf_plotters.c to here.
  - haru_nsfont_set_scale(): was pdf_set_scale from pdf_plotters.c
  - haru_nsfont_apply_style(): always calculate font size and pass it on to caller when requested.
- desktop/save_pdf/font_haru.h:
  - haru_nsfont_set_scale(): declare.
  - haru_nsfont_apply_style(): add font size parameter
- gtk/gtk_scaffolding.c(MENUHANDLER(export_pdf)): call haru_nsfont_set_scale() instead of pdf_set_scale().

svn path=/trunk/netsurf/; revision=6363
2009-02-05 02:31:19 +00:00
John Tytgat
fbf6d4cd41 - Constify parameters of struct plotter_table::polygon and struct plotter_table::path
- riscos/save_draw.c(ro_save_draw_plotters): Make it static.
- desktop/save_pdf/pdf_plotters.c(pdf_plot_path): fix broken implementation (coordinates path were wrong, no clip/text mode update, transformation matrix was overwritten); only update fill and/or 
stroke color when fill and/or stroke is done.
  (pdf_begin): disable compression when PDF_DEBUG is set

svn path=/trunk/netsurf/; revision=6361
2009-02-03 01:27:54 +00:00
John Tytgat
6dcef96aca Add sensitive property for PDF export like for the other export entries, this disables the PDF export menu entry when there is no content.
svn path=/trunk/netsurf/; revision=6344
2009-02-01 22:31:30 +00:00
John Tytgat
aa61544828 strlen() on constant string can be replaced by sizeof()-1
svn path=/trunk/netsurf/; revision=6333
2009-02-01 13:59:35 +00:00
Sean Fox
b132fba399 Right-clicking a page now removes the browser caret as well, but isn't properly implemented; see todo.
svn path=/trunk/netsurf/; revision=6308
2009-01-30 22:38:39 +00:00
Sean Fox
851111e929 Properly show the context menu separator.
svn path=/trunk/netsurf/; revision=6307
2009-01-30 22:00:10 +00:00
Sean Fox
4789d3c09d Clicking in the draw area now deselects the URL bar.
svn path=/trunk/netsurf/; revision=6306
2009-01-30 21:59:01 +00:00
Sean Fox
0de8393358 Save page support on the context menu.
svn path=/trunk/netsurf/; revision=6305
2009-01-30 21:23:10 +00:00
Sean Fox
ab3da70659 Squash some memory leaks.
svn path=/trunk/netsurf/; revision=6290
2009-01-29 08:13:28 +00:00
John Mark Bell
8d76373d23 Forward declare gui_window
svn path=/trunk/netsurf/; revision=6085
2009-01-16 14:30:20 +00:00
Rob Kendrick
3d260f6e75 Fix warnings and formatting
svn path=/trunk/netsurf/; revision=5956
2009-01-02 15:10:33 +00:00
Daniel Silverstone
cc4ff67438 Remove unnecessary storage of page number in tab add
svn path=/trunk/netsurf/; revision=5955
2009-01-02 14:48:29 +00:00
Daniel Silverstone
70e1c9c7bf Silence lack of return value check warning on fgets()
svn path=/trunk/netsurf/; revision=5954
2009-01-02 14:46:54 +00:00
Daniel Silverstone
ebfb26038f Silence format-string warning
svn path=/trunk/netsurf/; revision=5953
2009-01-02 14:44:09 +00:00
Daniel Silverstone
3321a81f71 Fix unchecked result warnings for realpath
svn path=/trunk/netsurf/; revision=5952
2009-01-02 14:41:53 +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
Michael Drake
0bdff38416 Move tab opening logic to same place as new window opening. Make option for "Tabbed browsing", which is enabled by default. Someone who knows how to work glade could add the "Tabbed browsing" option to the choices dialogue. When a link is opened in a new tab, don't change tab.
svn path=/trunk/netsurf/; revision=5816
2008-11-29 00:24:09 +00:00
Rob Kendrick
33dc55587e Ctrl+W now closes just the current tab, and Ctrl+Shift+W closes the window. Added menu item to do this, too.
svn path=/trunk/netsurf/; revision=5593
2008-10-18 14:37:29 +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
2d7516b398 Fix memory leak and warning
svn path=/trunk/netsurf/; revision=5574
2008-10-14 14:58:52 +00:00
Michael Drake
2e584e3b04 Style guide formatting.
svn path=/trunk/netsurf/; revision=5535
2008-10-11 15:12:42 +00:00