1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 11:02:19 +01:00
Commit Graph

2907 Commits

Author SHA1 Message Date
David Rosca
9072cc65c6 WebView: Bring back context menu 2015-09-29 23:15:46 +02:00
David Rosca
4cb9beecc4 WebView: Opening links in tabs now honor user new tab settings 2015-09-29 22:00:09 +02:00
David Rosca
241d7d8e03 WebPage: Add basic support for WebHitTestResult 2015-09-29 21:53:56 +02:00
David Rosca
d4e09d8840 Hack to make input events work 2015-09-29 21:53:19 +02:00
David Rosca
f448bba885 Fix previous commit 2015-09-29 16:37:22 +02:00
David Rosca
6e6f934535 Fix emitting changed() in TabWidget
TabbedWebView::changed() is no longer used, connect to urlChanged directly
2015-09-29 16:31:23 +02:00
David Rosca
ab75170f85 Move authentication + cert error functionality to NetworkManager
Certificate exceptions only works per-session.
2015-09-29 16:19:11 +02:00
David Rosca
b0da5ba755 Bring back NetworkManager class 2015-09-29 11:45:39 +02:00
David Rosca
f3fda02820 WebPage: Remove unusued QSslCert functionality
Also bring back indication of secured pages.
2015-09-29 11:37:17 +02:00
David Rosca
b2c4064f1b Fix build with NONBLOCK_JS_DIALOGS 2015-09-29 11:30:42 +02:00
David Rosca
2582ee3562 Update expectations for popupwindows test 2015-09-29 11:21:17 +02:00
David Rosca
fcaa2b4559 EncodingMenu: Fix showing duplicate codecs in other menu
Also use alphanumeric sorting with QCollator
2015-09-29 11:14:20 +02:00
David Rosca
16b28a3a90 Preferences: Remove not working options
Also fix disabling local cache
2015-09-29 10:55:24 +02:00
David Rosca
5ba8f4dbb6 ProfileManager: Make appropriate functions static 2015-09-28 20:44:15 +02:00
David Rosca
24de161ad1 DataPaths: Use XDG paths + add Cache path
Also drop support for old deprecated config paths.

Closes #1411
2015-09-28 20:41:01 +02:00
David Rosca
7adc31337b Make afterLaunch settings enum 2015-09-28 14:51:38 +02:00
David Rosca
f28da4407f Remove pinnedtabs.dat on startup, not when saving session 2015-09-28 14:34:21 +02:00
David Rosca
6d37ab5ce4 Save pinned tabs per window if restoring session on start
No more pinned tabs restoring on wrong window. Also it is now possible
to have different pinned tabs on each window.
2015-09-27 18:54:19 +02:00
David Rosca
94bac52e1f Changed CookieManager, SiteInfo and Preferences to QWidget
For some reason, QzTools::setWmClass on SiteInfo resulted
in all webviews turning black.
2015-09-25 22:31:04 +02:00
David Rosca
748e6ce020 Ported all X11 specific code to xcb
It now also runtime checks for X11 platform, so it should
work on Wayland without recompilation;
2015-09-25 22:08:09 +02:00
David Rosca
daee137862 Cleanups in WebView 2015-09-25 20:44:18 +02:00
David Rosca
f0408e9c13 Bring back SiteInfo
Security and Databases tabs are removed. Image previews only
works for local images.
2015-09-25 18:31:05 +02:00
David Rosca
a115d91564 Remove Caret Browsing option
No longer available with QtWebEngine
2015-09-25 17:45:47 +02:00
David Rosca
ced9c8553c SearchEngines: Bring back support to add engine from page 2015-09-25 17:41:46 +02:00
David Rosca
67b5a5337b Another cleanups
Includes enabling again SpeedDial integration in Bookmarks
star icon in locationbar.
2015-09-25 17:02:14 +02:00
David Rosca
f4fb888529 QzTools: Add pixmapToDataUrl() 2015-09-25 16:04:12 +02:00
David Rosca
de46aad181 Bring back support for excluding tabs when restoring after crash 2015-09-25 15:53:14 +02:00
David Rosca
a9d0e79eeb RecoveryJsObject: Use safer method to get BrowserWindow from WebPage 2015-09-24 23:08:55 +02:00
David Rosca
fc85caff57 Add QWebPage::view() that returns WebView * 2015-09-24 23:00:27 +02:00
David Rosca
02f5e032fc Bring back qupzilla:restore page
For now, it doesn't support selecting which windows/tabs not to
restore. It is only possible to start new session or restore previous.
2015-09-24 22:46:35 +02:00
David Rosca
8a6d083114 SearchToolBar: Don't make shortcuts translatable 2015-09-24 19:43:31 +02:00
David Rosca
cde3ed179b Always show restore page when starting after crash 2015-09-24 19:37:40 +02:00
David Rosca
37cd709b7f Fix typo 2015-09-24 19:37:15 +02:00
David Rosca
5467f9643e SpeedDial: Fix updating options values in settings 2015-09-24 18:32:10 +02:00
David Rosca
ca6c20497f SpeedDial: Fix center speed dials option 2015-09-24 17:58:25 +02:00
Philipp Wiesemann
3849fed838 Fix not closing files from /proc/ on read errors
The cmdline files opened from /proc/ were not closed if reading the data
from them failed (e.g. because the file was empty). This leaked the file
descriptor which could lead to failures trying to open more files later.
2015-09-11 22:00:51 +02:00
David Rosca
8521b782bd CommandLineOptions: Port to QCommandLineParser
This comes with removing all 2-chars short options,
only long options are now available.
That means there are no longer both "-nw, --new-window" options,
only "--new-window".
2015-09-09 23:37:43 +02:00
David Rosca
7e1a0d7720 Another cleanups 2015-09-08 11:24:16 +02:00
David Rosca
496c46d067 Fix saving & restoring tabs with urls hidden in locationbar
That is eg. qupzilla:speeddial
2015-09-06 10:32:47 +02:00
David Rosca
7c4d44aa54 SpeedDial: Fix saving settings without changing dials
Closes #1689
Closes #1680
2015-09-05 21:12:54 +02:00
David Rosca
328ab40304 SpeedDial: Fix setting background image 2015-09-05 21:08:44 +02:00
David Rosca
50b9dd9023 Bookmarks: Fix bookmarksSelected signal
Regression from recent commits
2015-08-31 22:26:13 +02:00
David Rosca
5b161b74be SearchToolbar: Add Ctrl+G and Ctrl+Shift+G shortcuts
Closes #1688
2015-08-31 22:21:20 +02:00
David Rosca
ff28f1f211 Another cleanup
- bring back support for Speed Dial Ctrl shortcuts
 - bring back support for one key shortcuts
2015-08-31 22:14:45 +02:00
David Rosca
86a4f3d724 Remove support for transparent background 2015-08-31 21:40:08 +02:00
David Rosca
dad94c64a1 Call QtWebEngine::initialize() in main 2015-08-31 21:24:59 +02:00
David Rosca
9d3769c8e6 AutoFill: Save credentials from dynamically created forms
Closes #999
2015-08-31 20:49:49 +02:00
David Rosca
2e6b9b7fce Scripts: Use document.createEvent instead of new Event 2015-08-31 19:58:42 +02:00
David Rosca
32a0db31b3 AutoFill: Initial port to QtWebEngine
There are still issues with completing forms in frames
2015-08-31 18:56:52 +02:00
David Rosca
a04efdc0be window.external: Only export speedDial on qupzilla:speeddial 2015-08-31 13:17:14 +02:00
David Rosca
19f1ed6bfb Scripts: Register window.external to all frames
It seems that only one QWebChannel connection per page
is supported, so we need to forward window.external to
all subframes.
2015-08-31 12:44:08 +02:00
David Rosca
fa2779e6b9 Bring back AutoScroll plugin 2015-08-30 21:15:18 +02:00
David Rosca
758fd6c687 Fix all build warnings 2015-08-30 17:42:58 +02:00
David Rosca
1683d5aaaf Fix crash when creating window from PopupWindow 2015-08-30 16:53:51 +02:00
David Rosca
b53bf49f75 Old code cleanup 2015-08-30 15:52:15 +02:00
David Rosca
e83734069b Bring back support for sending POST data
This fixes searching with engines that use POST method
2015-08-30 15:36:34 +02:00
David Rosca
44de2b48a0 MsgHandler: Ignore message about starting inspector server 2015-08-30 14:54:43 +02:00
David Rosca
32ea932654 WebPage: Don't write JS console messages to standard output
There is now support for web inspector, so this is not needed
anymore.
2015-08-30 14:46:23 +02:00
David Rosca
eec26c9af4 Bring back support for web inspector
QtWebEngine only supports remote web inspector, so this
starts it on port 33417.
2015-08-30 14:44:59 +02:00
David Rosca
bdd5dee361 SearchToolBar: Fix updating search when changing case sensitivity 2015-08-30 10:57:08 +02:00
David Rosca
2466f790bc SearchToolBar: Don't select text when searching on page 2015-08-30 10:56:58 +02:00
David Rosca
1756c51546 Remove remaining RSS code 2015-08-30 10:40:45 +02:00
David Rosca
20c7b3f57b PageThumbnailer: Delay creating thumbnail by 1 sec after loaded 2015-08-30 10:33:10 +02:00
David Rosca
db888e2b2f SpeedDial: Minor design fixes 2015-08-29 19:40:49 +02:00
David Rosca
869e1ff758 Fix QWebChannel connection after restoring history 2015-08-29 19:19:25 +02:00
David Rosca
495ebc785e Don't link to unused Qt modules 2015-08-29 18:32:57 +02:00
David Rosca
ef71be2a0e Scripts: Only emit created Event when external is not null 2015-08-29 18:22:45 +02:00
David Rosca
832bd37114 SpeedDial: Implement loading page thumbnails
QWebEngineView must be visible in order to grab page contents, so
loading thumbnails is creating a new background window that is loading
the page.
2015-08-28 20:55:10 +02:00
David Rosca
fc204b3b46 SpeedDial: Fix to work with QWebChannel
Page thumbnails are not yet implemented, otherwise it more or less
works.
2015-08-28 19:25:45 +02:00
David Rosca
15279a3641 WebView: Don't show source on qrc: scheme 2015-08-28 17:43:44 +02:00
David Rosca
a672771cef WebPage: Remove isPointerSafeToUse hack
Pointers are no longer stored as void* in network requests
2015-08-28 16:18:05 +02:00
David Rosca
b9d5851ef5 Renamed src/webkit -> src/webengine 2015-08-28 16:17:29 +02:00
David Rosca
adea1139b9 StatusBarIcons: Update NetworkIcon to work with QNetworkProxy
This should make it work with proxy config in Qt 5.6
2015-08-28 10:58:54 +02:00
David Rosca
43a15ff547 Fix creating new config directory 2015-08-18 10:13:44 +02:00
David Rosca
6a16cff13e msghandler: Output log context only when not null 2015-08-18 10:12:01 +02:00
David Rosca
f35f17fa96 Link explicitly to x11extras 2015-08-18 09:56:17 +02:00
David Rosca
e5ec3cea90 Revert [AdBlock] Add Malware Domain List and Malware domains subscription
This reverts commits 7c66b3176c and
2f2d2850cd
2015-08-01 18:10:09 +02:00
Peter Dave Hello
2f2d2850cd [AdBlock] Add "Malware domains" subscription 2015-07-11 21:16:10 +08:00
Peter Dave Hello
7c66b3176c [AdBlock] Add "Malware Domain List" subscription 2015-07-11 21:16:05 +08:00
Peter Dave Hello
cc58aa49f8 [AdBlock] Add "Anti-Adblock Killer" subscription 2015-07-11 21:14:51 +08:00
David Rosca
a745e4776f Fix build with Qt 5.5rc 2015-06-24 10:46:57 +02:00
David Rosca
f747ce3e9d Use better fallback for styleName() when proxy style is null 2015-06-11 21:11:10 +02:00
David Rosca
a0b84a5cd3 TabBar: Don't use ProxyStyle directly 2015-06-11 21:10:47 +02:00
David Rosca
0723deb2fc SearchToolbar: Remove "Highlight" option
It is no longer available with QWebEngine.
Also rewrite callback to use lambda instead of invoke wrapper.
2015-06-10 11:08:32 +02:00
David Rosca
406f522c61 WebPage: Implement certificateError 2015-06-09 18:36:57 +02:00
David Rosca
b30b25b254 WebPage: Implement chooseFiles 2015-06-09 18:10:22 +02:00
David Rosca
2d6ba21c03 AdBlockIcon: Set minimum size
See #1655
2015-05-28 11:15:51 +02:00
David Rosca
458c131170 AdBlockRule: Disable copy
Closes #1654
2015-05-28 11:15:43 +02:00
David Rosca
878ed65753 GreaseMonkey: Show script dialog when creating new user script 2015-05-28 10:08:58 +02:00
David Rosca
146fdc953f GreaseMonkey: Allow userscripts with empty body (just metadata header) 2015-05-28 10:06:41 +02:00
David Rosca
26f0912845 GM_Settings: Add button to create new user script 2015-05-28 10:03:33 +02:00
David Rosca
1c6e9fd036 GM_Script: Parse @updateURL metadata entry 2015-05-28 08:44:16 +02:00
David Rosca
fc606e2019 GreaseMonkey: Don't parse pattern in GM_UrlMatcher
Url matching is now done by QtWebEngine
2015-05-28 08:39:33 +02:00
David Rosca
9c7bfb1c94 GreaseMonkey: Fix removing/updating userscripts 2015-05-27 19:48:40 +02:00
David Rosca
431610215d AdBlock: Bring back domain specific element hiding rules 2015-05-27 19:17:29 +02:00
David Rosca
c75eb32367 Bring back support for user style sheet
This also means that AdBlock global hiding rules are
working again.
2015-05-27 18:48:45 +02:00
David Rosca
ad86572fff Bump GreaseMonkey version number
GreaseMonkey now works the same (or even better) as with QtWebKit.
The only difference is that GM_setClipboard is not implemented
and GM_value functions are saving only to localStorage.
2015-05-25 11:48:38 +02:00
David Rosca
038e4f5014 GreaseMonkey: Implement GM_ functions for userscripts 2015-05-25 11:47:32 +02:00
David Rosca
f95d46953f GreaseMonkey: Disable building JSObject 2015-05-25 10:46:30 +02:00
David Rosca
bb995d7984 Fix some warnings 2015-05-25 10:39:39 +02:00
David Rosca
e825f0268b Bring back GreaseMonkey
Everything seems to work just fine. The only thing that doesn't
work now are GM_setValue and GM_getValue functions.
2015-05-24 23:16:01 +02:00
David Rosca
1387dbef64 Bring back TestPlugin 2015-05-24 21:55:06 +02:00
David Rosca
8f353d7c21 Bring back TabManager plugin 2015-05-24 21:53:12 +02:00
David Rosca
b83c845bab PluginInterface: Replace createRequest with acceptNavigationRequest 2015-05-24 21:41:09 +02:00
David Rosca
7d9a07b379 Bring back show source support (using view-source: url) 2015-05-24 21:28:45 +02:00
David Rosca
b6fcfba09a SpeedDial: First try to port it to QtWebEngine
It now just loads the page, but it does not even correctly
shows all the dials.
2015-05-24 20:49:50 +02:00
David Rosca
89dedf0a0e Bring back qupzilla: scheme pages 2015-05-24 20:41:49 +02:00
David Rosca
406e0f670a Downloader: Drop code for FTP downloads
FTP listing and downloading is now supported by QtWebEngine itself
2015-05-24 19:27:53 +02:00
David Rosca
278b725571 Bring back support for downloading files
All files are now automatically downloaded to the specified
directory. Due to QtWebEngine API changes, it is not possible
to ask user where to save the file.
2015-05-24 19:22:32 +02:00
David Rosca
6da67fc53d Correctly create off-the-record profile for private browsing 2015-05-24 17:29:41 +02:00
David Rosca
f90a40836c PopupWindows: Port to QtWebEngine
It now correctly detects when to open tabs and when to open
popup windows.
Support for opening new browser windows is not yet implemented.
2015-05-22 23:57:24 +02:00
David Rosca
e854afb5d3 TabbedWebView: Bring back showing hovered link url in statusbar 2015-05-22 23:30:51 +02:00
David Rosca
286c714593 WebPage: Bring back windowCloseRequested support 2015-05-22 23:30:26 +02:00
David Rosca
014d0d50ab WebPage: Port feature permission notifications to QtWebEngine
Currently there are missing icons for new permission types
2015-05-22 23:18:25 +02:00
David Rosca
bbc7628de0 Implement changing custom user agent
Per-domain user agent is however not working
2015-05-22 22:00:06 +02:00
David Rosca
c08a584333 Set correct paths for cache and persistent data
Also disable persistent data storage when in private mode
2015-05-22 21:49:00 +02:00
David Rosca
4bd92d1403 Port StatusBarIcons plugin to QtWebEngine
Network icon is disabled.
2015-05-22 18:24:09 +02:00
David Rosca
05fcc35658 Fix build with Qt 5.5
Also enable plugins: FlashCookieManager, Gnome and KWallet passwords.
2015-05-22 18:14:16 +02:00
David Rosca
deb7251231 KWalletPasswords: Fix KF5 KWallet includes 2015-05-22 17:55:35 +02:00
Jonathan Hooverman
610dd28ae1 Removed outdated AdBlock Fanboy subscription, closes #1637 2015-04-23 20:23:07 +02:00
Javier Llorente
3a8b0a1d86 change wording from 'on this site' to 'for this site' 2015-04-17 16:36:20 +02:00
David Rosca
8d34cbc02e SuperMenu: Fix enabling Select All and Find actions 2015-04-09 20:07:56 +02:00
Javier Llorente
44af6ef806 fix for bug #1625 2015-03-19 23:22:05 +01:00
David Rosca
8d7cfb0e2a Remove some Qt 4 specific code 2015-02-26 12:17:47 +01:00
David Rosca
7f27f95a1a Fix build 2015-02-08 11:52:09 +01:00
David Rosca
e3deb6cfd5 More cleanups + remove now unusued WebHistoryInterface 2015-02-08 11:51:19 +01:00
David Rosca
226c721d57 BrowserWindow: Remove static WEBKITVERSION 2015-02-08 11:45:15 +01:00
David Rosca
f366dbd11f Encoding: Make character encoding menu working again 2015-02-08 11:42:01 +01:00
David Rosca
8c068b1f87 Preferences: Fix font settings 2015-02-08 11:38:38 +01:00
David Rosca
e4852e7d88 MainApp: Fix loading fonts settings 2015-02-08 11:32:00 +01:00
David Rosca
b94135ead5 WebView: Implement icon loading 2015-02-08 11:13:12 +01:00
David Rosca
41d9c418e9 lib: Enable C++11 2015-02-08 11:09:53 +01:00
David Rosca
f67348fac8 TabWidget: Don't try to load empty url when adding a tab
Fixes showing titles of other tabs when restoring session
2015-02-08 10:10:36 +01:00
David Rosca
72438755a2 AboutDialog: Show QtWebEngine version
For now, it will only show version of Qt
2015-02-08 09:55:11 +01:00
David Rosca
81639ea923 Port settings to use QWebEngineSettings 2015-01-27 12:15:00 +01:00
David Rosca
60b2386a6e Initial port to QtWebEngine
This is first quick port to QtWebEngine, most of advanced features
are not working yet. Please read README.

For now, it will use separate profile directory as well as browser
session, that means you can use both QtWebEngine and QtWebKit versions
at the same time.
2015-01-27 11:01:52 +01:00
David Rosca
ee80b04a11 Import TabManager plugin from qupzilla-plugins 2015-01-21 13:00:51 +01:00
David Rosca
2a9288209c Import FlashCookieManager plugin from qupzilla-plugins 2015-01-21 12:58:45 +01:00
David Rosca
04d4555b47 Don't duplicate convertUrlToText function in WebView 2015-01-21 12:38:12 +01:00
David Rosca
b75e8a8451 Actually, this is much better solution to previous commit. 2015-01-21 12:32:41 +01:00
David Rosca
7384ed2685 Fix searching for strings with non-ascii characters from locationbar
Closes #1587
2015-01-21 12:21:54 +01:00
David Rosca
744a1d15be Merge pull request #1577 from gzsombor/master
Add 'Block domain' button to the cookie manager
2015-01-20 23:45:14 +01:00
David Rosca
841c956262 Merge pull request #1572 from pejakm/prof_fix
Correct profile path. Fixes #1570
2015-01-20 23:44:29 +01:00
Zsombor Gegesy
e81cbb167a Add 'Remove and block domain' button to the cookie manager 2015-01-20 11:00:16 +01:00
David Rosca
80dd3a8f85 Revert "Add option to completely disable SSLv3"
This reverts commit a640948c3b.

QSsl::SecureProtocols is default value and it already
disables SSLv3 in Qt 5

Closes #1579
2015-01-12 21:11:12 +01:00
David Rosca
26ca447d91 Revert "Use TLS 1.2 with Qt 5 when disabling SSLv3"
This reverts commit 0ccc759e1f.
2015-01-12 21:11:03 +01:00
David Rosca
509a79d987 New year 2015 2015-01-01 12:08:46 +01:00
David Rosca
42ebb227c6 BookmarksModel: Use internalPointer when passing mimedata
internalPointer() is the same as internalId(), which means
that it actually is not safe to use them.
But for now, this at least fixes crashes on FreeBSD and works
quite well in most cases.

Closes #1565
2014-12-31 10:19:14 +01:00
Mladen Pejaković
fbc7c73616 Update fix 2014-12-30 14:51:36 +01:00
David Rosca
dc5dafbe9a Fix build with Qt 4 2014-12-30 14:43:37 +01:00
David Rosca
952196b2e9 BookmarksModel: Correctly store QModelIndex::internalId in data stream
See #1565
2014-12-30 14:25:02 +01:00
David Rosca
d864a14fa6 Merge pull request #1563 from oshi-shinobu/master
Added CTRL+L shortcut to clear download list
2014-12-30 13:25:11 +01:00
Nobody Really
af541a787e Added CTRL+l shortcut to clear download list 2014-12-30 12:46:12 +01:00
David Rosca
01b0491c5b Merge pull request #1569 from srazi/FTP-handle-text-html
FTP: Don't prompt to download text files,
2014-12-30 11:04:52 +01:00
S. Razi Alavizadeh
9591754027 WebPage: Download unsupported content from FTP protocol. 2014-12-29 21:59:08 +03:30
Mladen Pejaković
b86081cb66 Correct profile path. Fixes #1570 2014-12-29 18:28:14 +01:00
David Rosca
c1901cd81d Don't try to load translations for C locale 2014-12-27 12:32:16 +01:00
S. Razi Alavizadeh
3511e0401b RTL, dir list page: Fixed position of dir-up button in RTL layout..
- CLoses #1568
2014-12-25 22:07:50 +03:30
S. Razi Alavizadeh
ce38c2d4fe FTP: Don't prompt to download text files,
- Also update coding style and clean up.
- Closes #1559
2014-12-25 21:51:28 +03:30
S. Razi Alavizadeh
37ce38bbf8 TabBarHelper: Fix a rare bug and compute pressed index, correctly. 2014-12-25 15:16:31 +03:30
S. Razi Alavizadeh
393009f4d1 Show navigation bar when calling openLocation() in full screen mode.
- Closes #1464
2014-12-25 00:10:30 +03:30
S. Razi Alavizadeh
94afd29d67 Windows,Qt5: Fixed compile issue.
- It fixes: error: C2308: concatenating mismatched strings Concatenating wide
- See: http://blog.qt.digia.com/blog/2014/06/13/qt-weekly-13-qstringliteral/
2014-12-24 23:38:38 +03:30
David Rosca
0ccc759e1f Use TLS 1.2 with Qt 5 when disabling SSLv3 2014-12-24 15:08:30 +01:00
Nobody Really
240cecb230 Allow closing Download Manager and Browsing Library with CTRL+w 2014-12-21 15:10:29 +01:00
David Rosca
5cf4d0d6e0 AdBlock: Use display:block when hiding blocked iframes
visibility:hidden leaves empty space in page
2014-12-17 13:27:53 +01:00
David Rosca
a750858ed7 AdBlock: Fix hiding iframes that have completely blocked contents
Closes #1552
2014-12-17 09:51:24 +01:00
S. Razi Alavizadeh
d28154c3d2 ProxyStyle: Set tabbar alignment to left
Closes #1547
2014-12-16 15:18:57 +01:00
David Rosca
478cfa660d Merge pull request #1549 from srazi/fix_1539
Assume "about:blank" as an empty URL.
2014-12-16 14:35:46 +01:00
David Rosca
5d99f53fb8 WebView: Fix zoom shortcuts with +/-/0 on numeric block 2014-12-13 19:29:45 +01:00
David Rosca
fba9900775 Fix debug output with Qt 5.4
Qt 5.4 outputs a malformed "QSslSocket: cannot resolve SSLv2_client_method ("
message on first SSL connection and it breaks all terminal output.
2014-12-13 19:28:27 +01:00
S. Razi Alavizadeh
ab368f647f Assume "about:blank" as an empty URL.
- Closes #1539
2014-12-13 03:37:41 +03:30
S. Razi Alavizadeh
8a7af28165 MainApplication: The getWindow() try to return the current active or last activated window 2014-12-02 22:05:17 +03:30
S. Razi Alavizadeh
598ad6f13c TabStackedWidget: Emit signal on change of pin state. 2014-12-02 10:04:03 +03:30
S. Razi Alavizadeh
9301a5a2a8 CookieManager: Don't add same server to different filters,
- Also don't allow duplicate entries in filters.
2014-12-01 20:17:07 +03:30
David Rosca
e60df0c9f4 MouseGestures: Fix warning about duplicated label names in settings dialog 2014-11-29 13:07:51 +01:00
David Rosca
b4fc38d5ef Silence one cppcheck warning 2014-11-29 11:12:41 +01:00
David Rosca
7ff53e645a Merge pull request #1531 from EionRobb/patch-1
Add duplicate tab (Down->Up) mouse gesture
2014-11-24 14:58:32 +01:00
Eion Robb
f5606e9326 Fix for compiling Windows version with mingw 2014-11-24 09:28:12 +13:00
David Rosca
a640948c3b Add option to completely disable SSLv3
Enabled by default.

See #1493
2014-11-21 19:39:35 +01:00
Eion Robb
154b43a644 [MouseGestures] Add the info to the UI about Down+Up gesture 2014-11-21 13:04:04 +13:00
Eion Robb
65a803b9cc [MouseGestures] Down+Up tab duplicate gesture needs to know what tab to duplicate 2014-11-21 12:47:40 +13:00
Eion Robb
3fe5a699ff Add down+up gesture to mousegestures header 2014-11-20 13:34:04 +13:00
Eion Robb
00812af136 Add duplicate tab (Down->Up) mouse gesture 2014-11-20 13:32:31 +13:00
David Rosca
b1c12998c7 LocationBar: Fix Del key removing all right part of the url 2014-11-18 12:45:37 +01:00
David Rosca
3b38d25277 Drop SSLV3Sites workaround
It is no longer needed, but moreover it is now also not wanted
due to recent SSLv3 security issues.
2014-11-16 22:44:06 +01:00
David Rosca
d0aafd78c0 SpellCheck: Fix loading dictionaries after user saves the spellcheck dialog 2014-11-15 11:54:33 +01:00
David Rosca
1e3556696c Qt5: Enable HighDPI pixmaps 2014-11-14 09:28:42 +01:00
David Rosca
24ff9285f5 Use desktop availableGeometry for default window size calculation 2014-11-10 12:15:23 +01:00
David Rosca
63b7e41713 Save geometry of Preferences window
Closes #1514
2014-11-10 12:05:49 +01:00
David Rosca
03c875b229 Set default window size to be desktop size / 1.3 2014-11-10 11:50:53 +01:00
David Rosca
4320eb202f Fixed "Open blank tab" on new tab option on OS/2 2014-11-08 11:54:46 +01:00
David Rosca
addd5d1f43 OpenSearchEngine: Use Json class instead QScriptEngine to parse suggestions 2014-11-08 11:15:22 +01:00
David Rosca
476bd93f55 Mac: Open new window when clicking on Dock icon
Closes #1517
2014-11-08 10:21:01 +01:00
David Rosca
478b5ddb84 Use open() instead of exec() in all dialogs
Avoid blocking exec().

Closes #1515
2014-11-07 18:08:12 +01:00
David Rosca
05c1fec5c6 Preferences: Prevent opening more than one window 2014-11-07 17:16:22 +01:00
Jonathan Hooverman
fbcb3022ee ChinaList is deprecated and has been replaced by Easylist China
Fixes #1516
2014-11-05 12:53:34 +01:00
David Rosca
f698c0a78f LineEdit: Fix slow text selection with mouse
Regression from 2c0582b9a1
2014-11-05 09:51:13 +01:00
David Rosca
b81c45486f Fix build on Mac with Qt4
QKeySequence::FullScreen was only added in Qt5

Closes #1513
2014-11-04 10:29:04 +01:00
David Rosca
2ed002cb2a Fix build with Qt 4.7 2014-11-03 15:45:11 +01:00
David Rosca
1ff1969941 Mac: Fix Preferences... action in application menu
Make sure the Configuration Information action won't be
detected as "Preferences..." action.

Also use native shortcut for fullscreen (Ctrl+Meta+F)

Closes #1332
2014-11-01 23:19:52 +01:00
David Rosca
3a9f2f9e78 Settings: Allow nesting instances without breaking groups
Closes #1511
2014-11-01 17:50:26 +01:00
David Rosca
9359977d8b Cleanup displayed build configuration flags in qupzilla:config
Removed KDE Integration and WebGL. Both flags don't have much use now.
KDE Integration only enables KWallet plugin building (and only when
KWallet-dev is available).
WebGL is now enabled by default by any recent QtWebKit versions.

Also show Win7API flag only on Windows.
2014-11-01 10:14:04 +01:00
David Rosca
5779b6b835 Adjust default font sizes 2014-11-01 10:01:29 +01:00
David Rosca
ebb2544142 Remove live.com from list to force SSLv3 2014-10-31 16:00:08 +01:00
David Rosca
a0dd1ddcb7 AdBlock: Use one cache for all subscriptions
Added new class AdBlockMatcher that holds the cache of
all subscriptions with rules.
This moves the matching logic from AdBlockSubscription into
separate class.
It also fixes issue that CSS exception rules weren't able to
affect rules from different subscription.
2014-10-31 15:39:02 +01:00
David Rosca
613d18ed16 Remove hdi.de from list to force SSLv3 2014-10-28 13:04:00 +01:00
David Rosca
a70a03272f Building: Use system QtFtp module when available with Qt5
See #1503
2014-10-28 12:43:50 +01:00
David Rosca
3962c63927 Plugins: Don't exclude allowed plugins from available plugins list
This fixes issue that the allowed plugin (enabled by user) would
disappear from the all plugins list (in preferences) after failing
to load on startup.
2014-10-26 17:10:24 +01:00
David Rosca
d29861fdff Windows: Fix crash when unloading AutoScroll plugin 2014-10-19 20:25:54 +02:00
David Rosca
55b9f2c515 Fix building with Qt 4.7 on Linux 2014-10-18 17:05:29 +02:00
David Rosca
2c0582b9a1 LineEdit: Cleanup text edit actions code 2014-10-18 16:33:37 +02:00
David Rosca
ada212bc59 LineEdit: Fix text edit shortcuts not working on non-latin keyboard layout
This fixes Ctrl+C/V/X/A shortcuts in LocationBar and WebSearchBar

Followup to #1494
2014-10-18 16:33:21 +02:00
David Rosca
f6b679585e WebView: Fix text edit shortcuts not working on non-latin keyboard layout
Closes #1494
2014-10-17 18:37:18 +02:00
David Rosca
bcc9f3f431 Portable: Fix auto-loading saved plugins on startup 2014-10-16 12:24:48 +02:00
David Rosca
15bb39689c Remove History::optimizeHistory() function
It is no longer needed, this function was little confusing
as it actually only executed VACUUM.
Instead, execute VACUUM after clearing all history in
History::clearHistory()
2014-10-15 22:50:19 +02:00
David Rosca
1a54cda705 ClearPrivateData: Delete old favicons in Optimize DB option
This should help anyone having issues with slow loading of bookmarks
or searching in locationbar.
2014-10-14 17:49:04 +02:00
David Rosca
e5065185fd AdBlock: Add DuckDuckGo ad whitelist rules to custom list
Those rules cannot be deleted, but can be disabled.
Please consider not disabling those rules. Thanks!
2014-10-14 17:05:14 +02:00
David Rosca
26f466ed0d AdBlock: Don't block user triggered network requests
Disable AdBlock when user tries to load the url from locationbar,
clicking on link, opening new tab, ...
Only block web content not explicitly requested by user - images,
scripts, redirects, ...
2014-10-13 17:02:18 +02:00
David Rosca
a61e3ff0ad AdBlockTree: Fixed coloring CSS exception rules
CSS exception rules are now green (as exceptions) instead of
blue (as CSS rules)
2014-10-13 17:02:12 +02:00
David Rosca
ce528cfe66 CookieManager: Fix the title for "Filter 3rd Party Cookies" option
It actually should be "Allow 3rd Party Cookies". Also change
the default value to 0 = Allways allow 3rd party cookies.
2014-10-12 15:16:22 +02:00
David Rosca
160190dfb3 master branch is now 1.9.0 development version 2014-10-11 13:11:49 +02:00
David Rosca
5404985dba Do not force keyboard text navigation in editable elements
Keyboard text navigation is handled automatically by QtWebKit
in editable elements.
This fixes issue in some custom html code editors.

Closes #1489
2014-10-11 11:42:07 +02:00
David Rosca
ee3322c64a Fix crash when passing messages to running instance from commandline 2014-10-10 13:40:31 +02:00
David Rosca
30146476d6 Use bigger default font sizes 2014-10-08 22:12:22 +02:00
David Rosca
b6f913dafe HistoryMenu: Don't crash in aboutToShow() when m_window is null
Closes #1487
2014-10-07 16:19:30 +02:00
David Rosca
21fb7bff31 Preferences: Don't crash when opening with null BrowserWindow
Closes #1488
2014-10-07 16:15:23 +02:00
David Rosca
dac236d70b Mac: Add version info to Info.plist
Closes #1486
2014-10-07 11:10:36 +02:00
David Rosca
6390eb215b Mac: Fix crash on startup due to invalid m_mainMenu pointer
Closes #1485
2014-10-07 11:10:31 +02:00
David Rosca
aac873bbb6 Show error message when QSQLITE plugin is not available 2014-10-05 16:13:00 +02:00
David Rosca
6d06975ccb DataPaths: Coding style fixes 2014-10-03 09:21:40 +02:00
David Rosca
021b90f7b3 CookieManager: Switch to QDialog
This fixes issue when Cookie Manager may have been opened
under current window (eg. in Preferences)
2014-10-03 09:19:39 +02:00
S. Razi Alavizadeh
768e3ac143 Correct fix for #1479 and finally fix compile issue from two recent commits.
- Closes #1482
2014-10-03 04:04:59 +03:30
S. Razi Alavizadeh
a21d803b94 Fix compile issue after last commit. 2014-10-03 03:54:37 +03:30
S. Razi Alavizadeh
04721c6478 Make sure the Config and Temp pathes exist.
- Closes #1479
2014-10-03 00:34:09 +03:30
David Rosca
2efc6914e5 Revert "[DNT] Enable sending DoNotTrack header by default"
This reverts commit 12948cd0a4.
2014-10-02 19:58:46 +02:00
David Rosca
8506a2cce0 Added Ferhat AYDIN to translators 2014-10-01 20:41:19 +02:00
David Rosca
6cb8717fd6 Fix Internet Explorer Bookmarks Importer
It is now possible to select the whole Favorites folder
and it will now also import all subfolder structure.

Closes #1475
2014-09-30 21:08:54 +02:00
David Rosca
52f3811916 SpeedDial: Save using AutoSaver
Prevents losing dials in case of crash.
2014-09-29 18:23:42 +02:00
David Rosca
dc29f6bde5 QzTools: Add function to obtain url of QWebFrame
QWebFrame::url() may be empty, and in that case QWebFrame::baseUrl()
should be used

The issue with empty frame url caused AutoFill to not complete
such frames.

Closes #1465
2014-09-29 16:14:49 +02:00
David Rosca
fdd38e81a0 Fix build on Mac 2014-09-28 11:58:26 +02:00
Dmitry Marakasov
9fcf8e677f Fix platform check
Include <QtGlobal> which defines Q_OS_* before the check, otherwise it may (and does on FreeBSD) work incorrectly
2014-09-26 23:18:56 +04:00
David Rosca
eec67d1941 Fix building with Qt 4.7 2014-09-26 19:28:24 +02:00
David Rosca
cf044356fa Version 1.8.0 2014-09-26 10:35:35 +02:00
David Rosca
35b2fb22b4 Remove unnecessary qDebugs 2014-09-26 09:53:45 +02:00
David Rosca
2730fd4b4a AutoFill: Fix completing forms after recent change
Fix regression from 3360a531f1
2014-09-25 21:03:55 +02:00
David Rosca
61bc7f4543 BookmarksIcon: Don't disable clicking on icon on qupzilla: pages 2014-09-25 18:47:32 +02:00
David Rosca
016b2f118c Pulled translations from Transifex
[ci-skip]
2014-09-25 18:15:14 +02:00
David Rosca
b4f9a354d7 Plugins: Load plugins before creating first window 2014-09-25 17:51:38 +02:00
David Rosca
01b4fd971f MainMenu: Fix shortcuts for toggling sidebars 2014-09-25 17:36:51 +02:00
David Rosca
c0c435e197 Build: Fix setting QUPZILLA_VERSION define on non-unix platforms
[ci-skip]
2014-09-25 15:19:22 +02:00
David Rosca
68087d5a3f QzCommon: Export all static strings (appname, buildtime, ..) 2014-09-25 15:00:56 +02:00
David Rosca
04a977dfea Haiku: Remove setting QUPZILLA_PREFIX in defines.pri
It actually didn't work the way it was set
2014-09-25 14:57:36 +02:00
David Rosca
56dcdfe4a2 Mac: SuperMenu button is now available on Mac 2014-09-25 14:42:36 +02:00
David Rosca
e83d75f251 Mac: Re-enable system-wide menu menu bar 2014-09-25 14:27:25 +02:00
David Rosca
13b1614e11 Use std::sort instead of obsolete qSort 2014-09-25 14:13:26 +02:00
David Rosca
767e01fd22 Mac: Re-enable dock menu with New Tab, New Window and New Private Window actions 2014-09-25 14:09:26 +02:00
David Rosca
c607a2f717 FileMenu: Fix showing state of Work offline action 2014-09-25 14:05:54 +02:00
David Rosca
bbc6c72608 KWalletPasswords: Fix build with Qt4 2014-09-23 23:03:54 +02:00
David Rosca
3360a531f1 AutoFill: Rewrite AutoFill to complete each frame separately
Fixes crash from #1417
2014-09-19 13:16:02 +02:00
David Rosca
40e476e626 Coding style
[ci-skip]
2014-09-18 16:16:02 +02:00
David Rosca
545e0cd6b9 OperaImporter: Also import bookmark description and keyword 2014-09-18 16:10:50 +02:00
David Rosca
ef01247a80 OperaImporter: Set bookmark file filter to *.adr 2014-09-18 16:03:06 +02:00
David Rosca
c45b301844 LineEdit: Fix enabling Select All action
This fixes Select All action in LocationBar and WebSearchBar
2014-09-17 17:58:14 +02:00
David Rosca
8c8789a05f BrowserWindow: Always set "private" property to browser window
Set this property also when private mode is disabled
2014-09-17 16:19:27 +02:00
David Rosca
b8c5f6f75d BookmarksManager: Move cursor at the start in bookmark edit inputs
Title, Address, Keyword and Description inputs will now always
show the text from the start
2014-09-17 13:15:09 +02:00
David Rosca
2b51e2d5ca KWalletPasswords: Add support for KF5 KWallet 2014-09-17 10:01:03 +02:00
David Rosca
795bb04acc GreaseMonkey: Fix scripts sometimes not running in frames
Check for document.readyState and if it is "complete", run
the script immediately instead of adding event listener for
DOMContentLoaded that already fired
2014-09-17 09:14:04 +02:00
David Rosca
cf43bc3269 GreaseMonkey: Add GM_setClipboard function available to scripts
Also update GM_openInTab to return created window object
2014-09-16 20:30:04 +02:00
David Rosca
357c5baec3 PageScreen: Fixed out-of-sync format combobox and filename input on Qt5
See #1454
2014-09-16 20:09:13 +02:00
David Rosca
e3a8e9edc9 PageScreen: Use Save dialog instead of Open dialog
[ci-skip]

Closes #1454
2014-09-16 18:05:00 +02:00
David Rosca
f86d1b8f2d GreaseMonkey: Run scripts on DOMContentLoaded event capture
Fixes second part of  #1457 (not working on settings, identities, ..
pages)
2014-09-16 17:18:13 +02:00
David Rosca
171267cfb0 GreaseMonkey: Correctly run scripts in frames
Closes #1457
2014-09-16 16:58:36 +02:00
David Rosca
0eef26f843 GreaseMonkey: Use openuserjs.org instead of dead userscripts.org 2014-09-16 15:56:55 +02:00
David Rosca
464f05962e Plugins: Use settings path without trailing slash 2014-09-16 15:20:09 +02:00
David Rosca
6ae0109115 AdBlockRule: Add copy() method
Faster method to copy rule than parse again the filter.
2014-09-16 10:38:28 +02:00
David Rosca
e8cddd16ea AdBlock: Add support for exception css rules
Closes #1446
2014-09-16 09:39:25 +02:00
David Rosca
ed866dc9a4 AdBlock: Add support for parsing CSS Element hiding exceptions
Those rules are however not supported at the moment.
2014-09-16 00:37:13 +02:00
David Rosca
6dcf8c598a AdBlock: Reload global user stylesheet after disabling/enabling AdBlock
It was needed to restart the browser to completely disable / enable
AdBlock.
2014-09-15 23:43:47 +02:00
David Rosca
8b3da86976 Unix: Use /tmp/qupzilla-$USER as temp path
It makes it possible to run QupZilla on more accounts at the same time
2014-08-31 12:52:01 +02:00
Niclas Rosenvik
ff57641c0b fix linking on qmake installations that use compile_libtool. 2014-08-17 17:08:06 +02:00
David Rosca
de4f7115f8 Merge pull request #1431 from kdave/preferences-ctrl-q
[Preferences] add option to set Ctrl-Q behaviour (Quit or nothing)
2014-07-23 21:36:48 +02:00
Oleg Shparber
272c0c7807 Refactor encoding menu creation
* Use of codec MIBs instead of names significantly decreases
  number of iterations
* Remove duplicated codecs
* Fix memory leaks which were caused by wrong parenting and
  empty menus
* Do not add separator if menu is empty
2014-07-22 01:02:08 -07:00
David Sterba
ed9625ab5e [Preferences] add option to set Ctrl-Q behaviour (Quit or nothing)
Motivated by #695 which targets broader task, Ctrl-Q behaviour is one
that stands out. Accidentally pressing it instead of Ctrl-W can have
disasterous consequences or is annoying. Other browsers provide either
generic keyboard shortcuts configuration (Opera) or an extension/plugin
to disable the behaviour (FF).

For the record of the usability demand:
https://code.google.com/p/chromium/issues/detail?id=59621
https://bugzilla.mozilla.org/show_bug.cgi?id=550559
2014-07-17 23:05:38 +02:00
David Rosca
04880e9a9e Pulled translations from Transifex 2014-07-15 10:16:30 +02:00
David Rosca
c18b656585 [CertManager] Added option to disable weak ciphers
Closes #1428
Closes #1278
2014-07-13 19:43:18 +02:00
David Rosca
7e7bdf61df Merge pull request #1415 from siduction-upstream/master
move the conditional settings up
2014-07-09 11:21:23 +02:00
David Rosca
a588d209a0 [PasswordManager] Save host also with port
Makes it possible to save different passwords for page.com and page.com:23

Closes #1416
2014-07-08 19:28:20 +02:00
David Rosca
9ed63f6323 [CloseDialog] Change text - there will always be more than 1 tab opened 2014-07-08 19:27:17 +02:00
David Rosca
857b020e85 [Preferences] Add button to open Search Engines Manager
Closes #1205
2014-07-08 19:17:42 +02:00
David Rosca
c4e0646915 [AdBlock] Add "Other..." entry in AddSubscription dialog
To make it less confusing how to add a subscription that is not
listed in known subscriptions.
2014-07-08 19:08:28 +02:00
Mladen Pejaković
5b6db60605 Clear Recent History dialog improvements
Closes #1326
2014-07-08 19:01:07 +02:00
David Rosca
6d66c5a470 [Fonts] Use own default font sizes 2014-07-08 18:38:02 +02:00
Mladen Pejaković
8f691905f0 [SpeedDial] Reload all dials menu action. Closes #1209 2014-07-08 18:29:52 +02:00
Mladen Pejaković
1a8ca567f9 [SpeedDial] Properly align 2014-07-08 18:27:18 +02:00
Mladen Pejaković
0f8bbe4777 [SpeedDial] Remove the padding (make it look like Opera's SD) 2014-07-08 18:26:56 +02:00
Mladen Pejaković
d5c7108f78 [SpeedDial] Cleanup 2014-07-08 18:26:43 +02:00
Mladen Pejaković
bc028e8a83 [Speed Dial] Enhancements 2014-07-08 18:26:25 +02:00
Mladen Pejaković
0d31785a4f [QupZilla pages] Darker background; Respect user's preference for font face and size 2014-07-08 18:26:09 +02:00
David Rosca
0334526a18 [StatusBarMessage] Close on mouse move/press
Closes #1393
2014-07-08 18:20:02 +02:00
Alf Gaida
ff0e5b8b2c /usr/lib vs /usr/lib/$arch-linux-gnu
* don't recommend qtchooser
* in case that /usr/lib/$arch-linux-gnu don't exists use /usr/lib
2014-07-07 23:20:39 +02:00
Alf Gaida
ca4acc48bf Fix and simplify library folder for unix
Using QMAKE_HOST.arch is not the best of all possibilities to do so:
<pre>
cd src/plugins/ && ( test -e Makefile || /usr/lib/i386-linux-gnu/qt5/bin/qmake /tmp/buildd/qupzilla-1.6.6.siduction.8/src/plugins/plugins.pro -nocache QMAKE_CFLAGS_RELEASE=-g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -Wformat\ -Werror=format-security\ -D_FORTIFY_SOURCE=2 QMAKE_CFLAGS_DEBUG=-g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -Wformat\ -Werror=format-security\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_RELEASE=-g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -Wformat\ -Werror=format-security\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_DEBUG=-g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -Wformat\ -Werror=format-security\ -D_FORTIFY_SOURCE=2 QMAKE_LFLAGS_RELEASE=-Wl,-z,relro QMAKE_LFLAGS_DEBUG=-Wl,-z,relro QMAKE_STRIP=: PREFIX=/usr -o Makefile ) && make -f Makefile
Project MESSAGE: QMAKE_HOST.arch: x86_64
Project MESSAGE: QT_ARCH: i386
Project MESSAGE: QUPZILLA_PREFIX:
Project MESSAGE: library folder /usr/lib/i386-linux-gnu
</pre>
(Build in a i386-build-chroot on a amd64 host)
2014-07-07 01:11:33 +02:00
Alf Gaida
7c7226b3f6 move the conditional settings up
make a comment about switching the Qt versions
remove commented out define for portable builds, there is a enviromental setting for it
remove the conditional define for w7api, its hard set anyway
2014-07-06 19:29:15 +02:00
Alf Gaida
efaf8a948f Trigger debug builds via environment 2014-07-06 13:28:43 +02:00
David Rosca
1d8c3460c9 [Preferences] Use better tooltip for single key shortcuts
Changed "search/find" -> "search on page"
2014-07-04 13:50:05 +02:00
David Rosca
eee3895f69 Only link qupzilla binary to execinfo as it is used in main.cpp
See #1408
2014-07-02 11:27:55 +02:00
Augustin Cavalier
c73bd1fac5 Set -lexecinfo in main.pro...
...because it's used in main.cpp and setting it in libs.pro is not enough.
2014-07-01 14:36:36 -04:00
Augustin Cavalier
e7181f1369 [Haiku] Link to -lexecinfo. 2014-07-01 14:20:06 -04:00
Augustin Cavalier
29dccc0c98 [Haiku] Enable backtrace generation. 2014-07-01 10:40:02 -04:00
Augustin Cavalier
96f3e4873e [Haiku] Doesn't support readdir's d_type flag...
...which is a Linux thing and not part of the POSIX standard. Haiku may support it eventually, but as of today it does not.
2014-06-30 12:44:10 -04:00
Augustin Cavalier
45804d0c26 [Haiku] Build system tweaks for Haiku.
Patch by Arfonzo.
2014-06-30 12:43:38 -04:00
David Rosca
f55dcdf63c [LocationCompleter] Force updates of inline domain completer
Model for inline domain completion is updated asynchronously, so it is
needed to force the update of completer.

This was last regression of completer after switch to threaded searching
in history/bookmarks.
2014-06-26 15:42:38 +02:00
David Rosca
5558d32d82 Merge pull request #1376 from srazi/loc-highlighter
New highlighter algorithm using QTextLayout that fixes rendering of RTL strings.
2014-06-17 14:56:51 +02:00
David Rosca
7cbc588cc1 [LocationCompleter] Sort results by last visit date
Closes #1390
2014-06-17 14:55:32 +02:00
David Rosca
ac52b742b2 Convert all source files in src/* to Unix file ending 2014-06-15 23:35:39 +02:00
David Rosca
def26ad391 [WebPage] Fix searching for non-ascii one line term from addressbar
The search term (in url) needs to be decoded from punycode.

Closes #1396
2014-06-15 23:33:04 +02:00
S. Razi Alavizadeh
b48cc71dd5 [Bookmarks] Limit width of bookmarks menu to 250px 2014-06-13 23:55:55 +04:30
S. Razi Alavizadeh
5bd24400e1 [LocationCompleter] Cancel unneeded refresh jobs 2014-06-13 23:55:49 +04:30
S. Razi Alavizadeh
a32e809bf6 Escape SQLite wildcards when using LIKE clause 2014-06-13 23:52:44 +04:30
David Rosca
9502810404 [UrlLoading] Make sure to correctly load one-word hosts without dot
One-word hosts without the dot may be valid url. So let's try to load
it first before using a websearch.

Closes #1317
2014-06-06 23:29:49 +02:00
S. Razi Alavizadeh
5a183a1a8d [LocationCompleter] Correctly elide text also fixed compile on Qt5. 2014-06-06 07:00:30 +04:30
David Rosca
72ab5de448 [Code] Small code cleanups
Mostly to silence a warnings from cppcheck

[ci-skip]
2014-06-05 20:33:16 +02:00
David Rosca
325072881d [HistoryMenu] Show recently visited sites in top-level menu
Closes #1355
2014-06-05 19:58:32 +02:00
David Rosca
dc1b5931ea [WebView] Don't clear selection when right clicking on selected link
This removes a workaround for a very old QtWebKit (<= 2.0) that actually
caused unwanted behavior with newer QtWebKit versions.

Closes #1377

[ci-skip]
2014-06-05 16:01:58 +02:00
S. Razi Alavizadeh
0af8f45a5f [MouseGestures] Honor to user settings for 'New Tab' url,
- Closes #1380
2014-06-02 00:28:41 +04:30
David Rosca
59b893075a [LocationCompleter] Fix showing icons after last commit 2014-05-30 22:06:58 +02:00
S. Razi Alavizadeh
666ecc4d01 [LocationCompleter] Don't leak when query icons,
- it seems it's a fix for #1299
2014-05-30 07:58:51 +04:30
S. Razi Alavizadeh
877266b418 [LocationCompleter] New highlighter algorithm using QTextLayout that fixes rendering of RTL strings. 2014-05-29 23:35:28 +04:30
David Rosca
7a1f4c77cd Added hack to fix QT_STYLE_OVERRIDE with QProxyStyle
Forcing a widget style with QT_STYLE_OVERRIDE env variable does
not work when the app is using a QProxyStyle.
Manually appending the -style=$QT_STYLE_OVERRIDE to command line
arguments workarounds the issue.

Closes #1357
2014-05-28 23:02:28 +02:00
S. Razi Alavizadeh
7fc0c8d06d [RTL] Force AdBlockTreeWidget and treeTags to be as LTR widgets. 2014-05-29 01:08:56 +04:30
S. Razi Alavizadeh
4ea5974914 [Windows] Fixed some issue with the blur background effect,
- Also moved all of codes related to blur effect of tabbar to ComboTabBar.
2014-05-29 01:08:42 +04:30
Mladen Pejaković
93d1b10901 Add appdata file. Closes #1368 2014-05-26 21:55:37 +02:00
Mladen
64bf91f2fc Merge pull request #1367 from psyvisions/patch-1
[StatusBarIcons] Fix switched proxy manager password forms.
2014-05-26 20:07:27 +02:00
S. Razi Alavizadeh
8bee3d937d Improvement in asking of master-password.
- Closes #1356
2014-05-26 00:24:43 +04:30
psyvisions
cb2a9ac206 Fix switched password forms
Password form for Manual Proxy was showing/saving the HTTPS password, and vice-versa.
2014-05-23 16:42:58 +01:00
David Rosca
75b532a4a1 [Build] Try to use only "lrelease" binary from PATH with Qt5
If the lrelease binary is not in QT_INSTALL_BINS/lrelease, try to use
just lrelease from PATH with Qt5, instead of incorrectly trying to use
lrelease-qt4
2014-05-23 11:40:12 +02:00
Mladen Pejaković
0fc6a30933 Implement offline mode. Closes #1241 2014-05-20 18:35:49 +02:00
Mladen Pejaković
ce7ea04f4a Language strings fixes. Closes #1318 #1329 #1337 2014-05-14 18:29:20 +02:00
David Rosca
f83521ebb4 [AutoScroll] Fix scroll indicator position on Windows
For some reason, m_indicator->width() returns bigger value after
the first show/hide of indicator.
2014-05-12 12:31:25 +02:00
David Rosca
690d67ade8 Merge pull request #1333 from pejakm/fixgtr
[Webview] Use https for Google Translate. Closes #1331
2014-05-11 20:29:58 +02:00
David Rosca
39430458b3 [WebInspector] Add F12 shortcuto to show Web Inspector 2014-05-11 14:25:57 +02:00
Mladen Pejaković
6eeebd1866 [Webview] Use https for Google Translate. Closes #1331 2014-05-09 18:25:17 +02:00
Mladen Pejaković
9b44f384a2 [Cookies] More options for 3rd party cookies 2014-05-06 20:55:29 +02:00
David Rosca
e7646f1fbe Pulled translations from Transifex 2014-05-04 21:02:20 +02:00
David Rosca
6bf9ae104f Updated translation strings
[ci skip]
2014-05-04 20:56:01 +02:00
David Rosca
d534062cdd [Windows] Load font.tff (if exists) and set it as default font
This is needed for N'ko translation as default Windows fonts
doesn't contain glyphs for N'ko language.

Closes #1223
2014-05-04 20:21:41 +02:00
David Rosca
7fab76b79b [Build] Fixed build after last commit 2014-05-03 16:32:29 +02:00
David Rosca
9a3382ee85 [SideBars] Don't override cursor on scrollbars in History/Bookmarks sidebars 2014-05-03 15:23:07 +02:00
David Rosca
ad5dbe459c [HistoryTreeView] Rewrite HistoryView to use same logic as BookmarksTreeView
It also fixes issue that middle click on item opened the url in both
current and new tab
2014-05-03 15:08:47 +02:00
David Rosca
0b6478d110 [ComboTabBar] Use initStyleOption workaround only for Bespin theme
It is needed only with Bespin.
With other themes, it actually makes it worse.
2014-05-03 11:40:14 +02:00
David Rosca
79a81a5f8a [Build] Link to execinfo also with OpenBSD
[ci skip]
2014-05-03 10:34:17 +02:00