Commit Graph

422 Commits

Author SHA1 Message Date
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