Haojian Wu
5ef9c7e1a1
Add spec for download item.
2015-09-21 21:44:51 +08:00
Haojian Wu
22168bc6d8
Allow emitting 'done' event when user cancel the download saving dialog.
2015-09-21 21:44:18 +08:00
Haojian Wu
57bf0cb615
Refractor in completed
event in DownloadItem.
...
* Rename `completed` to `done`, making it align with Chromium's style.
* Add 'state' in `done` event's result. It can check the download item final
status: cancelled, completed, interrupted.
2015-09-21 14:00:38 +08:00
Haojian Wu
997ac91fe0
Add donwloadItem.getContentDisposition()
API.
2015-09-21 09:38:38 +08:00
Haojian Wu
4391e81dfe
Keep compatibility with old APIs.
2015-09-21 09:38:06 +08:00
Haojian Wu
d0ee30101d
Fix cpplint warnings.
2015-09-21 09:34:49 +08:00
Haojian Wu
dd38131704
📝 Add DownloadItem doc.
2015-09-21 09:34:42 +08:00
Haojian Wu
5ec74451ef
Introduce DownloadItem for supporting more downloading features.
2015-09-20 18:56:10 +08:00
Haojian Wu
87b9b0bc31
Implement session.setOpenDownloadDialog() API.
2015-09-20 18:45:34 +08:00
Cheng Zhao
e30dd943db
Update brightray for #2808
2015-09-17 15:01:33 +08:00
Cheng Zhao
a386bb4edf
Merge pull request #2815 from atom/release-resources
...
Release the resources of native window immediately when it is closed
2015-09-17 14:56:21 +08:00
Cheng Zhao
e73c655d65
No need to delete window in Destory
...
The native window is now automatically deleted after it gets closed.
2015-09-17 11:32:19 +08:00
Cheng Zhao
e3c64d7971
Release the native window after window gets closed
...
Previously we delete the window after the JS object gets garbage
collected, which is too late for releasing some resources.
2015-09-17 11:30:17 +08:00
Cheng Zhao
9fd5a64cd8
Update brightray to unsubscribe from NSNotificationCenter
2015-09-17 11:25:27 +08:00
Cheng Zhao
ec7ea3005d
Merge pull request #2800 from seanchas116/app-getlocale
...
App app.getLocale() API to get application locale
2015-09-16 23:25:25 +08:00
Cheng Zhao
3f881e8617
Merge pull request #2798 from jonatasfreitasv/master
...
Three api docs translated to pt-BR
2015-09-16 23:18:28 +08:00
Cheng Zhao
cb13d8bdc7
Update brightray for #2790
2015-09-16 19:59:03 +08:00
Cheng Zhao
11ee2c47d0
Merge pull request #2789 from deepak1556/protocol_response_headers_patch
...
protocol: respect provided mimetype in generated response headers
2015-09-16 19:50:33 +08:00
Ryohei Ikegami
7b75b29265
Add docs for app.getLocale()
2015-09-16 17:17:49 +09:00
Ryohei Ikegami
b9c274929b
Add app.getLocale()
2015-09-16 17:16:21 +09:00
Jonatas Freitas
842ec3d11b
pt-BR README.md updated.
2015-09-16 00:39:14 -03:00
Jonatas Freitas
244e184b7e
api/shell translated to pt-BR
2015-09-16 00:36:43 -03:00
Jonatas Freitas
a3a9bbb979
api/process.md translated to pt-BR
2015-09-16 00:10:35 -03:00
Robo
57c910faef
protocol: respect provided mimetype in generated response headers
2015-09-16 08:34:04 +05:30
Cheng Zhao
08f5c32306
script: Call Electron binary from Debug build
...
We usually don't build Release version on the development machine.
2015-09-16 09:21:55 +08:00
Cheng Zhao
69cc3ab5ef
docs: Make description of fullscreen more precise
...
Closes #2793 .
2015-09-16 09:20:16 +08:00
Cheng Zhao
d8f77e5134
Merge pull request #2796 from atom/fix-wrong-check-activate-event
...
Fix a wrong check in emitting 'activate-with-no-open-windows' event.
2015-09-16 09:04:33 +08:00
Haojian Wu
a3e9ff67b0
Fix a wrong check in emitting 'activate-with-no-open-windows' event.
2015-09-16 08:36:01 +08:00
Cheng Zhao
ae776b523c
Merge pull request #2784 from neutrous/patch-1
...
Update quick-start.md for zh-CN
2015-09-15 21:28:59 +08:00
Cheng Zhao
10b1ea7244
Bump v0.32.3
2015-09-15 15:30:22 +08:00
Cheng Zhao
6615787775
Update node, fixes #2786
2015-09-15 15:19:43 +08:00
Cheng Zhao
cf6008a05e
Merge pull request #2787 from atom/test
...
Fix a few failing specs on the CI machine with OS X 10.10 SDK
2015-09-15 15:02:08 +08:00
Cheng Zhao
f1787d747a
The crash-reporter test is not reliable on CI machine
2015-09-15 14:43:11 +08:00
Cheng Zhao
eced01eb9d
spec: Delay timeout of window.opener test
2015-09-15 14:37:27 +08:00
Cheng Zhao
357c7af3c0
spec: Check existence of webview before removing it
2015-09-15 13:45:26 +08:00
Cheng Zhao
817363b955
spec: Run tests on OS X CI machine
2015-09-15 13:42:44 +08:00
Cheng Zhao
311a5456ec
Make crash-reporter spec more reliable
2015-09-15 13:18:01 +08:00
Cheng Zhao
3cf34fe40f
Merge pull request #2785 from atom/fix-devtools-extension
...
Add BrowserWindow.isDevToolsFocused and fix "devtools-focused" not working
2015-09-15 12:56:36 +08:00
Cheng Zhao
2a3a65f67c
Update brightray to use 10.10 SDK
2015-09-15 12:15:15 +08:00
Cheng Zhao
c9ee6b4caf
docs: BrowserWindow.isDevToolsFocused
2015-09-15 11:43:45 +08:00
Cheng Zhao
b72a5884f2
Add BrowserWindow.isDevToolsFocused
2015-09-15 11:43:45 +08:00
Cheng Zhao
97857aa152
Update brightray for DevToolsFocused fix
2015-09-15 11:43:45 +08:00
Cheng Zhao
fe2219a635
Merge pull request #2777 from atom/dock-clicked
...
Implement 'activate' event for app.
2015-09-15 11:17:41 +08:00
Wujg
c99ec368b3
Update quick-start.md for zh-CN
...
Fixed some typo.
2015-09-15 11:15:11 +08:00
Haojian Wu
9652ed6508
More fixes after code review.
2015-09-14 19:43:21 -07:00
Cheng Zhao
dc59b4fa06
Merge pull request #2783 from atom/fix-devtools-extension
...
Fix `BrowserWindow.addDevToolsExtension` not working
2015-09-15 10:38:02 +08:00
Cheng Zhao
a1ccfdf777
Merge pull request #2782 from preco21/master
...
Update as upstream
2015-09-15 09:46:13 +08:00
Haojian Wu
40d93ce55a
Deprecate 'activate-with-no-open-windows' event.
2015-09-14 18:36:05 -07:00
Haojian Wu
377e7ee3a7
Implement 'activiate' event instead of 'activate-with-open-windows'.
2015-09-14 18:34:27 -07:00
Cheng Zhao
8a8b11cf10
Do not use did-finish-load to detect whether WebContents is ready
...
The WebContents JS object can be created way later after the C++ object
gets created.
2015-09-15 09:21:15 +08:00