Samuel Maddock
68c6d53156
feat(extensions): add more properties to extension object ( #22244 )
2020-02-24 12:30:32 +09:00
John Kleinschmidt
e0c0875d6f
docs: update session.clearAuthCache ( #22292 )
...
* docs: update session.clearAuthCache
* Update specs to match doc change.
2020-02-21 13:40:45 -05:00
Samuel Attard
e7b0a9ca8f
feat: add API for receiving logs from service workers ( #20624 )
...
* feat: add API for receiving logs from service workers
* feat: add new serviceWorkerContext APIs
* chore: add missing #include's
* refactor: rename serviceWorkerContext to serviceWorkers
* chore: clean up based on review
* chore: remove native_mate
* chore: add tests for the service worker module
* Update spec-main/api-service-workers-spec.ts
Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org>
* chore: fix linting
* chore: handle renames
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net>
2020-02-20 15:19:06 -08:00
Jeremy Apthorp
a061c87e56
feat: enable native extensions support ( #21814 )
2020-02-03 14:01:10 -08:00
Samuel Attard
ea23f18e94
docs: document the channel param for event.reply
( #21185 )
2019-11-19 13:17:59 -08:00
Shelley Vohr
b8ee8c4eee
feat: enhance PrinterInfo object values ( #21081 )
2019-11-13 14:31:28 +09:00
Samuel Attard
fcee7212ce
chore: upgrade ts generator for better type safety ( #20975 )
...
* chore: upgrade ts generator for better type safety
* spec: fix tests
2019-11-05 13:34:04 -08:00
Milan Burda
2f03d393c3
feat: allow inspection of specific shared workers ( #20389 )
2019-10-02 14:38:27 +02:00
Jeremy Apthorp
805a55099b
test: tsify more web contents specs ( #19969 )
...
* test: tsify more WebContents specs
* getFocusedWebContents
* setDevToolsWebContents, isFocused, isCurrentlyAudible
* getWebPreferences, openDevTools
* before-input-event
* zoom-changed
* sendInputEvent
* insertCSS
* startDrag
* focus, getOSProcessId
* zoom api
* more closeAllWindows
* fix detached dev tools test
* fix zoom-changed test
* compare the correct kind of id 🤦♂️
* 'fix' openDevTools test to wait for multiple focus events
* fix tests? 🤞
* use request instead of blur to detect openExternal success
* try not timing out the keychain for testing
* use blur event on mac, sigh
* oh, right, still gotta open an actual url
2019-08-29 19:45:41 -05:00
Samuel Attard
cfd230d7f1
docs: remove implicit 'any' and 'Object' types from the docs ( #19585 )
...
* docs: remove implicit 'any' and 'Object' types from the docs
* docs: more docs improvements, remove all remaining empty interfaces
* chore: update tests for better types
2019-08-05 10:45:58 -07:00
Samuel Attard
12bbbef688
docs: fix type information for contents.sendInputEvent ( #19479 )
...
The `event` type and keyword is reserved by the typescript generator, in the future we should throw an error from the generator if someone uses a reserved interface like that.
This also splits and documents the InputEvent type way better so that TS
users get strong type safety.
Fixes electron/typescript-definitions#36
2019-07-26 16:11:50 -07:00
Shelley Vohr
bdd626f57a
doc: fix types for traceConfig recording_mode ( #19448 )
2019-07-25 21:42:28 -07:00
Milan Burda
103b38650f
feat: add memory to app.getAppMetrics() ( #18831 )
2019-07-23 13:41:58 -07:00
Milan Burda
beb996b847
docs: specify possible values for ProcessMetric.type ( #19203 )
2019-07-12 14:10:18 +03:00
Cheng Zhao
1d8e16bc6e
docs: UploadData does not have contentType ( #19026 )
2019-06-28 11:19:01 -07:00
Cheng Zhao
0a9438dbba
docs: documentation of NetworkService-based protocol module ( #18952 )
...
* docs: NetworkService-based protocol module
* docs: separate ProtocolRequest
* docs: separate ProtocolResponse
* docs: fix lint warning
* docs: fix electron.d.ts
* fix: print deprecation warnings for protocol module
* docs: fix links
* Apply suggestions from code review
Co-Authored-By: Felix Rieseberg <felix@felixrieseberg.com>
* Apply suggestions from code review
Co-Authored-By: Samuel Attard <samuel.r.attard@gmail.com>
* Do not publish NetworkService changes draft
* Apply suggestions from code review
Co-Authored-By: Samuel Attard <samuel.r.attard@gmail.com>
* docs: filePath must be absolute
2019-06-28 16:25:30 +09:00
Shelley Vohr
1a6a16e346
docs: fix platform location for params ( #18987 )
2019-06-27 14:51:18 -07:00
Jeremy Apthorp
ec8697bcdc
test: move protocol specs to main process ( #18923 )
2019-06-27 14:20:29 -07:00
Charles Kerr
792f6b246c
docs: fix spelling and grammar errors ( #18910 )
2019-06-21 16:19:21 -05:00
Milan Burda
d9215dd4ce
feat: add creationTime / sandboxed / integrityLevel to app.getAppMetrics() ( #18718 )
...
This is useful for checking which processes are sandboxed on OS level.
Regarding creationTime, since the pid can be reused after a process dies, it is useful to use both the pid and the creationTime to uniquely identify a process.
2019-06-14 12:39:55 -07:00
Shelley Vohr
292a240e1b
fix: correct isDownloadable docs to match impl ( #18720 )
2019-06-12 10:54:14 -07:00
Jeremy Apthorp
c436997840
feat: add ipcRenderer.invoke() ( #18449 )
2019-05-31 10:25:19 -07:00
Jeremy Apthorp
815b9d7707
feat: [contentTracing] allow calling stopTracing() with no arguments ( #18411 )
2019-05-28 14:15:42 -07:00
Milan Burda
e32cf5c418
chore: remove leftover docs/api/structures/memory-info.md ( #18421 )
2019-05-23 15:25:52 -04:00
Milan Burda
3a5e6f2551
feat: allow setting working directory in app.setUserTasks() / app.setJumpList() ( #18148 )
2019-05-13 19:17:12 +03:00
Samuel Attard
a96b6e2c96
build: move to the new docs parser ( #18103 )
...
* build: move to the new docs parser
* chore: remove the bad getTitle param doc
* build: update parser/ts gen deps + fix some docs issues highlighted by GH desktop
* chore: apply suggestions from code review
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com>
* chore: update docs for accidentally removed things
* chore: update docs/api/command-line.md
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com>
2019-05-06 08:29:01 -07:00
Shelley Vohr
d87b3ead76
chore: remove promisification deprecation callbacks ( #17907 )
...
* chore: remove promisification deprecation callbacks
* update docs
* fix smoke test
* fix executejs issue
* cleanup leftovers
* fix webContents.executeJavaScript tests
* cleanup WebContents.prototype.takeHeapSnapshot
* fix "sets arbitrary webContents as devtools" test
* fix executeJavaScriptInFrame related tests
2019-04-30 07:08:32 -07:00
Shelley Vohr
d412582f72
docs: clarify cookie domain normalization ( #17590 )
2019-04-02 13:04:20 -07:00
Samuel Attard
784f9742bc
build: auto-fix whitespace in docs in pre-commit hook ( #17490 )
2019-03-21 12:15:55 -07:00
Milan Burda
de1bacddd9
docs: process.getProcessMemoryInfo() returns a Promise ( #16593 )
...
* docs: process.getProcessMemoryInfo() returns a Promise
* chore: bump electron-typescript-definitions to get Promise<T> fix
2019-03-20 17:26:57 +01:00
Shelley Vohr
1d93bc76cd
feat: expose colorSpace to display object ( #17405 )
...
* feat: expose colorSpace to display object
* update doc
* add a spec
2019-03-19 15:12:03 -07:00
Zachary
9b359c6a75
docs: correction to ipc-main-event.md 'frane' to 'frame' ( #17424 )
2019-03-19 12:07:30 -07:00
Shelley Vohr
3edc497d3d
feat: show user gesture type in click event ( #16954 )
2019-02-20 12:20:24 +00:00
Samuel Attard
3b74837020
refactor: Split 'Event' docs/types into more specific Event types ( #17038 )
...
* Event = Base event type (with preventDefault)
* IpcMainEvent = Event that ipcMain emits (with sender, reply, etc.)
* IpcRendererEvent = Event that ipcRenderer emits (with sender,
senderId, etc.)
* KeyboardEvent = Event that we emit with keyboard flags (ctrlKey,
altKey, etc.)
This will dramatically improve peoples TS experience with IPC events
2019-02-19 09:24:19 +00:00
Shelley Vohr
1e8ac79e6f
docs: document the Event interface ( #16966 )
...
* docs: document the Event interface
* update docs deps
* pull new VoidFunction update
2019-02-15 12:08:45 -08:00
Shelley Vohr
bf276ecc69
feat: add new components to Display structure ( #16870 )
...
* feat: add new components to Display structure
* add internal property
* expose colorDepth
* add specs
2019-02-12 05:34:42 -10:00
Nitish Sakhawalkar
bd4e14dcee
fix: update docs for protocol API ( #16601 )
...
* fix: update docs for protocol API
* upddate source for new attribute name
* update electron-typescript-definitions package
2019-01-30 12:54:18 -08:00
Nitish Sakhawalkar
940c4c0787
feat: move webFrame scheme privilege methods to main process ( #16416 )
...
* chore: deprecate webFrame.registerURLSchemeAsPrivileged
* Add register schemes protocol api
* update branch to enable browser process API
* Revert deprecation changes
* Fetch API support
* Updated api to take an array, still working on tests
* Update tests
* Remove web frame API
* Minor changes
* update scheme registrations on browser and renderer process
* fix: enable ses.getBlobData spec
* Update breaking changes doc
2019-01-29 16:11:01 +09:00
Zac Walker
51cfb5cff1
fix: extend tracing startRecording API to take a full tracing config ( #13914 )
...
This allows memory-infra to be traced correctly.
Fixes #12506 .
2018-12-20 15:11:17 +03:00
Julien Isorce
1f55f1635f
feat: add support for DesktopCapturerSource.appIcon
...
Useful to get the icon of the application owning the source.
Only available for sources of type window, i.e. not for screen.
https://github.com/electron/electron/issues/14845
2018-12-04 15:42:49 +09:00
Samuel Attard
73a1a8b3f0
feat: automatically round numbers that are converted to points ( #14604 )
...
Fixes #14490
2018-09-13 08:28:56 -05:00
Samuel Attard
dde194d853
Remove the memory property from getAppMetrics
...
See 03d0bfd593
for more information
2018-09-11 20:24:03 +02:00
Tiago Danin
1fd6d38a0a
docs: Improved documentation ( #13403 )
2018-07-20 10:58:19 -07:00
deepak1556
c4b8e106c0
Create network_converter for services/network/* types
2018-06-19 11:49:42 +10:00
Shelley Vohr
265aa3da29
docs: deprecate UploadFileSystem ( #13064 )
...
Deprecate UploadFileSystem in preparation for its being phased out completely in Chromium 66 and correspondingly Electron 4.0.0.
2018-05-25 10:50:27 -07:00
Samuel Attard
0bb29e092d
fix: update docs for the ts parser ( #12902 )
2018-05-12 18:12:28 +10:00
Charles Kerr
8acbfca06b
Make Referrer.policy types parseable by e-t-d
2018-05-11 12:40:46 -05:00
Charles Kerr
4d078fdb03
Remove more words ( #12852 )
...
* remove 'basically' from docs
* remove 'simply' from docs
* remove most uses of 'just' from docs
2018-05-08 00:16:09 -05:00
Rahat Ahmed
5ba9f6a966
docs: Fix typo in transaction.md ( #12804 )
2018-05-03 00:01:49 -05:00
Andrew MacDonald
6bfb122cd1
Add a display_id parameter to the desktopCapturer API. ( #12417 )
...
* Add a screen_api_id parameter to the desktopCapturer API.
When using the DirectX capturer on Windows, there was previously no way
to associate desktopCapturer/getUserMedia and electron.screen API
screens. This new parameter provides the association.
* Fix non-Windows build.
* Fix Mac.
* Fix Mac harder.
* JS lint
* clang-format C++ code.
* IWYU
* display_id, Linux comment, better test
* lint
* Fix tests on Linux.
* Add display_id documentation.
2018-04-09 14:43:35 +09:00