Commit graph

739 commits

Author SHA1 Message Date
Cheng Zhao
c68e9cb595 Use electron/brightray 2016-08-03 10:10:58 +09:00
gellert
8eed91d87a Merge remote-tracking branch 'upstream/master' into speedup-gpu 2016-08-02 14:59:03 +02:00
Cheng Zhao
8c3232dc56 Every native class now gets a name 2016-08-02 19:28:12 +09:00
Cheng Zhao
cb19efe49c Pass FunctionTemplate in BuildPrototype 2016-08-02 18:08:12 +09:00
Cheng Zhao
8f62e79243 GetConstructor now returns FunctionTemplate 2016-08-02 17:20:58 +09:00
Cheng Zhao
8cd4612fe0 Get rid of Constructor class 2016-08-02 17:02:04 +09:00
Cheng Zhao
846ec5ba49 AttachAsUserData now can assume the existence of wrapper 2016-08-02 15:28:32 +09:00
Cheng Zhao
1505a46ed0 Do not rely on Constructor to call Init
This makes it deterministic when the JavaScript is initialized, which
can make our logic more clear.
2016-08-02 15:15:40 +09:00
Heilig Benedek
a4a2579423 brightray commit update 2016-08-01 13:22:16 +02:00
gellert
439ad94afe Merge remote-tracking branch 'upstream/master' into speedup-gpu 2016-08-01 12:00:34 +02:00
Cheng Zhao
5643feabc3 Load 200 DPI resources on Linux 2016-07-29 10:51:31 +09:00
Heilig Benedek
fdff60132c update brightray commit 2016-07-29 01:48:29 +02:00
Heilig Benedek
7b61c5c9d0 removed some junk and added offscreen webcontents type 2016-07-28 12:10:56 +02:00
Cheng Zhao
0bfd31e7cb Update brightray for #6613 2016-07-27 08:53:55 +09:00
Cheng Zhao
fb251ac09b Update brightray for #6156 2016-07-25 16:08:38 +09:00
Cheng Zhao
221f53ab08 Load a few more pak files 2016-07-25 11:10:53 +09:00
Cheng Zhao
e8c03f2555 Do not export symbols of OpenSSL on Windows 2016-07-24 21:56:16 +09:00
Cheng Zhao
0fa4e58557 Bump node module version 2016-07-21 06:32:29 -06:00
Cheng Zhao
f6f7b41f0a Fix compilation error after merge 2016-07-21 06:03:38 -06:00
Cheng Zhao
b57665330c Merge branch 'master' into chrome52 2016-07-21 05:34:36 -06:00
Cheng Zhao
39bd2bee8e Avoid using CHECK in files using node headesr
Node has its own CHECK macro which requires linking with node::Assert.
2016-07-21 16:56:48 +09:00
Cheng Zhao
334f03fc42 Fix compilation errors on Windows 2016-07-21 16:36:50 +09:00
Cheng Zhao
8f5bd4afaf Update to Node 6.3.0 2016-07-21 00:57:34 -06:00
Kevin Sawicki
e24885b160 Mention how to reset thumbnail to entire window 2016-07-15 10:38:11 -07:00
Kevin Sawicki
e15d7a1fd3 Upgrade brightray for undocked devtools focus fix 2016-07-15 09:21:08 -07:00
Cheng Zhao
00804e5f98 Move the ability to create BrowserContext to embedder 2016-07-13 12:23:14 +09:00
Cheng Zhao
c58bddffe3 Update brightray for #2565 2016-07-11 15:10:43 +09:00
Cheng Zhao
c644353726 Update brightray for #6423 2016-07-11 09:04:34 +09:00
Cheng Zhao
de502d8012 Initialize MaterialDesignController 2016-07-05 09:41:23 +09:00
Cheng Zhao
ea5c5d2680 Fix building on Linux 2016-07-04 16:41:18 +09:00
Cheng Zhao
0a6bb9c36a Fix crash when creating protocol module 2016-07-04 15:32:43 +09:00
Cheng Zhao
1ba3907038 Update to API changes of Chrome 52 2016-07-04 15:32:43 +09:00
Cheng Zhao
eb378bef3a Upgrade to Chrome 52 2016-07-04 15:32:43 +09:00
Cheng Zhao
14c4be50c1 Avoid calling GetWebContentsFromProcessID for twice 2016-07-02 16:54:12 +09:00
Cheng Zhao
cd38e5c85e Update to Chrome 51.0.2704.106 2016-07-02 13:54:34 +09:00
Cheng Zhao
ee28f4fc32 Handle v8::MicrotasksScope in the main process 2016-06-24 14:45:31 +09:00
Cheng Zhao
7fa4a7889b Update brightray for #6178 2016-06-23 12:05:10 +09:00
Cheng Zhao
01bc8305f8 Add ses.getUserAgent()/setUserAgent(...) APIs 2016-06-22 15:57:51 +09:00
Cheng Zhao
b0f04de50c Do not force creating default session in C++ 2016-06-22 15:41:56 +09:00
Cheng Zhao
9993aab5b1 Update brightray for electron/brightray#228 2016-06-21 12:24:25 +09:00
Cheng Zhao
ce2199d96a Update to Chrome 51.0.2704.103 2016-06-19 21:09:29 +09:00
Kevin Sawicki
c9fdd52f7e Upgrade brightray 2016-06-17 11:38:39 -07:00
Kevin Sawicki
0e65977a3c Use EventDispatchingWindow from brightray 2016-06-17 11:11:50 -07:00
Kevin Sawicki
3bc4f188ef Handle redispatch in devtools undocked windows 2016-06-17 10:27:53 -07:00
Cheng Zhao
659384383e Avoid storing JobFactory in BrowserContext
JobFactory should always be created and accessed in IO thread.
2016-06-16 11:09:51 +09:00
Cheng Zhao
f4c10060af Update brightray for #4261 2016-06-14 13:40:37 +09:00
Cheng Zhao
e2442fb052 Move converter for std::map to native_mate 2016-06-13 09:27:13 +09:00
Cheng Zhao
77dc08f2f9 Update to Chrome 51.0.2704.84 2016-06-08 11:08:24 +09:00
Cheng Zhao
adec511891 Update to Chrome 51.0.2704.79 2016-06-06 15:59:07 +09:00
Cheng Zhao
523e8c2e1c Update libchromiumcontent and brightray for #5781 2016-06-01 14:53:05 +09:00
Cheng Zhao
eb8284e285 Update to Chrome 51.0.2704.63 2016-05-26 18:06:55 +09:00
Cheng Zhao
b1226a908b Update node: remove ATOM_SHELL_INTERNAL_RUN_AS_NODE 2016-05-25 10:55:02 +09:00
Kevin Sawicki
89538b19ee Upgrade node for ELECTRON_RUN_AS_NODE change 2016-05-24 10:42:09 -07:00
Cheng Zhao
37a4267450 Update brightray: fix Windows linking problem 2016-05-23 23:24:43 +09:00
Cheng Zhao
2208b8bd6e Update symbol names of icu 2016-05-23 22:53:50 +09:00
Cheng Zhao
2edf559571 Update brightray: fix OS X linking problem 2016-05-23 22:05:26 +09:00
Cheng Zhao
badecb49f3 Update brightray: fix Linux linking problem 2016-05-23 19:50:05 +09:00
Cheng Zhao
208acd1b9c Update brightray: Manage NetLog in BrowserClient 2016-05-23 19:02:40 +09:00
Cheng Zhao
de1fc9d432 Fix building on Linux 2016-05-23 15:27:01 +09:00
Cheng Zhao
899cdb48d7 Fix using invalid pointer as SiteInstance 2016-05-23 12:46:14 +09:00
Cheng Zhao
a2bd55dd3c Adapt to changes of Chrome 51 API changes (Part 2) 2016-05-23 12:29:14 +09:00
Cheng Zhao
7ba391da7c Update to API changes of Chrome 51 2016-05-23 10:59:39 +09:00
Cheng Zhao
05c2999651 Update to Chrome 51.0.2704.54 2016-05-23 10:11:19 +09:00
Cheng Zhao
4c531e909b Update breakpad to lastest master 2016-05-22 22:06:12 +09:00
Cheng Zhao
48b161f210 Update crashpad to 35da3b6 2016-05-22 21:00:16 +09:00
Cheng Zhao
adfd99f5f0 Convert to mate::Handle<NativeImage> instead of gfx::Image 2016-05-20 16:14:40 +09:00
Cheng Zhao
195e0e64d0 Update brightray for #5578 2016-05-19 19:22:32 +09:00
Cheng Zhao
d8c05ecc0d Link with Vs2015 runtime statically for Release build 2016-05-19 15:06:47 +09:00
Cheng Zhao
7bd11c14f6 Update brightray to fix linking problem on Linux 2016-05-18 09:42:38 +09:00
Cheng Zhao
fb6f5320e7 Update brightray for #5348 2016-05-17 20:33:44 +09:00
Cheng Zhao
10f144069d Allow using __weak keyword 2016-05-13 13:49:53 +09:00
Cheng Zhao
906ae043f9 Fix crash when creating external buffer 2016-05-13 11:12:01 +09:00
Cheng Zhao
73223fe5c3 Upgrade to Node v6 2016-05-13 11:12:01 +09:00
Cheng Zhao
525e3ee9c6 Update crashpad with AppKit patch 2016-05-13 11:11:50 +09:00
Brian R. Bondy
a9652052c4 Update Brightray and libchromiumcontent v50 ref (Electron maintainer use
your refs)
2016-05-13 11:11:50 +09:00
Brian R. Bondy
f418ac5b5d Update to brave crashpad dep (Electron maintainer rebase this to use
your ref)
2016-05-13 11:07:17 +09:00
Cheng Zhao
ceea7adf98 Update brightray for electron/brightray#219 2016-05-13 09:19:46 +09:00
Cheng Zhao
01dcee6449 Update brightray for #5503 2016-05-12 18:01:03 +09:00
Cheng Zhao
3014e61792 Update native_mate: close #5392 2016-05-10 16:10:02 +09:00
Cheng Zhao
e6f4dd0f85 Update brightray for #5431 2016-05-07 10:54:34 +09:00
Cheng Zhao
098d72b741 Convert --clang_dir and --disable_clang to --defines 2016-05-02 21:19:16 +09:00
Cheng Zhao
26c0ad1c2f Add --build_libchromiumcontent option 2016-05-02 16:17:38 +09:00
Cheng Zhao
2ae52d0ff4 Make Wrappable a template class 2016-04-25 10:17:54 +09:00
Cheng Zhao
a3e8591a41 Update brightray for #5208 2016-04-20 13:34:30 +09:00
Cheng Zhao
0bf1e56156 Update brightray for electron/brightray#212 2016-04-18 13:59:15 +09:00
Cheng Zhao
059ca01767 Update brightray for printing fix 2016-04-15 16:47:17 +09:00
Cheng Zhao
38f0088844 Update brightray for #4973 2016-04-15 16:35:51 +09:00
Cheng Zhao
7d4e0629d6 Fix the link error 2016-04-14 18:22:29 +09:00
Cheng Zhao
b9ad09db91 Update libchromiumcontent with necessary headers and libs 2016-04-14 17:14:45 +09:00
Cheng Zhao
c3ac92b500 Update brightray for the linux notification improvements 2016-04-13 20:13:45 +09:00
Cheng Zhao
2fbe06a2a5 Handle the Page.reload command coming from devtools 2016-04-12 16:36:12 +09:00
Cheng Zhao
056aaa2a62 Update brightray for #4931 2016-04-11 19:30:59 +09:00
Cheng Zhao
fb299c7fcb Update node: bring CI back to green 2016-04-07 14:58:14 +09:00
Cheng Zhao
7796dbb7ce Update node: rebase on v5.10.0 tag instead of master branch 2016-04-05 19:34:13 +09:00
Cheng Zhao
39a20ea4fb Upgrade Node to v5.10.0 2016-04-03 15:05:47 +09:00
Cheng Zhao
afb82fcc1f Update native-mate for #4892 2016-03-31 10:21:21 +09:00
Cheng Zhao
a4d2dd9b4d Export symbols of node::Environment 2016-03-27 20:36:39 +09:00
Cheng Zhao
f23729acdb Upgrade to node v5.9.1 2016-03-27 19:13:44 +09:00
Cheng Zhao
75ec7a057a Update brightray for #4681 2016-03-17 21:45:13 +09:00
Cheng Zhao
dbb8a6bf52 Update brightray for atom/brightray#204 2016-03-15 21:08:43 +09:00
Cheng Zhao
92a9c49a77 Update brightray for atom/brightray#203 2016-03-14 10:41:32 +09:00
Cheng Zhao
78c66da9e8 Update brightray: dealy loading powrprof.dll 2016-03-13 10:11:15 +09:00
Cheng Zhao
83809cef09 Update to master branch of brightray and libchromiumcontent 2016-03-11 10:47:15 +09:00
Cheng Zhao
60f40a6704 Fix linking error for Release build on Linux 2016-03-10 21:01:45 +09:00
Cheng Zhao
cadd1969d9 Fix compilation errors on Windows 2016-03-10 17:06:23 +09:00
Cheng Zhao
89f17e0baf Create complete URLRequestContextGetter for URLRequestFetchJob
The trivial one is causing crashes.
2016-03-10 17:06:23 +09:00
Cheng Zhao
6de9c4332f Fix passing Promise with remote
Somehow using value.then.bind(value) would result in infinite loop,
could be bug of Chromium.
2016-03-10 17:06:22 +09:00
Cheng Zhao
5fae63a2f5 Fix compilation errors on OS X 2016-03-10 17:06:21 +09:00
Cheng Zhao
3600645575 Fix the compilation errors from brightray and crashpad 2016-03-10 17:06:21 +09:00
Cheng Zhao
30643cf118 Update crashpad to lastest branch 2016-03-10 17:06:21 +09:00
Cheng Zhao
9bc9a1a2bd Upgrade to Chrome 49 2016-03-10 17:06:20 +09:00
Cheng Zhao
651264d098 spec: Fix failing tests on Windows 2016-02-18 11:39:35 +08:00
Cheng Zhao
7fece7e9b3 Link with ffmpeg 2016-02-17 22:21:14 +08:00
Cheng Zhao
12d311fd29 Gracefully destroy downloadItem 2016-02-02 19:52:09 +08:00
Cheng Zhao
1a3c01efca Update native-mate for #4307 2016-02-02 10:11:04 +08:00
Cheng Zhao
7d68ca21c8 No need of DefaultWebContentsDelegate 2016-02-01 21:09:12 +08:00
Cheng Zhao
c4df96df67 Update brightray to fix compilation error 2016-01-27 23:19:22 +08:00
Cheng Zhao
3ca941a949 Update brightray for #4223 2016-01-27 21:03:23 +08:00
Cheng Zhao
205b2455f2 Update node 2016-01-26 20:23:32 +08:00
Cheng Zhao
4cf5982e92 Update brightray for #4169 2016-01-21 14:08:10 -07:00
Cheng Zhao
b132c0dde8 Update brightray, close #4124 2016-01-16 11:43:46 +08:00
Cheng Zhao
adcdf123af Change brightray's PATH_START to 11000 2016-01-11 10:40:45 +08:00
Cheng Zhao
ec4c5e58ff Initialize resource bundle on browser process separately 2016-01-08 12:06:06 +08:00
Cheng Zhao
48451032e3 Update brightray to fix menu not loading resources 2016-01-05 10:22:42 +08:00
Cheng Zhao
cf09e7cb51 Update libchromiumcontent for #3958 2016-01-04 10:59:52 +08:00
Cheng Zhao
b3832629a2 Update libchromiumcontent: component_updater is not needed 2015-12-30 16:14:50 +08:00
Cheng Zhao
c5238bb8f0 Update brightray and libchromiumcontent with widevine support 2015-12-30 11:45:39 +08:00
Cheng Zhao
c47aebaeb4 Do not ship widevine plugin 2015-12-29 21:38:01 +08:00
Cheng Zhao
8ca1bea58b Do not link with unnecessary libraries 2015-12-29 15:45:34 +08:00
Cheng Zhao
19ab68abfb Update libchromiumcontent to include widevine libraries 2015-12-29 14:51:00 +08:00
Cheng Zhao
26f9f83cfd Upgrade brightray for atom/brightray#188 2015-12-25 11:57:35 +08:00
Cheng Zhao
673c6e6917 Upgrade brightray for #3866 2015-12-24 20:08:16 +08:00
Cheng Zhao
046839cb56 Update brightray for #2294 2015-12-24 11:16:46 +08:00
Cheng Zhao
3b3c5a0edb Update brightray for #3831 2015-12-21 10:09:20 +08:00
Cheng Zhao
cefce45ffa Update node: Use phantom callback in CallbackInfo 2015-12-18 12:00:10 +08:00
Cheng Zhao
177cfd9958 Revert "Upgrade node to fix crash in Buffer"
This reverts commit fe9c09ef64.
2015-12-18 09:19:13 +08:00
Cheng Zhao
fe9c09ef64 Upgrade node to fix crash in Buffer 2015-12-17 13:07:41 +08:00
Cheng Zhao
6347f0e321 Upgrade node, fix #3786 2015-12-15 16:25:44 +08:00
Cheng Zhao
2fa7088fd1 Upgrade brightray for atom/brightray#184 2015-12-14 18:11:01 +08:00
Cheng Zhao
67886cf513 Parse filters in API code 2015-12-11 21:14:13 +08:00
Cheng Zhao
f7b7b3407c Update brightray for #3720 2015-12-09 12:34:10 +08:00
Cheng Zhao
505193e239 Link with libyuv_neon.a on ARM 2015-12-08 18:15:01 +08:00
Cheng Zhao
9548a3801b Update brightray: Link a few more X libraries 2015-12-08 17:03:10 +08:00
Cheng Zhao
640b4c3c66 Update brightray for various linking problems 2015-12-08 16:56:20 +08:00
Cheng Zhao
98169032fd Update libchromiumcontent and brightray 2015-12-08 14:49:13 +08:00
Cheng Zhao
785bc2986b Update brightray and libchromium for desktopCapturer 2015-12-08 12:47:07 +08:00
Cheng Zhao
407e88cbad Update brightray 2015-12-08 12:08:33 +08:00
Cheng Zhao
4af2190890 Upgrade to Node v5.1.1 2015-12-08 11:14:30 +08:00
Cheng Zhao
d0be6c7411 Fix cppling warning 2015-12-07 22:44:35 +08:00
Cheng Zhao
95e7c796ec V8 now checks strictly when callin Neuter() 2015-12-07 20:48:39 +08:00