Commit Graph

7070 Commits

Author SHA1 Message Date
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
Steve Fryatt
67c9262403 Ensure file content is terminated (bug #1866212).
svn path=/trunk/netsurf/; revision=13070
2011-10-18 21:41:45 +00:00
John Mark Bell
1dc36241d6 Squash warnings
svn path=/trunk/netsurf/; revision=13069
2011-10-18 07:34:15 +00:00
John Mark Bell
da930e48ad Use local variables instead of global filehandles
svn path=/trunk/netsurf/; revision=13068
2011-10-17 21:55:45 +00:00
Chris Young
6959a30b26 Move non-requester user file operations to file.c
svn path=/trunk/netsurf/; revision=13065
2011-10-15 15:27:56 +00:00
Chris Young
c3fafd63f8 Move all main file req save ops to file.c
svn path=/trunk/netsurf/; revision=13064
2011-10-15 14:55:03 +00:00
Michael Drake
2db149d527 Add a couple of tests and tidy up.
svn path=/trunk/netsurf/; revision=13063
2011-10-15 14:17:09 +00:00
Chris Young
ad8a965548 Start to consolidate user file operation into one file
svn path=/trunk/netsurf/; revision=13062
2011-10-15 14:09:35 +00:00
Michael Drake
62248c06d3 Don't need to rescan authority if there was no scheme. Bring documentation back into sync with code. Make pre-authority slash skipping more robust.
svn path=/trunk/netsurf/; revision=13061
2011-10-15 14:03:13 +00:00
John Mark Bell
f933d70661 Remove unnecessary stub functions
svn path=/trunk/netsurf/; revision=13060
2011-10-15 13:12:34 +00:00
John Mark Bell
5b644acf61 Move timeval_subtract to utils/log.c & make it static, as it's not used anywhere else
svn path=/trunk/netsurf/; revision=13059
2011-10-15 13:11:04 +00:00
Chris Young
085940711d Add missing title
svn path=/trunk/netsurf/; revision=13058
2011-10-15 13:10:54 +00:00
John Mark Bell
f39e150065 Stub messages_get, instead
svn path=/trunk/netsurf/; revision=13057
2011-10-15 13:06:36 +00:00
John Mark Bell
40f9143f7e Apparently, we need zlib
svn path=/trunk/netsurf/; revision=13056
2011-10-15 13:00:16 +00:00
John Mark Bell
ee930d97e4 Fix handling of no scheme
svn path=/trunk/netsurf/; revision=13055
2011-10-15 11:51:54 +00:00
Michael Drake
8f554bb0e5 Fix "about:".
svn path=/trunk/netsurf/; revision=13054
2011-10-15 09:47:37 +00:00
John Mark Bell
d3fce3ffc3 Fix handling of URLs without an authority
svn path=/trunk/netsurf/; revision=13053
2011-10-14 21:41:16 +00:00
John Mark Bell
cf12dca846 A bunch more tests for trivial inputs
svn path=/trunk/netsurf/; revision=13052
2011-10-14 21:31:53 +00:00
John Mark Bell
ca4dfc7f1e Move nsurl test suite into test/
Fix up llcache tester to reflect nsurl changes
Make handling of http:,http:/,http:// consistent
Fix buffer overflow when presented with an input string: "http://"

svn path=/trunk/netsurf/; revision=13051
2011-10-14 21:29:13 +00:00
Michael Drake
deae02c0e7 Remove unused variable.
svn path=/trunk/netsurf/; revision=13050
2011-10-14 20:57:24 +00:00
Ole Loots
ee7b223eca Draw favicon when iconyfied
svn path=/trunk/netsurf/; revision=13049
2011-10-14 20:56:52 +00:00
Michael Drake
c69e75220d Remove unused variable.
svn path=/trunk/netsurf/; revision=13048
2011-10-14 20:54:18 +00:00
John Mark Bell
bdbffb7aa6 Remove unused variable
svn path=/trunk/netsurf/; revision=13047
2011-10-14 19:39:41 +00:00