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

79 Commits

Author SHA1 Message Date
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
nowrep
91c88872f8 Go to fullscreen in QWindoStateChangeEvent.
It is now possible to go properly to fullscreen also from Window
Manager's actions/shortcuts.
2013-02-17 11:05:35 +01:00
nowrep
7b3b4f9b94 [Regression] Fixed restoring session with pinned tabs.
Regression from adding tabs on top feature.
2013-02-15 22:18:46 +01:00
nowrep
83f3c90752 Added option to show tabs on top.
You can change it in Menu View -> Toolbars

Closes #640
2013-02-09 13:00:45 +01:00
S. Razi Alavizadeh
ed928dc512 [Mac Global Menu] Added some new slots to support our MENU_RECEIVER idea. 2013-02-09 14:47:19 +03:30
nowrep
60550fcbfb Fixed scrolling to anchor(#) links in background tabs.
Setting correct QWebPage::viewportSize() on creation.
Closes #663
2013-02-06 17:42:32 +01:00
nowrep
c1c1b4130e New option "Open new empty tabs after active tab".
Closes #544
2013-01-25 23:49:46 +01:00
nowrep
365c0d5efd Qt5: Added info about Qt version into session files.
It will break restoring sessions from Qt4 into Qt5.
QupZilla can now run with Qt5.
(there are still some issues to be resolved)
2012-12-20 15:22:14 +01:00
nowrep
89e091f09c Qt5: Main code has been edited to support both Qt4 and Qt5
It doesn't include plugins yet.
Even thought the app can be built with Qt5 now, it won't run.
I am still working on a fix.
2012-12-20 14:45:35 +01:00
nowrep
528f398cbe Using QLatin1String and QLatin1Char now everywhere
- it saves few unnecessary allocations
2012-09-04 12:42:45 +02:00
nowrep
c71cf910cb TabBar: If not enough space, show close button only on current tab
- removed "Show close button on tabs" option as it is now redundant
2012-09-03 22:40:52 +02:00
nowrep
3065d58b25 Fixed width of pinned tab with Oxygen theme.
- also added runtime check of current Qt theme in use
2012-09-03 13:24:29 +02:00
nowrep
b2181f0bab Coding style: Use empty QString() constructor instead of "" everywhere 2012-09-02 11:42:41 +02:00
nowrep
cf2c28cfdb Updated coding style 2012-08-31 15:19:07 +02:00
nowrep
f1c9112a86 Fixed close buttons on tabs not working after recent commit.
closes #533
2012-08-28 10:40:03 +02:00
nowrep
2acc6021aa Regression: Fixed restoring sessions with pinned tabs.
- it was opening & restoring tabs in new window
2012-08-24 19:24:48 +02:00
nowrep
c6445513e0 Don't close additionally opened tabs when restoring session
- if user opens app after crash, he will get 1 tab asking him
  about restoring a session
  if user opens another tabs and later decides to restore session,
  new opened tabs won't be closed

Patch by Franz Fellner
2012-08-22 13:45:03 +02:00
nowrep
80e89b2644 New Restore Session GUI - allows choosing to/not to restore each tab
- added as new qupzilla:restore page
- thanks a lot for work by Franz Fellner

closes #515
2012-08-21 20:28:38 +02:00
S. Razi Alavizadeh
1df223fbd1 Fixed problem about location of 'm_buttonAddTab' when there are lots of tabs opened. 2012-08-21 00:20:31 +04:30