Commit Graph

5568 Commits

Author SHA1 Message Date
Sven Weidauer
a9b60753f9 Implemented tree view/history window.
svn path=/trunk/netsurf/; revision=11309
2011-01-13 15:19:47 +00:00
Sven Weidauer
b65a405c3e Copy scale value from cloned window and setting new clip rect for every drawing operation.
svn path=/trunk/netsurf/; revision=11308
2011-01-13 11:15:40 +00:00
Sven Weidauer
f47c0f16e2 Adding build instructions for Cocoa and building with system-provided libpng by default.
svn path=/trunk/netsurf/; revision=11307
2011-01-13 07:47:07 +00:00
Sven Weidauer
23e9ad14ab Recalculating actual position in string after text split.
svn path=/trunk/netsurf/; revision=11300
2011-01-12 23:21:36 +00:00
Sven Weidauer
fce3238be0 Added UTF-8 to local encoding conversion functions. Just copies the string.
svn path=/trunk/netsurf/; revision=11299
2011-01-12 23:21:33 +00:00
Sven Weidauer
23770014c0 Check for animating GIF favicon only if compiled with GIF support.
svn path=/trunk/netsurf/; revision=11298
2011-01-12 22:07:40 +00:00
Sven Weidauer
9c627479ca including <cocoa/cocoa.h> in prefix header
svn path=/trunk/netsurf/; revision=11297
2011-01-12 22:07:36 +00:00
Sven Weidauer
88d70ed6a4 Added icon
svn path=/trunk/netsurf/; revision=11296
2011-01-12 22:07:31 +00:00
Sven Weidauer
0409221064 Changed project file to use .xcconfig files and added shell script (config/detect.sh) to auto-generate local config file using pkg-config
svn path=/trunk/netsurf/; revision=11295
2011-01-12 22:07:27 +00:00
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