| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I120600c8aa2f52cb5b0c69181477863c61f87a11
|
|
|
|
| |
Change-Id: Ib661abb595522f50ea406f72d3a0ce17f7193c82
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
JNIBridge.cpp is now used by both JSC and V8
This removes the last file from V8Bindings
$ diff WebCore/bridge/jni/JNIBridge.cpp V8Binding/jni/jni_runtime.cpp
2d1
< * Copyright (C) 2003, 2004, 2005, 2007, 2009 Apple Inc. All rights reserved.
28c27
< #include "JNIBridge.h"
---
> #include "jni_runtime.h"
30,32c29
< #if ENABLE(MAC_JAVA_BRIDGE)
<
< #include "CString.h"
---
> #include "JNIUtility.h"
35,45d31
<
< #ifdef NDEBUG
< #define JS_LOG(formatAndArgs...) ((void)0)
< #else
< #define JS_LOG(formatAndArgs...) { \
< fprintf(stderr, "%s:%d -- %s: ", __FILE__, __LINE__, __FUNCTION__); \
< fprintf(stderr, formatAndArgs); \
< }
< #endif
<
< using namespace JSC;
49d34
<
106,109d90
< #if USE(JSC)
< ASSERT(JSLock::lockCount() > 0);
< #endif
<
127,130d107
< #if USE(JSC)
< JSLock lock(SilenceAssertionsOnly);
< #endif
<
177,178d153
<
< #endif // ENABLE(MAC_JAVA_BRIDGE)
Change-Id: I3f0aabc5af56083aa950eca1609b2fe9b46726c9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
JNIBridge.h is now used by both JSC and V8
$ diff WebCore/bridge/jni/JNIBridge.h V8Binding/jni/jni_runtime.h
2d1
< * Copyright (C) 2003, 2004, 2005, 2007, 2009, 2010 Apple Inc. All rights reserved.
27,30c26,27
< #ifndef JNIBridge_h
< #define JNIBridge_h
<
< #if ENABLE(MAC_JAVA_BRIDGE)
---
> #ifndef jni_runtime_h
> #define jni_runtime_h
31a29
> #include "Bridge.h"
34,35c32,33
< #if USE(JSC)
< #include "JavaStringJSC.h"
---
> #if USE(V8)
> #include "JavaStringV8.h"
64,66d61
< #if USE(JSC)
< operator UString() const { return m_impl.uString(); }
< #endif
118,120c113
< #endif // ENABLE(MAC_JAVA_BRIDGE)
<
< #endif // JNIBridge_h
---
> #endif // jni_runtime_h
Change-Id: I59c7dafb295aa7c81e79283333266c3f9f5a9a52
|
|
|
|
|
| |
- adding WebCore/svg to the include path. This should not be guarded by #if ENABLE(SVG) in the makefiles.
- calling PluginView::getNPObject from PlatformBridge only when V8 is used.
|
|
|
|
| |
Change-Id: Icf99c709929ef14551de61e55780b97767575f01
|
|
|
|
|
|
|
| |
This is the V8 equivalent of http://trac.webkit.org/changeset/53412
It is being upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=33951
Change-Id: Id22d59b7a5e0be72d594d454bb41c58760d824ff
|
|
|
|
|
|
|
| |
This is the V8 equivalent of http://trac.webkit.org/changeset/53443
It is being upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=33898
Change-Id: I27dcf73cc7d8c0303243ea632361f2210819cbc4
|
|\
| |
| |
| | |
Change-Id: I8efc2ef2e8e51d823b7ec8c26bd90ce934f60900
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This avoids problems with collisions between WebCore/platform/text/StringBuilder.h and the new
JavaScriptCore/runtime/StringBuilder.h. The latter is added in WebKit change 52075, so will be
picked up in the next WebKit merge. We may also cherry-pick the changes which add this file
as they are relevant to upstreaming in WebCore/bridge.
In WebCore, we want '#include "StringBuilder.h"' to pick up the WebCore StringBuilder.h. However, when
building WebCore for JSC, we need JavaScriptCore/runtime on the include path so that the JSC headers
are picked up correctly. This change puts JavaScriptCore/runtime and other bindings includes after the
WebCore and other general includes, so that the WebCore StringBuilder.h is picked up.
This was upstreamed to webkit.org in http://trac.webkit.org/changeset/53254
Change-Id: I1b20b6d457f1d5d1f08764ff0b537058e0742835
|
| |
| |
| |
| | |
Change-Id: I9cea43f9e1f98cefa654c5661dc7faa7f939068d
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
Makefiles.
Merge commit 'fadf964da75468c2c995316cea8d82d32705a7e1'
* commit 'fadf964da75468c2c995316cea8d82d32705a7e1':
Merge webkit.org at r51976 : Fix conflicts in Makefiles.
|
| |
| |
| |
| |
| |
| |
| | |
Android Makefiles were upstreamed in http://trac.webkit.org/changeset/51858
and http://trac.webkit.org/changeset/51926
Change-Id: I00f30d4894c1c5064fb7bd9be27317c039dbb0ad
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'b880d713c04257ca40abfef97c300afdead423b8'
* commit 'b880d713c04257ca40abfef97c300afdead423b8':
Merge webkit.org at r51976 : Initial merge by git.
|
| |
| |
| |
| | |
Change-Id: Ib0e7e2f0fb4bee5a186610272edf3186f0986b43
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
building for arm
Merge commit '2e3731e00eec43c6c5afe779b79a9b72f9cb906c'
* commit '2e3731e00eec43c6c5afe779b79a9b72f9cb906c':
fix sim build: only issue -Wno-psabi if we building for arm
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
GCC 4.4
Merge commit '62fa8660c86eb823f9a46a9b05f62b0cc97bf558'
* commit '62fa8660c86eb823f9a46a9b05f62b0cc97bf558':
remove 100s of warnings about va_list mangling in GCC 4.4
|
| |
| |
| |
| |
| |
| |
| |
| | |
On branch warning
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: Android.mk
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '8a6305a32ec9a1592ea82045a01b270319d996b7'
* commit '8a6305a32ec9a1592ea82045a01b270319d996b7':
Merges V8 version of jni_utility with JSC version at WebCore/bridge/jni.
|
| |
| |
| |
| | |
Change-Id: I640d5ca9e38d78fd662550fa389cf8b463dc78b6
|
|\ \
| |/
| |
| | |
Change-Id: I472802c99be3510e346350f66a386643caba6410
|
| |
| |
| |
| |
| |
| |
| |
| | |
other code that has not been upstreamed yet (i.e. WebKit/android).
This does NOT need to be upstreamed to WebKit (yet).
Change-Id: I821fb90c3e463ef5fc4fa001ee5b8d967f9f7e48
|
| |
| |
| |
| |
| |
| |
| | |
This fixes the simulator build and allows us to get closer to sharing code with
chromium.
STLPort was copied with minor edits from the Android port of gears.
|
| |
| |
| |
| | |
This reverts commit afa94bcc85b11e170818a896b14f38521d11d333.
|
|/ |
|
|
|
|
| |
Change-Id: I685fd143279f92570a1844c847478e0cbe038e1e
|
|
|
|
|
|
|
|
| |
WebCoreJniOnLoad.cpp now depends on some generated headers so it can occassional
fail to build if make has many jobs. Add LOCAL_ADDITIONAL_DEPENDENCIES to
prevent build breakage.
This was pulled from the old perf/Android.mk file.
|
|
|
|
|
|
|
| |
This adds about 8k of code to the library but it allows the benchmark to run
without modifying the library. This makes it ideal when testing libwebcore.so
since it is the exact same as our running library. It also makes it possible to
always build the benchmark app.
|
|
|
|
|
|
|
|
| |
JSC Makefiles.
Also move binding include paths to Android.*bindings.mk and clean up some comments.
Change-Id: I6d1475cdfcc330ec3e271cab1c3aa25a414f0448
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
This change requires clean libwebcore, but I saw there are three clean libwebcore_intermediates steps in build/cleanspec.mk already. Do I need to add another one?
|
|
|
|
| |
Command line start with # instead of //
|
| |
|
|
|
|
| |
Prepare for the buildbot for both JS engines.
|
|
|
|
| |
Not exact match of JSC build because some Makefiles have to be splitted into two. I use Android.v8...mk.
|
|
|
|
|
|
| |
It is easier to work with merge tool. Will add a separate set of Makefiles for V8.
Add Android.v8.mk as a reference.
|
| |
|
|
|
|
| |
Change how we set plugin path as we can support more than one path now.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Build libwebcore as a static library first. Then build it as a shared library
using the jni entry point as the single source file. This strips uneeded code
out of the final library.
Have webcore_test link against the static library so that the symbols are all
visible. Update webcore_test to link against the new webkit drop as well.
Rearrange the main makefile to create WEBKIT_* variables that a sub-makefile
like webcore_test can use to define includes, cflags, and libraries. Manually
add a dependency on the generated webkit source files.
Verified that svg and v8 work as well as the simulator.
|
|
|
|
|
|
| |
Because some SVG anomation source files depend on generic sort functions,
we cannot compile them. Add as ENABLE_SVG_ANIMATION build flag to disable
SVG Animation.
|
|
|
|
|
|
|
|
| |
turn on SVG_FONTS, SVG_AS_IMAGE, SVG_FILTERS, SVG_FOREIGN_OBJECT, SVG_USE
getWebCore may return null for SVG ScrollView
add FontPlatformData.size()
add more stl sort interfaces
|
|
|
|
| |
browser.
|
|\
| |
| |
| |
| |
| |
| | |
The CL imports V8 source from trunk, and V8 binding code from Chromium,
and small changes from future WebKit revision.
To enable V8, add ENABLE_V8 := true in buildspec.mk.
|
| |
| |
| |
| |
| | |
To enable V8, set ENABLE_V8 := true in the buildspec.mk in the home directory.
Also fixed one SVG build issue in JSC build case.
|
| |
| |
| |
| | |
To switch between jsc and v8, one needs to edit webkit/Android.mk to change the value of JS_ENGINE, make sure no white space after 'jsc' or 'v8'.
|
| | |
|