Commit Graph

3413 Commits

Author SHA1 Message Date
Daniel Silverstone 30aedab3d9 Make optimisation flags target-specific once more. Amiga and BeOS will need to confirm theirs
svn path=/trunk/netsurf/; revision=5121
2008-08-15 09:49:10 +00:00
Rob Kendrick 631f34eb7f Allow nsgtk to be built without PDF export
svn path=/trunk/netsurf/; revision=5120
2008-08-15 09:30:21 +00:00
François Revel 4e9dc3fe65 #ifdef WITH_PDF_EXPORT for printing stuff, this should fix the BeOS build, and possibly AmigaOS.
svn path=/trunk/netsurf/; revision=5119
2008-08-15 03:32:01 +00:00
John Tytgat e063a2a59d Second merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'.
Merged revisions 4195-4211,4216,4219-4220,4222-4234,4236-4250,4252-4262,4264-4266,4268-4326,4329-4335,4338-4342,4344-4411,4413-4420,4422-4436,4438-4491,4494-4506,4508-4514,4516,4518-4552,4554,4556-4564,4567-4568,4570-4574,4576-4686,4689-4692,4694,4698-4709,4715-4723,4725-4755,4757-4769,4771-4919,4921-4996,4998-5110,5112-5117 via svnmerge from 
svn://svn.netsurf-browser.org/branches/adamblokus/netsurf

........
  r4736 | adamblokus | 2008-07-26 13:46:54 +0200 (Sat, 26 Jul 2008) | 2 lines
  
  Sorting out some problems with svn.
........
  r4737 | adamblokus | 2008-07-26 13:54:36 +0200 (Sat, 26 Jul 2008) | 4 lines
  
  Added export tab to the options dialog.
  Added the possibility of changing some print options.
........
  r4897 | adamblokus | 2008-08-04 17:59:05 +0200 (Mon, 04 Aug 2008) | 5 lines
  
  Added checking of horizontal clipping.
  Added better table loosening.
  Changed some minor bugs.
  Applied changes in the Export options tab according to the review from tlsa.
........
  r4905 | adamblokus | 2008-08-05 01:53:34 +0200 (Tue, 05 Aug 2008) | 2 lines
  
  Fixed bug which made it impossible to export pdf's.
........
  r4919 | adamblokus | 2008-08-05 16:39:33 +0200 (Tue, 05 Aug 2008) | 2 lines
  
  Fixed some memory leaks which caused Netsurf to break.
........
  r4927 | adamblokus | 2008-08-06 02:26:30 +0200 (Wed, 06 Aug 2008) | 4 lines
  
  Fixed bug with filenames which crashed Netsurf.
  Turned anti aliasing off for printing.
  Fixed some scaling issues.
........
  r4928 | adamblokus | 2008-08-06 17:52:44 +0200 (Wed, 06 Aug 2008) | 5 lines
  
  Added new export/print options:
  - suppressing images
  - turning off backgrounds
  - toggled loosening
........
  r4950 | adamblokus | 2008-08-07 21:15:21 +0200 (Thu, 07 Aug 2008) | 5 lines
  
  Added new options to PDF export:
  - document compression
  - document encryption
  Added PDF password dialog
........
  r4954 | adamblokus | 2008-08-07 22:11:31 +0200 (Thu, 07 Aug 2008) | 2 lines
  
  Added saving print settings.
........
  r4956 | adamblokus | 2008-08-07 22:44:48 +0200 (Thu, 07 Aug 2008) | 2 lines
  
  Fixes to PDF encryption
........
  r4970 | adamblokus | 2008-08-09 15:26:24 +0200 (Sat, 09 Aug 2008) | 3 lines
  
  Fixed bug in plotting tiled bitmaps.
  Fixed bug with too long text decorations.
........
  r4977 | adamblokus | 2008-08-09 19:18:56 +0200 (Sat, 09 Aug 2008) | 2 lines
  
  Fixed JPG embedding bug.
........
  r4988 | adamblokus | 2008-08-10 16:59:51 +0200 (Sun, 10 Aug 2008) | 3 lines
  
  Added clip checking to pdf plotters. No more "blank" clips.
  Made PDF compression a default setting.
........
  r4995 | adamblokus | 2008-08-10 20:03:00 +0200 (Sun, 10 Aug 2008) | 2 lines
  
  Fixed Haru crash on font-size==0.
........
  r4996 | adamblokus | 2008-08-10 21:04:43 +0200 (Sun, 10 Aug 2008) | 2 lines
  
  Added changing text mode only if necessary.
........
  r5045 | adamblokus | 2008-08-11 21:26:26 +0200 (Mon, 11 Aug 2008) | 3 lines
  
  Removing gtk stuff from core code.
  Little fix in options. 
........
  r5048 | adamblokus | 2008-08-11 21:57:45 +0200 (Mon, 11 Aug 2008) | 2 lines
  
  Better font size checking in PDF export.
........
  r5050 | adamblokus | 2008-08-11 22:19:56 +0200 (Mon, 11 Aug 2008) | 2 lines
  
  Fixed riscos text scale bug.
........
  r5073 | adamblokus | 2008-08-12 17:40:57 +0200 (Tue, 12 Aug 2008) | 2 lines
  
  Added missing tooltips
........
  r5092 | adamblokus | 2008-08-13 17:09:25 +0200 (Wed, 13 Aug 2008) | 2 lines
  
  Moved /pdf folder to desktop/save_pdf
........
  r5110 | adamblokus | 2008-08-13 22:44:50 +0200 (Wed, 13 Aug 2008) | 2 lines
  
  Added comments.
........
  r5113 | adamblokus | 2008-08-13 23:07:35 +0200 (Wed, 13 Aug 2008) | 2 lines
  
  Cosmetic changes
........
  r5116 | adamblokus | 2008-08-14 16:10:18 +0200 (Thu, 14 Aug 2008) | 2 lines
  
  Fixed bug with BOX_INLINE_END in tree duplication.
........
  r5117 | joty | 2008-08-14 21:47:46 +0200 (Thu, 14 Aug 2008) | 1 line
  
  Improvement for r5116: use local vars when possible; rename global last to box_duplicate_last; check on box_duplicate_main_tree failure.
........

svn path=/trunk/netsurf/; revision=5118
2008-08-14 20:32:10 +00:00
François Revel 44856d86d4 Fix the BeOS build:
- hack to work around stdbool.h issue with R5 devkit
- fix prototypes
- fix bitmap code
- fix copy-paste on forward button
- remove unused gif throbber loading code
- R5 rgb_color doesn't have != operator, use memcmp()
- switch back to file based [beos]default.css for the time being
- realpath() hack for R5
Regressions:
- asserts on haiku-os.org
- no libns* yet, so less image support
- text field input doesn't work anymore.

svn path=/trunk/netsurf/; revision=5109
2008-08-13 19:35:41 +00:00
François Revel 80c98b8694 Had to do this for C89, please review.
This should be the last one of its kind.

svn path=/trunk/netsurf/; revision=5105
2008-08-13 18:08:05 +00:00
François Revel da1b02f77f C89
svn path=/trunk/netsurf/; revision=5103
2008-08-13 17:45:44 +00:00
François Revel 2fdf10c985 BeOS doesn't have strtof and PRIxPTR.
svn path=/trunk/netsurf/; revision=5101
2008-08-13 17:37:59 +00:00
John Mark Bell 1999e455fa Some vague attempt at limiting the size of large bitmaps for thumbnailing.
This probably wants someone who has a clue about gtk to look at it.

svn path=/trunk/netsurf/; revision=5100
2008-08-13 17:16:39 +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
John Mark Bell 9e68e32338 Warnings.squash();
svn path=/trunk/netsurf/; revision=5088
2008-08-13 14:11:05 +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
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