John Mark Bell
17ab65e69a
Fix uninitialised fetch structure entries.
...
This was causing the Referer header to be sent regardless (assuming the referer string was non-NULL).
svn path=/trunk/netsurf/; revision=3387
2007-07-08 11:35:53 +00:00
James Bursa
decb20da52
Add URL file (with the original URL) and Inventory file (listing URLs of objects) to Full Saves.
...
svn path=/trunk/netsurf/; revision=3383
2007-07-05 04:29:09 +00:00
James Bursa
1177df7388
Clarify K&R.
...
svn path=/trunk/netsurf/; revision=3382
2007-07-04 19:09:41 +00:00
James Bursa
98224bf5a3
Add section on Coding Style.
...
svn path=/trunk/netsurf/; revision=3381
2007-07-04 19:05:52 +00:00
James Bursa
594eb74c4c
Fix deadlock when fetching stylesheets when max_fetchers_per_host is reached by splitting fetch_can_be_freed() into fetch_remove_from_queues() and fetch_free().
...
svn path=/trunk/netsurf/; revision=3380
2007-07-04 18:44:13 +00:00
James Bursa
960c11de1a
Rename register_curl_fetchers() to fetch_curl_register(). Add declarations for static functions and reorder functions.
...
svn path=/trunk/netsurf/; revision=3379
2007-07-04 18:05:16 +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
5c09e09559
Remove -Wformat=2 from GTK build options, and make optimisation setting the same as the RISC OS version
...
svn path=/trunk/netsurf/; revision=3374
2007-06-27 17:18:46 +00:00
Daniel Silverstone
e2d0019119
Add option_suppress_curl_debug and default it to true
...
svn path=/trunk/netsurf/; revision=3373
2007-06-27 16:27:52 +00:00
Daniel Silverstone
82c4458689
Only pass option_ca_bundle and option_ca_path to cURL if they are non-empty.
...
svn path=/trunk/netsurf/; revision=3372
2007-06-27 16:13:54 +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
e91cfc8e47
Add ca_path option which sets CURLOPT_CAPATH.
...
svn path=/trunk/netsurf/; revision=3369
2007-06-27 15:39:56 +00:00
Daniel Silverstone
18edcf5a40
Move the p->parent check in urldb to before the cookie loop. Prevents the cookie stuff exploding on domain cookies with no path. Fixes breakage with visiting launchpad.net
...
svn path=/trunk/netsurf/; revision=3368
2007-06-27 15:35:30 +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
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