Commit graph

10404 commits

Author SHA1 Message Date
Heilig Benedek
1b0af6f6f1 removed bpp (it can be calculated)
fixed buffer size calculation (we actually send the whole image, not just the dirty part)
removed the unnecessary resets and const
now we use Copy instead of New
2016-08-04 05:18:27 +02:00
gellert
ca16132268 renames to bytesPerPixel and use nullptr 2016-08-03 19:39:23 +02:00
gellert
8a5e96056e adds resets to destructor 2016-08-03 17:38:56 +02:00
gellert
50485a28d3 fixes buffer size and adds pixel size to paint event 2016-08-03 13:28:19 +02:00
Cheng Zhao
230943d425 Merge pull request #6707 from electron/auto-run-micro-tasks
Revert Node's call of SetAutorunMicrotasks(false)
2016-08-03 18:14:01 +09:00
Cheng Zhao
1445ea8baf Revert Node's call of SetAutorunMicrotasks(false) 2016-08-03 17:57:10 +09:00
Cheng Zhao
617820dfc2 Merge pull request #6705 from electron/remove-view-painted
Remove the view-painted event
2016-08-03 16:55:48 +09:00
Cheng Zhao
5dabc47440 Remove the view-painted event 2016-08-03 16:20:55 +09:00
Cheng Zhao
1e4c83eb93 Cleanup atom_api_system_preferences_mac.mm 2016-08-03 16:13:51 +09:00
Cheng Zhao
322fb97d8d Merge pull request #6686 from darkdh/swipe_prefs
Swipe back/forward should respect system preferences
2016-08-03 16:10:29 +09:00
Cheng Zhao
b9bcba7abe docs: Do not repeat processes for multiple times in menu.md 2016-08-03 16:08:54 +09:00
Cheng Zhao
163a6bd5c5 Merge pull request #6700 from calidion/patch-1
Update menu.md
2016-08-03 16:00:52 +09:00
Cheng Zhao
53831d71e3 Merge pull request #6703 from electron/merge-offscreen
Merge #6691
2016-08-03 15:58:31 +09:00
Cheng Zhao
2e8ccfd8df Add Offscreen Rendering to guides 2016-08-03 15:38:24 +09:00
Cheng Zhao
1f41e22614 Put constants in annoymouse namespace 2016-08-03 14:09:38 +09:00
Cheng Zhao
82da3b6c66 Fix accidentally changed lines 2016-08-03 14:03:57 +09:00
Cheng Zhao
4d85c1a557 Refactor osr_render_widget_host_view 2016-08-03 13:53:11 +09:00
Cheng Zhao
ea8ea1543f Refactor osr_output_device 2016-08-03 13:06:38 +09:00
Cheng Zhao
9d8e510a55 Refactor the code in atom_api_web_contents 2016-08-03 13:06:34 +09:00
Cheng Zhao
921aaf9aa3 Move osr related files to atom/browser/osr 2016-08-03 13:05:47 +09:00
Anthony Tseng
e0c0e3e5f7 Add IsSwipeTrackingFromScrollEventsEnabled in system prefs 2016-08-03 10:27:56 +08:00
Eric
5ae112677b Update menu.md
1. add difference notice
2.  changed `render process` to `main process`
2016-08-03 10:10:56 +08:00
Cheng Zhao
b0e36ec93a Revert unnecessary changes 2016-08-03 10:48:07 +09:00
Cheng Zhao
aefd99ec7f Only enable kEnableBeginFrameScheduling for offscreen
It has effects on performance and only gets turned on after Chrome 54.
2016-08-03 10:40:12 +09:00
Cheng Zhao
63c34f3dcf docs: Use app.disableHardwareAcceleration() instead of --disable-gpu
The --disable-gpu switch does not work when passed with `appendSwitch`.
2016-08-03 10:32:29 +09:00
Cheng Zhao
c8b544ee1f spec: Remove duplicate code in tests 2016-08-03 10:27:55 +09:00
Cheng Zhao
ba9aa13bd8 Fix lint warnings in documentations 2016-08-03 10:15:38 +09:00
Cheng Zhao
d8a030fa9b Revert the change on default_app 2016-08-03 10:13:32 +09:00
Cheng Zhao
7b34b8d183 Update libchromiumcontent for offscreen patches 2016-08-03 10:12:41 +09:00
Cheng Zhao
c68e9cb595 Use electron/brightray 2016-08-03 10:10:58 +09:00
Cheng Zhao
363fabdcb4 Merge branch 'offscreen-rendering' of https://github.com/MaxWhere/electron into merge-offscreen 2016-08-03 10:09:48 +09:00
Cheng Zhao
1fa18aeba2 Merge pull request #6693 from sairoutine/jpdocs
Japanese: add coding-style.md
2016-08-03 08:30:32 +09:00
Cheng Zhao
549aa59d18 Merge pull request #6694 from ssdong/fixed_typo_in_chinese_doc_translation
fixed typo in simplified chinese doc translation
2016-08-03 08:30:18 +09:00
Cheng Zhao
59076711cb Bump v1.3.2 2016-08-03 07:18:31 +09:00
Susu Dong (LCL)
ddb7b5cff9 fixed typo in simplified chinese doc translation 2016-08-02 15:21:49 -04:00
sairoutine
93e37a92a2 📝 Japanese: add coding-style.md [ci skip] 2016-08-03 03:21:22 +09:00
gellert
1663a9cd13 fixes linendings 2016-08-02 19:31:30 +02:00
Kevin Sawicki
820f3968aa Merge pull request #6677 from miniak/default-app-menu
Add zooming commands to menu in default app
2016-08-02 10:27:56 -07:00
Milan Burda
87c9926fe8 Move Toggle Fullscreen to the bottom of the View menu 2016-08-02 18:08:41 +02:00
Milan Burda
2e043453c0 Add zooming commands to menu (default app) 2016-08-02 18:08:35 +02:00
gellert
362f3deb93 fixes linting 2016-08-02 16:39:07 +02:00
gellert
9872fa0f52 restoring default app 2016-08-02 15:17:50 +02:00
gellert
8eed91d87a Merge remote-tracking branch 'upstream/master' into speedup-gpu 2016-08-02 14:59:03 +02:00
Cheng Zhao
217156f76c Update libchromiumcontent: close #6668 2016-08-02 21:38:34 +09:00
Cheng Zhao
91169396f6 Merge pull request #6688 from electron/constructor-refactor
Use FunctionTemplate instead of ObjectTemplate for native classes
2016-08-02 21:37:56 +09:00
Cheng Zhao
8c0a033b6f Fix lint errors of using __proto__ 2016-08-02 21:02:28 +09:00
Cheng Zhao
edb573d69e Make WebContents inherit NavigationController 2016-08-02 20:55:56 +09:00
Cheng Zhao
025034127a Set JavaScript APIs on prototype of WebContents 2016-08-02 20:52:07 +09:00
Cheng Zhao
844f32aa36 Set prototype of constructor directly 2016-08-02 20:38:35 +09:00
Heilig Benedek
4088f0eb33 remove unneeded windows specific things 2016-08-02 12:57:23 +02:00