summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rekonq reports the open/close document events to activity manager daemon.Ivan Čukić2012-10-231-2/+47
| | | | | | | | | | | | | | | | | | | | | | | | | By knowing which window contains which documents and which one is in focus, we can do the following: - collect the statistics about visited pages. Further, this provides a score for each document visited, that depends on the number of times it was open, the time the user spent on that location, and the time passed since the last visit. - availability of a global/workspace applet that allows sharing the current document via e-mail, social networks; bookmarking and rating the link, or connecting it to the current activity. (advantage of this is a unified UI for sharing/rating/linking that works with any application) - jump-lists (not impl. yet in plasma) to list top rated documents on a launcher icon or in the task manager applet - krunner can sort the documents based on the score - more things that I haven't thought of yet There is no need to *use* ativities to have these benefits. Activities just serve as manual data clustering to provide more useful scores compared to the one-activity approach. REVIEW:106912
* Fix tab bar visibility when set as auto-hideAndrea Diamantini2012-10-171-25/+25
| | | | BUG: 308421
* Fix new tab icon show on fullscreenAndrea Diamantini2012-09-181-4/+0
|
* * Split updateTabBar() into two separate methodsYoann Laissus2012-08-141-22/+14
| | | | | | | | | | | | | - updateTabBarVisibility(): used to react only on "alwaysShowTabBar" settings - updateAddTabButton(): used to react only on tabbar changes * Improve handling of the add tab button. updateAddTabButton() is now called on any tab layout changed instead of being called in any function which manipulate tabs. * Use a tab height computed with KTabBar instead of the add tab button height with a magical number. It fixes some issues with the Bespin theme. BUG: 304325
* Fix adblock hide behaviorAndrea Diamantini2012-07-061-2/+2
| | | | | | | NOTE: You'll find also some style & copyrights fixes here. Just reenable the git hooks scripts... BUG: 302050
* Get sure UrlBar is deleted well (i.e. later) and in the right placeAndrea Diamantini2012-07-031-0/+10
| | | | | | | | | | | | | (i.e. the WebTab dtor). I cannot no more reproduce the problems described in #296346, #300892 and #268328 What about you? CCBUG: 296346 CCBUG: 300892 CCBUG: 268328
* Delete tab later to get sure everything has been finished.Andrea Diamantini2012-07-021-1/+1
| | | | BUG: 299149
* Reopen the tabs lasting with "rekonq pages" (about urls, pdfs, etc..)Andrea Diamantini2012-06-191-3/+5
| | | | | | WARNING: Needs testing... BUG: 302017
* Cleans upAndrea Diamantini2012-06-121-3/+0
| | | | | | - set initial icon to have properly dimensions set - properly calculate needed icon's height - calm down some kDebug messages
* Only Update URL Actions if the Sender is the Current TabDavid E. Narváez2012-06-101-2/+7
| | | | | | | Only Update URL Actions from MainView::webViewUrlChanged if the Sender is the Current Tab REVIEW: 105184
* Kitchen sink clean upAndrea Diamantini2012-05-271-4/+4
| | | | | | - astyle - copyrights - (some) includes
* Clean up headers && fix compilation with (the upcoming) qt 4.8.2Andrea Diamantini2012-04-201-0/+7
|
* Add loadUrl API to mainwindowAndrea Diamantini2012-03-251-2/+2
| | | | | | | | | - Get rid of unused NewBackTab enum - move loading url code to MainWindow class - Remove ThreadWeaver API. (And take it easy...) - Changed logic: calculate url BEFORE creating a tab... REVIEW:104326
* New History Manager, NO MORE QWebHistoryInterface based.Andrea Diamantini2012-03-181-1/+0
| | | | | | | | | | | We are just saving datas on our own, I don't like QtWebKit APIs to do it. We now call addHistoryEntry(url, title) on loadFinished. Data structure will remain the same as usual, but I think API is better and data are now saved when we really have them ready. REVIEW:104257
* Get sure urlbar(s) are deleted when related webtab isAndrea Diamantini2012-03-131-1/+1
| | | | | | | | Heinz, Paul. Please test actual master before backporting this to 0.9 series. Many thanks for your help and for this bug report. I'm crossing fingers to hear good news from your tests ;) CCBUG:295301
* Include Tab History when Cloning a TabDavid E. Narváez2012-03-081-1/+2
| | | | | | | | | | Implemented through a new loadUrl method that allows for the caller to specify the QWebHistory pointer from where to copy the history. Redirected the original loadUrl slot to use this new method internally. The method returns the WebTab * just in case we need to maninpulate the created tab in the future. REVIEW: 104082
* Hook the urlChanged Signal to History Actions UpdateDavid E. Narváez2012-02-211-0/+2
| | | | | | | This catches navigation to named anchors BUG: 294538 REVIEW: 104035
* Krazy fixesAndrea Diamantini2012-02-161-9/+9
| | | | | - doublequote_chars - normalize
* Update signals/slot between detached tab and its new mainviewAndrea Diamantini2012-01-311-1/+31
| | | | | | | | | Again, sorry for the long waiting... Courtesy patch by vasthusya@gmail.com BUG:273556 REVIEWED-BY: adjam
* Don't steal focus on loadStartedAndrea Diamantini2012-01-271-1/+3
| | | | | | | I'll tag rekonq 0.8.72 to let you easily test this. Can you please catch if this really fixes your issue? CCBUG:286729
* Krazy fixesAndrea Diamantini2012-01-191-11/+11
| | | | | | | - QL1S/QL1C - single-char QString efficiency - explicit ctors - normalized signals & slots
* Check if action senders exist before using themAndrea Diamantini2012-01-171-0/+17
| | | | BUG:281546
* Rework on load/stop/reload actionAndrea Diamantini2012-01-151-3/+3
| | | | | | | | | | | Also clean up API, giving proper names to method updateActions --> updateHistoryActions browserTabLoading(bool) --> currentTabStateChanged() ... also workaround problem that m_progress is (yet) 0 or 100 when load started REVIEW:103651
* Open blank new tab at the end also when "open tabs neat current activeFurkan Uzumcu2012-01-131-1/+4
| | | | | | | one" option is active REVIEW:103678 REVIEWED-BY: adjam
* improve closed tabs managementAndrea Diamantini2012-01-031-55/+57
| | | | | | | | | - remove reopened tabs from the closed tabs list. - limit them to MAX 8 elements (it seems enough to me) - save history also when there is just one tab closed - DON'T save history when you opened a "rekonq" page BUG:271224
* Get sure tabbar is properly shownAndrea Diamantini2012-01-021-1/+4
| | | | BUG: 290374
* Clean up rekonq.kcfgAndrea Diamantini2012-01-021-1/+1
| | | | | | It was really a mess before. I also found 2 settings never used... WARNING: This will cost users to reset some settings. Sorry for that
* Get sure tabbar is well shown (and hided) during fullscreen navigationAndrea Diamantini2011-12-291-8/+12
|
* icon management fix/improvements/cleanupAndrea Diamantini2011-12-241-1/+1
|
* remove ugly hack string in mainviewJohannes Tröscher2011-11-291-5/+1
| | | | REVIEWED-BY: trustMe
* Properly handle window/app closeAndrea Diamantini2011-11-241-3/+4
| | | | BUG: 286831
* Clean up MainView::webViewUrlChanged() codeFurkan Uzumcu2011-11-201-5/+1
| | | | | REVIEW:102818 REVIEWED-BY: adjam
* Remove mainWindow pointer from mainview class.Andrea Diamantini2011-11-141-6/+7
|
* Remove postLaunch callsAndrea Diamantini2011-11-141-8/+5
| | | | | | | | | | | | | | This will help a lot in having a clean/easy startup, also a bit less fast. Let's see if this helps stability... PS: To the bug reporter. I pushed a "NoPostLaunch" in rekonq git repo. Can you please try compiling and testing if this fixes your troubles on startup?? Many thanks for any help. Andrea. CCBUG:284356
* EBN Krazy fixesAndrea Diamantini2011-10-141-1/+1
| | | | It seems now we are really ready for the stable release...
* inlined "abused" function and removed 2 unuseful calls to updateTabBarAndrea Diamantini2011-10-111-10/+0
|
* Remove a minor focus glitch on webpage loadThomas Murach2011-09-261-0/+1
| | | | | | | | It happened when loading a favorite page via shortcut. It is fixed now :) REVIEW: 102695 REVIEWED-BY: adjam
* Fix tab size and addTabButton position when a KMessageWidget appearsYoann Laissus2011-09-201-7/+9
| | | | REVIEW: 102651
* Fix close & sessionAndrea Diamantini2011-09-131-18/+1
| | | | | | | | | | First, I'm really sorry for this bad commit ('git' talking..). The fact is that the 3 bugs fixed here were found chained playing with close code. Here it is the report: - fix close window (it now really appears on multiple window closing) - fix saveSession (saving one call for each site loaded and storing better information): saveSession is now called on loadFinished - clean up some compilation warnings
* Add option to close window by closing last tabAndrea Diamantini2011-09-081-7/+14
| | | | Usual behavior in Firefox/Chrome. Let it be configurable here :)
* Change webTab Variable Name to tabToStopDavid E. Narváez2011-09-021-2/+2
| | | | | | | Change the name of the variable in webStop slot to avoid name collision with the webTab method in the same MainView class. REVIEW: 102521
* Unify reloading methodsDavid E. Narváez2011-09-021-12/+12
| | | | | | All code paths for reloading methods and slots now end up at reloadTab and do proper handling of the about scheme REVIEW: 102481
* Restore tab's history when restoring a tab/sessionAnton Kreuzkamp2011-08-211-21/+26
| | | | | | | | We finally have it :D CCMAIL: akreuzkamp@web.de REVIEW: 100604 REVIEWED-BY: adjam, elproxy
* clean upAndrea Diamantini2011-07-251-70/+70
| | | | | | - QL1S - one stupid kDebug less - codingstyle
* Calm down kDebug messagesAndrea Diamantini2011-07-191-2/+0
|
* A round of the "new" astyle 2.01...Andrea Diamantini2011-07-171-80/+80
|
* Focus the WebView when a page start to loadYoann Laissus2011-05-231-1/+7
|
* Use of QSignalMapper for switchToTab() method in terms of code unificationAndrea Diamantini2011-05-091-7/+3
| | | | | | Patch by Thomas Murach, thanks ;) RB:101246
* Imported Opera feature to load favorite page with number 1..9 by pressing ↵Andrea Diamantini2011-04-281-0/+10
| | | | | | | | | | | | | | | CTRL + 1..9 Courtesy patch by Thomas Murach. Thanks :) Reviewed by Pierre, Felix... and me! RB: 101043 PS: Thomas, I see one corner problem with your patch: Opera has clearly indicated favorites preview number, while rekonq hasn't. Any idea to fill the gap?
* Fixing my fixed patch :)Andrea Diamantini2011-03-261-1/+1
| | | | | | My fault. The problem was that the patch command failed, the patch was just 3 lines, so I copied by hands, then I see the webTab->url() and... ;) Anyway, now it is really Johannes's patch. Sorry.