Cheng Zhao
b86267aa3b
Use uint64_t instead of LPARAM
...
LPARAM is defined to differnt types on differnt machines with different
SDKs, so there is no way to represent it on all platforms safely, using
uint64_t seems to be the only safe choice.
2015-10-28 19:51:24 +08:00
Cheng Zhao
5fd310c75f
Add converter for LPARAM
2015-10-28 19:43:05 +08:00
Cheng Zhao
142f380376
Merge pull request #3231 from omrilitov/master
...
Hooking windows messages
2015-10-27 20:48:19 +08:00
Omri Litov
e355532d27
Change windows messages api to hook instead of emitter
2015-10-27 14:00:08 +02:00
Omri Litov
edbebf84b9
Added browser-window event 'message'
2015-10-27 03:12:01 +02:00
Gohy Leandre
b29a8c94b9
Add extra headers option to webContents.loadUrl
2015-10-26 22:18:16 +01:00
Cheng Zhao
fae2c7bc7a
win: Make auto-updater really work
...
Apparently that PR was never tested.
2015-10-23 19:41:54 +08:00
Cheng Zhao
aeafc46ded
Keep compatibility with old API style
2015-10-23 15:50:55 +08:00
Cheng Zhao
f89d28a63e
Simplify the auto-updater implementations
...
We used to use Sparkle on OS X, and the design was reserved to be
extended to all platforms, which are all wrong now.
2015-10-23 15:40:56 +08:00
Cheng Zhao
d74ef5c078
Move implementation of auto-updater on OS X to another file
2015-10-23 15:13:24 +08:00
Cheng Zhao
85c84a0eb0
Emit Date object in C++ directly
2015-10-23 14:58:19 +08:00
Cheng Zhao
95fe4beda8
Pass real Error object in error event
2015-10-23 14:37:35 +08:00
Cheng Zhao
07adbc8e8a
Merge pull request #1984 from patrickdet/windows-auto-updater
...
Windows Auto Updater
2015-10-23 13:54:29 +08:00
Cheng Zhao
e36d455d51
Add setBackgroundColor method
2015-10-23 11:35:33 +08:00
Cheng Zhao
6182e4ce81
Merge pull request #3179 from deepak1556/session_api_patch
...
session: allow setproxy to use external pac script
2015-10-23 10:36:37 +08:00
Robo
e9a5d05b27
session: allow setproxy to use external pac script
2015-10-22 23:03:47 +05:30
Cheng Zhao
6bfe06ec4e
Pass original argv in callback
2015-10-22 19:02:21 +08:00
Cheng Zhao
afc1fff792
Remove the need for ProcessSingletonStartupLock
2015-10-22 17:12:09 +08:00
Cheng Zhao
70e74d05e0
Revert "app.makeSingleInstance is not available on OS X"
...
This reverts commit bcb78ebc00
.
2015-10-22 17:03:18 +08:00
Cheng Zhao
f9d797d1ea
win: Fix compiler warning
2015-10-22 16:55:54 +08:00
Cheng Zhao
e14fd62f46
Correctly handle notification callback when shutting down
...
When returning false in the notification callback the ProcessSingleton
will assume current process is quitting, we should met its expectation.
2015-10-22 16:24:35 +08:00
Cheng Zhao
bcb78ebc00
app.makeSingleInstance is not available on OS X
2015-10-22 15:02:32 +08:00
Cheng Zhao
310954713f
Simplify the usage of singleton
2015-10-22 14:59:12 +08:00
Paul Betts
de66888051
Remove atom_process_singleton, just use the Chrome classes directly
2015-10-21 13:38:39 -07:00
Paul Betts
d020a7dc86
cpplinting
2015-10-21 13:17:56 -07:00
Paul Betts
938d68eb36
Move all the browser.cc code over to atom_api_app.cc
2015-10-21 13:04:50 -07:00
Paul Betts
a160891a27
If a user calls makeSingleInstance more than once, just ignore it
2015-10-21 12:29:00 -07:00
Paul Betts
4a7a09aae1
Infinite Linting
2015-10-20 15:00:10 -07:00
Paul Betts
f759471e01
Update to use Chromium sources
2015-10-20 14:36:01 -07:00
Paul Betts
b6f1729acd
Move initialization of Single Instance into MakeSingleInstance call
2015-10-20 13:38:57 -07:00
Paul Betts
5d4c29a1e3
Ditch double-callback, just use mate directly
2015-10-20 13:27:34 -07:00
Paul Betts
a2eedcc027
Wire up the final callback to JS
2015-10-20 13:17:26 -07:00
Paul Betts
63417bc975
I am not good at C++ at all
2015-10-20 13:17:25 -07:00
Paul Betts
4a4b829cfc
Fix callback handle usage
2015-10-20 13:17:25 -07:00
Paul Betts
b02f89e63b
Typo
2015-10-20 13:16:49 -07:00
Paul Betts
cdd51fa96d
Wire everything up
2015-10-20 13:16:48 -07:00
Paul Betts
717aba9631
Create a dummy method in app that we'll twerk
2015-10-20 13:15:11 -07:00
Patrick Detlefsen
db3bc28937
PR feedback adressed
2015-10-20 19:25:03 +02:00
Cheng Zhao
370cb5b5e1
Merge pull request #3120 from atom/ntlm-part-two
...
Optionally allow NTLM authentication for all domains
2015-10-20 13:48:12 +08:00
Haojian Wu
49d25d0069
Fix: savePage API saves external resources in a wrong directory.
2015-10-18 11:28:05 +08:00
Paul Betts
a3fc25110e
Linter fixes
2015-10-16 16:55:28 -07:00
Paul Betts
5ae6bd2ef4
Wire it up
2015-10-16 16:46:05 -07:00
Paul Betts
7ac643d5f8
Create a new method on App to override URL Security Manager's decisions wrt NTLM
2015-10-16 16:45:54 -07:00
Haojian Wu
facd0fbc08
Implement webContents.savePage API.
2015-10-16 09:23:08 +08:00
Robo
fb5260eb30
browser: get accept-language header from system locale
2015-10-09 13:18:37 +05:30
Robo
d9c6cf7b75
webcontents: dont modify response header value
2015-10-08 11:31:41 +05:30
Cheng Zhao
e1318ffb34
Merge pull request #3010 from deepak1556/guest_zoom_level_patch
...
webcontents: notify guests of embedders' zoom level change
2015-10-08 13:52:22 +08:00
Robo
7756bb6762
webcontents: notify guests of embedders' zoom level change
2015-10-08 10:38:22 +05:30
Cheng Zhao
fe4d86925b
Merge pull request #3020 from atom/fix-switch-path
...
Fix a wrong usage of switch commandline.
2015-10-08 10:37:09 +08:00
Haojian Wu
821005e6b4
Fix a wrong usage of switch commandline.
...
We should not always save switch path as ascii string, which will not be
handled well on Windows.
2015-10-07 12:17:49 +08:00