Commit Graph

3548 Commits

Author SHA1 Message Date
John Tytgat 9c36d71ab8 * desktop/save_pdf/pdf_plotters.c:
- save_pdf(): constify path parameter and routine no longer frees it.
    Follow latter change in pdf_end(), nsgtk_PDF_set_pass() and nsgtk_PDF_no_pass()
  - pdf_printer: constify
  - last_clip_x0, last_clip_y0, last_clip_x1, last_clip_y1, in_text_mode, text_mode_request: make static
  - pdf_doc: free previous PDF document if previous save attempt failed.
  - set PDF Creator entry based on our user_agent_string().
* other minor changes.

svn path=/trunk/netsurf/; revision=5452
2008-09-28 13:40:06 +00:00
John Tytgat 598b5fbbc1 One warning less.
svn path=/trunk/netsurf/; revision=5451
2008-09-28 13:31:55 +00:00
Michael Drake b2486edc5a Fix block level replaced element height regression.
svn path=/trunk/netsurf/; revision=5450
2008-09-28 10:00:32 +00:00
Chris Young 907711f25b Improved text cursor
svn path=/trunk/netsurf/; revision=5449
2008-09-27 21:33:00 +00:00
Chris Young 44d88dcee0 Modification for treeview support - missed from previous commit
svn path=/trunk/netsurf/; revision=5448
2008-09-27 20:56:25 +00:00
Chris Young 713d3d365a Experimental treeview implementation using listbrowser.gadget.
svn path=/trunk/netsurf/; revision=5447
2008-09-27 20:55:11 +00:00
Michael Drake 324cc53e87 Also remember to apply min/max-width on floats without auto width.
svn path=/trunk/netsurf/; revision=5446
2008-09-27 20:43:45 +00:00
Michael Drake 1a00aa03a5 Implement min-width and max-width properties for non-replaced elements. Partially implemented for replaced elements.
svn path=/trunk/netsurf/; revision=5445
2008-09-27 20:19:46 +00:00
John Tytgat c35fc63599 Remove include of an internal UnixLib header (which btw no longer exists in gccsdk4)
svn path=/trunk/netsurf/; revision=5444
2008-09-27 16:19:08 +00:00
Michael Drake fbe6acd30b Mention framebuffer front end code directory.
svn path=/trunk/netsurf/; revision=5442
2008-09-26 16:42:00 +00:00
François Revel bee268fac3 C89
svn path=/trunk/netsurf/; revision=5440
2008-09-25 23:33:13 +00:00
Daniel Silverstone 29d1e44dec Fix line plotting and rectangle clipping segfault
svn path=/trunk/netsurf/; revision=5430
2008-09-24 11:22:52 +00:00
Chris Young 9b76a47bbe If use_os_pointers is off and no Wait pointer image has been loaded from disk, we now
use the OS busy pointer instead of the OS default pointer.

svn path=/trunk/netsurf/; revision=5427
2008-09-23 21:41:52 +00:00
Chris Young 95663c5660 Minor pointer corrections, added 4 colour default pointer (standard 2.0 style - to
match the 4 colour pop-up menu pointer) and 4 colour wait pointer (in a hybrid 2.0/1.3
style, it's a Zzz busy pointer with a 3D effect like the one on the default
stop-watch)

svn path=/trunk/netsurf/; revision=5426
2008-09-23 21:38:15 +00:00
Michael Drake 804a11af5b Fix for children of a containing block not being placed with respect to the containing block's top padding, if the containing block's first child is absolute positioned.
svn path=/trunk/netsurf/; revision=5424
2008-09-23 19:38:16 +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 9de2adbdf1 Use stylesheets from LINK elements outside HEAD. (We already supported STYLE elements outside HEAD.) Fixes amazon.co.uk problem.
svn path=/trunk/netsurf/; revision=5415
2008-09-23 10:44:10 +00:00
John Mark Bell a2a28e0c0a Fix array overrun.
svn path=/trunk/netsurf/; revision=5406
2008-09-23 09:14:40 +00:00
John Mark Bell 163ad56fce Rework html parser bindings to have a common API and reside in separate files for ease of reading.
Add error handling to hubbub binding.

svn path=/trunk/netsurf/; revision=5404
2008-09-23 02:19:50 +00:00
Michael Drake 4fad8726a4 Ignore clear property on floats when there are no floats to clear.
svn path=/trunk/netsurf/; revision=5402
2008-09-22 23:45:51 +00:00
Chris Young 8c4cbd2b1b 32-bit mouse pointer support.
The pointer imagery are the icon files of the 4-colour custom text file images.
Tooltypes XOFFSET and YOFFSET specify the "point" of the image.

The 32-bit pointers can be disabled by setting option truecolour_mouse_pointers:0
The OS pointers (for "Default" and "Wait" only) can be used by setting
os_mouse_pointers:1
Deleting the relevant files has the same effect :)

This complete set of 32-bit images is drawn by Martin Merz (Mason).
The code to read them is derived from sample code by Joerg Strohmayer.

svn path=/trunk/netsurf/; revision=5401
2008-09-22 20:41:01 +00:00
Michael Drake 4c058dd92c Fix for positioning of inlines when a float is forced below them.
svn path=/trunk/netsurf/; revision=5395
2008-09-22 11:29:39 +00:00
Michael Drake 1850a494e7 Fix relative positioning to affect position of descendant floats which are in a block formatting context which is an ancestor of the relatively positioned box.
svn path=/trunk/netsurf/; revision=5390
2008-09-21 19:18:27 +00:00
Chris Young dd1afc041d Fix signalling of events from 401 login window
svn path=/trunk/netsurf/; revision=5389
2008-09-21 16:28:45 +00:00
Michael Drake 38ef84bf87 Fix floated radio buttons and checkboxes.
svn path=/trunk/netsurf/; revision=5386
2008-09-20 23:25:37 +00:00
Chris Young d75ece0d71 Stop the throbber trying to draw on download and 401-login windows.
svn path=/trunk/netsurf/; revision=5382
2008-09-20 22:07:11 +00:00
Chris Young 7d93524509 Fix screen clear bug - now plain text files are readable.
svn path=/trunk/netsurf/; revision=5379
2008-09-20 14:06:28 +00:00
John Mark Bell 0fda4f509b Stop double-freeing the document in some error cases.
svn path=/trunk/netsurf/; revision=5369
2008-09-18 09:56:28 +00:00
Michael Drake 01240caa26 Fix diagram to be fill -- not sure what happens with lines.
svn path=/trunk/netsurf/; revision=5368
2008-09-17 22:19:44 +00:00
Michael Drake b75f9471a1 Return MNG/PNG lib defaults to how they were originally. Explain in Makefile.config which options actually have a big impact on the user experience for general web browsing.
svn path=/trunk/netsurf/; revision=5367
2008-09-17 17:10:24 +00:00
Michael Drake 48529e2fbc Drag Messages files back in sync.
svn path=/trunk/netsurf/; revision=5360
2008-09-16 23:06:26 +00:00
Michael Drake 9069119dd5 Fix some wrarnings.
svn path=/trunk/netsurf/; revision=5359
2008-09-16 22:14:39 +00:00
Chris Young 1e1ff2b0b6 Amiga message additions/corrections
svn path=/trunk/netsurf/; revision=5358
2008-09-16 21:47:42 +00:00
Michael Drake 4fedff41c4 Fix some wrarnings.
svn path=/trunk/netsurf/; revision=5357
2008-09-16 21:15:30 +00:00
Michael Drake 723f48b1cc Make RISC OS use -O2 too and tidy comments.
svn path=/trunk/netsurf/; revision=5356
2008-09-16 20:21:01 +00:00
Chris Young 7839439ce8 Re-enable MNG support for AmigaOS build
svn path=/trunk/netsurf/; revision=5355
2008-09-16 18:56:06 +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
Michael Drake 03fdf02272 Fix warnings.
svn path=/trunk/netsurf/; revision=5349
2008-09-16 13:45:59 +00:00
Daniel Silverstone 6e0a71f631 Add support for displaying the tab bar if there's only one tab.
svn path=/trunk/netsurf/; revision=5348
2008-09-16 13:32:12 +00:00
Michael Drake 118c7ac1d3 Wrap consistency.
svn path=/trunk/netsurf/; revision=5347
2008-09-16 13:24:52 +00:00
Michael Drake bbd40534c6 Treat image/jpg as JPEG content for Royal Mail captcha.
svn path=/trunk/netsurf/; revision=5343
2008-09-16 08:13:35 +00:00
John Mark Bell a001437a66 Potentially squash warnings
svn path=/trunk/netsurf/; revision=5341
2008-09-15 23:20:07 +00:00
Michael Drake 18fef974ef Change default build to use libpng but not libmng.
svn path=/trunk/netsurf/; revision=5340
2008-09-15 23:16:21 +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
Chris Young d9c7f033e6 Code cleanup, removed remnants of ttengine experimental code (way too slow to be
useful)

svn path=/trunk/netsurf/; revision=5337
2008-09-15 22:18:33 +00:00
Michael Drake 2c3a663ccc Fix some warnings.
svn path=/trunk/netsurf/; revision=5336
2008-09-15 22:14:17 +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
Michael Drake 8afc2ba3bc Add PNGError to Messages files.
svn path=/trunk/netsurf/; revision=5334
2008-09-15 21:19:16 +00:00
François Revel 8c2a7e23de Fix include path for libpng.
Libpng mandates using <png.h>, if it doesn't work for you, fix your OS :D
(or use -I)
See http://www.libpng.org/pub/png/libpng-1.2.5-manual.html#section-2

svn path=/trunk/netsurf/; revision=5333
2008-09-15 21:12:48 +00:00