Commit graph

15448 commits

Author SHA1 Message Date
Cheng Zhao
5a0aab2e4f Make BrowserWindow inheritable. Fixed #23. 2013-06-18 18:35:08 +08:00
Cheng Zhao
eaa03facee Add API for renderer's crashes. 2013-06-10 21:08:30 +08:00
Cheng Zhao
e440ad2714 Make window aware of renderer crashes. 2013-06-10 20:42:10 +08:00
Cheng Zhao
25df5caf63 Use a different icon for atom-shell to make it distinguishable from atom. 2013-06-10 16:12:10 +08:00
Cheng Zhao
93bd97942f Update to latest brightray and libchromiumcontent. 2013-06-10 15:27:09 +08:00
Cheng Zhao
f62b88d9ae Add BrowserWindow.restartHangMonitorTimeout() API. 2013-06-07 18:42:57 +08:00
Cheng Zhao
dfbbaa9efb Allow showing message dialog as sheet. 2013-06-07 15:59:12 +08:00
Cheng Zhao
a897d5b715 Return button's index for [NSAlert runModalSheetForWindow]. 2013-06-07 15:58:36 +08:00
Cheng Zhao
b9455a997c Add runModalSheetForWindow method for NSAlert. 2013-06-07 15:41:26 +08:00
Cheng Zhao
024c316bcd Fullscreen => FullScreen. Fixed #19. 2013-06-07 14:06:30 +08:00
Adam Roben
3d00cded27 Update to latest libchromiumcontent
* vendor/libchromiumcontent fc02d93...f4f8a7e (4):
  > Include encryptor.lib and its symbols and headers in the distribution
  > Build encryptor.lib on Windows
  > Revert all changes before building if any unexpected files are modified
  > Export headers from cc/
2013-06-06 18:50:55 -04:00
Adam Roben
496b246405 Give BrowserContext subclasses access to GetPath() 2013-06-06 18:50:37 -04:00
Cheng Zhao
ae88f303fa Add responsive and unresponsive events for window. 2013-06-06 19:45:48 +08:00
Adam Roben
57066d414c Merge pull request #20 from brightray/windows-dev-tools
Implement undocked dev tools on Windows
2013-06-04 11:36:41 -07:00
Adam Roben
9ad77c4a38 Implement undocked dev tools on Windows
DevToolsWindow represents a vanilla top-level window that shows the dev tools.
It uses ui::WindowImpl to implement window functionality, which requires a
newer libchromiumcontent which contains the necessary headers for using that
class, and requires some modifications to brightray.gypi to make WTL's  headers
available.

* vendor/libchromiumcontent 2f53a96...fc02d93 (4):
  > Export third_party/wtl/include headers
  > Export test_support_base.pdb and test_support_content.pdb
  > Fix linker errors with test_support_base on Windows
  > Fix linker errors with base_prefs_test_support on Windows
2013-06-04 14:33:29 -04:00
Adam Roben
4c9870e753 Fix debug assertion about performing IO on the UI thread
We were querying the application's FILEVERSIONINFO every time we needed to
figure out the path for storing BrowserContext data. Now we cache the path the
first time we need it, which is during application initialization and before IO
prohibitions begin.
2013-06-04 14:17:16 -04:00
Cheng Zhao
556e84f53a Discard fullscreen support on OS X 10.6. 2013-06-04 18:15:03 +08:00
Cheng Zhao
a1dc4b88be Add 'ready-for-update-on-quit' event for auto-updater. 2013-06-03 21:51:46 +08:00
Adam Roben
14edfc7f7c Merge pull request #19 from brightray/file-protocol-handler
Set file and data protocol handler.
2013-06-03 06:27:14 -07:00
Cheng Zhao
f435ed8667 Pass continueUpdate callback in the 'will-install-update' event. 2013-06-03 18:27:12 +08:00
Cheng Zhao
a918cd6b4e willInstallUpdateOnQuit has been discarded in latest Sparkle. 2013-06-03 18:15:20 +08:00
Cheng Zhao
6a5842d03a Don't download frameworks if they exist. 2013-06-03 18:08:18 +08:00
Cheng Zhao
1f8fd40195 Add auto-updater module. 2013-06-03 17:59:34 +08:00
Cheng Zhao
7f605c8442 Fix crashes in auto updater. 2013-06-03 17:58:34 +08:00
Cheng Zhao
600f38c94d Don't ship frameworks in repository, instead we download them. 2013-06-03 17:58:20 +08:00
Cheng Zhao
bf409efc46 Add 'will-finish-launching' event for app. 2013-06-03 15:31:46 +08:00
Cheng Zhao
e4d2368908 Add a few more methods for AutoUpdater. 2013-06-03 10:34:42 +08:00
Cheng Zhao
08dbdd9718 Wrap Sparkle's minimum interface with C++. 2013-06-02 20:26:03 +08:00
Cheng Zhao
312744b863 Build with Sparkle.framework. 2013-06-02 15:48:08 +08:00
Cheng Zhao
cfa02bb41c URL => Url in javascript. 2013-06-02 15:15:56 +08:00
Cheng Zhao
02c5ad16f3 Show uncaught exception in message dialog. 2013-06-02 14:55:47 +08:00
Cheng Zhao
c6ce3b789b Update node binary to v0.10.9. 2013-06-02 12:25:16 +08:00
Cheng Zhao
dfa5257ce0 Update to latest chromium and brightray. 2013-06-02 00:26:24 +08:00
Cheng Zhao
27d55031f4 Set file and data protocol handler. 2013-06-02 00:25:04 +08:00
Cheng Zhao
cbb467032d Add process.crash() for both browser and renderer. 2013-06-01 16:06:29 +08:00
Cheng Zhao
cd42fcceb9 Add crash reporter module (based on Quincy). 2013-06-01 15:57:37 +08:00
Cheng Zhao
97bc6cfc81 Build with Quincy. 2013-06-01 15:17:45 +08:00
Cheng Zhao
e6b4d52ee5 Rollback node to v0.10.5, there is ABI changes in V8. 2013-06-01 01:47:58 +08:00
Cheng Zhao
bdf12ddf3e Update node to v0.10.9. 2013-06-01 01:10:39 +08:00
Adam Roben
3d12cb2c64 Don't crash when HTML notifications are used on Windows
Eventually we'll implement real support for this, but for now not crashing is
more important.
2013-05-31 08:05:14 -04:00
Cheng Zhao
e8715f4c14 Don't emit 'open-file' event for files passed in command line.
Fixes #16.
2013-05-31 10:17:40 +08:00
Adam Roben
2582e8561c Update to Chromium r202921
* vendor/libchromiumcontent 0d02a8d...2f53a96 (1):
  > Merge pull request #14 from brightray/latest-chromium
2013-05-30 15:07:32 -04:00
Cheng Zhao
bb69d99423 Use - as filename seperator for coffee script files. Fixes #15.
Also clean unused files and wrong file names.
2013-05-30 20:21:07 +08:00
Cheng Zhao
9ea1f9956e Add app.focus API. 2013-05-30 19:24:47 +08:00
Cheng Zhao
4133fc28d9 Emit 'finish-launching' event when the application has finished launching. 2013-05-30 19:12:14 +08:00
Cheng Zhao
7dd48e24d3 Emit 'open-file' event when OS X is trying to open file with the app. 2013-05-30 16:03:10 +08:00
Cheng Zhao
01af2fd0c5 Improve default page. 2013-05-30 15:40:44 +08:00
Adam Roben
f88634fea5 Pull in libchromiumcontent's Windows test support
* vendor/libchromiumcontent 3cbc11e...0d02a8d (1):
  > Merge pull request #13 from brightray/windows-test-support
2013-05-29 13:15:29 -04:00
Adam Roben
a24c390318 Use the user-visible version number in our user agent string
I.e., use CFBundleShortVersionString instead of CFBundleVersion on OS X and
ProductVersion instead of FileVersion on Windows.

This is generally more useful (although slightly lower granularity) than the
machine-readable version number.
2013-05-28 15:42:52 -04:00
Adam Roben
54419bbbb1 Set the user agent string correctly on Windows
We use the main executable's ProductName and FileVersion resources to build the
user agent string.
2013-05-28 15:24:55 -04:00