Commit Graph

3600 Commits

Author SHA1 Message Date
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
Rob Kendrick
783cb29331 Do not include GIF throbber loading support if GIF support is excluded
svn path=/trunk/netsurf/; revision=5084
2008-08-13 13:44:10 +00:00
Rob Kendrick
91bf96fabf Include libnsgif/bmp and Hubbub build instructions
svn path=/trunk/netsurf/; revision=5077
2008-08-12 19:02:20 +00:00
Chris Young
42886171d5 Amiga target now uses hubbub by default.
svn path=/trunk/netsurf/; revision=5076
2008-08-12 18:28:28 +00:00
Chris Young
ea5e026f7d Fixed font styles
svn path=/trunk/netsurf/; revision=5075
2008-08-12 17:47:35 +00:00
Chris Young
72d62fc722 Updated to support changes in image/bitmap.h
svn path=/trunk/netsurf/; revision=5074
2008-08-12 17:47:01 +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
François Revel
4c8989a6db no va_copy on BeOS
svn path=/trunk/netsurf/; revision=5066
2008-08-12 01:44:59 +00:00
John Mark Bell
1fdb8a8a82 Fix build
svn path=/trunk/netsurf/; revision=5055
2008-08-12 00:01:46 +00:00
François Revel
d1bfc81d22 C89
svn path=/trunk/netsurf/; revision=5053
2008-08-11 23:32:16 +00:00
François Revel
065533f90e Some BeOS specifics
svn path=/trunk/netsurf/; revision=5052
2008-08-11 22:50:44 +00:00
Chris Young
bf18237dc0 Modified to use space.gadget and blit directly to the window's rastport, also added
scrollbar functionality (thanks to Ami603)

svn path=/trunk/netsurf/; revision=5034
2008-08-11 17:53:45 +00:00
John Mark Bell
c278e49d26 Squash warnings
svn path=/trunk/netsurf/; revision=5032
2008-08-11 16:51:55 +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
Andrew Sidwell
1124712760 Reset the "has_ns" flag when reparsing documents because of encoding change. (credit: jmb)
svn path=/trunk/netsurf/; revision=5029
2008-08-11 16:27:31 +00:00
Andrew Sidwell
a5e71b80c2 Partially revert r5024, except make namespaces parser-instance-specific.
svn path=/trunk/netsurf/; revision=5028
2008-08-11 16:22:32 +00:00
John Mark Bell
408ca416e8 Really fix warnings.
svn path=/trunk/netsurf/; revision=5027
2008-08-11 16:12:08 +00:00
John Mark Bell
eff8ce4550 Only create the namespace URIs once
svn path=/trunk/netsurf/; revision=5024
2008-08-11 12:01:19 +00:00
John Mark Bell
00a1a0d35c Squash warnings on RISC OS
svn path=/trunk/netsurf/; revision=5023
2008-08-11 08:57:05 +00:00
Andrew Sidwell
3a3f39e927 Fix warnings introduced by hubbub integration.
svn path=/trunk/netsurf/; revision=5022
2008-08-11 08:40:58 +00:00
John Mark Bell
7d482d33bf Initialise and finalise hubbub correctly on RISC OS.
svn path=/trunk/netsurf/; revision=5021
2008-08-11 08:26:59 +00:00
John Mark Bell
6aa30c0bb3 Add some ifdef.
Error checking
Finalise hubbub

svn path=/trunk/netsurf/; revision=5020
2008-08-11 08:22:37 +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
058fcac225 Added code to set correct font.
svn path=/trunk/netsurf/; revision=4986
2008-08-10 09:57:41 +00:00
Chris Young
289196c6ba Functions now return correct values for proper text formatting.
svn path=/trunk/netsurf/; revision=4983
2008-08-09 20:28:35 +00:00
Chris Young
105bfddae9 Implemented localisation using the existing translated messages files.
svn path=/trunk/netsurf/; revision=4982
2008-08-09 20:27:36 +00:00
Chris Young
3e6699b31b Warn and error messages are now displayed in a requester.
svn path=/trunk/netsurf/; revision=4981
2008-08-09 20:21:00 +00:00
Chris Young
93bf14ab81 Added support for multiple windows.
svn path=/trunk/netsurf/; revision=4972
2008-08-09 15:19:04 +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
d432e7f868 Remove hardcoded define for LIBICONV_PLUG
svn path=/trunk/netsurf/; revision=4967
2008-08-08 23:49:45 +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
Chris Young
219f28e579 Rewritten to use window.class and bitmap.image instead of writing directly to the
window bitmap.  Basic GUI added to allow URLs to be entered.

svn path=/trunk/netsurf/; revision=4965
2008-08-08 22:38:13 +00:00
François Revel
914cbeacfe C89
svn path=/trunk/netsurf/; revision=4963
2008-08-08 20:12:38 +00:00
Chris Young
82cc44fc4e Corrected bitmap plotter RGB format.
svn path=/trunk/netsurf/; revision=4949
2008-08-07 19:05:44 +00:00
Chris Young
394263bb2f Basic plotter functions and support code for the plotters.
svn path=/trunk/netsurf/; revision=4948
2008-08-07 18:44:28 +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
John Mark Bell
114f948f36 Ignore blank maxlength attributes
svn path=/trunk/netsurf/; revision=4912
2008-08-05 09:54:55 +00:00
John Tytgat
be181a5b55 Merged ro_gui_set_icon_string_le() into ro_gui_set_icon_string() by adding ro_gui_set_icon_string() and extra to_utf8 parameter.
svn path=/trunk/netsurf/; revision=4910
2008-08-05 01:32:15 +00:00
John Tytgat
4be25b2951 Update my e-mail address.
svn path=/trunk/netsurf/; revision=4908
2008-08-05 01:30:31 +00:00
John Tytgat
c40fc354b3 - Teached ro_gui_set_icon_string() and ro_gui_get_icon_string() about the difference between direct and indirect icons.
- ro_gui_get_icon_string(): 
    - Constify return value of ro_gui_get_icon_string() as you really shouldn't change its contents via this pointer.
    - Enfore NUL string termination as return value (instead of other control char termination) 
- Merged ro_gui_set_icon_string_le() into ro_gui_set_icon_string() by adding ro_gui_set_icon_string() and extra to_utf8 parameter.
- ro_gui_strncmp(): added

svn path=/trunk/netsurf/; revision=4907
2008-08-05 01:23:04 +00:00
John Tytgat
039362166c Make ro_gui_configure_register static.
svn path=/trunk/netsurf/; revision=4900
2008-08-04 21:52:28 +00:00
Chris Young
f0a5b08430 OS4 32-bit icon for NetSurf.
svn path=/trunk/netsurf/; revision=4878
2008-08-03 16:14:42 +00:00
Chris Young
a57fe0a78f Opens and closes timer.device, and creates a new list - required for scheduling code
in schedule.c

svn path=/trunk/netsurf/; revision=4877
2008-08-03 16:13:57 +00:00
Chris Young
05d0e28d50 Generic objects code implemented using Exec lists. Currently used by schedule.c to
add and delete schedule items from a list.

svn path=/trunk/netsurf/; revision=4876
2008-08-03 16:12:01 +00:00
Chris Young
d1c876e03c Fully implemented schedule, schedule_run and schedule_remove.
svn path=/trunk/netsurf/; revision=4875
2008-08-03 16:10:10 +00:00
Chris Young
f297bb8531 Added object.c to NS_AMIGA source files
svn path=/trunk/netsurf/; revision=4874
2008-08-03 16:07:56 +00:00
John Tytgat
48070139d8 Prefix all RISC OS print global variables and functions with "ro_" in order to avoid the print_cleanup function name clash in desktop/print.c and
riscos/print.c.

svn path=/trunk/netsurf/; revision=4867
2008-08-02 20:07:44 +00:00
Chris Young
611e4f8cbe Added changes for TARGET=amiga
svn path=/trunk/netsurf/; revision=4865
2008-08-02 14:35:40 +00:00
Chris Young
26203b2215 Initial Amiga port files, mostly empty stub functions.
svn path=/trunk/netsurf/; revision=4864
2008-08-02 14:31:32 +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