Cheng Zhao
d3caea91b0
Add paths from chrome_paths
2015-11-13 13:05:16 +08:00
Joao Moreno
7c41f0e0e3
remove kDisableLegacyIntermediateWindow switch set
2015-11-03 16:12:01 -08:00
Cheng Zhao
444f461269
Fix memory corruption when cleaning timer
2015-10-21 20:46:16 +08:00
Cheng Zhao
2d410ede48
Initialize things in the same sequence with main process
2015-10-21 16:24:54 +08:00
Cheng Zhao
fb8ca33d5d
Add ELECTRON_ENABLE_STACK_DUMPING env
...
It enables in-process stack dumping, which is convenient for debugging.
2015-10-20 13:02:48 +08:00
Cheng Zhao
2c4a24d26b
Add ELECTRON_ENABLE_LOGGING env
...
It is the same with --enable-logging.
2015-10-20 13:00:28 +08:00
Cheng Zhao
f5c25d6277
win: Only install breakpad hook when crash-reporter is used
2015-10-15 18:25:07 +08:00
Cheng Zhao
d90b598125
win: Hook up V8 to breakpad
...
This fixes the crashes happens from V8 not caught by the crash reporter,
for more context, see http://code.google.com/p/v8/issues/detail?id=3597 .
Fix #2365 .
2015-10-15 16:36:30 +08:00
Cheng Zhao
f52c4af605
win: Don't output newline except for main process
2015-10-15 12:44:55 +08:00
Eran Tiktin
cb903a09c0
Block all internal logs when running without --enable-logging
2015-10-10 20:44:22 +03:00
Eran Tiktin
1896deb10e
Fix console.* calls on Windows
...
- Calls for console.* on browser process are printed with no need for
--enable-logging
- The output is without the logging prefix
- The cursor in the terminal is always after the last output
- The first output starts on a new line and not at the prompt
- console.* from renderer are not printed to cmd
- Added a missing '\n' in the default_app help output
2015-10-10 06:39:02 +03:00
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
Cheng Zhao
3503b62ff2
Disable logging unless --enable-logging is specified
2015-10-03 15:33:55 +08:00
Cheng Zhao
a5dc911a05
Correctly set user agent for devtools
2015-09-14 22:55:29 +08:00
Cheng Zhao
4412a89270
Explicitly writes debug log to stderr
...
If we don't do this Chromium will close stdout and stderr for us,
resulting process.stdout not working.
2015-09-07 21:45:43 +08:00
Cheng Zhao
599e9b90bb
Provide task runner for the node mode
2015-09-03 17:50:24 +09:00
Cheng Zhao
573c959a75
Use our debugger implementation in Node
2015-08-27 13:16:19 +08:00
Cheng Zhao
7423c89968
Fix compilation warnings caused by chrome44 update
2015-08-11 10:08:34 +08:00
Haojian Wu
d003b1bb57
LoadV8Snapshot has been moved from gin::IsolateHolder to gin::V8Initializer.
2015-08-11 09:48:29 +08:00
Cheng Zhao
ef59f4f243
Move headers to atom/common
2015-06-19 23:11:53 +08:00
Cheng Zhao
83fe340b98
Make process.argv work with zygote
2015-06-19 22:56:10 +08:00
deepak1556
663a48ee38
protocol: api to register custom schemes to standard schemes
2015-06-17 14:43:04 +05:30
Haojian Wu
c3791bba78
Remove duplicated macro.
2015-05-23 19:24:37 +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
Cheng Zhao
b238ac5981
Merge pull request #1660 from deepak1556/filesysem_patch
...
browser: create quota permission context to allow quota request
2015-05-20 14:05:53 +08:00
deepak1556
32ba219146
allowing file:// URI to access other file:// URIs for filesytem api use
2015-05-12 18:21:48 +05:30
Magica
e1beeb95e3
Fix PPAPI flash plugin description
...
Fix https://github.com/atom/electron/issues/1637
2015-05-12 06:02:42 +08:00
deepak1556
15ae6b8d36
fix lint errors and add documentation
2015-05-10 10:25:19 +05:30
deepak1556
853ce0bbd7
provide flag to set flash version
2015-05-10 09:22:09 +05:30
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
Haojian Wu
298d3a0144
Fix compilation error on OS X.
2015-05-04 20:58:48 +08:00
Haojian Wu
ff87592722
Make Print API work on Windows.
2015-04-30 13:42:08 +08:00
Cheng Zhao
88a1c7973c
Set node::node_isolate to fix crash
2015-04-20 14:32:41 +08:00
Cheng Zhao
7a52a4cff1
Also enable the debugger
2015-04-20 14:10:15 +08:00
Robo
ee08d98d2e
node: start debugger for node run during a forked process
2015-04-20 14:06:56 +08:00
Cheng Zhao
0bab50ed80
Fix typo
2015-04-17 15:10:48 +08:00
Cheng Zhao
c20dc06c96
PRODUCT_NAME => ATOM_PRODUCT_NAME
2015-04-14 14:13:03 +08:00
Cheng Zhao
4353c6d402
mac: Allow modifying helper app's name
2015-04-14 13:51:08 +08:00
Robo
8e8c5e1846
atomMain: initialise uv_setup_args
2015-04-04 19:20:21 +05:30
Cheng Zhao
922def8ce0
Cleanup command line handling code
2015-03-29 19:59:16 +08:00
Cheng Zhao
d9c22396ea
Revert "Don't store args as std::string"
...
This reverts commit 8482575d1f
.
There is weird thing happened if we tried to store raw "argv" on Linux.
2015-03-29 19:53:47 +08:00
Cheng Zhao
8482575d1f
Don't store args as std::string
2015-03-29 19:11:25 +08:00
deepak1556
399f47ef0f
implemetation of AtomCommandline to preserve args
2015-03-28 22:41:00 +05:30
Cheng Zhao
6eee6c181d
Improves #1295
2015-03-26 11:27:06 +08:00
deepak1556
15f59b54dd
allow setting loglevel
2015-03-25 20:53:01 +05:30
Cheng Zhao
8328bce3f6
Initialize AtExitManager before calling MainApplicationBundlePath
...
Some singleton calsses require the existence of AtExitManager.
2015-03-18 09:57:45 +08:00
Cheng Zhao
c62c943bdb
Define our own Node entry
...
Chromium's V8 is using external startup snapshot file while Node does
not, so we have to use Chromium's gin for V8 initialization.
2015-03-18 09:57:45 +08:00
Cheng Zhao
dead7caab2
CommandLine moved to base::CommandLine
2015-03-18 09:57:37 +08:00