Commit Graph

193 Commits

Author SHA1 Message Date
Vincent Sanders
e37b214e10 fix able frontend
svn path=/trunk/netsurf/; revision=6791
2009-03-16 20:20:37 +00:00
Chris Young
8e00cd50b1 More shared objects
svn path=/trunk/netsurf/; revision=6783
2009-03-14 15:36:36 +00:00
Chris Young
072f64f5dd Better AmigaOS GCC fix (thanks jmb)
svn path=/trunk/netsurf/; revision=6734
2009-03-08 16:28:40 +00:00
Chris Young
9f99b75fde Force AmigaOS GCC version to 4
svn path=/trunk/netsurf/; revision=6732
2009-03-08 15:44:21 +00:00
Vincent Sanders
02de9ff8db Improve freetype build integration (from hiyuh)
Improve error checking on font initialization

svn path=/trunk/netsurf/; revision=6655
2009-02-27 09:56:02 +00:00
Daniel Silverstone
6dd7157ffb Add a resources Makefile, support host tools, and add support to build framebuffer assets from PNG resources
svn path=/trunk/netsurf/; revision=6631
2009-02-26 14:14:29 +00:00
Daniel Silverstone
5c2a74c772 Allow non-gcc-2.x builds to use -MMD -MT -MF flags to dep-as-we-compile, reducing build time quite a bit
svn path=/trunk/netsurf/; revision=6624
2009-02-26 11:08:07 +00:00
John Mark Bell
847b776285 Purge NETSURF_USE_SSL and WITH_SSL
svn path=/trunk/netsurf/; revision=6599
2009-02-22 15:07:50 +00:00
Daniel Silverstone
c1235f1e9e Ensure that the FB frontend sets a subtarget, otherwise error out. This prevents silly mistakes like 'NETSURF_FB_FRONTEND := SDL' which had me stumped for a few minutes.
svn path=/trunk/netsurf/; revision=6571
2009-02-20 10:10:32 +00:00
Vincent Sanders
0cecbe3cbc allow framebuffer port to use freetype2 library
svn path=/trunk/netsurf/; revision=6570
2009-02-20 09:51:21 +00:00
François Revel
ddbfb99e60 Account for new paths to search for libs & headers in Haiku.
svn path=/trunk/netsurf/; revision=6547
2009-02-17 22:15:51 +00:00
Chris Young
3987db4702 Remove some more options that aren't needed with latest SDK
svn path=/trunk/netsurf/; revision=6530
2009-02-15 12:56:19 +00:00
Chris Young
34db852b01 Remove dummy libraries
svn path=/trunk/netsurf/; revision=6529
2009-02-15 12:47:24 +00:00
Chris Young
cb6bba7fb9 Fix Amiga SSL build
svn path=/trunk/netsurf/; revision=6528
2009-02-15 12:37:54 +00:00
Daniel Silverstone
dd5f00fe79 Re-enable the ability to control the SSL certificate UI's inclusion. As a side-effect, NetSurf won't build SSL unless the cURL on the system is linked against OpenSSL
svn path=/trunk/netsurf/; revision=6526
2009-02-15 11:47:13 +00:00
Vincent Sanders
81c0d52317 Add VNC server framebuffer frontend
svn path=/trunk/netsurf/; revision=6501
2009-02-14 16:39:27 +00:00
Vincent Sanders
d6cd92e0cc Fix resource handling buy copying the GTK approach
Cleanup mouse movement handlig

svn path=/trunk/netsurf/; revision=6486
2009-02-14 12:49:21 +00:00
Vincent Sanders
2b41eceafe add SDL frontend for framebuffer port
svn path=/trunk/netsurf/; revision=6415
2009-02-11 00:20:02 +00:00
Chris Young
495fa6c648 Minor changes for Amiga Cairo build
svn path=/trunk/netsurf/; revision=5940
2008-12-28 12:24:18 +00:00
Chris Young
fcf46a91b6 SVG support for Amiga version using libsvgtiny and libcairo
Cairo plotter for arcs

Cairo support is experimental and can be enabled with option NETSURF_AMIGA_USE_CAIRO
For some reason linking against shared objects breaks forms.

svn path=/trunk/netsurf/; revision=5939
2008-12-28 00:41:35 +00:00
John Mark Bell
71db29f5b0 Build !Run at compile time. This ensures that the WimpSlot size is always correct.
svn path=/trunk/netsurf/; revision=5889
2008-12-09 11:12:58 +00:00
John Mark Bell
bc58a43254 OS X friendliness.
svn path=/trunk/netsurf/; revision=5558
2008-10-13 14:34:20 +00:00
Daniel Silverstone
6138faa0e5 Remove -Winline
svn path=/trunk/netsurf/; revision=5529
2008-10-10 10:06:35 +00:00
François Revel
10879f2ad6 Add missing copyright on the version info for BeOS.
svn path=/trunk/netsurf/; revision=5512
2008-10-09 02:32:33 +00:00
Chris Young
ea205ecf23 Generate AmigaOS version string in correct format, taking:
netsurf_version_major from desktop/version.c as version
SVN revision from local repository as revision

This should ensure that the internal version number will increase correctly
(version and revision are treated as seperate values > 0), whereas NetSurf's public
release version (currently coming up to 2.0) is not guaranteed to be in legal AmigaOS
format or increase validly under AmigaOS rules.

The internal version string has been added for future AmiUpdate support as well as
making it easier to see and compare versions of interim builds.

amiga/version.c can safely be removed from the source list when cross-compiling (where
ARexx is not available), or manually created, as it only defines this internal
version string and does not contain any code.

amiga/version.c is automatically removed after linking to ensure it always reflects
the current SVN revision.


svn path=/trunk/netsurf/; revision=5510
2008-10-08 22:55:58 +00:00
Daniel Silverstone
3f5d902edd Merged revisions 5309-5406,5409-5422 via svnmerge from
svn://svn.netsurf-browser.org/branches/vince/netsurf-fb

........
  r5309 | vince | 2008-09-13 10:59:10 +0100 (Sat, 13 Sep 2008) | 2 lines
  
  first stab at framebuffer frontend
........
  r5313 | vince | 2008-09-14 15:08:52 +0100 (Sun, 14 Sep 2008) | 2 lines
  
  add line plotters
........
  r5314 | vince | 2008-09-14 15:28:12 +0100 (Sun, 14 Sep 2008) | 2 lines
  
  add rectangle plot to 16bpp plotters
........
  r5315 | vince | 2008-09-14 19:58:57 +0100 (Sun, 14 Sep 2008) | 2 lines
  
  improve 16bpp image plot
........
  r5316 | vince | 2008-09-15 00:35:32 +0100 (Mon, 15 Sep 2008) | 2 lines
  
  abstract the os specific framebuffer init
........
  r5317 | vince | 2008-09-15 11:18:51 +0100 (Mon, 15 Sep 2008) | 2 lines
  
  first cut of linux frontend
........
  r5318 | vince | 2008-09-15 12:01:00 +0100 (Mon, 15 Sep 2008) | 2 lines
  
  remove junk includes
........
  r5319 | vince | 2008-09-15 12:09:02 +0100 (Mon, 15 Sep 2008) | 2 lines
  
  make plotters OS agnostic again
........
  r5322 | vince | 2008-09-15 15:55:01 +0100 (Mon, 15 Sep 2008) | 2 lines
  
  Linux frontend operates
........
  r5323 | vince | 2008-09-15 16:32:47 +0100 (Mon, 15 Sep 2008) | 2 lines
  
  abstract out OS specific input
........
  r5326 | vince | 2008-09-15 19:21:01 +0100 (Mon, 15 Sep 2008) | 2 lines
  
  Improve linux mode setting
........
  r5329 | vince | 2008-09-15 21:13:33 +0100 (Mon, 15 Sep 2008) | 2 lines
  
  improve text clipping
........
  r5339 | vince | 2008-09-16 00:07:57 +0100 (Tue, 16 Sep 2008) | 2 lines
  
  possibly fix text clipping issue
........
  r5342 | vince | 2008-09-16 00:39:36 +0100 (Tue, 16 Sep 2008) | 2 lines
  
  consolidate polygon plotters
........
  r5344 | dsilvers | 2008-09-16 10:21:06 +0100 (Tue, 16 Sep 2008) | 1 line
  
  Fix up the framebuffer target makefile a bit more, add some config options for it
........
  r5345 | dsilvers | 2008-09-16 10:22:19 +0100 (Tue, 16 Sep 2008) | 1 line
  
  Ensure the appropriate frontend is selected when building framebuffer
........
  r5346 | dsilvers | 2008-09-16 10:27:16 +0100 (Tue, 16 Sep 2008) | 1 line
  
  Update build system to support targetting separate framebuffer frontends in different build trees, update executable to be nsfb-blah
........
  r5350 | vince | 2008-09-16 17:15:04 +0100 (Tue, 16 Sep 2008) | 1 line
  
  Add -g to provide symbols for framebuffer link
........
  r5351 | vince | 2008-09-16 17:17:09 +0100 (Tue, 16 Sep 2008) | 1 line
  
  framebuffer scheduler now works, plotters tweaked, gui tracks window redraw requirements better, keypresses not duplicated under linux fb
........
  r5352 | dsilvers | 2008-09-16 17:38:53 +0100 (Tue, 16 Sep 2008) | 1 line
  
  Ensure we only allow one fetcher at a time
........
  r5361 | vince | 2008-09-17 11:48:44 +0100 (Wed, 17 Sep 2008) | 2 lines
  
  initial cursor support
........
  r5362 | vince | 2008-09-17 13:56:47 +0100 (Wed, 17 Sep 2008) | 2 lines
  
  add mouse handling
........
  r5363 | vince | 2008-09-17 14:14:44 +0100 (Wed, 17 Sep 2008) | 2 lines
  
  add framebuffer resources
........
  r5364 | vince | 2008-09-17 17:12:21 +0100 (Wed, 17 Sep 2008) | 2 lines
  
  add reasonable pointer
........
  r5366 | vince | 2008-09-17 17:17:25 +0100 (Wed, 17 Sep 2008) | 2 lines
  
  fix pointer alpha
........
  r5370 | vince | 2008-09-18 13:43:53 +0100 (Thu, 18 Sep 2008) | 2 lines
  
  warning squash and cleanup ready for trunk merge
........
  r5375 | vince | 2008-09-19 14:58:43 +0100 (Fri, 19 Sep 2008) | 2 lines
  
  Working mouse navigation
........
  r5377 | vince | 2008-09-20 14:06:22 +0100 (Sat, 20 Sep 2008) | 2 lines
  
  Improve scrolling
........
  r5378 | vince | 2008-09-20 14:46:46 +0100 (Sat, 20 Sep 2008) | 2 lines
  
  fix redraw issues with scrolling
........
  r5380 | vince | 2008-09-20 17:08:43 +0100 (Sat, 20 Sep 2008) | 3 lines
  
  Alter panning to use its own flag so it doesnt cause invalid redraw 
  operations 
........
  r5381 | vince | 2008-09-20 21:52:45 +0100 (Sat, 20 Sep 2008) | 2 lines
  
  add dummy framebuffer
........
  r5383 | vince | 2008-09-21 00:00:15 +0100 (Sun, 21 Sep 2008) | 2 lines
  
  fix segfault when cursor is off teh bottom of teh screen
........
  r5384 | vince | 2008-09-21 00:06:08 +0100 (Sun, 21 Sep 2008) | 2 lines
  
  fix off by one in pointer fix
........
  r5385 | vince | 2008-09-21 00:25:09 +0100 (Sun, 21 Sep 2008) | 2 lines
  
  when fixing bloody silly off by one errors remember to fix *both* references
........
  r5387 | vince | 2008-09-21 00:38:13 +0100 (Sun, 21 Sep 2008) | 2 lines
  
  last try at stopping the pointer segfault
........
  r5388 | vince | 2008-09-21 16:24:18 +0100 (Sun, 21 Sep 2008) | 2 lines
  
  improve vertical text clipping
........
  r5392 | vince | 2008-09-21 23:11:51 +0100 (Sun, 21 Sep 2008) | 2 lines
  
  Improve text plotters
........
  r5393 | vince | 2008-09-21 23:34:38 +0100 (Sun, 21 Sep 2008) | 2 lines
  
  fix 32bpp line plotting
........
  r5394 | vince | 2008-09-22 00:00:03 +0100 (Mon, 22 Sep 2008) | 2 lines
  
  Fix off by one error in line plotting clipping
........
  r5397 | vince | 2008-09-22 13:46:22 +0100 (Mon, 22 Sep 2008) | 2 lines
  
  Fix bitmap tileing
........
  r5398 | vince | 2008-09-22 17:46:02 +0100 (Mon, 22 Sep 2008) | 2 lines
  
  enable knockout renderer
........
  r5399 | vince | 2008-09-22 18:43:48 +0100 (Mon, 22 Sep 2008) | 2 lines
  
  ensure clipping region lies within window, caused by knockout renderer
........
  r5400 | vince | 2008-09-22 19:20:25 +0100 (Mon, 22 Sep 2008) | 2 lines
  
  update cursor to one swiped from X windows
........
  r5405 | vince | 2008-09-23 09:09:05 +0100 (Tue, 23 Sep 2008) | 2 lines
  
  fix vertical scroll limit
........
  r5412 | dsilvers | 2008-09-23 10:53:14 +0100 (Tue, 23 Sep 2008) | 1 line
  
  Revert noisy fetcher patch
........
  r5413 | dsilvers | 2008-09-23 10:58:00 +0100 (Tue, 23 Sep 2008) | 1 line
  
  Add header guards
........
  r5414 | dsilvers | 2008-09-23 11:31:31 +0100 (Tue, 23 Sep 2008) | 1 line
  
  Tidy the region clipping slightly
........
  r5416 | dsilvers | 2008-09-23 12:05:00 +0100 (Tue, 23 Sep 2008) | 1 line
  
  Rationalise how the framebuffer frontend finds resources and options
........
  r5418 | dsilvers | 2008-09-23 13:59:00 +0100 (Tue, 23 Sep 2008) | 1 line
  
  Ensure options are overridden after load, and squash an fb_gui.c warning
........
  r5419 | dsilvers | 2008-09-23 14:20:07 +0100 (Tue, 23 Sep 2008) | 1 line
  
  Support fb_mode and fb_device options
........
  r5420 | dsilvers | 2008-09-23 14:21:48 +0100 (Tue, 23 Sep 2008) | 1 line
  
  Support option_fb_device in the able frontend
........
  r5421 | dsilvers | 2008-09-23 14:25:17 +0100 (Tue, 23 Sep 2008) | 1 line
  
  Ensure target_blank is disabled
........
  r5422 | dsilvers | 2008-09-23 14:39:00 +0100 (Tue, 23 Sep 2008) | 1 line
  
  Rework linux fb frontend to support scanning and opening all event devices for input
........

svn path=/trunk/netsurf/; revision=5423
2008-09-23 14:00:40 +00:00
Michael Drake
6456b84249 Make libmng string mention all formats it can support.
svn path=/trunk/netsurf/; revision=5354
2008-09-16 18:03:17 +00:00
Michael Drake
31127a130f Tidy up png support string.
svn path=/trunk/netsurf/; revision=5353
2008-09-16 17:52:37 +00:00
John Mark Bell
385d274f5b A bunch of fixes to the libpng binding
svn path=/trunk/netsurf/; revision=5338
2008-09-15 22:45:44 +00:00
François Revel
8247c76404 Hopefully fix detection of libpng header path with pkg-config.
svn path=/trunk/netsurf/; revision=5335
2008-09-15 21:43:38 +00:00
Daniel Silverstone
d3270ed648 Add libpng support. Default to off.
svn path=/trunk/netsurf/; revision=5330
2008-09-15 20:23:02 +00:00
Daniel Silverstone
433f90563b Move where WARNFLAGS is set up so that we actually get warnings. Ahem, there's a lot of them.
svn path=/trunk/netsurf/; revision=5299
2008-09-10 13:32:07 +00:00
Chris Young
3e38e71089 Include Amiga-specific options
svn path=/trunk/netsurf/; revision=5198
2008-08-25 13:27:44 +00:00
Rob Kendrick
f38eec1733 Fix dependancies, add install doobry for history.glade
svn path=/trunk/netsurf/; revision=5191
2008-08-24 11:37:48 +00:00
Rob Kendrick
6675360f00 Make install target install Aliases file
svn path=/trunk/netsurf/; revision=5190
2008-08-24 11:10:45 +00:00
Daniel Silverstone
b4c6417962 Ahem, enable GIF with GIF not BMP
svn path=/trunk/netsurf/; revision=5169
2008-08-22 09:52:33 +00:00
Chris Young
b60b340372 Fixed usage of Makefile.config options for Amiga target
svn path=/trunk/netsurf/; revision=5127
2008-08-15 17:13:44 +00:00
Daniel Silverstone
b99cb3d1e0 Support configuring the CFLAGS, particularly the optimisation flags, in Makefile.config
svn path=/trunk/netsurf/; revision=5094
2008-08-13 15:31:41 +00:00
Rob Kendrick
a5c54e54a4 Add NETSURF_FEAUTRE_*_CFLAGS for BMP and GIF
svn path=/trunk/netsurf/; revision=5090
2008-08-13 14:18:27 +00:00
Rob Kendrick
19ec7637e3 Remove further stuff to make libns* libraries optional.
svn path=/trunk/netsurf/; revision=5089
2008-08-13 14:14:49 +00:00
Rob Kendrick
905fa1f624 Make it possible to disable BMP and GIF support. May break RISC OS, BeOS and AmigaOS builds
svn path=/trunk/netsurf/; revision=5087
2008-08-13 14:09:23 +00:00
James Bursa
33107b160f Merged revisions 4345-4346,4350-4351,4389,4391,4395,4401-4403,4423,4485-4486 via svnmerge from
svn://semichrome.net/branches/dynis/netsurf

........
  r4345 | dynis | 2008-06-15 18:37:23 -0500 (Sun, 15 Jun 2008) | 1 line
  
  Move NetSurf's gifread.h to libnsgif
........
  r4346 | dynis | 2008-06-15 18:38:38 -0500 (Sun, 15 Jun 2008) | 1 line
  
  Remove NetSurf's gifread.c (replaced by libnsgif)
........
  r4350 | dynis | 2008-06-15 18:57:17 -0500 (Sun, 15 Jun 2008) | 1 line
  
  Added references to libnsgif where necessary; corrected function calls where callbacks were implemented
........
  r4351 | dynis | 2008-06-15 19:00:33 -0500 (Sun, 15 Jun 2008) | 1 line
  
  Updated Makefile to compile with libnsgif
........
  r4389 | dynis | 2008-06-18 13:58:51 -0500 (Wed, 18 Jun 2008) | 1 line
  
  Altered bitmap callback table name for gif images to avoid ambiguity when bmp image library is created
........
  r4391 | dynis | 2008-06-18 14:08:39 -0500 (Wed, 18 Jun 2008) | 1 line
  
  Updated netsurf branch to use new bitmap callback table structure name that was altered in libnsgif
........
  r4395 | dynis | 2008-06-18 14:54:51 -0500 (Wed, 18 Jun 2008) | 1 line
  
  Corrected param comments for bitmap_set_suspendable()
........
  r4401 | dynis | 2008-06-18 18:39:50 -0500 (Wed, 18 Jun 2008) | 1 line
  
  Added references to libnsbmp where necessary; corrected function calls where callbacks were implemented
........
  r4402 | dynis | 2008-06-18 18:40:47 -0500 (Wed, 18 Jun 2008) | 1 line
  
  Updated Makefile to compile with libnsbmp
........
  r4403 | dynis | 2008-06-18 18:41:53 -0500 (Wed, 18 Jun 2008) | 1 line
  
  Remove NetSurf's bmpread.c and bmpread.h (replaced by libnsbmp)
........
  r4423 | dynis | 2008-06-22 14:21:30 -0500 (Sun, 22 Jun 2008) | 1 line
  
  Correct a silly mistake in nsbmp_bitmap_create
........
  r4485 | dynis | 2008-07-01 04:13:48 -0500 (Tue, 01 Jul 2008) | 1 line
  
  Integrated the latest versions of libnsgif and libnsbmp into NetSurf
........
  r4486 | dynis | 2008-07-01 05:27:10 -0500 (Tue, 01 Jul 2008) | 1 line
  
  Altered bitmap functions to receive void pointers for proper utilisation of libnsgif and libnsbmp
........

svn path=/trunk/netsurf/; revision=5071
2008-08-12 03:49:34 +00:00
John Mark Bell
25018c455b Make nsgtk compile on Mac OS X.
svn path=/trunk/netsurf/; revision=5031
2008-08-11 16:44:12 +00:00
John Mark Bell
191d876e41 Merged revisions 4859-5013,5016-5018 via svnmerge from
svn://source.netsurf-browser.org/branches/takkaria/netsurf-hubbub

........
  r4860 | takkaria | 2008-08-02 03:51:35 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  A really horribly rough first go at integrating hubbub with NetSurf.  Segfaults, but I'm not sure what I've done wrong.
........
  r4861 | jmb | 2008-08-02 05:01:19 +0100 (Sat, 02 Aug 2008) | 3 lines
  
  Fix segfault caused by mismatched struct layout expectations.
  Fix warnings, too.
........
  r4862 | jmb | 2008-08-02 05:11:02 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Destroy parser as soon as it's no longer needed, and flag this so that html_destroy doesn't cause things to trample all over the heap.
........
  r4863 | takkaria | 2008-08-02 15:30:34 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Remove deugging printf()s, add Aliases file, add script { display: none; } block.
........
  r4868 | takkaria | 2008-08-02 22:14:55 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Fix a segfault bug.
........
  r4869 | takkaria | 2008-08-02 22:17:58 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Add gtk/res/Aliases as a symlink to the one in !NS/Resources
........
  r4870 | takkaria | 2008-08-02 22:26:31 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Fix symlink.
........
  r4885 | jmb | 2008-08-03 23:26:54 +0100 (Sun, 03 Aug 2008) | 2 lines
  
  Make multiple parallel parser instances work correctly.
........
  r4886 | tlsa | 2008-08-04 00:21:29 +0100 (Mon, 04 Aug 2008) | 1 line
  
  Don't display contents of STYLE.
........
  r4891 | jmb | 2008-08-04 01:18:07 +0100 (Mon, 04 Aug 2008) | 5 lines
  
  Fix reparent_children to actually work
  Make get_parent_node pay attention to the element_only flag
  Fixup node referencing when appending a text child
  Make clone_node clone attributes and namespace information in the non-deep case
........
  r4918 | jmb | 2008-08-05 15:27:03 +0100 (Tue, 05 Aug 2008) | 2 lines
  
  Fix debug target
........
  r4944 | takkaria | 2008-08-07 12:56:50 +0100 (Thu, 07 Aug 2008) | 2 lines
  
  Use talloc to allocate space for Hubbub.
........
  r4993 | takkaria | 2008-08-10 17:49:47 +0100 (Sun, 10 Aug 2008) | 2 lines
  
  Stub out the encoding change callback so NS-hubbub compiles again.
........
  r4994 | takkaria | 2008-08-10 18:02:33 +0100 (Sun, 10 Aug 2008) | 2 lines
  
  Tell Hubbub the encoding that HTTP gives us, if we have one.
........
  r5001 | takkaria | 2008-08-11 02:53:24 +0100 (Mon, 11 Aug 2008) | 2 lines
  
  First go at implementing proper <meta charset> support in NetSurf, amongst some refactoring.  Probably works, but I have no pages around to test it on.
........
  r5002 | takkaria | 2008-08-11 02:56:35 +0100 (Mon, 11 Aug 2008) | 2 lines
  
  Fix (I hope) a 64-bit compiler warning.
........
  r5012 | takkaria | 2008-08-11 08:40:28 +0100 (Mon, 11 Aug 2008) | 2 lines
  
  Fix some nits from jmb.  (Remove const from html->encoding, set encoding_source to something about right.)
........
  r5013 | takkaria | 2008-08-11 08:48:50 +0100 (Mon, 11 Aug 2008) | 2 lines
  
  Properly fix <meta charset> handling, by passing in the right thing as the context.  No idea how this worked before. :) (credit: jmb)
........
  r5017 | jmb | 2008-08-11 09:13:22 +0100 (Mon, 11 Aug 2008) | 7 lines
  
  Pedantic typo fix.
  Make Hubbub YES when building for RISC OS.
  Make Hubbub AUTO when building for GTK
  Ignore the presence of Hubbub on other platforms.
  Remove the explicit libparserutils pkg-config stuff from the makefile (see r5016)
  Add some logic that means Hubbub gets enabled correctly when building on RISC OS and when cross-compiling for it. (This is ugly and will go away when pkg-config is available on RO)
........

svn path=/trunk/netsurf/; revision=5019
2008-08-11 08:17:48 +00:00
Chris Young
1a9ef46863 Removed -liconv from Amiga target as no longer required
svn path=/trunk/netsurf/; revision=4971
2008-08-09 15:17:18 +00:00
François Revel
437b4bddf5 - move BeOS specific config vars to separate section
- added config option for LIBICONV_PLUG, must not be used for BeOS.

svn path=/trunk/netsurf/; revision=4966
2008-08-08 23:47:11 +00:00
John Tytgat
15eb877a4c Use ccres (http://www.riscos.info/index.php/CCres) to compile textual
versions of our Templates to their binary versions.  This allows us during
the build to conditionally enable/disable certain icons or change the
icon representation.
Change made by jmb & joty.

svn path=/trunk/netsurf/; revision=4929
2008-08-06 21:46:53 +00:00
Chris Young
611e4f8cbe Added changes for TARGET=amiga
svn path=/trunk/netsurf/; revision=4865
2008-08-02 14:35:40 +00:00
John Mark Bell
a011abf55f Move plugin option to Makefile.config.
Disable it by default.

svn path=/trunk/netsurf/; revision=4853
2008-08-01 11:29:18 +00:00
Michael Drake
43dd9fb097 ASSEMBLE needs no padding.
svn path=/trunk/netsurf/; revision=4809
2008-07-29 20:55:26 +00:00
Rob Kendrick
9eacc5ca04 Make user agent string and default homepage configurable from Makefile.config
svn path=/trunk/netsurf/; revision=4803
2008-07-29 15:10:31 +00:00
Daniel Silverstone
4c4309ecac Rename AUTOCONF to M.CONFIG to make it clearer that it's Makefile.config governing the behaviour. Add support for Makefile.config.override so we stop checking in the disabling of HARU by mistake. Ensure the M.CONFIG lines do not appear when doing make clean.
svn path=/trunk/netsurf/; revision=4796
2008-07-29 09:44:13 +00:00
François Revel
73040da7a3 - libjpeg & libpng are added from config options, no need to add them again
- move STRIP with other tools

svn path=/trunk/netsurf/; revision=4790
2008-07-29 09:10:43 +00:00
Rob Kendrick
5693c0500c Make install-gtk target obey NETSURF_GTK_RESOURCES, and add config option for location of binary
svn path=/trunk/netsurf/; revision=4789
2008-07-29 09:08:32 +00:00
François Revel
00687fcdda - don't use haru pdf on BeOS yet
- make BeOS resource definition file depend on needed files
- add option to strip the binary, off by default.

svn path=/trunk/netsurf/; revision=4787
2008-07-29 08:57:51 +00:00
Rob Kendrick
fb82961603 Add NETSURF_USE_ARTWORKS to Makefile.config
svn path=/trunk/netsurf/; revision=4786
2008-07-29 08:50:13 +00:00
John Mark Bell
d82850f1c4 Fix makefile
svn path=/trunk/netsurf/; revision=4785
2008-07-28 23:36:53 +00:00
John Mark Bell
28f45754d5 A load of pedantic indenting, so I've half a chance of reading this in future.
Use immediate assignment for configuration options -- there's no point in re-evaluating them every time.

svn path=/trunk/netsurf/; revision=4783
2008-07-28 23:16:59 +00:00
John Tytgat
1f0e0d009a Fix cross-compile RISC OS build.
svn path=/trunk/netsurf/; revision=4781
2008-07-28 21:55:46 +00:00
Rob Kendrick
238ebca344 Whoops. Append, don't overwrite.
svn path=/trunk/netsurf/; revision=4779
2008-07-28 21:44:24 +00:00
Rob Kendrick
97e1d9503f Make sure new Makefile works when cross-building to RISC OS, as well as when building natively.
svn path=/trunk/netsurf/; revision=4778
2008-07-28 21:21:40 +00:00
Rob Kendrick
fe7cae2bfe Refactor Makefile a little to be slightly more organised. Made more features configurable from Makefile.config
svn path=/trunk/netsurf/; revision=4775
2008-07-28 20:56:24 +00:00
Michael Drake
9be511ce2c Fix native RISC OS build breakage caused by r4765. Thanks jmb.
svn path=/trunk/netsurf/; revision=4772
2008-07-27 08:54:14 +00:00
Rob Kendrick
4ea96eac11 Install file added in last commit
svn path=/trunk/netsurf/; revision=4768
2008-07-26 23:04:10 +00:00
Rob Kendrick
b6bf21e53b Avoid installing svn meta data
svn path=/trunk/netsurf/; revision=4766
2008-07-26 22:58:01 +00:00
Rob Kendrick
3bb2ffc5ee Simple install target for default settings. Could be made more configurable via the config file (also updating the search path used in gtk_gui.c) later.
svn path=/trunk/netsurf/; revision=4765
2008-07-26 22:53:13 +00:00
Daniel Silverstone
9ba20a6eec Ensure the dependency files are rebuilt if Makefile.config changes
svn path=/trunk/netsurf/; revision=4755
2008-07-26 18:00:08 +00:00
Daniel Silverstone
e76463aa49 Make the auto-configuration message fit into the rest of the messages more nicely
svn path=/trunk/netsurf/; revision=4753
2008-07-26 17:44:25 +00:00
Rob Kendrick
c74b00445f Make using libpng only be enabled when NETSURF_USE_HARU_PDF is YES.
svn path=/trunk/netsurf/; revision=4749
2008-07-26 17:13:24 +00:00
Rob Kendrick
789ab037d1 Add simple, experimental Makefile.config support.
* GTK-specific features, such as RSVG and librosprite, can be set to one of
   three options; YES, NO or AUTO.  AUTO will attempt to auto-detect its
   availability and enable it if it is available.
 * Haru PDF export/printing is enabled via this also.  It lacks a pkg-config
   file and works on RISC OS too, and thus has no auto-detection.  Disabling
   it disables the PDF-related menu entries in nsgtk.

svn path=/trunk/netsurf/; revision=4747
2008-07-26 17:08:23 +00:00
John Tytgat
35d3d6d0bb First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'.
Merged revisions 4212-4552,4554-4709,4711-4724 via svnmerge from 
svn://svn.netsurf-browser.org/branches/adamblokus/netsurf

........
  r4212 | adamblokus | 2008-05-26 19:42:31 +0200 (Mon, 26 May 2008) | 4 lines
  
  Pdf plotting skeleton pinned on Print Preview in GTK.
  Just creates a file and draws lines. 
........
  r4213 | adamblokus | 2008-05-27 00:11:03 +0200 (Tue, 27 May 2008) | 4 lines
  
  Pdf plotter - added drawing some graphic primitives.
  Still with limited functionality, but a snapshot of the
  currently viewed page can be made and resembles the original.
........
  r4214 | adamblokus | 2008-05-27 11:43:31 +0200 (Tue, 27 May 2008) | 2 lines
  
  Corrected encoding name
........
  r4215 | adamblokus | 2008-05-27 12:47:26 +0200 (Tue, 27 May 2008) | 3 lines
  
  Colours and polygons added.
........
  r4217 | adamblokus | 2008-05-27 21:39:35 +0200 (Tue, 27 May 2008) | 6 lines
  
  Added rectangles, filled boxes and clipping.
  Taken into consideration joty's comments.
  Added a todo list for this part.
  Added some debug stuff and checking boundaries.
........
  r4218 | adamblokus | 2008-05-28 12:37:30 +0200 (Wed, 28 May 2008) | 2 lines
  
  Added path ploting (not sure if valid argument order for bezier) and dashed/dotted line styles
........
  r4221 | adamblokus | 2008-05-28 22:11:05 +0200 (Wed, 28 May 2008) | 3 lines
  
  Some more options in graphic primitives and normalizing some parameters.
........
  r4235 | adamblokus | 2008-05-31 22:54:56 +0200 (Sat, 31 May 2008) | 4 lines
  
  Plotting changed as jmb suggested (is the least invasive one from the possible)
  Added dummy bitmap plotting - way of plotting an image is determined by its type. 
........
  r4251 | adamblokus | 2008-06-03 17:12:15 +0200 (Tue, 03 Jun 2008) | 3 lines
  
  Added plotting jpg and png images - quite a lot to improve in this code, but it seems to work ;)
........
  r4263 | adamblokus | 2008-06-05 14:20:32 +0200 (Thu, 05 Jun 2008) | 3 lines
  
  Added hadling images other than png and jpeg - with transparency.
........
  r4267 | adamblokus | 2008-06-06 15:36:34 +0200 (Fri, 06 Jun 2008) | 5 lines
  
  Added handling NULL-returns from all mallocs.
  Added plot_bitmap_tile handling.
  Changed code style a little.
........
  r4327 | adamblokus | 2008-06-12 17:46:34 +0200 (Thu, 12 Jun 2008) | 5 lines
  
  Added a first prototype of the paged-output organization.
  Still not sure about naming, file locations etc.
  Works with the same pdf plotting as before.
........
  r4328 | adamblokus | 2008-06-13 13:52:15 +0200 (Fri, 13 Jun 2008) | 4 lines
  
  Added primitive width adjustment and outputing the whole
  website in multiple pages.
........
  r4336 | joty | 2008-06-15 15:06:57 +0200 (Sun, 15 Jun 2008) | 1 line
  
  Fix RISC OS build failure (change r4235 wasn't complete).
........
  r4337 | joty | 2008-06-15 18:15:32 +0200 (Sun, 15 Jun 2008) | 16 lines
  
  This enables "Export PDF" in RISC OS build:
  
  - Docs/Doxyfile(PREDEFINED): Added WITH_PDF_EXPORT
  - Makefile.sources(S_PDF): Add to RISC OS target as well.
  - utils/config.h: Define WITH_PDF_EXPORT which controls if we want to have
    PDF export functionality or not.
  - riscos/save_pdf.c,riscos/save_pdf.h(save_as_pdf): Use PDF print API made
    by Adam Blokus to write a PDF file under RISC OS.
  - riscos/save.c: Call save_as_pdf added.
  - riscos/menus.c: Add 'Export->PDF' menu entry.
  - riscos/menus.h(menu_action): Added BROWSER_EXPORT_PDF.
  - desktop/gui.h(gui_save_type): Added GUI_SAVE_PDF.
  - desktop/print.c(print_run): Added return value.
  - Makefile(CCACHE): Moved closed to the place where CC is set for the first time.
    (LDFLAGS): Centralised adding all non-pkgconfig libraries and added Haru + PNG libs.
........
  r4343 | adamblokus | 2008-06-16 01:08:52 +0200 (Mon, 16 Jun 2008) | 3 lines
  
  Added margins and page size adjustment.
........
  r4412 | adamblokus | 2008-06-21 20:22:07 +0200 (Sat, 21 Jun 2008) | 4 lines
  
  Added 'fuzzy' margins on page bottom. 
  Disabled direct png embedding, because it is too unstable in Haru now.
........
  r4421 | adamblokus | 2008-06-22 18:52:28 +0200 (Sun, 22 Jun 2008) | 2 lines
  
  Added "Save as.." dialog and Export->PDF menu entry. Print preview still works with default path.
........
  r4437 | adamblokus | 2008-06-25 02:44:46 +0200 (Wed, 25 Jun 2008) | 4 lines
  
  Added skeleton of applying loose layout.
  Minor code cleaning-up.
........
  r4492 | adamblokus | 2008-07-02 09:02:42 +0200 (Wed, 02 Jul 2008) | 5 lines
  
  Implemented the elementar ideas of the loose layout.
  Added scaling in the printing routine.
  Added some basic demonstrations.
........
  r4493 | adamblokus | 2008-07-02 09:05:55 +0200 (Wed, 02 Jul 2008) | 3 lines
  
  Cleaned up the loosing code - commited to much of leftover rubbish code.
........
  r4507 | adamblokus | 2008-07-04 14:25:48 +0200 (Fri, 04 Jul 2008) | 4 lines
  
  Added duplicating box tree and current content - window flickering during printing solved.
  Minor error checking after new HPDF_Image_AddSMask call.
........
  r4515 | adamblokus | 2008-07-06 22:28:16 +0200 (Sun, 06 Jul 2008) | 2 lines
  
  Changes in loosen layout (image resizing).
........
  r4517 | adamblokus | 2008-07-06 22:38:23 +0200 (Sun, 06 Jul 2008) | 2 lines
  
  Added pdf font handling and rendering functions with the use of Haru functions.
........
  r4555 | adamblokus | 2008-07-10 00:59:05 +0200 (Thu, 10 Jul 2008) | 2 lines
  
  Added a very basic and still buggy GTK print implementation.
........
  r4565 | adamblokus | 2008-07-10 14:50:16 +0200 (Thu, 10 Jul 2008) | 2 lines
  
  Added gtk printing one more time - I have forgotten to add the main file.
........
  r4566 | adamblokus | 2008-07-10 14:57:02 +0200 (Thu, 10 Jul 2008) | 2 lines
  
  removed error with comment
........
  r4569 | adamblokus | 2008-07-10 15:52:55 +0200 (Thu, 10 Jul 2008) | 5 lines
  
  Major style improvements - added a lot of doxygen comments, 
  followed tlsa's style guide.
  Added some more error checking, too.
........
  r4575 | adamblokus | 2008-07-10 18:48:26 +0200 (Thu, 10 Jul 2008) | 2 lines
  
  Cleaned up the code.
........
  r4687 | adamblokus | 2008-07-17 14:17:19 +0200 (Thu, 17 Jul 2008) | 2 lines
  
  Changed everything according to jmb's review plus some minor bug fixes to gtk_print.
........
  r4688 | adamblokus | 2008-07-17 17:16:34 +0200 (Thu, 17 Jul 2008) | 2 lines
  
  Solved the netsurf.glade clash from r4421.
........
  r4693 | adamblokus | 2008-07-18 18:11:51 +0200 (Fri, 18 Jul 2008) | 2 lines
  
  Fixed bug with wrong number of pages in gtk printing.
........
  r4695 | adamblokus | 2008-07-18 19:59:24 +0200 (Fri, 18 Jul 2008) | 3 lines
  
  - fixed uncommented line from the previous commit
  - fixed bug with scale bigger than 1.0 (incorretly clipped page)
........
  r4696 | adamblokus | 2008-07-18 23:28:00 +0200 (Fri, 18 Jul 2008) | 2 lines
  
  Fixed bug in gtk_print_font_paint (and nsfont_paint).
........
  r4697 | adamblokus | 2008-07-18 23:35:38 +0200 (Fri, 18 Jul 2008) | 2 lines
  
  Bug fix in nsfont_paint.
........
  r4711 | adamblokus | 2008-07-19 22:44:15 +0200 (Sat, 19 Jul 2008) | 2 lines
  
  Added gtk_selection files.
........
  r4712 | adamblokus | 2008-07-20 11:15:06 +0200 (Sun, 20 Jul 2008) | 2 lines
  
  Addam missing glade files.
........
  r4713 | joty | 2008-07-20 17:13:10 +0200 (Sun, 20 Jul 2008) | 1 line
  
  Follow change r4517 for RISC OS and BeOS platforms : Added pdf font handling and rendering functions with the use of Haru functions.
........
  r4714 | joty | 2008-07-20 18:19:50 +0200 (Sun, 20 Jul 2008) | 1 line
  
  Declare haru_nsfont iso define an instance for each C source including the font_haru.h header.  This fixes breakage of PDF export on RISC OS.
........
  r4724 | adamblokus | 2008-07-23 03:30:08 +0200 (Wed, 23 Jul 2008) | 6 lines
  
  Applied changes according to joty's review.
  Added checking the dimensions of a plotted image to pdf plotter.
  Commented out jpg embedding (it seems to cause some problems
  I'll bring it back when I figure out what's wrong) .
  Added back some files removed by mistake.
........


svn path=/trunk/netsurf/; revision=4741
2008-07-26 16:01:59 +00:00
François Revel
846c65b899 BeOS: I can now use *ng and jpeg... Also link to libtranslation, it's used to load the throbber pngs. Switched from beres to rc as ressource compiler, it should allow importing external css and html files from resources.
svn path=/trunk/netsurf/; revision=4264
2008-06-05 22:54:49 +00:00
François Revel
0f4164d934 Added BeOS specific host & target detection.
As BeOS needs gcc2 some hacking is required on the dependancy generation...
Added support for using resources, and C++ code.

svn path=/trunk/netsurf/; revision=4255
2008-06-03 20:13:34 +00:00
Michael Drake
b4621337e8 Fix native RISC OS build. Thanks joty.
svn path=/trunk/netsurf/; revision=4228
2008-05-31 14:39:50 +00:00
Daniel Silverstone
9b73dce1fd Update optimisation/warning flags
svn path=/trunk/netsurf/; revision=4204
2008-05-26 10:16:01 +00:00
John Mark Bell
4d343e3c6d Fix debug build some more. Disable optimisation for debug build.
svn path=/trunk/netsurf/; revision=4203
2008-05-25 23:57:34 +00:00
James Bursa
b53f36ebc2 Add TARGET=debug and fix the debug build.
svn path=/trunk/netsurf/; revision=4202
2008-05-25 23:28:06 +00:00
John Tytgat
497372c257 Add .PHONY line. Suggestion from Philip Boulain prb@ecs.soton.ac.uk
svn path=/trunk/netsurf/; revision=4197
2008-05-24 12:20:57 +00:00
Daniel Silverstone
b30fde8b21 Use CCACHE if available on non-riscos host platforms
svn path=/trunk/netsurf/; revision=4179
2008-05-19 13:36:32 +00:00
John Tytgat
90e061c6a9 Updated comments on RISC OS HOST determination issue.
svn path=/trunk/netsurf/; revision=4086
2008-04-07 23:13:06 +00:00
John Tytgat
f3d968bfc0 Native RISC OS building: create sym file in the build directory instead of current directory.
svn path=/trunk/netsurf/; revision=4085
2008-04-07 19:13:11 +00:00
Adrian Lees
7b1c0bde45 I want a symbol list, thank you
svn path=/trunk/netsurf/; revision=4070
2008-04-02 01:15:22 +00:00
James Shaw
9402e110e9 Implement sprite support for GTK using librosprite
svn path=/trunk/netsurf/; revision=4051
2008-03-29 13:30:04 +00:00
John Mark Bell
4347246eec Deal with $(shell ...) being successful on RISC OS and uname -s not returning "riscos"
svn path=/trunk/netsurf/; revision=4040
2008-03-23 00:59:09 +00:00
John Tytgat
0588417b3c Add GCCSDK 4 support (cross-compile, static ELF only atm); Ignore codedocs directory during 'svn status'.
svn path=/trunk/netsurf/; revision=4031
2008-03-22 00:49:56 +00:00
John Tytgat
93d46bbe2a - Prefix OBJROOT with "build-" (which is then followed by build platform id + NS target plotter).
- Update list of objects to be ignored at 'svn status' time.

svn path=/trunk/netsurf/; revision=4026
2008-03-21 23:09:53 +00:00
John Tytgat
b4d3bb9df7 - Add check TARGET is either "riscos" or "gtk" (or not specified but then
an appropriate default TARGET value is chosen based on build platform).
- Support GCCSDK cross-compilers which are not installed at their default
  location by making use of GCCSDK_INSTALL_CROSSBIN/GCCSDK_INSTALL_ENV.

svn path=/trunk/netsurf/; revision=4025
2008-03-21 22:40:11 +00:00
John Tytgat
dfd26a6ca8 Nicer workaround for native RISC OS builders.
svn path=/trunk/netsurf/; revision=3997
2008-03-20 15:13:52 +00:00
John Tytgat
d7c204b8a0 Linker options --start-group/--end-group don't do anything around object files, so we remove them.
svn path=/trunk/netsurf/; revision=3995
2008-03-20 13:21:53 +00:00
John Mark Bell
4e58c7a6ce Drop -Wcast-qual from WARNFLAGS, as it's simply generating warnings about safe operations
svn path=/trunk/netsurf/; revision=3987
2008-03-19 18:29:58 +00:00
John Mark Bell
ef8783cc44 Use pkg-config, where possible
svn path=/trunk/netsurf/; revision=3979
2008-03-19 15:54:07 +00:00
John Mark Bell
e2807ac556 Shift -mthrowback so it's only used when building on a RO host
svn path=/trunk/netsurf/; revision=3974
2008-03-19 04:23:13 +00:00
John Mark Bell
ad71e4de6b Purge old buildsystem.
Rename Makefile.unix to Makefile.

svn path=/trunk/netsurf/; revision=3970
2008-03-19 04:03:40 +00:00