summaryrefslogtreecommitdiff
path: root/src/mainview.h
Commit message (Collapse)AuthorAgeFilesLines
* Rekonq reports the open/close document events to activity manager daemon.Ivan Čukić2012-10-231-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* * Split updateTabBar() into two separate methodsYoann Laissus2012-08-141-9/+2
| | | | | | | | | | | | | - 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-1/+1
| | | | | | | 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-1/+2
| | | | | | | | | | | | | (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
* Include "historymanager.h", because TabHistory must be defined to be used as ↵Andrius da Costa Ribas2012-05-271-2/+1
| | | | a template class argument on MSVC. Then, remove redundant forward declarations.
* Clean up headers && fix compilation with (the upcoming) qt 4.8.2Andrea Diamantini2012-04-201-7/+3
|
* Rework on load/stop/reload actionAndrea Diamantini2012-01-151-1/+8
| | | | | | | | | | | 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
* improve closed tabs managementAndrea Diamantini2012-01-031-3/+5
| | | | | | | | | - 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
* Properly handle window/app closeAndrea Diamantini2011-11-241-0/+1
| | | | BUG: 286831
* Remove mainWindow pointer from mainview class.Andrea Diamantini2011-11-141-5/+2
|
* Remove postLaunch callsAndrea Diamantini2011-11-141-7/+2
| | | | | | | | | | | | | | 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
* Fix crash on private mode store/restoreAndrea Diamantini2011-10-131-1/+4
| | | | | | | | | | | | This commit, while does not perfectly fix the issue, "workaround" it a lot to fix crashes on private mode enter/exit - improve session store/restore - improve session manager code - calm down kDebug messages - applies code style CCBUG: 268328
* inlined "abused" function and removed 2 unuseful calls to updateTabBarAndrea Diamantini2011-10-111-1/+1
|
* Fix tab size and addTabButton position when a KMessageWidget appearsYoann Laissus2011-09-201-0/+5
| | | | REVIEW: 102651
* Fix close & sessionAndrea Diamantini2011-09-131-7/+0
| | | | | | | | | | 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
* Restore tab's history when restoring a tab/sessionAnton Kreuzkamp2011-08-211-2/+2
| | | | | | | | We finally have it :D CCMAIL: akreuzkamp@web.de REVIEW: 100604 REVIEWED-BY: adjam, elproxy
* Use of QSignalMapper for switchToTab() method in terms of code unificationAndrea Diamantini2011-05-091-1/+1
| | | | | | 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/+1
| | | | | | | | | | | | | | | 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?
* Coding styleAndrea Diamantini2011-02-251-4/+13
|
* Finally found time to update copyrights... ;)Andrea Diamantini2011-02-241-2/+2
|
* Cleans up "tab switch" management and expecially the use of signalsAndrea Diamantini2011-02-171-1/+5
| | | | | | | on that. This, expecially to avoid double calls on functions to manage tab switching and info updating. Reviewed by NOBODY (oops...)
* This patch cleans up tabbar update: show/hide when ↵Andrea Diamantini2011-02-161-2/+0
| | | | | | | | | | ReKonfig::alwaysShowTabBar() is off and update tab button position. It also removes a "feature" introduced to hide/show tab button on tab moving: it has negative effects on tab middle click closing. Reviewed by: NOBODY (oops..)
* Removed unused (?) lastTabClosed signalAndrea Diamantini2011-02-151-1/+1
|
* Horizontal scroll wheel may now be used to navigate through history ↵Felix Rohrbach2011-01-051-0/+2
| | | | (Disabled by default).
* Show and hide the add-tab button automaticallyJon Ander Peñalba2010-11-301-2/+0
|
* Revert "Remove m_loadingGitPath from MainView"Jon Ander Peñalba2010-11-221-0/+2
| | | | | | This reverts commit eba8b17b2514c39897b035a1f5529f5b87a7b114. This commit wroke the favicon rendering.
* Revert "Make the invariants of MainView explicit"Jon Ander Peñalba2010-11-221-3/+3
| | | | | | This reverts commit bf94b5e71b1a7cedf2f69bb3cd61661bc21c24c3. This commit introduced a bug that stoped the new tab button from working.
* Merge branch 'master' of git://git.kde.org/rekonqBenjamin Poulain2010-11-201-5/+7
|\ | | | | | | | | | | | | | | Conflicts: src/mainview.cpp src/mainview.h src/webtab.cpp src/webtab.h
| * API clean upAndrea Diamantini2010-11-191-6/+7
| | | | | | | | urlBar --> currentUrlBar
* | Remove the destructor of MainViewBenjamin Poulain2010-11-201-1/+0
| | | | | | | | | | | | | | | | The destructor of MainView was redundant with the cleaning mechanism of QObject. It is removed to simplify the class. Reviewed by: Pierre Rossi Reviewed by: Andrea Diamantini
* | Remove m_loadingGitPath from MainViewBenjamin Poulain2010-11-201-2/+0
| | | | | | | | | | | | | | | | | | | | The attribute m_loadingGitPath is an invariant of runtime, it is not specific to MainView objects. The path has been changed to a constant of the implementation. Reviewed by: Pierre Rossi Reviewed by: Andrea Diamantini
* | Make the invariants of MainView explicitBenjamin Poulain2010-11-201-3/+3
| | | | | | | | | | | | | | Enforce the invariant of MainView by making the pointer const. Reviewed by: Pierre Rossi Reviewed by: Andrea Diamantini
* | Update the name of MainView attribute to follow the conventionsBenjamin Poulain2010-11-201-2/+2
|/ | | | | Reviewed by: Pierre Rossi Reviewed by: Andrea Diamantini
* Revert "Fastest last tab recover"Andrea Diamantini2010-10-291-2/+0
| | | | | | | This reverts commit 8561c1b43a506ac4ead17734c20cc55ce7cec666. This implementation lets the last close page to continue load eg flash and in general can produce audio playback :(
* Fastest last tab recover :)Andrea Diamantini2010-10-251-0/+2
| | | | | In fact, the tab is not really deleted, but just saved somewhere to fastly restore it, having again history and so on..
* Change the behavior of Ctrl+Maj+T to open only the last closed tabBenjamin Poulain2010-09-191-1/+1
| | | | | | | | | Previously, the action of Ctrl+Maj+T was opening all the closed tabs. This was differing from Firefox and Chrome, which can be confusing for users. This patch change the behavior to open only the last closed tab, making the behavior more like the other browsers.
* Include clean-up in the big src directoryJon Ander Peñalba2010-09-031-16/+11
|
* Added option to detachTab() to allow moving to existing windowNikhil Marathe2010-08-071-1/+6
|
* Clean MainView API and fix "Pano's bug" about opening new tabs near current onsAndrea Diamantini2010-07-041-2/+1
|
* This should fix the Ctrl+w bug. Anyway, it really doesn't solve it: there is ↵Andrea Diamantini2010-06-041-2/+5
| | | | | | | | a corner case where the trick implemented doesn't work. We'll see if someone can fix also that.. BUG:233937
* Added actions to switch to Tab #nNikhil Marathe2010-05-241-0/+1
| | | | BUG: 235107
* inlined some of the most used get functionsAndrea Diamantini2010-05-211-3/+4
| | | | to speed up a bit
* This commit reintroduces the QStackedWidget class for urlbars and letAndrea Diamantini2010-05-141-4/+3
| | | | | | us resize them as needed for themes different from oxygen. This anyway seems working better with the upcoming Qt 4.7
* (Re)-open closed tabsAndrea Diamantini2010-05-111-0/+2
| | | | | | tabbar actions & CTRL + SHIFT + T shortcut for the last Johannes Zellner's patch. Thanks :)
* New rekonq_defines.hAndrea Diamantini2010-04-301-1/+3
| | | | Speed up compilation & linking on Win, Lin & Mac. Step 1
* A coding style roundAndrea Diamantini2010-04-301-8/+8
|
* Dramatically improved "detach tab" performances..Andrea Diamantini2010-04-231-1/+1
| | | | Need to round some corners, yet.
* This is a really big commit, implementing the new urlbarAndrea Diamantini2010-04-081-3/+4
| | | | | | | | | | | | | | | | | | | - removed previous SSL animation, we have now a nice yellow lock :) - faster and cleaner animations - reenabled the old stacked widget, to avoid stupid refreshes and fix some regressions - implemented some "right icons": KGet, SSL, RSS. For now, just SSL is full featured - clean up the box :) Some old & unuseful files removed, some icons added - Pano's request: grey text shown everytime in the empty bar Again and again: this is not the first, but the second implementation of the new urlbar UI. About me this is clearly better than the first or the previous. But it needs love :D BUG: 230125 BUG: 231015 CCBUG: 228040 BUG: 227272
* Cleaning urlbar API and improving animationAndrea Diamantini2010-03-301-1/+1
| | | | | | | | | | | | | | | | | | | WARNING: This is the best animation I could provide with the KComboBox class. In the KLineEdit derived it works perfectly. In the Combos there are some shadows on top :( Squashed commit of the following: commit 01e72a1996161028f8dbdc4e355daf00f954eace commit 8bc032d98a4987d3b01566ac520f5e8a1a095dd0 commit bc5cfd9f7d1b34f5af06dd7af6de8d3b2edb277b commit 73b4deac84d91fece407b9c700dcc61e36a34327 commit c55b753913b2619607c6aa11cabbf77ca3c84e3e commit b901fbe71b7539f65260c4fa9bbfb22f4ea997b9 commit 1de363d9614c1309ac1ac4a8eea7e70be7f2f3ed commit 76d6373f8b6c41f5c27b8404db2074f9bfc309c9 commit d741aa7109db016abc292d49fb45d15bb09e6c01
* Save memory.Andrea Diamantini2010-02-191-3/+3
| | | | One tabBar pointer less for each mainwindow