platform/framework/web/crosswalk-tizen.git
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.

9 years agowin: Add BrowserWindow.setThumbarButtons API.
Haojian Wu [Sun, 2 Aug 2015 03:11:29 +0000 (11:11 +0800)]
win: Add BrowserWindow.setThumbarButtons API.

9 years agoMerge pull request #2419 from atom/clean-native-window
Cheng Zhao [Wed, 5 Aug 2015 05:28:09 +0000 (13:28 +0800)]
Merge pull request #2419 from atom/clean-native-window

Clean up NativeWindow code

9 years agoRemove a few unused headers
Cheng Zhao [Wed, 5 Aug 2015 05:18:41 +0000 (13:18 +0800)]
Remove a few unused headers

9 years agoMove ShouldUseGlobalMenuBar to x_window_utils
Cheng Zhao [Wed, 5 Aug 2015 05:16:03 +0000 (13:16 +0800)]
Move ShouldUseGlobalMenuBar to x_window_utils

9 years agoAvoid exposing data members to subclass
Cheng Zhao [Wed, 5 Aug 2015 04:46:32 +0000 (12:46 +0800)]
Avoid exposing data members to subclass

9 years agoUse ranged for loop
Cheng Zhao [Wed, 5 Aug 2015 04:34:45 +0000 (12:34 +0800)]
Use ranged for loop

9 years agoRemove duplicate UpdateDraggableRegions
Cheng Zhao [Wed, 5 Aug 2015 04:32:22 +0000 (12:32 +0800)]
Remove duplicate UpdateDraggableRegions

9 years agoMerge pull request #2418 from deepak1556/content_tracing_api_patch
Cheng Zhao [Wed, 5 Aug 2015 02:42:18 +0000 (10:42 +0800)]
Merge pull request #2418 from deepak1556/content_tracing_api_patch

tracing: fix api and docs

9 years agoMerge pull request #2410 from atom/pop_context_menu_issue
Cheng Zhao [Wed, 5 Aug 2015 02:04:26 +0000 (10:04 +0800)]
Merge pull request #2410 from atom/pop_context_menu_issue

Check context menu when calling popContextMenu API.

9 years agotracing: fix api and docs
Robo [Tue, 4 Aug 2015 20:12:57 +0000 (01:42 +0530)]
tracing: fix api and docs

9 years agoUpdate brightray for #2263
Cheng Zhao [Tue, 4 Aug 2015 14:52:44 +0000 (22:52 +0800)]
Update brightray for #2263

9 years agoMerge pull request #2412 from atom/dialog-title
Cheng Zhao [Tue, 4 Aug 2015 14:52:20 +0000 (22:52 +0800)]
Merge pull request #2412 from atom/dialog-title

win: Use app name as default title of message box

9 years agowin: Use app name as default title of message box
Cheng Zhao [Tue, 4 Aug 2015 13:56:17 +0000 (21:56 +0800)]
win: Use app name as default title of message box

TaskDialogIndirect doesn't allow empty name, if we set empty title
it will show "electron.exe" in title.

9 years agoMerge pull request #2411 from atom/fix-crash-reporter
Cheng Zhao [Tue, 4 Aug 2015 13:22:18 +0000 (21:22 +0800)]
Merge pull request #2411 from atom/fix-crash-reporter

Fix crash reporter process not exiting if there is another one running

9 years agoOnly build pushes on Travis for master branch [ci skip]
Machisté N. Quintana [Tue, 4 Aug 2015 12:27:17 +0000 (08:27 -0400)]
Only build pushes on Travis for master branch [ci skip]

9 years agoCheck context menu when calling popContextMenu API.
Haojian Wu [Tue, 4 Aug 2015 11:45:44 +0000 (19:45 +0800)]
Check context menu when calling popContextMenu API.

9 years agoUse different name for window class name
Cheng Zhao [Tue, 4 Aug 2015 11:35:46 +0000 (19:35 +0800)]
Use different name for window class name

9 years agoUse different name for wait events for different apps
Cheng Zhao [Tue, 4 Aug 2015 11:30:35 +0000 (19:30 +0800)]
Use different name for wait events for different apps

9 years agoClose handle when waiting is end
Cheng Zhao [Tue, 4 Aug 2015 11:18:12 +0000 (19:18 +0800)]
Close handle when waiting is end

9 years agoSet AppUserModelID for all renderer processes
Cheng Zhao [Tue, 4 Aug 2015 09:13:05 +0000 (17:13 +0800)]
Set AppUserModelID for all renderer processes

9 years agoUpdate brightray for #2294
Cheng Zhao [Tue, 4 Aug 2015 08:48:10 +0000 (16:48 +0800)]
Update brightray for #2294

9 years agoMerge pull request #2408 from atom/window-opener
Cheng Zhao [Tue, 4 Aug 2015 08:13:09 +0000 (16:13 +0800)]
Merge pull request #2408 from atom/window-opener

Only set window.opener for windows opened by window.open

9 years agoOnly set window.opener for windows opened by window.open
Cheng Zhao [Tue, 4 Aug 2015 07:47:12 +0000 (15:47 +0800)]
Only set window.opener for windows opened by window.open

9 years agospec: Test window.opener
Cheng Zhao [Tue, 4 Aug 2015 07:46:59 +0000 (15:46 +0800)]
spec: Test window.opener

9 years agospec: Don't set window to fullscreen unless under travis
Cheng Zhao [Tue, 4 Aug 2015 07:40:31 +0000 (15:40 +0800)]
spec: Don't set window to fullscreen unless under travis

9 years agoMerge pull request #2391 from seanchas116/support-remote-promise
Cheng Zhao [Mon, 3 Aug 2015 07:22:36 +0000 (15:22 +0800)]
Merge pull request #2391 from seanchas116/support-remote-promise

Support Promise over remote objects

9 years agoMerge pull request #2394 from DerNivel/fix-typos
Cheng Zhao [Mon, 3 Aug 2015 07:04:13 +0000 (15:04 +0800)]
Merge pull request #2394 from DerNivel/fix-typos

Fix typos

9 years agoMerge pull request #2389 from atom/resize-mask-flag
Cheng Zhao [Mon, 3 Aug 2015 06:52:40 +0000 (14:52 +0800)]
Merge pull request #2389 from atom/resize-mask-flag

Fix a bug calling setResizable multiple times will take no effect on OS X.

9 years agoMerge pull request #2375 from deepak1556/web_frame_api_patch
Cheng Zhao [Mon, 3 Aug 2015 06:46:40 +0000 (14:46 +0800)]
Merge pull request #2375 from deepak1556/web_frame_api_patch

webFrame: api to make scheme bypass CSP

9 years agodocs: userGesture is optional
Cheng Zhao [Mon, 3 Aug 2015 06:43:01 +0000 (14:43 +0800)]
docs: userGesture is optional

9 years agoMerge pull request #2383 from deepak1556/render_script_execution_patch
Cheng Zhao [Mon, 3 Aug 2015 06:37:29 +0000 (14:37 +0800)]
Merge pull request #2383 from deepak1556/render_script_execution_patch

render: executejavascript with option to create usergesture context

9 years agoUse constructor name to check if Promise
Ryohei Ikegami [Sat, 1 Aug 2015 03:20:16 +0000 (12:20 +0900)]
Use constructor name to check if Promise

9 years agoFix typo
Jonathan [Fri, 31 Jul 2015 18:16:26 +0000 (20:16 +0200)]
Fix typo

9 years agoFix typo
Jonathan [Fri, 31 Jul 2015 18:14:50 +0000 (20:14 +0200)]
Fix typo

9 years agoadd spec and fix docs
Robo [Thu, 30 Jul 2015 16:26:57 +0000 (21:56 +0530)]
add spec and fix docs

9 years agoChange spec to test Promise in both side
Ryohei Ikegami [Fri, 31 Jul 2015 05:45:53 +0000 (14:45 +0900)]
Change spec to test Promise in both side

9 years agoSupport remote Promise in browser
Ryohei Ikegami [Fri, 31 Jul 2015 05:45:22 +0000 (14:45 +0900)]
Support remote Promise in browser

9 years agoAdd spec for remote Promise
Ryohei Ikegami [Fri, 31 Jul 2015 05:32:07 +0000 (14:32 +0900)]
Add spec for remote Promise

9 years agoSupport remote Promise in renderer
Ryohei Ikegami [Fri, 31 Jul 2015 05:26:57 +0000 (14:26 +0900)]
Support remote Promise in renderer

9 years agoFix: browser window will be resiable when calling `window.setResizable(false)` twice.
Haojian Wu [Fri, 31 Jul 2015 01:57:08 +0000 (09:57 +0800)]
Fix: browser window will be resiable when calling `window.setResizable(false)` twice.

9 years agowebFrame: api to make scheme bypass CSP
Robo [Wed, 29 Jul 2015 11:20:50 +0000 (16:50 +0530)]
webFrame: api to make scheme bypass CSP

9 years agorender: executejavascript with option to simulate usergesture
Robo [Thu, 30 Jul 2015 09:12:03 +0000 (14:42 +0530)]
render: executejavascript with option to simulate usergesture

9 years agoMerge pull request #2382 from jiaz/patch-3
Cheng Zhao [Thu, 30 Jul 2015 08:53:57 +0000 (16:53 +0800)]
Merge pull request #2382 from jiaz/patch-3

 Add missing dependency for ubuntu build

9 years ago Add missing dependency for ubuntu build
Jiaji Zhou [Thu, 30 Jul 2015 08:21:17 +0000 (01:21 -0700)]
 Add missing dependency for ubuntu build

I tried to follow the document to build electron on a fresh clean built Ubuntu 15.04.
I encountered the following error message when trying to run ./script/bootstrap.py -v

Package nss was not found in the pkg-config search path.
Perhaps you should add the directory containing `nss.pc'
to the PKG_CONFIG_PATH environment variable
No package 'nss' found

After installing libnss3-dev, the build can pass.

9 years agoBump v0.30.2
Cheng Zhao [Thu, 30 Jul 2015 02:33:38 +0000 (10:33 +0800)]
Bump v0.30.2

9 years agoMerge pull request #2381 from atom/my-status-item
Cheng Zhao [Thu, 30 Jul 2015 06:17:26 +0000 (14:17 +0800)]
Merge pull request #2381 from atom/my-status-item

mac: Make the tray icon behave more like the official one

9 years agomac: Make the tray icon behave more like the official one
Cheng Zhao [Thu, 30 Jul 2015 03:57:34 +0000 (11:57 +0800)]
mac: Make the tray icon behave more like the official one

9 years agoFix compilation error caused by #2340
Cheng Zhao [Thu, 30 Jul 2015 02:38:04 +0000 (10:38 +0800)]
Fix compilation error caused by #2340

9 years agoCoffeescript declares variable before assigning it
Cheng Zhao [Thu, 30 Jul 2015 02:31:49 +0000 (10:31 +0800)]
Coffeescript declares variable before assigning it

9 years agoFix running callback when global.global is deleted
Cheng Zhao [Thu, 30 Jul 2015 02:27:34 +0000 (10:27 +0800)]
Fix running callback when global.global is deleted

Close #2366.

9 years agoMerge pull request #2377 from CtrlVP/master
Cheng Zhao [Thu, 30 Jul 2015 01:39:53 +0000 (09:39 +0800)]
Merge pull request #2377 from CtrlVP/master

Replaced 'browser' with 'main'

9 years agoMerge pull request #2376 from timruffles/patch-2
Cheng Zhao [Thu, 30 Jul 2015 01:39:36 +0000 (09:39 +0800)]
Merge pull request #2376 from timruffles/patch-2

more accuracy around why to use ASAR

9 years agoMerge pull request #2372 from atom/allow-insecure-content
Cheng Zhao [Thu, 30 Jul 2015 01:38:27 +0000 (09:38 +0800)]
Merge pull request #2372 from atom/allow-insecure-content

Add allowing-insecure-content option

9 years agoMerge pull request #1 from CtrlVP/CtrlVP-patch-1
Vivek Patel [Wed, 29 Jul 2015 13:09:34 +0000 (15:09 +0200)]
Merge pull request #1 from CtrlVP/CtrlVP-patch-1

Replaced 'browser' with 'main'

9 years agoReplaced 'browser' with 'main'
Vivek Patel [Wed, 29 Jul 2015 13:04:34 +0000 (15:04 +0200)]
Replaced 'browser' with 'main'

"A JavaScript error occured in the browser process" is confusing. Replacing it with 'main', just like everywhere else.

9 years agomore accuracy around why to use ASAR
Tim Ruffles [Wed, 29 Jul 2015 12:45:30 +0000 (13:45 +0100)]
more accuracy around why to use ASAR

'protect' implies a lot more security than ASAR provides (none). I asked around #2374 to get some understanding of what ASAR does do for you.

9 years agoCheck whether entry is null
Cheng Zhao [Wed, 29 Jul 2015 10:26:20 +0000 (18:26 +0800)]
Check whether entry is null

This fixes the crash in #7877.

9 years agoMake 'allow-displaying-insecure-content' and
Haojian Wu [Wed, 29 Jul 2015 10:07:06 +0000 (18:07 +0800)]
Make 'allow-displaying-insecure-content' and
'allow-running-insecure-content' higher priority than `web-security`.

9 years agoMerge pull request #2368 from dataich/master
Cheng Zhao [Wed, 29 Jul 2015 09:25:30 +0000 (17:25 +0800)]
Merge pull request #2368 from dataich/master

do not overwrite `node-integration` option

9 years agoMerge pull request #2370 from atom/osx-tray
Cheng Zhao [Wed, 29 Jul 2015 09:22:47 +0000 (17:22 +0800)]
Merge pull request #2370 from atom/osx-tray

Use NSImageView to draw tray icon.

9 years agoMerge pull request #2340 from atom/set_download_path_api
Cheng Zhao [Wed, 29 Jul 2015 09:19:02 +0000 (17:19 +0800)]
Merge pull request #2340 from atom/set_download_path_api

Implement setDownloadPath API.

9 years agoUpdate brightray for #2327
Cheng Zhao [Wed, 29 Jul 2015 09:16:23 +0000 (17:16 +0800)]
Update brightray for #2327

9 years agoMerge pull request #2327 from deepak1556/devtools_api_patch
Cheng Zhao [Wed, 29 Jul 2015 09:16:02 +0000 (17:16 +0800)]
Merge pull request #2327 from deepak1556/devtools_api_patch

webContents: api to add/remove path from devtools workspace

9 years ago:memo: `allow-running-insecure-content` and
Haojian Wu [Wed, 29 Jul 2015 08:15:16 +0000 (16:15 +0800)]
:memo: `allow-running-insecure-content` and
`allow-displaying-insecure-content`.

9 years agoAdd `allow-running-insecure-content`, `allow-display-insecure-content`
Haojian Wu [Wed, 29 Jul 2015 08:09:32 +0000 (16:09 +0800)]
Add `allow-running-insecure-content`, `allow-display-insecure-content`
in BrowserWindow option.

9 years agoMerge pull request #2369 from atom/better-modifiers
Cheng Zhao [Wed, 29 Jul 2015 07:22:27 +0000 (15:22 +0800)]
Merge pull request #2369 from atom/better-modifiers

Fix a few things of Tray

9 years agoMerge pull request #2363 from atom/mime-check
Cheng Zhao [Wed, 29 Jul 2015 06:52:20 +0000 (14:52 +0800)]
Merge pull request #2363 from atom/mime-check

Fix a missing the specified mime type check in <input> accept attribute.

9 years agoUpdate brightray for #2324
Cheng Zhao [Wed, 29 Jul 2015 06:50:56 +0000 (14:50 +0800)]
Update brightray for #2324

9 years agoAdd metaKey
Cheng Zhao [Wed, 29 Jul 2015 06:44:08 +0000 (14:44 +0800)]
Add metaKey

9 years agodocs: modifiers removed
Cheng Zhao [Wed, 29 Jul 2015 06:27:32 +0000 (14:27 +0800)]
docs: modifiers removed

9 years agoUse DOM's way of telling modifiers
Cheng Zhao [Wed, 29 Jul 2015 06:25:12 +0000 (14:25 +0800)]
Use DOM's way of telling modifiers

9 years agoEnable using custom events when emitting
Cheng Zhao [Wed, 29 Jul 2015 06:24:45 +0000 (14:24 +0800)]
Enable using custom events when emitting

9 years ago:memo: say more about setDownloadPath API.
Haojian Wu [Wed, 29 Jul 2015 06:13:28 +0000 (14:13 +0800)]
:memo: say more about setDownloadPath API.

9 years agoNo need for default_download_path_ member.
Haojian Wu [Wed, 29 Jul 2015 06:03:07 +0000 (14:03 +0800)]
No need for default_download_path_ member.

9 years agoUse NSImageView to draw tray icon.
Haojian Wu [Wed, 29 Jul 2015 05:27:07 +0000 (13:27 +0800)]
Use NSImageView to draw tray icon.

* Fixes Tempate image doesn't show correctly in dark mode.
* Fixes the tray icon is stretched showing in menubar.
* Fixes title color will not reversed in dark mode.

9 years agowin: Pass modifers in 'clicked' events
Cheng Zhao [Wed, 29 Jul 2015 05:10:51 +0000 (13:10 +0800)]
win: Pass modifers in 'clicked' events

9 years agowin: Set GUID when getting icon's bounds
Cheng Zhao [Wed, 29 Jul 2015 04:55:44 +0000 (12:55 +0800)]
win: Set GUID when getting icon's bounds

9 years agodocs: Don't say things that are expected
Cheng Zhao [Wed, 29 Jul 2015 04:41:40 +0000 (12:41 +0800)]
docs: Don't say things that are expected

9 years agodo not overwrite `node-integration` option
Taichiro Yoshida [Wed, 29 Jul 2015 04:41:11 +0000 (13:41 +0900)]
do not overwrite `node-integration` option

If `node-integration` option pass to window.open, do not overwrite by current window's one

9 years agowin: Implement double-clicked event
Cheng Zhao [Wed, 29 Jul 2015 04:36:01 +0000 (12:36 +0800)]
win: Implement double-clicked event

9 years agoMerge branch 'feature/modifiers-click-tray' of https://github.com/nishanths/electron...
Cheng Zhao [Wed, 29 Jul 2015 04:01:27 +0000 (12:01 +0800)]
Merge branch 'feature/modifiers-click-tray' of https://github.com/nishanths/electron into nishanths-feature/modifiers-click-tray

9 years agowebContents: api to add/remove path from devtools workspace
Robo [Fri, 24 Jul 2015 09:39:11 +0000 (15:09 +0530)]
webContents: api to add/remove path from devtools workspace

9 years agoMinor style fix for #2352
Cheng Zhao [Wed, 29 Jul 2015 03:48:40 +0000 (11:48 +0800)]
Minor style fix for #2352