Commit Graph

6942 Commits

Author SHA1 Message Date
Chris Young
10237e0bde Amiga frontend update for r13139
svn path=/trunk/netsurf/; revision=13140
2011-11-10 12:23:52 +00:00
Chris Young
0b6e5da662 Allow setting a default folder in the tree for hotlist entries to go into. Frontends
will need to be updated to use hotlist_set_default_folder() if they want to use this
functionality.

svn path=/trunk/netsurf/; revision=13139
2011-11-10 12:22:48 +00:00
Chris Young
87c5f14c08 Update the title of the initial tab, even when the tab bar is hidden (ensures the
correct title will be present if it is made visible)

svn path=/trunk/netsurf/; revision=13138
2011-11-09 19:22:49 +00:00
John Mark Bell
dcbafe6b87 Clean up fetch callback API. Inject some long-needed type safety.
svn path=/trunk/netsurf/; revision=13137
2011-11-08 21:51:42 +00:00
Ole Loots
91bdfbd172 Removed calls to FrameInit/FrameExit ( was used for window components ).
svn path=/trunk/netsurf/; revision=13136
2011-11-08 19:13:34 +00:00
Chris Young
a98fb7c4dd Reimplement the previous hotlist menu refresh code, as the bug causing the previous
problems was fixed ages ago.  Make the timing configurable for now but default to off.

svn path=/trunk/netsurf/; revision=13135
2011-11-07 18:51:08 +00:00
John Mark Bell
4ba282c9c9 Fix bug #3433954: make containing_block available to layout_table so it can resolve percentage height specified on an absolutely-positioned table.
svn path=/trunk/netsurf/; revision=13130
2011-11-06 11:26:52 +00:00
John Mark Bell
da2b1ce44d Hack around curl complaining about junk gzip streams
svn path=/trunk/netsurf/; revision=13129
2011-11-05 22:10:46 +00:00
John Mark Bell
3776e49f02 Fix bug #3433840: <img style="display: table" src="..."> will crash if the image fetch completes before initial layout.
A number of things wrong here:
1) The BOX_TABLE generated for the img shouldn't ever have been associated with the object (it should have been associated with the implied BOX_TABLE_CELL)
2) The layout engine's decision to treat BOX_TABLE/BOX_INLINE_CONTAINER with associated objects differently from non-replaced TABLE/INLINE_CONTAINERs seems wrong (looking though SVN history, it appears that this was introduced as part of the very first frames implementation, since replaced (twice!))
3) Now we fetch objects in parallel with building the box tree, we're open to this kind of race condition.

svn path=/trunk/netsurf/; revision=13128
2011-11-05 21:03:52 +00:00
John Mark Bell
30c91aa4e7 Fix bug #3433787: ignore empty meta refresh content attribute.
Squash memory leaks in error cases. 

svn path=/trunk/netsurf/; revision=13127
2011-11-05 18:36:21 +00:00
Ole Loots
044fec706f -Remove a bunch of code which was intended to handle framed-pages. It's better handled by the OS, because frames won't be handled within the frontend anymore.
- Clear window when no content is available

svn path=/trunk/netsurf/; revision=13125
2011-11-05 15:18:19 +00:00
Ole Loots
5f10479c26 Removed window_set_icon
svn path=/trunk/netsurf/; revision=13124
2011-11-05 01:49:55 +00:00
Ole Loots
5786f7eb17 Removed window_set_icon
svn path=/trunk/netsurf/; revision=13123
2011-11-05 01:48:53 +00:00
Ole Loots
389722916a Added comments.
svn path=/trunk/netsurf/; revision=13122
2011-11-05 01:47:23 +00:00
Ole Loots
aadc2541a5 Added comments.
svn path=/trunk/netsurf/; revision=13121
2011-11-05 01:46:41 +00:00
Michael Drake
4ad1557d27 Add some tests.
svn path=/trunk/netsurf/; revision=13114
2011-11-03 12:16:01 +00:00
Michael Drake
04f6957141 Fix handling of bad mailto: urls.
svn path=/trunk/netsurf/; revision=13113
2011-11-03 12:15:32 +00:00
Michael Drake
30ff09bd83 More test cases.
svn path=/trunk/netsurf/; revision=13109
2011-10-31 22:24:05 +00:00
Michael Drake
3ecf3c1eaf Fix empty port separator and redundant port removal when credentials are present.
svn path=/trunk/netsurf/; revision=13108
2011-10-31 22:23:02 +00:00
Michael Drake
a4dc04e44a Test numbers before calling strncmp.
svn path=/trunk/netsurf/; revision=13107
2011-10-31 22:17:05 +00:00
Michael Drake
d64e09aef7 Make sure port's just 80, before removing in http case.
svn path=/trunk/netsurf/; revision=13106
2011-10-31 22:13:38 +00:00
Michael Drake
ea761e16e6 nsurl optimisation: Remove a load of branches into fewer.
svn path=/trunk/netsurf/; revision=13105
2011-10-31 22:02:40 +00:00
Michael Drake
3936e6df15 Remove some code that's not needed. Fix redundant port handling.
svn path=/trunk/netsurf/; revision=13104
2011-10-31 21:47:10 +00:00
Michael Drake
c6f13db858 Don't need to generate string from scratch in nsurl_defragment, just copy.
svn path=/trunk/netsurf/; revision=13103
2011-10-31 21:27:11 +00:00
Michael Drake
f980e6015f nsurl optimisation: Don't use separate allocations for nsurl strings.
svn path=/trunk/netsurf/; revision=13102
2011-10-31 21:13:29 +00:00
John Mark Bell
dc792e8d05 Fix format specifier
svn path=/trunk/netsurf/; revision=13101
2011-10-30 15:00:53 +00:00
John Mark Bell
0fe2143b88 Rework error handling to avoid cast alignment warning noise
svn path=/trunk/netsurf/; revision=13100
2011-10-30 15:00:32 +00:00
Chris Young
4cbe7d9d94 Remove any need for LangNames to be imported as a Messages file
svn path=/trunk/netsurf/; revision=13099
2011-10-29 14:14:13 +00:00
Chris Young
b84ebeed36 Stop abusing Messages with continual load of LangNames
svn path=/trunk/netsurf/; revision=13098
2011-10-29 13:51:19 +00:00
Chris Young
d0ad76a77a Simplify
svn path=/trunk/netsurf/; revision=13097
2011-10-29 13:35:55 +00:00
Chris Young
4a0de7cd5c Allow usage of a resource.map file to map resource: requests to other files.
svn path=/trunk/netsurf/; revision=13096
2011-10-29 13:32:53 +00:00
Michael Drake
4e6828e7e1 Remove unused variable.
svn path=/trunk/netsurf/; revision=13095
2011-10-29 12:04:33 +00:00
Michael Drake
62e551f34d Give INLINE_END boxes their own id reference.
svn path=/trunk/netsurf/; revision=13094
2011-10-29 12:03:54 +00:00
Michael Drake
ab45ecd228 Use lwc_string for box->id.
svn path=/trunk/netsurf/; revision=13093
2011-10-29 11:37:05 +00:00
Chris Young
62900af515 Search the current theme dir for resources.
svn path=/trunk/netsurf/; revision=13091
2011-10-29 11:24:29 +00:00
Michael Drake
4abaf2f085 Intern bw->frag_id.
svn path=/trunk/netsurf/; revision=13090
2011-10-28 22:27:50 +00:00
Michael Drake
240fdc5187 Constify frag_id param.
svn path=/trunk/netsurf/; revision=13089
2011-10-28 22:25:00 +00:00
Michael Drake
dcc5a532bc Use nsurl to add fragment for URL bar display.
svn path=/trunk/netsurf/; revision=13088
2011-10-28 19:19:08 +00:00
Michael Drake
a112bfb676 Function for adding fragment onto nsurl.
svn path=/trunk/netsurf/; revision=13087
2011-10-28 19:18:14 +00:00
Chris Young
110ba21d52 Only one of these save ops needs the file opened here
svn path=/trunk/netsurf/; revision=13086
2011-10-27 21:04:56 +00:00
John Mark Bell
272fb1e517 Include utils.h for NOF_ELEMENTS
svn path=/trunk/netsurf/; revision=13082
2011-10-27 00:57:59 +00:00
John Mark Bell
f90aeba984 Appease ancient Perl installs.
svn path=/trunk/netsurf/; revision=13079
2011-10-24 22:52:12 +00:00
Chris Young
6c49c9380a Updated translation from Samir Hawamdeh
svn path=/trunk/netsurf/; revision=13078
2011-10-23 21:12:15 +00:00
Chris Young
8fba599536 Disable Sprite support - DataTypes can handle these.
svn path=/trunk/netsurf/; revision=13077
2011-10-23 13:22:21 +00:00
Chris Young
c1afe81e06 Complete extended context menus
svn path=/trunk/netsurf/; revision=13076
2011-10-23 13:15:44 +00:00
Chris Young
4bb6da7cd3 Revert r13074 - doesn't actually fix the problem
svn path=/trunk/netsurf/; revision=13075
2011-10-22 14:26:56 +00:00
Chris Young
35bc321993 Fix the plotting of tiled bitmaps. EraseRect() appears to have a bug where it won't
draw anything if ymin==ymax

svn path=/trunk/netsurf/; revision=13074
2011-10-22 14:16:03 +00:00
Chris Young
a7f2cfa521 Fix save_complete
svn path=/trunk/netsurf/; revision=13073
2011-10-22 14:03:47 +00:00
Chris Young
a4f14eb0e9 Avoid horizontal pixel-height lines of the background appearing when "fast scrolling"
down the page.  There is a similar problem with scrolling up pages which may be a bug
in ami_do_redraw_limits or plotters (probably bitmap tile plotter), as drawing
additional pixel lines after scrolling is not redrawing the affected area.
Example sites where this problem is apparent:
http://www.nintendolife.com (border pattern does not redraw)
http://www.amigaos.net/content/72/supported-hardware (clouds show through the main
text area)

svn path=/trunk/netsurf/; revision=13072
2011-10-22 13:52:13 +00:00
Vincent Sanders
c970cc6dd4 fix infinite loop when copying private data
svn path=/trunk/netsurf/; revision=13071
2011-10-19 15:28:47 +00:00