Commit graph

1678 commits

Author SHA1 Message Date
Cheng Zhao
2f5dfb1dc7 Do not init Menu lazily, otherwise empty menus would be invalid. 2014-05-27 09:10:54 +08:00
Cheng Zhao
541b855512 Move the ability of calling _init to native_mate. 2014-05-27 08:47:53 +08:00
Cheng Zhao
8b42990bb3 Bump v0.12.6. 2014-05-26 13:34:57 +00:00
Cheng Zhao
5b216ee0e6 Merge pull request #354 from atom/automatic-group-id
Improve radio and checkbox menu items support
2014-05-26 21:40:56 +08:00
Cheng Zhao
9b8edeb609 Fix specs. 2014-05-26 13:01:26 +08:00
Cheng Zhao
15d9b320db 💄 Organize Menu and MenuItem's code. 2014-05-26 12:40:21 +08:00
Cheng Zhao
d38ffea4a3 win: Setting enabled/visiable should also update menu. 2014-05-26 12:00:20 +08:00
Cheng Zhao
dfa1ae1c20 win: Update states when setting checked property. 2014-05-26 11:34:36 +08:00
Cheng Zhao
6ee437e9bf win: Force menuWillShow to be called when setting window menu. 2014-05-26 09:38:04 +08:00
Cheng Zhao
0e5f697b48 win: Update menu states when setting menu bar. 2014-05-26 09:18:19 +08:00
Cheng Zhao
22927c9478 Fix error when showing empty menu. 2014-05-25 16:37:45 +08:00
Cheng Zhao
f07d8c5677 Quit when get uncaughtException in specs. 2014-05-25 16:16:29 +08:00
Cheng Zhao
cd35430d0e mac: Make sure menuWillShow is called when setting application menu. 2014-05-25 15:42:23 +08:00
Cheng Zhao
6a48568911 Radio menu items should have at least one item checked.
This is to force all platforms to match the same behavior in GTK+.
2014-05-25 15:25:36 +08:00
Cheng Zhao
3921895dd5 Add specs for radio menu items. 2014-05-25 13:01:53 +08:00
Cheng Zhao
aa17b3adc2 Setting a radio menu item should flip other items in the group. 2014-05-25 12:47:38 +08:00
Cheng Zhao
04fbec5120 Generate menu group id automatically.
In GTK+ radio menu items are managed automatically, so group id won't
have any effect there, in the meanwhile we need to maintain the same
behavior on all platforms, so we have to generate group id instead of
letting users specifying it.
2014-05-25 12:37:00 +08:00
Cheng Zhao
76d0d3ec19 gtk: Fix setting unresizable window. 2014-05-25 11:44:25 +08:00
Cheng Zhao
fd99d21c8f Make menu's checked property flipped automatically, fixes #349. 2014-05-25 11:32:29 +08:00
Cheng Zhao
6a071e1b4d win: Implement focus and blur event. 2014-05-24 13:04:04 +08:00
Cheng Zhao
393d61b362 Override app version and name when loading apps from default_app.
Fixes #346.
2014-05-24 11:18:06 +08:00
Cheng Zhao
3d2464c30e 📝 Fix typos regarding to #349. 2014-05-24 10:41:54 +08:00
Cheng Zhao
890448d5fa Merge pull request #351 from atom/custom-web-preferences
Enable custom web preferences
2014-05-23 23:18:06 +08:00
Cheng Zhao
2984c0d521 📝 Add details on plugins support. 2014-05-23 23:07:38 +08:00
Cheng Zhao
fc9fd46308 gtk: Fix the focus event. 2014-05-23 23:00:04 +08:00
Cheng Zhao
542e795fe0 📝 Mention atom-shell's changes to the process object. 2014-05-23 22:56:56 +08:00
Cheng Zhao
fc1bc78fb9 Merge pull request #343 from gmr/master
Add a `focus` event to BrowserWindow
2014-05-23 22:49:59 +08:00
Cheng Zhao
2565a4e71b Merge pull request #347 from SeriousM/patch-2
Add information about the crash-reporter payload
2014-05-23 22:48:31 +08:00
Cheng Zhao
23d2dc5007 📝 Document the 'web-preferences' option. 2014-05-22 23:58:02 +08:00
Cheng Zhao
1fbebb0da7 Add 'extra-plugin-dirs' option. 2014-05-22 23:48:00 +08:00
Cheng Zhao
2204e9bb15 Add 'web-preferences' options in BrowserWindow. 2014-05-22 22:54:09 +08:00
Bernhard Millauer
8fd31106ca Add information about the crash-reporter payload 2014-05-22 14:20:17 +02:00
Cheng Zhao
34fa0f1ff8 📝 Add docs on BrowserWindow.id. 2014-05-22 09:56:04 +08:00
Cheng Zhao
d49060d659 Add "id" property for BrowserWindow, fixes #218. 2014-05-22 09:51:58 +08:00
Cheng Zhao
764deab5c1 Make the default_app unresizable. 2014-05-22 09:09:32 +08:00
Cheng Zhao
28e266ac11 mac: Include more information in Info.plist, fixes #340. 2014-05-22 09:03:02 +08:00
Gavin M. Roy
b08ec402d2 Add a focus event to BrowserWindow
- Tested in OSX
- Untested in GTK, but I expect it should work
- Did not see any similar constructs for notifications in Windows
2014-05-21 13:46:13 -04:00
Cheng Zhao
9721c4e761 Rename process.__atom_type to process.type. 2014-05-21 22:44:43 +08:00
Cheng Zhao
70c96eeac6 📝 frameworks => external_binaries. 2014-05-21 22:41:46 +08:00
Cheng Zhao
c2efc4aeb3 📝 Remove unneeded install dependency on Ubuntu. 2014-05-21 22:38:17 +08:00
Cheng Zhao
55640a3ff7 win: Make sure shell.showItemInFolder in called on browser side.
Fixes #341.
2014-05-21 22:31:44 +08:00
Cheng Zhao
dc907f501c win: Fix the resizable flag, closed #316. 2014-05-20 23:37:14 +08:00
Cheng Zhao
972bb2e9fb Make sure webContents is created when opening devtools.
Fixes atom/atom#2270.
2014-05-20 20:58:11 +08:00
Cheng Zhao
754abbd39c Bump v0.12.5. 2014-05-19 02:02:33 +00:00
Cheng Zhao
b89ef80481 Skip the webgl spec on Linux.
WebGL just usually don't work on Linux in virtual machines.
2014-05-19 02:00:59 +00:00
Cheng Zhao
b2abeb9beb Merge pull request #330 from atom/windows-webgl
Fix WebGL support on Windows
2014-05-19 00:02:34 +08:00
Cheng Zhao
59293bc938 Only build Debug target in cibuild. 2014-05-18 23:52:14 +08:00
Cheng Zhao
c1e2348695 Check for version when downloading external binaries. 2014-05-18 23:42:47 +08:00
Cheng Zhao
9754050598 Rename "frameworks" to "external_binaries". 2014-05-18 23:35:07 +08:00
Cheng Zhao
6358fd1a4b Ship WebGL necessary files in distribution. 2014-05-18 23:15:53 +08:00