Cheng Zhao
fdc19f2d3a
Fix building on Windows
2015-11-13 13:23:13 +08:00
Cheng Zhao
05d2e431de
Fix building on OS X
2015-11-13 13:03:00 +08:00
Cheng Zhao
83ae9f8d71
Import the chrome_paths code
2015-11-13 12:45:02 +08:00
Cheng Zhao
6bfe06ec4e
Pass original argv in callback
2015-10-22 19:02:21 +08:00
Cheng Zhao
d52ef50b01
win: Pass original command line
2015-10-22 17:52:06 +08:00
Cheng Zhao
93a3a946f3
posix: Pass original command line
2015-10-22 17:43:55 +08:00
Cheng Zhao
afc1fff792
Remove the need for ProcessSingletonStartupLock
2015-10-22 17:12:09 +08:00
Cheng Zhao
230f2760e7
linux: Delay creating watcher until message loop is ready
2015-10-22 15:57:37 +08:00
Cheng Zhao
f01e84a418
linux: Delay listening to socket until message loop is ready
2015-10-22 15:54:58 +08:00
Cheng Zhao
310954713f
Simplify the usage of singleton
2015-10-22 14:59:12 +08:00
Paul Betts
99c496471b
Allow WM_COPYDATA from all processes
2015-10-20 17:36:05 -07:00
Paul Betts
15f00db1bf
I don't think we need this
2015-10-20 15:03:59 -07:00
Paul Betts
5886398f22
Port our changes over
2015-10-20 14:24:45 -07:00
Paul Betts
7491d5cfb5
Copy back the original versions of Chromium files in
2015-10-20 14:05:07 -07:00
Cheng Zhao
53b9d61831
Fix building on Windows
2015-09-03 20:07:29 +08:00
Cheng Zhao
45491ca7ab
Fix API changes
2015-09-03 17:50:23 +09:00
Haojian Wu
10b53f7f73
Fix print spooler hangs when printing more than 3 pages on Windows.
2015-09-01 17:55:45 +08:00
Haojian Wu
11ffb9dfb6
Fix node::Buffer API changes.
2015-08-11 09:48:29 +08:00
Haojian Wu
d08392a0c4
No need base/float_util.h
since VS2013 supports well enough.
2015-08-11 09:48:29 +08:00
Haojian Wu
48ccb0f2ab
No gfx::SingletonHwnd::Observer any more.
...
Using gfx::SingletonHwndObserver instead.
2015-08-11 09:48:29 +08:00
Haojian Wu
fef53d18c4
Add session.setDownloadPath
API.
2015-07-26 16:51:27 +08:00
Haojian Wu
0700f08d6d
Copy pref_names files from Chromium.
2015-07-26 16:08:29 +08:00
Haojian Wu
16348fc895
Copy pdf data on IO thread to avoid causing main process hangs.
2015-06-16 20:08:30 +08:00
Haojian Wu
57580e00f9
Fix code style.
2015-06-16 20:07:45 +08:00
Haojian Wu
93bbc6c810
Simplify the pdf-data handled code.
2015-06-16 20:07:45 +08:00
Haojian Wu
894f9c0cb0
Don't use duprecated node buffer api, fix build error on OS X.
2015-06-16 20:07:44 +08:00
Haojian Wu
ccbe554ec0
Make callback aligns node.js style.
2015-06-16 20:07:44 +08:00
Haojian Wu
93243ef223
Remove some unused IPC messages.
2015-06-16 20:07:44 +08:00
Haojian Wu
ac62871645
Return node::Buffer as a printToPDF callback result.
2015-06-16 20:07:44 +08:00
Haojian Wu
ab40da3f31
Add silent and savePath options.
2015-06-16 20:07:43 +08:00
Haojian Wu
6e099af5fe
Move PDF printing setting in JS part.
2015-06-16 20:07:43 +08:00
Haojian Wu
2597ded985
Cleanup.
2015-06-16 20:02:25 +08:00
Haojian Wu
36fa4da252
Fix Linux compilation error.
2015-06-16 20:02:25 +08:00
Haojian Wu
68005f9ad4
Fix OS X compilation error.
2015-06-16 20:02:25 +08:00
Haojian Wu
600077996c
Fix a landscape
option error.
2015-06-16 20:02:24 +08:00
Haojian Wu
cef177abc4
Add preview failed error.
2015-06-16 20:02:24 +08:00
Haojian Wu
8572ccb807
Add callback function in printToPDF API.
2015-06-16 20:02:24 +08:00
Haojian Wu
ce8bbb689c
Add options to custom print settings in printToPDF API.
2015-06-16 20:02:24 +08:00
Haojian Wu
9cf9229308
Write PDF file in FILE thread.
2015-06-16 20:02:23 +08:00
Haojian Wu
7ffa7042b1
Add printToPDF Implementation.
2015-06-16 20:02:23 +08:00
Cheng Zhao
b97c22d4d7
win: Load pdf.dll with abosolute path, fix #1826
2015-06-01 12:53:43 +08:00
Haojian Wu
5ede62459c
Rename PrintHandler to PrintHandlerWin since only used on Windows.
2015-05-23 19:24:29 +08:00
Haojian Wu
abd97a7513
Load pdf component dynamically.
...
Ship pdf as dll library, electron only loads pdf.dll when calling print
API. In this way, the developer who don't need print feature can safe
remove the pdf.dll in saving their binary size.
2015-05-23 19:24:27 +08:00
deepak1556
1c190388e5
flash_drm_host not required
2015-05-10 09:22:09 +05:30
deepak1556
3fdc4543b8
ppapi flash plugin support
2015-05-10 09:22:09 +05:30
Cheng Zhao
95e72c24cc
Merge pull request #1532 from hokein/win-print
...
Make Print API work on Windows.
2015-05-10 11:40:19 +08:00
Haojian Wu
0f67b1866a
Add Super
key support in global-shortcut API.
2015-05-05 22:49:32 +08:00
Haojian Wu
f2853a0b89
Some cleanup.
2015-05-05 21:56:58 +08:00
Haojian Wu
ff87592722
Make Print API work on Windows.
2015-04-30 13:42:08 +08:00
Cheng Zhao
b37c73436b
Fix API changes
2015-04-21 18:56:08 +08:00