[Webkit-unassigned] [Bug 11540] Port of WebKit ToT to S60
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 7 22:02:25 PST 2006
http://bugs.webkit.org/show_bug.cgi?id=11540
mjs at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #11418|review? |review-
Flag| |
------- Comment #3 from mjs at apple.com 2006-11-07 22:02 PDT -------
(From update of attachment 11418)
Could you explain these changes a little more:
+#if PLATFORM(SYMBIAN)
+#undef CHECK_FOR_HANDLE_LEAKS
+// tot:fixme need page aligned allocations
+#define CHECK_FOR_HANDLE_LEAKS 1
+#endif
+
+#elif PLATFORM(SYMBIAN)
+ // fixme needs to do page aligned allocation
+ block = NULL;
Does Symbian not have a way to allocate at page boundaries? If so you will
probably also have problems with JavaScriptCore.
I do't think it's necessary to put the comment below in the code, we usually
just put stuff like that in the ChangeLog unless what it's doing is really
weird:
+ // char _internalBuffer has to be in front of the bitfields as
+ // Codewarrior (3.2.5 build 461) compiler cannot cope with bitfields and
breaks byte aligment
+ char _internalBuffer[WEBCORE_DS_INTERNAL_BUFFER_SIZE]; // Pad out to a
(((size + 1) & ~15) + 14) size
+
I suggest using lowercase "symbian" as the platform directory name, we usually
use lowercase even when the official name of the relevant platform is
capitalized:
Index: WebCore/platform/Symbian/DeprecatedStringSymbian.cpp
The BSD license in DeprecatedStringSymbian.cpp doesn't quite match the BSD
license in the rest of WebKit. Mich of the difference is cosmetic, but it also
has the following extra clause:
+* * Neither the name of the Nokia Corporation nor the names of its
+* contributors may be used to endorse or promote products derived
+* from this software without specific prior written permission.
Is there any problem with using the usual two-clause BSD license that's in
other WebKit BSD-licensed code? Please use that if possible. The same applies
to a couple of other files.
Did you mean to include the patent license here? There's no WebKitS60 directory
on the trunk otherwise. We'll have to check with our legal department to
include this, I sent an email. In the meantime, would it be ok to submit the
rest of the patch without this? I don't think the patent covers anything
submitted so far.
r- for now. Please address these comments and resubmit. Thanks!
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list