Commit Graph

2891 Commits

Author SHA1 Message Date
Rob Kendrick
f552452b9f Fix warning with rsvg
svn path=/trunk/netsurf/; revision=3485
2007-08-08 15:44:27 +00:00
Vincent Sanders
c032d88ba7 a script which will determine who was the last person to change a line which has a warning upon it (and a which revision)
svn path=/trunk/netsurf/; revision=3484
2007-08-08 14:20:57 +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
John Mark Bell
cc684469df Fix division by 0 caused by uninitialised scale value.
Break out initialisation of common parts of struct browser_window into their own function.

svn path=/trunk/netsurf/; revision=3481
2007-08-07 07:58:04 +00:00
James Bursa
01cc865e02 Improve error message.
svn path=/trunk/netsurf/; revision=3480
2007-08-07 04:01:06 +00:00
James Bursa
5fa0e4a71f Add path plotter (for SVG). Requires other implementations.
svn path=/trunk/netsurf/; revision=3479
2007-08-07 04:00:17 +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
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