Commit graph

9828 commits

Author SHA1 Message Date
Cheng Zhao
d23c1bf917 Cleanup the code of SetBounds 2016-07-07 20:02:18 +09:00
Cheng Zhao
43e9f30b21 Merge pull request #6363 from MarshallOfSound/master
Bound the target width and height of window when calling SetSize
2016-07-07 19:52:47 +09:00
Cheng Zhao
c3ce53a7b2 Merge pull request #6379 from Crocmagnon/patch-1
Highlight the whole eval() override
2016-07-07 19:49:42 +09:00
Gabriel Augendre
72e811fea4 Highlight the whole eval() override
I updated the link to hightlight not only the first line but the whole `window.eval()` override.
2016-07-07 12:22:12 +02:00
Samuel Attard
ceb2864881 Move size bounding logic to SetBounds 2016-07-07 20:55:10 +12:00
Cheng Zhao
eedac775e4 Merge pull request #6377 from electron/docs-update
docs: Some dlls are not there anymore
2016-07-07 10:45:55 +09:00
Cheng Zhao
a053dc2f7d Merge pull request #6376 from electron/require-package-json-in-default-app
Use require to load package.json in default app
2016-07-07 10:25:56 +09:00
Cheng Zhao
26af0999cd Merge pull request #6372 from electron/linux-icon
Set default app window icon on Linux
2016-07-07 10:19:02 +09:00
Cheng Zhao
c70635daff docs: Some dlls are not there anymore 2016-07-07 10:17:49 +09:00
Cheng Zhao
c7e0df09bc Merge pull request #6370 from electron/send-key-event-to-main-menu
Give menu a chance to handle keydown event before window
2016-07-07 10:11:12 +09:00
Cheng Zhao
bbfdaf7679 Merge pull request #6355 from electron/webview-capture-page
Add <webview>.capturePage([rect,] callback)
2016-07-07 10:09:40 +09:00
Cheng Zhao
0a64d6ee30 Merge pull request #6369 from electron/remote-object-with-no-constructor
Handle remote arguments with no constructor
2016-07-07 09:47:46 +09:00
Kevin Sawicki
2e02994277 Add parens about constructor 2016-07-06 15:45:35 -07:00
Kevin Sawicki
88fe667f66 Use require to load package json 2016-07-06 14:19:47 -07:00
Kevin Sawicki
56739e10e3 Add anonymous class to exports and assert it 2016-07-06 13:11:25 -07:00
Kevin Sawicki
a9b43a0fc9 Use empty string constructor name when missing 2016-07-06 13:06:48 -07:00
Kevin Sawicki
79c00d8938 Shrink icon using pngcrush 2016-07-06 12:51:16 -07:00
Kevin Sawicki
cf480f8e17 Set default app window icon on Linux 2016-07-06 11:47:21 -07:00
Kevin Sawicki
bd33961964 Give menu a chance to handle key event before window 2016-07-06 10:12:40 -07:00
Kevin Sawicki
07ccb6af2b 🎨 2016-07-06 09:42:43 -07:00
Kevin Sawicki
b900ff93e4 Make OnCapturePageDone static 2016-07-06 09:32:58 -07:00
Kevin Sawicki
c2ecc49be2 Defer to webContents docs 2016-07-06 09:21:29 -07:00
Kevin Sawicki
4a4a8528ea Fix linter warnings 2016-07-06 09:21:29 -07:00
Kevin Sawicki
ce4ef1ccb8 Update capturePage documentation for new location 2016-07-06 09:21:28 -07:00
Kevin Sawicki
12dddae2ca Remove unused callback 2016-07-06 09:21:28 -07:00
Kevin Sawicki
f7b72f0948 Move capturePage to WebContents 2016-07-06 09:21:28 -07:00
Kevin Sawicki
d67dfd09fd Pass through empty constructor names 2016-07-06 09:18:20 -07:00
Kevin Sawicki
a1209b69b3 Add spec for constructor-less param 2016-07-06 09:11:04 -07:00
Maksim
b444b35215 Update remote.js 2016-07-06 09:11:04 -07:00
Kevin Sawicki
d42d10a47c Merge pull request #6368 from vsemozhetbyt/patch-1
Fix disordered definitions in webContents doc
2016-07-06 09:02:35 -07:00
vsemozhetbyt
c2bf6c2460 Fix disordered definitions in webContents doc
📝 Swap `clearSelection` and `keepSelection` definitions
for `webContents.stopFindInPage(action)` that seems to be in wrong order.

[ci skip]
2016-07-06 18:58:50 +03:00
Samuel Attard
6bd343b112 Bound the target width and height of window when calling SetSize 2016-07-07 00:49:35 +12:00
Cheng Zhao
92b97d3576 Bump v1.2.6 2016-07-06 13:20:36 +09:00
Paul Betts
7ffab11f1a Merge pull request #6356 from jonathansampson/patch-1
modern.ie is no longer in use
2016-07-05 19:37:38 -07:00
Jonathan Sampson
7baf7372af modern.ie is no longer in use
The URL exists for historical reasons, but is no longer the primary URL for developer resources.
2016-07-05 19:34:33 -07:00
Cheng Zhao
6fe4653b54 Merge pull request #6354 from electron/package-json-bom
Use require to load package.json
2016-07-06 09:48:37 +09:00
Kevin Sawicki
b8e5180132 Use require to load package.json instead of fs/JSON 2016-07-05 15:50:12 -07:00
Cheng Zhao
83ae14f2ed Merge pull request #6333 from electron/drag-item
Add `webContents.startDrag(item)` API
2016-07-04 13:30:56 +09:00
Cheng Zhao
23582cc9d3 Reduce the scope of ScopedNestableTaskAllower 2016-07-03 15:30:27 +09:00
Cheng Zhao
ba1fe322e9 docs: Use <a> as example 2016-07-03 15:27:26 +09:00
Cheng Zhao
b7459d50f9 docs: Dragging files out of the window 2016-07-03 15:26:22 +09:00
Cheng Zhao
f072d9dd3a docs: webContents.startDrag(item) 2016-07-03 15:10:59 +09:00
Cheng Zhao
7916f0ea18 win: Use drag_utils::CreateDragImageForFile 2016-07-03 14:44:47 +09:00
Cheng Zhao
63a8961ed1 views: Implement webContents.startDrag 2016-07-03 14:34:35 +09:00
Cheng Zhao
fa468a529b Support dragging multiple files 2016-07-03 13:58:31 +09:00
Cheng Zhao
13c668f22b mac: Implement webContents.startDrag 2016-07-03 12:26:43 +09:00
Cheng Zhao
74ebbf9c78 docs: Add trailing period 2016-07-02 20:27:14 +09:00
Cheng Zhao
ff5745f36f Merge pull request #6324 from MarshallOfSound/master
Document possible getLocale returns values.
2016-07-02 11:25:15 +00:00
Samuel Attard
7f914c65de Update docs to match style guide 2016-07-02 23:21:45 +12:00
Samuel Attard
bbaab9b355 Document possible getLocale returns values. Closes #5363 2016-07-02 21:17:37 +12:00