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
Rob Kendrick
02104ab174
Include new licencing terms in nsgtk about window
...
svn path=/trunk/netsurf/; revision=3510
2007-08-11 23:32:21 +00:00
Rob Kendrick
83d6bea6a9
fix nsgtk ssl cert verify window
...
svn path=/trunk/netsurf/; revision=3508
2007-08-11 23:22:10 +00:00
Rob Kendrick
14994ae2a7
Initial trivial (temp) implementation of nsgtk SSL cert window. Currently segfaults if you accept, however.
...
svn path=/trunk/netsurf/; revision=3507
2007-08-11 23:14:33 +00:00
Rob Kendrick
86ff1dc84d
nsgtk warning squash
...
svn path=/trunk/netsurf/; revision=3498
2007-08-11 21:41:34 +00:00
Rob Kendrick
368edb8a94
Add GTK stub path function
...
svn path=/trunk/netsurf/; revision=3497
2007-08-11 21:41:17 +00:00
Rob Kendrick
4e6f8d3347
revert 3482 so it can be reapplied as two seperate patches
...
svn path=/trunk/netsurf/; revision=3496
2007-08-11 21:40:19 +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
Rob Kendrick
bbd6b0740a
Fix warnings in nsgtk caused by recent changes.
...
svn path=/trunk/netsurf/; revision=3482
2007-08-07 18:35:28 +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
2370e4c6a0
Clear new bitmaps to transparent black on creation of gtk bitmaps.
...
svn path=/trunk/netsurf/; revision=3439
2007-07-19 00:12:35 +00:00
Rob Kendrick
3e3a9efd00
Add bitmap_save() handler for nsgtk bitmaps. Saves in PNG format.
...
svn path=/trunk/netsurf/; revision=3437
2007-07-18 23:26:00 +00:00
Rob Kendrick
2ec2869953
Implement removing of menu bar, tool bar and status bar from menu.
...
Issues that remain:
* These options are not saved along with the window position and size
* When the menu is detached, keyboard shortcuts cease to work
svn path=/trunk/netsurf/; revision=3392
2007-07-09 14:18:00 +00:00
Rob Kendrick
b35e923aea
Remove debugging printf(). Whoops.
...
svn path=/trunk/netsurf/; revision=3391
2007-07-09 13:51:08 +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
John Mark Bell
a3fcf23c3b
Ctrl+F11 -> fullscreen (nsgtk only)
...
svn path=/trunk/netsurf/; revision=3389
2007-07-09 12:49:22 +00:00
John Mark Bell
5ef99ad521
Ignore blank option_homepage_url
...
svn path=/trunk/netsurf/; revision=3376
2007-06-28 16:14:05 +00:00
John Mark Bell
ed901a6279
There's no referer header if the user's just hit return in the URL bar.
...
svn path=/trunk/netsurf/; revision=3375
2007-06-28 16:03:32 +00:00
Rob Kendrick
31cde5dcde
Add stop-gap SSL cert verification. Currently ignores problems and continues anyway to allow access to SSL sites. A dialogue box providing the user with an opportunity to decline the certificate is on the TODO list.
...
svn path=/trunk/netsurf/; revision=3371
2007-06-27 16:06:42 +00:00
Daniel Silverstone
2c27a6ad55
Add support for ca_path to GTK startup
...
svn path=/trunk/netsurf/; revision=3370
2007-06-27 15:43:51 +00:00
Daniel Silverstone
c2619b5850
10ms in a cs, not 100
...
svn path=/trunk/netsurf/; revision=3367
2007-06-25 21:15:23 +00:00
Daniel Silverstone
dbdd24ae58
Make the gtk_schedule stuff more robust, only run schedules inside gui_poll and generally cause less issues for the as-yet non-reentrant core.
...
svn path=/trunk/netsurf/; revision=3366
2007-06-25 17:32:04 +00:00
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