platform/framework/web/crosswalk-tizen.git
10 years agoAlso search C:/Program Files (x86) for node binary.
Cheng Zhao [Tue, 17 Dec 2013 05:14:54 +0000 (13:14 +0800)]
Also search C:/Program Files (x86) for node binary.

10 years agoMerge branch 'master' into chrome31
Cheng Zhao [Tue, 17 Dec 2013 04:58:25 +0000 (12:58 +0800)]
Merge branch 'master' into chrome31

Conflicts:
common/atom_version.h

10 years agoUse node-runas for testing native modules.
Cheng Zhao [Tue, 17 Dec 2013 04:00:21 +0000 (12:00 +0800)]
Use node-runas for testing native modules.

10 years agoFix third party module specs.
Cheng Zhao [Mon, 16 Dec 2013 14:46:16 +0000 (22:46 +0800)]
Fix third party module specs.

10 years agoUpdate apm: Fix installing for node v0.11.x.
Cheng Zhao [Mon, 16 Dec 2013 14:37:43 +0000 (22:37 +0800)]
Update apm: Fix installing for node v0.11.x.

10 years agoAdd deps/npm and deps/mdb_v8 in node headers.
Cheng Zhao [Mon, 16 Dec 2013 14:37:17 +0000 (22:37 +0800)]
Add deps/npm and deps/mdb_v8 in node headers.

10 years agoUpdate brightray: Remove webkit hacks.
Cheng Zhao [Mon, 16 Dec 2013 13:19:12 +0000 (21:19 +0800)]
Update brightray: Remove webkit hacks.

10 years agoClean out node_modules in cibuild.
Cheng Zhao [Mon, 16 Dec 2013 07:15:33 +0000 (15:15 +0800)]
Clean out node_modules in cibuild.

10 years agoBump node version to v0.11.9.
Cheng Zhao [Mon, 16 Dec 2013 06:52:15 +0000 (14:52 +0800)]
Bump node version to v0.11.9.

10 years agoInclude Environment declarations in node_common.h.
Cheng Zhao [Mon, 16 Dec 2013 06:46:05 +0000 (14:46 +0800)]
Include Environment declarations in node_common.h.

10 years agoUpdate apm for node version and architecture change.
Cheng Zhao [Mon, 16 Dec 2013 06:40:03 +0000 (14:40 +0800)]
Update apm for node version and architecture change.

10 years agoUse singular form of spec names.
Cheng Zhao [Sun, 15 Dec 2013 16:31:40 +0000 (00:31 +0800)]
Use singular form of spec names.

10 years agoRemove the on_watcher_queue_updated hack.
Cheng Zhao [Sun, 15 Dec 2013 11:48:36 +0000 (19:48 +0800)]
Remove the on_watcher_queue_updated hack.

10 years agoMake setImmediate have the same side effect with upstream node.
Cheng Zhao [Sun, 15 Dec 2013 11:09:00 +0000 (19:09 +0800)]
Make setImmediate have the same side effect with upstream node.

10 years agoSupress the unzip module spec.
Cheng Zhao [Sun, 15 Dec 2013 11:08:10 +0000 (19:08 +0800)]
Supress the unzip module spec.

The unzip module is not compatible with node v0.11.x, so we do not need
to test it anymore.

10 years ago:lipstick: Fix cpplint warnings.
Cheng Zhao [Sun, 15 Dec 2013 09:09:35 +0000 (17:09 +0800)]
:lipstick: Fix cpplint warnings.

10 years agoDisable use of deprecated functions in specs.
Cheng Zhao [Sun, 15 Dec 2013 09:02:43 +0000 (17:02 +0800)]
Disable use of deprecated functions in specs.

10 years agoFix protocol module specs.
Cheng Zhao [Sun, 15 Dec 2013 08:53:07 +0000 (16:53 +0800)]
Fix protocol module specs.

10 years agoFix capturePage() spec.
Cheng Zhao [Sun, 15 Dec 2013 08:32:49 +0000 (16:32 +0800)]
Fix capturePage() spec.

10 years agoRedirect window.onerror to uncaughtException.
Cheng Zhao [Sun, 15 Dec 2013 08:32:41 +0000 (16:32 +0800)]
Redirect window.onerror to uncaughtException.

10 years agoAdd setImmediate function in renderer.
Cheng Zhao [Sun, 15 Dec 2013 08:21:23 +0000 (16:21 +0800)]
Add setImmediate function in renderer.

10 years agoSuppress the EventEmitter's warning for ObjectsRegistry.
Cheng Zhao [Sun, 15 Dec 2013 08:15:18 +0000 (16:15 +0800)]
Suppress the EventEmitter's warning for ObjectsRegistry.

It's possible that many objects subscribed to it.

10 years agoSet __filename to the html file in renderer.
Cheng Zhao [Sun, 15 Dec 2013 08:11:00 +0000 (16:11 +0800)]
Set __filename to the html file in renderer.

10 years agoUse node's Environment feature to add "require" in renderer.
Cheng Zhao [Sun, 15 Dec 2013 06:20:28 +0000 (14:20 +0800)]
Use node's Environment feature to add "require" in renderer.

10 years agoMerge pull request #144 from shama/typo
Kevin Sawicki [Fri, 13 Dec 2013 16:44:06 +0000 (08:44 -0800)]
Merge pull request #144 from shama/typo

Fix a couple minor typos in docs

10 years agoFix a couple minor typos in docs
Kyle Robinson Young [Fri, 13 Dec 2013 06:31:19 +0000 (22:31 -0800)]
Fix a couple minor typos in docs

10 years agoDisable accelerated compositing to fix everything.
Cheng Zhao [Thu, 12 Dec 2013 16:57:08 +0000 (00:57 +0800)]
Disable accelerated compositing to fix everything.

10 years agoUpdate node for renderer node integration fixes.
Cheng Zhao [Thu, 12 Dec 2013 08:49:56 +0000 (16:49 +0800)]
Update node for renderer node integration fixes.

10 years agoFix the black devtools view.
Cheng Zhao [Thu, 12 Dec 2013 07:49:08 +0000 (15:49 +0800)]
Fix the black devtools view.

Without using UnderlayOpenGLHostingWindow the devtools view would just
be black.

10 years agoDo not depend on node to set include_dirs.
Cheng Zhao [Thu, 12 Dec 2013 06:07:00 +0000 (14:07 +0800)]
Do not depend on node to set include_dirs.

Part of atom/node#2.

10 years agoUpdate brightray, which contains all our patches in master.
Cheng Zhao [Thu, 12 Dec 2013 02:43:50 +0000 (10:43 +0800)]
Update brightray, which contains all our patches in 

10 years agoWe are now at v0.8.0-pre.
Cheng Zhao [Thu, 12 Dec 2013 02:43:34 +0000 (10:43 +0800)]
We are now at v0.8.0-pre.

10 years agoFix crashes about persistent v8 functions.
Cheng Zhao [Wed, 11 Dec 2013 16:10:09 +0000 (00:10 +0800)]
Fix crashes about persistent v8 functions.

10 years agoFix node integration to browser after updated to Chrome31.
Cheng Zhao [Wed, 11 Dec 2013 15:59:03 +0000 (23:59 +0800)]
Fix node integration to browser after updated to Chrome31.

10 years agoFix recursive calling of handle().
Cheng Zhao [Wed, 11 Dec 2013 15:57:37 +0000 (23:57 +0800)]
Fix recursive calling of handle().

10 years agoHuge commit to use new V8 and Content APIs.
Cheng Zhao [Wed, 11 Dec 2013 07:48:19 +0000 (15:48 +0800)]
Huge commit to use new V8 and Content APIs.

Still got a lots of linking errors!

10 years ago:lipstick: There should be no space between & and type name.
Cheng Zhao [Tue, 10 Dec 2013 06:27:25 +0000 (14:27 +0800)]
:lipstick: There should be no space between & and type name.

10 years agonode::ObjectWrap how had a handle() method.
Cheng Zhao [Tue, 10 Dec 2013 06:15:14 +0000 (14:15 +0800)]
node::ObjectWrap how had a handle() method.

10 years agobase/string16.h was moved to base/strings/string16.h.
Cheng Zhao [Tue, 10 Dec 2013 06:14:05 +0000 (14:14 +0800)]
base/string16.h was moved to base/strings/string16.h.

10 years agoUpdate to node v0.11.9.
Cheng Zhao [Mon, 9 Dec 2013 15:18:36 +0000 (23:18 +0800)]
Update to node v0.11.9.

10 years agoUpdate libchromiumcontent and brightray to use Chrome31.
Cheng Zhao [Mon, 9 Dec 2013 09:23:32 +0000 (17:23 +0800)]
Update libchromiumcontent and brightray to use Chrome31.

10 years agoFix template related compilation errors of VC++.
Cheng Zhao [Mon, 9 Dec 2013 08:34:10 +0000 (16:34 +0800)]
Fix template related compilation errors of VC++.

10 years agoBump v0.7.6.
Cheng Zhao [Mon, 9 Dec 2013 06:42:43 +0000 (22:42 -0800)]
Bump v0.7.6.

10 years agoRemove the RestartHangMonitorTimeout API, which is useless now.
Cheng Zhao [Mon, 9 Dec 2013 06:17:56 +0000 (14:17 +0800)]
Remove the RestartHangMonitorTimeout API, which is useless now.

10 years agoFlatten spec files, make them seem cleaner.
Cheng Zhao [Fri, 6 Dec 2013 14:23:02 +0000 (22:23 +0800)]
Flatten spec files, make them seem cleaner.

10 years agoUpdate node: Add fs.lstatSyncNoException, closes #138.
Cheng Zhao [Fri, 6 Dec 2013 13:51:47 +0000 (21:51 +0800)]
Update node: Add fs.lstatSyncNoException, closes #138.

10 years agoMerge pull request #139 from atom/browser-cleaner
Cheng Zhao [Fri, 6 Dec 2013 13:17:27 +0000 (05:17 -0800)]
Merge pull request #139 from atom/browser-cleaner

Do not rely on renderer to report the deletion of render view

10 years agoReport the right render view that is deleted.
Cheng Zhao [Fri, 6 Dec 2013 07:53:40 +0000 (15:53 +0800)]
Report the right render view that is deleted.

10 years agoUse random number as id in CallbacksRegistry.
Cheng Zhao [Fri, 6 Dec 2013 07:04:51 +0000 (15:04 +0800)]
Use random number as id in CallbacksRegistry.

It's very possible that the callbacks got GCed before the render view is
closed (like page getting refreshed), so we should not let browser call
the wrong callback, instead we should throw error whenever a callback is
not found.

10 years ago:lipstick: Restore old settings in app specs.
Cheng Zhao [Fri, 6 Dec 2013 06:54:29 +0000 (14:54 +0800)]
:lipstick: Restore old settings in app specs.

10 years agoRelease render view's remote objects when it's deleted.
Cheng Zhao [Fri, 6 Dec 2013 06:44:25 +0000 (14:44 +0800)]
Release render view's remote objects when it's deleted.

Privously we release them when the window is unloaded, which is not
correct since a render view can have multiple windows (or js contexts)
and when the unload event is emitted the render view could already have
gone.

This PR does the cleaning work purely in browser, so here is no need to
worry about renderer's life time.

10 years ago:lipstick: Fix cpplint warnings.
Cheng Zhao [Thu, 5 Dec 2013 15:54:57 +0000 (23:54 +0800)]
:lipstick: Fix cpplint warnings.

10 years agoGet rid of manually converting to base::Value when possible.
Cheng Zhao [Thu, 5 Dec 2013 15:47:07 +0000 (23:47 +0800)]
Get rid of manually converting to base::Value when possible.

10 years agoFail quietly when getting null renderer view.
Cheng Zhao [Thu, 5 Dec 2013 15:34:43 +0000 (23:34 +0800)]
Fail quietly when getting null renderer view.

It happens when the window is closing.

10 years agoEnable getting scoped_ptr type from v8 value.
Cheng Zhao [Thu, 5 Dec 2013 15:25:14 +0000 (23:25 +0800)]
Enable getting scoped_ptr type from v8 value.

God damned C++ template.

10 years agoSimplify V8 operations in renderer ipc code.
Cheng Zhao [Thu, 5 Dec 2013 14:12:27 +0000 (22:12 +0800)]
Simplify V8 operations in renderer ipc code.

10 years agoUpdate node: Fixed a handle leak in fs.statNoException().
Cheng Zhao [Thu, 5 Dec 2013 13:33:47 +0000 (21:33 +0800)]
Update node: Fixed a handle leak in fs.statNoException().

10 years agoBump v0.7.5.
Cheng Zhao [Thu, 5 Dec 2013 05:48:19 +0000 (13:48 +0800)]
Bump v0.7.5.

10 years agoMerge pull request #136 from atom/fix-ua
Cheng Zhao [Thu, 5 Dec 2013 05:44:35 +0000 (21:44 -0800)]
Merge pull request #136 from atom/fix-ua

Use name and version information of package.json

10 years agoAdd simple specs for app.getName() and app.getVersion().
Cheng Zhao [Thu, 5 Dec 2013 05:37:01 +0000 (13:37 +0800)]
Add simple specs for app.getName() and app.getVersion().

10 years ago:memo: Add usage of productName of package.json.
Cheng Zhao [Thu, 5 Dec 2013 03:46:36 +0000 (11:46 +0800)]
:memo: Add usage of productName of package.json.

10 years agoChoose a better name for the default_app.
Cheng Zhao [Thu, 5 Dec 2013 03:31:16 +0000 (11:31 +0800)]
Choose a better name for the default_app.

10 years agoSet application's name and version from the package.json.
Cheng Zhao [Thu, 5 Dec 2013 03:30:06 +0000 (11:30 +0800)]
Set application's name and version from the package.json.

10 years agoOverride the user agent to contain application and atom-shell's version.
Cheng Zhao [Thu, 5 Dec 2013 03:21:11 +0000 (11:21 +0800)]
Override the user agent to contain application and atom-shell's version.

10 years ago:memo: Update documentation on changes of "app" module.
Cheng Zhao [Thu, 5 Dec 2013 03:02:09 +0000 (11:02 +0800)]
:memo: Update documentation on changes of "app" module.

10 years agoUse bundle's name as application name when we have one.
Cheng Zhao [Thu, 5 Dec 2013 02:42:04 +0000 (10:42 +0800)]
Use bundle's name as application name when we have one.

10 years agoSimplify V8 operations.
Cheng Zhao [Thu, 5 Dec 2013 02:35:57 +0000 (10:35 +0800)]
Simplify V8 operations.

10 years agoAdd API to get and override application name.
Cheng Zhao [Thu, 5 Dec 2013 02:32:58 +0000 (10:32 +0800)]
Add API to get and override application name.

10 years agoAdd API to override browser version.
Cheng Zhao [Thu, 5 Dec 2013 02:26:01 +0000 (10:26 +0800)]
Add API to override browser version.

10 years agoEnable overriding UA strings.
Cheng Zhao [Thu, 5 Dec 2013 02:08:11 +0000 (10:08 +0800)]
Enable overriding UA strings.

10 years agoAdd conversions between V8 Value and GURL.
Cheng Zhao [Thu, 5 Dec 2013 02:07:51 +0000 (10:07 +0800)]
Add conversions between V8 Value and GURL.

10 years ago:memo: Update repo link to atom/atom
Kevin Sawicki [Wed, 4 Dec 2013 17:09:24 +0000 (09:09 -0800)]
:memo: Update repo link to atom/atom

10 years agoBump v0.7.4.
Cheng Zhao [Wed, 4 Dec 2013 14:12:58 +0000 (22:12 +0800)]
Bump v0.7.4.

10 years agoMerge pull request #133 from atom/sheet-unresponsive
Cheng Zhao [Wed, 4 Dec 2013 14:11:38 +0000 (06:11 -0800)]
Merge pull request #133 from atom/sheet-unresponsive

Do not send "unresponsive" message if window is showing a modal dialog.

10 years agoMake sure browserWindow.destroy() doesn't leave zombie processes.
Cheng Zhao [Wed, 4 Dec 2013 14:00:20 +0000 (22:00 +0800)]
Make sure browserWindow.destroy() doesn't leave zombie processes.

10 years agowin: Implement NativeWindowWin::HasModalDialog().
Cheng Zhao [Wed, 4 Dec 2013 13:18:53 +0000 (21:18 +0800)]
win: Implement NativeWindowWin::HasModalDialog().

10 years agoDo not send "unresponsive" message if window is showing a modal dialog.
Cheng Zhao [Wed, 4 Dec 2013 09:18:55 +0000 (17:18 +0800)]
Do not send "unresponsive" message if window is showing a modal dialog.

10 years agoDo not use flags to mark whether the window is unresponsive.
Cheng Zhao [Wed, 4 Dec 2013 09:10:59 +0000 (17:10 +0800)]
Do not use flags to mark whether the window is unresponsive.

It's error prone.

10 years agomac: Add API to return whether the window has attached sheet.
Cheng Zhao [Wed, 4 Dec 2013 08:32:32 +0000 (16:32 +0800)]
mac: Add API to return whether the window has attached sheet.

10 years agoAdd "Cmd" and "Control" alias for "Command" and "Ctrl".
Cheng Zhao [Fri, 29 Nov 2013 08:31:38 +0000 (16:31 +0800)]
Add "Cmd" and "Control" alias for "Command" and "Ctrl".

10 years agoBump v0.7.3.
Cheng Zhao [Fri, 29 Nov 2013 08:22:27 +0000 (16:22 +0800)]
Bump v0.7.3.

10 years agoAdd "Edit" menu in specs window.
Cheng Zhao [Fri, 29 Nov 2013 08:21:43 +0000 (16:21 +0800)]
Add "Edit" menu in specs window.

10 years agoUse CommandOrControl to replace Command in specs windows.
Cheng Zhao [Fri, 29 Nov 2013 08:14:44 +0000 (16:14 +0800)]
Use CommandOrControl to replace Command in specs windows.

10 years agoAdd "CommandOrControl" to represent "Command" on OS X and "Ctrl" on other platforms.
Cheng Zhao [Fri, 29 Nov 2013 08:10:32 +0000 (16:10 +0800)]
Add "CommandOrControl" to represent "Command" on OS X and "Ctrl" on other platforms.

10 years agoMerge pull request #130 from atom/force-closing
Cheng Zhao [Fri, 29 Nov 2013 07:42:27 +0000 (23:42 -0800)]
Merge pull request #130 from atom/force-closing

Send the "unresponsive" event if window does not close or cancel the close in 500ms when closing it.

10 years agoPrompt unresponsive state in spec window.
Cheng Zhao [Fri, 29 Nov 2013 07:19:30 +0000 (15:19 +0800)]
Prompt unresponsive state in spec window.

10 years agoFix returning the chosen option for synchronous dialogs.
Cheng Zhao [Fri, 29 Nov 2013 07:19:00 +0000 (15:19 +0800)]
Fix returning the chosen option for synchronous dialogs.

10 years agoSend the "unresponsive" event if window is not closed in 500ms when closing it.
Cheng Zhao [Fri, 29 Nov 2013 06:52:12 +0000 (14:52 +0800)]
Send the "unresponsive" event if window is not closed in 500ms when closing it.

10 years agoBump v0.7.2.
Cheng Zhao [Thu, 28 Nov 2013 13:00:40 +0000 (21:00 +0800)]
Bump v0.7.2.

10 years agowin: Do not generate symbols for static libraries and strip .pdb in symbol name.
Cheng Zhao [Thu, 28 Nov 2013 12:53:07 +0000 (20:53 +0800)]
win: Do not generate symbols for static libraries and strip .pdb in symbol name.

10 years agoNo need to ship atom.exe.pdb any more.
Cheng Zhao [Thu, 28 Nov 2013 12:14:45 +0000 (20:14 +0800)]
No need to ship atom.exe.pdb any more.

10 years agoFix executing python script in gyp.
Cheng Zhao [Thu, 28 Nov 2013 12:11:06 +0000 (20:11 +0800)]
Fix executing python script in gyp.

10 years ago:lipstick: Wrong IP for default crash reporter server.
Cheng Zhao [Thu, 28 Nov 2013 04:38:33 +0000 (12:38 +0800)]
:lipstick: Wrong IP for default crash reporter server.

10 years agoBump v0.7.1.
Cheng Zhao [Sat, 23 Nov 2013 09:09:42 +0000 (01:09 -0800)]
Bump v0.7.1.

10 years agoAlso search libchromiumcontent download dir for dSYMs.
Cheng Zhao [Sat, 23 Nov 2013 09:07:38 +0000 (01:07 -0800)]
Also search libchromiumcontent download dir for dSYMs.

10 years agoBump v0.7.0.
Cheng Zhao [Wed, 27 Nov 2013 08:11:19 +0000 (16:11 +0800)]
Bump v0.7.0.

10 years agoMerge pull request #124 from atom/breakpad
Cheng Zhao [Wed, 27 Nov 2013 07:33:43 +0000 (23:33 -0800)]
Merge pull request #124 from atom/breakpad

Use breakpad for crash reporting

10 years agowin: Register msdia80.dll automatically when dumping symbols.
Cheng Zhao [Tue, 26 Nov 2013 14:05:32 +0000 (22:05 +0800)]
win: Register msdia80.dll automatically when dumping symbols.

10 years ago:lipstick: Add missing ""s.
Cheng Zhao [Tue, 26 Nov 2013 13:35:19 +0000 (21:35 +0800)]
:lipstick: Add missing ""s.

10 years agowin: Implement the atom_dump_symbols target.
Cheng Zhao [Tue, 26 Nov 2013 13:34:27 +0000 (21:34 +0800)]
win: Implement the atom_dump_symbols target.