]> khamidou — GitHub mirrors - electron.git/log
electron.git
11 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

11 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

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

11 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

11 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

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

11 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

11 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

11 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

11 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

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

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

11 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

11 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

11 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).

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

11 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

11 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.

11 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

11 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

11 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

11 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

11 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

11 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

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

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

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

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

11 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

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

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

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

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

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

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

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

11 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

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

11 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

11 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

11 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.

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

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

11 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.

11 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

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

11 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

11 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

11 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

11 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.

11 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.

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

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

11 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

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

11 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

11 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

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

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

11 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

11 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.

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

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

11 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

11 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.

11 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

11 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]

11 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.

11 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

11 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

11 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

11 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

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

11 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

11 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

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

11 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

11 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

11 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

11 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.

11 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

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

11 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

11 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

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

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

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

11 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

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

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

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

11 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.

11 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

11 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

11 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

11 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.

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

11 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

11 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

11 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