Commit graph

28218 commits

Author SHA1 Message Date
Cheng Zhao
f26db5c7a1 Enable getUserMedia(). Part of fixes for #31. 2013-06-21 16:05:28 +08:00
Cheng Zhao
354a1c555b Update node to v0.10.12. 2013-06-21 12:28:23 +08:00
Cheng Zhao
1eb521d32a Use unzip command on Mac to keep symbol links in zip file work. 2013-06-21 10:32:57 +08:00
Cheng Zhao
2f50102b50 Rewrite update-frameworks script in python. 2013-06-20 23:23:22 +08:00
Cheng Zhao
9bcb677012 Simplify download function. 2013-06-20 23:10:00 +08:00
Cheng Zhao
993c7ad650 Use .py suffix for python scripts, we're following chromium. 2013-06-20 22:55:54 +08:00
Cheng Zhao
9983e7c0ba Move helper functions into a common module. 2013-06-20 22:51:58 +08:00
Cheng Zhao
07260731ca Rewrite update-node script in python. 2013-06-20 22:49:11 +08:00
Cheng Zhao
e3803bc499 Update brightray: fix linking with libchromiumcontent. 2013-06-19 22:54:40 +08:00
Cheng Zhao
6d187cbb7d Build atom-shell with ninja. 2013-06-19 21:34:43 +08:00
Cheng Zhao
467b2b154f Add script to find existing Mac SDK (taken from chromium). 2013-06-19 21:34:24 +08:00
Cheng Zhao
9b66f357e3 Rewrite bootstrap script in python. 2013-06-19 14:32:41 +08:00
Cheng Zhao
7138d3a58d Add app.getHomeDir() API. 2013-06-19 13:49:58 +08:00
Cheng Zhao
81aea6a4b9 Add app.getVersion() API. Fixes #28. 2013-06-19 13:44:17 +08:00
Cheng Zhao
a79649c43f Add platform method to return executable(bundle)'s version. 2013-06-19 13:41:54 +08:00
Cheng Zhao
c9e9080a35 Fix cpplint errors. 2013-06-19 13:24:13 +08:00
Cheng Zhao
09f8488893 Set base url in bootstrap script by default. 2013-06-19 10:54:05 +08:00
Cheng Zhao
a8eaaf9739 Update libchromiumcontent, fixed #22. 2013-06-19 10:52:18 +08:00
Cheng Zhao
dbaf8860a6 Revert "Make BrowserWindow inheritable. Fixed #23."
This reverts commit 5a0aab2e4f.
2013-06-18 21:40:03 +08:00
Cheng Zhao
3d267e2a9f Since we support inheritance of native objects, use js to send messages. 2013-06-18 18:47:13 +08:00
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