]> khamidou — GitHub mirrors - electron.git/log
electron.git
12 years agoMerge pull request #420 from atom/process-main-module
Cheng Zhao [Sun, 22 Jun 2014 07:07:23 +0000 (15:07 +0800)]
Merge pull request #420 from atom/process-main-module

remote.require should search module from user's app

12 years agoFix refreshing the spec window.
Cheng Zhao [Sun, 22 Jun 2014 06:59:14 +0000 (14:59 +0800)]
Fix refreshing the spec window.

12 years agoThe default_app should also set process.mainModule.
Cheng Zhao [Sun, 22 Jun 2014 06:57:11 +0000 (14:57 +0800)]
The default_app should also set process.mainModule.

12 years agoremote.require should use process.mainModule.require.
Cheng Zhao [Sun, 22 Jun 2014 06:56:30 +0000 (14:56 +0800)]
remote.require should use process.mainModule.require.

12 years agoSet process.mainModule to user's app.
Cheng Zhao [Sun, 22 Jun 2014 06:56:00 +0000 (14:56 +0800)]
Set process.mainModule to user's app.

12 years agoAdd spec for checking process.mainModule.
Cheng Zhao [Sun, 22 Jun 2014 06:55:41 +0000 (14:55 +0800)]
Add spec for checking process.mainModule.

12 years agoMerge pull request #418 from sprintr/master
Kevin Sawicki [Sat, 21 Jun 2014 19:05:29 +0000 (12:05 -0700)]
Merge pull request #418 from sprintr/master

Removed a typo

12 years agoRemoved a typo
Amin Ullah Khan [Sat, 21 Jun 2014 15:34:31 +0000 (20:34 +0500)]
Removed a typo

Fix for #416

12 years agoBump v0.13.2. v0.13.2
Cheng Zhao [Wed, 18 Jun 2014 01:09:04 +0000 (01:09 +0000)]
Bump v0.13.2.

12 years agoMerge pull request #408 from FWeinb/patch-1
Cheng Zhao [Wed, 18 Jun 2014 01:07:27 +0000 (09:07 +0800)]
Merge pull request #408 from FWeinb/patch-1

Update `tray` example to wait for app.on('ready')

12 years agoMerge pull request #409 from atom/ks-escape-accelerator
Cheng Zhao [Wed, 18 Jun 2014 00:59:42 +0000 (08:59 +0800)]
Merge pull request #409 from atom/ks-escape-accelerator

Escape accelerator

12 years agoMake escape to ui::VKEY_ESCAPE
Kevin Sawicki [Tue, 17 Jun 2014 21:47:35 +0000 (14:47 -0700)]
Make escape to ui::VKEY_ESCAPE

12 years agoUpdate example to wait for app.on('ready')
FWeinb [Tue, 17 Jun 2014 16:06:15 +0000 (18:06 +0200)]
Update example to wait for app.on('ready')

Related to Issue #383

12 years agoMerge pull request #407 from atom/detached-devtools
Cheng Zhao [Tue, 17 Jun 2014 10:40:57 +0000 (18:40 +0800)]
Merge pull request #407 from atom/detached-devtools

Enable detached devtools

12 years agoUpdate brightray to fix detached devtools.
Cheng Zhao [Tue, 17 Jun 2014 10:32:21 +0000 (18:32 +0800)]
Update brightray to fix detached devtools.

12 years agoDo not disable detached devtools.
Cheng Zhao [Tue, 17 Jun 2014 08:35:23 +0000 (16:35 +0800)]
Do not disable detached devtools.

12 years agomac: Fix handling event from other windows.
Cheng Zhao [Tue, 17 Jun 2014 08:33:52 +0000 (16:33 +0800)]
mac: Fix handling event from other windows.

12 years agoMerge pull request #406 from atom/webview
Cheng Zhao [Tue, 17 Jun 2014 08:14:22 +0000 (16:14 +0800)]
Merge pull request #406 from atom/webview

Provide ways to set page's zoom level

12 years ago:memo: Document the 'zoom-factor' option.
Cheng Zhao [Tue, 17 Jun 2014 07:59:46 +0000 (15:59 +0800)]
:memo: Document the 'zoom-factor' option.

12 years ago:lipstick: Fix cpplint warnings.
Cheng Zhao [Mon, 16 Jun 2014 13:29:18 +0000 (21:29 +0800)]
:lipstick: Fix cpplint warnings.

12 years agoAllow setting default zoom factor.
Cheng Zhao [Mon, 16 Jun 2014 10:52:04 +0000 (18:52 +0800)]
Allow setting default zoom factor.

12 years ago:memo: Document the web-view module.
Cheng Zhao [Mon, 16 Jun 2014 06:56:24 +0000 (14:56 +0800)]
:memo: Document the web-view module.

12 years agoAdd zoom factor APIs alternative to zoom level.
Cheng Zhao [Mon, 16 Jun 2014 06:39:29 +0000 (14:39 +0800)]
Add zoom factor APIs alternative to zoom level.

12 years agoAdd web-view module.
Cheng Zhao [Mon, 16 Jun 2014 06:27:57 +0000 (14:27 +0800)]
Add web-view module.

12 years agoMerge pull request #404 from atom/skip-taskbar
Cheng Zhao [Mon, 16 Jun 2014 03:00:43 +0000 (11:00 +0800)]
Merge pull request #404 from atom/skip-taskbar

Add BrowserWindow.setSkipTaskbar API

12 years ago:memo: Document the setSkipTaskbar API.
Cheng Zhao [Mon, 16 Jun 2014 02:51:45 +0000 (10:51 +0800)]
:memo: Document the setSkipTaskbar API.

12 years agowin: Implement setSkipTaskbar.
Cheng Zhao [Mon, 16 Jun 2014 02:48:49 +0000 (10:48 +0800)]
win: Implement setSkipTaskbar.

12 years agogtk: Add BrowserWindow.setSkipTaskbar API.
Cheng Zhao [Mon, 16 Jun 2014 02:29:51 +0000 (10:29 +0800)]
gtk: Add BrowserWindow.setSkipTaskbar API.

12 years agowebContents.executeJavaScript should run code after page is loaded.
Cheng Zhao [Mon, 16 Jun 2014 01:10:41 +0000 (09:10 +0800)]
webContents.executeJavaScript should run code after page is loaded.

Fixes atom/atom#1805.

12 years agoDo not assume trailing callback in dialog API, fixes #395.
Cheng Zhao [Sun, 15 Jun 2014 04:43:28 +0000 (12:43 +0800)]
Do not assume trailing callback in dialog API, fixes #395.

12 years agoMerge pull request #397 from RobberPhex/master
Cheng Zhao [Sat, 14 Jun 2014 14:42:53 +0000 (22:42 +0800)]
Merge pull request #397 from RobberPhex/master

Add document for browser-window's icon

12 years agoBump v0.13.1. v0.13.1
Cheng Zhao [Sat, 14 Jun 2014 14:27:06 +0000 (22:27 +0800)]
Bump v0.13.1.

12 years agoSupport INSERT in accelerator, fixes #398.
Cheng Zhao [Sat, 14 Jun 2014 14:25:21 +0000 (22:25 +0800)]
Support INSERT in accelerator, fixes #398.

12 years agoAdd document for browser-window's icon
RobberPhex [Fri, 13 Jun 2014 16:11:49 +0000 (00:11 +0800)]
Add document for browser-window's icon

12 years agomac: Make sure web view is the first responder of window, fixes #382.
Cheng Zhao [Wed, 11 Jun 2014 07:57:40 +0000 (15:57 +0800)]
mac: Make sure web view is the first responder of window, fixes #382.

12 years agowin: Implement attached devtools, fixes #373.
Cheng Zhao [Wed, 11 Jun 2014 01:13:55 +0000 (09:13 +0800)]
win: Implement attached devtools, fixes #373.

12 years ago:memo: Fix the outdated menu example, closed #389.
Cheng Zhao [Tue, 10 Jun 2014 05:29:09 +0000 (13:29 +0800)]
:memo: Fix the outdated menu example, closed #389.

12 years ago:memo: Remove the dead link, fixes #390.
Cheng Zhao [Tue, 10 Jun 2014 05:17:41 +0000 (13:17 +0800)]
:memo: Remove the dead link, fixes #390.

12 years agomac: Restore presentation options when leaving kiosk mode, fixes #272.
Cheng Zhao [Mon, 9 Jun 2014 05:04:59 +0000 (13:04 +0800)]
mac: Restore presentation options when leaving kiosk mode, fixes #272.

12 years ago"did-finish-load" should only emit for main frame, fixes #385.
Cheng Zhao [Mon, 9 Jun 2014 04:03:19 +0000 (12:03 +0800)]
"did-finish-load" should only emit for main frame, fixes #385.

12 years agoBump v0.13.0. v0.13.0
Cheng Zhao [Thu, 5 Jun 2014 07:14:32 +0000 (07:14 +0000)]
Bump v0.13.0.

12 years ago:lipstick: Fix clipboard on Linux.
Cheng Zhao [Thu, 5 Jun 2014 07:22:36 +0000 (15:22 +0800)]
:lipstick: Fix clipboard on Linux.

12 years agoProvide API to access selection clipboard, fixes #377.
Cheng Zhao [Thu, 5 Jun 2014 06:48:12 +0000 (14:48 +0800)]
Provide API to access selection clipboard, fixes #377.

12 years agoReturn unicode string in clipboard.readText(), fixes atom/atom#2145.
Cheng Zhao [Thu, 5 Jun 2014 03:43:45 +0000 (11:43 +0800)]
Return unicode string in clipboard.readText(), fixes atom/atom#2145.

12 years agoMerge pull request #379 from atom/32bit-linux
Cheng Zhao [Thu, 5 Jun 2014 02:51:49 +0000 (10:51 +0800)]
Merge pull request #379 from atom/32bit-linux

Support 32bit build on Linux

12 years agoContain arch in distribution name.
Cheng Zhao [Wed, 4 Jun 2014 15:24:38 +0000 (15:24 +0000)]
Contain arch in distribution name.

12 years agoUpgrade libchromiumcontent to 765ec5dcf192845fed4aec0b117f1e53050911d6.
Cheng Zhao [Wed, 4 Jun 2014 14:05:30 +0000 (22:05 +0800)]
Upgrade libchromiumcontent to 765ec5dcf192845fed4aec0b117f1e53050911d6.

12 years agoUpgrade to latest brightray.
Cheng Zhao [Wed, 4 Jun 2014 14:05:12 +0000 (22:05 +0800)]
Upgrade to latest brightray.

12 years agoUpgrade libchromiumcontent to 64b6768f1d24318bd35b538658dacd429c544377.
Cheng Zhao [Tue, 3 Jun 2014 07:43:00 +0000 (15:43 +0800)]
Upgrade libchromiumcontent to 64b6768f1d24318bd35b538658dacd429c544377.

12 years agowin: Remove focus listener after window is closed, fixes #364.
Cheng Zhao [Tue, 3 Jun 2014 06:39:47 +0000 (14:39 +0800)]
win: Remove focus listener after window is closed, fixes #364.

12 years agoMerge pull request #375 from atom/status-icon
Cheng Zhao [Tue, 3 Jun 2014 06:27:21 +0000 (14:27 +0800)]
Merge pull request #375 from atom/status-icon

Tray module

12 years agowin: Fix context menu clicking in notify icon.
Cheng Zhao [Tue, 3 Jun 2014 06:11:12 +0000 (14:11 +0800)]
win: Fix context menu clicking in notify icon.

12 years agoWin: Implement context menu for tray icon.
Cheng Zhao [Tue, 3 Jun 2014 03:52:57 +0000 (11:52 +0800)]
Win: Implement context menu for tray icon.

12 years agowin: Implement tray icon API.
Cheng Zhao [Tue, 3 Jun 2014 03:25:09 +0000 (11:25 +0800)]
win: Implement tray icon API.

12 years agoAdd StatusTrayStateChangerWindow from chrome.
Cheng Zhao [Tue, 3 Jun 2014 03:24:40 +0000 (11:24 +0800)]
Add StatusTrayStateChangerWindow from chrome.

12 years ago:memo: Mention platform limitations on Linux.
Cheng Zhao [Mon, 2 Jun 2014 15:18:14 +0000 (23:18 +0800)]
:memo: Mention platform limitations on Linux.

12 years agogtk: Implement click event for status icon.
Cheng Zhao [Mon, 2 Jun 2014 15:10:36 +0000 (23:10 +0800)]
gtk: Implement click event for status icon.

12 years ago:lipstick: Fix cpplint warning.
Cheng Zhao [Mon, 2 Jun 2014 03:47:37 +0000 (11:47 +0800)]
:lipstick: Fix cpplint warning.

12 years ago:memo: Document the tray module.
Cheng Zhao [Mon, 2 Jun 2014 03:47:22 +0000 (11:47 +0800)]
:memo: Document the tray module.

12 years agomac: Implement the "click" event of TrayIcon.
Cheng Zhao [Mon, 2 Jun 2014 03:28:23 +0000 (11:28 +0800)]
mac: Implement the "click" event of TrayIcon.

12 years agoAdd "click" event for TrayIcon.
Cheng Zhao [Mon, 2 Jun 2014 03:08:29 +0000 (11:08 +0800)]
Add "click" event for TrayIcon.

12 years agogtk: Add app indicator support as tray icon.
Cheng Zhao [Sun, 1 Jun 2014 02:20:06 +0000 (10:20 +0800)]
gtk: Add app indicator support as tray icon.

12 years agogtk: Add TrayIcon implementation for GtkStatusIcon.
Cheng Zhao [Sat, 31 May 2014 02:27:07 +0000 (10:27 +0800)]
gtk: Add TrayIcon implementation for GtkStatusIcon.

12 years agoBind TrayIcon to JS.
Cheng Zhao [Fri, 30 May 2014 15:57:54 +0000 (23:57 +0800)]
Bind TrayIcon to JS.

12 years agoAdd native_mate converters for ImageSkia.
Cheng Zhao [Fri, 30 May 2014 15:05:24 +0000 (23:05 +0800)]
Add native_mate converters for ImageSkia.

12 years agomac: Simple implementation of tray icon.
Cheng Zhao [Fri, 30 May 2014 06:37:53 +0000 (14:37 +0800)]
mac: Simple implementation of tray icon.

12 years agoAdd dummy implementations for TrayIcon.
Cheng Zhao [Fri, 30 May 2014 02:31:27 +0000 (10:31 +0800)]
Add dummy implementations for TrayIcon.

12 years ago:memo: Menu.setApplicationMenu is not OS X only.
Cheng Zhao [Fri, 30 May 2014 01:02:21 +0000 (09:02 +0800)]
:memo: Menu.setApplicationMenu is not OS X only.

12 years agoMerge pull request #363 from atom/application-locale
Cheng Zhao [Thu, 29 May 2014 13:54:04 +0000 (21:54 +0800)]
Merge pull request #363 from atom/application-locale

Implement navigator.language

12 years agoFix cpplint warning.
Cheng Zhao [Thu, 29 May 2014 13:24:22 +0000 (21:24 +0800)]
Fix cpplint warning.

12 years agoAdd spec for application locale.
Cheng Zhao [Thu, 29 May 2014 12:23:28 +0000 (20:23 +0800)]
Add spec for application locale.

12 years agoGenerate .pak for each locale.
Cheng Zhao [Thu, 29 May 2014 11:08:59 +0000 (19:08 +0800)]
Generate .pak for each locale.

12 years agomac: Fix en-US locale.
Cheng Zhao [Thu, 29 May 2014 09:13:24 +0000 (17:13 +0800)]
mac: Fix en-US locale.

12 years agomac: Create .lproj files for each locale.
Cheng Zhao [Thu, 29 May 2014 07:54:45 +0000 (15:54 +0800)]
mac: Create .lproj files for each locale.

12 years agoInitialize locale on mac.
Cheng Zhao [Thu, 29 May 2014 07:54:25 +0000 (15:54 +0800)]
Initialize locale on mac.

12 years agoOverride application locale with system default locale.
Cheng Zhao [Thu, 29 May 2014 07:21:15 +0000 (15:21 +0800)]
Override application locale with system default locale.

12 years agoBump v0.12.7. v0.12.7
Cheng Zhao [Tue, 27 May 2014 06:16:37 +0000 (06:16 +0000)]
Bump v0.12.7.

12 years ago:memo: Fix some old docs.
Cheng Zhao [Tue, 27 May 2014 06:20:22 +0000 (14:20 +0800)]
:memo: Fix some old docs.

12 years agomac: Add APIs on setting icon in titlebar.
Cheng Zhao [Tue, 27 May 2014 06:15:34 +0000 (14:15 +0800)]
mac: Add APIs on setting icon in titlebar.

12 years agoDo not init Menu lazily, otherwise empty menus would be invalid.
Cheng Zhao [Tue, 27 May 2014 01:10:54 +0000 (09:10 +0800)]
Do not init Menu lazily, otherwise empty menus would be invalid.

12 years agoMove the ability of calling _init to native_mate.
Cheng Zhao [Tue, 27 May 2014 00:47:53 +0000 (08:47 +0800)]
Move the ability of calling _init to native_mate.

12 years agoBump v0.12.6. v0.12.6
Cheng Zhao [Mon, 26 May 2014 13:34:57 +0000 (13:34 +0000)]
Bump v0.12.6.

12 years agoMerge pull request #354 from atom/automatic-group-id
Cheng Zhao [Mon, 26 May 2014 13:40:56 +0000 (21:40 +0800)]
Merge pull request #354 from atom/automatic-group-id

Improve radio and checkbox menu items support

12 years agoFix specs.
Cheng Zhao [Mon, 26 May 2014 05:01:26 +0000 (13:01 +0800)]
Fix specs.

12 years ago:lipstick: Organize Menu and MenuItem's code.
Cheng Zhao [Mon, 26 May 2014 04:40:21 +0000 (12:40 +0800)]
:lipstick: Organize Menu and MenuItem's code.

12 years agowin: Setting enabled/visiable should also update menu.
Cheng Zhao [Mon, 26 May 2014 04:00:20 +0000 (12:00 +0800)]
win: Setting enabled/visiable should also update menu.

12 years agowin: Update states when setting checked property.
Cheng Zhao [Mon, 26 May 2014 03:34:36 +0000 (11:34 +0800)]
win: Update states when setting checked property.

12 years agowin: Force menuWillShow to be called when setting window menu.
Cheng Zhao [Mon, 26 May 2014 01:38:04 +0000 (09:38 +0800)]
win: Force menuWillShow to be called when setting window menu.

12 years agowin: Update menu states when setting menu bar.
Cheng Zhao [Mon, 26 May 2014 01:18:19 +0000 (09:18 +0800)]
win: Update menu states when setting menu bar.

12 years agoFix error when showing empty menu.
Cheng Zhao [Sun, 25 May 2014 08:37:45 +0000 (16:37 +0800)]
Fix error when showing empty menu.

12 years agoQuit when get uncaughtException in specs.
Cheng Zhao [Sun, 25 May 2014 08:16:29 +0000 (16:16 +0800)]
Quit when get uncaughtException in specs.

12 years agomac: Make sure menuWillShow is called when setting application menu.
Cheng Zhao [Sun, 25 May 2014 07:42:23 +0000 (15:42 +0800)]
mac: Make sure menuWillShow is called when setting application menu.

12 years agoRadio menu items should have at least one item checked.
Cheng Zhao [Sun, 25 May 2014 07:25:36 +0000 (15:25 +0800)]
Radio menu items should have at least one item checked.

This is to force all platforms to match the same behavior in GTK+.

12 years agoAdd specs for radio menu items.
Cheng Zhao [Sun, 25 May 2014 05:01:53 +0000 (13:01 +0800)]
Add specs for radio menu items.

12 years agoSetting a radio menu item should flip other items in the group.
Cheng Zhao [Sun, 25 May 2014 04:47:38 +0000 (12:47 +0800)]
Setting a radio menu item should flip other items in the group.

12 years agoGenerate menu group id automatically.
Cheng Zhao [Sun, 25 May 2014 04:32:47 +0000 (12:32 +0800)]
Generate menu group id automatically.

In GTK+ radio menu items are managed automatically, so group id won't
have any effect there, in the meanwhile we need to maintain the same
behavior on all platforms, so we have to generate group id instead of
letting users specifying it.

12 years agogtk: Fix setting unresizable window.
Cheng Zhao [Sun, 25 May 2014 03:44:25 +0000 (11:44 +0800)]
gtk: Fix setting unresizable window.

12 years agoMake menu's checked property flipped automatically, fixes #349.
Cheng Zhao [Sun, 25 May 2014 03:30:43 +0000 (11:30 +0800)]
Make menu's checked property flipped automatically, fixes #349.

12 years agowin: Implement focus and blur event.
Cheng Zhao [Sat, 24 May 2014 04:57:14 +0000 (12:57 +0800)]
win: Implement focus and blur event.

12 years agoOverride app version and name when loading apps from default_app.
Cheng Zhao [Sat, 24 May 2014 03:18:06 +0000 (11:18 +0800)]
Override app version and name when loading apps from default_app.

Fixes #346.