| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
JSC.
WebKit change http://trac.webkit.org/changeset/51975 modified String addition in
JSC to use ropes. However, the change was incorrect, so was rolled back in
http://trac.webkit.org/changeset/51978.
The last WebKit merge was to revision r51976, so picked up the initial, broken
change only.
This change cherry-picks http://trac.webkit.org/changeset/51978 to revert the
original change.
Bug: 2336856
Change-Id: I7f48bce6a7f605779424ba0a7601524ab3a71990
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Notes ...
For FrameLoader.cpp/h, see http://trac.webkit.org/changeset/51644
For FrameView.cpp and ScrolView.cpp, see http://trac.webkit.org/changeset/51636
For PluginInfoStore.cpp, see http://trac.webkit.org/changeset/51257
For Geolocation.cpp, see http://trac.webkit.org/changeset/50605
For V8DOMWrapper.cpp, see http://trac.webkit.org/changeset/51004
For V8Proxy.cpp, see http://trac.webkit.org/changeset/50441, http://trac.webkit.org/changeset/50327, http://trac.webkit.org/changeset/50406 and http://trac.webkit.org/changeset/50523
For HTMLInputElement.cpp, see http://trac.webkit.org/changeset/50996
For RenderBlock.cpp/RenderInline.cpp, see https://android-git.corp.google.com/g/#change,33465
Android-specific change to now-deleted JSCanvasArrayCustom.cpp was trivial.
Change-Id: Iddc8d43bdcb6208d6a991a7a1d591e8a4f918bf7
|
|
|
|
|
|
|
| |
Android Makefiles were upstreamed in http://trac.webkit.org/changeset/51858
and http://trac.webkit.org/changeset/51926
Change-Id: I00f30d4894c1c5064fb7bd9be27317c039dbb0ad
|
|
|
|
| |
Change-Id: Ib0e7e2f0fb4bee5a186610272edf3186f0986b43
|
|
|
|
|
|
|
| |
Remove our old orientation hacks as webkit now supports the orientation event.
Call down into webkit when the orientation changes to send the js event.
The change to Frame.cpp has been submited to bugs.webkit.org as issue 32321.
|
|
|
|
|
|
|
|
| |
This default was recently removed but is required to build on Mac.
See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=2cc706295f906df0bb49f51c9efe92a97c427464#patch1
Change-Id: Ice535a8205d14a0f3c3bfc4f32bc7d71132fbc2a
|
|\
| |
| |
| |
| | |
* changes:
Updates MainThreadAndroid.cpp to reflect version upstreamed to webkit.org.
|
| |
| |
| |
| |
| |
| | |
See https://bugs.webkit.org/show_bug.cgi?id=31807
Change-Id: I46e116c933475699cba499e3c27921e00ebab666
|
|/
|
|
|
|
|
|
|
| |
It appears that previosuly, a wrapper function was required to perform
the required type casting when passing a custom comparison function to
Android's std::sort. This is no longer required, so the wrapper can be
removed.
Change-Id: I30add3d6b41eca2558867755a34dda21a180166f
|
|\
| |
| |
| |
| | |
* changes:
Moves get_thread_msec from JavaScriptCore/wtf/CurrentTime to WebKit/android/Timecounter.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
WebKit/android/Timecounter.
This function is an Android addition to JavaScriptCore::WTF, but is not used anywhere in WebCore or JavaScriptCore.
Futhermore, JavaScriptCore/wtf/CurrentTime does not contain any other platform additions.
It's used primarily in WebKit/android/TimeCounter, so I've moved it there.
I've also updated the name to getThreadMsec to match WebKit style.
Change-Id: Ia4f91efd3caaafd1fb079afe6c493aefea402582
|
|/
|
|
|
|
|
|
| |
atomicIncrement/Decrement submitted to webkit.org.
See https://bugs.webkit.org/show_bug.cgi?id=31715
Change-Id: I7f9c0552bd9f3c51e7b869bd1c782ef72d28f1a4
|
|
|
|
| |
Change-Id: I344d69490b8050ff659e2b380c05fb9872d66cde
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
$ diff ~/WebKitTipOfTree/JavaScriptCore/wtf/Threading.cpp JavaScriptCore/wtf/Threading.cpp
$ diff ~/WebKitTipOfTree/JavaScriptCore/wtf/Threading.h JavaScriptCore/wtf/Threading.h
75a76,77
> #elif PLATFORM(ANDROID)
> #include "cutils/atomic.h"
234a237,241
> #elif PLATFORM(ANDROID)
>
> inline int atomicIncrement(int volatile* addend) { return android_atomic_inc(addend); }
> inline int atomicDecrement(int volatile* addend) { return android_atomic_dec(addend); }
>
Change-Id: Ie4835ff88aae608b7a1844be1b422d105b327528
|
|
|
|
|
|
|
|
|
| |
See https://bugs.webkit.org/show_bug.cgi?id=31671
Note that we only need to undef a feature enable flag when we are overwriting a default value previosuly set
in Platform.h. Also, we now rely on the default value for ENABLE_DATABASE.
Change-Id: I26ca5ef5402609ead880bdd1ce05cdb3646c1bbc
|
|
|
|
|
|
| |
webkit.org.
Change-Id: I873491c433058c5f3bc9d00f40e80813f831f736
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
webkit.org.
Both the JSC and V8 builds use Android.mk, WebCore/Android.mk and WebCore/Android.derived.mk.
The JSC build also uses WebCore/Android.jscbindings.mk and WebCore/Android.derived.jscbindings.mk.
The V8 build also uses V8Bindings/V8Binding.derived.mk.
Change details ...
Android.mk - Added content from both Android.jsc.mk and Android.v8.mk and removed these files.
Added ifdefs to switch between two builds.
WebCore/Android.mk - Moved JSC bindings code to WebCore/Android.jscbindings.mk.
This file is now functionally identical to WebCore/Android.v8.mk, which was removed.
WebCore/Android.derived.mk - Moved JSC bindings code to WebCore/Android.derived.jscbindings.mk.
This file is now functionally identical to WebCore/Android.v8.derived.mk, which was removed.
Also updates copyright dates, as per WebKit requirements.
Change-Id: I92377b60f6f63c57283c316a2c7c2c64a13dc7de
|
|
|
| |
as http://b/issue?id=2183371 is finally fixed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
files not yet upstreamed to webkit.org.
WebKit requires either a BSD-style or LGPL 2.1 license for all code.
We use a BSD-style 2-clause license for Android-specific files that will be upstreamed to webkit.org.
- For most files, I've fixed the names of copyright holders in the license text to 'THE COPYRIGHT HOLDERS'
and cleaned up formatting in the existing BSD-style license.
- For Makefiles and the following files in WebCore/platform/graphics/android/, I've changed from an
Apache 2.0 license to the BSD-style license.
- WebCore/platform/graphics/android/BitmapAllocatorAndroid.cpp
- WebCore/platform/graphics/android/BitmapAllocatorAndroid.h
- WebCore/platform/graphics/android/SharedBufferStream.cpp
- WebCore/platform/graphics/android/SharedBufferStream.h
- For the following files, I've changed from an LGPL licese to the BSD-style license.
- WebCore/platform/graphics/android/FontPlatformData.h
- WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp
- WebCore/plugins/android/PluginDataAndroid.cpp
Change-Id: Ic4c3e5610afc58637b7a9b81b1d0d1f17f4f4cb1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Content from WebCorePrefixAndroid.h has been moved to WebCorePrefix.h and the Android Makefiles modified to use that file.
- Enabler flags have been moved to WebCore/config.h.
- flex_XXX_T types are defined in WebCore/css/maketokenizer
- Most system includes are alreay present in WebCorePrefix.h
- Some includes have been moved directly to the source files that require them.
- The following includes seem not to be required so have been dropped.
- #include <limits.h>
- #include <math.h>
- #include <stdint.h>
- #include <unistd.h>
Change-Id: I8eba4d0a606463503554955e113d57bdf76a7136
|
|
|
|
|
|
|
|
|
| |
This define was added to Android and later upstreamed to webkit.org at a slightly different location.
The latest WebKit merge caused both defines to be used.
See https://bugs.webkit.org/show_bug.cgi?id=30713
Change-Id: Ib68ceddb57868903661a1d2e3fedf9e092222091
|
|
|
|
|
|
|
| |
Note that FrameLoader::gotoAnchor has been moved to FramveView::gotoAnchor.
See http://trac.webkit.org/changeset/49608
Change-Id: Ic2a87bb0c0f91d371508578ddccf200967524a77
|
|
|
|
| |
Change-Id: I1a9e1dc4ed654b69174ad52a4f031a07240f37b0
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
crashes.
Merge commit '5469794fd9ad86cd03ba4cf7ef0bc82329362f39' into eclair-mr2
* commit '5469794fd9ad86cd03ba4cf7ef0bc82329362f39':
Avoid constructing the MutexLocker class to avoid
|
| |
| |
| | |
two mystery crashes.
|
| |
| |
| |
| |
| | |
causes more crashes. Revert it.
Revert https://android-git.corp.google.com/g/30606
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
some reason, it missed define WTF_USE_LOCKFREE_THREADSAFESHARED.
So we are using mutexlocker instead of refcount inc/dec.
Even mutex version should work, but it is not exercised
by win/darwin/gcc. Changing to use refcount version fixed
the crash seen in picasaweb.
Fix http://b/issue?id=2183371
Maybe fix http://b/issue?id=2165237. But I can't verify
as I can't reproduce it even before my change.
|
| |
| |
| | |
instead of void.
|
| |
| |
| |
| | |
Split libwebcore.a into libwebcore.a and libjs.a and then link them together.
|
| |
| |
| |
| |
| |
| |
| | |
We disable INSPECTOR - See http://trac.webkit.org/changeset/48430
We disable EVENT_SOURCE - see http://trac.webkit.org/changeset/47323
Change-Id: Iab25b3bb56582d9df1e693ed7158338e953677b7
|
| |
| |
| |
| | |
Change-Id: I9e0ffbe9b9b824399653da038093874e315ccd6a
|
| |
| |
| |
| | |
Change-Id: I8968561bc1bfd72b8923b7118d3728579c6dbcc7
|
|/
|
|
| |
Change-Id: Ic5a299518e5ca51b6833e4c236b97c7ea7dbe4a7
|
| |
|
| |
|
|
|
|
| |
This reverts commit d227fc870c7a697500a3c900c31baf05fb9a8524.
|
|
|
|
| |
This reverts commit 62983d46fda85f4d912c221e5cbc91a05d4edebf.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This will attach and detach the native thread to and from the java vm. I believe
this was the cause of a crash in donut. Sometimes, the IconDatabase needs to
notify the WebCore thread of a new Icon. These callbacks post messages through
the vm which causes AttachCurrentThread to be called but no matching
DetachCurrentThread when the thread exits.
Bug:1977972
|
| |
| |
| |
| |
| | |
Also, delete threadData if pthread_create fails. This is a rare occurance but we
don't want to leak memory just in case.
|
| |
| |
| |
| | |
Added JSC namespace for the TimeCounter.
|