Commit Graph

3853 Commits

Author SHA1 Message Date
Michael Drake 400ed91129 Hubbub allows FONT tags to span blocks and the way that
the box tree is generated, this makes the BOX_INLINE's
BOX_INLINE_END appears in a different BOX_BLOCK. That
seems wrong, but fix layout not to crash for now.

svn path=/trunk/netsurf/; revision=6325
2009-01-31 22:49:41 +00:00
John Tytgat 89cfc2f51b This change belonged to r6323.
svn path=/trunk/netsurf/; revision=6324
2009-01-31 16:28:29 +00:00
John Tytgat 1ba9a1d529 Avoid having '...' in the RISC OS PDF export menu entry.
svn path=/trunk/netsurf/; revision=6323
2009-01-31 16:07:09 +00:00
John Tytgat f4800eab4c Fix a couple copyright years.
svn path=/trunk/netsurf/; revision=6322
2009-01-31 13:56:36 +00:00
John Tytgat 35cd7ecbad When UnixLib 5 is used, use its API to do the coredumping. Define UnixEnv$coredump (value needs to be a directory to where the coredump files can be written too) instead of NetSurf$CoreDump to
enable this.

svn path=/trunk/netsurf/; revision=6321
2009-01-31 13:50:17 +00:00
Michael Drake 414f42faac Make inline boxes store the height of their line box and include in box tree dump.
svn path=/trunk/netsurf/; revision=6319
2009-01-31 13:26:28 +00:00
Adrian Lees bce01f90bc RFix immediate menu-related problems; changes to follow
svn path=/trunk/netsurf/; revision=6318
2009-01-31 03:43:06 +00:00
John Mark Bell 6a0a7c346a Let's try that again. Now actually passes the regression tests.
svn path=/trunk/netsurf/; revision=6317
2009-01-31 03:03:50 +00:00
John Mark Bell e2ebfb72f7 Fix urldb_match_path().
Fix test code.

svn path=/trunk/netsurf/; revision=6316
2009-01-31 02:49:26 +00:00
John Mark Bell 966b402881 urldb_destroy_path_tree() -> iteration
svn path=/trunk/netsurf/; revision=6315
2009-01-31 02:30:28 +00:00
John Mark Bell 9085c458d3 urldb_save_cookie_paths() -> iteration
svn path=/trunk/netsurf/; revision=6314
2009-01-31 02:16:01 +00:00
John Mark Bell 71e397eb84 Initialising variables helps
svn path=/trunk/netsurf/; revision=6313
2009-01-31 02:13:12 +00:00
John Mark Bell 92b3bdeda0 urldb_delete_cookie_paths() -> iteration
svn path=/trunk/netsurf/; revision=6312
2009-01-31 02:12:06 +00:00
John Mark Bell 45b222ab50 Make urldb_dump_paths iterate
svn path=/trunk/netsurf/; revision=6311
2009-01-31 02:02:01 +00:00
John Mark Bell a1d409d922 Make urldb_match_path() iterate.
svn path=/trunk/netsurf/; revision=6310
2009-01-31 01:57:15 +00:00
Michael Drake 887d7984cb Fix scale of inline borders.
svn path=/trunk/netsurf/; revision=6309
2009-01-31 00:41:03 +00:00
Sean Fox b132fba399 Right-clicking a page now removes the browser caret as well, but isn't properly implemented; see todo.
svn path=/trunk/netsurf/; revision=6308
2009-01-30 22:38:39 +00:00
Sean Fox 851111e929 Properly show the context menu separator.
svn path=/trunk/netsurf/; revision=6307
2009-01-30 22:00:10 +00:00
Sean Fox 4789d3c09d Clicking in the draw area now deselects the URL bar.
svn path=/trunk/netsurf/; revision=6306
2009-01-30 21:59:01 +00:00
Sean Fox 0de8393358 Save page support on the context menu.
svn path=/trunk/netsurf/; revision=6305
2009-01-30 21:23:10 +00:00
John Mark Bell 376ef0ca47 Make urldb_iterate_entries_path use iteration
svn path=/trunk/netsurf/; revision=6304
2009-01-30 19:58:46 +00:00
John Mark Bell e5c07a3a82 Pedantic linewrapping
svn path=/trunk/netsurf/; revision=6303
2009-01-30 19:47:15 +00:00
John Mark Bell 29fac74dcc Make urldb_iterate_partial_path iterate over the tree and not recurse.
svn path=/trunk/netsurf/; revision=6302
2009-01-30 19:43:54 +00:00
John Mark Bell ffe288e50b This logic looked entirely wrong. Fix it to be more sane. If this breaks things, blame the lack of commentary.
svn path=/trunk/netsurf/; revision=6301
2009-01-30 19:09:26 +00:00
John Mark Bell a2fbddea60 Minor optimisation
svn path=/trunk/netsurf/; revision=6300
2009-01-30 18:50:55 +00:00
John Mark Bell a3f46b12ef Iterate when counting/writing out paths.
svn path=/trunk/netsurf/; revision=6299
2009-01-30 18:48:55 +00:00
Adrian Lees dfa214c525 Not my day :(
svn path=/trunk/netsurf/; revision=6298
2009-01-30 05:08:54 +00:00
Adrian Lees 34fdcf3aec And these files too, please
svn path=/trunk/netsurf/; revision=6297
2009-01-30 05:07:07 +00:00
Adrian Lees 03a1aac36a Selection- and link-related functions now on menu; other menu changes as per t's plan
svn path=/trunk/netsurf/; revision=6296
2009-01-30 05:06:30 +00:00
Michael Drake daf8c22d1b Only get top margin if box has style.
svn path=/trunk/netsurf/; revision=6295
2009-01-29 22:57:32 +00:00
Michael Drake 56b48410be Include top margin when finding sides for block formatting contexts.
svn path=/trunk/netsurf/; revision=6293
2009-01-29 21:23:48 +00:00
Sean Fox ab3da70659 Squash some memory leaks.
svn path=/trunk/netsurf/; revision=6290
2009-01-29 08:13:28 +00:00
Michael Drake 619e5b9631 Once a float has been placed below current line,
ensure that subsequent floats are also placed below.
Make place_float_below() consider float height when
searching for available space.

svn path=/trunk/netsurf/; revision=6287
2009-01-27 13:21:50 +00:00
Chris Young 83d696ace7 This is the actual fix for the crashing, although this is temporary as the
implementation needs changing.

svn path=/trunk/netsurf/; revision=6283
2009-01-26 18:38:47 +00:00
Michael Drake aa787e9730 Fix specified table widths to include border. Tidy block formatting context and table position setup.
svn path=/trunk/netsurf/; revision=6281
2009-01-26 16:32:19 +00:00
Michael Drake 0a175d4020 Fix -ve margins.
svn path=/trunk/netsurf/; revision=6277
2009-01-26 09:11:54 +00:00
Michael Drake 0fefb7a605 More robust float avoidance for blocks set as block formatting contexts.
svn path=/trunk/netsurf/; revision=6275
2009-01-26 00:15:25 +00:00
Chris Young aa2df8c599 This appears to fix an odd crash
svn path=/trunk/netsurf/; revision=6262
2009-01-25 11:18:42 +00:00
Chris Young b5ee67b20e Handle key-presses manually for greater control, and to remove some keyboard
copy'n'paste annoyances.  Caps lock still fails to work though.

svn path=/trunk/netsurf/; revision=6261
2009-01-25 00:36:30 +00:00
Chris Young f4d1f89957 It's probably a good idea to free memory once we've finished with it.
svn path=/trunk/netsurf/; revision=6222
2009-01-24 12:24:15 +00:00
Michael Drake beff85fa73 Ignore clear:left; when the only floats are on the right and vice versa.
svn path=/trunk/netsurf/; revision=6176
2009-01-22 17:52:22 +00:00
Michael Drake 3594651a6b Handle clear before working out available width for tables and blocks that cause a new block formatting context.
svn path=/trunk/netsurf/; revision=6174
2009-01-22 15:39:06 +00:00
Michael Drake 61489da940 Handle no units in CSS as px. This is a temporary measure until the new CSS parser is used, which will handle this properly.
svn path=/trunk/netsurf/; revision=6173
2009-01-22 10:53:14 +00:00
Michael Drake 4c40bbc096 Fix placement of tables in normal flow next to floats. This stops big blank gaps appearing e.g. at the top of wikipedia articles, on some google search results and on amazon product pages.
svn path=/trunk/netsurf/; revision=6162
2009-01-21 23:01:59 +00:00
Michael Drake 9134956efe Fix positioning of floats that come after floats with negative margins.
svn path=/trunk/netsurf/; revision=6156
2009-01-20 21:36:54 +00:00
Chris Young 161dea3d8b Implement bold and italic font rendering for Unicode display and make it the default.
svn path=/trunk/netsurf/; revision=6155
2009-01-20 16:53:06 +00:00
Michael Drake c5f72605b4 Block formatting context width is only reduced due to floats if width is auto.
svn path=/trunk/netsurf/; revision=6145
2009-01-19 10:17:44 +00:00
Michael Drake 20120a8acf Make blocks which establish a new block formatting context use have the correct width and position to avoid overlapping floats. Fixes the main problem on the amazon.co.uk front page.
svn path=/trunk/netsurf/; revision=6142
2009-01-18 23:41:48 +00:00
Chris Young ddd59deaf2 position in string was off by one
svn path=/trunk/netsurf/; revision=6141
2009-01-18 12:15:48 +00:00
Michael Drake e5a5bbec3f Move handling of background related print options to background specific functions.
svn path=/trunk/netsurf/; revision=6119
2009-01-17 19:39:38 +00:00