Commit Graph

554 Commits

Author SHA1 Message Date
Rob Kendrick
dabd37b0b2 Fix length of buffer in previous change - one too short before
svn path=/trunk/netsurf/; revision=3358
2007-06-22 15:23:42 +00:00
Rob Kendrick
9964008dc0 Implement Open File... in nsgtk
svn path=/trunk/netsurf/; revision=3357
2007-06-22 15:16:48 +00:00
Daniel Silverstone
0992b00bf5 Make new_window work for nsgtk
svn path=/trunk/netsurf/; revision=3356
2007-06-20 20:50:48 +00:00
Daniel Silverstone
5e0e967a79 Ensure that when a gui_window dies in nsgtk it kills its browser and gets that to kill it. Makes the browser less crashy if one closes an in-flight window
svn path=/trunk/netsurf/; revision=3355
2007-06-20 19:43:09 +00:00
Rob Kendrick
fa9d7facf5 Make text of nsgtk status bar selectable
svn path=/trunk/netsurf/; revision=3354
2007-06-18 19:43:51 +00:00
Daniel Silverstone
7d75762004 Read dimensions from viewport not drawing area. This causes renders to not go overheight. As a result, remove the scheduled callback for after throbbing. This means we don't get the white flash on GTK page completion.
svn path=/trunk/netsurf/; revision=3352
2007-06-18 18:48:37 +00:00
Rob Kendrick
43257a160b Changes to allow building on Solaris.
* Tested on Solaris Express: Developer Edition,
          which is between Solaris 10 and 11.
        * Used gcc, libmng etc packages using pkg-get and blastwave's resources.
        * Had to build lemon and re2c manually.

svn path=/trunk/netsurf/; revision=3350
2007-06-15 22:07:11 +00:00
Rob Kendrick
ed61b382bc Pre-seed mime type hash with essentials for use on OSes with useless /etc/mime.types files
svn path=/trunk/netsurf/; revision=3349
2007-06-15 22:03:19 +00:00
Daniel Silverstone
79d6aca7e0 Make sure the GTK frontend can get and set scroll position
svn path=/trunk/netsurf/; revision=3345
2007-06-15 08:14:55 +00:00
Daniel Silverstone
1dd7e97eb3 Merge scheme switcher branch in.
svn path=/trunk/netsurf/; revision=3330
2007-06-10 17:46:44 +00:00
Rob Kendrick
ccc270eea1 Don't bother resizing/repositioning frames when the core asks us to if it would result in no difference. Hopefully this fixes nsgtk consuming all available CPU on sites like news.bbc.co.uk
svn path=/trunk/netsurf/; revision=3328
2007-06-10 16:23:59 +00:00
Rob Kendrick
b46f0cb2b3 Simplify nsgtk periodic reflow. Should hopefully help in flicker.
svn path=/trunk/netsurf/; revision=3325
2007-06-10 15:39:30 +00:00
Rob Kendrick
3816273ad0 Whoops - remove legacy line calling function that nolonger exists.
svn path=/trunk/netsurf/; revision=3324
2007-06-10 15:01:05 +00:00
Rob Kendrick
09f65cc095 Fix destruction of nsgtk windows involving frames, fixes crashes on sites such as news.bbc.co.uk
svn path=/trunk/netsurf/; revision=3323
2007-06-10 14:59:47 +00:00
Rob Kendrick
c5b8f914f7 Add some debugging LOG calls to GTK gui_window_destroy
svn path=/trunk/netsurf/; revision=3322
2007-06-10 14:40:05 +00:00
Daniel Silverstone
6807b4208a Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.

This is untested under self-hosted RISC OS builds. All else tested and works.


svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
Rob Kendrick
7bc1a41ea0 Add UNIX-specific fetch_filetype() support. Uses /etc/mime.types by default, but can build minimal mappings if it doesn't exist. New code allows file:// directory listings to be generated, although these are not sorted unlike under RISC OS, as POSIX dirent() doesn't specify sorting.
svn path=/trunk/netsurf/; revision=3305
2007-05-29 23:53:35 +00:00
Rob Kendrick
f0f1c4adc7 New NetSurf logo for nsgtk
svn path=/trunk/netsurf/; revision=3285
2007-05-17 20:02:43 +00:00
Rob Kendrick
14049f1c3e Make nsgtk warn_user fflush(stdout) rather fflush(stderr)
svn path=/trunk/netsurf/; revision=3271
2007-05-06 19:27:04 +00:00
Rob Kendrick
04d8cae4c8 nsgtk warning squashes
svn path=/trunk/netsurf/; revision=3270
2007-05-06 17:50:28 +00:00
Rob Kendrick
dbf2c37f89 GTK warn_user() implementation
svn path=/trunk/netsurf/; revision=3269
2007-05-06 16:39:34 +00:00
Rob Kendrick
0b763a04f7 Initialise some of the gui_window structure for nsgtk to remove a conditional jump on uninitalised data later on
svn path=/trunk/netsurf/; revision=3265
2007-05-05 13:59:16 +00:00
James Bursa
3d91ed1ab5 Add a few asserts to catch some bugs.
svn path=/trunk/netsurf/; revision=3258
2007-04-30 02:31:38 +00:00
James Bursa
c01d270250 Fix casts in parameter to gdk_window_raise().
svn path=/trunk/netsurf/; revision=3255
2007-04-18 01:58:09 +00:00
Rob Kendrick
0619d34bc3 nsgtk warning squashes
svn path=/trunk/netsurf/; revision=3250
2007-04-07 23:27:31 +00:00
Rob Kendrick
a6ab365cbb Apply Darren Salt's patch to implement Open Location/Ctrl-L in nsgtk
svn path=/trunk/netsurf/; revision=3200
2007-03-06 23:33:05 +00:00
Rob Kendrick
212b92f66e Reformat and apply Darren Salt's scrollwheel and keyboard scrolling patch, although I still can't get the keyboard scrolling to work.
svn path=/trunk/netsurf/; revision=3199
2007-03-06 21:29:51 +00:00
Rob Kendrick
0f50dc77d9 Fix nsgtk bitmap code warnings
svn path=/trunk/netsurf/; revision=3188
2007-02-23 02:32:43 +00:00
Rob Kendrick
9549165a2b Another warning squash in gtk/
svn path=/trunk/netsurf/; revision=3174
2007-02-10 02:27:06 +00:00
Rob Kendrick
bdf7affb19 Fix almost all warnings in gtk/
svn path=/trunk/netsurf/; revision=3173
2007-02-10 02:21:32 +00:00
Rob Kendrick
75b673644d Add default icon for nsgtk windows, tidy default locations for resources a little
svn path=/trunk/netsurf/; revision=3172
2007-02-10 01:56:27 +00:00
Rob Kendrick
55eb0a51dd Misc nsgtk window improvements, smaller shipped NetSurf logo
svn path=/trunk/netsurf/; revision=3171
2007-02-09 18:10:33 +00:00
Rob Kendrick
0b90769032 Fix more off-by-ones in nsgtk's image plotting and clipping. AFAICT, this is now perfect.
svn path=/trunk/netsurf/; revision=3164
2007-02-02 22:24:42 +00:00
Rob Kendrick
66a69bc889 Fix off-by-one in nsgtk image plotter that resulted in all images being subject to a bilinear resample.
svn path=/trunk/netsurf/; revision=3162
2007-02-02 11:45:54 +00:00
Rob Kendrick
0351403a7b Misc nsgtk fixes and improvements in makefile, choices dialogue and info window
svn path=/trunk/netsurf/; revision=3161
2007-02-02 11:34:13 +00:00
James Bursa
a0b6661eb6 Make GTK build compile on FreeBSD.
svn path=/trunk/netsurf/; revision=3154
2007-01-29 22:27:15 +00:00
James Bursa
cd98970628 Fix mouse events. Fix some GTK warnings.
svn path=/trunk/netsurf/; revision=3150
2007-01-27 19:29:28 +00:00
John Mark Bell
b057bdc2aa Update project URL (partially lost during merge)
Merge r3071 into gtk_window.c after gtk frames merge (again, lost in merge)

svn path=/trunk/netsurf/; revision=3076
2006-11-27 17:36:30 +00:00
John Mark Bell
5aae53ef91 Merge GTK frames branch to trunk.
svn path=/trunk/netsurf/; revision=3075
2006-11-27 17:13:24 +00:00
Michael Drake
ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
James Bursa
ec563e60ca Add browser_window_reformat() and use it instead of content_reformat() to remove browser_window calls from html.c.
svn path=/trunk/netsurf/; revision=3071
2006-11-26 21:04:42 +00:00
Rob Kendrick
d9137f99f7 Add menu item to toggle debug rendering to nsgtk
svn path=/trunk/netsurf/; revision=3047
2006-11-11 12:57:22 +00:00
Rob Kendrick
d83dbbdebb Fix pango font splitting's discovery of the width of the first line of a wrap.
svn path=/trunk/netsurf/; revision=3046
2006-11-11 12:05:45 +00:00
Rob Kendrick
690e7f7678 Pad status bar in nsgtk so not so snug with window border
svn path=/trunk/netsurf/; revision=3045
2006-11-11 11:35:08 +00:00
Rob Kendrick
7adb616f5c Remove dangling bullet point PNG symlink that's nolonger required
svn path=/trunk/netsurf/; revision=3037
2006-11-05 22:37:36 +00:00
Rob Kendrick
306e09dd9f Fudge off-by-one bitmap plotting in nsgtk plotters. Will investigate actual cause later.
svn path=/trunk/netsurf/; revision=3032
2006-11-05 13:16:21 +00:00
Rob Kendrick
8043344eb8 Finish GTK about box
svn path=/trunk/netsurf/; revision=3030
2006-11-04 23:38:18 +00:00
Rob Kendrick
1ce6854e8e Beginnings of a GNOME-compliant about box for nsgtk
svn path=/trunk/netsurf/; revision=3029
2006-11-04 22:10:13 +00:00
Daniel Silverstone
45f2c3cfa3 Initial basic notes on the refactor necessary to get nsgtk supporting the new frames code
svn path=/trunk/netsurf/; revision=2969
2006-09-29 22:10:12 +00:00
John Mark Bell
00155f279f Fix GTK build
svn path=/trunk/netsurf/; revision=2950
2006-09-10 23:43:33 +00:00
Richard Wilson
f775b64fb7 Possibly fix the GTK build and implement frameset scaling.
svn path=/trunk/netsurf/; revision=2933
2006-09-08 17:11:01 +00:00
John Mark Bell
c356081c88 Fix GTK build
svn path=/trunk/netsurf/; revision=2927
2006-09-07 20:27:59 +00:00
John Mark Bell
48adbd97db Make GTK build compile again (don't expect frames to work, however)
Squash warnings in GTK plotters.

svn path=/trunk/netsurf/; revision=2921
2006-09-06 11:29:14 +00:00
Rob Kendrick
c942b83a61 misc changes to nsgtk's glade window templates
svn path=/trunk/netsurf/; revision=2902
2006-08-29 00:50:29 +00:00
Rob Kendrick
2fa6c3a7ad Implement user-defined new window placement in nsgtk
svn path=/trunk/netsurf/; revision=2901
2006-08-29 00:42:30 +00:00
Rob Kendrick
fa24f64b60 Set caret position in URL bar to the end when core updates it
svn path=/trunk/netsurf/; revision=2899
2006-08-28 20:36:01 +00:00
Rob Kendrick
82cba2801b Make nsgtk's gui_window_remove_caret actually remove the caret
svn path=/trunk/netsurf/; revision=2898
2006-08-28 20:31:21 +00:00
Rob Kendrick
170c992d2a Force nsgtk caret plotting to use GDK. Move plotting to stand-alone function.
svn path=/trunk/netsurf/; revision=2897
2006-08-28 20:24:45 +00:00
Rob Kendrick
9370006a4c Give more helpful log message if unable to create ~/.netsurf
svn path=/trunk/netsurf/; revision=2892
2006-08-24 18:34:08 +00:00
Rob Kendrick
3d37607cda nsgtk font defaults in case of no Choices file, misc file cleanups
svn path=/trunk/netsurf/; revision=2890
2006-08-24 17:39:41 +00:00
Rob Kendrick
939e7711aa Update bullet point symlink for nsgtk
svn path=/trunk/netsurf/; revision=2889
2006-08-24 17:29:36 +00:00
Rob Kendrick
f4da0b414b Improve resource finding, and start groundwork on making it installable - you must now run the "netsurf" shellscript to run nsgtk, and not nsgtk directly.
svn path=/trunk/netsurf/; revision=2888
2006-08-24 17:24:36 +00:00
Rob Kendrick
c1674c959b Add some symlinks inside gtk/ for resources with Unix-style naming
svn path=/trunk/netsurf/; revision=2885
2006-08-24 16:33:33 +00:00
Rob Kendrick
7379b5686b Make failures to load throbber and glade windows definitions fatal
svn path=/trunk/netsurf/; revision=2884
2006-08-22 14:02:07 +00:00
Rob Kendrick
055a7b84a3 Fix typo in widget name
svn path=/trunk/netsurf/; revision=2882
2006-08-22 00:50:06 +00:00
Rob Kendrick
43bb5b652d Very simple global history implementation for nsgtk, misc fixes
svn path=/trunk/netsurf/; revision=2867
2006-08-18 11:44:24 +00:00
Rob Kendrick
f8b8cf5e83 Further Choices improvements in nsgtk; most of them now work correctly.
svn path=/trunk/netsurf/; revision=2865
2006-08-18 00:38:35 +00:00
Rob Kendrick
465c7204b9 Make nsgtk's rendering pay attention to font name choices
svn path=/trunk/netsurf/; revision=2863
2006-08-17 21:28:40 +00:00
Rob Kendrick
9203dacfac Added font selection to nsgtk choices window. Still not used for plotting.
svn path=/trunk/netsurf/; revision=2862
2006-08-17 20:31:24 +00:00
Rob Kendrick
f90d6dfb25 Implement default font style choice in nsgtk Choices dialogue
svn path=/trunk/netsurf/; revision=2861
2006-08-17 20:14:22 +00:00
Rob Kendrick
20d7717c7d Redraw nsgtk browser windows when Choices...Apply is clicked.
svn path=/trunk/netsurf/; revision=2860
2006-08-17 20:03:28 +00:00
Rob Kendrick
097044996c Make nsgtk respect minimum font size setting, and save font size choices
svn path=/trunk/netsurf/; revision=2859
2006-08-17 19:41:14 +00:00
Rob Kendrick
af6a2cd2e0 Fix nsgtk choices window. I have no idea why it worked before.
svn path=/trunk/netsurf/; revision=2858
2006-08-17 19:20:13 +00:00
Rob Kendrick
36cf37c5cb Remove signal handler references from glade file to remove runtime warning.
svn path=/trunk/netsurf/; revision=2857
2006-08-17 18:31:14 +00:00
Rob Kendrick
8ab966398f Merge new glade nsgtk window code into trunk.
svn path=/trunk/netsurf/; revision=2853
2006-08-15 21:29:20 +00:00
Daniel Silverstone
6d7357e2cb Merge 2818:HEAD of branches/dsilvers/gtk-bitmap-pretile
svn path=/trunk/netsurf/; revision=2824
2006-08-09 15:06:14 +00:00
Rob Kendrick
5e1f0332ad Implement 401 login window in nsgtk
svn path=/trunk/netsurf/; revision=2817
2006-08-06 22:29:58 +00:00
James Bursa
e298837af7 Do not send referer when Home button is used. Fix some compile warnings.
svn path=/trunk/netsurf/; revision=2814
2006-08-06 15:18:53 +00:00
Rob Kendrick
6452fc8199 Turn more recent GTK calls into properties sets for compatibility with GTK 2.6
svn path=/trunk/netsurf/; revision=2803
2006-07-31 11:28:37 +00:00
Rob Kendrick
8387cc53d9 Fix key press event handling in drawing area for nsgtk
svn path=/trunk/netsurf/; revision=2802
2006-07-30 12:46:37 +00:00
Rob Kendrick
ba69b31742 Loading and saving of urldb on init/exit of nsgtk.
svn path=/trunk/netsurf/; revision=2801
2006-07-28 16:31:23 +00:00
Rob Kendrick
3cb5b48767 Make URL completion optional in nsgtk
svn path=/trunk/netsurf/; revision=2800
2006-07-28 15:57:00 +00:00
Rob Kendrick
286567b673 nsgtk URL completion: fix problem with pressing enter on a completion not working correctly.
svn path=/trunk/netsurf/; revision=2798
2006-07-28 15:47:48 +00:00
Rob Kendrick
62bfd97641 Make nsgtk use find_resource() to locate netsurf.glade
svn path=/trunk/netsurf/; revision=2797
2006-07-28 15:42:43 +00:00
Rob Kendrick
0c836a8786 Fix problem number 2 in previous commit
svn path=/trunk/netsurf/; revision=2796
2006-07-25 21:00:04 +00:00
Rob Kendrick
546efe6d6c Initial work on URL completion in nsgtk. Some problems still exist.
1. It works without the code that should be required to make it do so.  Boggle.
2. It appears to include the URLs to images and other resources as well as pages
3. Although you can highlight a completion with the cursor keys, pressing enter on one doesn't work - you need to click on it with the mouse.

svn path=/trunk/netsurf/; revision=2795
2006-07-25 20:55:10 +00:00
Rob Kendrick
000f7502ba Make image resampling optional in nsgtk
svn path=/trunk/netsurf/; revision=2794
2006-07-23 22:44:42 +00:00
Rob Kendrick
18d84f0c10 Make Cairo rendering a run-time option in nsgtk - also add infrastructure for nsgtk-specific options.
svn path=/trunk/netsurf/; revision=2793
2006-07-23 22:32:33 +00:00
Rob Kendrick
754b0c0c73 Initial code to support usable Choices window in nsgtk. Unsupported choices are currently greyed out. Additionally, only the home page URL is current saved when Apply is clicked.
svn path=/trunk/netsurf/; revision=2792
2006-07-23 18:26:11 +00:00
Rob Kendrick
dfd0110726 Add tracking of open windows to nsgtk
svn path=/trunk/netsurf/; revision=2789
2006-07-21 10:50:11 +00:00
Rob Kendrick
dad7a41e93 Tidies for eventual gladification of main browser window in nsgtk
svn path=/trunk/netsurf/; revision=2784
2006-07-20 12:20:56 +00:00
Rob Kendrick
26a9f27681 Further templates for other nsgtk windows
svn path=/trunk/netsurf/; revision=2783
2006-07-19 18:24:53 +00:00
Rob Kendrick
e296617a87 Further nsgtk Choices window template improvements
svn path=/trunk/netsurf/; revision=2782
2006-07-19 16:39:10 +00:00
Rob Kendrick
381faaed2f Add more options and layout to nsgtk's options window. Also added some tooltips.
svn path=/trunk/netsurf/; revision=2780
2006-07-19 14:48:04 +00:00
Rob Kendrick
d6a0ad67fe Add simple (currently non-functional) options window for nsgtk
svn path=/trunk/netsurf/; revision=2779
2006-07-19 13:41:57 +00:00
Richard Wilson
0e87b3e449 Update empty cookie_update stub.
svn path=/trunk/netsurf/; revision=2766
2006-07-16 16:11:12 +00:00
John Mark Bell
4c564c28bf Display session cookies' expiry correctly
Fix urldb debug build
Fix GTK build's cookie_update API

svn path=/trunk/netsurf/; revision=2752
2006-07-15 11:59:25 +00:00
Rob Kendrick
e510114844 GTK zoom fixes, misc multi-window fix
svn path=/trunk/netsurf/; revision=2750
2006-07-14 11:52:51 +00:00
Daniel Silverstone
7eb826bdd7 Basic multi-window support for nsgtk
svn path=/trunk/netsurf/; revision=2749
2006-07-14 10:26:03 +00:00
Rob Kendrick
e7747de2e1 Added stub tree_set_node_sprite() function
svn path=/trunk/netsurf/; revision=2742
2006-07-13 17:32:11 +00:00
Rob Kendrick
a6494b29c0 Fix typo in stub cookie function
svn path=/trunk/netsurf/; revision=2741
2006-07-13 17:28:01 +00:00
Richard Wilson
a836591435 Add basic cookie viewer, make trees use textarea components for UTF8 editing, trim headers, fix tree redraw issues.
svn path=/trunk/netsurf/; revision=2739
2006-07-13 12:46:02 +00:00
Richard Wilson
a47f148f2d Optimise out redundant group_start and group_end calls (speed up rendering.)
svn path=/trunk/netsurf/; revision=2725
2006-07-10 09:52:31 +00:00
Rob Kendrick
da1acdffd0 Trivial implementation of url_to_path for nsgtk. It currently does not strip off any params data, etc.
svn path=/trunk/netsurf/; revision=2721
2006-07-06 10:34:15 +00:00
Richard Wilson
667c3b6730 Fix 1516353 and implement 1352354
svn path=/trunk/netsurf/; revision=2711
2006-07-04 19:56:37 +00:00
Rob Kendrick
5378cd3330 Trivial warning fix in GTK GUI
svn path=/trunk/netsurf/; revision=2665
2006-06-28 22:29:45 +00:00
Rob Kendrick
645ff17ba4 Added calls to urldb to load and save the cookie jar at init and exit
svn path=/trunk/netsurf/; revision=2657
2006-06-27 18:24:22 +00:00
Daniel Silverstone
8a86b6b2b4 Added rudimentary gesture engine and test in gtk frontend
svn path=/trunk/netsurf/; revision=2611
2006-06-02 07:48:13 +00:00
Daniel Silverstone
4a314ef5ac Fix pango position-in-string function's off-by-one bug
svn path=/trunk/netsurf/; revision=2601
2006-05-13 10:37:44 +00:00
Rob Kendrick
db548c1e49 Fix some warnings and casting errors in GTK version
svn path=/trunk/netsurf/; revision=2575
2006-05-01 11:55:58 +00:00
John Mark Bell
fba9652abb Fix undersized buffer
svn path=/trunk/netsurf/; revision=2555
2006-04-22 22:47:41 +00:00
John Mark Bell
4113543268 Fix GTK build
svn path=/trunk/netsurf/; revision=2550
2006-04-22 22:10:08 +00:00
Rob Kendrick
3e0e5f4d17 Basic support for typing text into textual form elements.
svn path=/trunk/netsurf/; revision=2539
2006-04-20 16:26:26 +00:00
Rob Kendrick
3c1ba2a0b6 Correct base of font positioning. Stops click in text input causing segfault.
svn path=/trunk/netsurf/; revision=2538
2006-04-18 23:32:28 +00:00
Rob Kendrick
c3da525dbc Simple throbber for nsgtk
svn path=/trunk/netsurf/; revision=2521
2006-04-10 15:11:02 +00:00
John Mark Bell
c09eb457df Unify information databases
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +00:00
Rob Kendrick
a7733ecd45 [project @ 2006-03-31 10:51:34 by rjek]
Remove vexing 'Small caps\!' debug LOG from GTK font plotting

svn path=/import/netsurf/; revision=2484
2006-03-31 10:51:34 +00:00
Rob Kendrick
6b63e72272 [project @ 2006-03-31 10:50:14 by rjek]
GTK dotted line plotting improvements

svn path=/import/netsurf/; revision=2483
2006-03-31 10:50:14 +00:00
Rob Kendrick
5d434ff002 [project @ 2006-03-29 15:26:53 by rjek]
Moved homepage_url option into core from riscos, and use it in the GTK frontend

svn path=/import/netsurf/; revision=2481
2006-03-29 15:26:54 +00:00
Rob Kendrick
93ce7bd8ab [project @ 2006-03-27 13:19:08 by rjek]
nsgtk searches for shared resources in shared locations as well as ~/.netsurf/
Free cookie file location strings at quit as with stylesheet locations

svn path=/import/netsurf/; revision=2197
2006-03-27 13:19:08 +00:00
Rob Kendrick
5ca28e5ef3 [project @ 2006-03-27 00:51:21 by rjek]
Reduced quality of interpolation used for GTK thumbnails for faster rendering on lesser systems

svn path=/import/netsurf/; revision=2195
2006-03-27 00:51:21 +00:00
Daniel Silverstone
f81dfb186a [project @ 2006-03-26 21:53:20 by dsilvers]
Re-tabify, add (currently disabled) cairo support and font family/variant support to font_pango.c

svn path=/import/netsurf/; revision=2186
2006-03-26 21:53:20 +00:00
Rob Kendrick
94a3993be6 [project @ 2006-03-26 21:35:54 by rjek]
Implement Home button in GTK build

svn path=/import/netsurf/; revision=2184
2006-03-26 21:35:54 +00:00
Daniel Silverstone
8ebdc30958 [project @ 2006-03-26 17:48:56 by dsilvers]
Argh, it's a length but it's called an offset

svn path=/import/netsurf/; revision=2181
2006-03-26 17:48:56 +00:00
Daniel Silverstone
feb7f10e78 [project @ 2006-03-26 17:40:15 by dsilvers]
Implement reload button for nsgtk

svn path=/import/netsurf/; revision=2179
2006-03-26 17:40:15 +00:00
Daniel Silverstone
41b71fc15a [project @ 2006-03-26 17:22:29 by dsilvers]
Implement the history window, and re-tabify gtk_window.c

svn path=/import/netsurf/; revision=2178
2006-03-26 17:22:29 +00:00
Daniel Silverstone
d7447adc6c [project @ 2006-03-26 16:36:20 by dsilvers]
Fix plotters to use system colormap to save widget ranting when rendering history thumbnails

svn path=/import/netsurf/; revision=2177
2006-03-26 16:36:20 +00:00
Daniel Silverstone
231adb8949 [project @ 2006-03-26 15:34:33 by dsilvers]
rudimentary nsgtk support for back/forward

svn path=/import/netsurf/; revision=2176
2006-03-26 15:34:33 +00:00
Daniel Silverstone
bb6e9288dd [project @ 2006-03-26 15:11:51 by dsilvers]
Partial page-load progressive render for GTK frontend

svn path=/import/netsurf/; revision=2175
2006-03-26 15:11:51 +00:00
Daniel Silverstone
6d21c43a97 [project @ 2006-03-26 15:07:25 by dsilvers]
Fix up a missing GTK_TOOLBAR() and implement the stop button as a throbber/stop-button for now

svn path=/import/netsurf/; revision=2174
2006-03-26 15:07:25 +00:00
Rob Kendrick
ee528d96f4 [project @ 2006-03-26 14:58:15 by rjek]
Add extra buttons to toolbar, including (semi-)working scaling

svn path=/import/netsurf/; revision=2173
2006-03-26 14:58:15 +00:00
Rob Kendrick
88d49538e4 [project @ 2006-03-26 01:18:00 by rjek]
Fix memory leak in GTK thumbnailing

svn path=/import/netsurf/; revision=2170
2006-03-26 01:18:00 +00:00
Rob Kendrick
698c6efcb0 [project @ 2006-03-26 01:14:01 by rjek]
Improvements to GTK thumbnailing

svn path=/import/netsurf/; revision=2169
2006-03-26 01:14:01 +00:00
Daniel Silverstone
57d61052af [project @ 2006-03-25 23:56:39 by dsilvers]
Ensure font scaling is done at font_paint time for GTK frontend

svn path=/import/netsurf/; revision=2168
2006-03-25 23:56:39 +00:00
Rob Kendrick
556072e994 [project @ 2006-03-25 23:53:34 by rjek]
Misc GTK thumbnailing fixes

svn path=/import/netsurf/; revision=2167
2006-03-25 23:53:34 +00:00
Rob Kendrick
b82d35b061 [project @ 2006-03-25 23:31:41 by rjek]
Initial GTK thumbnail rendering implementation (still gets fonts too big)

svn path=/import/netsurf/; revision=2166
2006-03-25 23:31:42 +00:00
Rob Kendrick
f6197574b6 [project @ 2006-03-23 13:51:39 by rjek]
Dashed and dotted line and rectangle drawing in GDK/Cairo plotters

svn path=/import/netsurf/; revision=2155
2006-03-23 13:51:39 +00:00
Rob Kendrick
4e48ad2f07 [project @ 2006-03-23 04:37:53 by rjek]
Use higher quality dither in GTK image plotting

svn path=/import/netsurf/; revision=2153
2006-03-23 04:37:53 +00:00
Rob Kendrick
388ce7b8c4 [project @ 2006-03-21 17:22:41 by rjek]
Radio and checkbox widgets are now 3D, and implemented arc plotting for them

svn path=/import/netsurf/; revision=2145
2006-03-21 17:22:41 +00:00
Rob Kendrick
9f4a79dda1 [project @ 2006-03-20 17:39:39 by rjek]
Minor Cairo colour selection and line drawing improvements

svn path=/import/netsurf/; revision=2143
2006-03-20 17:39:39 +00:00
Rob Kendrick
dd6bb64347 [project @ 2006-03-20 10:56:54 by rjek]
Source cleanup and true/false to TRUE/FALSE conversion for GTK plotters

svn path=/import/netsurf/; revision=2142
2006-03-20 10:56:54 +00:00
Rob Kendrick
f519569474 [project @ 2006-03-19 23:56:52 by rjek]
Cairo area clipping, and misc fixups in GTK plotters

svn path=/import/netsurf/; revision=2141
2006-03-19 23:56:52 +00:00
Rob Kendrick
5c7b5d81ad [project @ 2006-03-19 21:44:22 by rjek]
Some Cairo line thickness related fixes

svn path=/import/netsurf/; revision=2139
2006-03-19 21:44:22 +00:00
Rob Kendrick
1af8434032 [project @ 2006-03-19 20:53:46 by rjek]
Some GTK plotters now use Cairo if it is available for higher render quality

svn path=/import/netsurf/; revision=2137
2006-03-19 20:53:46 +00:00
Rob Kendrick
1562dd03cb [project @ 2006-03-19 19:03:07 by rjek]
Implemented unfilled disc plotting and GTK disc plotting

svn path=/import/netsurf/; revision=2136
2006-03-19 19:03:07 +00:00
Daniel Silverstone
35bb5f96d5 [project @ 2006-03-19 17:49:32 by dsilvers]
Add support for a few more CSS cursors and tidy the GUI_POINTER_* stuff to support what we already had

svn path=/import/netsurf/; revision=2135
2006-03-19 17:49:32 +00:00
Daniel Silverstone
63c65c6808 [project @ 2006-03-19 16:03:02 by dsilvers]
Make it so ./nsgtk http://somewhere will work for convenience

svn path=/import/netsurf/; revision=2134
2006-03-19 16:03:02 +00:00
Daniel Silverstone
2a6b4b79b0 [project @ 2006-03-14 22:14:02 by dsilvers]
Fix anchoring and repeats for gtk repeated bitmaps

svn path=/import/netsurf/; revision=2131
2006-03-14 22:14:02 +00:00
Daniel Silverstone
e761d87f35 [project @ 2006-03-14 21:14:17 by dsilvers]
Add tiled bitmap support to GTK port to make backgrounds etc work

svn path=/import/netsurf/; revision=2130
2006-03-14 21:14:17 +00:00
Daniel Silverstone
d8b38299e9 [project @ 2006-03-14 14:24:00 by dsilvers]
Apparently five centiseconds works better for GTK gui reflow

svn path=/import/netsurf/; revision=2128
2006-03-14 14:24:00 +00:00
Daniel Silverstone
e057817d51 [project @ 2006-03-10 09:46:26 by dsilvers]
Very basic GTK cursor support.

svn path=/import/netsurf/; revision=2124
2006-03-10 09:46:26 +00:00
Daniel Silverstone
17d059f53f [project @ 2006-03-10 09:09:03 by dsilvers]
Minor refactor to pass the gui_window to gui_window_set_pointer and gui_window_hide_pointer

svn path=/import/netsurf/; revision=2123
2006-03-10 09:09:03 +00:00
Daniel Silverstone
444cb18984 [project @ 2006-03-10 08:53:49 by dsilvers]
very beginning of cursor support in GTK port

svn path=/import/netsurf/; revision=2122
2006-03-10 08:53:49 +00:00
Daniel Silverstone
2bb8de019c [project @ 2006-03-10 03:07:44 by dsilvers]
GTK: resizing window now reformats nicely. Window can go smaller than initially requested 600x600

svn path=/import/netsurf/; revision=2120
2006-03-10 03:07:44 +00:00
Daniel Silverstone
22d208e107 [project @ 2006-03-10 02:03:56 by dsilvers]
Remove some unnecessary debug from GTK frontend

svn path=/import/netsurf/; revision=2119
2006-03-10 02:03:56 +00:00
Daniel Silverstone
78f85340ae [project @ 2006-03-10 01:42:53 by dsilvers]
Ensure gui_window_update_box causes an expose of the right kind in the GTK frontend (enables animations etc)

svn path=/import/netsurf/; revision=2118
2006-03-10 01:42:53 +00:00
Daniel Silverstone
b58c92b030 [project @ 2006-03-10 01:42:21 by dsilvers]
Make sure zero width/height images don't crash the gtk renderer

svn path=/import/netsurf/; revision=2117
2006-03-10 01:42:21 +00:00
Daniel Silverstone
4306d74faf [project @ 2006-03-09 20:14:13 by dsilvers]
Added schedule support to the GTK port

svn path=/import/netsurf/; revision=2116
2006-03-09 20:14:13 +00:00
Daniel Silverstone
a197ee3b28 [project @ 2006-03-09 19:05:29 by dsilvers]
gtk/font_pango.c: Use the new css_len2pt function if possible

svn path=/import/netsurf/; revision=2115
2006-03-09 19:05:29 +00:00
John Mark Bell
86f249e8c9 [project @ 2006-02-23 17:27:30 by jmb]
Fix GTK build

svn path=/import/netsurf/; revision=2093
2006-02-23 17:27:30 +00:00
Richard Wilson
3d9a1198db [project @ 2006-02-22 01:58:19 by rjw]
Reduce constant bitmap overhead per reference by moving to a flag word. Allow bitmaps to be reduced back to their raw data to free extra memory in a highly efficient manner.

svn path=/import/netsurf/; revision=2089
2006-02-22 01:58:19 +00:00
Richard Wilson
4cc85469cb [project @ 2006-02-21 20:49:11 by rjw]
Allow any content to be used as a background. Simplify bitmap code.

svn path=/import/netsurf/; revision=2087
2006-02-21 20:49:12 +00:00
John Mark Bell
b6c6d77772 [project @ 2006-02-20 02:29:19 by jmb]
Fix GTK build

svn path=/import/netsurf/; revision=2086
2006-02-20 02:29:19 +00:00
John Mark Bell
745deb7a9d [project @ 2006-01-08 01:51:33 by jmb]
Make data file locations user-configurable (no UI for this as yet)
Reduce intrusiveness of ncos modifications
Fix GTK build
Remove Cookies file details from Messages (this data never belonged in there anyway)
Make gui_init more robust against memory exhaustion.

svn path=/import/netsurf/; revision=2014
2006-01-08 01:51:33 +00:00
James Bursa
10291d72b3 [project @ 2005-12-19 22:50:23 by bursa]
Add headers and get rid of all externs in .c files.

svn path=/import/netsurf/; revision=1901
2005-12-19 22:50:23 +00:00
James Bursa
ad13eb98af [project @ 2005-12-19 21:54:51 by bursa]
Fix busy polling in gtk build.

svn path=/import/netsurf/; revision=1900
2005-12-19 21:54:51 +00:00
Adrian Lees
1a1901d19b [project @ 2005-07-20 23:27:27 by adrianl]
2D scrolling of text areas/frames; First cut at selection in textareas; Further text editing actions (Word left/right; Page up/down; Cut block; Delete line start/end)

svn path=/import/netsurf/; revision=1812
2005-07-20 23:27:28 +00:00
John Mark Bell
f4ecaaed31 [project @ 2005-07-16 14:35:20 by jmb]
- Convert Messages files to UTF-8 encoding.
- Replace local_encoding_name() with platform specific
  utf8_[to,from]_local_encoding() functions - this allows mapping of 8bit
  characters 0x80->0x9f (inclusive).
- All text that is rendered by the RISC OS Wimp is now converted to the system
  local encoding prior to display.
- Lose the horrendous hack that was messages_get_key()
- Menu text is now translated to system local encoding on the fly (if necessary)
  rather than at menu creation time. This allows the system alphabet to change
  under us and our menus remain usable.
- The Languages menu now lists all languages that are present in the LangNames
  file. In the case of selecting the UI language, those languages which are not
  available are shaded.

svn path=/import/netsurf/; revision=1796
2005-07-16 14:35:25 +00:00
James Bursa
eb6a570aa6 [project @ 2005-07-03 15:41:07 by bursa]
Implement gui_window_get_height() for the GTK build.

svn path=/import/netsurf/; revision=1782
2005-07-03 15:41:07 +00:00
Richard Wilson
b88a81b9d9 [project @ 2005-06-23 17:22:28 by rjw]
Allow images to be unloaded to disk or compressed in memory. Provide thumbnails in all tree windows (hotlist, history). Optimise the application initialisation times. Part 1 of 2.

svn path=/import/netsurf/; revision=1761
2005-06-23 17:22:28 +00:00
Richard Wilson
ec9db1d6af [project @ 2005-04-29 01:35:52 by rjw]
Only initialise canvases if we need to.

svn path=/import/netsurf/; revision=1699
2005-04-29 01:35:52 +00:00
John Mark Bell
cf1d79f389 [project @ 2005-04-25 20:58:22 by jmb]
Fix GTK build

svn path=/import/netsurf/; revision=1684
2005-04-25 20:58:22 +00:00
Adrian Lees
31c659a2ea [project @ 2005-04-20 12:24:41 by adrianl]
text import from global clipboard, other apps & files and additional keys for editing text in textareas

svn path=/import/netsurf/; revision=1673
2005-04-20 12:24:41 +00:00
Adrian Lees
93b5270bc8 [project @ 2005-04-18 12:07:27 by adrianl]
Update gtk build before z notices I broke it

svn path=/import/netsurf/; revision=1668
2005-04-18 12:07:27 +00:00
James Bursa
6af1e81e52 [project @ 2005-04-17 16:42:05 by bursa]
Fix the debug and gtk builds.

svn path=/import/netsurf/; revision=1661
2005-04-17 16:42:05 +00:00
Adrian Lees
452a27e74c [project @ 2005-04-17 03:30:35 by adrianl]
Search text highlighting in browser windows

svn path=/import/netsurf/; revision=1657
2005-04-17 03:30:35 +00:00
John Mark Bell
34b92e905f [project @ 2005-04-15 16:30:37 by jmb]
Fix GTK build

svn path=/import/netsurf/; revision=1641
2005-04-15 16:30:37 +00:00
Adrian Lees
530e185124 [project @ 2005-04-15 05:52:17 by adrianl]
Stub functions for GTK following text selection, page drag scrolling and drag-saving of images

svn path=/import/netsurf/; revision=1637
2005-04-15 05:52:17 +00:00
James Bursa
35770a2572 [project @ 2005-04-09 13:26:57 by bursa]
Fix nsfont_width() and nsfont_paint() when passed a 0-length string.

svn path=/import/netsurf/; revision=1615
2005-04-09 13:26:57 +00:00
James Bursa
8550695710 [project @ 2005-02-27 16:03:02 by bursa]
Fix the GTK build.

svn path=/import/netsurf/; revision=1527
2005-02-27 16:03:02 +00:00
James Bursa
2583180b79 [project @ 2005-01-24 22:14:59 by bursa]
Simplify browser_window_go(). Replace browser_window_go_post() with browser_window_go() where possible.

svn path=/import/netsurf/; revision=1466
2005-01-24 22:14:59 +00:00
James Bursa
01b28b7538 [project @ 2005-01-24 20:59:15 by bursa]
Fix input focus behaviour. Remove obsolete gui_window_get_url().

svn path=/import/netsurf/; revision=1465
2005-01-24 20:59:15 +00:00
James Bursa
a76404dfd0 [project @ 2005-01-13 20:28:50 by bursa]
Fix some compilation warnings in the debug build. Update nsgtk_plot_rectangle() with the new parameters.

svn path=/import/netsurf/; revision=1447
2005-01-13 20:29:24 +00:00
John Mark Bell
77de9c1336 [project @ 2005-01-03 02:09:20 by jmb]
Shift + Click == download

svn path=/import/netsurf/; revision=1429
2005-01-03 02:09:20 +00:00
John Mark Bell
8334683068 [project @ 2005-01-02 03:58:20 by jmb]
xcalloc/xrealloc/xstrdup-purge - Lose remaining calls (and purge the relevant functions from utils.c)

svn path=/import/netsurf/; revision=1419
2005-01-02 03:58:21 +00:00
James Bursa
ed05aa87f8 [project @ 2004-12-25 11:37:35 by bursa]
Fix line endings.

svn path=/import/netsurf/; revision=1409
2004-12-25 11:37:35 +00:00
Richard Wilson
bd652a750a [project @ 2004-12-09 12:07:32 by rjw]
Fix GTK build. Lose xcalloc() from history.

svn path=/import/netsurf/; revision=1396
2004-12-09 12:07:32 +00:00
Richard Wilson
32db7e04d0 [project @ 2004-12-09 10:30:43 by rjw]
Re-implementation of hotlist via general tree code. Animations can be stopped once more. Purged a few xcalloc() calls.

svn path=/import/netsurf/; revision=1394
2004-12-09 10:30:44 +00:00
Richard Wilson
542f783b18 [project @ 2004-11-10 19:51:31 by rjw]
Further GIF optimisation to reduce flicker.

svn path=/import/netsurf/; revision=1356
2004-11-10 19:51:32 +00:00
John Mark Bell
963c3766d5 [project @ 2004-10-20 23:31:31 by jmb]
Reimplement draw groups

svn path=/import/netsurf/; revision=1332
2004-10-20 23:31:32 +00:00
John Mark Bell
fff5f231ed [project @ 2004-10-17 22:13:34 by jmb]
Lose hard-coded stylesheet URLs.

svn path=/import/netsurf/; revision=1323
2004-10-17 22:13:35 +00:00
James Bursa
892a348b73 [project @ 2004-10-17 21:51:06 by bursa]
Update to use plotters for HTML redraw.

svn path=/import/netsurf/; revision=1322
2004-10-17 21:51:06 +00:00
Richard Wilson
403f12872d [project @ 2004-10-04 23:54:42 by rjw]
Moved GIF file reading to image/, optimisation of plotting for GIFs, JNGs, PNGs and JPEGs, initial work for toolbar customisation. Possibly some other things too.

svn path=/import/netsurf/; revision=1301
2004-10-04 23:54:42 +00:00
John Mark Bell
49ce807e3c [project @ 2004-10-01 21:31:55 by jmb]
A somewhat better implementation of referrers which no longer sends the referer if the URL schemes don't match.

Things to do:
1) Preservation of referer across redirects (see comment in browser.c:284)
2) GUI templates/code for configuration of referer sending (simple on/off toggle only)
3) Make referer sending when fetching objects/stylesheets for a page pay attention to option_send_referer?
4) Handle the case where the referer is in the form of http://moo:foo@mysite.com/ (ie the login details embedded in the referer - not good).

svn path=/import/netsurf/; revision=1297
2004-10-01 21:31:55 +00:00
John Mark Bell
39ad1632eb [project @ 2004-10-01 00:06:49 by jmb]
Send HTTP referer header. This is _only_ sent when a link is clicked (theoretically, at least).

svn path=/import/netsurf/; revision=1296
2004-10-01 00:06:49 +00:00
John Mark Bell
5802723281 [project @ 2004-09-27 05:21:00 by jmb]
Improve !Boot file and support protocol fallback positions.

svn path=/import/netsurf/; revision=1287
2004-09-27 05:21:00 +00:00
James Bursa
3371a27391 [project @ 2004-09-03 22:44:47 by bursa]
Add generic bitmap functions. Move jpeg and mng code from riscos/ to image/ and update to use bitmap. Note: background tiling and drawfile export for jpeg and mng/png are broken.

svn path=/import/netsurf/; revision=1265
2004-09-03 22:44:48 +00:00
John Mark Bell
79964fe982 [project @ 2004-08-15 19:10:08 by jmb]
Make GTK build work again

svn path=/import/netsurf/; revision=1236
2004-08-15 19:10:08 +00:00
John Tytgat
7d3a242132 [project @ 2004-08-14 12:57:00 by joty]
Using more stddef.h types.

svn path=/import/netsurf/; revision=1230
2004-08-14 12:57:02 +00:00
James Bursa
386aba4f59 [project @ 2004-07-28 23:14:04 by bursa]
Update gtk build with gui_init2().

svn path=/import/netsurf/; revision=1161
2004-07-28 23:14:04 +00:00
James Bursa
34c2bf9297 [project @ 2004-07-22 12:03:37 by bursa]
Make the gtk build compile again and implement mouse clicks.

svn path=/import/netsurf/; revision=1137
2004-07-22 12:03:37 +00:00
John Tytgat
68de81fe8f [project @ 2004-07-21 14:19:21 by joty]
Added gui_window_remove_caret() to disown the caret.

svn path=/import/netsurf/; revision=1133
2004-07-21 14:19:21 +00:00
John Tytgat
a0d511734a [project @ 2004-07-05 20:19:51 by joty]
Using UTF-8 instead of Latin1 encoding.

svn path=/import/netsurf/; revision=1049
2004-07-05 20:19:52 +00:00
James Bursa
e4d780c476 [project @ 2004-06-22 18:48:33 by bursa]
Experimental gtk interface.

svn path=/import/netsurf/; revision=993
2004-06-22 18:48:33 +00:00