]> khamidou — GitHub mirrors - electron.git/log
electron.git
11 years agoFix cpplint.
Haojian Wu [Mon, 15 Jun 2015 13:21:53 +0000 (21:21 +0800)]
Fix cpplint.

11 years agoAdd cookies.set API.
Haojian Wu [Mon, 15 Jun 2015 13:18:40 +0000 (21:18 +0800)]
Add cookies.set API.

11 years agoAdd cookies.remove API.
Haojian Wu [Mon, 15 Jun 2015 07:33:09 +0000 (15:33 +0800)]
Add cookies.remove API.

11 years agoImplement cookies.get API.
Haojian Wu [Sun, 14 Jun 2015 08:19:53 +0000 (16:19 +0800)]
Implement cookies.get API.

11 years agoMerge pull request #2004 from atom/remove-global-browser-context
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

11 years agoRemove AtomBrowserContext::Get
Cheng Zhao [Thu, 18 Jun 2015 09:19:29 +0000 (17:19 +0800)]
Remove AtomBrowserContext::Get

11 years agoUse the BrowserContext from protocol
Cheng Zhao [Thu, 18 Jun 2015 09:18:11 +0000 (17:18 +0800)]
Use the BrowserContext from protocol

11 years agoReplace a few calls to AtomBrowserMainParts::Get.
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.

11 years agoMake api::Protocol per-context
Cheng Zhao [Thu, 18 Jun 2015 08:59:03 +0000 (16:59 +0800)]
Make api::Protocol per-context

11 years agoMove BrowserProcess to BrowserMainParts
Cheng Zhao [Thu, 18 Jun 2015 08:33:12 +0000 (16:33 +0800)]
Move BrowserProcess to BrowserMainParts

11 years agoDon't rely on real focus/blur events in tests
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.

11 years agowin: Fix setContentSize changing window position
Cheng Zhao [Thu, 18 Jun 2015 08:17:13 +0000 (16:17 +0800)]
win: Fix setContentSize changing window position

Close #1934.

11 years agoMerge pull request #1997 from deepak1556/api_app_patch
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

11 years agoapp: adding browser-window-focus/blur events
deepak1556 [Thu, 18 Jun 2015 05:59:08 +0000 (11:29 +0530)]
app: adding browser-window-focus/blur events

11 years agoBump v0.28.2 v0.28.2
Cheng Zhao [Thu, 18 Jun 2015 05:15:13 +0000 (13:15 +0800)]
Bump v0.28.2

11 years agomac: Use NSFileManager::resultingItemURL for moving file to trash
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.

11 years agoUpdate how to rebrand from source, close #1999
Cheng Zhao [Thu, 18 Jun 2015 04:59:13 +0000 (12:59 +0800)]
Update how to rebrand from source, close #1999

11 years agoUpdate brightray
Cheng Zhao [Thu, 18 Jun 2015 04:42:02 +0000 (12:42 +0800)]
Update brightray

11 years agoHandle ".." in asar path, fix #1982
Cheng Zhao [Wed, 17 Jun 2015 07:52:29 +0000 (15:52 +0800)]
Handle ".." in asar path, fix #1982

11 years agoUpdate brightray, close #1025
Cheng Zhao [Wed, 17 Jun 2015 04:38:36 +0000 (12:38 +0800)]
Update brightray, close #1025

11 years agoMerge pull request #1835 from hokein/pdf-api
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

11 years agoMerge pull request #1995 from atom/request-http-job
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

11 years agoFix cpplint warnings
Cheng Zhao [Wed, 17 Jun 2015 03:34:47 +0000 (11:34 +0800)]
Fix cpplint warnings

11 years agodocs: protocol.RequestHttpJob
Cheng Zhao [Wed, 17 Jun 2015 03:32:39 +0000 (11:32 +0800)]
docs: protocol.RequestHttpJob

11 years agoUse |request|'s headers if possible
Cheng Zhao [Wed, 17 Jun 2015 03:30:31 +0000 (11:30 +0800)]
Use |request|'s headers if possible

11 years agoAllow setting referrer
Cheng Zhao [Wed, 17 Jun 2015 03:20:09 +0000 (11:20 +0800)]
Allow setting referrer

11 years agoUse |request|'s method if |method| is not specified
Cheng Zhao [Wed, 17 Jun 2015 03:11:13 +0000 (11:11 +0800)]
Use |request|'s method if |method| is not specified

11 years agoClear pending_buffer_ at correct time
Cheng Zhao [Wed, 17 Jun 2015 03:04:15 +0000 (11:04 +0800)]
Clear pending_buffer_ at correct time

11 years agoAllow setting method for RequestHttpJob
Cheng Zhao [Wed, 17 Jun 2015 02:57:26 +0000 (10:57 +0800)]
Allow setting method for RequestHttpJob

11 years agoDon't need buffer for piping data
Cheng Zhao [Wed, 17 Jun 2015 02:19:58 +0000 (10:19 +0800)]
Don't need buffer for piping data

11 years agoMake URLRequestFetchJob actually work
Cheng Zhao [Wed, 17 Jun 2015 01:31:33 +0000 (09:31 +0800)]
Make URLRequestFetchJob actually work

11 years agoMerge pull request #1994 from atom/paulcbetts-patch-1
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

11 years agoNote 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

11 years ago:memo: Add missing printToPDF API in webview.
Haojian Wu [Tue, 16 Jun 2015 12:17:58 +0000 (20:17 +0800)]
:memo: Add missing printToPDF API in webview.

11 years agoCopy pdf data on IO thread to avoid causing main process hangs.
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.

11 years agoAlso Expose printToPDF to BrowserWindow.
Haojian Wu [Sat, 13 Jun 2015 13:39:06 +0000 (21:39 +0800)]
Also Expose printToPDF to BrowserWindow.

11 years agoExpose Print API to webContents and webView.
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.

11 years agoFix code style.
Haojian Wu [Sat, 13 Jun 2015 08:02:16 +0000 (16:02 +0800)]
Fix code style.

11 years agoSimplify the pdf-data handled code.
Haojian Wu [Sat, 13 Jun 2015 07:47:32 +0000 (15:47 +0800)]
Simplify the pdf-data handled code.

11 years agoDon't use duprecated node buffer api, fix build error on OS X.
Haojian Wu [Thu, 11 Jun 2015 07:52:48 +0000 (15:52 +0800)]
Don't use duprecated node buffer api, fix build error on OS X.

11 years ago:memo: Update docs.
Haojian Wu [Thu, 11 Jun 2015 07:04:58 +0000 (15:04 +0800)]
:memo: Update docs.

11 years agoFixing type: printBackgrounds => printBackground
Haojian Wu [Thu, 11 Jun 2015 06:43:45 +0000 (14:43 +0800)]
Fixing type: printBackgrounds => printBackground

11 years agoMake callback aligns node.js style.
Haojian Wu [Wed, 10 Jun 2015 12:07:14 +0000 (20:07 +0800)]
Make callback aligns node.js style.

11 years agoRemove some unused IPC messages.
Haojian Wu [Wed, 10 Jun 2015 10:29:07 +0000 (18:29 +0800)]
Remove some unused IPC messages.

11 years agoFix a type error.
Haojian Wu [Wed, 10 Jun 2015 07:43:33 +0000 (15:43 +0800)]
Fix a type error.

11 years agoReturn node::Buffer as a printToPDF callback result.
Haojian Wu [Wed, 10 Jun 2015 07:16:00 +0000 (15:16 +0800)]
Return node::Buffer as a printToPDF callback result.

11 years agoAdd silent and savePath options.
Haojian Wu [Wed, 10 Jun 2015 05:18:41 +0000 (13:18 +0800)]
Add silent and savePath options.

11 years agoMove PDF printing setting in JS part.
Haojian Wu [Wed, 10 Jun 2015 03:34:16 +0000 (11:34 +0800)]
Move PDF printing setting in JS part.

11 years agoMove printToPDF API to WebContents.
Haojian Wu [Tue, 9 Jun 2015 05:07:40 +0000 (13:07 +0800)]
Move printToPDF API to WebContents.

Also expose in webview.

11 years agoCleanup.
Haojian Wu [Mon, 1 Jun 2015 10:00:00 +0000 (18:00 +0800)]
Cleanup.

11 years agoFix a type error in checking function options.
Haojian Wu [Mon, 1 Jun 2015 09:08:15 +0000 (17:08 +0800)]
Fix a type error in checking function options.

11 years agoFix Linux compilation error.
Haojian Wu [Mon, 1 Jun 2015 06:58:15 +0000 (14:58 +0800)]
Fix Linux compilation error.

11 years agoFix OS X compilation error.
Haojian Wu [Mon, 1 Jun 2015 06:14:33 +0000 (14:14 +0800)]
Fix OS X compilation error.

11 years ago:memo: Add BrowserWindow.printToPDF API docs.
Haojian Wu [Mon, 1 Jun 2015 03:45:43 +0000 (11:45 +0800)]
:memo: Add BrowserWindow.printToPDF API docs.

11 years agoFix a `landscape` option error.
Haojian Wu [Mon, 1 Jun 2015 03:45:03 +0000 (11:45 +0800)]
Fix a `landscape` option error.

11 years agoAdd preview failed error.
Haojian Wu [Mon, 1 Jun 2015 03:08:40 +0000 (11:08 +0800)]
Add preview failed error.

11 years agoAdd callback function in printToPDF API.
Haojian Wu [Mon, 1 Jun 2015 02:37:27 +0000 (10:37 +0800)]
Add callback function in printToPDF API.

11 years agoAdd options to custom print settings in printToPDF API.
Haojian Wu [Sun, 31 May 2015 06:52:41 +0000 (14:52 +0800)]
Add options to custom print settings in printToPDF API.

11 years agoWrite PDF file in FILE thread.
Haojian Wu [Sun, 31 May 2015 03:07:26 +0000 (11:07 +0800)]
Write PDF file in FILE thread.

11 years agoAdd printToPDF Implementation.
Haojian Wu [Sun, 31 May 2015 03:01:35 +0000 (11:01 +0800)]
Add printToPDF Implementation.

11 years agoAdd printToPDF API skeleton.
Haojian Wu [Sun, 31 May 2015 02:24:45 +0000 (10:24 +0800)]
Add printToPDF API skeleton.

11 years agoDon't leak URLFetcher
Cheng Zhao [Tue, 16 Jun 2015 09:08:53 +0000 (17:08 +0800)]
Don't leak URLFetcher

11 years agoMerge pull request #1979 from deepak1556/remote_args_patch
Cheng Zhao [Tue, 16 Jun 2015 08:40:06 +0000 (16:40 +0800)]
Merge pull request #1979 from deepak1556/remote_args_patch

remote: handle circular reference in wrapArgs

11 years agodocs: --ignore-connections-limit
Cheng Zhao [Tue, 16 Jun 2015 08:13:46 +0000 (16:13 +0800)]
docs: --ignore-connections-limit

11 years agoremote: handle circular reference in wrapArgs
deepak1556 [Mon, 15 Jun 2015 13:41:14 +0000 (19:11 +0530)]
remote: handle circular reference in wrapArgs

11 years agoUpdate brightray for #1960
Cheng Zhao [Tue, 16 Jun 2015 08:04:03 +0000 (16:04 +0800)]
Update brightray for #1960

11 years agoMerge pull request #1980 from magicae/set-audio-mute
Cheng Zhao [Tue, 16 Jun 2015 06:46:31 +0000 (14:46 +0800)]
Merge pull request #1980 from magicae/set-audio-mute

webContents: add setAudioMuted to webContents

11 years agoUpdate brightray for #1941
Cheng Zhao [Tue, 16 Jun 2015 05:38:21 +0000 (13:38 +0800)]
Update brightray for #1941

11 years agoMerge pull request #1967 from j13z/patch-1
Cheng Zhao [Tue, 16 Jun 2015 02:30:06 +0000 (10:30 +0800)]
Merge pull request #1967 from j13z/patch-1

Add minor grammar fixes

11 years agos/liste/listen
Cheng Zhao [Tue, 16 Jun 2015 02:08:32 +0000 (10:08 +0800)]
s/liste/listen

11 years agoAdd setAudioMuted to webContents
Magica [Mon, 15 Jun 2015 13:40:49 +0000 (21:40 +0800)]
Add setAudioMuted to webContents

11 years agoprotocol: adding requestHttpJob method
deepak1556 [Fri, 29 May 2015 15:54:00 +0000 (21:24 +0530)]
protocol: adding requestHttpJob method

11 years agoAdd minor grammar fixes
Johannes Schmitz [Sat, 13 Jun 2015 14:58:18 +0000 (16:58 +0200)]
Add minor grammar fixes

11 years agoUpdate app.md to document how open-file is emitted
Benjamin Pasero [Fri, 12 Jun 2015 10:37:53 +0000 (12:37 +0200)]
Update app.md to document how open-file is emitted

On Mac, open-file is also emitted when the application is not yet running.

11 years agoBump v0.28.1 v0.28.1
Cheng Zhao [Fri, 12 Jun 2015 08:26:51 +0000 (16:26 +0800)]
Bump v0.28.1

11 years agoDon't set browser_handles_all_top_level_requests
Cheng Zhao [Fri, 12 Jun 2015 08:23:26 +0000 (16:23 +0800)]
Don't set browser_handles_all_top_level_requests

POST requests currently can not be handled on browser side.

Fix #1945.

11 years agoMerge pull request #1951 from sotayamashita/translate/quick-start-jp.md
Cheng Zhao [Fri, 12 Jun 2015 07:49:21 +0000 (15:49 +0800)]
Merge pull request #1951 from sotayamashita/translate/quick-start-jp.md

Translate quick-start.md into Japanese.

11 years agoMerge pull request #1932 from samueleaton/master
Cheng Zhao [Fri, 12 Jun 2015 07:07:17 +0000 (15:07 +0800)]
Merge pull request #1932 from samueleaton/master

adds example for "before using methods"

11 years agoUse LSGetApplicationForURL to search for app
Cheng Zhao [Fri, 12 Jun 2015 05:54:42 +0000 (13:54 +0800)]
Use LSGetApplicationForURL to search for app

It costs less.

11 years agoMerge branch 'master' of https://github.com/mattotodd/electron into mattotodd-master
Cheng Zhao [Fri, 12 Jun 2015 05:49:51 +0000 (13:49 +0800)]
Merge branch 'master' of https://github.com/mattotodd/electron into mattotodd-master

11 years agoTranlsate quick-start-jp.md: status first
Sota Yamashita [Sun, 7 Jun 2015 06:52:19 +0000 (15:52 +0900)]
Tranlsate quick-start-jp.md: status first

Translate: quick-start-jp.md

Fix bug

Tranlsate the world web

Change the method

Translate tutorial/quick-start-jp.md

Translate docs

Translate

Translate quick-start

11 years agoMerge branch 'master' of https://github.com/atom/electron
Sam Eaton [Thu, 11 Jun 2015 13:13:45 +0000 (07:13 -0600)]
Merge branch 'master' of https://github.com/atom/electron

11 years agowin: Fix running spec v0.28.0
Cheng Zhao [Thu, 11 Jun 2015 06:14:22 +0000 (14:14 +0800)]
win: Fix running spec

11 years agoBump v0.28.0
Cheng Zhao [Thu, 11 Jun 2015 04:13:18 +0000 (12:13 +0800)]
Bump v0.28.0

11 years agoMerge branch 'master' of https://github.com/atom/electron
eaton11 [Thu, 11 Jun 2015 01:28:14 +0000 (19:28 -0600)]
Merge branch 'master' of https://github.com/atom/electron

11 years agoadds 'before using methods' example
Sam Eaton [Thu, 11 Jun 2015 01:24:36 +0000 (19:24 -0600)]
adds 'before using methods' example

The document does not inform that the webview element has to be loaded
before using the element's methods. It is not clear.

11 years agoreturn bool on shell.openExternal
msullivan [Wed, 10 Jun 2015 15:06:22 +0000 (11:06 -0400)]
return bool on shell.openExternal

11 years agoUpdate node to fix crash caused by malloc
Cheng Zhao [Wed, 10 Jun 2015 13:08:54 +0000 (21:08 +0800)]
Update node to fix crash caused by malloc

11 years agowin: Fix compilation error
Cheng Zhao [Wed, 10 Jun 2015 11:34:30 +0000 (19:34 +0800)]
win: Fix compilation error

11 years agodocs: Update formats
Cheng Zhao [Wed, 10 Jun 2015 11:18:33 +0000 (19:18 +0800)]
docs: Update formats

11 years agoMerge pull request #1859 from deepak1556/client_certificate_patch
Cheng Zhao [Wed, 10 Jun 2015 11:17:41 +0000 (19:17 +0800)]
Merge pull request #1859 from deepak1556/client_certificate_patch

browser: support client certificate

11 years agoUpdate brightray
Cheng Zhao [Wed, 10 Jun 2015 11:16:23 +0000 (19:16 +0800)]
Update brightray

11 years agoMerge pull request #1925 from atom/update-iojs
Cheng Zhao [Wed, 10 Jun 2015 11:11:57 +0000 (19:11 +0800)]
Merge pull request #1925 from atom/update-iojs

Update to io.js v2.2.1

11 years agoUpdate iojs to fix linking on Linux
Cheng Zhao [Wed, 10 Jun 2015 08:40:35 +0000 (16:40 +0800)]
Update iojs to fix linking on Linux

11 years agoDefine V8_BASE
Cheng Zhao [Wed, 10 Jun 2015 08:30:47 +0000 (16:30 +0800)]
Define V8_BASE

11 years agoUpdate io.js to v2.2.1
Cheng Zhao [Wed, 10 Jun 2015 08:19:19 +0000 (16:19 +0800)]
Update io.js to v2.2.1

11 years agoMake asar work with internalModuleReadFile and internalModuleStat
Cheng Zhao [Wed, 10 Jun 2015 08:18:55 +0000 (16:18 +0800)]
Make asar work with internalModuleReadFile and internalModuleStat

11 years agoFix calls to deprecated node::ThrowError API
Cheng Zhao [Wed, 10 Jun 2015 06:21:09 +0000 (14:21 +0800)]
Fix calls to deprecated node::ThrowError API

11 years agoUpdate to node.gyp's changes
Cheng Zhao [Wed, 10 Jun 2015 06:11:34 +0000 (14:11 +0800)]
Update to node.gyp's changes

11 years agoSuppress some tests on CI
Cheng Zhao [Wed, 10 Jun 2015 04:52:04 +0000 (12:52 +0800)]
Suppress some tests on CI

The Mac runner of Travis CI is too flacky.