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

334 Commits

Author SHA1 Message Date
nowrep
2554ad9870 Coding style: Uninline public functions 2013-06-30 12:41:01 +02:00
nowrep
50a4d78026 Removed unnecessary QDebug 2013-06-18 11:05:25 +02:00
nowrep
99b35a19b5 Use palette colors for indicating not yet loaded tabs.
Also fixed compile issue from previous commit.
2013-06-18 11:03:52 +02:00
Charles
18f65a66f6 Only set the unloaded tab color if the url is not empty 2013-06-18 14:33:05 +07:00
Charles
7882cbcc98 Set unloaded tab color to rgb(100, 100, 100) 2013-06-18 14:25:37 +07:00
nowrep
136452ad2a Properly test for USE_QTWEBKIT_2_2 define 2013-06-17 21:03:45 +02:00
Charles
9e476bfbc2 Enable closing tab by middle clicking in the tab list menu 2013-06-16 13:49:08 +02:00
nowrep
98fac13f85 [MacWebViewScroller] No need to use WebView subclass. 2013-06-12 19:58:25 +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
b59d42fc1b Don't try to download empty page.
Closes #925
2013-06-06 11:48:43 +02:00
nowrep
197240845d [Oxygen] Tweaked last icon to be used from theme. 2013-06-02 22:47:02 +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
9725f53bbf [StatusBarIcons] Added JavaScript icon to manage JavaScript settings. 2013-05-26 18:15:24 +02:00
nowrep
3259abef09 Added new plugin: StatusBar Icons.
This plugins add extra icons into statusbar with various
functionality.
Currently, only Images icon is present, which enable changing
image load settings per-site and globally.
2013-05-26 15:46:21 +02:00
nowrep
19adf74dc5 [WebView] Added Ctrl/Shift + Insert shortcuts to copy/paste. 2013-05-19 10:22:40 +02:00
nowrep
ac90002b6f Make sure ProxyStyle is created before using it. 2013-05-15 16:49:05 +02:00
nowrep
bd315afe9e [AutoFill] Rewritten password management to support multiple backends. 2013-05-14 17:57:13 +02:00
nowrep
09a1bec467 Added option to detach tabs into own window.
Closes #441
2013-05-13 22:01:36 +02:00
nowrep
d391b65bed [Oxygen] Fixes crash when closing window.
This is proper fix for #838
2013-05-12 23:30:55 +02:00
nowrep
42e0f535fe [Tabs] Use theme icons for tab-new and tab-duplicate. 2013-05-12 23:14:35 +02:00
nowrep
16d5917d43 [Code] Make it possible to move TabbedWebView to other window. 2013-05-12 22:55:53 +02:00
nowrep
16a7156d69 [Mac] Attempt to fix slow scrolling on Apple trackpads.
Closes #832
2013-05-04 15:15:43 +02:00
nowrep
650f474113 [SessionRestore] Fixed saving some tab icons in session file.
Saving directly QPixmap instead of QIcon fixes issue when some
icons don't save correctly for some reason (eg. oxygen hdd icon).
2013-05-03 00:35:14 +02:00
nowrep
1b617068b2 [AdBlock] Fixed hiding rules when more than 5000 rules in subscription.
Closes #873
2013-05-02 21:01:17 +02:00
nowrep
d59acd8dbb [WebView] Make Direction & Fonts menu translatable.
Closes #871
2013-05-02 12:02:41 +02:00
nowrep
087eb93ecb [Code] Improved cppcheck script and fixed all warnings. 2013-04-28 17:50:09 +02:00
nowrep
655259456c Properly fix 5740873ed6
Previous commit introduced new bug, background tabs didn't have close
buttons.
2013-04-23 10:01:40 +02:00
nowrep
9861af4d64 [Oxygen] Set rounded corners for custom tooltips.
Show custom tooltips with rounded corners when using Oxygen
theme.
Tab previews and popup statusbar message are now painted with
rounded corners.
2013-04-21 01:24:24 +02:00
nowrep
5740873ed6 Fixed incorrectly showing close buttons on tabs after restoring session.
Only reproducible when tabs overflows the tabbar.
Also fixed build warning on Windows.
2013-04-17 13:35:32 +02:00
nowrep
373050bef0 [Regression] Fixed handling key press events in webview.
Regression from 7c9b30c443
2013-04-15 23:21:00 +02:00
nowrep
c073ce0094 Make it possible for plugins to reimplement mailto scheme. 2013-04-12 17:52:51 +02:00
nowrep
db6f4333f2 [Code] Added comment for previous commit (Crash fix) 2013-04-10 22:48:29 +02:00
S. Razi Alavizadeh
7c9b30c443 Fixed, sent correct event for right/left key on RTL layouts.
-see #839
2013-04-09 18:27:44 +04:30
nowrep
fe6e450a44 [Oxygen] Fix crash on close with tabs on top enabled.
See #838
2013-04-09 14:06:59 +02:00
nowrep
90c285c1ac Added function to return focused element on page.
WebView/WebPage::activeElement
2013-04-07 20:19:21 +02:00
nowrep
7c57588738 Cancel upload when trying to upload non-readable files. 2013-04-04 20:32:56 +02:00
nowrep
67dbddedfe [FileWatcher] Delay emition of file/dir changed signal.
Fixes reloading files edited by eg. vim.
2013-04-02 13:14:19 +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
e72610da0a Translate edit actions in page context menu + added delete action. 2013-03-18 15:53:16 +01:00
nowrep
ff55c915b3 [TabIcons] Fixed incorrectly showing icon of tabs in some rare cases.
It now correctly shows error sign on tab when error page is loaded.
2013-03-14 15:25:40 +01:00
nowrep
f508475916 [Fix] Fixed duplicating current url in history when restoring session. 2013-03-13 11:57:56 +01:00
nowrep
ab8496610e [TabPreview] Don't show tab previews while dragging tabs. 2013-03-11 15:14:50 +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
50e993e014 [TabBar] Compute minimum tab sizes with ProxyStyle pixelMetrics.
It will make it possible for styles to basically style tabs.
2013-03-03 20:20:49 +01:00
nowrep
aa2f6664bf Quick fix for previous commit. 2013-03-02 23:18:49 +01:00
nowrep
1f5df24a44 [TabBar] Position of add tab button was incorrect sometimes.
Fixed showing add tab button always at correct position.
Also removed duplicate code in tabSize.
2013-03-02 18:15:05 +01:00
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
53b31ea912 Fixed copying url with special characters into clipboard.
Also properly encode url for loading in W3 validator.

Followup to #762
2013-02-23 17:21:33 +01:00
nowrep
63b5a059c9 Coding style + changed line endings of copyright 2013-02-23 16:18:01 +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
bb9bccf580 Added 'MacToolButton' as a replacement for QToolButton on Mac 2013-02-21 01:09:26 +03:30
S. Razi Alavizadeh
1320a6cf03 [Mac] Fixed rendering of tab's buttons. 2013-02-20 23:52:38 +03:30
nowrep
134f8f5263 [SiteInfo] Use uniform item sizes in list widget.
Also fixed showing the whole item on Windows.
2013-02-20 11:46:05 +01:00
nowrep
ac7dc197ae Fixed hiding navigation container when disable and enabling tabs on top.
Closes #764
2013-02-19 11:23:21 +01:00
nowrep
f3c7f5a3ba [Qt5] Fixed failing FormCompleter tests. 2013-02-18 13:37:33 +01:00
nowrep
5b0f37abd5 Fixed crash when showing multiple notifications with Tabs On Top. 2013-02-17 11:41:42 +01:00
nowrep
742326bde7 Added possibility to select text on page with Shift+Arrow keys.
Shift+Right Arrow        => select next char
Shift+Left Arrow         => select previous char
Shift+Ctrl+Right Arrow   => select next word
Shift+Ctrl+Left Arrow    => select previous word
Shift+Home               => select start of line
Shift+End                => select end of line
Shift+Ctrl+Home          => select start of document
Shift+Ctrl+End           => select end of document
2013-02-17 11:07:02 +01:00
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
bea5f72ad7 [SiteInfo] Improved setting height of section widget. 2013-02-11 17:11:13 +01:00
nowrep
9a99509faf Proper fix for restoring current tab.
Fix for 3b4d2f5534
2013-02-11 16:45:10 +01:00
nowrep
3b4d2f5534 [Regression] Fixed restoring current tab.
Regression from 38c4d347c9
2013-02-11 11:02:42 +01:00
nowrep
38c4d347c9 [TabsOnTop] Fixed flickering when closing tab.
It only occured when closing tab and going to tab that hasn't
been loaded yet (don't load tabs until selected)
2013-02-11 09:51:22 +01:00
nowrep
0133886b06 Revert "[jsoptions] Added "Disable or change context menu" option"
It broke Inspect Element action.

This reverts commit f6de3bd5a0.
2013-02-10 20:42:16 +01:00
nowrep
23690d4154 [code] Moved checking for RSS into WebView. 2013-02-10 14:09:11 +01:00
nowrep
c9bcf15f9b [popupwindow] Show minimal version of search toolbar.
Also set minimumWidth.
2013-02-10 11:25:44 +01:00
nowrep
d8527917ca [code] Remove wantsFocus(QUrl) signal. Instead using better solution.
When HTTP authorization is requested, this signal is used to
set the originating WebTab as current widget in tabwidget.
2013-02-10 10:38:12 +01:00
nowrep
945b40f2a5 Improved showing navigation in fullscreen.
It will now hide navigation toolbar after 1 second instead
of hiding it instantly when on mouse leave.
2013-02-09 15:44:17 +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
67d6d380cd [AutoFill] Added password icon into locationbar to choose username.
Closes #735
2013-02-08 18:44:26 +01:00
nowrep
0a9f2ec4d6 Coding style. 2013-02-08 12:10:12 +01:00
nowrep
3b648397b0 [code] Added checks before using QWebPage::view(). 2013-02-07 14:38:31 +01:00
nowrep
312a86d584 [spellcheck] Fixed adding some words into user dictionary. 2013-02-07 13:43:37 +01:00
nowrep
efe5ed8e7d Disabled opacity effect in animated tab previews by default.
It can still be enabled with ENABLE_OPACITY_EFFECT build variable.
This is final fix for #663
2013-02-07 12:35:54 +01:00
nowrep
3b301e8446 [adblock] Added support for $image rules.
It tests whether the url ends with .jpg/.jpeg/.gif/.png
2013-02-07 11:04:09 +01:00
nowrep
2bb002b62d Properly returning page to its original state after rendering preview.
See #663
2013-02-06 23:45:43 +01:00
nowrep
24957fd537 Fixed crash with "Allow js to disable context menu" option.
See f6de3bd5a0
2013-02-06 23:44:45 +01:00
nowrep
f6de3bd5a0 [jsoptions] Added "Disable or change context menu" option
User can now set whether sites are allowed to change or
completely disable context menu.
2013-02-06 18:17:50 +01:00
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
7c9d7fd25c [spellcheck] Enable SpellCheck on Windows by default. 2013-02-06 13:11:26 +01:00
nowrep
67a08d237d [code] Using QVariant::fromValue instead of obsolted qVariantFromValue. 2013-02-05 22:33:54 +01:00
nowrep
0a7773bec1 [spellcheck] Added dialog with spell check settings. 2013-02-05 22:31:16 +01:00
nowrep
c3a0e1f13a [spellcheck] Added context menu options to replace misspelled words.
And also to add word into user dictionary.
2013-02-05 20:43:53 +01:00
nowrep
dfb69be90e Don't show AdBlock icon in webview context menu on editable content. 2013-02-05 13:41:30 +01:00
nowrep
4f3c8b0d00 Check for QtWebKit 2.2 availability with pkg-config.
Fixes issues with building with QtWebKit 2.2 and Qt 4.7
2013-01-31 20:27:37 +01:00
nowrep
4f42040c7e Followup for background fix with dark themes. 2013-01-31 14:18:28 +01:00
nowrep
a97ef7d627 Properly fixed page background color with dark themes.
Also fixed building with Qt 4.7
2013-01-31 11:54:42 +01:00
nowrep
712877a068 Updated windows installer - remove untranslated languages.
And changed "Register http and https protocols" to "Register
http(s) and ftp protocols".
So this should be changed in all translations.
2013-01-29 14:23:10 +01:00
nowrep
709bc71f1a Merge branch 'srazi-master' + fixed building on Linux.
Conflicts:
	src/lib/lib.pro
2013-01-29 00:13:34 +01:00
hrobeers
fbfcc706c2 Support for loading not percent encoded bookmarklets.
Closes #722 #717
2013-01-28 23:10:49 +01:00
S. Razi Alavizadeh
a05c4b2bdb Added FTP support. (List and Download) 2013-01-28 13:22:55 +03:30
nowrep
32f69c89be Don't steal Ctrl+U/B/I shortcuts from page.
When writing eg. mail on gmail, you can make text bold,
underline and italic with Ctrl+U/B/I shortcuts.
It will now correctly process the web action instead
of showing bookmarks sidebar, source of page and page info.

Shortcut for bookmarks sidebar has been change to Ctrl+Shift+B
2013-01-26 21:58:09 +01:00
nowrep
84dc48ef67 Don't show "Resend form" dialog when app is starting. 2013-01-26 12:20:46 +01:00
nowrep
1f2b0eef87 Possible to open background/selected tab from "Open in new tab" action
Inverts the prefered option to opening new tabs with middle mouse click.
Closes #635
2013-01-26 12:07:32 +01:00
nowrep
c1c1b4130e New option "Open new empty tabs after active tab".
Closes #544
2013-01-25 23:49:46 +01:00