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

11 years agoMerge pull request #1921 from samueleaton/patch-1
Cheng Zhao [Wed, 10 Jun 2015 04:48:57 +0000 (12:48 +0800)]
Merge pull request #1921 from samueleaton/patch-1

adds display:inline-block to style tag

11 years agoMerge pull request #1918 from kirkouimet/master
Cheng Zhao [Wed, 10 Jun 2015 04:48:45 +0000 (12:48 +0800)]
Merge pull request #1918 from kirkouimet/master

Fixing an issue compiling on Windows and improving webview interopability with other JavaScript libraries

11 years agoMerge branch 'master' of https://github.com/alexwarren/electron into alexwarren-master
Cheng Zhao [Wed, 10 Jun 2015 04:39:59 +0000 (12:39 +0800)]
Merge branch 'master' of https://github.com/alexwarren/electron into alexwarren-master

11 years agoMerge pull request #1911 from thomastuts/doc-fixes
Cheng Zhao [Wed, 10 Jun 2015 04:35:55 +0000 (12:35 +0800)]
Merge pull request #1911 from thomastuts/doc-fixes

Documentation fixes: grammar, spelling and code

11 years agoMerge pull request #1922 from atom/remote-clipboard
Cheng Zhao [Wed, 10 Jun 2015 04:34:32 +0000 (12:34 +0800)]
Merge pull request #1922 from atom/remote-clipboard

Don't use clipboard module in renderer process on Linux

11 years agoDon't rely on JS for setting optional argument
Cheng Zhao [Wed, 10 Jun 2015 04:12:37 +0000 (12:12 +0800)]
Don't rely on JS for setting optional argument

It makes the code much shorter and cleaner.

11 years agoFixing cpplint line width
Kirk Ouimet [Wed, 10 Jun 2015 04:06:40 +0000 (21:06 -0700)]
Fixing cpplint line width

11 years agoTransfer Buffer through "remote"
Cheng Zhao [Tue, 9 Jun 2015 09:46:33 +0000 (17:46 +0800)]
Transfer Buffer through "remote"

11 years agolinux: Don't use clipboard module in renderer process
Cheng Zhao [Tue, 9 Jun 2015 10:25:24 +0000 (18:25 +0800)]
linux: Don't use clipboard module in renderer process

11 years agoadds display:inline-block to style tag
Sam Eaton [Wed, 10 Jun 2015 03:51:10 +0000 (21:51 -0600)]
adds display:inline-block to style tag

The example attempts to change the height of an inline element (webview), which has no effect.
The height will now take effect.

11 years agoGuarding webview attributes against polluted Object.prototypes
Kirk Ouimet [Tue, 9 Jun 2015 23:17:00 +0000 (16:17 -0700)]
Guarding webview attributes against polluted Object.prototypes

Ran into an error with the buildParams function breaking when using a JavaScript library that modified the Object.prototype, this small fix resolves the issue.

11 years agoConvert std::string path to a FilePath to get compiling working on Windows
kirkouimet [Tue, 9 Jun 2015 22:56:54 +0000 (15:56 -0700)]
Convert std::string path to a FilePath to get compiling working on Windows

11 years agoMake consistent with other example
Alex Warren [Tue, 9 Jun 2015 21:09:23 +0000 (22:09 +0100)]
Make consistent with other example

11 years agoCorrections to menu.md
Alex Warren [Tue, 9 Jun 2015 21:08:34 +0000 (22:08 +0100)]
Corrections to menu.md

11 years agoClean up Selenium webdriver code example
Thomas Tuts [Tue, 9 Jun 2015 16:18:47 +0000 (18:18 +0200)]
Clean up Selenium webdriver code example

11 years agoReplace shorthand if-statement notation in Pepper Flash docs
Thomas Tuts [Tue, 9 Jun 2015 16:17:38 +0000 (18:17 +0200)]
Replace shorthand if-statement notation in Pepper Flash docs

11 years agoReplace shorthand if-statement notation in quick start docs
Thomas Tuts [Tue, 9 Jun 2015 16:17:12 +0000 (18:17 +0200)]
Replace shorthand if-statement notation in quick start docs

11 years agoAdd missing semicolons in devtools extension docs
Thomas Tuts [Tue, 9 Jun 2015 16:15:54 +0000 (18:15 +0200)]
Add missing semicolons in devtools extension docs

11 years agoRemove trailing commas in desktop environment docs
Thomas Tuts [Tue, 9 Jun 2015 16:15:30 +0000 (18:15 +0200)]
Remove trailing commas in desktop environment docs

11 years agoAdd missing semicolon in webview tag documentation
Thomas Tuts [Tue, 9 Jun 2015 16:14:06 +0000 (18:14 +0200)]
Add missing semicolon in webview tag documentation