Cheng Zhao [Wed, 24 Jun 2015 11:04:08 +0000 (19:04 +0800)]
Always initailize webContents in BrowserWindow
Cheng Zhao [Wed, 24 Jun 2015 10:39:02 +0000 (18:39 +0800)]
Remove usages of JS IDWeakMap in browser-window
Cheng Zhao [Wed, 24 Jun 2015 09:58:12 +0000 (17:58 +0800)]
Make each class only have one weak map
Cheng Zhao [Wed, 24 Jun 2015 08:54:20 +0000 (16:54 +0800)]
Add Values() method for IDWeakMap
Cheng Zhao [Wed, 24 Jun 2015 08:37:48 +0000 (16:37 +0800)]
Move "id" and "fromId" to C++
Cheng Zhao [Wed, 24 Jun 2015 08:14:49 +0000 (16:14 +0800)]
Initialize defaultSession after app is ready
Cheng Zhao [Wed, 24 Jun 2015 07:37:04 +0000 (15:37 +0800)]
Make Session trackable
Cheng Zhao [Wed, 24 Jun 2015 07:09:50 +0000 (15:09 +0800)]
Make sure each C++ WebContents has only one JS WebContents
Cheng Zhao [Wed, 24 Jun 2015 06:49:08 +0000 (14:49 +0800)]
Enable storing TrackableObject in other C++ class
Cheng Zhao [Wed, 24 Jun 2015 06:36:05 +0000 (14:36 +0800)]
Add mate::TrackableObject
Cheng Zhao [Wed, 24 Jun 2015 05:38:55 +0000 (13:38 +0800)]
Don't make IDWeakMap public API
Cheng Zhao [Wed, 24 Jun 2015 05:35:39 +0000 (13:35 +0800)]
Make the JS IDWeakMap a thin wrapper of C++ IDWeakMap
Cheng Zhao [Wed, 24 Jun 2015 05:22:09 +0000 (13:22 +0800)]
Add C++ version of IDWeakMap
Cheng Zhao [Wed, 24 Jun 2015 04:25:06 +0000 (12:25 +0800)]
Merge pull request #2043 from atom/default-session
Add app.defaultSession
Cheng Zhao [Wed, 24 Jun 2015 04:01:19 +0000 (12:01 +0800)]
Keep compatibility with app.resolveProxy
Cheng Zhao [Wed, 24 Jun 2015 03:59:11 +0000 (11:59 +0800)]
Move resolveProxy From app to session
Cheng Zhao [Wed, 24 Jun 2015 02:45:22 +0000 (10:45 +0800)]
Merge pull request #2027 from deepak1556/devtools_file_save_patch
devtools: writing to filesystem in FILE thread
Cheng Zhao [Tue, 23 Jun 2015 15:40:41 +0000 (23:40 +0800)]
Add app.defaultSession
deepak1556 [Mon, 22 Jun 2015 02:00:33 +0000 (07:30 +0530)]
devtools: write to file in FILE thread
Cheng Zhao [Tue, 23 Jun 2015 15:02:49 +0000 (23:02 +0800)]
mac: Set NSHighResolutionCapable in Info.plist, close #2020
Cheng Zhao [Tue, 23 Jun 2015 14:57:08 +0000 (22:57 +0800)]
Merge pull request #2039 from atom/cleanup-web-contents-js
Some cleanup of WebContents and BrowserWindow code
Cheng Zhao [Tue, 23 Jun 2015 14:39:12 +0000 (22:39 +0800)]
Merge pull request #2030 from deepak1556/file_download_patch
browser: creating download manager delegate to handle downloads
Cheng Zhao [Tue, 23 Jun 2015 14:11:59 +0000 (22:11 +0800)]
Clean up coffee files
Cheng Zhao [Tue, 23 Jun 2015 13:27:50 +0000 (21:27 +0800)]
Emit ATOM_BROWSER_RELEASE_RENDER_VIEW in C++
deepak1556 [Mon, 22 Jun 2015 11:43:49 +0000 (17:13 +0530)]
browser: creating download manager delegate to handle downloads
Cheng Zhao [Tue, 23 Jun 2015 12:14:03 +0000 (20:14 +0800)]
Remove all calls to node::MakeCallback
node::MakeCallback is doing too much for us, avoid calling it.
Cheng Zhao [Tue, 23 Jun 2015 11:46:37 +0000 (19:46 +0800)]
Add EmitEvent function to replace node::MakeCallback
Cheng Zhao [Tue, 23 Jun 2015 09:22:14 +0000 (17:22 +0800)]
Remove calls to v8::Isolate::GetCurrent
It is generally a bad thing to do since we might have multiple Isolates.
Cheng Zhao [Tue, 23 Jun 2015 08:43:55 +0000 (16:43 +0800)]
Fix release render view with wrong ID
Cheng Zhao [Tue, 23 Jun 2015 08:34:22 +0000 (16:34 +0800)]
Omit extra transfer of new-window event
Cheng Zhao [Tue, 23 Jun 2015 08:19:12 +0000 (16:19 +0800)]
Clean up SetAllowTransparency
Cheng Zhao [Tue, 23 Jun 2015 08:16:10 +0000 (16:16 +0800)]
Implement getId in C++
Cheng Zhao [Tue, 23 Jun 2015 08:09:34 +0000 (16:09 +0800)]
Don't include routing ID in WebContents's ID
Cheng Zhao [Tue, 23 Jun 2015 06:22:17 +0000 (14:22 +0800)]
Bump v0.28.3
Cheng Zhao [Tue, 23 Jun 2015 05:34:40 +0000 (13:34 +0800)]
Merge pull request #2014 from atom/enable-zygote
Use zygote process on Linux
Cheng Zhao [Tue, 23 Jun 2015 04:38:02 +0000 (12:38 +0800)]
Merge pull request #2034 from hongrich/internalModuleReadFile-asar-unpack
Update internalModuleReadFile to support unpacked asar files
Cheng Zhao [Tue, 23 Jun 2015 03:12:23 +0000 (11:12 +0800)]
Merge pull request #2028 from preco21/master
Translate docs to korean (Re PR)
Cheng Zhao [Tue, 23 Jun 2015 02:20:46 +0000 (10:20 +0800)]
Merge pull request #2019 from atom/pdf-api-doc
Add usage sample code of printToPDF API.
Cheng Zhao [Tue, 23 Jun 2015 02:18:43 +0000 (10:18 +0800)]
win: Fix building, close #2018
Cheng Zhao [Tue, 23 Jun 2015 02:04:42 +0000 (10:04 +0800)]
Merge pull request #1981 from atom/cookies-api
Implement Cookies api
Cheng Zhao [Tue, 23 Jun 2015 02:03:40 +0000 (10:03 +0800)]
Merge pull request #2009 from deepak1556/webview_patch
override: set window.opener to null for webview
Rich Hong [Mon, 22 Jun 2015 23:38:47 +0000 (19:38 -0400)]
Update internalModuleReadFile to support unpacked asar files
Add tests for reading unpacked files using both fs.readFileSync and
internalModuleReadFile
Kevin Sawicki [Mon, 22 Jun 2015 15:49:40 +0000 (08:49 -0700)]
Merge pull request #2024 from atom/dev-tools-doc
:memo: Add missing BrowserWindow.isDevToolsOpened method.
Plusb Preco [Mon, 22 Jun 2015 05:06:06 +0000 (14:06 +0900)]
First translation
Translate docs to korean
Haojian Wu [Sun, 21 Jun 2015 02:56:40 +0000 (10:56 +0800)]
:memo: Add missing BrowserWindow.isDevToolsOpened method.
Haojian Wu [Sat, 20 Jun 2015 07:18:21 +0000 (15:18 +0800)]
Add usage sample code of printToPDF API.
Haojian Wu [Sat, 20 Jun 2015 02:42:18 +0000 (10:42 +0800)]
Update cookies spec.
Haojian Wu [Sat, 20 Jun 2015 02:41:40 +0000 (10:41 +0800)]
Fix more code styles.
Cheng Zhao [Fri, 19 Jun 2015 15:11:53 +0000 (23:11 +0800)]
Move headers to atom/common
Cheng Zhao [Fri, 19 Jun 2015 14:56:10 +0000 (22:56 +0800)]
Make process.argv work with zygote
Cheng Zhao [Fri, 19 Jun 2015 14:01:32 +0000 (22:01 +0800)]
Update libchromiumcontent to enable zygote process
Cheng Zhao [Fri, 19 Jun 2015 13:53:29 +0000 (21:53 +0800)]
Only append --register-standard-schemes when needed
Cheng Zhao [Fri, 19 Jun 2015 08:21:29 +0000 (16:21 +0800)]
Merge pull request #1998 from deepak1556/process_patch
process: add hang method
Cheng Zhao [Fri, 19 Jun 2015 08:16:46 +0000 (16:16 +0800)]
Merge pull request #1970 from deepak1556/scheme_patch
protocol: api to register custom schemes to standard schemes
Haojian Wu [Fri, 19 Jun 2015 06:18:22 +0000 (14:18 +0800)]
Make cookie aligns to Chrome's.
Haojian Wu [Thu, 18 Jun 2015 10:38:32 +0000 (18:38 +0800)]
Use webContents BrowserContext.
Also fix some code styles.
Haojian Wu [Tue, 16 Jun 2015 09:23:29 +0000 (17:23 +0800)]
Move cookies APIs to webContents.session.cookies namespace.
Haojian Wu [Tue, 16 Jun 2015 02:37:39 +0000 (10:37 +0800)]
Add cookies spec.
Haojian Wu [Mon, 15 Jun 2015 13:52:15 +0000 (21:52 +0800)]
:memo: add cookies doc.
Haojian Wu [Mon, 15 Jun 2015 13:51:08 +0000 (21:51 +0800)]
Move set status code into error.
Haojian Wu [Mon, 15 Jun 2015 13:21:53 +0000 (21:21 +0800)]
Fix cpplint.
Haojian Wu [Mon, 15 Jun 2015 13:18:40 +0000 (21:18 +0800)]
Add cookies.set API.
Haojian Wu [Mon, 15 Jun 2015 07:33:09 +0000 (15:33 +0800)]
Add cookies.remove API.
Haojian Wu [Sun, 14 Jun 2015 08:19:53 +0000 (16:19 +0800)]
Implement cookies.get API.
deepak1556 [Thu, 18 Jun 2015 15:44:45 +0000 (21:14 +0530)]
override: set window.opener to null for webview
Cheng Zhao [Thu, 18 Jun 2015 10:25:42 +0000 (18:25 +0800)]
Merge pull request #2004 from atom/remove-global-browser-context
Remove global browser context
Cheng Zhao [Thu, 18 Jun 2015 09:19:29 +0000 (17:19 +0800)]
Remove AtomBrowserContext::Get
Cheng Zhao [Thu, 18 Jun 2015 09:18:11 +0000 (17:18 +0800)]
Use the BrowserContext from protocol
Cheng Zhao [Thu, 18 Jun 2015 09:01:23 +0000 (17:01 +0800)]
Replace a few calls to AtomBrowserMainParts::Get.
These calls replies on global BrowserContext, we can just make them use
the future default BrowserContext.
Cheng Zhao [Thu, 18 Jun 2015 08:59:03 +0000 (16:59 +0800)]
Make api::Protocol per-context
deepak1556 [Wed, 17 Jun 2015 14:43:43 +0000 (20:13 +0530)]
process: add hang method
Cheng Zhao [Thu, 18 Jun 2015 08:33:12 +0000 (16:33 +0800)]
Move BrowserProcess to BrowserMainParts
Cheng Zhao [Thu, 18 Jun 2015 08:31:55 +0000 (16:31 +0800)]
Don't rely on real focus/blur events in tests
It is super unreliable.
Cheng Zhao [Thu, 18 Jun 2015 08:17:13 +0000 (16:17 +0800)]
win: Fix setContentSize changing window position
Close #1934.
Cheng Zhao [Thu, 18 Jun 2015 07:55:59 +0000 (15:55 +0800)]
Merge pull request #1997 from deepak1556/api_app_patch
app: adding focus/blur events
deepak1556 [Thu, 18 Jun 2015 05:59:08 +0000 (11:29 +0530)]
app: adding browser-window-focus/blur events
Cheng Zhao [Thu, 18 Jun 2015 05:15:13 +0000 (13:15 +0800)]
Bump v0.28.2
Cheng Zhao [Thu, 18 Jun 2015 05:09:02 +0000 (13:09 +0800)]
mac: Use NSFileManager::resultingItemURL for moving file to trash
This allows the deleted file to be restored, fixes #2001.
Cheng Zhao [Thu, 18 Jun 2015 04:59:13 +0000 (12:59 +0800)]
Update how to rebrand from source, close #1999
Cheng Zhao [Thu, 18 Jun 2015 04:42:02 +0000 (12:42 +0800)]
Update brightray
deepak1556 [Fri, 12 Jun 2015 07:58:23 +0000 (13:28 +0530)]
protocol: api to register custom schemes to standard schemes
Cheng Zhao [Wed, 17 Jun 2015 07:52:29 +0000 (15:52 +0800)]
Handle ".." in asar path, fix #1982
Cheng Zhao [Wed, 17 Jun 2015 04:38:36 +0000 (12:38 +0800)]
Update brightray, close #1025
Cheng Zhao [Wed, 17 Jun 2015 04:22:56 +0000 (12:22 +0800)]
Merge pull request #1835 from hokein/pdf-api
Add `BrowserWindow.printToPDF` API Implementation
Cheng Zhao [Wed, 17 Jun 2015 04:00:26 +0000 (12:00 +0800)]
Merge pull request #1995 from atom/request-http-job
Implement protocol.RequestHttpJob
Cheng Zhao [Wed, 17 Jun 2015 03:34:47 +0000 (11:34 +0800)]
Fix cpplint warnings
Cheng Zhao [Wed, 17 Jun 2015 03:32:39 +0000 (11:32 +0800)]
docs: protocol.RequestHttpJob
Cheng Zhao [Wed, 17 Jun 2015 03:30:31 +0000 (11:30 +0800)]
Use |request|'s headers if possible
Cheng Zhao [Wed, 17 Jun 2015 03:20:09 +0000 (11:20 +0800)]
Allow setting referrer
Cheng Zhao [Wed, 17 Jun 2015 03:11:13 +0000 (11:11 +0800)]
Use |request|'s method if |method| is not specified
Cheng Zhao [Wed, 17 Jun 2015 03:04:15 +0000 (11:04 +0800)]
Clear pending_buffer_ at correct time
Cheng Zhao [Wed, 17 Jun 2015 02:57:26 +0000 (10:57 +0800)]
Allow setting method for RequestHttpJob
Cheng Zhao [Wed, 17 Jun 2015 02:19:58 +0000 (10:19 +0800)]
Don't need buffer for piping data
Cheng Zhao [Wed, 17 Jun 2015 01:31:33 +0000 (09:31 +0800)]
Make URLRequestFetchJob actually work
Paul Betts [Wed, 17 Jun 2015 01:18:14 +0000 (18:18 -0700)]
Merge pull request #1994 from atom/paulcbetts-patch-1
Note that setPressedImage only has an effect on OS X
Paul Betts [Wed, 17 Jun 2015 01:17:51 +0000 (18:17 -0700)]
Note that setPressedImage only has an effect on OS X
Haojian Wu [Tue, 16 Jun 2015 12:17:58 +0000 (20:17 +0800)]
:memo: Add missing printToPDF API in webview.
Haojian Wu [Tue, 16 Jun 2015 11:42:17 +0000 (19:42 +0800)]
Copy pdf data on IO thread to avoid causing main process hangs.
Haojian Wu [Sat, 13 Jun 2015 13:39:06 +0000 (21:39 +0800)]
Also Expose printToPDF to BrowserWindow.
Haojian Wu [Sat, 13 Jun 2015 13:23:45 +0000 (21:23 +0800)]
Expose Print API to webContents and webView.
Also move the print implementation from window to webContents.