Commit Graph

5559 Commits

Author SHA1 Message Date
Sven Weidauer
9e31753420 Rendering only dirty rects
svn path=/trunk/netsurf/; revision=11294
2011-01-12 22:07:21 +00:00
John Mark Bell
e65bdafbe3 Fix url_host_is_ip_address() when encountering blatently invalid IPv4 addresses (which inet_aton fails to notice).
Also fix a number of insidious buffer overflows.

svn path=/trunk/netsurf/; revision=11293
2011-01-12 21:48:07 +00:00
John Mark Bell
b58dcc351f Cocoa front end (credit: Sven Weidauer)
svn path=/trunk/netsurf/; revision=11292
2011-01-12 20:21:17 +00:00
John Mark Bell
8c09af5568 Add Mac OS X detection to config.h (credit: Sven Weidauer)
svn path=/trunk/netsurf/; revision=11291
2011-01-12 20:15:04 +00:00
John Mark Bell
f9d10d83bd Add test for purely numeric subdomains (currently fails)
svn path=/trunk/netsurf/; revision=11289
2011-01-12 08:40:48 +00:00
John Mark Bell
4cd21d9934 Fix testsuite
svn path=/trunk/netsurf/; revision=11288
2011-01-12 08:40:08 +00:00
Ole Loots
e66211f669 Added missing font copy command
svn path=/trunk/netsurf/; revision=11283
2011-01-10 23:55:39 +00:00
Ole Loots
5f62669c20 Added realpath() for plain TOS systems.
svn path=/trunk/netsurf/; revision=11282
2011-01-10 23:51:52 +00:00
James Bursa
ae44623e0d Remove unused include.
svn path=/trunk/netsurf/; revision=11273
2011-01-09 21:39:49 +00:00
Michael Drake
40a034b08f Don't clear floats if there aren't floats to clear.
svn path=/trunk/netsurf/; revision=11270
2011-01-09 19:09:30 +00:00
Chris Young
4f75b67cdd Copy correct libxml
svn path=/trunk/netsurf/; revision=11269
2011-01-09 16:41:17 +00:00
John Mark Bell
0818ae160e Remove unnecessary assertion (we've already handled the NULL case)
svn path=/trunk/netsurf/; revision=11265
2011-01-09 13:02:03 +00:00
John Mark Bell
a145763c1d Remove redundant computation.
Fix nsfont_split to actually conform to its API and not return split points in the middle of character byte sequences.

svn path=/trunk/netsurf/; revision=11264
2011-01-09 00:52:00 +00:00
Michael Drake
fe291f87d9 Ensure top margin is affects static position in particular case.
svn path=/trunk/netsurf/; revision=11262
2011-01-09 00:09:57 +00:00
John Mark Bell
3368407d9e Document font APIs -- specifically, string lengths are specified in bytes, not characters
svn path=/trunk/netsurf/; revision=11261
2011-01-09 00:02:47 +00:00
John Mark Bell
6b544e94b9 Include OS3 support header
svn path=/trunk/netsurf/; revision=11259
2011-01-08 23:00:33 +00:00
Michael Drake
b85fcf590f Table top/bottom margin is 0px when computed value is 'auto'.
svn path=/trunk/netsurf/; revision=11257
2011-01-08 17:34:45 +00:00
Chris Young
7cde13feee Partially support 8-bit icons for superimpose
Fix memory leak

svn path=/trunk/netsurf/; revision=11255
2011-01-08 00:08:47 +00:00
Chris Young
360f20b287 ami_superimpose_favicon isn't dependent on Amiga icon loader
svn path=/trunk/netsurf/; revision=11253
2011-01-07 23:47:21 +00:00
Chris Young
8aaa55a5ac #defines for icon.library v51
svn path=/trunk/netsurf/; revision=11252
2011-01-07 23:45:17 +00:00
Chris Young
90fb7362c5 Use base type for gfxbase
svn path=/trunk/netsurf/; revision=11249
2011-01-07 18:21:01 +00:00
Daniel Silverstone
aec29351a6 Ensure we poke the favicon as soon as an HTML content reaches the browser window. This is the earliest we can safely do this, otherwise STOP etc. can cause problems.
svn path=/trunk/netsurf/; revision=11248
2011-01-07 14:23:14 +00:00
Daniel Silverstone
1335ffd488 Make the default favicon a desaturated netsurf logo
svn path=/trunk/netsurf/; revision=11247
2011-01-07 14:16:33 +00:00
Daniel Silverstone
1ca13118a8 Ensure that if we're given no icon (or can't generate one) we default to the system-default favicon
svn path=/trunk/netsurf/; revision=11246
2011-01-07 14:13:40 +00:00
Daniel Silverstone
0bfafb51a6 New tabs should be (assuming not blank) my-home-page/netsurf-home-page rather than current URL
svn path=/trunk/netsurf/; revision=11245
2011-01-07 13:36:05 +00:00
Daniel Silverstone
29321bf3bd Ensure we only update the favicon rendering when the icon being updated is the one in the active tab.
svn path=/trunk/netsurf/; revision=11244
2011-01-07 13:20:47 +00:00
Daniel Silverstone
234301ad23 Fix silliness
svn path=/trunk/netsurf/; revision=11243
2011-01-07 13:14:06 +00:00
Daniel Silverstone
d00c5b0cd5 Add CONTENT_MSG_FAVICON_REFRESH and emit and handle it appropriately. Animated favicons now work
svn path=/trunk/netsurf/; revision=11242
2011-01-07 13:10:20 +00:00
Daniel Silverstone
e6f33ef6ef Add cheating redraw bypass for gifs, so we can cause animation updates
svn path=/trunk/netsurf/; revision=11241
2011-01-07 13:09:53 +00:00
Daniel Silverstone
4b4db144f0 Ensure that we only set done once, but that we do reformat if we're updated. (First stage to animated favicon)
svn path=/trunk/netsurf/; revision=11240
2011-01-07 12:40:57 +00:00
Daniel Silverstone
72683554b4 Only consider a favicon for redraw/done if an event *caused* it to become ready
svn path=/trunk/netsurf/; revision=11239
2011-01-07 12:12:47 +00:00
John Mark Bell
68f8fa1059 Include OS3 support header
Squash warning about implicit declaration of free()

svn path=/trunk/netsurf/; revision=11238
2011-01-07 00:14:37 +00:00
John Mark Bell
7f62710772 Include os3support header
svn path=/trunk/netsurf/; revision=11236
2011-01-06 23:56:03 +00:00
John Mark Bell
64b26c85a3 More #ifdef __amigaos4__. This is getting a little messy.
svn path=/trunk/netsurf/; revision=11235
2011-01-06 23:50:50 +00:00
Chris Young
8cd854cfd5 Define __USE_BASETYPE__, makes thumbnail.c compile again on OS4. GfxBase changes will
need to be made to other files in the same manner.

svn path=/trunk/netsurf/; revision=11234
2011-01-06 23:46:50 +00:00
Chris Young
4f8a44af35 Copy correct files
svn path=/trunk/netsurf/; revision=11233
2011-01-06 23:45:53 +00:00
John Mark Bell
b27b9fbf58 Fix compilation when WITH_AMIGA_ICON is not defined
svn path=/trunk/netsurf/; revision=11232
2011-01-06 23:43:06 +00:00
John Mark Bell
bcc0c0fde9 Make thumbnail.c compile for AmigaOS3
svn path=/trunk/netsurf/; revision=11231
2011-01-06 23:34:56 +00:00
John Mark Bell
d83f683e96 Sprinkle some #ifdef __amigaos4__ around
svn path=/trunk/netsurf/; revision=11230
2011-01-06 23:17:17 +00:00
John Mark Bell
b5e989487c AmigaOS 3 support
svn path=/trunk/netsurf/; revision=11229
2011-01-06 23:05:00 +00:00
Michael Drake
749dfa52ba Completion of first-letter and first-line pseudo element computed styles is not handled yet.
svn path=/trunk/netsurf/; revision=11228
2011-01-06 11:11:47 +00:00
Vincent Sanders
30a92ed4e6 remove malloc.h anachronism
svn path=/trunk/netsurf/; revision=11227
2011-01-06 09:24:14 +00:00
John Mark Bell
d235d53dfc Fix include directive -- case matters now
svn path=/trunk/netsurf/; revision=11225
2011-01-06 01:16:11 +00:00
John Mark Bell
3fcb02afa1 Revert r10650/1. We no longer require noisy fetch/cache logging.
svn path=/trunk/netsurf/; revision=11223
2011-01-06 00:31:54 +00:00
John Mark Bell
77ea8a8d63 Always want inline style now (also prevents use of an uninitialised variable)
svn path=/trunk/netsurf/; revision=11220
2011-01-05 22:38:37 +00:00
John Mark Bell
124e4cd788 Atari frontend (credit: Ole Loots)
svn path=/trunk/netsurf/; revision=11218
2011-01-05 21:02:22 +00:00
John Mark Bell
9422e6dad0 Remove redundant validation -- if you successfully obtain a css_select_results object, then its base style is guaranteed to exist
svn path=/trunk/netsurf/; revision=11217
2011-01-05 20:14:34 +00:00
Michael Drake
12a9c138e6 Fix attempt to destroy selection resutls that don't exist.
svn path=/trunk/netsurf/; revision=11216
2011-01-05 19:53:35 +00:00
Michael Drake
08ed4c207f Update to new libcss API for simultanious selection for base element and its pseudo elements.
svn path=/trunk/netsurf/; revision=11215
2011-01-05 19:36:05 +00:00
Michael Drake
027726c432 Don't create iframes for hidden or non-displayed boxes.
svn path=/trunk/netsurf/; revision=11213
2011-01-05 01:26:29 +00:00