Cheng Zhao
d4e362ec89
Add error and update-not-available events for auto updater.
2014-01-21 22:50:46 +08:00
Cheng Zhao
df399f7c8c
Implement auto_updater with Squirrel.
2014-01-21 22:13:34 +08:00
probablycorey
2a7244a366
Remove references to Sparkle
2014-01-20 16:22:49 -08:00
probablycorey
5741bad918
💄
2014-01-20 16:22:32 -08:00
Cheng Zhao
9ac555c302
move atom_menu_controller_mac to browser/ui/cocoa.
2014-01-16 10:22:33 +08:00
Cheng Zhao
43711083f7
Move atom_event_processing_window to browser/ui/cocoa.
2014-01-16 10:09:36 +08:00
Cheng Zhao
9b07c2b894
Move nsalert_synchronous_sheet_mac to browser/ui/cocoa.
2014-01-16 10:06:05 +08:00
Cheng Zhao
2c28725722
gtk: Support frameless window.
2014-01-15 15:15:45 +00:00
Cheng Zhao
406f0b7bc7
Implement "blur" window event.
2014-01-15 14:38:38 +00:00
Cheng Zhao
6912a0513a
gtk: Set WebKit's style from current theme.
2014-01-15 14:31:26 +00:00
Cheng Zhao
0398577e93
gtk: Implement basic native window methods.
2014-01-15 13:28:00 +00:00
Cheng Zhao
2f798c5116
Merge branch 'master' into linux
...
Conflicts:
vendor/apm
2014-01-15 11:18:40 +00:00
Cheng Zhao
363f1da77e
Bump v0.8.6.
2014-01-14 01:34:07 -08:00
Cheng Zhao
fbc68ecce5
Bump v0.8.5.
2014-01-14 16:24:53 +08:00
Cheng Zhao
249366c90a
Restart renderer process for all navigations and reloads, fixes #157 .
2014-01-14 16:03:01 +08:00
Cheng Zhao
931182b677
Fix crash when calling dialog's callback.
2014-01-14 14:18:32 +08:00
Cheng Zhao
2a129f892f
Bump v0.8.4.
2014-01-13 18:46:19 +08:00
Cheng Zhao
b0c23294fe
Also use uv loop fixes in browser process.
2014-01-13 13:57:08 +08:00
Cheng Zhao
c76f510cea
Bump v0.8.3.
2014-01-07 08:26:12 -08:00
Cheng Zhao
cf4616de7f
api::EventEmitter could also be used by renderer.
2014-01-07 19:32:40 +08:00
Cheng Zhao
6f222651d7
Bump v0.8.2.
2014-01-07 18:44:37 +08:00
Cheng Zhao
fe8a2b9ee0
Still support 'atom-delegate' API for old apps.
2014-01-07 09:50:00 +08:00
Cheng Zhao
b939232670
mac: Should set default size when creating window.
2014-01-06 18:58:30 +08:00
Cheng Zhao
a4253e3899
linux: Implemnt browser methods.
2014-01-02 14:47:54 +00:00
Cheng Zhao
52b5f769f0
linux: Add empty implementation of auto updater.
2014-01-02 14:15:02 +00:00
Cheng Zhao
b73a114f8f
gtk: Implement accelerator_util.
2014-01-02 14:12:05 +00:00
Cheng Zhao
cac3973731
Flip the y axis in CapturePage API, fixes #148 .
2013-12-31 14:40:42 +08:00
Cheng Zhao
67ed72294b
Bump v0.8.1.
2013-12-29 23:09:19 +08:00
Cheng Zhao
1bb5481071
Fix circulate require.
2013-12-29 22:33:53 +08:00
Cheng Zhao
876063b1ba
Fix console.log under Windows.
...
The process.log is not added until the next iteration of uv loop.
2013-12-29 22:32:26 +08:00
Cheng Zhao
7d193033f5
💄 Fix wrong order of parameter when killing process.
2013-12-29 22:11:54 +08:00
Cheng Zhao
f28881e203
Fix crash caused by BrowserWindow.destroy().
2013-12-27 15:41:00 +08:00
Cheng Zhao
1701f572e2
Fix crash when calling method of destroyed object.
2013-12-27 14:47:50 +08:00
Cheng Zhao
a60be1563f
Do not implement window.open.
2013-12-27 14:32:24 +08:00
Cheng Zhao
7c3f22a333
Bump v0.8.0.
2013-12-27 14:09:10 +08:00
Cheng Zhao
aedacd39d2
Rename 'finish-launching' event to 'ready',
...
'finish-launching' is more like a OS X message name, and in atom-shell
it means initialization has done, so 'ready' seems to be a better name
and more easy to remember.
The 'will-finish-launching' event just represents the corresponding
message on OS X and is the same with 'ready' on other platforms, so we
keep its name to indicate that it's only useful for OS X specified
code.
2013-12-27 11:08:26 +08:00
Cheng Zhao
d3f33152d0
Get rid of the ugly ATOM_BROWSER_INTERNAL_NEW message.
2013-12-26 18:41:21 +08:00
Cheng Zhao
031426d54e
Use our fork of V8ValueConverter for all cases.
2013-12-23 22:42:21 +08:00
Cheng Zhao
f646d2dda8
Enable high DPI support.
2013-12-20 14:14:07 +08:00
Cheng Zhao
5b12f80d01
Discard the require('atom-delegate') API.
2013-12-17 22:08:45 +08:00
Cheng Zhao
75c44ca057
Fix initializing V8 on Windows.
2013-12-17 21:55:56 +08:00
Cheng Zhao
56f709ff1f
Continue fixing compilation erros on Windows.
2013-12-17 18:34:45 +08:00
Cheng Zhao
0215c2fbee
Make all the windows code compile for Chrome 31.
2013-12-17 17:52:57 +08:00
Cheng Zhao
a4715f936b
Merge branch 'master' into chrome31
...
Conflicts:
common/atom_version.h
2013-12-17 12:58:25 +08:00
Cheng Zhao
7e67f7632d
💄 Fix cpplint warnings.
2013-12-15 17:09:35 +08:00
Cheng Zhao
474e1fcd3b
Fix protocol module specs.
2013-12-15 16:53:07 +08:00
Cheng Zhao
cc5db4dab9
Suppress the EventEmitter's warning for ObjectsRegistry.
...
It's possible that many objects subscribed to it.
2013-12-15 16:15:18 +08:00
Cheng Zhao
886ebdb002
Use node's Environment feature to add "require" in renderer.
2013-12-15 14:20:28 +08:00
Cheng Zhao
2413eebd7b
Disable accelerated compositing to fix everything.
2013-12-13 00:57:08 +08:00
Cheng Zhao
1c0b391419
Fix the black devtools view.
...
Without using UnderlayOpenGLHostingWindow the devtools view would just
be black.
2013-12-12 15:49:08 +08:00
Cheng Zhao
e4bfa373de
Fix node integration to browser after updated to Chrome31.
2013-12-11 23:59:03 +08:00
Cheng Zhao
d53915c6ab
Fix recursive calling of handle().
2013-12-11 23:57:37 +08:00
Cheng Zhao
409a431892
Huge commit to use new V8 and Content APIs.
...
Still got a lots of linking errors!
2013-12-11 15:48:19 +08:00
Cheng Zhao
d82cfc023f
💄 There should be no space between & and type name.
2013-12-10 14:27:25 +08:00
Cheng Zhao
f9c41f33e5
node::ObjectWrap how had a handle() method.
2013-12-10 14:15:37 +08:00
Cheng Zhao
4ec4b01218
base/string16.h was moved to base/strings/string16.h.
2013-12-10 14:14:05 +08:00
Cheng Zhao
9ac0591386
Bump v0.7.6.
2013-12-08 22:42:43 -08:00
Cheng Zhao
cb73a3c572
Remove the RestartHangMonitorTimeout API, which is useless now.
2013-12-09 14:17:56 +08:00
Cheng Zhao
085b1a45ee
Report the right render view that is deleted.
2013-12-06 15:53:40 +08:00
Cheng Zhao
0a63395b0f
💄 Restore old settings in app specs.
2013-12-06 14:54:29 +08:00
Cheng Zhao
623e0f3ae4
Release render view's remote objects when it's deleted.
...
Privously we release them when the window is unloaded, which is not
correct since a render view can have multiple windows (or js contexts)
and when the unload event is emitted the render view could already have
gone.
This PR does the cleaning work purely in browser, so here is no need to
worry about renderer's life time.
2013-12-06 14:44:25 +08:00
Cheng Zhao
4a1ee39156
Get rid of manually converting to base::Value when possible.
2013-12-05 23:47:07 +08:00
Cheng Zhao
65b3435156
Bump v0.7.5.
2013-12-05 13:48:19 +08:00
Cheng Zhao
a0c0bb18b7
Choose a better name for the default_app.
2013-12-05 11:31:16 +08:00
Cheng Zhao
284160bf2d
Set application's name and version from the package.json.
2013-12-05 11:30:06 +08:00
Cheng Zhao
0229c3187b
Override the user agent to contain application and atom-shell's version.
2013-12-05 11:21:11 +08:00
Cheng Zhao
fc4ed9be12
Use bundle's name as application name when we have one.
2013-12-05 10:42:04 +08:00
Cheng Zhao
a614134144
Simplify V8 operations.
2013-12-05 10:35:57 +08:00
Cheng Zhao
5670ee7693
Add API to get and override application name.
2013-12-05 10:32:58 +08:00
Cheng Zhao
420ae1a2cc
Add API to override browser version.
2013-12-05 10:26:01 +08:00
Cheng Zhao
02bbf07d3a
Enable overriding UA strings.
2013-12-05 10:08:11 +08:00
Cheng Zhao
7cffbc8a1a
Bump v0.7.4.
2013-12-04 22:12:58 +08:00
Cheng Zhao
e45f83e62a
Make sure browserWindow.destroy() doesn't leave zombie processes.
2013-12-04 22:00:20 +08:00
Cheng Zhao
687c9de5d7
win: Implement NativeWindowWin::HasModalDialog().
2013-12-04 21:18:53 +08:00
Cheng Zhao
e43b39a009
Do not send "unresponsive" message if window is showing a modal dialog.
2013-12-04 17:18:55 +08:00
Cheng Zhao
bfe8928ab1
Do not use flags to mark whether the window is unresponsive.
...
It's error prone.
2013-12-04 17:10:59 +08:00
Cheng Zhao
d6d1604623
mac: Add API to return whether the window has attached sheet.
2013-12-04 16:32:32 +08:00
Cheng Zhao
7d5826df85
Add "Cmd" and "Control" alias for "Command" and "Ctrl".
2013-11-29 16:31:38 +08:00
Cheng Zhao
9493c1b0bb
Bump v0.7.3.
2013-11-29 16:22:27 +08:00
Cheng Zhao
8237edcf0d
Add "CommandOrControl" to represent "Command" on OS X and "Ctrl" on other platforms.
2013-11-29 16:11:48 +08:00
Cheng Zhao
02d14ed23b
Fix returning the chosen option for synchronous dialogs.
2013-11-29 15:19:00 +08:00
Cheng Zhao
a0a5b20ef1
Send the "unresponsive" event if window is not closed in 500ms when closing it.
2013-11-29 14:52:12 +08:00
Cheng Zhao
fd081e162b
Bump v0.7.2.
2013-11-28 21:00:40 +08:00
Cheng Zhao
da03784610
Bump v0.7.1.
2013-11-23 01:09:42 -08:00
Cheng Zhao
6393e2e1e5
Bump v0.7.0.
2013-11-27 16:11:19 +08:00
Cheng Zhao
a5224f705d
mac: Use "Atom Framework.framework" instead of "Atom.framework".
...
The "Atom.framework" would confuse breakpad with "App.app" when finding
symbols.
2013-11-25 15:37:39 +08:00
Cheng Zhao
59b3e74542
Merge branch 'master' into breakpad
2013-11-22 19:37:34 +08:00
Cheng Zhao
4af646b760
Bump v0.6.12.
2013-11-22 15:18:21 +08:00
Cheng Zhao
4af802f215
Enable ignoring |rect| when calling BrowserWindow.capturePage.
2013-11-22 14:29:20 +08:00
Cheng Zhao
3b4a45ac65
Add BrowserWindow.capturePage API.
2013-11-22 14:23:19 +08:00
Cheng Zhao
8d6764e0a0
Return screenshot's data buffer instead of directly saving to file.
2013-11-21 22:03:29 +08:00
Cheng Zhao
36ecb35cb1
Add API to capture a page into file.
2013-11-21 21:50:06 +08:00
Cheng Zhao
9ad3b7939f
Bump v0.6.11.
2013-11-20 22:51:26 +08:00
Matt Colyer
113d644615
Don't map command to ctrl
...
We no longer what this behavior because it's confusing unless you
understand that atom-shell does this.
2013-11-19 15:18:54 -08:00
Cheng Zhao
374cf948e4
Make the crash reporter available for both browser and renderer.
2013-11-13 17:29:35 +08:00
Cheng Zhao
8f558fb252
mac: Tune parameters of breakpad.
2013-11-13 17:20:52 +08:00
Cheng Zhao
8f2dd91e34
Setup breakpad in crash reporter.
2013-11-13 17:20:52 +08:00
Cheng Zhao
6c0621fe05
Bump v0.6.10.
2013-11-11 20:04:15 +08:00
Cheng Zhao
baa6d9730c
win: Enable setting window icon in creation options.
2013-11-11 19:29:40 +08:00
Cheng Zhao
44c0dc9104
Bump v0.6.9.
2013-11-07 16:59:45 +08:00
Cheng Zhao
8d710609fd
win: Fix setting icon after format of atom.rc has changed.
2013-11-07 15:09:45 +08:00
Cheng Zhao
d1dc041aaf
win: Use exe's icon as window icon, fixed #123 .
2013-11-07 11:06:25 +08:00
Cheng Zhao
dc1a8b644a
Get the status of devtools from brightray, fixed #27 .
2013-11-05 10:32:45 +08:00
Cheng Zhao
585777e62d
Allow single-character accelerators.
2013-10-22 09:38:19 +08:00
Cheng Zhao
640f45a5b3
Fix a possible crash when calling AdapterRequestJob::Kill().
2013-10-22 09:33:38 +08:00
Cheng Zhao
27be89d39a
Should not touch process.argv when starting the default_app.
2013-10-21 16:48:52 +08:00
Cheng Zhao
5ce66fca5c
Do not use sscanf.
2013-10-21 15:59:45 +08:00
Cheng Zhao
94e4044160
Allow "Space" in accelerator.
2013-10-21 15:35:54 +08:00
Cheng Zhao
30eabfb9f6
Allow "F1" - "F24" in accelerator.
2013-10-21 15:33:19 +08:00
Cheng Zhao
a6eb261af0
Get rid of the NormalizeShortcutSuggestion function.
2013-10-21 14:34:25 +08:00
Cheng Zhao
6e4f74ae35
Allow more special keys in the accelerator.
2013-10-21 14:25:36 +08:00
Cheng Zhao
f091352c56
Slightly optimize accelerator token comparing.
2013-10-21 14:05:43 +08:00
Cheng Zhao
534ff5efdb
Be case-insensible of accelerators.
2013-10-21 13:46:37 +08:00
Cheng Zhao
51d92454ce
Map all single symbols in the keyboard to accelerators.
2013-10-21 13:39:55 +08:00
Cheng Zhao
7c30d037a3
mac: Enable to set the 'Help' menu, fixes #109 .
2013-10-17 10:21:24 +08:00
Cheng Zhao
92c68797d0
Enable more common ASCII tokens to be used in accelerator, fixes #107 .
2013-10-10 14:33:59 +08:00
Cheng Zhao
6a712d4db4
Merge pull request #105 from atom/windows-menu
...
Implement menu API on Windows, fixes #75 .
2013-10-06 17:58:42 -07:00
Cheng Zhao
a182de20a4
win: Newly created window should also be aware of application menu.
2013-10-07 08:56:52 +08:00
Cheng Zhao
caaab22841
Do not dereference remote callback if its renderer view is released.
2013-10-05 20:53:31 +08:00
Cheng Zhao
1e1fec15b6
Make objects registry code more structured.
2013-10-05 20:47:49 +08:00
Cheng Zhao
1524ced816
Set application menu would set menu for all windows on Windows.
2013-10-05 14:31:30 +08:00
Cheng Zhao
93f1a3dbd5
Make app.setApplicationMenu an alias to Menu.setApplicationMenu.
2013-10-05 13:46:48 +08:00
Cheng Zhao
666f6b3a01
Add app.getBrowserWindows() API.
2013-10-05 13:13:04 +08:00
Cheng Zhao
587484a5d0
Make sure application menu always get referenced.
2013-10-05 12:56:30 +08:00
Cheng Zhao
55a35d473d
win: Make web view focused initialy.
2013-10-04 23:38:37 +08:00
Cheng Zhao
d86172cc87
win: Make window menu's accelerators work.
2013-10-04 23:36:31 +08:00
Cheng Zhao
32432cc770
Convert "Command" to "Ctrl" in accelerators on non-Mac.
2013-10-04 23:01:29 +08:00
Cheng Zhao
ae98d9c8b6
💄 NativeWindowClientView no longer needs a extra content view.
2013-10-04 09:04:32 +08:00
Cheng Zhao
4e2d3f3d12
win: Make native window a views::View.
2013-10-04 08:52:45 +08:00
Cheng Zhao
a2f679e4bd
win: Respond to events of window menu.
2013-10-03 23:34:42 +08:00
Cheng Zhao
06ae5c06b8
Make sure binary version is dumped before uploading.
2013-10-03 11:48:13 +08:00
Cheng Zhao
0483871388
Add --version flag to print atom-shell's version.
2013-10-03 11:36:17 +08:00
Cheng Zhao
bbb9c37f70
BrowserWindow.focus() should not make window become visible, fixed #106 .
2013-10-03 09:42:20 +08:00
Cheng Zhao
88ce2a5390
Add BrowserWindow.isVisible() API.
2013-10-03 08:28:22 +08:00
Cheng Zhao
6748573dee
Show a simple menu in default_app on Windows.
2013-10-02 21:51:19 +08:00
Cheng Zhao
5c8566e0d4
win: Show popup menu at right place.
2013-10-02 21:43:52 +08:00
Cheng Zhao
5a6ff0f80d
win: Add BrowserWindow.setMenu API.
2013-10-02 21:24:21 +08:00
Cheng Zhao
2024ae5dba
💄 Fix build on Windows.
2013-10-02 20:43:30 +08:00
Cheng Zhao
709563c090
Set proxy service at the right place.
2013-09-29 21:43:17 +08:00
Cheng Zhao
99d901bc9a
Switch to use the ProxyResolverV8, fixes atom/atom#894 .
2013-09-29 15:06:29 +08:00
Cheng Zhao
54b0d0c9c0
Free the native window's memory after the event were sent for all observers.
...
If we delete the window immediately other observers may get a invalid
window and cause random crashes.
2013-09-27 15:24:03 +08:00
Cheng Zhao
f4f42b30ee
💄 Fix warnings of coffeelint.
2013-09-27 11:03:23 +08:00
Cheng Zhao
6bee435170
Destroy the event object immediately after the reply is sent, fixes #102 .
2013-09-26 11:28:53 +08:00
Cheng Zhao
5480cf58c2
Add spec for destroying synchronous event.
2013-09-26 11:27:09 +08:00
Cheng Zhao
cf75e4ac49
Move atom_event_processing_window to browser/ui.
2013-09-25 16:51:55 +08:00
Cheng Zhao
ac68589291
cocoa: Don't use Chrome's UnderlayOpenGLHostingWindow.
...
The UnderlayOpenGLHostingWindow would add a semi-transparent layer under
the window, I'm not very sure what does this class exactly do, but
removing it seems no harm to the renderer.
Fixes atom/atom#877 .
2013-09-25 16:51:33 +08:00
Cheng Zhao
bc95cac3ed
💄 Same indent.
2013-09-25 16:18:33 +08:00
Cheng Zhao
eed8f6cabc
Remove the CustomFrameView, it's no longer needed.
2013-09-25 15:40:22 +08:00
Cheng Zhao
14de58a6b7
Calling asynchronous functions in renderer now doesn't block browser.
2013-09-24 18:01:12 +08:00
Cheng Zhao
085f0a2544
win: Implement asynchronous ShowMessageBox.
2013-09-24 16:11:23 +08:00