Electron Bot
449bd8e408
Bump v4.0.0-nightly.20180928
2018-09-28 20:13:25 -07:00
Samuel Attard
24576fd0f1
Revert "Bump v4.0.0-nightly.20180927"
...
This reverts commit 40bc4afcb3
.
2018-09-29 00:04:19 +12:00
Electron Bot
40bc4afcb3
Bump v4.0.0-nightly.20180927
2018-09-27 23:51:02 -07:00
Samuel Attard
462d65c203
Revert "Bump v4.0.0-nightly.20180927"
...
This reverts commit 8c1d6f2aa2
.
2018-09-28 16:47:41 +10:00
Electron Bot
8c1d6f2aa2
Bump v4.0.0-nightly.20180927
2018-09-27 23:01:31 -07:00
Samuel Attard
3006974106
Revert "Bump v4.0.0-nightly.20180927"
...
This reverts commit 06aaf71706
.
2018-09-28 15:34:47 +10:00
Electron Bot
06aaf71706
Bump v4.0.0-nightly.20180927
2018-09-27 21:03:47 -07:00
Samuel Attard
d51633e598
Revert "Bump v4.0.0-nightly.20180927"
...
This reverts commit c48306c80f
.
2018-09-28 13:57:04 +10:00
Electron Bot
c48306c80f
Bump v4.0.0-nightly.20180927
2018-09-27 20:22:40 -07:00
Samuel Attard
32a9df2940
refactor: clean up the default app implementation ( #14719 )
...
* Disable nodeIntegration
* Enable contextIsolation
* Re-implement the CSP security check to handle running in
contextIsolation
* Disable bad DCHECKS for the promise helper
* Remove the unused "-d" flag for the electron binary
* Added a way to hide the default help output for electron devs who
don't want to see it every time
2018-09-21 15:24:42 +10:00
Samuel Attard
5541cab1ba
docs: type the promises in our docs ( #14715 )
2018-09-20 22:37:56 +10:00
Samuel Attard
54ef906832
[RFC] perf: use an internal module resolver to improve require performance ( #14633 )
...
* perf: use an internal module resolver instead of relative requires
* perf: memoize the results of getting exported Electron properties
* perf: make internal module changes consistent across sandboxed / bundled files
2018-09-20 13:43:26 +10:00
Milan Burda
e22142ef9c
feat: add process.takeHeapSnapshot() / webContents.takeHeapSnapshot() ( #14456 )
2018-09-18 11:00:31 -07:00
Charles Kerr
eeeeae3bff
refactor: use one script to launch all linters ( #14622 )
...
* refactor: use one script to launch py, js, cc linters
* lint changed files as precommit hook
* fix py linter in GN build
* add overlooked files to linter search path
2018-09-17 16:09:02 -05:00
Samuel Attard
6d01952e66
chore: replace standard with eslint-config-standard and add custom rules ( #14636 )
...
* chore: replace standard with eslint-config-standard
This adds support for --cache so linting JS only takes ~1 second and only lints things that changed
It also allows us to add custom linting rules
* chore: add eslint-plugin-mocha and enable the no-exclusive-tests rule
This will block anyone from pushing / merging a `.only` test or describe
2018-09-16 03:51:23 +10:00
Samuel Attard
6ad8583a8b
chore: remove --version from "create-api-json" ( #14634 )
...
The variable already defaults to this value and this `$` syntax does not work cross platform
Closes #13462
2018-09-16 01:40:20 +10:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Samuel Attard
238ea29fa8
chore: update package.json scripts for gn build and automated releases ( #14612 )
...
* Removes un-used and non-functional code coverage helpers
* Removes un-used release script aliases
* Moves TLS to a lib folder for cleaner directory structure
* Implements start.py as start.js for the GN build
* Adds a re-usable getElectronExec helper for future scripts
* Refactors spec runner to use the helper
2018-09-14 02:57:39 +10:00
Samuel Attard
22ab85c39e
chore: update request dep to remove warning about cryptiles ( #14610 )
2018-09-14 01:35:18 +10:00
Samuel Attard
05783d56f7
chore: make the 'npm run test' command work out of the box ( #14602 )
2018-09-14 01:30:12 +10:00
Alexey Kuzmin
7d7401987a
chore: generate API definitions in the project root ( #14578 )
...
'out' folder doesn't exist in a freshly cloned repo,
and there are not reasons to use it anyway.
2018-09-13 08:08:08 -05:00
Charles Kerr
7b71d7cbce
feat: run 'cpplint -c' as a precommit hook ( #14586 )
...
* feat: `cpplint -c` all changed files, even staged
* refactor: simplify cpplint invocation
* fix: cpplint now EXIT_FAILUREs on linter errors
* feat: precommit hook runs 'cpplint -c'
2018-09-12 14:43:54 -05:00
Felix Rieseberg
f012ed8357
docs: Update menu-item with new position props ( #14465 )
...
* docs: Update menu-item with new position props
* 📦 Update electron-typescript-definitions
2018-09-09 20:03:58 -07:00
Jeremy Apthorp
72526927d9
build: remove gyp build files ( #14097 )
...
* build: remove gyp build files
* docs: update build instructions
* build: temporary restore electron.gyp
* build: do not update Electron version in the electron.gyp
* chore: remove unused submodules
* ci: remove obsolete CI scripts and configs
* chore: remove obsolete scripts
* chore: remove obsolete functions from lib/util.py
* ci: send Slack notification for nightly build results
2018-09-09 10:15:32 +09:00
Charles Kerr
7f22442228
refactor: port the cpplint runner to javascript ( #14440 )
...
* refactor: port the cpplint runner to javascript
* fix: address code review suggestions
* refactor: make .cc, bootstrapped test funcs inline
* refactor: make CC_ROOTS inline too
* fix: test process.mainModule before calling main()
* refactor: reverse logic order in findChangedFiles
* refactor: make findChangedFiles() more readable
* fix: copy-paste error introduced in 3b17400
* chore: fix grammar in log message
2018-09-05 18:16:42 -05:00
Electron Bot
4d23e200f0
Bump v4.0.0-nightly.20180905
2018-09-05 10:06:13 -07:00
Shelley Vohr
cbb460d476
Revert "Bump v4.0.0-nightly.20180830"
...
This reverts commit 5f00e58029
.
2018-08-30 23:12:00 -07:00
Electron Bot
5f00e58029
Bump v4.0.0-nightly.20180830
2018-08-30 22:10:45 -07:00
Electron Bot
ef4ae27b52
Bump v4.0.0-nightly.20180823
2018-08-23 21:23:50 -07:00
Electron Bot
79eac1fdcb
Bump v4.0.0-nightly.20180821
2018-08-21 13:34:20 -07:00
Samuel Attard
20423df112
Revert "Bump v4.0.0-nightly.20180821"
...
This reverts commit 73c43eaea7
.
2018-08-21 13:14:37 -07:00
Electron Bot
73c43eaea7
Bump v4.0.0-nightly.20180821
2018-08-21 11:55:32 -07:00
Samuel Attard
5d06c77bf1
Revert "Bump v4.0.0-nightly.20180821"
...
This reverts commit d2cd641381
.
2018-08-21 11:44:51 -07:00
Electron Bot
d2cd641381
Bump v4.0.0-nightly.20180821
2018-08-21 11:15:56 -07:00
Electron Bot
dbee03d381
Bump v4.0.0-nightly.20180819
2018-08-19 01:09:28 +00:00
Electron Bot
3ba9a9b7bb
Bump v4.0.0-nightly.20180817
2018-08-17 23:55:31 +00:00
Samuel Attard
f7dc01b2c5
Revert "Bump v4.0.0-nightly.20180817"
...
This reverts commit 26248323b4
.
2018-08-17 16:52:48 -07:00
Electron Bot
26248323b4
Bump v4.0.0-nightly.20180817
2018-08-17 22:58:18 +00:00
Samuel Attard
1f23c5edc6
Revert "Bump v4.0.0-nightly.20180817"
...
This reverts commit b900ea44bf
.
2018-08-17 15:53:15 -07:00
Electron Bot
b900ea44bf
Bump v4.0.0-nightly.20180817
2018-08-17 21:40:50 +00:00
Samuel Attard
73f2a7dda9
Revert "Bump v4.0.0-nightly.20180817"
...
This reverts commit 76a592a419
.
2018-08-17 14:34:31 -07:00
Electron Bot
76a592a419
Bump v4.0.0-nightly.20180817
2018-08-17 20:06:28 +00:00
Robin Andersson
ba98ef382d
chore: update serve version 6.5.3 -> 6.5.8 ( #14159 )
2018-08-17 09:48:01 -07:00
Samuel Attard
982a2f0da2
Bump v4.0.0-nightly.20180816
2018-08-16 10:35:49 -07:00
Samuel Attard
ee4f27ca3f
chore: 0.0.0-dev
2018-08-16 10:32:11 -07:00
Samuel Attard
4cf2cde7fb
Bump v4.0.0-nightly.20180816
2018-08-16 08:58:46 -07:00
Shelley Vohr
2ac3d89279
fix: lint js and docs alongside clang-format ( #14044 )
...
* fix: lint js and docs alongside clang-format
* chore: change lint scripts to colon format
2018-08-13 08:20:55 -07:00
Shelley Vohr
c0959bd534
refactor: add 'npm run bootstrap', 'npm run build' ( #14034 )
...
* docs: update package.json and build docs
* fix build release
* address feedback from review
* whoops forgot one
* fix build script
* address feedback from review
2018-08-12 14:01:46 -07:00
Husayn
19cb5bad94
feat: Add creationTime function to process ( #13542 )
...
* Add process creation time
* Making docs clear for process creation time
* Address comments for process creation time
* Add process info cc file
* fixing comments around documentation
* Update doc for return val
* Capitalize number in docs
* chore: bump electron-typescript-definitions
2018-08-10 09:03:30 -05:00
Samuel Attard
2c255680a9
new release notes generator
2018-07-18 02:25:56 +10:00
Samuel Attard
12fcac59a2
refactor: clean up the default app, add CSP ( #13437 )
...
* refactor: clean up the default app, add CSP
* chore: appease the linter
* refactor: make js2asar more generic, dont assume default_app as target
2018-07-17 10:26:58 +10:00
Shelley Vohr
5beadd90ee
update electron-typescript-definitions to 1.3.5
2018-05-25 10:41:26 -07:00
Shelley Vohr
560c0e72e6
Fix vulnerabilities both top-level and in spec ( #13029 )
...
* fix dependency vulnerabilities
* fix vulnerabilities in spec
2018-05-21 21:15:18 -07:00
Cheng Zhao
874af5c982
Merge pull request #12837 from nornagon/build-gn
...
GN build
2018-05-15 14:02:51 +09:00
Samuel Attard
0bb29e092d
fix: update docs for the ts parser ( #12902 )
2018-05-12 18:12:28 +10:00
Aleksei Kuzmin
8f7a0ca90c
Remove chai-as-promised from the top-level package.json
...
It's a tests dependency and its already present in spec/package.json.
2018-05-11 18:11:46 +03:00
Jeremy Apthorp
f2b1b3f6b8
Add GN build
2018-05-10 14:03:02 -07:00
Charles Kerr
0a2dc1efb0
fix: lint is a devDependency, not a dependency ( #12818 )
2018-05-03 08:43:40 -07:00
Samuel Attard
b90ff86f8c
Add missing chai-as-promised dep ( #12746 )
2018-04-29 22:46:29 -04:00
Shelley Vohr
21e5a2e071
Add clang-format script and precommit hook ( #12651 )
...
* add second arg to hook
* fix clang-format script
* remove format script
* help
* first pass at only checking formatting for changed files
* ensure clang-format only runs against changes
* add quiet option for print output
* fix script outputs for clang-format
* wrap conditional for exit error
* remove cpplint include ordering from brightray
* fix python style errors
* add clang-format to linting
* fix var error and add mm extension
* fix diff checking for commit hook
* show incorrectly formatted lines when linting fails
* don't try to check formatting for deleted files
2018-04-27 13:01:12 -04:00
Samuel Attard
8993a2c6ed
Enable easy rebuild of native modules for unreleased electron ( #12217 )
...
* Enable easy rebuild of native modules for unreleased electron
Sometimes when developing locally (as I found this morning) you want to rebuild native modules
against an unreleased version of Electron (in this case local master). This PR adds a simple
script to launch a local HTTP server that generates and hosts the required header and checksum
files to rebuild modules. So far only tested on macOS but should work on all OS's
* Allow custom port
* clean up serve script
* make optionality more obvious
2018-03-14 12:59:18 +09:00
John Kleinschmidt
7365a45948
Merge pull request #11937 from electron/groundwater-patch-1
...
Use New Versioning Strategy
2018-02-21 16:54:25 -05:00
Shelley Vohr
e3d4358068
bump electron-typescript-defs to 1.3.2
2018-02-21 12:42:07 -05:00
Jacob Groundwater
cdcd031192
Use New Versioning Strategy
...
The `package.json` file in master should always read `0.0.0-dev`. See https://electronjs.org/docs/tutorial/electron-versioning
2018-02-16 09:16:30 -08:00
Samuel Attard
f84b8bbfdc
Update deps for new squirrel
2018-02-16 13:01:00 +11:00
John Kleinschmidt
546bd6da5e
Merge pull request #11903 from electron/update-release-for2
...
Change release process for 2.0
2018-02-12 16:52:41 -05:00
Felix Rieseberg
4ed5bb9901
fix: Update touch bar type documentation ( #11563 )
...
* fix: Update touch bar type documentation
Tiny change: The `escapeItem` in the touch bar constructor accepts a `null`, but our typings do not reflect that.
* Also uppdate the escapeItem instance property type docs
2018-02-12 14:59:01 -05:00
John Kleinschmidt
12a8d90ef0
Change release process for 2.0
...
Tag release as soon as version bumps
No longer use release branch
Remove merge step as it is no longer needed.
2018-02-12 14:06:09 -05:00
joeydlee95
a4db8e1c55
Add executable test to package.json
2017-12-13 14:39:13 -08:00
Felix Rieseberg
19df1cf070
📦 Upgrade to StandardJS 10
2017-11-23 13:41:14 -08:00
Charles Kerr
70643a865b
Merge pull request #11178 from electron/fenced-code-block-lang
...
enforce rules on code blocks style in docs
2017-11-21 13:38:46 +01:00
Felix Rieseberg
3c38438303
📦 Update electron-typescript-definitions
2017-11-20 09:54:00 -08:00
Felix Rieseberg
4f6bdc5824
📦 Bump electron-docs-linter
2017-11-20 08:24:39 -08:00
Vanessa Yuen
2441d51093
add remark lint to ensure fenced codeblocks are formatted properly.
2017-11-20 14:05:47 +08:00
Zeke Sikelianos
2ad1d8ba28
clean up remaining references to docs-translations content
2017-11-08 19:06:18 -08:00
Samuel Attard
6b9e67c972
Merge pull request #11004 from electron/upgrade-ts-defs
...
Upgrade electron-typescript-definitions to latest
2017-11-08 01:04:55 +11:00
John Kleinschmidt
5383b4809f
v1.8.2-beta.2
2017-11-06 16:11:34 -05:00
Birunthan Mohanathas
ecb11b3a4c
Upgrade electron-typescript-definitions to latest for electron/electron-typescript-definitions#80
2017-11-03 14:35:19 +02:00
Vanessa Yuen
85a811db55
make target branch name mandatory and specific ci job optional
...
add it as an npm script `npm run mock-release -- TARGET_BRANCH`
2017-11-03 14:56:16 +08:00
John Kleinschmidt
66846bff97
Automate release ( #10827 )
...
* Create prepare-release script
* Add script to merge release
* Cleanup/add logging
* Move release process out of upload.py
* Add cleanup release branch
* Update release doc to reflect new scripts
* Fix to allow running with notesOnly
Also fixup release name and body when beta release.
* Fix issues found during release
* Use getRelease instead of getAssets
github.repos.getAssets is limited to 30 entries which means we may not get back the file we are looking for.
* Documentation corrections
2017-10-23 11:02:50 -04:00
John Kleinschmidt
90e7d7e112
v1.8.2-beta.1
2017-10-18 16:49:32 -04:00
John Kleinschmidt
7788b33dc9
Bump v1.8.1
2017-09-28 13:13:49 -04:00
John Kleinschmidt
4b1e2b42a4
Bump v1.8.0
2017-08-31 16:16:19 -04:00
Zeke Sikelianos
10f2c80162
Revert "remove no-op preinstall script"
2017-08-14 11:33:32 -07:00
Zeke Sikelianos
646a8eb753
Merge pull request #10250 from electron/remove-preinstall-no-op
...
remove no-op preinstall script
2017-08-13 21:19:29 -07:00
John Kleinschmidt
ad90de0c82
Merge pull request #10230 from electron/prerelease
...
add a prerelease check
2017-08-11 16:41:08 -04:00
Zeke Sikelianos
0cd99d9815
remove no-op preinstall script
2017-08-11 12:18:51 -07:00
Zeke Sikelianos
96dd9b9ab8
update prerelease to check for files on s3
2017-08-09 13:40:52 -07:00
Vanessa Yuen
b81aab9eae
Bump v1.7.6
2017-08-09 15:28:55 -04:00
Zeke Sikelianos
1a6f0ae437
add a prerelease check
2017-08-09 10:49:31 -07:00
Vanessa Yuen
0c3d15d890
Merge branch 'master' into publish-prebuilt
2017-07-26 15:07:33 -04:00
Zeke Sikelianos
eeeee2cde8
Merge pull request #9989 from electron/check-for-leaks
...
check for secrets before git push and npm publish
2017-07-18 15:30:03 -07:00
Kevin Sawicki
5b9d31d3ff
Bump v1.7.5
2017-07-17 12:45:30 -07:00
Vanessa Yuen
663710e8eb
script to publish electron to npm directly
2017-07-13 17:09:21 -04:00
Zeke Sikelianos
0b1d264fc8
check for secrets before git push and npm pack
2017-07-12 10:18:40 -07:00
Kevin Sawicki
4a7eb5077e
Bump v1.7.4
2017-06-28 14:37:04 -07:00
Zeke Sikelianos
4cf2481293
use latest standard-markdown
2017-06-10 12:22:51 -07:00
Kevin Sawicki
4c00176599
Bump v1.7.3
2017-06-08 10:43:50 -07:00
Alexander Gujral
43ff2e8ec1
change request version
...
https://nodesecurity.io/advisories/request_remote-memory-exposure
security vulnerability for earlier versions
2017-06-04 13:49:59 -04:00
Zeke Sikelianos
175f3e41f1
bump ts linter with fixes for numeric keys
2017-05-31 12:44:26 -07:00