platform/framework/web/crosswalk-tizen.git
11 years agodoc: Add titles for browser-window and frameless-window.
Cheng Zhao [Mon, 9 Sep 2013 07:18:53 +0000 (15:18 +0800)]
doc: Add titles for browser-window and frameless-window.

11 years agodoc: Document frameless window.
Cheng Zhao [Mon, 9 Sep 2013 06:52:46 +0000 (14:52 +0800)]
doc: Document frameless window.

11 years agowin: Add NativeWindowFramelessView as non-client view.
Cheng Zhao [Mon, 9 Sep 2013 06:30:07 +0000 (14:30 +0800)]
win: Add NativeWindowFramelessView as non-client view.

11 years agowin: Save draggable region.
Cheng Zhao [Mon, 9 Sep 2013 04:12:17 +0000 (12:12 +0800)]
win: Save draggable region.

11 years agoQuit when all windows are closed if running an app by passing it in command line.
Cheng Zhao [Mon, 9 Sep 2013 02:54:08 +0000 (10:54 +0800)]
Quit when all windows are closed if running an app by passing it in command line.

11 years agoPrint stack when got error on startup.
Cheng Zhao [Mon, 9 Sep 2013 02:49:28 +0000 (10:49 +0800)]
Print stack when got error on startup.

11 years agoMake sure the cursor doesn't drift away when dragging window.
Cheng Zhao [Fri, 6 Sep 2013 04:12:17 +0000 (12:12 +0800)]
Make sure the cursor doesn't drift away when dragging window.

11 years agoDon't use setMouseDownCanMoveWindow to implement draggable area.
Cheng Zhao [Fri, 6 Sep 2013 03:54:52 +0000 (11:54 +0800)]
Don't use setMouseDownCanMoveWindow to implement draggable area.

It would not work when we have the in-window devtools.

11 years agoImplement frameless window on OS X.
Cheng Zhao [Thu, 5 Sep 2013 15:52:29 +0000 (23:52 +0800)]
Implement frameless window on OS X.

Most of the code came from Chromium's packaged app window.

11 years agoAdd has_frame_ attribute for NativeWindow.
Cheng Zhao [Thu, 5 Sep 2013 13:43:47 +0000 (21:43 +0800)]
Add has_frame_ attribute for NativeWindow.

11 years agoSend and receive the AtomViewHostMsg_UpdateDraggableRegions message.
Cheng Zhao [Thu, 5 Sep 2013 12:06:54 +0000 (20:06 +0800)]
Send and receive the AtomViewHostMsg_UpdateDraggableRegions message.

11 years agoAdd IPC messages and structs for passing draggable regions.
Cheng Zhao [Thu, 5 Sep 2013 11:46:12 +0000 (19:46 +0800)]
Add IPC messages and structs for passing draggable regions.

11 years ago:lipstick: fix the protocol module spec on OS X.
Cheng Zhao [Thu, 5 Sep 2013 10:28:48 +0000 (18:28 +0800)]
:lipstick: fix the protocol module spec on OS X.

11 years agoUpdate apm for node v0.10.18.
Cheng Zhao [Thu, 5 Sep 2013 07:41:44 +0000 (15:41 +0800)]
Update apm for node v0.10.18.

11 years agoDump version to v0.4.4.
Cheng Zhao [Thu, 5 Sep 2013 07:17:05 +0000 (15:17 +0800)]
Dump version to v0.4.4.

11 years agoUpdate node to v0.10.18.
Cheng Zhao [Thu, 5 Sep 2013 07:15:13 +0000 (15:15 +0800)]
Update node to v0.10.18.

11 years agoPass PATH environment in the child_process.fork spec.
Cheng Zhao [Thu, 5 Sep 2013 06:55:22 +0000 (14:55 +0800)]
Pass PATH environment in the child_process.fork spec.

The uv_spawn under Windows requires the PATH environment variable to be
there, otherwise it would throw a 203 system error, it should be a bug
of node.

11 years ago:lipstick: fix spec failure caused by win32 path delimiter.
Cheng Zhao [Thu, 5 Sep 2013 04:24:08 +0000 (12:24 +0800)]
:lipstick: fix spec failure caused by win32 path delimiter.

11 years agoUse base::Environment to replace getenv.
Cheng Zhao [Thu, 5 Sep 2013 04:18:19 +0000 (12:18 +0800)]
Use base::Environment to replace getenv.

11 years agoMerge pull request #84 from atom/nested-fork
Cheng Zhao [Thu, 5 Sep 2013 01:55:20 +0000 (18:55 -0700)]
Merge pull request #84 from atom/nested-fork

Use environment variable to detect whether to run as node.

Fixed # 83.

11 years agoAlso fix nested child_process.fork on Windows.
Cheng Zhao [Thu, 5 Sep 2013 01:49:22 +0000 (09:49 +0800)]
Also fix nested child_process.fork on Windows.

11 years agoMake child_process.fork work when options.env is set.
Cheng Zhao [Thu, 5 Sep 2013 01:47:32 +0000 (09:47 +0800)]
Make child_process.fork work when options.env is set.

11 years agoUse environment variable to detect whether to run as node.
Cheng Zhao [Thu, 5 Sep 2013 01:22:24 +0000 (09:22 +0800)]
Use environment variable to detect whether to run as node.

11 years agoAdd test case for #83.
Cheng Zhao [Thu, 5 Sep 2013 01:21:39 +0000 (09:21 +0800)]
Add test case for #83.

11 years agoMerge pull request #65 from atom/custom-protocol
Cheng Zhao [Wed, 4 Sep 2013 10:33:09 +0000 (03:33 -0700)]
Merge pull request #65 from atom/custom-protocol

Support custom protocols

11 years agoAdd documentation for protocol module.
Cheng Zhao [Tue, 3 Sep 2013 10:22:40 +0000 (18:22 +0800)]
Add documentation for protocol module.

11 years agoEmit erros when getting errors in IO thread.
Cheng Zhao [Tue, 3 Sep 2013 09:21:10 +0000 (17:21 +0800)]
Emit erros when getting errors in IO thread.

11 years agoAdd protocol interceptor API.
Cheng Zhao [Tue, 3 Sep 2013 08:50:10 +0000 (16:50 +0800)]
Add protocol interceptor API.

11 years ago:lipstick: fix reversed flag for updating latest version.
Cheng Zhao [Mon, 2 Sep 2013 10:17:06 +0000 (18:17 +0800)]
:lipstick: fix reversed flag for updating latest version.

11 years agoDump v0.4.3.
Cheng Zhao [Mon, 2 Sep 2013 09:59:17 +0000 (17:59 +0800)]
Dump v0.4.3.

11 years agoUpdate specs to match the documents.
Cheng Zhao [Mon, 2 Sep 2013 08:54:54 +0000 (16:54 +0800)]
Update specs to match the documents.

11 years ago:lipstick: fix the window specs.
Cheng Zhao [Mon, 2 Sep 2013 08:47:53 +0000 (16:47 +0800)]
:lipstick: fix the window specs.

11 years agoUse setTimeout instead of setImmediate in fixtures.
Cheng Zhao [Mon, 2 Sep 2013 08:46:08 +0000 (16:46 +0800)]
Use setTimeout instead of setImmediate in fixtures.

The setImmediate is implemented in node and may have unexpected affects.

11 years agoRevert ":lipstick: for the beforeunload handler."
Cheng Zhao [Mon, 2 Sep 2013 08:39:00 +0000 (16:39 +0800)]
Revert ":lipstick: for the beforeunload handler."

Restore the previous behavior of beforeunload handler.

This reverts commit b1f30c1eb609c8abab2db791cbbf0b01373564b1.

11 years agoAdd specs for the beforeunload handler.
Cheng Zhao [Mon, 2 Sep 2013 08:28:36 +0000 (16:28 +0800)]
Add specs for the beforeunload handler.

11 years agoDump v0.4.2.
Cheng Zhao [Mon, 2 Sep 2013 05:34:58 +0000 (13:34 +0800)]
Dump v0.4.2.

11 years agoMerge pull request #81 from atom/window-native-modules
Cheng Zhao [Mon, 2 Sep 2013 05:31:31 +0000 (22:31 -0700)]
Merge pull request #81 from atom/window-native-modules

Fix node native modules support on Windows

11 years agoUpload a fake empty x64 node.lib.
Cheng Zhao [Mon, 2 Sep 2013 05:27:26 +0000 (13:27 +0800)]
Upload a fake empty x64 node.lib.

We only allow building ia32 build of atom-shell, so the x64 node.lib is
not in use, but it's required by node-gyp.

11 years agoOnly generate node.lib when we need to upload node headers.
Cheng Zhao [Sat, 31 Aug 2013 09:00:13 +0000 (17:00 +0800)]
Only generate node.lib when we need to upload node headers.

11 years agoGenerate node.lib from atom.lib and chromiumcontent.dll.lib.
Cheng Zhao [Sat, 31 Aug 2013 08:37:01 +0000 (16:37 +0800)]
Generate node.lib from atom.lib and chromiumcontent.dll.lib.

11 years agoDon't use the cmd paramter passed by WinMain.
Cheng Zhao [Sat, 31 Aug 2013 07:42:41 +0000 (15:42 +0800)]
Don't use the cmd paramter passed by WinMain.

It doesn't include the argv[0], :shit:.

11 years ago:lipstick: for node version and upload node.lib.
Cheng Zhao [Sat, 31 Aug 2013 07:20:59 +0000 (15:20 +0800)]
:lipstick: for node version and upload node.lib.

11 years agoUse dummy stdin stream on Windows.
Cheng Zhao [Sat, 31 Aug 2013 04:13:08 +0000 (12:13 +0800)]
Use dummy stdin stream on Windows.

11 years agoAlso ship ffmpegsumo.dll in the distribution.
Cheng Zhao [Sat, 31 Aug 2013 03:13:11 +0000 (11:13 +0800)]
Also ship ffmpegsumo.dll in the distribution.

11 years agoUse node's version for the node headers tarball.
Cheng Zhao [Sat, 31 Aug 2013 02:51:53 +0000 (10:51 +0800)]
Use node's version for the node headers tarball.

11 years agoAdd flag for upload script to skip updating version.
Cheng Zhao [Sat, 31 Aug 2013 02:48:47 +0000 (10:48 +0800)]
Add flag for upload script to skip updating version.

When uploading multiple distributions in future, we need to make sure
all distributions have to ben uploaded before triggering the
update-atom-shell script of Atom.

11 years agoDon't require multipart for uploading to S3.
Cheng Zhao [Sat, 31 Aug 2013 02:36:13 +0000 (10:36 +0800)]
Don't require multipart for uploading to S3.

The file we are uploading is not large, and multipart works really bad
on bad networking.

11 years agoThe distribution name should contain version and platform.
Cheng Zhao [Sat, 31 Aug 2013 02:35:01 +0000 (10:35 +0800)]
The distribution name should contain version and platform.

11 years agoCreate zip distribution for binaries on Windows.
Cheng Zhao [Sat, 31 Aug 2013 01:37:02 +0000 (09:37 +0800)]
Create zip distribution for binaries on Windows.

11 years agoShip correct binaries on Windows.
Cheng Zhao [Sat, 31 Aug 2013 01:06:27 +0000 (09:06 +0800)]
Ship correct binaries on Windows.

11 years agoUse Chromium V8's headers in the node headers tarball.
Cheng Zhao [Sat, 31 Aug 2013 00:22:16 +0000 (08:22 +0800)]
Use Chromium V8's headers in the node headers tarball.

11 years agoMerge pull request #79 from atom/message-box-button-order
Cheng Zhao [Fri, 30 Aug 2013 23:41:25 +0000 (16:41 -0700)]
Merge pull request #79 from atom/message-box-button-order

Fix button order on Win32

11 years agoFix button order on Win32
Paul Betts [Fri, 30 Aug 2013 19:08:04 +0000 (12:08 -0700)]
Fix button order on Win32

On Windows, the button order is left to right, with the primary action on the
left (i.e. "Ok" "Cancel"). On Mac, the button order is that the primary action
is nearest to the corner.

11 years agoAdd InterceptProtocol AtomURLRequestJobFactory.
Cheng Zhao [Fri, 30 Aug 2013 13:15:46 +0000 (21:15 +0800)]
Add InterceptProtocol AtomURLRequestJobFactory.

11 years agoMake ReadRawData a public member, so there is no need to detect types.
Cheng Zhao [Fri, 30 Aug 2013 12:38:06 +0000 (20:38 +0800)]
Make ReadRawData a public member, so there is no need to detect types.

11 years ago:lipstick: fix cpplint warning.
Cheng Zhao [Fri, 30 Aug 2013 12:24:42 +0000 (20:24 +0800)]
:lipstick: fix cpplint warning.

11 years agoSeparate logics between low level URLRequestJob and js calls.
Cheng Zhao [Fri, 30 Aug 2013 12:02:17 +0000 (20:02 +0800)]
Separate logics between low level URLRequestJob and js calls.

11 years agoSeparate URLRequestStringJob from atom_api_protocol.
Cheng Zhao [Fri, 30 Aug 2013 08:16:41 +0000 (16:16 +0800)]
Separate URLRequestStringJob from atom_api_protocol.

11 years agoMove atom_url_request_job_factory to browser/net.
Cheng Zhao [Fri, 30 Aug 2013 08:10:36 +0000 (16:10 +0800)]
Move atom_url_request_job_factory to browser/net.

11 years agoAllow passing a fallback protocol handler for request jobs.
Cheng Zhao [Fri, 30 Aug 2013 07:48:57 +0000 (15:48 +0800)]
Allow passing a fallback protocol handler for request jobs.

11 years agoDon't pollute console with error stack.
Cheng Zhao [Fri, 30 Aug 2013 05:04:21 +0000 (13:04 +0800)]
Don't pollute console with error stack.

11 years ago:lipstick: Fix protocol specs.
Cheng Zhao [Fri, 30 Aug 2013 05:04:02 +0000 (13:04 +0800)]
:lipstick: Fix protocol specs.

11 years agoDisable overriding built-in protocols with protocol.registerProtocol.
Cheng Zhao [Fri, 30 Aug 2013 04:51:15 +0000 (12:51 +0800)]
Disable overriding built-in protocols with protocol.registerProtocol.

11 years agoCustom the implementation of url request job factory.
Cheng Zhao [Fri, 30 Aug 2013 04:04:51 +0000 (12:04 +0800)]
Custom the implementation of url request job factory.

It's needed for interceptor API.

11 years agoSkelecton for interceptor APIs.
Cheng Zhao [Fri, 30 Aug 2013 02:15:15 +0000 (10:15 +0800)]
Skelecton for interceptor APIs.

11 years agoMerge pull request #71 from atom/78-chars-or-death
Paul Betts [Thu, 29 Aug 2013 17:41:39 +0000 (10:41 -0700)]
Merge pull request #71 from atom/78-chars-or-death

Indent all the files to 78-characters so that doc diffs are usable

11 years agoIndent all the files to 78-characters so that doc diffs are usable
Paul Betts [Thu, 29 Aug 2013 14:37:51 +0000 (16:37 +0200)]
Indent all the files to 78-characters so that doc diffs are usable

11 years agoWrap passed 'url' and 'referrer' in an 'request' object.
Cheng Zhao [Thu, 29 Aug 2013 13:12:48 +0000 (21:12 +0800)]
Wrap passed 'url' and 'referrer' in an 'request' object.

11 years ago:lipstick:
Cheng Zhao [Thu, 29 Aug 2013 13:06:22 +0000 (21:06 +0800)]
:lipstick:

11 years agoAdd spec for protocol.isHandledProtocol.
Cheng Zhao [Thu, 29 Aug 2013 12:57:09 +0000 (20:57 +0800)]
Add spec for protocol.isHandledProtocol.

11 years agoAdd 'registered' and 'unregistered' events for protocol module.
Cheng Zhao [Thu, 29 Aug 2013 12:56:25 +0000 (20:56 +0800)]
Add 'registered' and 'unregistered' events for protocol module.

This is only used for writing specs.

11 years agoMake protocol module an EventEmitter.
Cheng Zhao [Thu, 29 Aug 2013 12:38:04 +0000 (20:38 +0800)]
Make protocol module an EventEmitter.

11 years agoAdd protocol.isHandledProtocol API.
Cheng Zhao [Thu, 29 Aug 2013 12:22:52 +0000 (20:22 +0800)]
Add protocol.isHandledProtocol API.

11 years agoDisable spec for window.close() since it would not be fixed for a while.
Cheng Zhao [Thu, 29 Aug 2013 10:03:56 +0000 (18:03 +0800)]
Disable spec for window.close() since it would not be fixed for a while.

11 years ago:lipstick: Avoid duplicate temporary file names.
Cheng Zhao [Thu, 29 Aug 2013 10:03:14 +0000 (18:03 +0800)]
:lipstick: Avoid duplicate temporary file names.

11 years ago:lipstick: for the beforeunload handler.
Cheng Zhao [Thu, 29 Aug 2013 07:36:09 +0000 (15:36 +0800)]
:lipstick: for the beforeunload handler.

Returning text in beforeunload handler should prevent the close instead
of allow the close.

11 years agoAdd 'loading-state-changed' event for BrowserWindow.
Cheng Zhao [Thu, 29 Aug 2013 03:47:07 +0000 (11:47 +0800)]
Add 'loading-state-changed' event for BrowserWindow.

It's required for testing the BrowserWindow class.

11 years agoAdd spec for #70.
Cheng Zhao [Thu, 29 Aug 2013 03:40:07 +0000 (11:40 +0800)]
Add spec for #70.

11 years agoUpdate apm.
Cheng Zhao [Thu, 29 Aug 2013 03:30:56 +0000 (11:30 +0800)]
Update apm.

11 years agoAdd OnLoadingStateChanged for NativeWindowObserver.
Cheng Zhao [Thu, 29 Aug 2013 03:17:15 +0000 (11:17 +0800)]
Add OnLoadingStateChanged for NativeWindowObserver.

11 years agoDump v0.4.1.
Cheng Zhao [Tue, 27 Aug 2013 11:19:40 +0000 (19:19 +0800)]
Dump v0.4.1.

Should make this automatic in future.

11 years agoMerge pull request #69 from atom/apm-vs2012
Paul Betts [Wed, 28 Aug 2013 11:29:20 +0000 (04:29 -0700)]
Merge pull request #69 from atom/apm-vs2012

Version bump atom/apm to fix script/bootstrap.py on Win32

11 years agoForce pushery?
Paul Betts [Wed, 28 Aug 2013 11:27:49 +0000 (13:27 +0200)]
Force pushery?

11 years agoVersion bump atom/apm to fix script/bootstrap.py on Win32
Paul Betts [Wed, 28 Aug 2013 11:14:54 +0000 (13:14 +0200)]
Version bump atom/apm to fix script/bootstrap.py on Win32

11 years agoUpdate node: fix #66.
Cheng Zhao [Tue, 27 Aug 2013 10:39:32 +0000 (18:39 +0800)]
Update node: fix #66.

11 years agoAdd spec for heap snapshot crash (#66).
Cheng Zhao [Tue, 27 Aug 2013 09:47:44 +0000 (17:47 +0800)]
Add spec for heap snapshot crash (#66).

11 years agoMake sure referrer is sent to the protocol handler.
Cheng Zhao [Tue, 27 Aug 2013 03:37:06 +0000 (11:37 +0800)]
Make sure referrer is sent to the protocol handler.

11 years agoOnly redirect output to browser when running in CI.
Cheng Zhao [Sun, 25 Aug 2013 12:54:15 +0000 (20:54 +0800)]
Only redirect output to browser when running in CI.

11 years agoMake sure protocol module's specs do not pollute main.js.
Cheng Zhao [Sun, 25 Aug 2013 12:45:34 +0000 (20:45 +0800)]
Make sure protocol module's specs do not pollute main.js.

11 years agoEnable creating object from remote object's member.
Cheng Zhao [Sun, 25 Aug 2013 12:44:52 +0000 (20:44 +0800)]
Enable creating object from remote object's member.

11 years agoAdd remote.createFunctionWithReturnValue API.
Cheng Zhao [Sun, 25 Aug 2013 09:22:36 +0000 (17:22 +0800)]
Add remote.createFunctionWithReturnValue API.

11 years ago:lipstick:
Cheng Zhao [Sun, 25 Aug 2013 08:49:54 +0000 (16:49 +0800)]
:lipstick:

11 years agoUse jQuery instead of zepto.
Cheng Zhao [Sun, 25 Aug 2013 08:23:40 +0000 (16:23 +0800)]
Use jQuery instead of zepto.

zepto always fails when requesting custom protocols, :shit:.

11 years agoAllow returning file for custom protocol.
Cheng Zhao [Sun, 25 Aug 2013 08:06:29 +0000 (16:06 +0800)]
Allow returning file for custom protocol.

11 years agoEnable customing mime type and charset when returning reqeust string job.
Cheng Zhao [Sun, 25 Aug 2013 07:07:07 +0000 (15:07 +0800)]
Enable customing mime type and charset when returning reqeust string job.

11 years agoAllow returning string in custom protocols.
Cheng Zhao [Sun, 25 Aug 2013 04:36:06 +0000 (12:36 +0800)]
Allow returning string in custom protocols.

11 years agoPass weak pointers when posting tasks to other threads.
Cheng Zhao [Sat, 24 Aug 2013 12:32:12 +0000 (20:32 +0800)]
Pass weak pointers when posting tasks to other threads.

11 years ago:lipstick:
Cheng Zhao [Sat, 24 Aug 2013 12:21:46 +0000 (20:21 +0800)]
:lipstick:

11 years agoCall the JS handler to get the type of job.
Cheng Zhao [Sat, 24 Aug 2013 12:18:12 +0000 (20:18 +0800)]
Call the JS handler to get the type of job.

11 years agoUse zepto in the specs.
Cheng Zhao [Sat, 24 Aug 2013 12:15:31 +0000 (20:15 +0800)]
Use zepto in the specs.