summaryrefslogtreecommitdiff
path: root/gtk/gtk_gui.c
Commit message (Collapse)AuthorAgeFilesLines
* fixup gtk source file namesVincent Sanders2011-01-291-1150/+0
| | | | svn path=/trunk/netsurf/; revision=11529
* Make the tree icon dir a non-optionDaniel Silverstone2011-01-201-10/+5
| | | | svn path=/trunk/netsurf/; revision=11422
* Move setting of the CSS DPI to before any treeviews are created, from when ↵Rob Kendrick2010-12-171-0/+10
| | | | | | the first browser window is created. svn path=/trunk/netsurf/; revision=11086
* make the history, download, hotlist and cookies initialisation actually use ↵Vincent Sanders2010-12-141-6/+15
| | | | | | the generic glade file finding code instead of their own thing and erroring out. svn path=/trunk/netsurf/; revision=11055
* Small refactor to change icon names to being passed in from frontends ↵Vincent Sanders2010-12-141-1/+1
| | | | | | instead of core treeview globals svn path=/trunk/netsurf/; revision=11053
* Remove Hubbub and Wapcaplet initialisation and finalisation.Michael Drake2010-12-041-12/+0
| | | | svn path=/trunk/netsurf/; revision=10980
* Merge treeview-redux to trunkJohn Mark Bell2010-10-051-53/+96
| | | | svn path=/trunk/netsurf/; revision=10865
* Rename wndWarning to nsgtk_warning_window. Remove some unnecessary includes.James Bursa2010-09-121-5/+3
| | | | svn path=/trunk/netsurf/; revision=10764
* hell with it, heres a version which should result in fewer portability ↵Vincent Sanders2010-09-111-5/+13
| | | | | | complaints svn path=/trunk/netsurf/; revision=10756
* Clean up how GTK frontend finds resourcesVincent Sanders2010-07-281-299/+307
| | | | svn path=/trunk/netsurf/; revision=10668
* Make GTK frontend select apropriate messages file Vincent Sanders2010-07-221-29/+121
| | | | 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
* 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-041-2/+2
| | | | | | | | | | | | | 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-301-0/+1
| | | | 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
* 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-141-15/+23
| | | | svn path=/trunk/netsurf/; revision=10403
* 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
* 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
* rationalise the usage of the file schemeVincent Sanders2010-03-311-69/+68
| | | | 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 redundant fetch_poll callDaniel Silverstone2010-03-281-1/+0
| | | | svn path=/trunk/netsurf/; revision=10185
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-281-6/+14
| | | | svn path=/trunk/netsurf/; revision=10180
* Move code which extracts the filename from a given path into frontend.Chris Young2010-03-211-0/+20
| | | | svn path=/trunk/netsurf/; revision=10139
* Clean up, rename, and split out some new functions. Remove unused code.James Bursa2010-03-151-269/+299
| | | | svn path=/trunk/netsurf/; revision=10130
* Remove unused variableJohn Mark Bell2010-01-241-1/+0
| | | | svn path=/trunk/netsurf/; revision=9891
* Somewhat rationalise GTK throbber initialisationVincent Sanders2010-01-241-30/+46
| | | | svn path=/trunk/netsurf/; revision=9872
* Refactor main into the frontendsVincent Sanders2010-01-201-0/+7
| | | | | | remove unused embedded global svn path=/trunk/netsurf/; revision=9851
* Merge branches/MarkieB/gtkmain to trunk.John Mark Bell2009-12-171-29/+86
| | | | svn path=/trunk/netsurf/; revision=9729
* Merge Paul Blokus' selectscroll branch. Adds core select menu widget for ↵Michael Drake2009-08-141-0/+2
| | | | | | forms and core scrollbar widget. svn path=/trunk/netsurf/; revision=9289
* Merge LibCSS port to trunk.John Mark Bell2009-07-231-0/+5
| | | | svn path=/trunk/netsurf/; revision=8752
* Merged revisions 7764-7977,7979-8058 via svnmerge from John Mark Bell2009-06-271-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Hubbub is no longer optional.John Mark Bell2009-04-171-8/+0
| | | | | | Remove libxml2 parser binding. svn path=/trunk/netsurf/; revision=7115
* Purge NETSURF_USE_SSL and WITH_SSLJohn Mark Bell2009-02-221-4/+0
| | | | svn path=/trunk/netsurf/; revision=6599
* Squash warning when built without WITH_SSLJohn Mark Bell2009-02-151-0/+4
| | | | svn path=/trunk/netsurf/; revision=6540
* Fix unchecked result warnings for realpathDaniel Silverstone2009-01-021-13/+20
| | | | svn path=/trunk/netsurf/; revision=5952
* Fix two warnings which only show when not using haru or hubbubDaniel Silverstone2008-10-101-2/+4
| | | | svn path=/trunk/netsurf/; revision=5525
* Whole bunch of warning fixes in GTKRob Kendrick2008-10-091-1/+0
| | | | svn path=/trunk/netsurf/; revision=5521
* * desktop/save_pdf/pdf_plotters.c:John Tytgat2008-09-281-0/+2
| | | | | | | | | | | | - save_pdf(): constify path parameter and routine no longer frees it. Follow latter change in pdf_end(), nsgtk_PDF_set_pass() and nsgtk_PDF_no_pass() - pdf_printer: constify - last_clip_x0, last_clip_y0, last_clip_x1, last_clip_y1, in_text_mode, text_mode_request: make static - pdf_doc: free previous PDF document if previous save attempt failed. - set PDF Creator entry based on our user_agent_string(). * other minor changes. svn path=/trunk/netsurf/; revision=5452
* Merge Mike's tabs changes. Still needs some cleaning.Rob Kendrick2008-08-241-1/+1
| | | | svn path=/trunk/netsurf/; revision=5189
* Allow nsgtk to be built *with* PDF support. Whoops.Rob Kendrick2008-08-151-1/+1
| | | | svn path=/trunk/netsurf/; revision=5122
* Allow nsgtk to be built without PDF exportRob Kendrick2008-08-151-0/+4
| | | | svn path=/trunk/netsurf/; revision=5120
* Second merge of Adam Blokus' GSoC work from his branch ↵John Tytgat2008-08-141-1/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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
* Add some ifdef.John Mark Bell2008-08-111-1/+8
| | | | | | | Error checking Finalise hubbub svn path=/trunk/netsurf/; revision=5020