| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
Skia is used by Chromium, which defines PLATFORM(SKIA).
Android also uses Skia, but currently defines PLATFORM(SGL) to account for
platform-specific differences between Android and Chromum.
We now use PLATFORM(SKIA) on Android and remove PLATFORM(SGL).
Platform-specific differences are achieved with PLATFORM(ANDROID) guards.
This reduces our diff with webkit.org.
Change-Id: Ibf920b1929e7c3cdabb025ae61ceae3df67258bb
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
on JavaSharedClient directly.
AndroidThreading is defined in WTF and implemented in WebKit. This is the
pattern used by Chromium, and avoids the current layering violation due to WTF
calling into WebKit.
This is being upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=32651
Change-Id: Ic58f0270ed134d9f897075cca692718d1c2e9369
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
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
|
|
|
|
|
|
| |
See https://bugs.webkit.org/show_bug.cgi?id=31807
Change-Id: I46e116c933475699cba499e3c27921e00ebab666
|
|\
| |
| |
| |
| | |
* 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
|
|
|
| |
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.
|
| |
| |
| |
| | |
Change-Id: I9e0ffbe9b9b824399653da038093874e315ccd6a
|
|/
|
|
| |
Change-Id: I8968561bc1bfd72b8923b7118d3728579c6dbcc7
|
|
|
|
| |
This reverts commit d227fc870c7a697500a3c900c31baf05fb9a8524.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Also, delete threadData if pthread_create fails. This is a rare occurance but we
don't want to leak memory just in case.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Introduce (short lived I hope) platform SKIA_SGL, signifying that this code
is used by both platforms (SKIA) and (SGL). This change is meant to be the
foundation for more significant sharing later (e.g. TransformationMatrix,
Pattern, Gradient, etc.)
|
|/
|
|
| |
Picked up several new files from Chrome port.
|
|
|
|
|
|
| |
https://bugs.webkit.org/show_bug.cgi?id=25091
Automated import of CL 146302
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rendering of the textfield, yet we retain the benefits of having the TextDialog.
Frame.cpp:
Removed a line that should not be there anyway. Somehow when merging in Apple's ENABLE(TEXT_CARET) changes we left in a line that disables the blinking Cursor.
Platform.h:
Let WebKit draw the cursor.
RenderThemeAndroid.cpp:
Make the active selection color (the color of a selection in an active <textfield> or <textarea>) visible, and match the selection color shown in other places in Android.
WebViewCore.cpp:
Make the focused node's document's focus controller active. This allows webkit to draw the cursor.
TextDialog.java:
Set WillNotDraw to true, and remove our background, so that the TextDialog is completely invisible. Note that I have not changed its visibility to View.VISIBLE, which would have other undesired effects (would not accept touch events, for example). Since we are not drawing, remove onPreDraw, which is no longer necessary. In onSelectionChanged, pass a message to webkit telling it that the selection has changed. It is important that the two threads always agree (albeit webkit may be behind) because the user will now only see the selection drawn by webkit. Remove some old flawed code whose purpose was to keep the selection up to date and do not send key events for arrow keys (which would mess up the selection that was correct thanks to onSelectionChanged).
BUG=1781070,1712752,916193,1411370,1160999,1775425,1354814
Automated import of CL 146153
|
|
|
|
| |
Automated import of CL 145796
|
|
|
|
|
|
|
|
|
| |
Our execute bit is out of sync with webkit.org, so make
them the same. This helps keep the diff tool from
getting confused.
BUG=1553405
Automated import of CL 143526
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|