platform/framework/web/crosswalk-tizen.git
9 years agoAlways set headers for response
Cheng Zhao [Thu, 13 Aug 2015 14:26:27 +0000 (22:26 +0800)]
Always set headers for response

When intercepting HTTP protocols Chromium will assume there is always headers
set, so we have to provide headers for all the responses to avoid the
crash.

9 years agoRename protocol.isHandledProtocol to protocol.isProtocolHandled
Cheng Zhao [Thu, 13 Aug 2015 13:24:27 +0000 (21:24 +0800)]
Rename protocol.isHandledProtocol to protocol.isProtocolHandled

9 years agoFix crash when requesting invalid url
Cheng Zhao [Thu, 13 Aug 2015 13:21:23 +0000 (21:21 +0800)]
Fix crash when requesting invalid url

9 years agoImplement protocol.uninterceptProtocol
Cheng Zhao [Thu, 13 Aug 2015 12:19:02 +0000 (20:19 +0800)]
Implement protocol.uninterceptProtocol

9 years agoImplement protocol.interceptProtocol
Cheng Zhao [Thu, 13 Aug 2015 12:10:05 +0000 (20:10 +0800)]
Implement protocol.interceptProtocol

9 years agoImplement protocol.isHandledProtocol
Cheng Zhao [Thu, 13 Aug 2015 11:33:53 +0000 (19:33 +0800)]
Implement protocol.isHandledProtocol

9 years agoImplement protocol.unregisterProtocol
Cheng Zhao [Thu, 13 Aug 2015 11:26:18 +0000 (19:26 +0800)]
Implement protocol.unregisterProtocol

9 years agoUpdate native_mate to fix VS compilation error
Cheng Zhao [Thu, 13 Aug 2015 05:44:37 +0000 (13:44 +0800)]
Update native_mate to fix VS compilation error

9 years agoCompletion callback is called on IO thread
Cheng Zhao [Wed, 12 Aug 2015 15:16:17 +0000 (23:16 +0800)]
Completion callback is called on IO thread

9 years agoDon't use C++11 to not crash VS
Cheng Zhao [Wed, 12 Aug 2015 15:14:20 +0000 (23:14 +0800)]
Don't use C++11 to not crash VS

9 years agoTry work around VS's bug
Cheng Zhao [Wed, 12 Aug 2015 15:07:15 +0000 (23:07 +0800)]
Try work around VS's bug

9 years agoMake session parameter work with null value
Cheng Zhao [Wed, 12 Aug 2015 14:57:25 +0000 (22:57 +0800)]
Make session parameter work with null value

9 years agoMake the completion callback optional
Cheng Zhao [Wed, 12 Aug 2015 13:32:52 +0000 (21:32 +0800)]
Make the completion callback optional

9 years agoImplement protocol.registerHttpProtocol
Cheng Zhao [Wed, 12 Aug 2015 13:09:44 +0000 (21:09 +0800)]
Implement protocol.registerHttpProtocol

9 years agoImplement protocol.registerBufferProtocol
Cheng Zhao [Wed, 12 Aug 2015 12:37:52 +0000 (20:37 +0800)]
Implement protocol.registerBufferProtocol

9 years agoSupport converting Buffer to Value
Cheng Zhao [Wed, 12 Aug 2015 07:39:33 +0000 (15:39 +0800)]
Support converting Buffer to Value

9 years agoImplement protocol.registerFileProtocol
Cheng Zhao [Wed, 12 Aug 2015 07:18:31 +0000 (15:18 +0800)]
Implement protocol.registerFileProtocol

9 years agoEnable return error for arbitray request job
Cheng Zhao [Wed, 12 Aug 2015 05:50:31 +0000 (13:50 +0800)]
Enable return error for arbitray request job

9 years agoGuard against callback being called twice
Cheng Zhao [Wed, 12 Aug 2015 05:43:27 +0000 (13:43 +0800)]
Guard against callback being called twice

9 years agoInitial implementation of new protocol API
Cheng Zhao [Wed, 12 Aug 2015 05:30:19 +0000 (13:30 +0800)]
Initial implementation of new protocol API

9 years agowin: Fix compiler warning
Cheng Zhao [Tue, 11 Aug 2015 15:38:59 +0000 (23:38 +0800)]
win: Fix compiler warning

9 years agoFix emitting did-attach event
Cheng Zhao [Tue, 11 Aug 2015 07:59:16 +0000 (15:59 +0800)]
Fix emitting did-attach event

9 years agoFix finding the WebContents of a pending renderer process
Cheng Zhao [Tue, 11 Aug 2015 07:39:17 +0000 (15:39 +0800)]
Fix finding the WebContents of a pending renderer process

Apparently after Chrome 44 a renderer process can be started before the
corresponding render view is created, though it can be patched but from
the source code Chromium is enforcing this everywhere now, so fixing it
on our side seems the only reliable solution.

This fix is very similar to what we did, but instead of blindly setting
swapped process, we now remember which process the pending process is
going to replace, so we should not have those race conditions.

9 years agoUse blink's allocator in Node's Buffer
Cheng Zhao [Tue, 11 Aug 2015 04:31:41 +0000 (12:31 +0800)]
Use blink's allocator in Node's Buffer

9 years agoFix search path of ffmpeg
Cheng Zhao [Tue, 11 Aug 2015 02:55:27 +0000 (10:55 +0800)]
Fix search path of ffmpeg

It is somehow set to @load_path by Chromium.

9 years agoLink with a few more static libraries on Linux and OS X
Cheng Zhao [Tue, 11 Aug 2015 02:40:02 +0000 (10:40 +0800)]
Link with a few more static libraries on Linux and OS X

9 years agoUpdate chrome_version.h
Cheng Zhao [Tue, 11 Aug 2015 02:25:27 +0000 (10:25 +0800)]
Update chrome_version.h

9 years agoTell compiler we want to ignore result of SetPrototype
Cheng Zhao [Tue, 11 Aug 2015 02:10:07 +0000 (10:10 +0800)]
Tell compiler we want to ignore result of SetPrototype

9 years agoFix compilation warnings caused by chrome44 update
Cheng Zhao [Tue, 11 Aug 2015 02:08:34 +0000 (10:08 +0800)]
Fix compilation warnings caused by chrome44 update

9 years agoDefine node_byteorder and node_release_urlbase
Cheng Zhao [Tue, 11 Aug 2015 02:02:46 +0000 (10:02 +0800)]
Define node_byteorder and node_release_urlbase

9 years agoUpdate io.js to v3.0.0
Cheng Zhao [Tue, 11 Aug 2015 01:58:36 +0000 (09:58 +0800)]
Update io.js to v3.0.0

9 years agoUpdate to Chrome 44
Cheng Zhao [Tue, 11 Aug 2015 01:50:19 +0000 (09:50 +0800)]
Update to Chrome 44

9 years agoFix a crash issue in GetProcessOwner if no renderer view host is found.
Haojian Wu [Thu, 6 Aug 2015 07:03:04 +0000 (15:03 +0800)]
Fix a crash issue in GetProcessOwner if no renderer view host is found.

9 years agoNo need to specify ffmpeg library as it's a normal built library in libchromiumcontent.
Haojian Wu [Tue, 4 Aug 2015 09:16:08 +0000 (17:16 +0800)]
No need to specify ffmpeg library as it's a normal built library in libchromiumcontent.

9 years agonet::URLFetcher::Create now returns object with scoped_ptr.
Haojian Wu [Tue, 4 Aug 2015 09:10:35 +0000 (17:10 +0800)]
net::URLFetcher::Create now returns object with scoped_ptr.

9 years agoFix content::BrowserPluginDelegate::DidResizeElement API changes.
Haojian Wu [Tue, 4 Aug 2015 09:07:31 +0000 (17:07 +0800)]
Fix content::BrowserPluginDelegate::DidResizeElement API changes.

Chromium has removed old_size in DidResizeElement interface as the 'old_size'
is internal.

9 years agoFix node::Buffer API changes.
Haojian Wu [Tue, 4 Aug 2015 08:50:33 +0000 (16:50 +0800)]
Fix node::Buffer API changes.

9 years agoFix WillAttach API changes in content::BrowserPluginGuestDelegate.
Haojian Wu [Tue, 4 Aug 2015 08:46:11 +0000 (16:46 +0800)]
Fix WillAttach API changes in content::BrowserPluginGuestDelegate.

9 years agoNow the value in ScopedPtrHashMap is required to be scoped_ptr.
Haojian Wu [Tue, 4 Aug 2015 08:41:51 +0000 (16:41 +0800)]
Now the value in ScopedPtrHashMap is required to be scoped_ptr.

9 years agoLoadV8Snapshot has been moved from gin::IsolateHolder to gin::V8Initializer.
Haojian Wu [Tue, 4 Aug 2015 08:39:37 +0000 (16:39 +0800)]
LoadV8Snapshot has been moved from gin::IsolateHolder to gin::V8Initializer.

9 years agoUpdate base::Value::CreateNullValue API changes.
Haojian Wu [Tue, 4 Aug 2015 08:33:38 +0000 (16:33 +0800)]
Update base::Value::CreateNullValue API changes.

9 years agoNo need `base/float_util.h` since VS2013 supports well enough.
Haojian Wu [Tue, 4 Aug 2015 08:25:05 +0000 (16:25 +0800)]
No need `base/float_util.h` since VS2013 supports well enough.

9 years agoNo gfx::SingletonHwnd::Observer any more.
Haojian Wu [Tue, 4 Aug 2015 08:23:54 +0000 (16:23 +0800)]
No gfx::SingletonHwnd::Observer any more.

Using gfx::SingletonHwndObserver instead.

9 years agoBump v0.30.4
Cheng Zhao [Mon, 10 Aug 2015 07:47:49 +0000 (15:47 +0800)]
Bump v0.30.4

9 years agoMerge pull request #2465 from atom/fix-incept-scheme
Cheng Zhao [Mon, 10 Aug 2015 07:47:12 +0000 (15:47 +0800)]
Merge pull request #2465 from atom/fix-incept-scheme

Force request context to initialize beforing incepting protocol

9 years agoFix cpplint warnings
Cheng Zhao [Mon, 10 Aug 2015 07:36:47 +0000 (15:36 +0800)]
Fix cpplint warnings

9 years agoForce request context to initialize beforing incepting protocol
Cheng Zhao [Mon, 10 Aug 2015 07:31:29 +0000 (15:31 +0800)]
Force request context to initialize beforing incepting protocol

9 years agoPass net::URLRequestContextGetter in scoped_refptr
Cheng Zhao [Mon, 10 Aug 2015 07:28:18 +0000 (15:28 +0800)]
Pass net::URLRequestContextGetter in scoped_refptr

9 years agoBrowserContext::GetRequestContext can only be called on UI thread
Cheng Zhao [Mon, 10 Aug 2015 07:02:16 +0000 (15:02 +0800)]
BrowserContext::GetRequestContext can only be called on UI thread

9 years agoMerge pull request #2462 from atom/tray-event
Cheng Zhao [Mon, 10 Aug 2015 05:45:35 +0000 (13:45 +0800)]
Merge pull request #2462 from atom/tray-event

More fixes of Tray

9 years agopopContextMenu => popUpContextMenu
Cheng Zhao [Mon, 10 Aug 2015 05:00:15 +0000 (13:00 +0800)]
popContextMenu => popUpContextMenu

9 years agowin: Don't emit right-clicked event when there is menu attached
Cheng Zhao [Mon, 10 Aug 2015 04:52:55 +0000 (12:52 +0800)]
win: Don't emit right-clicked event when there is menu attached

9 years agomac: Redraw icon when menu is closed
Cheng Zhao [Mon, 10 Aug 2015 04:48:22 +0000 (12:48 +0800)]
mac: Redraw icon when menu is closed

9 years agoAdd our own MenuModel class
Cheng Zhao [Mon, 10 Aug 2015 04:39:05 +0000 (12:39 +0800)]
Add our own MenuModel class

9 years agomac: Don't emit "clicked" event if there is menu attached
Cheng Zhao [Mon, 10 Aug 2015 04:18:00 +0000 (12:18 +0800)]
mac: Don't emit "clicked" event if there is menu attached

9 years agoMerge pull request #2461 from atom/fix-webview-crash
Cheng Zhao [Mon, 10 Aug 2015 04:07:58 +0000 (12:07 +0800)]
Merge pull request #2461 from atom/fix-webview-crash

Delay the call of element resize callback to next tick

9 years agoMerge pull request #2460 from atom/iojs-new-headers
Cheng Zhao [Mon, 10 Aug 2015 04:00:17 +0000 (12:00 +0800)]
Merge pull request #2460 from atom/iojs-new-headers

Upload node headers with new filenames

9 years agoDelay the call of element resize callback to next tick
Cheng Zhao [Mon, 10 Aug 2015 03:56:42 +0000 (11:56 +0800)]
Delay the call of element resize callback to next tick

9 years agoUpdate checksums for new filenames
Cheng Zhao [Mon, 10 Aug 2015 03:42:14 +0000 (11:42 +0800)]
Update checksums for new filenames

9 years agoUpload headers with new filenames
Cheng Zhao [Mon, 10 Aug 2015 03:28:43 +0000 (11:28 +0800)]
Upload headers with new filenames

9 years agoMerge pull request #2443 from ialexryan/patch-1
Cheng Zhao [Mon, 10 Aug 2015 03:22:06 +0000 (11:22 +0800)]
Merge pull request #2443 from ialexryan/patch-1

Fixed typo

9 years agoMerge pull request #2456 from etiktin/update_build_md
Cheng Zhao [Mon, 10 Aug 2015 03:21:51 +0000 (11:21 +0800)]
Merge pull request #2456 from etiktin/update_build_md

Add a comment to build instructions about cpplint

9 years agoAdd a comment to build instructions about cpplint
Eran Tiktin [Sat, 8 Aug 2015 20:25:27 +0000 (23:25 +0300)]
Add a comment to build instructions about cpplint

I added a mention of `cpplint.py` in the build instructions.
The reason, is because it's easy to miss it's existence. Even if you
noticed it's mentioned in `coding-style.md` you might mistakenly think
that `test.py` runs it).

9 years agoBump v0.30.3
Cheng Zhao [Fri, 7 Aug 2015 14:04:59 +0000 (22:04 +0800)]
Bump v0.30.3

9 years agoMerge pull request #2447 from atom/fix-microtask-checkpoint
Cheng Zhao [Fri, 7 Aug 2015 14:03:51 +0000 (22:03 +0800)]
Merge pull request #2447 from atom/fix-microtask-checkpoint

Make sure microtask checkpoint is performed after Node.js calls

9 years agoRun microtask before handling pending process.nextTick tasks
Cheng Zhao [Fri, 7 Aug 2015 13:26:24 +0000 (21:26 +0800)]
Run microtask before handling pending process.nextTick tasks

This follows the behavior of Node.js.

9 years agoUse WebScopedRunV8Script in converted C++ functions
Cheng Zhao [Fri, 7 Aug 2015 11:34:00 +0000 (19:34 +0800)]
Use WebScopedRunV8Script in converted C++ functions

9 years agoReimplement callback.h with C++11
Cheng Zhao [Fri, 7 Aug 2015 11:15:36 +0000 (19:15 +0800)]
Reimplement callback.h with C++11

9 years agoMove callback converter from native mate to electron
Cheng Zhao [Fri, 7 Aug 2015 10:10:19 +0000 (18:10 +0800)]
Move callback converter from native mate to electron

9 years agospec: Check the time when Promise's callback is called
Cheng Zhao [Fri, 7 Aug 2015 08:55:16 +0000 (16:55 +0800)]
spec: Check the time when Promise's callback is called

9 years agoMake every JS function call is wrapped with V8RecursionScope
Cheng Zhao [Fri, 7 Aug 2015 07:18:33 +0000 (15:18 +0800)]
Make every JS function call is wrapped with V8RecursionScope

9 years agoPerform microtask checkpoint after diving into libuv
Cheng Zhao [Fri, 7 Aug 2015 07:10:14 +0000 (15:10 +0800)]
Perform microtask checkpoint after diving into libuv

9 years agoStyle fix
Cheng Zhao [Fri, 7 Aug 2015 07:06:09 +0000 (15:06 +0800)]
Style fix

9 years agoUpdate libchromiumcontent to have WebScopedRunV8Script
Cheng Zhao [Fri, 7 Aug 2015 11:35:12 +0000 (19:35 +0800)]
Update libchromiumcontent to have WebScopedRunV8Script

9 years agoFixed typo
Alex Ryan [Fri, 7 Aug 2015 05:15:59 +0000 (22:15 -0700)]
Fixed typo

9 years agoCheck button size
Cheng Zhao [Thu, 6 Aug 2015 07:22:17 +0000 (15:22 +0800)]
Check button size

9 years agoMerge pull request #2431 from atom/clean-up-native-window-2
Cheng Zhao [Thu, 6 Aug 2015 05:25:35 +0000 (13:25 +0800)]
Merge pull request #2431 from atom/clean-up-native-window-2

Clean up NativeWindow code, phase 2

9 years agoFix cpplint warning
Cheng Zhao [Thu, 6 Aug 2015 05:07:39 +0000 (13:07 +0800)]
Fix cpplint warning

9 years agoMove SetOverlayIcon to TaskbarHost
Cheng Zhao [Thu, 6 Aug 2015 05:07:00 +0000 (13:07 +0800)]
Move SetOverlayIcon to TaskbarHost

9 years agoSave the taskbar object
Cheng Zhao [Thu, 6 Aug 2015 04:58:40 +0000 (12:58 +0800)]
Save the taskbar object

9 years agoMove SetProgressBar to TaskbarHost
Cheng Zhao [Thu, 6 Aug 2015 04:54:00 +0000 (12:54 +0800)]
Move SetProgressBar to TaskbarHost

9 years agoRefactor code in taskbarHost
Cheng Zhao [Thu, 6 Aug 2015 04:44:07 +0000 (12:44 +0800)]
Refactor code in taskbarHost

9 years agoDecouple TaskbarHost from NativeWindow
Cheng Zhao [Thu, 6 Aug 2015 03:10:34 +0000 (11:10 +0800)]
Decouple TaskbarHost from NativeWindow

9 years agoThumbarHost => TaskbarHost
Cheng Zhao [Thu, 6 Aug 2015 02:30:22 +0000 (10:30 +0800)]
ThumbarHost => TaskbarHost

9 years agoMove thumbar_host_ from TreeHost to NativeWindow
Cheng Zhao [Thu, 6 Aug 2015 02:25:50 +0000 (10:25 +0800)]
Move thumbar_host_ from TreeHost to NativeWindow

9 years agoAdd MessageHandlerDelegate
Cheng Zhao [Thu, 6 Aug 2015 02:15:27 +0000 (10:15 +0800)]
Add MessageHandlerDelegate

9 years agoMerge pull request #2400 from atom/thumbar_button
Cheng Zhao [Thu, 6 Aug 2015 01:55:26 +0000 (09:55 +0800)]
Merge pull request #2400 from atom/thumbar_button

Implement API for supporting thumbnail toolbars

9 years agoMerge pull request #2424 from deepak1556/web_contents_patch
Cheng Zhao [Thu, 6 Aug 2015 01:52:16 +0000 (09:52 +0800)]
Merge pull request #2424 from deepak1556/web_contents_patch

webcontents: minor patches

9 years agoExpose NativeWindow.setThumbarButtons API to all platforms.
Haojian Wu [Wed, 5 Aug 2015 14:26:18 +0000 (22:26 +0800)]
Expose NativeWindow.setThumbarButtons API to all platforms.

9 years agowebview: adding load-commit event
Robo [Wed, 5 Aug 2015 11:50:23 +0000 (17:20 +0530)]
webview: adding load-commit event

9 years agooverride: intialise BrowserWindowProxy.closed
Robo [Wed, 5 Aug 2015 08:03:08 +0000 (13:33 +0530)]
override: intialise BrowserWindowProxy.closed

9 years agoPolish thumbar code.
Haojian Wu [Wed, 5 Aug 2015 05:47:59 +0000 (13:47 +0800)]
Polish thumbar code.

* Fix a memory leak in thumbar initialization.
* Check the number of thumbar buttons, should be <= 7.
* Correct to check thumbar button click event.

9 years agoMerge pull request #2423 from atom/fix-release-leak
Cheng Zhao [Wed, 5 Aug 2015 07:55:52 +0000 (15:55 +0800)]
Merge pull request #2423 from atom/fix-release-leak

Fix memory leak when creating NativeImage

9 years agoImageSkiaRep doesn't release memory
Cheng Zhao [Wed, 5 Aug 2015 07:49:37 +0000 (15:49 +0800)]
ImageSkiaRep doesn't release memory

9 years agoMerge pull request #2422 from atom/resizable-resize
Cheng Zhao [Wed, 5 Aug 2015 06:44:31 +0000 (14:44 +0800)]
Merge pull request #2422 from atom/resizable-resize

mac: Disable resizing window when changing style mask

9 years agospec: BrowserWindow.setResizable should not change window size
Cheng Zhao [Wed, 5 Aug 2015 06:20:08 +0000 (14:20 +0800)]
spec: BrowserWindow.setResizable should not change window size

9 years agomac: Disable resizing window when changing style mask
Cheng Zhao [Wed, 5 Aug 2015 06:12:55 +0000 (14:12 +0800)]
mac: Disable resizing window when changing style mask

9 years agoMove atom_desktop_window_tree_host_win to atom/browser/ui/win directory.
Haojian Wu [Wed, 5 Aug 2015 05:04:21 +0000 (13:04 +0800)]
Move atom_desktop_window_tree_host_win to atom/browser/ui/win directory.

9 years ago:memo: say more about thumbnail toolbar.
Haojian Wu [Sun, 2 Aug 2015 05:09:42 +0000 (13:09 +0800)]
:memo: say more about thumbnail toolbar.

9 years ago:memo: BrowserWindow.setThumbarButton API.
Haojian Wu [Sun, 2 Aug 2015 05:07:55 +0000 (13:07 +0800)]
:memo: BrowserWindow.setThumbarButton API.