Commit Graph

2883 Commits

Author SHA1 Message Date
John Mark Bell 7ec7ba37db Fix debug build
svn path=/trunk/netsurf/; revision=3477
2007-08-06 22:17:42 +00:00
John Mark Bell 81f3fcbafd Fix crash when building error page -- fetch will be NULL, so fetch_get_referer will fail.
svn path=/trunk/netsurf/; revision=3476
2007-08-06 22:17:04 +00:00
John Mark Bell c1531c449f Fix string length measurement for strings in icons; if the string came from the templates file, it will be LF terminated, not NUL terminated. Therefore, use a strlen variant that terminates on control characters, rather than just \0. This prevents reading memory beyond the end of the string.
svn path=/trunk/netsurf/; revision=3475
2007-08-04 11:47:40 +00:00
Adrian Lees 86d0dd8563 Workaround for AWRenderer clipping issue (bug #1756230) and improved rendering performance
svn path=/trunk/netsurf/; revision=3456
2007-07-22 04:15:27 +00:00
John Mark Bell 3d11398006 Purge NCOS build options; these have been redundant for ages.
svn path=/trunk/netsurf/; revision=3454
2007-07-21 22:17:07 +00:00
John Mark Bell 40b1c80896 Ensure option strings aren't blank before setting headers: previously, a blank option string could result in "Accept-Language: , *;q=0.1" being sent, for example.
svn path=/trunk/netsurf/; revision=3450
2007-07-21 08:53:00 +00:00
Michael Drake d2c3d22f52 Change ArtWorks file MIME type to "image/x-artworks".
svn path=/trunk/netsurf/; revision=3449
2007-07-21 00:20:04 +00:00
John Mark Bell 04fb714f8e Add SVG content name to content_type_name array.
svn path=/trunk/netsurf/; revision=3448
2007-07-21 00:14:15 +00:00
Adrian Lees 84035a2a1d Use proper background colour for AW files using transparency
svn path=/trunk/netsurf/; revision=3447
2007-07-20 23:51:55 +00:00
Rob Kendrick 1522bfeed6 Add incremental parsing of SVG data to librsvg content handler.
svn path=/trunk/netsurf/; revision=3441
2007-07-19 13:47:59 +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 8aa4b9e7b3 Fixes to rsvg renderer. Now mostly works for direct (non-embedded in a document) viewing.
svn path=/trunk/netsurf/; revision=3438
2007-07-18 23:57:39 +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 c42e0bf350 Add mention of librsvg2-dev in nsgtk building guide
svn path=/trunk/netsurf/; revision=3436
2007-07-18 22:36:28 +00:00
Rob Kendrick 37bfd1fa44 Makefile changes for rsvg work
svn path=/trunk/netsurf/; revision=3435
2007-07-18 20:15:08 +00:00
Rob Kendrick 04292695be Initial work on RSVG image handler. Still a lot to do.
svn path=/trunk/netsurf/; revision=3433
2007-07-18 17:58:35 +00:00
Rob Kendrick 59f358eb0f Wrap internal SVG renderer with appropriate #ifdef WITH_NS_SVG
svn path=/trunk/netsurf/; revision=3432
2007-07-18 14:49:26 +00:00
Rob Kendrick b70141c17d Wrap jpeg.c with #ifdef WITH_JPEG
svn path=/trunk/netsurf/; revision=3431
2007-07-18 14:47:41 +00:00
John Mark Bell 306f5588f3 Improve documentation of content type handler addition
svn path=/trunk/netsurf/; revision=3430
2007-07-18 00:17:50 +00:00
James Bursa fe4938d592 Start on implementing SVG <path>.
svn path=/trunk/netsurf/; revision=3427
2007-07-17 02:45:33 +00:00
James Bursa 9cd109060a Add SVG support for a few basic shapes.
svn path=/trunk/netsurf/; revision=3420
2007-07-15 23:22:54 +00:00
James Bursa 895c2e2896 Remove dead code at the end of ro_gui_default_language().
svn path=/trunk/netsurf/; revision=3417
2007-07-15 17:20:25 +00:00
Michael Drake 0c5320a7c7 Update year.
svn path=/trunk/netsurf/; revision=3408
2007-07-14 10:06:00 +00:00
John Mark Bell 1ded087c6a Support dataloading of SVG files
Add internal filetype<->mimetype mapping for SVG files

svn path=/trunk/netsurf/; revision=3407
2007-07-13 08:25:34 +00:00
James Bursa afc9517fbd Add CONTENT_SVG to content handling.
svn path=/trunk/netsurf/; revision=3406
2007-07-13 03:54:47 +00:00
James Bursa 59ecedf444 Primitive SVG render (rect, text).
svn path=/trunk/netsurf/; revision=3405
2007-07-13 03:53:14 +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 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