summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow ↵Chris Young2010-07-241-0/+4
| | | | | | | | | | | 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
* Make GTK frontend select apropriate messages file Vincent Sanders2010-07-227-30/+126
| | | | svn path=/trunk/netsurf/; revision=10657
* Fix inventory file leafname.Michael Drake2010-07-091-1/+1
| | | | svn path=/trunk/netsurf/; revision=10624
* Check the last character for a path separator, rather than the NULL string ↵Chris Young2010-07-091-1/+1
| | | | | | termination. svn path=/trunk/netsurf/; revision=10622
* Replace unnecessarily complicated path concatenation with something simpler andChris Young2010-07-091-0/+19
| | | | | | easily adaptable to different platform path structures. svn path=/trunk/netsurf/; revision=10621
* Fix gtk compat layer to not segfault on old versions of GTK.John Mark Bell2010-07-031-8/+10
| | | | svn path=/trunk/netsurf/; revision=10593
* Avoid potential use of NULL pointer.John Mark Bell2010-06-291-0/+4
| | | | svn path=/trunk/netsurf/; revision=10588
* + Refactor input handling from browser window code into contentMichael Drake2010-06-042-2/+3
| | | | | | | | | | | | | 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
* Consolidate several 'myrealloc' functions into ns_realloc, rename one which ↵Daniel Silverstone2010-04-301-16/+2
| | | | | | *is* different, thereby eliminating the word 'myrealloc' from the NS codebase svn path=/trunk/netsurf/; revision=10530
* Add missing includesJohn Mark Bell2010-04-302-0/+2
| | | | svn path=/trunk/netsurf/; revision=10525
* It turns out that realloc(ptr, 0) --> free(ptr) is not actually required by ↵John Mark Bell2010-04-301-0/+5
| | | | | | | | 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
* The schedule_run function is only called by the frontends so remove it from ↵Vincent Sanders2010-04-281-0/+1
| | | | | | | | | 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
* remove _GNU_SOURCE define from everywhere.Vincent Sanders2010-04-241-1/+0
| | | | | | strndup is not standard so provide an implementation. svn path=/trunk/netsurf/; revision=10474
* Fix file: handling on risc os, gtk, windows and framebuffer frontendsVincent Sanders2010-04-161-5/+16
| | | | svn path=/trunk/netsurf/; revision=10419
* Handle llcache queries (GTK only for now)John Mark Bell2010-04-142-29/+44
| | | | svn path=/trunk/netsurf/; revision=10403
* Simplify gtk scheduler and clean up valgrind-exposed errorDaniel Silverstone2010-04-141-7/+1
| | | | svn path=/trunk/netsurf/; revision=10397
* Hack workaround for broken libcurls who obey ALL_PROXY for file: URLs. See ↵Rob Kendrick2010-04-131-0/+11
| | | | | | comment. svn path=/trunk/netsurf/; revision=10394
* Add gtk_compat.c, which provides implementations of newer GTK functions that ↵Rob Kendrick2010-04-135-9/+123
| | | | | | 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
* Revert previous two changes, as it breaks far too recent versions of GTK.Rob Kendrick2010-04-133-9/+9
| | | | svn path=/trunk/netsurf/; revision=10390
* GTK 2.20 removes some widget property access macros that were deprecated in ↵Rob Kendrick2010-04-133-9/+9
| | | | | | 2.18. Change uses to new function calls. Allows nsgtk to be built on Ubuntu 10.04. svn path=/trunk/netsurf/; revision=10388
* Suppress issues with < 1x1 (i)frames for now in GTK frontendDaniel Silverstone2010-04-121-4/+11
| | | | svn path=/trunk/netsurf/; revision=10383
* Now that theme_install owns hlcache handle, ensure we clean it up.John Mark Bell2010-04-111-14/+12
| | | | | | Additionally, complete port from struct content to hlcache_handle. svn path=/trunk/netsurf/; revision=10378
* Fix window updates when main window is scrolled.Michael Drake2010-04-111-3/+10
| | | | svn path=/trunk/netsurf/; revision=10347
* Fix warnings about scroll and value possibly getting used uninitialised.Michael Drake2010-04-091-1/+2
| | | | svn path=/trunk/netsurf/; revision=10328
* Try to handle nonsense status bar width option settings. This is probably ↵Michael Drake2010-04-081-0/+10
| | | | | | only mildly better than just leaving people with almost no status bar by default. svn path=/trunk/netsurf/; revision=10326
* Status bar width now set in proportion to actual window width. Correctly ↵Michael Drake2010-04-081-13/+14
| | | | | | retain status bar proportion as window is resized. svn path=/trunk/netsurf/; revision=10325
* Slightly clearer comment.Michael Drake2010-04-081-1/+1
| | | | svn path=/trunk/netsurf/; revision=10324
* Remove min status bar width limitation. Set initial status bar width when ↵Michael Drake2010-04-082-1/+13
| | | | | | gui_window is created. Note the TODOs in gtk_window.c gui_create_browser_window(). svn path=/trunk/netsurf/; revision=10323
* Turn on smooth scaling by default, since it doesn't make much difference to ↵Michael Drake2010-04-081-9/+9
| | | | | | preformance and looks better. Align columns in options table. svn path=/trunk/netsurf/; revision=10321
* Make scaled bitmap plotting much faster by only scaling the portion of the ↵Michael Drake2010-04-081-15/+24
| | | | | | bitmap we need to plot. svn path=/trunk/netsurf/; revision=10320
* Increase scroll increment.Michael Drake2010-04-081-2/+2
| | | | svn path=/trunk/netsurf/; revision=10317
* GTK's source suggests scroll wheels generally get twice as much scrollypower ↵Daniel Silverstone2010-04-081-4/+4
| | | | | | as arrow keys svn path=/trunk/netsurf/; revision=10316
* Ensure the h/v scrollbars default to 16px step incrementDaniel Silverstone2010-04-081-2/+2
| | | | svn path=/trunk/netsurf/; revision=10315
* Add scroll event supportDaniel Silverstone2010-04-081-192/+247
| | | | svn path=/trunk/netsurf/; revision=10314
* Pass an empty string as the label for the local history button. While the ↵Rob Kendrick2010-04-081-1/+1
| | | | | | GTK docs say NULL is reasonable, it causes the ATK layer to produce runtime assertions. svn path=/trunk/netsurf/; revision=10313
* Some X servers set MOD2 for some reason. Limit arrow/pgup/down to 'not ↵Daniel Silverstone2010-04-081-1/+1
| | | | | | alt/control/shift' svn path=/trunk/netsurf/; revision=10310
* Add missing setting which was preventing gtk tabs from workingDaniel Silverstone2010-04-081-0/+1
| | | | svn path=/trunk/netsurf/; revision=10306
* Manually clip for scaled plots too. Doesn't make much difference to ↵Michael Drake2010-04-081-31/+35
| | | | | | performance because the creation of scaled bitmaps is so slow. svn path=/trunk/netsurf/; revision=10305
* Manually clip bitmap area to be plotted. This speeds up rendering ↵Michael Drake2010-04-081-8/+52
| | | | | | considerably. Currently only done for unscaled images. svn path=/trunk/netsurf/; revision=10297
* Partly fix tab closing.James Bursa2010-04-071-3/+7
| | | | svn path=/trunk/netsurf/; revision=10294
* Put status bar and horizontal scroll bar next to each other. Each tab now ↵James Bursa2010-04-0711-188/+211
| | | | | | contains a table containing a layout, status label, and scroll bars. The GtkLayout replaces ScrolledWindow->Fixed->DrawingArea. svn path=/trunk/netsurf/; revision=10277
* Make struct browser_mouse a part of gui_window instead of a malloced ↵James Bursa2010-04-072-54/+48
| | | | | | pointer. It was never used separately or outside gtk_window.c or freed. svn path=/trunk/netsurf/; revision=10271
* Make downloads work again.John Mark Bell2010-04-052-38/+64
| | | | svn path=/trunk/netsurf/; revision=10243
* Fix compilationJohn Mark Bell2010-04-051-3/+0
| | | | svn path=/trunk/netsurf/; revision=10242
* rationalise the usage of the file schemeVincent Sanders2010-03-312-71/+70
| | | | svn path=/trunk/netsurf/; revision=10221
* second pass at startup refactor removing the gui_init callbackVincent Sanders2010-03-291-32/+26
| | | | svn path=/trunk/netsurf/; revision=10205
* first part of initialisation refactor move gui_init2 into frontendsVincent Sanders2010-03-291-19/+22
| | | | svn path=/trunk/netsurf/; revision=10202
* Remove unnecessary assignment.Michael Drake2010-03-281-1/+0
| | | | svn path=/trunk/netsurf/; revision=10193
* Pass mouse buttons to core correctly.Michael Drake2010-03-281-12/+21
| | | | svn path=/trunk/netsurf/; revision=10192
* Remove redundant fetch_poll callDaniel Silverstone2010-03-281-1/+0
| | | | svn path=/trunk/netsurf/; revision=10185