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