Commit Graph

3075 Commits

Author SHA1 Message Date
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
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