IMO the biggest benefits that OpenCL (or some other vector-savvy
multiprocessing interface) could bring to WebKit would be in the
following areas:
Reading graphics files (e.g. jpg)
Encryption/Decryption (TLS, SSL)
Compositing graphics in software (e.g. alpha blends)
Implementing
I have done the same thing and it worked mostly automatically. There
were only a few mistakes in the code whereby disabling one of them
caused something to break, but this was manually fixable. But the build
file set didn't need to be modified. If you are using the OWB port you
will find that
Are Web Slices a vetted Internet standard? Was there any formal
discussion about it? Closed design results in poor design. Remember the
blink tag?
There's also this to consider:
http://ajaxian.com/archives/not-possible-to-use-web-slice-icon-in-other-browsers
Hi guys,
did you notice
More generally, all NaN comparisons return false, even with
binary-identical NaNs. So if x is a NaN, then (x == x) is false, as long
as the compiler doesn't try to eliminate the expression, and I don't
think it's allowed to for floating point (I don't have a reference
handy, though).
bool
Here's the story: Your GCC 3.4 is compliant to the existing ISO C++
standard, but the proposed C++0x standard allows compilers to
optionally support the reinterpret_cast in question.
The C++98 and C++03 Standards (see section 5.2.10) do not allow
reinterpret_castvoid*(functionPointer). But
I believe that output is not indicating a build failure and that it can
be ignored.
The WebKit Windows build produces a number of "red herring" outputs
(output that looks like an error but isn't), and the traffic on this
mailing list would likely be reduced if this was documented. Ditto for
Given that HTTP header fields can have the same header represented more
than once, why is it that HTTPHeaderMap is a map and not a multi-map?
How would you send a ResourceRequest that has two headers of the same
name to an HTTP server? Am I missing something?
namespace WebCore {
typedef
gperf (http://www.gnu.org/software/gperf/) is a utility app that
generates perfect hash functions. By perfect we mean that there are no
hash collisions in the lookup and thus some runtime performance
improvements can be had. Your cygwin/bin directory is supposed to have
a gperf.exe app in it.
We are looking at adding revocation support to our TLS/SSL
implementation. OCSP seems like it might be a lower overhead system for
us to support. I'd like to avoid supporting both OCSP and CRL if
possible. I'm wondering how well OCSP works in practice. Towards the
bottom of the OCSP Wikipedia
We are currently implementing cookie support in our port. In order to do
so I had to figure out how WebKit expects cookies support to be handled.
In my copy of CookieJar.cpp I wrote the notes below, which I think are
close to being correct.
If you are using something like Curl then Curl
FWIW, I rewrote our version of the networking back-end support to use a
generic pure-virtual interface. That way all those #ifdefs in the code
went away and the back-end requirements became clearer and easier to
provide. We are using our own http/ftp/file support that is different
from
can report back on my results and possibly donate to
ports that might be interested in this, such as OWB.
Thanks.
Paul
On Dec 14, 2008, at 1:12 AM, Paul Pedriana wrote:
For a lot of web pages, images are the primary source of memory
usage. These images seem to be typically stored as RGB
For a lot of web pages, images are the primary source of memory usage.
These images seem to be typically stored as RGB or ARGB data in the
BitmapImage class. It seems to me that applications that wish or need to
save runtime memory could benefit from runtime image compression whereby
images
Ditto for me. I also have problems with crashes in CF, which cannot be
debugged and so I can't diagnose them.
On Dec 10, 2008, at 6:37 AM, Aman wrote:
I got
WebKit to build properly on windows, and i got the winLauncher too.
But now the problem is : i type any
The ScrollView::paint function seems wrong to me too.
The function source is shown below. I don't understand why it uses
context-clip(visibleContentRect()) without accounting for
documentDirtyRect. Shouldn't it make a union of visibleContentRect and
documentDirtyRect? I am writing my own
While a COM or similar interface may result in a library which makes
porting easiest for new platforms, it sometimes can be harder to
develop and maintain. We've been there and I can say that in some cases
a COM-like interface really is nice to work with; and in other cases it
is perhaps too
One can use Color::Brown to solve ambiguities if necessary
That would be invalid C++. If a given compiler accepts it then the
compiler is not strictly conforming. See the C++ Standard section 7.2
and section 9.2 p1. A scoping operator prefixed to an enumerand refers
to the enclosing scope
Thanks, though this bug isn't a bug in WebKit. It's a bug in a layer of
a common WebKit port.
(Please feel free to correct me if there is a better place to report
things like this)
http://bugs.webkit.org
For details:
http://webkit.org/quality/reporting.html
... this is not a WebCore issue, so there is nothing you can do
in WebCore to fix it.
When I look at WebCore's WidthIterator::advance function, it doesn't
seem to me to be savvy to complex script. It looks to me like it walks
through a Unicode string and replaces character clusters with
In reading Maciej Stachowiak's page at
http://webkit.org/blog/214/introducing-squirrelfish-extreme/, it talks
about native code generation and platform support. I would like to point
out that some platforms do not allow runtime native code generation,
either due to hardware restrictions or due
That was discussed last month. See the thread at:
https://lists.webkit.org/pipermail/webkit-dev/2008-August/004719.html
I am currently running my copy like this:
enum { DefaultCapacity = 2 * 256 * 1024 / sizeof(Register)};
// Originally (2 * 1024 * 1024 / sizeof(Register))
enum {
.
That is unless I'm missing something.
Paul
i think the below is related to JS engine. i was
referring to the cached resources(css, js, images etc) -
WebCore/loader/Cache.cpp:44
static const int cDefaultCacheCapacity = 8192 * 1024;
regards,
Zaheer
On Wed, Sep 17, 2008 at 1:23 PM, Paul
I'm curious to see the patch (just to give an idea how
big the changes would be). Do you have it somewhere?
The patch is at: https://bugs.webkit.org/show_bug.cgi?id=20422.
I don't think this is a terribly difficult thing to implement (though
I don't mean to imply that it's trivial
your patch, I don't think this testcase will work... will it?
Fred
Le Tuesday 16 September 2008 20:28, Paul Pedriana a crit:
I'm curious to see the patch (just to give an idea how
big the changes would be). Do you have it somewhere?
The patch is at: https://bugs.webkit.org
An abstracted XML parser API would be useful to embedded and gaming
platforms. Libxml is a fine library, but memory-constrained applications
will usually have their own lean xml implementation and would like to
avoid redundancy.
Regarding stream-based XML as opposed to SAX-based XML, we too
?id=16925, if that's OK.
Paul
On Sep 4, 2008, at 2:05 AM, Paul Pedriana wrote:
I see that JavaScriptCore/wtf/Vector.h has this:
// FIXME: Nothing guarantees this buffer is appropriately aligned to
hold objects of type T.
char m_inlineBuffer[m_inlineBufferSize];
We have a bug
hardware
like x86.
On Sep 4, 2008, at 12:20 PM, Paul Pedriana wrote:
I'll make a patch and attach it to
https://bugs.webkit.org/show_bug.cgi?id=16925, if that's OK.
That would be great!
One thing I'm not sure about is whether we want to enforce alignment
on platforms that don't require
It looks to me like the problem is due to a template implementation not
being visible to the code being compiled. GCC and VC++ don't enforce
the C++ standard strictly here, and the CodeWarrior and EDG-based
compilers correctly flag this as invalid code. VC++ compiles templates
by essentially
I see that JavaScriptCore/wtf/Vector.h has this:
// FIXME: Nothing guarantees this buffer is appropriately aligned to
hold objects of type T.
char m_inlineBuffer[m_inlineBufferSize];
And I've heard reports about people having alignment crashes on some
hardware. Something like the code
It looks like you are compiling with and EDG-based compiler front end.
EDG can indeed be more strict than other compilers in some cases. My
experience is typically (though not certainly) that when EDG gives you
an error like below then it is correct. So you probably have a case of
code that in
Well we already have a cross-platform threading
interface/implementation. It is conceptually similar to pthreads (but
also includes things like portable atomics) but is C++ and is tailored
to functionality useful to us and which exists on our target platforms
(primarily XBox 360, PS3, PS2,
I would hope that if any dependency is made on pthreads that the
dependency be as minimal as possible and depend on the most universal
parts of pthreads as possible. The platforms I work on do not have
pthreads, and so pthreads would need to be emulated. Also, these
platforms don't have some
I've got a more or less automatic Windows build working with the OWB
build of WebKit. OWB is CMake-based and uses alternatives to Core* such
as cURL, libJpeg, etc. I had to do somewhat extensive changes to the
CMake scripts to make them portable to Windows, but with those changes
the Windows
This doesn't seem to be something that's specific to Visual Studio 2005,
though it could be something specific to Windows.
The error is of course coming from the following line:
if sort CSSValueKeywords.in | uniq -d | grep -E '^[^#]'; then echo
'Duplicate value!'; exit 1; fi
That line is
For our uses and a lot of other non-PC uses, memory is more important
than speed. The memory budget we are targeting is = 10 MB for code+data
to display a small blank visual page that executes a 'hello world' type
JavaScript function. So 8MB is a lot.
I'm wondering if there is a way to control
I see the following code, which works for 32 bit but not 64 bit. Is
there another file or function somewhere that's for 64 bit?
static bool isNegative(const JSValue* v)
{
ASSERT(isNumber(v));
return reinterpret_castuintptr_t(v) 0x8000;
}
teng\WebKit\WebKitBuild\obj\testapi\Debug\BAT4532601072.bat"
with contents
[
@echo off
set PATH=%SystemDrive%\cygwin\bin;%PATH%
if exist "C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed" grep
XXtestapiXX "C:\cygwin\home\teng\WebKit\WebKitBuild\buildfailed"
if
I've created a working wtf/New.h file and a basic unit test for it. It
implements both of Maciej's recent proposals, which were essentially 1:
provide an allocation base class and 2: provide a global allocator. I've
done basic testing of this within my WebKit build but haven't converted
every
(s); }
inline void operator delete(void* p)
{ free(p); }
inline void* operator new[](size_t s)
{ return malloc(s); }
inline void operator delete[](void*
p) { free(p); }
void DoSomething(){
void* p = malloc(10);
free(p);
}
Thanks.
On 03/06/2008, at 21:13, Paul Pedriana w
.
Thanks.
Paul
On Jun 4, 2008, at 9:58 AM, Paul Pedriana wrote:
Thanks for the response. I'm sorry, and
perhaps I misunderstand, but I believe your statement about inline
operator new is incorrect. Unless I misunderstand you, what you say is
not supported by any existing compiler nor
(pObjectArray);
wk_delete_array(pObjectArray);
assert((Object::ctorCount == 38) (Object::dtorCount == 38));
}
On Jun 3, 2008, at 10:58 PM, Paul Pedriana wrote:
Thanks for the response. I'm sorry, and perhaps I
I'm wondering if anybody has successfully ported WebKit to a platform
other than Windows or Unix. I ask because I am looking into this
possibility myself. I've looked at Mozilla and WebKit and at first
leaned towards WebKit, as it seems to be easier to grok. But in looking
at the WebKit source
I followed the instructions at http://webkit.org on how to sync, build
and run WebKit. However, the last step (run-safari) fails due to
inability to find the CLSID for WebKit.WebView. It appears that some
kind of COM object installation needs to be done in order for this to
succeed. But I can
Thanks, but that fails the same way. Perhaps I'm missing something, but
I don't see how --debug in the scripts solves the problem of a
non-registered CLSID.
$ /cygdrive/d/WebKit/WebKitTools/Scripts/run-safari --debug
1 file(s) copied.
WARNING: Failed to get CLSID for WebKit.WebView
isn't to run Safari but to port
WebKit to alternative platforms.
Thanks.
Might be a stupid questuin but is safari installed?
Sent via BlackBerry from T-Mobile
-Original Message-
From: Paul Pedriana [EMAIL PROTECTED]
Date: Sun, 25 May 2008 04:55:19
To:Michelangelo De Simone [EMAIL
Upon sync-ing WebKit on Windows/Cygwin, I get this build error for
WebCore.vcproj:
..\loader\CachedImage.cpp(38) : fatal error C1083: Cannot open
include file: 'PDFDocumentImage.h': No such file or directory
This appears to be due to a bug in WebCore.vcproj or a mistake in the
source
We are considering porting WebKit to work on gaming consoles (e.g. XBox
360, PlayStation 3). We want to have browsing functionality within our
games.
The primary issue with this is likely to be one of memory. When running
within a game, a web browser has little more than a few megabytes of RAM
47 matches
Mail list logo