Commit Graph

5578 Commits

Author SHA1 Message Date
John Mark Bell
76f2b2af98 Remove erroneous commentary, and move associated code to a more sensible place
svn path=/trunk/netsurf/; revision=11346
2011-01-17 08:35:20 +00:00
John Mark Bell
1034f16f0b Fix bug #3159040: make destruction order of browser_window objects sane
svn path=/trunk/netsurf/; revision=11345
2011-01-17 08:28:22 +00:00
Sven Weidauer
fbbfb2a75f Scaling mouse coordinates
svn path=/trunk/netsurf/; revision=11321
2011-01-14 19:03:16 +00:00
Sven Weidauer
f552e114bd Handling double-clicks
svn path=/trunk/netsurf/; revision=11320
2011-01-14 18:18:57 +00:00
Sven Weidauer
7bd51ba0ba Implementing selection and clipboard functions.
svn path=/trunk/netsurf/; revision=11319
2011-01-14 17:50:11 +00:00
Sven Weidauer
30d9439781 Better mouse handling for browser
svn path=/trunk/netsurf/; revision=11318
2011-01-14 16:54:39 +00:00
Sven Weidauer
ecc314c694 Implemented download window
svn path=/trunk/netsurf/; revision=11317
2011-01-14 12:46:06 +00:00
Sven Weidauer
633f294ce2 Opening URLs
svn path=/trunk/netsurf/; revision=11316
2011-01-14 12:46:01 +00:00
Sven Weidauer
dbaaa53f68 Correctly handling users closing windows
svn path=/trunk/netsurf/; revision=11311
2011-01-13 19:00:04 +00:00
Sven Weidauer
2ab5636619 Zooming, opening files, accepting http and https URLs
svn path=/trunk/netsurf/; revision=11310
2011-01-13 17:20:13 +00:00
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