platform/framework/web/crosswalk-tizen.git
10 years agoAdd native_mate implemented Event and EventEmitter.
Cheng Zhao [Thu, 17 Apr 2014 09:12:27 +0000 (17:12 +0800)]
Add native_mate implemented Event and EventEmitter.

10 years agoSimplify browser_ipc api.
Cheng Zhao [Thu, 17 Apr 2014 05:51:59 +0000 (13:51 +0800)]
Simplify browser_ipc api.

10 years agoPut converters under atom/common/native_mate_converters.
Cheng Zhao [Thu, 17 Apr 2014 05:45:14 +0000 (13:45 +0800)]
Put converters under atom/common/native_mate_converters.

10 years agoUse base::File::StringType.
Cheng Zhao [Wed, 16 Apr 2014 07:45:28 +0000 (15:45 +0800)]
Use base::File::StringType.

10 years agoUse Dictionary to set module.exports.
Cheng Zhao [Wed, 16 Apr 2014 07:31:59 +0000 (15:31 +0800)]
Use Dictionary to set module.exports.

10 years agoUse native_mate to simplify dialog api.
Cheng Zhao [Wed, 16 Apr 2014 07:14:44 +0000 (15:14 +0800)]
Use native_mate to simplify dialog api.

10 years agoUse native_mate to simplify renderer_ipc api.
Cheng Zhao [Wed, 16 Apr 2014 04:29:16 +0000 (12:29 +0800)]
Use native_mate to simplify renderer_ipc api.

10 years agoUse the new Constructor API.
Cheng Zhao [Wed, 16 Apr 2014 03:58:48 +0000 (11:58 +0800)]
Use the new Constructor API.

10 years agoUse native_mate to simplify id_weak_map api.
Cheng Zhao [Wed, 16 Apr 2014 01:54:01 +0000 (09:54 +0800)]
Use native_mate to simplify id_weak_map api.

10 years agoRemove unneeded include.
Cheng Zhao [Tue, 15 Apr 2014 08:29:38 +0000 (16:29 +0800)]
Remove unneeded include.

10 years agoUse native_mate to simplify screen api.
Cheng Zhao [Tue, 15 Apr 2014 08:25:39 +0000 (16:25 +0800)]
Use native_mate to simplify screen api.

10 years agoUse native_mate to simplify crash_reporter api.
Cheng Zhao [Tue, 15 Apr 2014 08:02:19 +0000 (16:02 +0800)]
Use native_mate to simplify crash_reporter api.

10 years agoUse native_mate to simplify clipboard api.
Cheng Zhao [Tue, 15 Apr 2014 07:50:00 +0000 (15:50 +0800)]
Use native_mate to simplify clipboard api.

10 years agoFix cpplint warning.
Cheng Zhao [Tue, 15 Apr 2014 07:42:46 +0000 (15:42 +0800)]
Fix cpplint warning.

10 years agoUse native_mate to simplify shell API.
Cheng Zhao [Tue, 15 Apr 2014 07:41:26 +0000 (15:41 +0800)]
Use native_mate to simplify shell API.

10 years agoAdd native_mate as dependency.
Cheng Zhao [Tue, 15 Apr 2014 03:15:46 +0000 (11:15 +0800)]
Add native_mate as dependency.

10 years agomac: Move OS X only files to atom/browser/mac.
Cheng Zhao [Tue, 15 Apr 2014 01:35:26 +0000 (09:35 +0800)]
mac: Move OS X only files to atom/browser/mac.

10 years agoBump v0.11.10.
Cheng Zhao [Fri, 11 Apr 2014 13:02:22 +0000 (21:02 +0800)]
Bump v0.11.10.

10 years agoDo not use new clang flags.
Cheng Zhao [Mon, 14 Apr 2014 16:18:42 +0000 (00:18 +0800)]
Do not use new clang flags.

10 years agomac: Always cancel application termination.
Cheng Zhao [Mon, 14 Apr 2014 16:02:33 +0000 (00:02 +0800)]
mac: Always cancel application termination.

OS X's application termination doesn't work very well with C++ message
loops. Especially when we return NSTerminateLater for shouldTerminate,
it would be impossible for the C++ message loop to quit, because unless
we explictly let NSApp terminate the application, the message loop would
think the application is not terminated and will run forever.

The fix is to simply ignore the Cocoa's application termination request
and let the C++ message loop deal with it compeletey. But we had the
side effect that atom-shell would always cancel OS X's shutdown request,
this is also the approach chosen by Chromium.

Fixes #229.
Fixes atom/atom#1864.

10 years agoFix compiler warning in breakpad when using latest clang.
Cheng Zhao [Mon, 14 Apr 2014 15:54:36 +0000 (23:54 +0800)]
Fix compiler warning in breakpad when using latest clang.

10 years agoBump v0.11.9.
Cheng Zhao [Fri, 11 Apr 2014 10:44:41 +0000 (10:44 +0000)]
Bump v0.11.9.

10 years agoFix a crash when destroying window.
Cheng Zhao [Fri, 11 Apr 2014 10:43:01 +0000 (18:43 +0800)]
Fix a crash when destroying window.

10 years agomac: Avoid managing NSWindow by hand.
Cheng Zhao [Fri, 11 Apr 2014 04:47:22 +0000 (12:47 +0800)]
mac: Avoid managing NSWindow by hand.

10 years agoRemove unneeded accessor.
Cheng Zhao [Fri, 11 Apr 2014 04:45:48 +0000 (12:45 +0800)]
Remove unneeded accessor.

10 years agomac: InspectableWebContents should be destroyed before release NSWindow.
Cheng Zhao [Fri, 11 Apr 2014 04:32:42 +0000 (12:32 +0800)]
mac: InspectableWebContents should be destroyed before release NSWindow.

Fixes atom/atom#1841.

10 years agoFix app.exit compatibility.
Cheng Zhao [Thu, 10 Apr 2014 09:07:39 +0000 (17:07 +0800)]
Fix app.exit compatibility.

10 years agoBump v0.11.8.
Cheng Zhao [Thu, 10 Apr 2014 07:30:29 +0000 (07:30 +0000)]
Bump v0.11.8.

10 years agoShutdown gracefully, fixes #227.
Cheng Zhao [Thu, 10 Apr 2014 07:22:17 +0000 (15:22 +0800)]
Shutdown gracefully, fixes #227.

10 years agoDeprecate app.terminate API.
Cheng Zhao [Thu, 10 Apr 2014 07:08:14 +0000 (15:08 +0800)]
Deprecate app.terminate API.

Users should use app.quit which can shutdown the application gracefuly.

10 years agoBump v0.11.7.
Cheng Zhao [Tue, 8 Apr 2014 06:50:40 +0000 (06:50 +0000)]
Bump v0.11.7.

10 years agoDetect unresponsive window when quitting.
Cheng Zhao [Tue, 8 Apr 2014 06:22:22 +0000 (14:22 +0800)]
Detect unresponsive window when quitting.

Preivously this is disabled because quitting multiple windows could
bring up the unresponsive dialog, but since we now have increased the
unresponsive time limitto 5s, this is not needed anymore and could cause
confusions.

Fixes #17.

10 years ago:memo: Add docs for executeJavaScriptInDevTools.
Cheng Zhao [Tue, 8 Apr 2014 04:52:42 +0000 (12:52 +0800)]
:memo: Add docs for executeJavaScriptInDevTools.

10 years agoAdd API to execute javascript in devtools.
Cheng Zhao [Tue, 8 Apr 2014 04:50:12 +0000 (12:50 +0800)]
Add API to execute javascript in devtools.

10 years agogtk: Connect to window-state-event, fixes #226.
Cheng Zhao [Tue, 8 Apr 2014 01:32:44 +0000 (09:32 +0800)]
gtk: Connect to window-state-event, fixes #226.

10 years agoBump v0.11.6.
Cheng Zhao [Mon, 7 Apr 2014 09:21:02 +0000 (09:21 +0000)]
Bump v0.11.6.

10 years agomac: Do not destroy window immediately.
Cheng Zhao [Mon, 7 Apr 2014 09:19:27 +0000 (17:19 +0800)]
mac: Do not destroy window immediately.

Fixes atom/atom#1841.

10 years ago:lipstick: Remove unsed constant.
Cheng Zhao [Mon, 7 Apr 2014 09:12:24 +0000 (17:12 +0800)]
:lipstick: Remove unsed constant.

10 years agoFix capturePage under accelerated mode, fixes #223.
Cheng Zhao [Mon, 7 Apr 2014 07:43:15 +0000 (15:43 +0800)]
Fix capturePage under accelerated mode, fixes #223.

10 years agoIncrease the closing time limit to 5s.
Cheng Zhao [Sun, 6 Apr 2014 05:14:59 +0000 (13:14 +0800)]
Increase the closing time limit to 5s.

Fixes https://github.com/atom/atom/issues/1838.

10 years agogtk: Handle accelerators after renderer handled them.
Cheng Zhao [Sat, 5 Apr 2014 11:21:18 +0000 (19:21 +0800)]
gtk: Handle accelerators after renderer handled them.

The key-press signal captured the key events before renderer handles,
which violated the behavior on OS X and Windows.

Fixes #221.

10 years agogtk: Do not access clipboard in renderer process.
Cheng Zhao [Sat, 5 Apr 2014 06:49:59 +0000 (14:49 +0800)]
gtk: Do not access clipboard in renderer process.

10 years agoMerge pull request #225 from atom/devtools-menu
Cheng Zhao [Sat, 5 Apr 2014 03:30:47 +0000 (03:30 +0000)]
Merge pull request #225 from atom/devtools-menu

Enable context menu in devtools

10 years agoDon't build symbols in CI.
Cheng Zhao [Sat, 5 Apr 2014 03:05:51 +0000 (11:05 +0800)]
Don't build symbols in CI.

10 years ago:lipstick: Fix cpplint warning build/include_what_you_use.
Cheng Zhao [Sat, 5 Apr 2014 03:00:35 +0000 (11:00 +0800)]
:lipstick: Fix cpplint warning build/include_what_you_use.

10 years agoUse dialog API to override file chooser dialog in web inspector.
Cheng Zhao [Sat, 5 Apr 2014 02:24:46 +0000 (10:24 +0800)]
Use dialog API to override file chooser dialog in web inspector.

10 years agoEnable writing files in devtools.
Cheng Zhao [Fri, 4 Apr 2014 16:10:57 +0000 (00:10 +0800)]
Enable writing files in devtools.

10 years agoCorrectly translate WebInspector menu to native menu.
Cheng Zhao [Fri, 4 Apr 2014 14:37:34 +0000 (22:37 +0800)]
Correctly translate WebInspector menu to native menu.

10 years agoMake remote.getCurrentWindow work for devtools.
Cheng Zhao [Fri, 4 Apr 2014 14:28:47 +0000 (22:28 +0800)]
Make remote.getCurrentWindow work for devtools.

10 years agoEnable getting a window according to its attached devtools.
Cheng Zhao [Fri, 4 Apr 2014 14:28:18 +0000 (22:28 +0800)]
Enable getting a window according to its attached devtools.

10 years agoAllow sending ipc messages to devtools.
Cheng Zhao [Fri, 4 Apr 2014 14:05:43 +0000 (22:05 +0800)]
Allow sending ipc messages to devtools.

10 years agoSynchronous event should be bound to WebContents.
Cheng Zhao [Fri, 4 Apr 2014 14:04:42 +0000 (22:04 +0800)]
Synchronous event should be bound to WebContents.

This allows us to reply to synchronous message for arbitrary
WebContents.

10 years agoOverride web inspector's context menu.
Cheng Zhao [Thu, 3 Apr 2014 12:54:42 +0000 (20:54 +0800)]
Override web inspector's context menu.

10 years agoEnable intercepting devtools window.
Cheng Zhao [Thu, 3 Apr 2014 12:20:42 +0000 (20:20 +0800)]
Enable intercepting devtools window.

10 years ago:lipstick: Fix cpplint warning.
Cheng Zhao [Wed, 2 Apr 2014 06:23:38 +0000 (14:23 +0800)]
:lipstick: Fix cpplint warning.

10 years agoBump v0.11.5.
Cheng Zhao [Wed, 2 Apr 2014 01:59:21 +0000 (09:59 +0800)]
Bump v0.11.5.

10 years agoMake sure tags are pushed.
Cheng Zhao [Wed, 2 Apr 2014 01:58:56 +0000 (09:58 +0800)]
Make sure tags are pushed.

10 years agoAdd /vendor/npm to gitignore.
Cheng Zhao [Wed, 2 Apr 2014 01:58:38 +0000 (09:58 +0800)]
Add /vendor/npm to gitignore.

10 years agogtk: Consider window frame in SetSize.
Cheng Zhao [Sat, 29 Mar 2014 08:07:44 +0000 (16:07 +0800)]
gtk: Consider window frame in SetSize.

10 years agogtk: Do some guess of window border size according to window manager.
Cheng Zhao [Sat, 29 Mar 2014 06:18:47 +0000 (14:18 +0800)]
gtk: Do some guess of window border size according to window manager.

10 years agogtk: Fix crash when calling GetSize() for hidden window.
Cheng Zhao [Sat, 29 Mar 2014 06:08:25 +0000 (14:08 +0800)]
gtk: Fix crash when calling GetSize() for hidden window.

10 years ago:lipstick:
Cheng Zhao [Fri, 28 Mar 2014 09:42:37 +0000 (09:42 +0000)]
:lipstick:

10 years agoMake bootstrap script silent.
Cheng Zhao [Fri, 28 Mar 2014 09:36:35 +0000 (09:36 +0000)]
Make bootstrap script silent.

10 years agoFix calling apm for apm 0.37.0.
Cheng Zhao [Fri, 28 Mar 2014 09:30:15 +0000 (09:30 +0000)]
Fix calling apm for apm 0.37.0.

10 years agoUse lastes npm in CI.
Cheng Zhao [Fri, 28 Mar 2014 09:25:53 +0000 (09:25 +0000)]
Use lastes npm in CI.

10 years agoUpgrade to apm@0.37.0
Cheng Zhao [Fri, 28 Mar 2014 08:19:19 +0000 (16:19 +0800)]
Upgrade to apm@0.37.0

10 years agogtk: Force size allocation in window, fixes #219.
Cheng Zhao [Fri, 28 Mar 2014 08:01:38 +0000 (16:01 +0800)]
gtk: Force size allocation in window, fixes #219.

10 years agogtk: Detect rare conditions when resizing.
Cheng Zhao [Thu, 27 Mar 2014 13:03:27 +0000 (21:03 +0800)]
gtk: Detect rare conditions when resizing.

10 years agogtk: Should remove self from watcher list in destructor.
Cheng Zhao [Thu, 27 Mar 2014 10:05:28 +0000 (18:05 +0800)]
gtk: Should remove self from watcher list in destructor.

10 years agogtk: Do not count menubar in work area size on Unity.
Cheng Zhao [Thu, 27 Mar 2014 09:54:07 +0000 (17:54 +0800)]
gtk: Do not count menubar in work area size on Unity.

10 years agoBump v0.11.4.
Cheng Zhao [Wed, 26 Mar 2014 02:16:32 +0000 (02:16 +0000)]
Bump v0.11.4.

10 years agoFree window object immediately in destory().
Cheng Zhao [Wed, 26 Mar 2014 01:58:40 +0000 (09:58 +0800)]
Free window object immediately in destory().

This put everything back to the original design, since now it's not
possible to destory a window while a context menu is showing.

10 years agoIncrease unresponsive time to 2s when closing.
Cheng Zhao [Wed, 26 Mar 2014 01:40:53 +0000 (09:40 +0800)]
Increase unresponsive time to 2s when closing.

Fixes https://github.com/atom/atom/issues/1793.

10 years agoFix a possible crash when destroying window.
Cheng Zhao [Wed, 26 Mar 2014 01:14:05 +0000 (09:14 +0800)]
Fix a possible crash when destroying window.

It could happend that the JS BrowserWindow object being double deleted
when calling the destroy() method.

10 years agoBump v0.11.3.
Cheng Zhao [Tue, 25 Mar 2014 10:18:53 +0000 (10:18 +0000)]
Bump v0.11.3.

10 years agoDelay the unresponsive event shortly.
Cheng Zhao [Tue, 25 Mar 2014 10:10:51 +0000 (18:10 +0800)]
Delay the unresponsive event shortly.

It could happen that a window became responsive immediately after the
unresponsive message is sent, like after showing a context menu
synchronously.

10 years agoBrowserWindow.destroy() should not delete window immediately.
Cheng Zhao [Tue, 25 Mar 2014 08:58:34 +0000 (16:58 +0800)]
BrowserWindow.destroy() should not delete window immediately.

It could cause crash when context menu is showing.

10 years agomac: Do not allow nested task when showing menu.
Cheng Zhao [Tue, 25 Mar 2014 08:56:02 +0000 (16:56 +0800)]
mac: Do not allow nested task when showing menu.

Fixes #163.

10 years agoBump v0.11.2.
Cheng Zhao [Fri, 21 Mar 2014 07:04:55 +0000 (07:04 +0000)]
Bump v0.11.2.

10 years agogtk: Ask whether window is active from WM.
Cheng Zhao [Thu, 20 Mar 2014 09:44:08 +0000 (17:44 +0800)]
gtk: Ask whether window is active from WM.

It could happpen that the WM thinks a window is active but it's actually not,
like when showing a context menu. In most cases we should follow what WM
says to keep consistent bevaviour on all platforms.

10 years agoClose devtools completely instead of hiding it.
Cheng Zhao [Thu, 20 Mar 2014 01:29:39 +0000 (09:29 +0800)]
Close devtools completely instead of hiding it.

Fixes https://github.com/atom/atom/issues/1764.

10 years agoUpdate node: Build .dSYM for node modules, fixes #207.
Cheng Zhao [Thu, 20 Mar 2014 01:02:36 +0000 (09:02 +0800)]
Update node: Build .dSYM for node modules, fixes #207.

10 years agoBump v0.11.1.
Cheng Zhao [Sat, 15 Mar 2014 16:33:15 +0000 (09:33 -0700)]
Bump v0.11.1.

10 years agogtk: Fix BrowserWindow::HasModalDialog.
Cheng Zhao [Tue, 18 Mar 2014 06:52:45 +0000 (14:52 +0800)]
gtk: Fix BrowserWindow::HasModalDialog.

10 years agolinux: Include content_shell.pak in distribution.
Cheng Zhao [Tue, 18 Mar 2014 06:10:35 +0000 (14:10 +0800)]
linux: Include content_shell.pak in distribution.

10 years agoBump v0.11.0.
Cheng Zhao [Sun, 16 Mar 2014 11:06:46 +0000 (19:06 +0800)]
Bump v0.11.0.

10 years agoShould set low version field to 0 in bump-version.
Cheng Zhao [Sun, 16 Mar 2014 11:02:59 +0000 (19:02 +0800)]
Should set low version field to 0 in bump-version.

10 years agoFix bump-version script.
Cheng Zhao [Sun, 16 Mar 2014 07:49:12 +0000 (15:49 +0800)]
Fix bump-version script.

10 years agoMerge pull request #216 from atom/atom-chrome-src
Cheng Zhao [Sun, 16 Mar 2014 07:37:14 +0000 (07:37 +0000)]
Merge pull request #216 from atom/atom-chrome-src

Put atom-shell's source code under atom/

10 years agoFix the location default_app is copied to.
Cheng Zhao [Sun, 16 Mar 2014 07:19:09 +0000 (15:19 +0800)]
Fix the location default_app is copied to.

10 years agoFix process.resourcesPath.
Cheng Zhao [Sun, 16 Mar 2014 05:24:25 +0000 (13:24 +0800)]
Fix process.resourcesPath.

10 years agoFix coffeelint.
Cheng Zhao [Sun, 16 Mar 2014 01:43:19 +0000 (09:43 +0800)]
Fix coffeelint.

10 years agoOrder header files.
Cheng Zhao [Sun, 16 Mar 2014 01:37:04 +0000 (09:37 +0800)]
Order header files.

10 years ago:lipstick: Update bootstrap script.
Cheng Zhao [Sun, 16 Mar 2014 01:27:15 +0000 (09:27 +0800)]
:lipstick: Update bootstrap script.

10 years ago:memo: Update docs for new source code structure.
Cheng Zhao [Sun, 16 Mar 2014 01:17:45 +0000 (09:17 +0800)]
:memo: Update docs for new source code structure.

10 years agoAdd LICENSE in chrome/.
Cheng Zhao [Sun, 16 Mar 2014 01:15:41 +0000 (09:15 +0800)]
Add LICENSE in chrome/.

10 years agoBring back build/include_order cpplint.
Cheng Zhao [Sun, 16 Mar 2014 01:13:06 +0000 (09:13 +0800)]
Bring back build/include_order cpplint.

10 years agoBring back build/header_guard cpplint.
Cheng Zhao [Sun, 16 Mar 2014 00:58:59 +0000 (08:58 +0800)]
Bring back build/header_guard cpplint.

10 years agoMove atom/browser/ui/gtk to chrome/.
Cheng Zhao [Sun, 16 Mar 2014 00:39:43 +0000 (08:39 +0800)]
Move atom/browser/ui/gtk to chrome/.

10 years agoMove all sources under atom/.
Cheng Zhao [Sun, 16 Mar 2014 00:30:26 +0000 (08:30 +0800)]
Move all sources under atom/.