Cheng Zhao
dacbf7a042
Register guest web view
2014-10-23 23:08:48 +08:00
Cheng Zhao
a22a5c67bd
Implement GuestViewInternal.createGuest and destroyGuest
2014-10-23 17:54:52 +08:00
Cheng Zhao
d34cff2eef
api: Add webContent.create() to create detached WebContents
2014-10-23 14:04:13 +08:00
Cheng Zhao
c72d769ff0
Make WebContents cache object template
2014-10-23 13:31:10 +08:00
Cheng Zhao
380de24f2e
Add code to register <webview> tag
2014-10-22 22:55:13 +08:00
Cheng Zhao
645f81effd
Bump v0.18.2.
2014-10-21 21:27:43 +08:00
Cheng Zhao
0d19e772e6
linux: Don't append --force-device-scale-factor to process.argv
2014-10-21 20:55:37 +08:00
Cheng Zhao
2844d3b358
Make code cleaner
2014-10-21 20:45:50 +08:00
Cheng Zhao
fe3489b383
linux: Also check for schema before init
2014-10-21 20:06:54 +08:00
Cheng Zhao
f6ff97cbeb
linux: Make scale factor default to 1
2014-10-21 19:48:08 +08:00
Cheng Zhao
779e5c2ea5
linux: Set scale factor to the value in gsettings
2014-10-21 19:32:40 +08:00
Cheng Zhao
4b75b10542
Add libgio loader
2014-10-21 18:50:50 +08:00
Cheng Zhao
f82de6528b
linux: Fix detect global menu bar
...
It seems that detecting the bus name "com.canonical.AppMenu.Registrar"
is the most reliable way to detect whether the appmenu is available, see
http://git.io/JmP7Yg for the discussion.
2014-10-21 12:10:31 +08:00
Cheng Zhao
ab652b738c
mac: Should restart renderer when reloading
...
Fixes #692 .
2014-10-19 16:27:50 +08:00
Cheng Zhao
141894aacd
Implement BrowserWindow::ShowInactive
2014-10-17 22:51:20 +08:00
Cheng Zhao
4b5dd2ed4b
Bump v0.18.1.
2014-10-17 17:00:26 +08:00
Cheng Zhao
85afa851dd
win: Fix toggling the menubar, closes #681
2014-10-17 16:43:57 +08:00
Cheng Zhao
57acdc1bf6
Use menu bar features in default_app
2014-10-17 16:43:37 +08:00
Cheng Zhao
ae76657e17
Still requires unity for global app menubar
...
Fixes #709 and atom/atom#3854 .
2014-10-17 16:06:45 +08:00
Cheng Zhao
4ca6ac34ac
Do not create native Event object when not needed
2014-10-17 14:36:43 +08:00
Cheng Zhao
e4a71b86df
Caching object templates for Event, fixes #705
2014-10-17 13:53:18 +08:00
Cheng Zhao
4dd7848084
Run idle GC in browser every 1m
2014-10-17 12:41:40 +08:00
Cheng Zhao
a95679c212
Enable mnemonics in menu, fixes atom/atom#3844
2014-10-16 21:22:22 +08:00
Cheng Zhao
b41d356143
--harmony_collections is not needed anymore
2014-10-16 20:59:01 +08:00
Matthieu Baerts
940b40439f
linux: GlobalMenu: UBUNTU_MENUPROXY with >1 char
...
When testing if $UBUNTU_MENUPROXY is set, we should also check if it
contains more than one character. Avoid cases when $UBUNTU_MENUPROXY is
set to 0 or 1.
2014-10-15 14:17:18 +02:00
Cheng Zhao
ed07bd202f
Bump v0.18.0.
2014-10-14 20:24:56 +08:00
Cheng Zhao
51acba594b
Merge pull request #698 from matttbe/master
...
linux: Rename window's class to Atom
2014-10-14 18:58:37 +08:00
Cheng Zhao
a194d45dfa
Merge pull request #700 from atom/chrome38
...
Upgrade to Chrome 38
2014-10-14 18:42:21 +08:00
Cheng Zhao
643d1dcdd1
win: Fix building
2014-10-13 22:47:13 +08:00
Cheng Zhao
69a89303d0
Fix building on Linux
2014-10-13 11:03:56 +08:00
Matthieu Baerts
7cd4d35778
linux: GlobalMenu: only if UBUNTU_MENUPROXY is set
...
When checking if we should react differently when GlobalMenu bar is
used, we should check if UBUNTU_MENUPROXY env var is (correctly) set
instead of checking if we're using Unity on a Unity session.
It's better to do that because we can use Compiz on a Unity session
without Unity. Or we can also use Unity in a different session.
2014-10-12 21:16:32 +02:00
Matthieu Baerts
8296178e33
linux: Rename window's class to Atom
...
The window's class should be Atom instead of Atom Shell because the
launcher and the binary to launch Atom are called 'atom' and not 'atom
shell'. This is why currently all Atom's windows will not be linked to
their launcher in a dock (e.g. with Cairo-Dock).
Note that it's not advised to add white-spaces in a window's class
('Atom Shell').
2014-10-12 18:47:49 +02:00
Cheng Zhao
32dff999a5
Fix API changes of Chrome 38
2014-10-11 19:11:34 +08:00
Cheng Zhao
b560176aeb
Set google API key
2014-10-08 18:27:39 +08:00
Cheng Zhao
0c349c047d
Fix cpplint warning
2014-10-08 17:47:47 +08:00
Cheng Zhao
d4e3c39fa5
Add AtomSpeechRecognitionManagerDelegate
2014-10-08 11:55:14 +08:00
Cheng Zhao
33c622ec86
Install tts dispatcher
2014-10-07 21:27:15 +08:00
Cheng Zhao
8519ea3299
Bump v0.17.2.
2014-10-06 19:13:26 +08:00
Cheng Zhao
b2b70bb37c
Upgrade libchromiumcontent to 440833b, fixes #462
2014-10-06 10:54:14 +08:00
Cheng Zhao
64b2c9b36c
Bump v0.17.1.
2014-10-01 20:41:35 +08:00
Cheng Zhao
d754b2bda7
Break on first found app
2014-10-01 20:40:52 +08:00
Cheng Zhao
9dd68c7add
Bump v0.17.0.
2014-10-01 18:12:03 +08:00
Cheng Zhao
1499d44584
gtk: Fix focusing on file dialog
...
Fixes atom/atom#3626 .
2014-10-01 17:02:00 +08:00
Cheng Zhao
039903c6b2
mac: Don't create button without title, fixes #631
2014-10-01 15:51:32 +08:00
Cheng Zhao
9d84f139eb
Merge pull request #665 from atom/asar
...
Support loading apps in asar format
2014-09-30 20:53:38 +08:00
Alexander Neu
6c9769999b
win: Fix total value in SetProgressBar API.
2014-09-29 12:50:51 +02:00
Cheng Zhao
c49a44f944
Remove unneeded ArchiveFactory.
2014-09-25 21:54:59 +08:00
Cheng Zhao
d559275711
Emit "exit" event for "process" when quitting.
2014-09-25 21:48:30 +08:00
Cheng Zhao
909ff085ac
Add "quit" event for app.
2014-09-25 21:48:15 +08:00
Cheng Zhao
4006b6407c
Just use plain pointer for weak reference.
2014-09-25 20:38:12 +08:00
Cheng Zhao
e5e1e207b6
Also search for app.asar when starting app.
2014-09-24 20:09:41 +08:00
Cheng Zhao
9b755620d3
Make fs.stat support asar package
2014-09-24 15:38:02 +08:00
Cheng Zhao
7081f7799b
Separate the archive cache out to ArchiveFactory.
2014-09-23 22:31:45 +08:00
Cheng Zhao
b6583635d4
Caching the Archive object.
2014-09-23 21:48:40 +08:00
Cheng Zhao
b01db4aa09
Send file content in asar://
2014-09-23 20:30:07 +08:00
Cheng Zhao
6d712da7e3
Read the archive's header when there is a url request
2014-09-23 19:14:30 +08:00
Cheng Zhao
9b71117171
Add asar:// protocol handler.
2014-09-23 12:13:46 +08:00
Haojian Wu
fa8e158587
mac: Fix dock progress bar doesn't show after hiding, fixes #658 .
2014-09-21 18:56:03 +08:00
Cheng Zhao
b3770bc407
Bump v0.16.3.
2014-09-20 23:12:05 +08:00
Cheng Zhao
805215be78
Merge pull request #655 from hokein/master
...
SetProgressBar API Implementation, fixes #635
2014-09-20 11:19:34 +08:00
Haojian Wu
e7fbe84644
Use app name as desktop name by default.
2014-09-18 22:58:17 +08:00
Cheng Zhao
9653f20995
win: Add "direct-write" option for BrowserWindow.
...
For atom/atom#3540 .
2014-09-18 21:49:04 +08:00
Haojian Wu
d9ce3f0ca3
linux: Implement SetProgressBar API.
2014-09-18 19:26:52 +08:00
Haojian Wu
d8f57a0ecc
Correct code style.
2014-09-18 16:48:00 +08:00
Haojian Wu
c5e0b65cc7
mac: Implement SetProgressBar API.
2014-09-18 10:20:55 +08:00
Haojian Wu
b5e82dac6f
win: Implement SetProgressBar API.
2014-09-17 09:42:47 +08:00
Cheng Zhao
b8a6658ba9
Make our user agent string follow standard.
2014-09-12 23:08:13 +08:00
Cheng Zhao
4a4814b41c
default_app: Don't quit when started as web driver.
2014-09-12 22:54:00 +08:00
Cheng Zhao
88269a613a
Bump v0.16.2.
2014-09-09 20:07:08 +08:00
Cheng Zhao
67cbecaba0
mac: Add "double-clicked" event for Tray.
2014-09-09 19:45:21 +08:00
Cheng Zhao
ec1db0c7bb
mac: Add Tray.setHighlightMode API, fixes #425 .
2014-09-09 19:39:39 +08:00
Cheng Zhao
4330d67e0d
mac: Add Tray.setTitle API, fixes #560 .
2014-09-09 19:36:15 +08:00
Cheng Zhao
db8de9e60d
Make default_app focus the main window on startup.
2014-09-09 18:33:36 +08:00
Cheng Zhao
bda317b000
views: Set devtools window's icon, fixes #429 .
2014-09-09 15:30:33 +08:00
Cheng Zhao
700510d63a
mac: Don't activate window when showing.
2014-09-09 14:47:04 +08:00
Cheng Zhao
33b94edcf0
Use PersistentDictionary to store web perferences.
2014-09-09 14:13:21 +08:00
Cheng Zhao
44d3e58ddb
Make code more tidy.
2014-09-09 13:21:15 +08:00
Cheng Zhao
8de90db429
Pass web runtime features by command line.
2014-09-09 11:08:30 +08:00
Cheng Zhao
1c07b9c85b
Bump v0.16.1.
2014-09-08 16:00:32 +08:00
Cheng Zhao
1199224086
BrowserWindow.show() should not focus window, fixes #609 .
2014-09-08 15:28:34 +08:00
Jeffrey Morgan
8367071dc6
Fixing dialog api parameter parsing
2014-09-07 15:14:43 -07:00
Cheng Zhao
68ac6b0cbb
Bump v0.16.0.
2014-09-06 20:58:34 +08:00
Cheng Zhao
19b25c0d83
Make dialog API's parameters more flexible.
2014-09-06 18:56:28 +08:00
Cheng Zhao
d515404abd
Merge pull request #626 from atom/v8-debugger
...
Implement V8 debugger agent
2014-09-05 13:40:37 +08:00
Cheng Zhao
f604525b98
mac: Enable setting "Services" menu.
...
Regarding https://github.com/atom/atom/issues/3204 .
2014-09-05 13:07:05 +08:00
Cheng Zhao
3afbb66b92
Send message to client in debugger thread.
2014-09-05 11:51:45 +08:00
Cheng Zhao
fadfd74923
win: Fix compilation error.
2014-09-05 11:44:30 +08:00
Cheng Zhao
222f8e1028
Make --debug-brk work.
2014-09-05 10:59:29 +08:00
Cheng Zhao
e3b6ea62d6
Send connect message if client is connected.
2014-09-05 10:52:47 +08:00
Cheng Zhao
3795cc58b0
Pass debugger messages between V8 debugger.
2014-09-05 10:44:07 +08:00
Cheng Zhao
ed7d430f2b
Pass header sent from client.
2014-09-05 09:39:28 +08:00
Cheng Zhao
20f21b707b
Start a TCP server in the debugger thread.
2014-09-04 23:02:18 +08:00
Cheng Zhao
a584ca3678
Start a new debugger thread to listen for commands.
2014-09-04 21:06:31 +08:00
Cheng Zhao
ca881c5aaf
win: Fix compilation with Chrome 37.
2014-09-03 23:17:00 +08:00
Cheng Zhao
2832708618
Merge pull request #622 from atom/chrome37
...
Upgrade to Chrome37
2014-09-02 17:03:07 +08:00
Guido Zuidhof
3e6d8ddbbd
Small typo fix in fatal JS error message
...
An javascript error -> A javascript error
2014-09-01 21:02:03 +02:00
Cheng Zhao
d9d1d03d4d
linux: Dont' use native style border.
2014-09-01 20:22:38 +08:00
Cheng Zhao
9546120ce4
linux: Fix API changes of Chrome 37.
2014-09-01 20:10:14 +08:00
Cheng Zhao
241b07f763
Initailize V8 with gin.
2014-09-01 16:41:26 +08:00
Cheng Zhao
3e46363ae1
Fix API changes of Chrome 37.
2014-09-01 15:36:37 +08:00
Cheng Zhao
d4a46fa35f
Comment out debugger agent.
...
V8 has discarded support for debugger agent, we should reimplement it in
atom-shell.
2014-09-01 15:35:56 +08:00
Cheng Zhao
45228493eb
Merge pull request #610 from atom/devtools-extension
...
Add support for chrome devtools extension
2014-08-28 23:12:21 +08:00
Cheng Zhao
aa8f5e54df
dev-tools => devtools.
2014-08-28 16:00:29 +08:00
Cheng Zhao
8134585578
Remember loaded extensions.
2014-08-28 15:58:36 +08:00
Cheng Zhao
a59388ecdd
Add "dev-tools-opened" and "dev-tools-closed" events.
2014-08-28 14:25:00 +08:00
Paul Betts
db11c631f6
Atom.exe should receive Squirrel events
...
This sets up Atom to be packaged into a Squirrel installer. See
https://github.com/Squirrel/Squirrel.Windows.Next/pull/17 for the details
2014-08-27 17:06:26 -07:00
Cheng Zhao
b6c2e7ef76
Ignore requests to other hosts.
2014-08-27 21:05:54 +08:00
Cheng Zhao
fe96a9de33
Don't use pure number as host name.
...
Numbers would be treated as IP addresses.
2014-08-27 20:49:57 +08:00
Cheng Zhao
cd40bdbec8
Add chrome-extension protocol for loading devtools extensions.
2014-08-27 16:01:15 +08:00
Cheng Zhao
263c4b9ab4
Turn off web security for devtools.
2014-08-26 16:05:10 +08:00
Cheng Zhao
400d5cef3f
linux: Fix BrowserWindow.setResizable.
2014-08-26 13:37:37 +08:00
Cheng Zhao
af531d685e
linux: Make BrowserWindow.setSkipTaskbar work dynamically.
2014-08-26 12:15:22 +08:00
Cheng Zhao
eb5f1f78bf
linux: Set WM_CLASS and WM_WINDOW_ROLE for window, fixes #605 .
2014-08-26 10:34:48 +08:00
Cheng Zhao
c81a4bcafc
Don't use third party dependency in default_app.
2014-08-26 09:50:45 +08:00
Chris Soh
a0867fa7c5
Changing the Logical Or to Bitwise Or to change from Either to Either Or Both values
2014-08-23 13:30:43 +08:00
Cheng Zhao
0b24883649
Merge pull request #599 from atom/printing
...
Add support for printing
2014-08-22 17:48:36 +08:00
Cheng Zhao
17c0888932
Make print settings optional.
2014-08-22 15:05:30 +08:00
Cheng Zhao
d20ec6952a
Revert "Move the code of getting printing settings to another class."
...
This reverts commit 57d06c5241
.
Conflicts:
atom/browser/printing/printing_config_service.cc
2014-08-22 15:03:39 +08:00
Cheng Zhao
e43b3309af
Add "silent" and "print_background" option for printing.
2014-08-22 15:01:07 +08:00
Cheng Zhao
a98e26a307
Fix handling failed print.
2014-08-22 13:01:49 +08:00
Cheng Zhao
57d06c5241
Move the code of getting printing settings to another class.
2014-08-22 12:46:26 +08:00
Cheng Zhao
f28e4574b0
Simplify global-shortcut's code.
2014-08-22 10:53:37 +08:00
Cheng Zhao
eb3ecab6a8
Setup PrintingMessageFilter for printing.
2014-08-21 21:19:43 +08:00
Cheng Zhao
11b9a06639
Add BrowserWindow.print() method.
2014-08-21 21:00:49 +08:00
Cheng Zhao
87d5b72b76
Initailize PrintViewManagerBasic for browser window.
2014-08-21 20:49:18 +08:00
Cheng Zhao
8dcb3726f9
Initialize the fake BrowserProcess object.
2014-08-21 15:45:34 +08:00
Cheng Zhao
cab546cbb7
No more need to flip rect for capturePage, fixes #589 .
2014-08-21 12:40:31 +08:00
Cheng Zhao
058d0bbe19
linux: Add "dark-theme" option for BrowserWindow, fixes #352 .
2014-08-21 12:25:43 +08:00
Cheng Zhao
f470d21a55
Bump v0.15.9.
2014-08-18 19:05:56 +08:00
Cheng Zhao
af0a5744f2
Upgrade brightray for new URLRequestContextGetter interface.
2014-08-20 15:30:43 +08:00
Cheng Zhao
2bcb7393c4
Avoid calling GetRequestContext() in UI thread, fixes #591 .
...
Since we can access job factory without touching the request context,
there is no need to make sure GetRequestContext() is called before using
the protocol module.
2014-08-20 13:48:38 +08:00
Cheng Zhao
c12c0363a0
No need to enter isolate.
2014-08-20 08:15:50 +08:00
Cheng Zhao
1207dfde4c
Add support for --debug switch.
2014-08-19 23:36:26 +08:00
Cheng Zhao
7b71ae6824
Enable setting only one side of minimum size, fixes #461 .
2014-08-19 21:43:18 +08:00
Cheng Zhao
cfae3cd3af
Add app.resolveProxy API, fixes #545 .
2014-08-19 21:26:45 +08:00
Cheng Zhao
a840799b46
Bump v0.15.8.
2014-08-18 09:49:08 +00:00
Cheng Zhao
29abba824d
A little cleanup.
2014-08-18 16:19:23 +08:00
Cheng Zhao
6ccec45c61
views: Fix activating lower case accelerators.
2014-08-18 16:05:41 +08:00
Cheng Zhao
1dabd20d99
win: Underline's color tends to be a little lighter.
2014-08-18 15:41:57 +08:00
Cheng Zhao
fedb08899c
views: Fix calculating underline's position.
2014-08-18 15:36:29 +08:00
Cheng Zhao
b8bfe8a9ad
views: Always hide accelerator when submenu is activated.
2014-08-18 14:58:52 +08:00
Cheng Zhao
a230daa998
views: Pressing "Alt+Key" should bring up the menu bar.
2014-08-18 14:52:44 +08:00
Cheng Zhao
ba41634ad6
views: Show menubar's submenu when "Alt+Key" is pressed.
2014-08-18 14:42:21 +08:00
Cheng Zhao
e9536508a5
views: Show menubar's accelerator when "Alt" is pressed.
2014-08-18 14:12:12 +08:00
Cheng Zhao
965f2b1b6b
views: Draw underline in menu bar for accelerators.
2014-08-18 13:36:00 +08:00
Cheng Zhao
e25417ab31
linux: Use "fg" of GtkStyle as text color, fixes #555 .
2014-08-18 10:29:21 +08:00
Cheng Zhao
cbd6541e9a
views: Fix compilation error.
2014-08-17 12:57:22 +08:00
Cheng Zhao
2a9f5a5fb8
Add "enable-larger-than-screen" option for BrowserWindow.
...
From now on BrowserWindow can only be resized larger than screen or
moved out of screen when this option is set to "true".
Fixes #582 .
2014-08-17 12:23:00 +08:00
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