Cheng Zhao
78afa29ade
Little formating on app.getDataPath.
2014-08-17 11:33:55 +08:00
Cheng Zhao
73bb05e530
mac: Make "Text to Speech" work, fixes atom/atom#3288 .
2014-08-17 11:30:26 +08:00
Cheng Zhao
f96c6e4bd7
Merge pull request #578 from cornedor/appdata
...
Fixed #442 added app.getDataPath()
2014-08-16 20:34:01 +08:00
Corne Dorrestijn
54ee12308d
reused converted and fixed indentation
2014-08-15 16:52:16 +02:00
Cheng Zhao
fd09f13c9b
Bump v0.15.7.
2014-08-15 15:07:11 +08:00
Cheng Zhao
1b70ca2098
Initialize job factory as early as possible.
...
Fixes atom/atom#3255 .
2014-08-15 11:35:13 +08:00
Corne Dorrestijn
e9879a3e4b
Removed whitespace and added vector import
2014-08-13 14:24:35 +02:00
Corne Dorrestijn
dec05988f4
Fixes for windows
2014-08-13 14:16:55 +02:00
Cheng Zhao
31135321c0
Bump v0.15.6.
2014-08-13 18:19:38 +08:00
Cheng Zhao
226cbda7a6
Avoid creating our own URLRequestContextGetter.
2014-08-13 17:40:31 +08:00
Cheng Zhao
8a7efcdcd2
Fix compilation error on Linux.
2014-08-13 14:43:21 +08:00
Cheng Zhao
adb8fb59bd
Add network provider for google geolocation api.
2014-08-13 13:28:05 +08:00
Cheng Zhao
0ca9e8ee82
Add access token store.
2014-08-13 12:12:43 +08:00
Cheng Zhao
e7647ba183
mac: Fix crash when checking for update, fixes #575 .
2014-08-13 11:28:19 +08:00
Corne Dorrestijn
be6599807d
Added getAppData function to the app api
2014-08-12 17:01:56 +02:00
Cheng Zhao
a8ca0329b4
win: Show minimize button for unresizable window, fixes #411 .
2014-08-12 22:58:19 +08:00
Cheng Zhao
d1a93a5135
views: Set a default maximum window size.
...
It is required to make the window able to be resized larger than the
screen.
2014-08-11 20:36:53 +08:00
Cheng Zhao
79dfb2d2f3
Bump v0.15.5.
2014-08-11 17:44:16 +08:00
Cheng Zhao
80c77ef3a8
Fix cpplint warning.
2014-08-11 15:56:23 +08:00
Cheng Zhao
253789353f
docs: Add document on overriding X-Frame-Options.
2014-08-11 15:25:26 +08:00
Cheng Zhao
73262be2c2
Filter out x-frame-options header on user's request.
2014-08-11 15:03:57 +08:00
Cheng Zhao
0ad4c3ca93
Add custom ResourceDispatcherHostDelegate.
2014-08-11 14:08:23 +08:00
Cheng Zhao
4b90c02420
mac: Override system's default on resizing window no larger than screen.
2014-08-11 10:24:36 +08:00
Cheng Zhao
445fe158cc
Store window icon as ImageSkia.
2014-08-11 10:06:46 +08:00
Cheng Zhao
a696f06a23
Restructure headers of native_window.
2014-08-11 10:01:05 +08:00
Cheng Zhao
f60d8066f8
Use the function converter from native_mate.
2014-08-10 19:14:20 +08:00
Cheng Zhao
c4b0170a0a
views: Only toggle menu bar when auto-hide-menu-bar is turned on.
2014-08-08 14:30:43 +08:00
Cheng Zhao
7f9ac88c31
Bump v0.15.4.
2014-08-07 19:42:08 +08:00
Cheng Zhao
8cc49ffa80
menu_bar_show_ => menu_bar_visible_
2014-08-07 16:48:30 +08:00
Cheng Zhao
58a09f6495
linux: Fix detecting Alt modifier.
2014-08-07 16:46:50 +08:00
Cheng Zhao
c2885f77c9
views: Focus on web view when window is focused.
2014-08-07 16:46:48 +08:00
Cheng Zhao
5d5a3138bc
views: Toggle the menu bar only when a single Alt is released.
2014-08-07 15:54:05 +08:00
Cheng Zhao
09f9d0729c
views: Show menu when "Alt" is up.
2014-08-07 15:07:34 +08:00
Cheng Zhao
3d989b6736
win: Fix the key code of Alt.
2014-08-07 15:02:27 +08:00
Cheng Zhao
daa00e6539
views: Add some asserts and comments.
2014-08-07 14:48:02 +08:00
Cheng Zhao
92d6fd641f
views: Hide menu bar when web view is clicked.
2014-08-07 14:14:43 +08:00
Cheng Zhao
f219e7f0dd
views: Switching to other window should hide the menubar.
2014-08-07 14:02:03 +08:00
Cheng Zhao
8a9e1824c3
views: Add support for auto-hide menubar.
2014-08-07 13:47:58 +08:00
Cheng Zhao
4f4aabef7a
Bump v0.15.3.
2014-08-06 23:37:51 +08:00
Cheng Zhao
a888e4b960
linux: Only use global menu bar under Unity.
...
Fixes atom/atom#3182 .
2014-08-06 23:34:16 +08:00
Cheng Zhao
fe9f94555b
win: Implement the filters option.
2014-08-06 21:51:36 +08:00
Cheng Zhao
5ba324ca9a
gtk: Implement the filters option.
2014-08-06 14:49:02 +08:00
Cheng Zhao
0721b34847
mac: Implement the filters option.
2014-08-06 13:58:42 +08:00
Cheng Zhao
dc257f1f86
Add "filters" parameter for file dialogs.
2014-08-06 13:58:42 +08:00
Cheng Zhao
d25645ba67
win: Make BrowserWindow.setResizable change window frame dynamically.
2014-08-05 20:41:26 +08:00
Cheng Zhao
a8cd101ff5
win: Fix window frame when DWM is disabled, closes #519 .
2014-08-05 18:17:14 +08:00
Cheng Zhao
009e0790fe
linux: Draw menubar text and background with native theme, fixes #540 .
2014-08-05 18:05:34 +08:00
Cheng Zhao
6dc01945af
Make Accelerator a standalone JS type.
...
This makes menu and global-shortcut share the same code on accelerator.
2014-08-05 00:03:58 +08:00
Cheng Zhao
94b4ceb8ce
Bump v0.15.2.
2014-08-04 21:14:07 +08:00
Cheng Zhao
33580f66df
Run user's main script before everything is initialized, fixes #543 .
2014-08-04 20:51:08 +08:00
Cheng Zhao
e3118359ad
Destroy web contents when window is closed.
...
Previously this was reverted because of Chromium's spammy error
loggings, but it also causes the renderer process not to exit when the
page has been closed. After fixing the spammy error logging, we can now
bring this back.
Fixes atom/atom#3141 .
2014-08-04 14:55:08 +08:00
Cheng Zhao
9c038a2402
Merge pull request #534 from hokein/hotkey
...
Implement global shortcut API, fixes #439
2014-08-03 22:34:59 +08:00
Haojian Wu
035679057e
Update GlobalShortcut API design.
...
* Rename Shortcut API to GlobalShortcut for better suite.
* Implement the new design interfaces.
* Put the chromium related source code to the same directory as in chrome.
2014-07-31 20:58:43 +08:00
Cheng Zhao
fb4ec66b37
Bump v0.15.1.
2014-07-31 11:48:09 +00:00
Cheng Zhao
89f565906b
mac: No need to set wantsLayer, it is already done in brightray.
2014-07-31 18:02:12 +08:00
Cheng Zhao
6a5f732bba
mac: Emit focus/blur events after page has actually focus/blur-ed.
...
Otherwise the page would receive the blur event when it has not blured
yet.
Fixes atom/atom#3124 .
2014-07-31 17:35:08 +08:00
Cheng Zhao
fba1772000
Don't mess up with browser process's execArgv, fixes #492 .
2014-07-31 16:58:59 +08:00
Cheng Zhao
f3e49b0696
Fix typo.
2014-07-31 15:49:14 +08:00
Cheng Zhao
10c862f0bb
Add options defines.
2014-07-31 15:12:02 +08:00
Cheng Zhao
d993c92cea
Add content-tracing module.
2014-07-31 15:11:34 +08:00
Cheng Zhao
4a7e98e398
linux: Only use global application menubar on unity.
...
Fixes atom/atom#3114 .
2014-07-31 13:11:03 +08:00
Cheng Zhao
5086873f78
mac: Guard against closed window, fixes #536 .
2014-07-31 10:33:45 +08:00
Haojian Wu
b2217474c1
Nits: Fix code style.
2014-07-31 09:12:44 +08:00
Haojian Wu
ad827eee90
Emit failed message when fail to register shortcut.
2014-07-31 09:12:43 +08:00
Haojian Wu
4b3bd9c3cc
mac: Implement global keyboard shortcut API.
2014-07-31 09:12:41 +08:00
Cheng Zhao
5db31517cb
mac: Fix app.dock.show/hide, close #520 .
2014-07-29 22:31:51 +08:00
Cheng Zhao
740e7fbf1a
Bump v0.15.0.
2014-07-29 11:15:05 +08:00
Cheng Zhao
1c415b0666
win: No more need to convert to DIP point for context menu.
2014-07-28 20:44:11 +08:00
Cheng Zhao
8dd7f81175
Fix building on Windows.
2014-07-28 20:32:10 +08:00
Cheng Zhao
87019a1a70
views: No need to destroy Widget, CloseNow already closed native window.
2014-07-28 20:28:54 +08:00
Cheng Zhao
10c52bd6a6
Fix building on Linux.
2014-07-28 20:28:53 +08:00
Cheng Zhao
c23c667c2d
Update brightray to fix webrtc warning.
2014-07-28 20:28:52 +08:00
Cheng Zhao
ec4275ca13
Make sure window is closed before WebContents is destroyed.
...
Otherwise we would get "RawChannel fatal error".
2014-07-28 20:28:51 +08:00
Cheng Zhao
a6ede12cd7
Make sure javascript environment is initialized after ProxyResolverV8.
2014-07-28 20:28:50 +08:00
Cheng Zhao
7a89a08534
Update to new Chromium APIs.
2014-07-28 20:28:49 +08:00
Yeechan Lu
472a95e433
win: Fix tray context menu in high DPI mode
2014-07-27 15:50:04 +08:00
Cheng Zhao
b84226244d
Bump v0.14.3.
2014-07-27 09:28:56 +08:00
Cheng Zhao
cab00a1450
views: Return restored bounds when window is minimized, fixes #473 .
...
On Window the minimized window would have a fake bounds that is out of
the screen, which is not consistent to other platforms' behavior.
2014-07-26 14:20:50 +08:00
Cheng Zhao
ce50b38a75
Add BrowserWindow.isMaximized API.
2014-07-26 13:58:26 +08:00
Cheng Zhao
e8d59c4326
views: Fix showing window icon, closes #514 .
2014-07-26 12:06:38 +08:00
Cheng Zhao
e11c8a07ea
Bump v0.14.2.
2014-07-25 22:33:28 +08:00
Cheng Zhao
b9fc5474c5
win: Use system's menu bar color.
2014-07-25 15:20:25 +08:00
Cheng Zhao
709670be8e
win: Make menu bar height 20.
...
On Windows applications used to have lower menu bars.
2014-07-25 15:05:18 +08:00
Cheng Zhao
92a0a4cf6c
views: Filter out the "&" in window menu.
2014-07-25 14:53:19 +08:00
Cheng Zhao
f7a9b56e93
mac: Make cmd+~ work for devtools window, fixes #508 .
2014-07-25 11:03:25 +08:00
Cheng Zhao
53c73c0631
mac: Fix crash when closing window, closes #504 .
2014-07-25 10:38:19 +08:00
Cheng Zhao
8fcd39f621
Bump v0.14.1.
2014-07-24 22:35:39 +08:00
Cheng Zhao
ef352a69b4
Merge pull request #503 from atom/linux-native-frame
...
Use native window frame on Linux
2014-07-24 21:28:53 +08:00
Cheng Zhao
99ef165884
Merge pull request #493 from hokein/issue460
...
mac: Add BrowserWindow.getRepresentedFilename API, fixes #460 .
2014-07-24 21:10:43 +08:00
Cheng Zhao
77627c0d2d
linux: Use native frame for message box.
2014-07-24 21:06:33 +08:00
Cheng Zhao
c91f0c575c
linux: Remove custom frame code.
2014-07-24 21:03:17 +08:00
Cheng Zhao
1a5c0ab1ae
linux: Implement min/max size of window.
2014-07-24 21:02:13 +08:00
Cheng Zhao
11634740d3
linux: Use native window frame.
2014-07-24 18:06:27 +08:00
Cheng Zhao
640ac43059
mac: Fix the focus event of web contents.
2014-07-24 16:42:38 +08:00
Haojian Wu
6f231d5860
mac: Add BrowserWindow.isDoucumentEdited API, fixes #459 .
2014-07-24 16:01:04 +08:00
Haojian Wu
acb8b7771e
mac: Add BrowserWindow.getRepresentedFilename API, fixes #460 .
2014-07-24 15:59:35 +08:00
Cheng Zhao
17cf6ffbd4
Bump v0.14.0.
2014-07-21 22:23:35 +08:00
Cheng Zhao
e803d3cc7a
Merge pull request #440 from atom/chrome35
...
Upgrade to Chrome35
2014-07-21 22:23:04 +08:00
Cheng Zhao
e4484f0c3e
win: Fix parent window of dialogs.
2014-07-21 22:13:46 +08:00
Cheng Zhao
dd404fb785
win: Remove dead browser window code.
2014-07-21 22:13:46 +08:00
Cheng Zhao
a15ee1871a
win: Implement SetSkipTaskbar.
2014-07-21 22:13:45 +08:00
Cheng Zhao
e6998dfd4b
linux: Fix compilation error caused by X header.
2014-07-21 13:48:23 +00:00
Cheng Zhao
21949e2f0c
views: Don't retain MenuRunner on heap.
...
Sometimes the MenuHost would crash when the window is closed, the author
didn't recommend using MenuRunner on stack, but since we always run the
menu synchronously, this is no problem.
2014-07-21 21:42:01 +08:00
Cheng Zhao
1a79093378
views: Add menu should not change window size.
2014-07-21 20:58:15 +08:00
Cheng Zhao
ffad6fe884
win: Fix compilation error.
2014-07-21 20:45:31 +08:00
Cheng Zhao
fab11950ee
Fix crashing when setting web-preferences, closes #443 .
2014-07-21 13:08:52 +08:00
Cheng Zhao
365638f1d5
win: Remove dead menu code.
2014-07-21 11:23:01 +08:00
Cheng Zhao
9c9e0d92f4
Fix cpplint warnings.
2014-07-18 09:17:17 +08:00
Cheng Zhao
0f18d63f7f
views: Implement the window menu bar.
2014-07-17 14:23:28 +08:00
Cheng Zhao
2ee7caccfe
views: Add an empty menu bar.
2014-07-16 22:12:57 +08:00
Cheng Zhao
2a2fc4903d
linux: Share code on frameless window with Windows.
2014-07-16 16:00:08 +08:00
Cheng Zhao
8f94d5886d
win: Min/max size uses scaled DPI size.
2014-07-16 15:40:22 +08:00
Cheng Zhao
6de595f036
win: Implement frameless window.
2014-07-16 15:33:40 +08:00
Hiroshige Umino
6bfa69ceda
Print stack traces when starting app failed in addition to a dialog
2014-07-15 19:42:01 +09:00
Cheng Zhao
00467b53c7
linux: Fix modal message box.
2014-07-14 16:34:22 +08:00
Cheng Zhao
adec718503
win: Fix showing menu on High DPI display.
2014-07-13 22:22:56 +08:00
Cheng Zhao
7c8a0ae2a3
win: Fix black ground when closing message box.
2014-07-13 09:50:16 +08:00
Cheng Zhao
add45b564e
win: Improve window frames.
2014-07-12 21:03:34 +08:00
Cheng Zhao
643a47cf7d
win: Use native frame for browser windows.
2014-07-12 11:36:08 +08:00
Cheng Zhao
5c99dff36d
linux: Remove dead code on accessing window tree host.
2014-07-11 23:27:45 +08:00
Cheng Zhao
b2afe7b3bf
win: Fix notify icon and context menu.
2014-07-11 19:42:53 +08:00
Cheng Zhao
b4ba149662
Fix a crash when creating window.
2014-07-11 19:39:35 +08:00
Cheng Zhao
8d4211bd3a
win: Fix compilation errors for chrome35.
2014-07-11 12:19:01 +08:00
Cheng Zhao
497174bbe4
linux: Avoid using unsigned long directly.
2014-07-11 09:18:06 +08:00
Cheng Zhao
1c62211d99
linux: No need to remember root item in menubar.
2014-07-11 09:09:23 +08:00
Cheng Zhao
7e86e53593
linux: Add support for unity global menubar.
2014-07-11 08:57:19 +08:00
Cheng Zhao
3349b8e6c7
linux: Remove all the X and GTK+ related implementations.
...
Now we only uses GTK+ for app indicator and status icon, also notice the
in Chrome35 the Gtk2StatusIcon class doesn't exist yet so we shipp
related files under chromium_src, remember to delete them after upgraded
to Chrome36.
2014-07-10 13:06:41 +08:00
Cheng Zhao
49160819d2
linux: Implement context menu with views.
2014-07-10 12:07:01 +08:00
Cheng Zhao
e150a3e3b2
Enable accelerated composition in frameless window.
2014-07-09 19:05:24 +08:00
Cheng Zhao
7b93a19e9b
Fix context menu in devtools.
2014-07-09 15:41:16 +08:00
Cheng Zhao
4e4227aef8
views: Implement focus and blur event.
2014-07-08 12:55:33 +08:00
Cheng Zhao
ee5312fff9
Merge branch 'master' into chrome35
...
Conflicts:
atom/browser/native_window_gtk.h
2014-07-07 23:49:28 +08:00
Cheng Zhao
b99262af32
views: Use UnhandledKeyboardEventHandler to handle accelerators.
2014-07-07 23:02:46 +08:00
Cheng Zhao
3d36a6a793
views: Make resizable frameless window work.
2014-07-07 22:40:26 +08:00
Cheng Zhao
db98a3842f
views: Implment skip-taskbar option.
2014-07-07 22:40:25 +08:00
Cheng Zhao
a5e2ea2899
views: Make frameless window work.
2014-07-07 22:40:23 +08:00
Cheng Zhao
e7feafb2cc
views: Use our own CustomFrameView implementation.
2014-07-07 15:35:16 +08:00
Cheng Zhao
4609a8d2be
linux: Fix setting parent window for file dialogs.
2014-07-05 00:00:54 +08:00
Cheng Zhao
b3bccd2e1e
views: Be correct on widget's life time.
2014-07-04 17:24:49 +08:00
Cheng Zhao
3c892b8591
views: Make acceleratros work.
2014-07-04 16:54:10 +08:00
Cheng Zhao
0a38f3321e
views: Currently set window's frames.
2014-07-04 12:32:03 +08:00
Cheng Zhao
61db17412c
Use views to implement NativeWindow and MessageBox on Linux.
2014-07-04 01:30:36 +08:00
Cheng Zhao
84878c4c77
Initial work for Aura on Linux.
2014-07-02 22:49:45 +08:00
Cheng Zhao
949821f255
Use new devtools structure in brightray.
...
Fixes #210 .
Fixes #275 .
2014-07-02 16:38:11 +08:00
Cheng Zhao
6a891be0e4
Make the node environment constrained in browser_main_parts.
2014-06-30 14:16:16 +08:00
Cheng Zhao
ba46f2c820
Use new context aware module API in builtin modules.
2014-06-29 20:48:44 +08:00
Cheng Zhao
64bf1bcb9f
Move all chromium's code under chromium_src.
2014-06-29 06:06:35 +00:00
Cheng Zhao
1f99a97544
gtk: Fix lack of x11_util implementations.
2014-06-29 05:31:11 +00:00
Cheng Zhao
f4b6ca70a9
gtk: Import chromium's ActiveWindowWatcherX.
2014-06-29 04:05:29 +00:00
Cheng Zhao
e5c10f29de
gtk: Use libgtk2ui from chrome.
2014-06-29 03:41:22 +00:00