Commit Graph

2988 Commits

Author SHA1 Message Date
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
Adrian Lees
1a67793784 Fix crash if content failed to open (memory shortage)
svn path=/trunk/netsurf/; revision=3365
2007-06-24 18:00:46 +00:00
Adrian Lees
9e2baee37d Scroll wheel support on hotlist and history windows
svn path=/trunk/netsurf/; revision=3364
2007-06-24 17:10:08 +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
36ecbc6be2 Add HAVE_STRNDUP and supporting structure to config.h and make utils.[ch] reflect it.
svn path=/trunk/netsurf/; revision=3351
2007-06-16 23:30:47 +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
Rob Kendrick
4ab2824c09 Put -D_BSD_SOURCE back because it breaks building on Linux, even thought it is not strictly needed.
svn path=/trunk/netsurf/; revision=3348
2007-06-15 19:53:19 +00:00
Rob Kendrick
89a44d8bc3 FreeBSD portability fixes.
* Remove usage of d_ino from utils/filename.c (it was checking
	  for the inode being 0, and I cannot spot anywhere in UnixLib
	  where it would explicitly do this anyway)
	* Add -D_XOPEN_SOURCE=600 to gcc command line, and replace old
	  -D_POSIX_C_SOURCE to include =200112L (as that's the standard
	  we use).

svn path=/trunk/netsurf/; revision=3347
2007-06-15 18:43:07 +00:00
Michael Drake
b98b588ee5 Update user support mailing list URL.
svn path=/trunk/netsurf/; revision=3346
2007-06-15 08:34:41 +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
John Mark Bell
92fd7ff871 Fix cookie domain matching in unverifiable transactions.
Minor tidying.

svn path=/trunk/netsurf/; revision=3337
2007-06-10 19:59:29 +00:00
John Mark Bell
63ae43204d Fix UTF-16LE BOM detection _again_
svn path=/trunk/netsurf/; revision=3335
2007-06-10 19:30:37 +00:00
Daniel Silverstone
9ef3a2cd57 Reflow useragent.c to be 8 char indent. Also rename build_user_agent to user_agent_build_string so that all useragent.c starts user_agent_*
svn path=/trunk/netsurf/; revision=3334
2007-06-10 18:13:59 +00:00
Daniel Silverstone
e671fe3707 Add debug about ring sizes. Ensure we dispatch queued jobs when a job is freed.
svn path=/trunk/netsurf/; revision=3333
2007-06-10 18:12:30 +00:00
John Mark Bell
87ca206e13 Warning fixes.
svn path=/trunk/netsurf/; revision=3332
2007-06-10 18:08:22 +00:00
Daniel Silverstone
e6d754cc96 Remove a time consuming LOG(()) and add some whitespace to help me think
svn path=/trunk/netsurf/; revision=3331
2007-06-10 17:55:07 +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
Rob Kendrick
47f9ee3581 Check return value of stat() in filename.c and report oddness using LOG
svn path=/trunk/netsurf/; revision=3318
2007-06-10 11:28:44 +00:00
Rob Kendrick
818a744178 Stop filename.c using d_type member in dirent struct, as this is completely and utterly unportable. Not even Linux has it anymore.
svn path=/trunk/netsurf/; revision=3317
2007-06-10 11:11:46 +00:00
Adrian Lees
ec40330a5b Overlooked warnings
svn path=/trunk/netsurf/; revision=3312
2007-06-05 06:17:16 +00:00
Adrian Lees
6890f816ed Fix interaction between failed drag save and pointer tracking (including page drag scrolling)
svn path=/trunk/netsurf/; revision=3311
2007-06-05 05:14:54 +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
Daniel Silverstone
25e22eb1f5 Add a -v option to enable debug logging. Pass -v by default to the RO runimage.
svn path=/trunk/netsurf/; revision=3306
2007-05-30 22:27:58 +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
John Mark Bell
01316168fc Fix bugs in charset detection.
Strip BOM from parser input, as it confuses libxml.
Ignore non-ASCII-compatible charsets declared in meta tag (the parser 
defaults to 8 bit, so if it's managed to extract a meta charset, then it 
must be ASCII-compatible, so a non-ASCII-compatible meta charset is lies).

Fixes WightLink timetable and 1726341.

svn path=/trunk/netsurf/; revision=3304
2007-05-29 18:03:07 +00:00
James Bursa
15be8d1ade Switch version to "2.0 (Development)".
svn path=/trunk/netsurf/; revision=3300
2007-05-22 04:11:34 +00:00
Rob Kendrick
6bcae05b66 Tweak default hotlist entries to be more up-to-date
svn path=/trunk/netsurf/; revision=3299
2007-05-21 16:02:42 +00:00
Michael Drake
65d727b190 More alignment changes.
svn path=/trunk/netsurf/; revision=3298
2007-05-21 12:58:14 +00:00
Michael Drake
87836a2b3d Treat CENTER like other browsers do.
svn path=/trunk/netsurf/; revision=3297
2007-05-21 10:59:55 +00:00
Michael Drake
b6087556e5 Update development build !Help file.
svn path=/trunk/netsurf/; revision=3288
2007-05-18 11:16:43 +00:00
Rob Kendrick
f0f1c4adc7 New NetSurf logo for nsgtk
svn path=/trunk/netsurf/; revision=3285
2007-05-17 20:02:43 +00:00
John Mark Bell
00377eec58 Import font containing symbols we need for list items.
(Un)Install font appropriately at runtime.
Make list markers use the right characters.

svn path=/trunk/netsurf/; revision=3280
2007-05-14 22:57:11 +00:00
Michael Drake
7f88d46d98 Mention Uniboot and OS version support.
svn path=/trunk/netsurf/; revision=3276
2007-05-13 17:49:58 +00:00
Michael Drake
990708701f Fix underlines.
svn path=/trunk/netsurf/; revision=3275
2007-05-13 17:39:27 +00:00
Michael Drake
d8e8274344 RISC OS ReadMe file.
svn path=/trunk/netsurf/; revision=3274
2007-05-13 17:34:40 +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