Haojian Wu
1879392c7b
Reimplement downloadItem.getFilename API.
...
Previously, the suggested file name(Always 'empty') returned by
'download_item->GetSuggestedFilename' is not the same with the default one saved
in local disk.
The patch reimplement this API allowing it to return the default file name, which
is more expected from user.
2015-09-24 16:39:02 +08:00
Haojian Wu
0861d5d44b
Redefine 'will-download' design.
2015-09-24 16:04:44 +08:00
Haojian Wu
4391e81dfe
Keep compatibility with old APIs.
2015-09-21 09:38:06 +08:00
Haojian Wu
5ec74451ef
Introduce DownloadItem for supporting more downloading features.
2015-09-20 18:56:10 +08:00
Haojian Wu
a3e9ff67b0
Fix a wrong check in emitting 'activate-with-no-open-windows' event.
2015-09-16 08:36:01 +08:00
Haojian Wu
9652ed6508
More fixes after code review.
2015-09-14 19:43:21 -07:00
Robo
4062ca5f68
implement wrapSession
2015-09-01 16:50:42 +05:30
Robo
aed487ef40
app: add will-download event to defaultSession
2015-08-31 12:57:56 +05:30
Haojian Wu
a2857d2dca
Implment app.getAppPath API.
2015-07-07 17:37:53 +08:00
Cheng Zhao
09a6e37a09
Keep compatibility with app.resolveProxy
2015-06-24 12:01:19 +08:00
Cheng Zhao
a988b48016
Implement app.getHomeDir with app.getPath
2015-01-18 21:43:20 -08:00
Cheng Zhao
06da5f254a
Add app.setPath and app.getPath APIs
...
They can be used to set/get any path defined in PathService
2015-01-18 21:43:19 -08:00
Cheng Zhao
0e94977d42
Add app.dock.setMenu API
2014-11-16 23:04:31 +08:00
Cheng Zhao
5db31517cb
mac: Fix app.dock.show/hide, close #520 .
2014-07-29 22:31:51 +08:00
Cheng Zhao
8ecc4061a8
mac: Add app.dock.hide()/show() APIs, closes #422 .
2014-06-25 11:55:33 +08:00
Cheng Zhao
da483ba7f3
Simplify app api.
2014-04-17 17:13:46 +08:00
Cheng Zhao
e576d4c014
Fix app.exit compatibility.
2014-04-10 17:08:22 +08:00
Cheng Zhao
538bd1116d
Deprecate app.terminate API.
...
Users should use app.quit which can shutdown the application gracefuly.
2014-04-10 15:08:14 +08:00
Cheng Zhao
516d46444d
Move all sources under atom/.
2014-03-16 08:30:26 +08:00