Cheng Zhao
438d7ada49
Merge pull request #855 from paulcbetts/fix-webview-typo
...
Fix typo in method
2014-11-24 14:05:03 +08:00
Cheng Zhao
a9b1b567fb
Fix capturePage API, closes #847
2014-11-24 13:44:45 +08:00
Paul Betts
2f530f7049
Downcast variable to appease clang
2014-11-23 13:52:59 -08:00
Paul Betts
dfcad75a27
Fix typo in method
2014-11-22 21:26:09 -08:00
Cheng Zhao
a0034521da
Bump v0.19.4
2014-11-21 16:51:11 +08:00
Cheng Zhao
ac914e1f19
OVERRODE => override in atom_main_delegate.h
2014-11-21 16:40:47 +08:00
Cheng Zhao
bed09839d5
Remove debugging print, closes #841
2014-11-21 16:39:16 +08:00
Cheng Zhao
8951572366
win: Fix crash when calling app.setName
2014-11-21 16:38:54 +08:00
Cheng Zhao
8a73d91ea1
Bump v0.19.3
2014-11-20 11:09:05 +08:00
Cheng Zhao
ee9964c141
AddUserTasks => setUserTasks
2014-11-17 19:32:11 +08:00
Cheng Zhao
0b1b0940d2
Enable setting icon for addUserTasks
2014-11-17 17:35:51 +08:00
Cheng Zhao
0db2769781
Only "title" and "program" are required for AddUserTasks
2014-11-17 17:26:44 +08:00
Cheng Zhao
47c18fef7f
win: Add app.addUserTasks API
2014-11-17 17:19:41 +08:00
Cheng Zhao
48412769df
win: Add app.clearRecentDocuments API
2014-11-17 16:13:47 +08:00
Cheng Zhao
528f7bd45f
win: Set app user model ID
...
This ID is used by Windows to identify your application.
2014-11-17 15:55:49 +08:00
Cheng Zhao
78322b5231
win: Implement Browser::AddRecentDocument
2014-11-17 15:53:18 +08:00
Cheng Zhao
c23ba7b504
mac: Add app.addRecentDocument API
2014-11-17 13:05:06 +08:00
Cheng Zhao
6aa69a06c8
mac: Release application delegate on exit
2014-11-17 09:52:24 +08:00
Cheng Zhao
0e94977d42
Add app.dock.setMenu API
2014-11-16 23:04:31 +08:00
Cheng Zhao
ba4f502b1e
OVERRIDE => override in atom_api_app.h
2014-11-16 22:45:29 +08:00
Cheng Zhao
651dabf47e
Fix displaying context menu for devtools
2014-11-16 22:34:29 +08:00
Cheng Zhao
af72842728
cocoa: Enable creating empty menu
2014-11-16 21:06:16 +08:00
Cheng Zhao
49ac363eef
cocoa: Enable modifying initialized menu
2014-11-16 20:24:29 +08:00
Cheng Zhao
66bbf00b7a
OVERRIDE => override in browser.h
2014-11-16 19:47:04 +08:00
Cheng Zhao
0398316192
views: Fix "visible" not working in menu bar, closes #825
2014-11-16 16:01:33 +08:00
Cheng Zhao
b428b2eb99
OVERRIDE => override in atom/browser/ui/views
2014-11-16 15:54:40 +08:00
Cheng Zhao
ab6cb042f6
OVERRIDE => override in atom_api_menu.h
2014-11-16 10:45:53 +08:00
Cheng Zhao
b27abd2011
Bump v0.19.2.
2014-11-15 15:18:01 +08:00
Cheng Zhao
02b2459db6
Add <webview>.getId, fixes #818
2014-11-14 16:34:14 +08:00
Frank Hale
e1e1c173fe
win: Fix default path for native dialogs
2014-11-13 14:33:25 -05:00
Cheng Zhao
1cd3918494
views: Implement menubar APIs
2014-11-12 20:32:14 +08:00
Cheng Zhao
cb8f975528
Add JS menubar APIs
2014-11-12 20:31:55 +08:00
Cheng Zhao
42afc071eb
OVERRIDE => override in native_window_views.h
2014-11-12 20:08:51 +08:00
Cheng Zhao
79d4724a15
Add a bunch of menu bar related APIs
2014-11-12 17:36:20 +08:00
Cheng Zhao
9f29f66768
Add "preload" option for BrowserWindow
2014-11-12 15:04:03 +08:00
Cheng Zhao
14d01544d4
Tidy code in CreateNonClientFrameView
2014-11-12 14:33:30 +08:00
Cheng Zhao
cf7cf098d8
Merge pull request #815 from frankhale/force-native-window
...
Force native window
2014-11-12 14:24:13 +08:00
Frank Hale
e9636bb87b
Fix CPP formatting
2014-11-12 01:11:25 -05:00
Frank Hale
246a145930
Fix merge conflict with native_window_views.cc
2014-11-12 01:04:51 -05:00
Frank Hale
c9371bceec
Force native window
...
- Force native frame and suppress the Chromium default blue frame. This
resolves issues with Windows systems that are running in VM's and cannot
enable Aero Glass. Atom-Shell was adding the default Chromium blue frame
even when frame was set to false in the BrowserWindow options.
2014-11-12 00:45:21 -05:00
Cheng Zhao
5cb97545fd
Add original-fs module
2014-11-12 11:09:59 +08:00
Cheng Zhao
fbd74c0e2d
Various fixes of #801
2014-11-12 10:28:50 +08:00
Cheng Zhao
993c52dcd5
Merge pull request #801 from frankhale/http-referrer
...
Add http referrer to LoadUrl and Webview
2014-11-12 10:10:24 +08:00
Frank Hale
747698fe9b
Fix code style formatting
...
- Fix code style formatting to be <= 80 lines
- Add default parameter for urlOptions to loadUrl, reload and
reloadIgnoringCache functions to be compatible with old API.
2014-11-11 13:33:15 -05:00
Frank Hale
e0dae4054a
Fix code style to be <= 80 lines
2014-11-11 13:09:54 -05:00
Frank Hale
070d26e68e
Merge branch 'master' into windows-min-max-animation
2014-11-11 13:08:27 -05:00
Frank Hale
e6830e9ac8
Merge branch 'master' into http-referrer
2014-11-11 11:47:35 -05:00
Cheng Zhao
66e96f69fc
Add crashRepoter.getLastCrashReport API
2014-11-11 17:30:01 +08:00
Cheng Zhao
9a825c5cbd
win: Writes uploads.log
2014-11-11 16:38:16 +08:00
Cheng Zhao
02bcdc1c19
linux: Put "uploads.log" under "/tmp/ProductName Crashes/"
2014-11-11 13:30:06 +08:00
Cheng Zhao
f13d8407ee
linux: Put crash dumps under "/tmp/ProductName Crashes/"
2014-11-11 13:03:47 +08:00
Cheng Zhao
739c432c98
linux: Writes crash report upload log
2014-11-11 12:24:33 +08:00
Cheng Zhao
716037544a
views: Fix showing menu bar when pressing Alt for a long time
2014-11-07 21:59:26 -05:00
Cheng Zhao
b92d5071fa
views: Make auto-hide-menu-bar work when NumLock is on, fixes #796
2014-11-07 21:59:26 -05:00
Frank Hale
ef255db069
Making Http Referrer addition better!
...
- Code cleanup
2014-11-07 21:54:36 -05:00
Frank Hale
24f8c51959
Make sure frame is frameless
2014-11-07 13:34:52 -05:00
Frank Hale
4b20ac3dc6
Fix Windows min/max animation on frameless windows
...
- Frameless windows disappeared or appears when minimized and maximized
on Windows. This commit fixes that.
2014-11-07 13:13:12 -05:00
Cheng Zhao
edcae49e52
views: Fix showing menu bar when pressing Alt for a long time
2014-11-07 15:20:16 +08:00
Cheng Zhao
81283db2da
views: Make auto-hide-menu-bar work when NumLock is on, fixes #796
2014-11-07 15:05:55 +08:00
Frank Hale
f56d1ea7b4
Add support for setting http referrer
...
- Add url option to specify the http referrer
- Add httpReferrer attribute to webview
NOTE: This is still not complete. Some love has to be done to
guest-view-manager.coffee and very likely the function calls called
createGuest and to the code that uses them.
2014-11-06 14:29:41 -05:00
Cheng Zhao
f90fb8cc72
Print error when "preload" script is not found
2014-11-06 16:12:40 +08:00
Cheng Zhao
217b1afe87
Load the "preload" script in <webview>
2014-11-06 15:13:37 +08:00
Cheng Zhao
8d8bfcd120
Pass "preload" attribute to GuestViewManager
2014-11-06 14:35:32 +08:00
Cheng Zhao
058046304d
Forbid using dialog module before app is ready
2014-11-05 19:50:24 +08:00
Cheng Zhao
7ff0e0214e
linux: Use GTK+ for error reporting when GUI is ready
2014-11-05 19:27:43 +08:00
Cheng Zhao
2be5393768
Don't print error to console in default_app
2014-11-05 19:08:09 +08:00
Cheng Zhao
b54caccb22
linux: Print error to console when GUI is not ready
2014-11-05 19:08:00 +08:00
Cheng Zhao
c499dfbb22
mac: Implement dialog.showErrorBox
2014-11-05 17:27:04 +08:00
Cheng Zhao
f6ba308ff8
Use dialog.showErrorBox for showing errors
2014-11-05 16:05:29 +08:00
Cheng Zhao
10e195a444
win: Implement dialog.showErrorBox
2014-11-05 16:05:11 +08:00
Cheng Zhao
490a12d38a
Add dialog.showErrorBox API
2014-11-05 16:04:39 +08:00
Cheng Zhao
80d574482e
Add "plugins" attribute for <webview>
2014-11-05 14:59:28 +08:00
Cheng Zhao
d1724ad733
Bump v0.19.1.
2014-11-04 19:19:31 +08:00
Cheng Zhao
c5212b36f7
External links should have "foreground-tab" disposition
2014-11-04 18:49:57 +08:00
Cheng Zhao
22c5720aa2
Window opened by window.open should have "default" disposition
2014-11-04 18:31:47 +08:00
Cheng Zhao
f29c7164f3
Translate |disposition| to string
2014-11-04 18:12:57 +08:00
Cheng Zhao
013593ccf8
Emit "new-window" event for dispositions other than CURRENT_TAB
2014-11-04 17:59:15 +08:00
Cheng Zhao
4c12a4369d
Fixes Event.prevenDefault() not working, closes #771
2014-11-03 23:24:20 +08:00
Cheng Zhao
48d54e8d3a
Fix JavaScript errors in webview
2014-11-03 22:18:03 +08:00
Cheng Zhao
4ebe58df57
Also add closeDevTools and isDevToolsOpened for webview
2014-11-03 22:12:56 +08:00
Cheng Zhao
accd08a2bf
Show devtools for guest page in undocked mode
2014-11-03 21:48:25 +08:00
Cheng Zhao
1731d609b7
Fix double freeing WebContents
2014-11-03 19:45:09 +08:00
Cheng Zhao
cf9f249f07
Merge branch 'webview-devtools' of https://github.com/project-infinium/atom-shell into project-infinium-webview-devtools
2014-11-03 18:42:18 +08:00
Cheng Zhao
92cfd96933
Merge pull request #777 from atom/web-dialog
...
Implement file dialog and color chooser for <input> tag
2014-11-03 17:47:08 +08:00
gray
6c3f065147
force devtools to show as undocked.
2014-11-02 11:32:06 -08:00
gray
45f4a25ac9
fix for cpplint
2014-11-02 07:32:33 -08:00
gray
f43c227806
update and document openDevTools on web view.
2014-11-02 07:20:10 -08:00
gray
368d23ef5b
add open devtools api to webview tag
2014-11-02 06:34:22 -08:00
Kevin Sawicki
b6b6fc3bfd
Remove All Rights Reserved after GitHub copyright
...
Closes #762
2014-10-31 11:17:05 -07:00
Cheng Zhao
14c9a2a087
mac: Add color chooser dialog
2014-10-31 22:53:15 +08:00
Cheng Zhao
0f5a058bdd
Implement RunFileChooser
2014-10-31 19:27:01 +08:00
Cheng Zhao
7d15aa2321
OVERRIDE => override in atom_browser_client.h
2014-10-31 18:26:01 +08:00
Cheng Zhao
9b1bcf51c6
Implement EnumerateDirectory
2014-10-31 17:37:32 +08:00
Cheng Zhao
b710cc3063
Add WebDialogHelper
2014-10-31 00:37:14 +08:00
Cheng Zhao
9ed6ad8165
Forbid using protocol module before app is ready, fixes #661
2014-10-30 22:27:29 +08:00
Cheng Zhao
25f69df341
Throw error when BrowserWindow is created before app is ready
2014-10-30 21:32:35 +08:00
Cheng Zhao
35e5c2172f
Bump v0.19.0.
2014-10-30 12:02:42 +08:00
Cheng Zhao
0c21c863d7
Simplify the GuestWindowManager
...
Instead of recording guest explicitly in a map, we just make use of
closure for bookkeeping.
2014-10-28 18:51:28 +08:00
Cheng Zhao
c71aa0995a
Reuse the window of same frame name
2014-10-28 13:23:25 +08:00
Cheng Zhao
89990ec037
Don't throw exception on closed guest window
2014-10-27 23:59:11 +08:00