-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Real tabs support for browser #46
Merged
Merged
Changes from all commits
Commits
Show all changes
156 commits
Select commit
Hold shift + click to select a range
a596e43
[sailfish-browser] New WebView beginning
0f8a708
Move loadProgress inside WebView
5a9c34a
Move Tab inside WebView
ab5501b
Move back and forward navigation functions / properties inside WebView
5427b6c
Fix fullscreenMode orientation animation condition
e7b4dc3
Add currentTab to WebView
87d2957
Fix currentTab viewId
3e8b991
Move captureScreen function from BrowserPage to WebView
11c6425
Remove closeAllTabs function from BrowserPage
a46d0b7
Remove unused deleteTabHistory from BrowserPage
1e68c0c
Move password query dialog inside WebView
a00fb99
Move context menu related code inside WebView
1db062e
Move reload() from BrowserPage to WebView
fc4879f
Move closeActiveTap handling to be done via tabmodel
2194464
Remove newTab from BrowserPage and use tab model instead.
2675ae6
Cleanup BrowserPage title and url
5e38b8b
Add all remaining prompt and popups
c3dd3b3
Move favicon inside WebView from BrowserPage
250949c
Add activeTabChanged signal to tabmodel and load active tab when trig…
b27c291
Remove closeTab function from BrowserPage
11a4b94
Remove temporary properties
f503acd
Remove newTabRequested property from DeclarativeTab
2122c76
Remove _loadRequested from TabPage
e1a4dba
Remove obsoleted suspend and resume from WebView interface
4ea70bd
Add WebPopupHandler for handling popups
2eabcbb
Add WebPromptHandler for handling JavaScript alert, confirm, and prompt
b91889f
Move scroll indicators to be children of WebView
bafe60f
Cut remaining dependencies between WebView and QmlMozView
2cfc02a
Wrap QmlMozView into Component
523316a
Take real tabs into use.
66a9627
Fix context menu
bb231c9
Rename pageActive to active
88eded8
Move newTabData inside TabModel
5d880a5
Replace titleUpdated signal with titleChanged.
1c6607b
Fix count to be correct once a tab gets closed.
a294851
Set contentItem (active web view) to null when last view released.
36ee63a
Defer loading of a new tab until WebView is ready to load it
e2c6bf5
Do not establish connections to qmlmozview if it is null
0501ef5
Cleanup WebViewTabCache
7f43c9b
Add releaseView and activateView for TabModel
960798e
Cleanup TabModel.newTab not call stop and take screen capture
f2f1813
Fix loading of initial page that is coming from command line
2c6919a
Fix download handling to work similar as it was previously
8dab434
Fix loading of the first QmlMozView instance
96b5f7c
Add tab debug helper to WebViewTabCache
06f6596
Cleanup obsolete tab model connections
189d07b
Cleanup new tab data when tab created directly
a46e18f
Move TabModel glue into own component
c232550
Remove obsolete code
a6d9d8f
Fix removal of screen capture of the previously active tab when new t…
abaf2f1
Cleanup and merge WebPromptHandler and WebPopupHandler into one
c5c9944
[sailfish-browser] Fix wrong screen capture removal. Fixes JB#16518
ca89a08
Cleanup dependencies between BrowserPage and WebView
d54c588
Guard loading of active tab so that we have always a view
2355714
Fix tab activation to handle home page loading
7ab612d
Revert onOpenUrlRequested changes that landed in SHA1 2355714a
8b602c3
Cleanup start so that browser starts from grid when no tabs available
a655196
Remove unnecessary return from end of WebView.load function
4d77ba5
Merge remote-tracking branch 'origin/master' into newWebView
9750f9a
Enable temporarly dumpping tabs when activating or creating a new tab.
1957a47
Do not expose _newTabData from TabModel
2a24012
Dump also title from _dumpTabs function
6820ec6
[sailfish-browser] Fix downloading of file in case no tabs exists. Fi…
fbd7991
Add manual window open/close test
a97eeab
Add lastTabId invokable and tabAdded signal for declarativetabmodel
5be6ce8
Limit maximum number of real tabs to 5
a88e481
Add window handling for window.open and window.close functions.
a54e549
Cleanup meta object property reading from WebContainer.
45b562d
Merge remote-tracking branch 'origin/master' into newWebView
7b5bf55
Don't activate tab when new tab data exists
fbc5f60
Improve window open/close handling
b973c7c
Don't suspend window that is it a parent for the new window
bc6ddd0
Merge remote-tracking branch 'origin/master' into newWebView
0a17209
[sailfish-browser] Update url per tab. Contributes to JB#16845
2732bbc
[sailfish-browser] Update title per tab. Fixes JB#16845
85cc3b8
[sailfish-browser] Fix cyclic link from tab history. Fixes JB#17002
c39b515
Fix closing of last tab.
142b5ab
Fix ResourceController to handle suspend property when no webView
9e77942
[sailfish-browser] Remember zoom / scroll position for virtual tabs. …
623e6a5
Fix loadProgress to progress
0928c22
[sailfish-browser] Use engine's back/forward navigation when possible…
522fddf
Fix missing ending from engineering english text
e060a18
[sailfish-browser] Enable chrome when active tab is changed. Contribu…
5e1f688
Add qDebug support for Tab class
f2aa4e8
Fix closing of active tab
31c1940
Improve tab data update guards
0e774a2
Fix back / forward navigation error to not trigger load when not needed
3ee7df7
Cleanup active thumbnail handling
091d43d
Cleanup unused property
6f68547
[sailfish-browser] Fix invisible (inactive) tabs to update height. Fi…
70cb0bb
Add unit tests structure for WebView
fb48b8f
Merge pull request #44 from rainemak/fixHeightUpdate
9fd5db3
[sailfish-browser] Fix debug build
rojkov 762909d
[sailfish-browser] Add file upload functionality. Fixes TJC#1006
rojkov 2bf1087
[sailfish-browser] Add git ignores
rojkov 3b25c23
Merge pull request #45 from rainemak/initialWebViewUnitTests
455e630
Cleanup code
ae9c969
Fix fetching of parentTabId (parent window)
b4231b1
Fix loading, loadProgress, and favicon properties to update when tab …
a703828
Add basic tests for WebView
c6ae93d
[sailfish-browser] Add file input field to manual test
rojkov 1bb09b3
Merge pull request #51 from sailfishos/tjc1006-nwv
rojkov cf80590
Merge pull request #54 from rainemak/newWebView
7188713
Cleanup duplicate resource entry
d6b082c
[sailfish-browser] Add DeclarativeWebPage containing all browser spec…
2c3a369
Merge pull request #56 from rainemak/cleanup
39ca045
[sailfish-browser] Move WebView properties from QML side to C++. Cont…
75d109e
Merge pull request #57 from rainemak/webViewProperties
6203574
Merge pull request #58 from rainemak/webPage
4889825
Change MozView id to webPage and WebView to webView
8e3b254
Merge pull request #59 from rainemak/task50
2b9ac7e
[sailfish-browser] Move properties from TabModel to C++ side. Fixes J…
e1d29f5
Merge pull request #61 from rainemak/tabModelProperties
aceccac
Rename public getter and setter from DeclarativeWebPage from Declarat…
56f2ad9
Merge pull request #65 from rainemak/cleanupDeclarativeWebPage
b11f6c6
Replace WebViewTabCache.js with TabCache C++ class
fb438a9
Merge pull request #64 from rainemak/tabModelProperties
bef3593
Improve loaded binding
f47df47
Merge pull request #67 from rainemak/loadedFix
1b89322
[sailfish-browser] Hide toolbar while playing full screen video
rojkov e1c5b21
Merge pull request #62 from sailfishos/html5-fullscreen
rojkov 5a0bead
Move tab destroy handling to C++ when downloading
930968d
Improve webview unit tests
a661b75
Merge pull request #66 from rainemak/downloadCleanup
1b8ee47
Fix real tabs count to work correctly over browser restarts
9214e72
Merge pull request #70 from rainemak/liveTabCountFix
57a2597
Move tabModel property to C++ side
6c80b24
Rename TabCache to WebPages
4298fb5
Move WebPages to DeclarativeWebContainer's ownership
fbb507c
Merge pull request #71 from rainemak/webPagesCleanup
4efb8fc
Merge pull request #68 from rainemak/improveWebViewUnitTests
5844673
[sailfish-browser] Allow inverted landscape orientation. Contributes …
e5007ff
Merge pull request #73 from jpetrell/newWebView
a0af406
Replace firstFrameRendered with domContentLoaded
670a4d5
Cleanup DeclarativeWebContainer reference from DeclarativeTabModel
993b6c2
Merge pull request #69 from rainemak/firstFrameRenderedFix
dfab9d8
[sailfish-browser] First use with real tabs. Contributes to JB#17886
veskuh 8e6ccd7
Merge pull request #75 from veskuh/refactor-start
veskuh 434f589
Send available composition size to embedlite components when virtual …
83f6cd4
Decrease input field target size
824b7bd
Minor clenaup for DeclarativeWebPage
aafcda3
Merge pull request #74 from rainemak/inputFieldZoom
0c8ec6b
Remove explicit DeclartiveWebPage dependency from DeclarativeTabModel
b9de61c
Merge pull request #79 from rainemak/dependencyCleanup
6ae97af
Remove DeclarativeTab class
af58e0d
Remove Tab::currentLink and Tab::setCurrentLink
e3279cf
Rename parameter from activeTabChanged signal
86283f9
Rename DeclartiveTabModel::currentTab() to DeclarativeTabModel::activ…
92601b4
Cleanup unit tests
33a4c65
Merge pull request #76 from rainemak/cleanupDeclarativeTab
4bc1687
Don't let new tab creation to block PageStack animation
d74946a
Merge pull request #77 from rainemak/fixPageStackPopAnimation
7023b3a
Merge remote-tracking branch 'origin/master' into newWebView
f11ba59
Update QtMozEmebed dependency
1f08268
Cleanups
9774080
Merge pull request #81 from rainemak/reviewCleanups
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
*~ | ||
*.swp | ||
*.o | ||
*.moc | ||
moc_*.cpp | ||
*.qm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=Browser | ||
NotShowIn=X-MeeGo; | ||
X-MeeGo-Logical-Id=sailfish-browser-ap-name | ||
X-MeeGo-Translation-Catalog=sailfish-browser | ||
MimeType=text/html;x-maemo-urischeme/http;x-maemo-urischeme/https; | ||
X-Maemo-Service=org.sailfishos.browser | ||
X-Maemo-Method=org.sailfishos.browser.openUrl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
isEmpty(DEFAULT_COMPONENT_PATH) { | ||
DEFINES += DEFAULT_COMPONENTS_PATH=\"\\\"/usr/lib/mozembedlite/\\\"\" | ||
} else { | ||
DEFINES += DEFAULT_COMPONENTS_PATH=\"\\\"$$DEFAULT_COMPONENT_PATH\\\"\" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong line but...
Needs to be updated.