Commit Graph

3431 Commits

Author SHA1 Message Date
Chris Young
f071afe243 Code cleanup.
svn path=/trunk/netsurf/; revision=5167
2008-08-21 21:42:48 +00:00
Chris Young
7362250125 Added clipboard support, fixed a problem causing a crash in the font functions in font.c
svn path=/trunk/netsurf/; revision=5166
2008-08-21 21:41:42 +00:00
Chris Young
29feaeeb58 Added british-english
svn path=/trunk/netsurf/; revision=5165
2008-08-21 21:39:08 +00:00
Chris Young
bef10968f7 Reduced task priority to -5 and increased stack to 64k
svn path=/trunk/netsurf/; revision=5164
2008-08-21 21:38:50 +00:00
Michael Drake
2c405248b4 Don't display noembed content.
svn path=/trunk/netsurf/; revision=5163
2008-08-21 19:34:23 +00:00
Michael Drake
55e2831909 Ignore height/width attributes on elements where they are not permitted.
svn path=/trunk/netsurf/; revision=5162
2008-08-21 18:00:32 +00:00
Chris Young
b7688ffb5e Implemented form select menu, and basic pull-down menu template.
svn path=/trunk/netsurf/; revision=5158
2008-08-19 18:31:56 +00:00
John Tytgat
febfb54585 Pencils-down last merge from Adam Blokus's PDF branch for his GSoC project.
Merged revisions 5118-5155 via svnmerge from 
svn://svn.netsurf-browser.org/branches/adamblokus/netsurf

........
  r5130 | adamblokus | 2008-08-15 20:43:43 +0200 (Fri, 15 Aug 2008) | 2 lines
  
  Added docs for loosening and adding paged output.
........

svn path=/trunk/netsurf/; revision=5156
2008-08-18 20:02:59 +00:00
Chris Young
0e78a116f6 Implemented mouse dragging and code for select forms (which works but the menu is not
created with the correct entries yet).  Now looks in options for screen and window
size and position.

svn path=/trunk/netsurf/; revision=5153
2008-08-18 19:07:12 +00:00
John Tytgat
679e5dcbe6 Add links to resource files.
svn path=/trunk/netsurf/; revision=5138
2008-08-17 17:27:51 +00:00
Chris Young
1486ef8b08 Reversed order of running a callback and removing it from the schedule list, this
resolves a serious system freeze especially prevalent on XOOPS-based websites.

svn path=/trunk/netsurf/; revision=5137
2008-08-17 16:24:22 +00:00
Chris Young
61294f493e Close fonts properly and default back to initial RastPort font.
svn path=/trunk/netsurf/; revision=5136
2008-08-17 16:22:40 +00:00
Chris Young
f71f8f82a1 Implemented line styles and widths
svn path=/trunk/netsurf/; revision=5131
2008-08-15 18:49:14 +00:00
Chris Young
8da23bd1f3 More error checking
svn path=/trunk/netsurf/; revision=5129
2008-08-15 17:22:52 +00:00
Chris Young
1a489fbf64 Updated for hubbub, redraws now scheduled for next input loop
svn path=/trunk/netsurf/; revision=5128
2008-08-15 17:19:57 +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
John Mark Bell
cd77be1349 Log chunk sizes
svn path=/trunk/netsurf/; revision=5124
2008-08-15 11:17:28 +00:00
Rob Kendrick
14a7b25c69 Allow nsgtk to be built *with* PDF support. Whoops.
svn path=/trunk/netsurf/; revision=5122
2008-08-15 10:24:52 +00:00
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