[WEEX-393] Add license for IPC

Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/2d93c1c5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/2d93c1c5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/2d93c1c5

Branch: refs/heads/master
Commit: 2d93c1c550632704770e4fa4bcd07e3dc98da20f
Parents: 2a75735
Author: miomin <[email protected]>
Authored: Tue May 22 16:05:54 2018 +0800
Committer: miomin <[email protected]>
Committed: Tue May 22 16:05:54 2018 +0800

----------------------------------------------------------------------
 android/sdk/build.gradle                        |  2 +-
 weex_core/Source/IPC/Buffering/IPCBuffer.h      | 22 +++++++++++
 weex_core/Source/IPC/IPCArguments.h             | 22 +++++++++++
 weex_core/Source/IPC/IPCByteArray.h             | 22 +++++++++++
 weex_core/Source/IPC/IPCCheck.cpp               | 22 +++++++++++
 weex_core/Source/IPC/IPCCheck.h                 | 22 +++++++++++
 weex_core/Source/IPC/IPCCommunicator.cpp        | 23 ++++++++++-
 weex_core/Source/IPC/IPCCommunicator.h          | 22 +++++++++++
 weex_core/Source/IPC/IPCException.cpp           | 22 +++++++++++
 weex_core/Source/IPC/IPCException.h             | 22 +++++++++++
 weex_core/Source/IPC/IPCFutexPageQueue.cpp      | 22 +++++++++++
 weex_core/Source/IPC/IPCFutexPageQueue.h        | 22 +++++++++++
 weex_core/Source/IPC/IPCHandler.cpp             | 22 +++++++++++
 weex_core/Source/IPC/IPCHandler.h               | 22 +++++++++++
 weex_core/Source/IPC/IPCListener.cpp            | 22 +++++++++++
 weex_core/Source/IPC/IPCListener.h              | 22 +++++++++++
 weex_core/Source/IPC/IPCLog.h                   | 22 +++++++++++
 weex_core/Source/IPC/IPCMessageJS.h             | 22 +++++++++++
 weex_core/Source/IPC/IPCResult.cpp              | 23 ++++++++++-
 weex_core/Source/IPC/IPCResult.h                | 22 +++++++++++
 weex_core/Source/IPC/IPCSender.cpp              | 22 +++++++++++
 weex_core/Source/IPC/IPCSender.h                | 22 +++++++++++
 weex_core/Source/IPC/IPCString.h                | 22 +++++++++++
 weex_core/Source/IPC/IPCType.h                  | 22 +++++++++++
 .../Source/IPC/Serializing/IPCSerializer.cpp    | 22 +++++++++++
 .../Source/IPC/Serializing/IPCSerializer.h      | 22 +++++++++++
 weex_core/Source/IPC/ashmem.h                   | 27 +++++++++----
 weex_core/Source/android/base/base64/base64.cpp | 19 ++++++++++
 weex_core/Source/android/base/base64/base64.h   | 20 ++++++++++
 .../android/base/base64/modp_base64/modp_b64.cc | 40 ++++----------------
 .../android/base/base64/modp_base64/modp_b64.h  |  3 --
 .../base/base64/modp_base64/modp_b64_data.h     | 22 +++++++++--
 .../bridge/impl/jsfunction_impl_android.cpp     |  3 --
 .../bridge/impl/jsfunction_impl_android.h       |  3 --
 .../native_render_object_utils_impl_android.cpp |  3 --
 .../native_render_object_utils_impl_android.h   |  3 --
 .../Source/android/jniprebuild/jni_load.cc      | 19 ++++++++++
 37 files changed, 656 insertions(+), 60 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/android/sdk/build.gradle
----------------------------------------------------------------------
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index 6fd1ee8..833597e 100755
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -210,7 +210,7 @@ if(file('../license/LICENSE').exists()){
     }
 
     task weex_core_license(type: 
com.hierynomus.gradle.license.tasks.LicenseFormat){
-        source = 
fileTree(dir:"../../weex_core").include(['**/*.h','**/*.cpp']).
+        source = fileTree(dir:"../../weex_core").include(['**/*.h','**/*.cpp', 
'**/*.cc']).
                 exclude(['Source/rapidjson/**/*.h','Source/rapidjson/**/*.cpp',
                          
'Source/android/base/base64/**/*.h','Source/android/base/base64/**/*.cpp',
                          'Source/android/jniprebuild/jniheader/*.h',

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/Buffering/IPCBuffer.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/Buffering/IPCBuffer.h 
b/weex_core/Source/IPC/Buffering/IPCBuffer.h
index 29b8cc9..01ab27f 100644
--- a/weex_core/Source/IPC/Buffering/IPCBuffer.h
+++ b/weex_core/Source/IPC/Buffering/IPCBuffer.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCBUFFER_H
 #define IPCBUFFER_H
 #include <stddef.h>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCArguments.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCArguments.h 
b/weex_core/Source/IPC/IPCArguments.h
index 4c1f9c3..d25abea 100644
--- a/weex_core/Source/IPC/IPCArguments.h
+++ b/weex_core/Source/IPC/IPCArguments.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCARGUMENTS_H
 #define IPCARGUMENTS_H
 #include "IPCType.h"

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCByteArray.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCByteArray.h 
b/weex_core/Source/IPC/IPCByteArray.h
index 77eaf6f..e38b403 100644
--- a/weex_core/Source/IPC/IPCByteArray.h
+++ b/weex_core/Source/IPC/IPCByteArray.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCBYTEARRAY_H
 #define IPCBYTEARRAY_H
 #include <stddef.h>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCCheck.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCCheck.cpp 
b/weex_core/Source/IPC/IPCCheck.cpp
index bb449e4..d5d54f1 100644
--- a/weex_core/Source/IPC/IPCCheck.cpp
+++ b/weex_core/Source/IPC/IPCCheck.cpp
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #if !defined(NDEBUG)
 #include "IPCCheck.h"
 #include <android/log.h>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCCheck.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCCheck.h b/weex_core/Source/IPC/IPCCheck.h
index f3bc54a..03d558c 100644
--- a/weex_core/Source/IPC/IPCCheck.h
+++ b/weex_core/Source/IPC/IPCCheck.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCCHECK_H
 #define IPCCHECK_H
 #include <stdlib.h>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCCommunicator.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCCommunicator.cpp 
b/weex_core/Source/IPC/IPCCommunicator.cpp
index dada499..ffba0fa 100644
--- a/weex_core/Source/IPC/IPCCommunicator.cpp
+++ b/weex_core/Source/IPC/IPCCommunicator.cpp
@@ -1,5 +1,26 @@
-#include "IPCCommunicator.h"
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
 
+#include "IPCCommunicator.h"
 #include "Buffering/IPCBuffer.h"
 #include "IPCArguments.h"
 #include "IPCByteArray.h"

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCCommunicator.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCCommunicator.h 
b/weex_core/Source/IPC/IPCCommunicator.h
index 69e63b2..9468137 100644
--- a/weex_core/Source/IPC/IPCCommunicator.h
+++ b/weex_core/Source/IPC/IPCCommunicator.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCCOMMUNICATOR_H
 #define IPCCOMMUNICATOR_H
 #include <memory>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCException.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCException.cpp 
b/weex_core/Source/IPC/IPCException.cpp
index a3441b5..22b5790 100644
--- a/weex_core/Source/IPC/IPCException.cpp
+++ b/weex_core/Source/IPC/IPCException.cpp
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #include "IPCException.h"
 #include <stdarg.h>
 #include <string>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCException.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCException.h 
b/weex_core/Source/IPC/IPCException.h
index 8dc633d..a53312e 100644
--- a/weex_core/Source/IPC/IPCException.h
+++ b/weex_core/Source/IPC/IPCException.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCEXCEPTION_H
 #define IPCEXCEPTION_H
 #include <memory>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCFutexPageQueue.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCFutexPageQueue.cpp 
b/weex_core/Source/IPC/IPCFutexPageQueue.cpp
index f2423fc..aea941c 100644
--- a/weex_core/Source/IPC/IPCFutexPageQueue.cpp
+++ b/weex_core/Source/IPC/IPCFutexPageQueue.cpp
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #include "IPCFutexPageQueue.h"
 #include "IPCCheck.h"
 #include "IPCException.h"

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCFutexPageQueue.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCFutexPageQueue.h 
b/weex_core/Source/IPC/IPCFutexPageQueue.h
index da474eb..e764aca 100644
--- a/weex_core/Source/IPC/IPCFutexPageQueue.h
+++ b/weex_core/Source/IPC/IPCFutexPageQueue.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCFUTEXPAGEQUEUE_H
 #define IPCFUTEXPAGEQUEUE_H
 

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCHandler.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCHandler.cpp 
b/weex_core/Source/IPC/IPCHandler.cpp
index 6c11b06..27f90d3 100644
--- a/weex_core/Source/IPC/IPCHandler.cpp
+++ b/weex_core/Source/IPC/IPCHandler.cpp
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #include "IPCHandler.h"
 #include "IPCLog.h"
 #include "IPCResult.h"

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCHandler.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCHandler.h 
b/weex_core/Source/IPC/IPCHandler.h
index a3fbebe..8fab6b1 100644
--- a/weex_core/Source/IPC/IPCHandler.h
+++ b/weex_core/Source/IPC/IPCHandler.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCHANDLER_H
 #define IPCHANDLER_H
 #include <functional>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCListener.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCListener.cpp 
b/weex_core/Source/IPC/IPCListener.cpp
index 6804591..134d3cf 100644
--- a/weex_core/Source/IPC/IPCListener.cpp
+++ b/weex_core/Source/IPC/IPCListener.cpp
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #include "IPCListener.h"
 #include "Buffering/IPCBuffer.h"
 #include "IPCArguments.h"

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCListener.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCListener.h 
b/weex_core/Source/IPC/IPCListener.h
index 4ae3f77..de5f1a4 100644
--- a/weex_core/Source/IPC/IPCListener.h
+++ b/weex_core/Source/IPC/IPCListener.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCLISTENER_H
 #define IPCLISTENER_H
 #include <memory>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCLog.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCLog.h b/weex_core/Source/IPC/IPCLog.h
index 2707257..94b0b5a 100644
--- a/weex_core/Source/IPC/IPCLog.h
+++ b/weex_core/Source/IPC/IPCLog.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCLOG_H
 #define IPCLOG_H
 #include <android/log.h>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCMessageJS.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCMessageJS.h 
b/weex_core/Source/IPC/IPCMessageJS.h
index 4eb884f..61c1de5 100644
--- a/weex_core/Source/IPC/IPCMessageJS.h
+++ b/weex_core/Source/IPC/IPCMessageJS.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCMESSAGEJS_H
 #define IPCMESSAGEJS_H
 

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCResult.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCResult.cpp 
b/weex_core/Source/IPC/IPCResult.cpp
index b2d6106..1348bdc 100644
--- a/weex_core/Source/IPC/IPCResult.cpp
+++ b/weex_core/Source/IPC/IPCResult.cpp
@@ -1,5 +1,26 @@
-#include "IPCResult.h"
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
 
+#include "IPCResult.h"
 #include <cstdlib>
 
 namespace {

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCResult.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCResult.h b/weex_core/Source/IPC/IPCResult.h
index d261450..0452cfa 100644
--- a/weex_core/Source/IPC/IPCResult.h
+++ b/weex_core/Source/IPC/IPCResult.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCRESULT_H
 #define IPCRESULT_H
 #include "IPCType.h"

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCSender.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCSender.cpp 
b/weex_core/Source/IPC/IPCSender.cpp
index 24b47e2..58ca62d 100644
--- a/weex_core/Source/IPC/IPCSender.cpp
+++ b/weex_core/Source/IPC/IPCSender.cpp
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #include "IPCSender.h"
 #include "Buffering/IPCBuffer.h"
 #include "IPCArguments.h"

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCSender.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCSender.h b/weex_core/Source/IPC/IPCSender.h
index 8df1ad4..3c70aec 100644
--- a/weex_core/Source/IPC/IPCSender.h
+++ b/weex_core/Source/IPC/IPCSender.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCSENDER_H
 #define IPCSENDER_H
 #include <memory>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCString.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCString.h b/weex_core/Source/IPC/IPCString.h
index eed08c2..f103827 100644
--- a/weex_core/Source/IPC/IPCString.h
+++ b/weex_core/Source/IPC/IPCString.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCSTRING_H
 #define IPCSTRING_H
 struct IPCString {

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/IPCType.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/IPCType.h b/weex_core/Source/IPC/IPCType.h
index 9599d58..c0ad949 100644
--- a/weex_core/Source/IPC/IPCType.h
+++ b/weex_core/Source/IPC/IPCType.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCTYPE_H
 #define IPCTYPE_H
 #include <stdint.h>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/Serializing/IPCSerializer.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/Serializing/IPCSerializer.cpp 
b/weex_core/Source/IPC/Serializing/IPCSerializer.cpp
index 5a97b32..63b7a8c 100644
--- a/weex_core/Source/IPC/Serializing/IPCSerializer.cpp
+++ b/weex_core/Source/IPC/Serializing/IPCSerializer.cpp
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #include "IPCSerializer.h"
 #include "../Buffering/IPCBuffer.h"
 #include "../IPCByteArray.h"

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/Serializing/IPCSerializer.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/Serializing/IPCSerializer.h 
b/weex_core/Source/IPC/Serializing/IPCSerializer.h
index 4c56d86..a3d8771 100644
--- a/weex_core/Source/IPC/Serializing/IPCSerializer.h
+++ b/weex_core/Source/IPC/Serializing/IPCSerializer.h
@@ -1,3 +1,25 @@
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
+ */
+
 #ifndef IPCSERIALIZER_H
 #define IPCSERIALIZER_H
 #include <memory>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/IPC/ashmem.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/IPC/ashmem.h b/weex_core/Source/IPC/ashmem.h
index a79ea67..9527705 100644
--- a/weex_core/Source/IPC/ashmem.h
+++ b/weex_core/Source/IPC/ashmem.h
@@ -1,10 +1,23 @@
-/* third_party/ashmem/ashmem.h
- **
- ** Copyright 2008 The Android Open Source Project
- **
- ** This file is dual licensed.  It may be redistributed and/or modified
- ** under the terms of the Apache 2.0 License OR version 2 of the GNU
- ** General Public License.
+/*
+ * Copyright (C) 2008 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Implementation of the user-space ashmem API for devices, which have our
+ * ashmem-enabled kernel. See ashmem-sim.c for the "fake" tmp-based version,
+ * used by the simulator.
  */
 
 #ifndef _THIRD_PARTY_ASHMEM_H

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/android/base/base64/base64.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/android/base/base64/base64.cpp 
b/weex_core/Source/android/base/base64/base64.cpp
index 6972564..c70d2c4 100644
--- a/weex_core/Source/android/base/base64/base64.cpp
+++ b/weex_core/Source/android/base/base64/base64.cpp
@@ -1,3 +1,22 @@
+/**
+ * \file
+ * <PRE>
+ * High performance base64 encoder / decoder
+ * Version 1.3 -- 17-Mar-2006
+ *
+ * Copyright &copy; 2005, 2006, Nick Galbreath -- nickg [at] modp [dot] com
+ * All rights reserved.
+ *
+ * http://modp.com/release/base64
+ *
+ * Released under bsd license.  See modp_b64.c for details.
+ * </pre>
+ *
+ * The default implementation is the standard b64 encoding with padding.
+ * It's easy to change this to use "URL safe" characters and to remove
+ * padding.  See the modp_b64.c source code for details.
+ *
+ */
 
 #include "./base64.h"
 #include <string.h>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/android/base/base64/base64.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/android/base/base64/base64.h 
b/weex_core/Source/android/base/base64/base64.h
index d6ae70b..1380dd1 100644
--- a/weex_core/Source/android/base/base64/base64.h
+++ b/weex_core/Source/android/base/base64/base64.h
@@ -1,3 +1,23 @@
+/**
+ * \file
+ * <PRE>
+ * High performance base64 encoder / decoder
+ * Version 1.3 -- 17-Mar-2006
+ *
+ * Copyright &copy; 2005, 2006, Nick Galbreath -- nickg [at] modp [dot] com
+ * All rights reserved.
+ *
+ * http://modp.com/release/base64
+ *
+ * Released under bsd license.  See modp_b64.c for details.
+ * </pre>
+ *
+ * The default implementation is the standard b64 encoding with padding.
+ * It's easy to change this to use "URL safe" characters and to remove
+ * padding.  See the modp_b64.c source code for details.
+ *
+ */
+
 #include "./modp_base64/modp_b64.h"
 
 // Encodes the input string in base64.  Returns true if successful and false

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/android/base/base64/modp_base64/modp_b64.cc
----------------------------------------------------------------------
diff --git a/weex_core/Source/android/base/base64/modp_base64/modp_b64.cc 
b/weex_core/Source/android/base/base64/modp_base64/modp_b64.cc
index f230983..03cf6ea 100644
--- a/weex_core/Source/android/base/base64/modp_base64/modp_b64.cc
+++ b/weex_core/Source/android/base/base64/modp_base64/modp_b64.cc
@@ -1,45 +1,21 @@
-/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */
-/* vi: set expandtab shiftwidth=4 tabstop=4: */
 /**
  * \file
  * <PRE>
- * MODP_B64 - High performance base64 encoder/decoder
+ * High performance base64 encoder / decoder
  * Version 1.3 -- 17-Mar-2006
- * http://modp.com/release/base64
  *
- * Copyright &copy; 2005, 2006  Nick Galbreath -- nickg [at] modp [dot] com
+ * Copyright &copy; 2005, 2006, Nick Galbreath -- nickg [at] modp [dot] com
  * All rights reserved.
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- *   Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- *   Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
+ * http://modp.com/release/base64
  *
- *   Neither the name of the modp.com nor the names of its
- *   contributors may be used to endorse or promote products derived from
- *   this software without specific prior written permission.
+ * Released under bsd license.  See modp_b64.c for details.
+ * </pre>
  *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * The default implementation is the standard b64 encoding with padding.
+ * It's easy to change this to use "URL safe" characters and to remove
+ * padding.  See the modp_b64.c source code for details.
  *
- * This is the standard "new" BSD license:
- * http://www.opensource.org/licenses/bsd-license.php
- * </PRE>
  */
 
 /* public header */

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/android/base/base64/modp_base64/modp_b64.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/android/base/base64/modp_base64/modp_b64.h 
b/weex_core/Source/android/base/base64/modp_base64/modp_b64.h
index 1d18741..cde3c9d 100644
--- a/weex_core/Source/android/base/base64/modp_base64/modp_b64.h
+++ b/weex_core/Source/android/base/base64/modp_base64/modp_b64.h
@@ -1,6 +1,3 @@
-/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */
-/* vi: set expandtab shiftwidth=4 tabstop=4: */
-
 /**
  * \file
  * <PRE>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/android/base/base64/modp_base64/modp_b64_data.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/android/base/base64/modp_base64/modp_b64_data.h 
b/weex_core/Source/android/base/base64/modp_base64/modp_b64_data.h
index 434f692..339c59a 100644
--- a/weex_core/Source/android/base/base64/modp_base64/modp_b64_data.h
+++ b/weex_core/Source/android/base/base64/modp_base64/modp_b64_data.h
@@ -1,6 +1,22 @@
-// VC8 doesn't have stdint.h.  On the other hand, some compilers don't like
-// the below code, because basictypes.h itself includes stdint.h and the
-// typedefs below can cause conflicts.
+/**
+ * \file
+ * <PRE>
+ * High performance base64 encoder / decoder
+ * Version 1.3 -- 17-Mar-2006
+ *
+ * Copyright &copy; 2005, 2006, Nick Galbreath -- nickg [at] modp [dot] com
+ * All rights reserved.
+ *
+ * http://modp.com/release/base64
+ *
+ * Released under bsd license.  See modp_b64.c for details.
+ * </pre>
+ *
+ * The default implementation is the standard b64 encoding with padding.
+ * It's easy to change this to use "URL safe" characters and to remove
+ * padding.  See the modp_b64.c source code for details.
+ *
+ */
 typedef unsigned char uint8_t;
 typedef unsigned int uint32_t;
 

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/android/bridge/impl/jsfunction_impl_android.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/android/bridge/impl/jsfunction_impl_android.cpp 
b/weex_core/Source/android/bridge/impl/jsfunction_impl_android.cpp
index 453e99a..d81c144 100644
--- a/weex_core/Source/android/bridge/impl/jsfunction_impl_android.cpp
+++ b/weex_core/Source/android/bridge/impl/jsfunction_impl_android.cpp
@@ -16,9 +16,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-//
-// Created by Darin on 27/03/2018.
-//
 
 #include "jsfunction_impl_android.h"
 #include "../../base/string/string_utils.h"

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/android/bridge/impl/jsfunction_impl_android.h
----------------------------------------------------------------------
diff --git a/weex_core/Source/android/bridge/impl/jsfunction_impl_android.h 
b/weex_core/Source/android/bridge/impl/jsfunction_impl_android.h
index 0c2d8bc..d521aea 100644
--- a/weex_core/Source/android/bridge/impl/jsfunction_impl_android.h
+++ b/weex_core/Source/android/bridge/impl/jsfunction_impl_android.h
@@ -16,9 +16,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-//
-// Created by Darin on 27/03/2018.
-//
 
 #ifndef WEEX_PROJECT_WXJSFUNCTION_IMPL_ANDROID_H
 #define WEEX_PROJECT_WXJSFUNCTION_IMPL_ANDROID_H

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/android/bridge/impl/native_render_object_utils_impl_android.cpp
----------------------------------------------------------------------
diff --git 
a/weex_core/Source/android/bridge/impl/native_render_object_utils_impl_android.cpp
 
b/weex_core/Source/android/bridge/impl/native_render_object_utils_impl_android.cpp
index f56ee1f..42b903c 100644
--- 
a/weex_core/Source/android/bridge/impl/native_render_object_utils_impl_android.cpp
+++ 
b/weex_core/Source/android/bridge/impl/native_render_object_utils_impl_android.cpp
@@ -16,9 +16,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-//
-// Created by furture on 2018/5/4.
-//
 
 #include "native_render_object_utils_impl_android.h"
 #include <android/base/jni/android_jni.h>

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/android/bridge/impl/native_render_object_utils_impl_android.h
----------------------------------------------------------------------
diff --git 
a/weex_core/Source/android/bridge/impl/native_render_object_utils_impl_android.h
 
b/weex_core/Source/android/bridge/impl/native_render_object_utils_impl_android.h
index 4887659..1020902 100644
--- 
a/weex_core/Source/android/bridge/impl/native_render_object_utils_impl_android.h
+++ 
b/weex_core/Source/android/bridge/impl/native_render_object_utils_impl_android.h
@@ -16,9 +16,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-//
-// Created by furture on 2018/5/4.
-//
 
 #ifndef WEEX_PROJECT_NATIVE_RENDER_OBJECT_UTILS_IMPL_ANDROID_H
 #define WEEX_PROJECT_NATIVE_RENDER_OBJECT_UTILS_IMPL_ANDROID_H

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2d93c1c5/weex_core/Source/android/jniprebuild/jni_load.cc
----------------------------------------------------------------------
diff --git a/weex_core/Source/android/jniprebuild/jni_load.cc 
b/weex_core/Source/android/jniprebuild/jni_load.cc
index 365ebbd..0c79ba6 100644
--- a/weex_core/Source/android/jniprebuild/jni_load.cc
+++ b/weex_core/Source/android/jniprebuild/jni_load.cc
@@ -1,3 +1,22 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #include <jni.h>
 #include <android/bridge/impl/bridge_impl_android.h>
 #include <android/base/jni/android_jni.h>

Reply via email to