Commit graph

23978 commits

Author SHA1 Message Date
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
Adam Roben
70af1f351f Automatically exclude platform-specific files for all targets
This way embedding applications don't have to do this themselves, as long as
they follow our naming conventions.
2013-05-28 14:27:57 -04:00
Adam Roben
3070c6a723 Merge pull request #18 from brightray/better-windows-defaults
Improve Windows default build settings
2013-05-28 09:01:25 -07:00
Adam Roben
427ba96062 Set up linker defaults for Windows
These match Chromium's defaults.
2013-05-28 11:56:50 -04:00
Adam Roben
3f40456161 Make our Windows build settings actually take effect
We need to put them inside the target_defaults dictionary. Now that these
settings are turned on, we need to ignore some warnings that Chromium ignores.
2013-05-28 11:56:17 -04:00
Adam Roben
37d847c416 Fix linker errors about __imp___CrtDbgReportW
We were linking against the release CRT but defining _DEBUG, which should only
be defined when using the debug CRT.
2013-05-28 11:55:25 -04:00
Cheng Zhao
9cf890bb61 Add BrowserWindow.restart() to restart renderer process. 2013-05-28 16:22:29 +08:00
Cheng Zhao
39bd56af4c Focusing on window should also focus on application. 2013-05-25 15:08:58 +08:00
Cheng Zhao
4a79842c4c Enable '+', ',', '-', '.' in accelerators. 2013-05-24 20:05:51 +08:00
Cheng Zhao
3259246d17 Emit 'blur' event at right time. 2013-05-24 18:15:27 +08:00
Cheng Zhao
5f26b83ec1 Add app.exit() API to exit with specified exit status. 2013-05-24 17:59:11 +08:00
Cheng Zhao
9c86978da0 Add 'blur' window event. 2013-05-24 17:58:39 +08:00
Cheng Zhao
edf2e84895 Add BrowserWindow.focusOnWebView and blurWebView. 2013-05-24 17:51:15 +08:00
Cheng Zhao
f3a8a0741c Use the new way of reporting exception in node context.
More on this can be found at:
3c0fc7ad9f
2013-05-23 13:49:13 +08:00
Adam Roben
51cb56e604 Get libchromiumcontent back on master 2013-05-22 16:58:59 -04:00
Adam Roben
cf14f09228 Stub out InspectableWebContentsViewWin
This class doesn't implement any devtools behavior yet. Right now it's just a
glorified wrapper around a content::WebContents. But it's enough to show web
content on screen on Windows!
2013-05-22 16:57:32 -04:00
Adam Roben
b970e9d5c3 Only compile HandleKeyboardEvent on Mac 2013-05-22 16:08:40 -04:00
Adam Roben
f2ff1fb406 Merge pull request #17 from brightray/windows-brightray_example
Changes needed for building brightray_example on Windows
2013-05-22 12:08:13 -07:00
Adam Roben
d54f4e2bdd Update libchromiumcontent to get icudt.dll
* vendor/libchromiumcontent 31efc77...e436974 (2):
  > Export icudt.dll for Windows clients
  > Export libGLESv2.dll on Windows
2013-05-22 14:04:28 -04:00
Adam Roben
f2909b0d90 Set up the resource bundle on Windows 2013-05-22 14:00:43 -04:00
Adam Roben
3713ea6403 Exclude platform-specific files from other platforms 2013-05-22 14:00:43 -04:00