Rob Kendrick
c85be437b3
Round caret hight down by 2 to make up for pixel system differences in nsgtk: makes caret appear the correct size for text-entry boxes.
...
svn path=/trunk/netsurf/; revision=3926
2008-03-11 00:26:47 +00:00
John Mark Bell
aaa9eba48b
Fix non-ASCII text input for GTK build (Dmitry Artamonow)
...
svn path=/trunk/netsurf/; revision=3667
2007-12-11 19:34:49 +00:00
Rob Kendrick
c8c7fb53d7
Change curse type used for links to the correct one (GTK 2.12/GNOME 2.20 changes what we used to something inappropriate)
...
svn path=/trunk/netsurf/; revision=3622
2007-10-04 21:19:39 +00:00
Rob Kendrick
dc23423557
Use custom RISC OS-like popup menu cursor on select boxes
...
svn path=/trunk/netsurf/; revision=3603
2007-09-28 23:54:30 +00:00
Rob Kendrick
fddee1c894
Add mention of GTK 2.8 dependancy
...
svn path=/trunk/netsurf/; revision=3601
2007-09-28 21:04:57 +00:00
Daniel Silverstone
cc974e673f
Reflow the if statements as per nsgtk style
...
svn path=/trunk/netsurf/; revision=3531
2007-08-22 19:46:33 +00:00
Daniel Silverstone
65c8a8d8f2
Ensure that when directly setting scroll extents, we clamp them to the GtkAdjustment range properly
...
svn path=/trunk/netsurf/; revision=3530
2007-08-22 19:43:50 +00:00
Vincent Sanders
2f864eeecc
Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
...
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
Daniel Silverstone
e2715b4f2f
Ensure that we can scroll properly with the keyboard in nsgtk
...
svn path=/trunk/netsurf/; revision=3483
2007-08-07 20:50:39 +00:00
James Bursa
07c54283e3
Move window scaling from platform-specific code to desktop/browser.c. Modify gtk gui to handle scaling in the same way as RO.
...
svn path=/trunk/netsurf/; revision=3478
2007-08-07 03:55:18 +00:00
Rob Kendrick
6002c9d217
Add popup version of main menu bar to nsgtk, accessable via right-mouse button
...
svn path=/trunk/netsurf/; revision=3390
2007-07-09 13:49:58 +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
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
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
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
04d8cae4c8
nsgtk warning squashes
...
svn path=/trunk/netsurf/; revision=3270
2007-05-06 17:50:28 +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
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
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
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
8043344eb8
Finish GTK about box
...
svn path=/trunk/netsurf/; revision=3030
2006-11-04 23:38:18 +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
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
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
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
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
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
8ab966398f
Merge new glade nsgtk window code into trunk.
...
svn path=/trunk/netsurf/; revision=2853
2006-08-15 21:29:20 +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