1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-23 02:32:10 +02:00
Commit Graph

97 Commits

Author SHA1 Message Date
nowrep
f042ba9b88 [TabBar] Fixed showing 2 AddTab buttons when tabs overflows 2014-03-18 20:38:30 +01:00
nowrep
3d23f3eb02 [WebTab] Move more code into WebTab, instead of handling in TabWidget/TabBar
This also fixes showing tab icon after detaching tab
2014-03-18 20:00:34 +01:00
nowrep
27a3781ed0 [ComboTabBar] Move right/left containers to ComboTabBar class
It is now possible to set corner widgets of all tabbar, not only
main tabbar.
2014-03-18 17:35:44 +01:00
nowrep
96b6743ac6 [ClosedTabsButton] New button in the right corner of tabbar
Added icon for Linux theme.
But it needs a new icon for other themes...
2014-03-17 15:04:58 +01:00
nowrep
5b6b6c6eaf [LoadingAnimation] New loading animation
Instead of using QMovie with GIF, one PNG file with all
frames is now animated.
Fixes issue with bad transparent background of previous GIF
animation.
2014-03-17 10:43:18 +01:00
nowrep
16ff847a8b [Session] Use the same session with both Qt4 & Qt5
The issue with incompatible session were only with first alpha
releases of QtWebKit 2.3
2014-03-14 14:08:38 +01:00
nowrep
b52a84da3c [CreatingWindow] Don't disable updates when creating browser windows 2014-03-13 13:38:14 +01:00
nowrep
9a6bb0444d [TabBar] Make sure adding new background tab make it visible in tabbar 2014-03-13 12:10:58 +01:00
nowrep
d2528417d1 [CodeCleanup] Removed all disconnectObjects() methods
I don't think we need this hack anymore.
2014-03-13 11:24:19 +01:00
nowrep
d109159408 [CloseOnLastTab] Instead of blocking closing tab, load new-tab-url 2014-03-13 11:11:15 +01:00
nowrep
22452aa825 [CloseOnLastTab] Changed behavior of "Don't quit upon closing last tab" option
It is now "Don't close window upon closing last tab", as it is more
reasonable to bind it to window, not the whole app.

Instead of loading the url-on-new-tab, it now simply blocks closing last
tab
2014-03-12 22:31:33 +01:00
nowrep
e827249f50 [MainMenu] Added MainMenu class that holds all menu actions of window
All actions are now saved in QHash with name, this will make possible
to implement own keyboard shortcuts for actions.
+ WIP cleanup of BrowserWindow class
2014-03-10 16:55:11 +01:00
nowrep
2e9ce1ba90 [CodeCleanup] Major cleanup in MainApplication class 2014-03-10 00:47:07 +01:00
nowrep
969f262cf8 [DataPaths] Don't add trailing slash to paths
Qt API is not adding trailing slashes to dir paths either.
2014-03-09 22:17:13 +01:00
nowrep
214279e3bb [DataPaths] Added new class DataPaths
This class holds all paths now (instead of MainApplication)
Renamed ProfileUpdater -> ProfileManager
ProfileManager is now responsible for all operations with profiles
2014-03-09 21:51:42 +01:00
nowrep
a3c3dead87 [CodeCleanup] Get rid of Qz::AppMessage enum 2014-03-09 12:54:07 +01:00
nowrep
9764cea3a3 [ToolButton] ShowMenuInside option needs own aboutToShowMenu signal 2014-03-07 23:20:31 +01:00
nowrep
edbb87bd1f [CodeCleanup] IconProvider now have static methods for getting icons 2014-03-07 18:03:42 +01:00
nowrep
f33552320f [AutoSaver] Rework AutoSaver so each object can use own instance
Instead of saving everything in MainApp::saveStateSlot, save each object
separately. As a result, this will save a lot of writes to disk.

Other changes includes:
Saving bookmarks also in private mode. Closes #1208
Cleanup of code
2014-03-06 16:12:36 +01:00
Mladen Pejaković
b18ac632df [HistoryMenu] Improvements 2014-02-28 21:12:25 +01:00
nowrep
404fa68a1b [Cleanup] Renamed QupZilla class to BrowserWindow 2014-02-19 22:07:21 +01:00
Mladen Pejaković
3eede1d8a2 Rework list of closed tabs 2014-02-15 18:49:48 +01:00
nowrep
5e131033e6 [Flicker] Another set of flicker patches
Old approach caused navigationbar to be empty for a moment while
opening a lot of tabs at once
2014-02-13 17:06:09 +01:00
nowrep
3ec9e0b893 [TabListButton] Show popup menu inside window for tab-list button in tabbar 2014-02-13 17:05:50 +01:00
nowrep
7cefc22c0a [Flicker] Fixed flicker when opening new tabs with sites that loads instantly
Eg. this happens for internal qupzilla: pages
Also early set locationbar's url to newly opened tab's url.
2014-02-12 13:50:06 +01:00
nowrep
dab7c82ae8 [WebView] Another approach to window.onbeforeunload handling
Don't try to load empty url just to check for beforeunload event.
Explicitly evaluate the window.onbeforeunload function instead.
2014-02-11 22:25:32 +01:00
nowrep
818afc1398 [ClosedTabs] Fixed saving closed tabs after 1fd1691ee2 2014-02-10 19:27:58 +01:00
nowrep
b88bbe4fc8 [WebView] Better window.onbeforeunload handling
Let's first quickly check whether window.onbeforeunload is not null,
and then try to load empty page.
Always loading empty page was quite heavy, because it needed to clear
all web contents, it also fired loading signals, ...
2014-02-10 18:38:47 +01:00
nowrep
260447e414 [coverity] Fixes for issues found by scan.coverity.com 2014-02-01 19:21:49 +01:00
Jonathan Hooverman
d917f43cf0 Updated copyright year to 2014 2014-01-11 16:11:42 +01:00
Mladen Pejaković
47fee7b3b2 [Translations] Plural for number of opened tabs. Closes #1143 2014-01-09 22:53:01 +01:00
nowrep
1fd1691ee2 Handle window.beforeunload event
Closes #1041
2014-01-02 12:09:04 +01:00
nowrep
4b75a98806 [WindowsTheme] Add extra icon for add-tab button when outside tabbar. 2014-01-01 18:23:56 +01:00
nowrep
da15e5868d [CodingStyle] Don't use references when assigning to local variable
Let the compiler do the optimization
2013-12-30 13:43:48 +01:00
S. Razi Alavizadeh
bff614144b Added TabStackedWidget + ComboTabBar
Set of patches:
Introduce TabStackedWidget+ComboTabbar
[Windows] Fix enabling blur background in fullscreen
[ComboTabBar] Fix some issues with pinned tabs
[ComboTabBar] Don't use pointer to integer,
Implement TabStackedWidget::keyPressEvent() and fix changing tab by wheel event
Fix animation delay of dragged tab's buttons.
[ComboTabBar] Add themable scrollButtons
2013-12-23 20:30:54 +01:00
S. Razi Alavizadeh
333d0b0cdd Fixed, update icon of detached tab. 2013-09-03 10:59:12 +04:30
S. Razi Alavizadeh
1ebc952ae0 Fixed closing tabs from TabsMenu by middle-click 2013-08-21 17:08:37 +04:30
Charles
9e476bfbc2 Enable closing tab by middle clicking in the tab list menu 2013-06-16 13:49:08 +02:00
nowrep
9be2b6f5ca Fix "Hide tabbar with only one tab" option to work also with fullscreen.
Closes #927
2013-06-06 13:14:12 +02:00
nowrep
10bba39bd4 New tab button in toolbar opens tab with url from clipboard on middle click.
Closes #907
2013-06-02 16:46:26 +02:00
nowrep
09a1bec467 Added option to detach tabs into own window.
Closes #441
2013-05-13 22:01:36 +02:00
S. Razi Alavizadeh
334f90b12b [Windows] Fixed first moment black background of new tab. 2013-03-24 01:00:05 +04:30
nowrep
cb0630de35 Don't limit speed of loading animation in tabbar. 2013-03-20 10:26:18 +01:00
nowrep
5f5cf7417d [Code] Updated coding style with patched Astyle + normalized signals.
Code was formatted with patched astyle that correctly formats
foreach macro.
Normalize tool is now used to normalize all signal/slots signatures
to normalized format. It saves few reallocations on connections.
2013-03-06 09:08:29 +01:00
S. Razi Alavizadeh
f6f604698d [Win] Improved "windows" theme+transparent TabBar's background 2013-03-03 23:34:21 +03:30
nowrep
b1eca8095e Select line in locationbar when opening new tabs only when text is empty.
Fixes followup to #752
2013-02-28 19:38:12 +01:00
S. Razi Alavizadeh
b52d150e7d [Mac] Small fixes in themes + fixed building
Theme: fixed color of statusbar
Building: fixed linking to CoreServices framework
QzTools: show correct version of Mac OS X
Code: coding style
2013-02-26 13:01:00 +01:00
nowrep
d885444501 [Code] Use QVector instead of QList for elements bigger than pointer. 2013-02-26 12:56:11 +01:00
nowrep
2ddff2a34e Restore tabs: Disable updates of tabbar while restoring session.
Fixes sometimes drawing tabbar while restoring is in process, resulting
in painting only few tabs and then all restored tabs after a moment.
It will now only draw completely restored tabbar.

Also fixed one incorrect usage of setUpdatesEnabled in TreeWidget.
2013-02-23 12:04:51 +01:00
S. Razi Alavizadeh
1320a6cf03 [Mac] Fixed rendering of tab's buttons. 2013-02-20 23:52:38 +03:30