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

3057 Commits

Author SHA1 Message Date
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
David Rosca
34feb19dab [Code] TabHelper: Rename m_pinnedTabBar to m_isPinnedTabBar
[ci skip]
2014-05-02 22:16:48 +02:00
David Rosca
78fbccae15 [ComboTabBar] Correctly set QStyleOptionTab::position for tabs
This fixes rendering of OnlyOneTab with Bespin theme.
2014-05-02 22:15:36 +02:00
David Rosca
90760eaa2b [ComboTabBar] Draw tabbar base even when main tabbar is empty 2014-05-02 21:39:08 +02:00
David Rosca
a30aac169a [ComboTabBar] Fixed pinned tabs being hidden when there are no normal tabs 2014-05-02 21:25:49 +02:00
David Rosca
e6f4853af7 [TabBar] Show add tab button at correct position when there are no normal tabs
Fix 2 for #1322
Closes #1322
2014-05-02 20:15:05 +02:00
David Rosca
964a76c04b [ComboTabBar] Correctly switch tabs when closing last tab in tabbar
Also remove custom logic for SelectPreviousTab on tab remove and use
only the QTabBar's selectionBehaviorOnRemove

Fix 1 for #1322
2014-05-02 20:02:33 +02:00
David Rosca
d1754094b8 [TabBar] Use contextMenuEvent instead of customContextMenu signals 2014-05-02 13:39:02 +02:00
David Rosca
5f8ac0b70a [GreaseMonkey] Fix coding style 2014-05-02 13:38:54 +02:00
David Rosca
7fc7558221 [ComboTabBar] Correctly returns tabAt over tab icon 2014-05-02 13:35:01 +02:00
David Rosca
e379b1b655 [MainApp] Open a new window when starting app while already running
Open a new browser window when attempting to start another instance.

See #1315
2014-05-01 14:08:06 +02:00
David Rosca
e007620da4 Merge pull request #1305 from char101/bug/fix-compile-error-1
Fix compile error with vc++ 2013
2014-04-29 08:23:00 +02:00
David Rosca
6ac5b913e0 [Translations] Removed sr@Ijekavian translations (with capital I)
[ci skip]
2014-04-26 16:21:31 +02:00
David Rosca
445747155f [GreaseMonkey] Fixed downloading scripts to correct directory 2014-04-26 13:21:39 +02:00
David Rosca
2bbde2a3a8 [Translations] Pulled translations from Transifex 2014-04-26 13:03:47 +02:00
David Rosca
dc48ddbf47 [DataPaths] Use classic array instead of QHash for storing paths 2014-04-26 12:35:14 +02:00
David Rosca
d29abb4e54 [Mac] Use ~/Library/Application Support/QupZilla as ConfigPath
+ little cleanup in variable naming (homePath -> oldConfPath)

See #1302
2014-04-26 12:23:06 +02:00
David Rosca
5b25b4bda6 [DataPaths] USE_LIBPATH is always defined on Unix
No need to add "/usr/lib/qupzilla" to the Plugins path if
USE_LIBPATH is not set, as "/usr/lib/qupzilla" won't exist on
non-Unix platform.

[ci skip]
2014-04-24 12:03:18 +02:00
David Rosca
19800b174b [Bookmarks] Use keyword as a shortcut for bookmark url in LocationBar
It is now possible to load bookmarks only with entering its keyword in
LocationBar and then pressing Enter (no need to select the bookmark
from popup completion).
2014-04-24 11:57:27 +02:00
David Rosca
6bdc6f90ce [ToolButton] Use QImage for multiIcon
Instead of 4 separate QPixmaps, use just one QImage and paint only
the current part (according to button state) of the image on button.
2014-04-24 11:05:41 +02:00
Charles
3175840126 Fix compile error with vc++ 2013
Qz::VERSION is not exported
2014-04-23 15:12:32 +07:00
David Rosca
0f79797be4 [Build] Correctly choose /usr/lib/i386-linux-gnu as LIBDIR on 32b Debian
QMAKE_HOST.arch is empty on x86
2014-04-23 08:40:28 +02:00
David Rosca
59ad2db607 [ToolButton] Call update() from setMultiIcon
Fixes issue with reload/stop button not being correctly updated
with themes that use multiIcon for this button.
2014-04-22 23:06:18 +02:00
duanemoody
a4d53499ff Add application category for OS X
Because /Applications is typically not subfoldered (updaters don't like it when it is) OS X has had a separate view option View --> Arrange By --> Application Category which simplifies viewing apps. Unfortunately if LSApplicationCategoryType is missing from the app's info.plist, the app will be sorted into "Other" at the bottom. public.app-category.productivity is the category for web browsers.
2014-04-20 16:01:33 -07:00
David Rosca
028db62be0 [ComboTabBar] Set objectName of base widget, so it can be styled
TabBar base is now correctly styled in all themes.
Updated the themes accordingly to this change.
2014-04-20 13:03:08 +02:00
David Rosca
0a8337758e [Themes] Fix loading linux.css and mac.css on Mac/Linux 2014-04-20 12:28:33 +02:00
David Rosca
668c8b024a [LocationBar] Fixed showin progress over text. Use opacity with QPainter
Not the best solution, but probably the easiest.
Closes #1261
2014-04-20 11:05:20 +02:00
David Rosca
2138978ab7 [LocationBar] Make sure text format is correct even when text doesn't change
refreshTextFormat() is using page's url to determine which part of
displayed text is host. Url of page may not change immediately when
starting loading.
This commit makes sure that text format is correct with every
WebView::urlChanged() signal.
2014-04-20 09:51:20 +02:00
David Rosca
d25847cfce [ToolButton] Added property "toolbar-look"
This property makes it possible for themes to customize look of
additional ToolButtons in Navigation Toolbar.
2014-04-20 09:32:35 +02:00
David Rosca
1fd3d84320 [ToolButton] Don't try to show menu when it is already visible 2014-04-19 18:50:44 +02:00
David Rosca
6797433e39 [ComboTabBar] Fixed tabAt() on scroll buttons 2014-04-19 18:47:44 +02:00
David Rosca
7568ee3e2d [TabWidget] Don't save qupzilla:restore page in closed tabs 2014-04-19 18:24:09 +02:00
David Rosca
20764b3c1e [Build] Fixes building with Qt5 2014-04-19 15:30:14 +02:00
David Rosca
f21be271b2 [ReloadStopButton] It is now only one button
Instead of hiding and showing two buttons (reload and stop), use
only one ToolButton and change the object name accordingly.
2014-04-19 14:40:54 +02:00
David Rosca
5782de0387 [ToolButton] New function to set look of button as it was in toolbar
Currently, it only sets the correct icon size
2014-04-19 13:46:23 +02:00
David Rosca
b3a9b99ac7 [ToolButton] Manually handle showing menu
ToolButtons now don't have menu indicators.
This fixes issue with Back/Forward buttons in Navigation Toolbar
being more wide than other buttons.
2014-04-19 13:12:04 +02:00
David Rosca
717585c6d6 [ToolButton] Cleanup code + removed unused properties 2014-04-19 12:06:48 +02:00
David Rosca
8283a5a42e [Styles] Don't mention to use [style=QtStyle] selectors in comment
It is not available in current Qt releases

QzSchemeHandler+AboutDialog: Fixed coding style
2014-04-19 12:06:16 +02:00
David Rosca
535cc3e73a [QzCommon] Move constants initialization into source file (.cpp)
Plugins are now checking for a match of version that were built with
in Plugin::testPlugin() function.
2014-04-17 15:20:54 +02:00
David Rosca
c6ae381404 [Mac] There is no /proc filesystem on Mac
Closes #1294

[ci skip]
2014-04-17 14:42:06 +02:00
David Rosca
9df585a8f8 [AdBlockSubscription] Fix infinite loading of subscription when cannot write to file 2014-04-16 17:15:55 +02:00
David Rosca
cc479f29e1 [CaBundleUpdater] Correct the error handling when downloading bundle 2014-04-16 16:51:53 +02:00
David Rosca
cd5ea7d66a [Build] Fixed build after last commit 2014-04-16 09:17:57 +02:00
David Rosca
72f5d49074 [MainApp] Try to use windowIcon from icon theme 2014-04-16 09:13:17 +02:00
David Rosca
94444b30d5 [Bookmarks] Add new bookmarks at the end of the folder
Creating new bookmarks in Bookmarks Organizer are still prepended
(inserted at the begin)
2014-04-16 09:12:33 +02:00
David Rosca
97d32a1191 [Mac] Drawing QTabBar without actual object crashes on Mac
[ci skip]
2014-04-15 09:58:51 +02:00
David Rosca
8a0b6f0d10 [Build] Fixed building with Qt4 2014-04-13 12:24:37 +02:00
David Rosca
eb8ae20cc1 [AdBlockRule] Improve performance of rule matching with QStringMatcher
Use QStringMatcher instead of QString::contains in RegExpFilters.
QStringMatcher internally uses fast Boyer-Moore algorithm.
2014-04-13 11:49:39 +02:00
David Rosca
45635f6da8 [WebView] Fixed loading of bookmarklets
Closes #1288
2014-04-12 22:24:42 +02:00
David Rosca
e9a9a768cc [TabbedWebView] Make sure to not crash with invalid m_window pointer
This is followup to properly handle detached WebTab (outside
BrowserWindow)

[ci skip]
2014-04-11 22:23:42 +02:00
David Sterba
f7552e42aa [BrowserWindow] Add slash as a single key shortcut for search 2014-04-10 11:09:29 +02:00
David Sterba
ddba93a3d0 [Preferences] Update help text for single key shortcuts
Put the list of implemented shortcuts into a tooltip with a bit of
formatting.
2014-04-10 01:09:23 +02:00
David Rosca
e4512ae14f [Click2Flash] Fix playing YouTube videos with Qt5
Closes #1283
2014-04-09 22:52:41 +02:00
David Rosca
646f9a2013 [Build] Fix building with Qt 4.7 2014-04-09 22:52:30 +02:00
nowrep
a560b7f498 [TabWidget] Make sure current tab is loaded on session restore
Fixes issue with current tab not being loaded on session restore
with "don't load tabs until selected" option.
It was needed to switch to other tab and then switch back to first tab
to actually load it.

Also pause updates of the whole browser window when restoring session.
2014-04-08 15:51:00 +02:00
nowrep
bfcae43c21 [WebTab] Don't show "Loading.." on empty tabs
[ci skip]
2014-04-08 14:41:30 +02:00
David Sterba
683ec42736 [BrowserWindow] Enable single key shortcuts
Translate single keys to shortcuts:

1 - previous tab
2 - next tab
(basic Opera compatibility)

There are more to choose from, but 1 and 2 are probably the most used.
Full list:
http://help.opera.com/Windows/9.50/en/keyboard.html#single-key

Configurable in preferences/Keyboard shortcuts, off by default.

Closes #1172
2014-04-07 14:50:38 +02:00
nowrep
78ba3875d9 [IconTheme] Fixed setting fallback icon theme
Closes #1274

[ci skip]
2014-04-07 09:31:13 +02:00
nowrep
7824f3862e [Windows] Correctly fix building after 6473bace10 2014-04-07 08:25:07 +02:00
nowrep
6473bace10 Fixed build after 39c9fec3dd 2014-04-06 15:36:52 +02:00
nowrep
6e18ee7502 [PageFormCompleter] Try to be extra cautious with QWebFrames
This is an attempt to fix crash when calling QWebFrame::childFrames
in PageFormCompleter::getAllElementsFromPage

[ci skip]
2014-04-06 15:13:07 +02:00
S. Razi Alavizadeh
39c9fec3dd [Windows] Fixed compile issues after aa248893 and 7f3d8ee7 2014-04-06 17:38:36 +04:30
nowrep
463fa96e04 [Build] Fixed building with Qt5 2014-04-06 13:50:09 +02:00
nowrep
db664184d0 [AdBlock] Improved performance of loading rules
Don't use regexps for parsing rules.
Added benchmark for loading subscriptions

Before:

********* Start testing of AdBlockParseRule *********
Config: Using QTest library 4.8.6, Qt 4.8.6
PASS   : AdBlockParseRule::initTestCase()
RESULT : AdBlockParseRule::parseEasyList():
     596.3 msecs per iteration (total: 2,982, iterations: 5)
PASS   : AdBlockParseRule::parseEasyList()
PASS   : AdBlockParseRule::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of AdBlockParseRule *********

After:

********* Start testing of AdBlockParseRule *********
Config: Using QTest library 4.8.6, Qt 4.8.6
PASS   : AdBlockParseRule::initTestCase()
RESULT : AdBlockParseRule::parseEasyList():
     481.8 msecs per iteration (total: 2,409, iterations: 5)
PASS   : AdBlockParseRule::parseEasyList()
PASS   : AdBlockParseRule::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of AdBlockParseRule *********
2014-04-06 13:36:42 +02:00
nowrep
1b01e7469f [MouseGestures] Bump plugin version
[ci skip]
2014-04-05 17:54:26 +02:00
David Sterba
3360f17735 [MouseGestures] Configurable mouse gesture button
UI changes:
* the Settings dialog offers a combo box to select left and right
  mouse buttons, or disable the gestures completely
* changes are permanently saved
* OK button is added

Closes #386
Closes #1280

It is now also possible to enable/disable rocker navigation.

Closes #1234
2014-04-05 17:46:05 +02:00
nowrep
f69c8645fb [MouseGestures] Implement "Rocker navigation"
Left+Right click - Forward
Right+Left click - Back

It is currently disabled by default and there is no GUI to enable it.
2014-04-05 17:04:41 +02:00
nowrep
6874df57d7 [Coding Style] Edited coding style (use linux style brackets)
Linux style brackets are now used also for source files.
One line blocks can now be without brackets.

Example:

if (test)
    foo();

Multi-line if statements are now written with conditionals (||, &&, ...)
at the end of line. The last line of if body does not ends with closing
bracket, instead the closing bracket is written on separate line.
One line blocks in multi-line if statements should not be without brackets.

Example:

if (test ||
    test2 &&
    test3
   ) {
    foo();
}

[ci skip]
2014-04-05 14:53:45 +02:00
nowrep
41ff89c3dd [WebView] Added option to force context menu to be opened on mouse release
This is needed for mouse gestures to be able to use right mouse button.
See #1280
2014-04-05 13:20:21 +02:00
Mladen Pejaković
297090692f [Speller] Detect and properly display script variant
[ci skip]
2014-04-04 17:26:50 +02:00
nowrep
aa248893c1 [TabWidget] Renamed getTabBar() to just tabBar() 2014-04-04 17:14:31 +02:00
nowrep
b7016a70ee [PopupWindow] Fixed edit actions in menu
WebView now has all edit-functions as public signals, so we can
connect it directly (instead of triggering page action in separate
slot in PopupWindow)
2014-04-04 17:09:04 +02:00
nowrep
5c2c90ae6d [WebTab] More cleanup in detach/attach code.
TabbedWebView can now be used with null BrowserWindow pointer.
2014-04-04 17:07:31 +02:00
nowrep
61c1b8d8a1 [Cookies] Renamed Match Domain exactly to Filter 3rd party cookies
Closes #1277

[ci skip]
2014-04-03 10:19:11 +02:00
nowrep
7469aced65 [Cleanup] Deleted unused ActionCopy class
Also added myself to ComboTabBar copyright
2014-04-02 20:42:29 +02:00
nowrep
98907c2055 [WebTab] Reworked tab attaching/detaching.
This also fixes crash on detach
2014-04-01 18:47:19 +02:00
nowrep
34eeea4d58 [WebInspector] Propagate hideEvent only when closing inspector 2014-04-01 16:34:47 +02:00
nowrep
551ccd6e3c [BrowserWindow] Make sure window is created with at least one tab 2014-04-01 16:34:08 +02:00
nowrep
84f117e68e [AutoScroll] Fixed AutoScroll plugin after recent commits
Use WebView::overlayWidget for showing widgets over WebView
2014-04-01 16:32:55 +02:00
nowrep
7369e86a0a [SearchAction] Don't block Ctrl+F shortcut from pages
It is now possible to search in WebInspector with Ctrl+F

[ci skip]
2014-03-31 18:03:35 +02:00
nowrep
2d9dfa9db7 [WebInspector] WebInspector is now displayed inside WebTab
It no longer uses QDockWidget. Instead, it is plain QWidget with
close button in top right corner.
2014-03-31 17:57:35 +02:00
nowrep
7f3d8ee786 [Cleanup] Split src/lib/webview into tabwidget, webkit and webtab folders 2014-03-31 14:54:08 +02:00
nowrep
b73751f497 [GreaseMonkey] Cleanup of GM_Downloader code 2014-03-31 12:37:24 +02:00
nowrep
ed823d4d50 [ClosedTabsButton] No longer needed to have two copies of button
ClosedTabsButton is now permanent right corner widget
2014-03-31 11:50:07 +02:00
nowrep
5c8afde4d9 [Crash] Fixed crash in BrowserWindow::event
Closes #1273
2014-03-31 10:01:04 +02:00
nowrep
bfe08409b4 [PrivateBrowsing] Show PrivateBrowsing indicator as left corner widget in tabbar
Removed PrivateBrowsing icon in Status Bar
2014-03-31 09:50:54 +02:00
nowrep
da6ccdcee5 [ComboTabBar] Draw TabBarBase also on parts that are not QTabBar
Draw TabBarBase on left/right corner widgets and left/right scroll
buttons.
2014-03-31 09:47:47 +02:00
S. Razi Alavizadeh
b26d9b06ab [ComboTabBar] Fixed right scroll button being hidden on resize
When resizing window and triggering overflow, right scroll button
was hidden until the next resize event.
2014-03-30 16:42:13 +02:00
nowrep
b95da97904 [BrowserWindow] Move TabBar into NavigationContainer
Simplifies entering/leaving fullscreen, as it is only needed to
update visibility of the whole container.
2014-03-30 16:38:34 +02:00
nowrep
6e71ae3c54 [ClosedTabsManager] Save icon of closed tab
Instead of searching icon from database, save the icon of tab.
It will now correctly shows icon of not-yet loaded closed tab if
the url was not in database.
2014-03-30 12:47:13 +02:00
nowrep
a059c005ff [SBI_Icons] Added Zoom Widget to StatusBarIcons plugin
Closes #1197
2014-03-29 15:49:49 +01:00
nowrep
d6625c60fb [SBI_Icons] Update JavaScript icon state on startup 2014-03-29 15:48:50 +01:00
nowrep
9c67d874e7 [Translations] Updated plugins translations 2014-03-29 15:47:38 +01:00
nowrep
6812e020d6 [Qt5] Fixed hiding close button on current tab when dragging it
[ci skip]
2014-03-29 13:02:39 +01:00
nowrep
e598ee1230 [CaBundle] Updated ca-bundle.crt
[ci skip]
2014-03-27 22:32:41 +01:00
nowrep
543c3b8732 [Translations] Try to load Qt (qt_*.qm) translations from Qt path
Also removed all qt_*.qm translations that are part of official Qt
distribution.
2014-03-27 11:53:09 +01:00
Javier Llorente
458f6fecf0 [DownloadItem] Add date of completed download
[ci skip]
2014-03-26 16:20:43 +01:00
nowrep
9c7d6e9795 [BookmarksToolbarButton] Final fix for rendering issues with various styles
It now works correctly with Windows, Gtk+, Oxygen and Fusion theme with
both Qt4 and Qt5.
The only theme that doesn't work correctly is Bespin, because it draws
icon size animation upon hover, but we are drawing the icon and text
manually. I think there is not much to do with it actually...
2014-03-26 10:11:30 +01:00
nowrep
525c4ff5cf [MainMenu] Create toolbars and sidebars menu to fix shortcuts
Shortcuts for sidebars are now available even before first showing
sidebars menu
2014-03-26 10:10:33 +01:00
nowrep
586a9d2242 [OxygenFallback] Correctly initialize fallback icon theme
For some reason, QIcon::hasThemeIcon does not work correctly.
2014-03-26 10:05:27 +01:00
nowrep
4305b59028 [ProgressBar] Use update() instead of repaint()
update() does not trigger repaint immediately. It helps with
speed of restoring crashed session (progressbar does not need to be
refreshed for every restored tab immediately).

The same change was made for SiteIcon in PopupLocationBar
2014-03-25 17:06:50 +01:00
nowrep
545b3f9c54 [SessionRestore] Set override busy cursor when restoring session
TabWidget: Delete WebTab in closeTab() with deleteLater

[ci skip]
2014-03-25 16:55:33 +01:00
nowrep
a284a7c864 [SiteIcon] Don't set :pressed state when popup is not shown
Popup will not be shown eg. on qupzilla: sites
2014-03-25 16:53:41 +01:00
nowrep
fcfe2999f7 [WebView] Delete m_page in destructor
This should fix rare crash when closing tab.

[ci skip]
2014-03-24 21:21:07 +01:00
nowrep
e1661a88b5 [ClosedTabsButton] Hide by default
[ci skip]
2014-03-24 18:13:37 +01:00
nowrep
b9891a815b [LinuxTheme] Deleted now unused icons
Also added "edit-find" icon to oxygen-fallback
2014-03-24 18:07:56 +01:00
nowrep
d4e9682db1 [SiteIcon] Don't flicker when opening site info popup
Make sure the Down state doesn't change between clicking on icon
and opening popup.

[ci skip]
2014-03-24 17:07:25 +01:00
nowrep
174b4e8218 [Unix] Don't register SIGPIPE handler
[ci skip]
2014-03-24 16:28:28 +01:00
nowrep
f7a88a82f7 [Oxygen-fallback] Added bookmark-new-list icon 2014-03-24 16:23:21 +01:00
nowrep
c182dd6f34 [Icons] Removed unused icons 2014-03-24 16:16:35 +01:00
nowrep
ab638a5525 [IconProvider] Use fallback oxygen icon theme (in oxygen-fallback.qrc)
Instead of manually setting fallback icons, use globally fallback theme.
2014-03-24 16:09:30 +01:00
nowrep
3c0576fcfa [BookmarksToolbarButton] Improved rendering of bookmark button
It now correctly draws hover state. It now also supports shifting
contents for Down state
2014-03-24 12:51:42 +01:00
nowrep
a0dba6bd32 [BookmarksToolbarButton] Only fix down state rendering when button is folder
Eg. when the button has menu
2014-03-23 23:54:09 +01:00
nowrep
2e8c9f690e [SiteIcon] Support :pressed state for style sheets 2014-03-23 23:53:51 +01:00
Javier Llorente
539ade15b8 add es_ES language translated 2014-03-23 13:50:15 +01:00
nowrep
e10126d2a9 [TabWidget] Fix showing empty tab title when adding new tab
Regression from recent commits
2014-03-22 23:59:38 +01:00
nowrep
64b53baee3 [TabbedWebView] No need to override stop() method 2014-03-22 22:18:28 +01:00
nowrep
db2d879717 [WebHistoryWrapper] Removed unused WebHistoryWrapper class 2014-03-20 09:11:19 +01:00
S. Razi Alavizadeh
0b4be9055e [Windows] Fixed inserting QUnicodeControlCharacterMenu to contextmenu. 2014-03-20 01:14:36 +03:30
nowrep
e36697eedf [SearchEngines] Support for loading POST engines from LocationBar
Added new class LoadRequest, that holds network request with its
operation type and POST data.
2014-03-19 21:27:43 +01:00
korwru
d247fd9f74 Fix msvc compile issue m_navigationBar undeclared identifier 2014-03-19 15:38:14 +04:00
korwru
a1e849fd9a Fix msvc compile error m_usingTransparentBackground undeclared
identifier
2014-03-19 15:32:30 +04:00
korwru
2097ce08d3 Fix msvc compile issue with datapaths 2014-03-19 15:22:16 +04:00
korwru
75040eace2 Fix msvc compile issue in mainapplication use of undefined type
RegisterQAppAssociation
2014-03-19 15:14:01 +04:00
korwru
a4588a0c28 Fix msvc compile issue in tabwidget. 2014-03-19 15:01:53 +04:00
K0r5hun
8e0d849e01 Fix compile issue with plugins on msvc. 2014-03-19 14:38:16 +04:00
nowrep
f042ba9b88 [TabBar] Fixed showing 2 AddTab buttons when tabs overflows 2014-03-18 20:38:30 +01:00
nowrep
cbc3f4f875 [DuckDuckGo] Use new icon for DuckDuckGo search engine 2014-03-18 20:10:19 +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
b3c40e6281 [SiteIcon] Correctly show first site icon 2014-03-17 11:04:26 +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
ebd501c9cd [SiteIcon] Show icon with small delay (100ms) 2014-03-17 09:08:36 +01:00
nowrep
a9eba60da2 [LocationCompleter] Pause updates when removing items from completer
Also adjust the size of popup after removing items + close it after
removing last item.
2014-03-16 17:24:10 +01:00
nowrep
20cd658274 [ProfileManager] Fix currentProfile() cutting last char of profile name 2014-03-16 15:31:19 +01:00
nowrep
b9c58b14b3 [AutoScroll] Force ArrowCursor when scrolling 2014-03-16 14:56:09 +01:00
nowrep
f9f74f3642 [LocationBar] Always show site icon in 16x16px 2014-03-16 14:33:56 +01:00
nowrep
e6baa54179 [Qt5] Fixed QIODevice::not open warning message 2014-03-16 14:30:59 +01:00
nowrep
43cb2d6b27 [LocationBar] Fixed crash in setGoIconVisible. Always check for m_webView 2014-03-16 13:56:27 +01:00
nowrep
dbec199ea8 Fixed building with Qt5 2014-03-16 13:55:37 +01:00
nowrep
fe0b03fdb7 Include QDebug in qzcommon.h
It's annoying to always include it just to remove a moment after...
2014-03-16 13:22:41 +01:00
nowrep
d464d9bdef [LineEdit] Create context menu in LineEdit
Instead of code duplication in LocationBar and WebSearchBar, create
the context menu from LineEdit.
Also actually create the menu, not just re-use the standardContextMenu.
2014-03-16 13:06:38 +01:00
nowrep
a701079d27 [LocationBar] Cleanup code + fixed showing rss icon 2014-03-16 12:12:49 +01:00
nowrep
6e53add7d7 [LocationBar] Set cursor position at start when showing long url
Also disable animations for Oxygen style, it breaks when changing
text to completely different one (eg. loading foo.com and then bar.com)
and the url is too long to fit in line
2014-03-16 11:21:24 +01:00
nowrep
caabbc237f [LocationBar] Tweaked Linux theme. No longer hardcode height
It is now specified only minimum height.
Fixes issue with locationbar being too small with bigger fonts.
2014-03-16 09:38:28 +01:00
nowrep
23a599ed75 [ComboTabBar] Fixed double clicking on scroll buttons with Qt5 2014-03-15 23:46:10 +01:00
nowrep
72904a80c3 [LocationBar] Major cleanup. New code to change color of text parts
The code to change color of host of url is completely new.
It doesn't use any paint hacks anymore. That means text in
locationbar will now be always rendered pixel perfect, as it would
with normal QLineEdit.

Cleanup in LocationCompleter. It is now using QCompleter in inline
mode to complete domain. It is still not ideal, eg. it refreshes
and show the domain completion with delay (job run in separate thread),
and sometimes it misses it completely.

WebSearchBar: Always complete when receiving suggestions. Fix issue
when suggestions were only showed after typing at least 2 characters.
2014-03-15 23:22:35 +01:00
nowrep
9c7e9a1396 Fixed building with Qt 4 2014-03-15 20:20:39 +01:00
nowrep
c395f19524 [BrowserWindow] Create shortcuts with QShortcut instead manually in keypress
This fixes eg. Ctrl+W writing W in locationbar
2014-03-15 19:58:19 +01:00
nowrep
7e57cb63f5 [LocationCompleter] Run completions search in separate thread
Currently, there is one issue with inline domain completion. It is
also searched from the separate thread, and thus it gets displayed
after a small delay.

Closes #1135
2014-03-15 19:36:03 +01:00
nowrep
8069573f08 [Crashlogs] Fix showing bad path when saving crashlogs
Regression from recent DataPaths commits
2014-03-15 19:16:58 +01:00
nowrep
0a622e325c [SqlDatabase] New implementation, hold connections for threads
Instead of using worker thread, use multiple threads with QtConcurrent,
and hold database connections for each thread.
2014-03-15 19:16:50 +01:00
nowrep
688e021fff [DatabaseWriter] Replace with new SqlDatabase class 2014-03-15 01:14:06 +01:00
nowrep
167ae2af50 [SqlDatabase] New class allowing to exec Sql queries in separate thread
It uses its own QSqlDatabase connection, which is supported according to
docs.
2014-03-15 01:03:06 +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
a2de6e1627 [ShowStatusBar] Fixed settings to show/hide Status Bar
Closes #1259
2014-03-14 13:33:33 +01:00
nowrep
fbafd56e90 [CaBundle] Update bundle + fix make_ca_bundle.sh script
make_ca_bundle.sh was actually appending all certs to the file.
As a result, there were duplicated certificates after multiple runs
of the script.
2014-03-14 12:27:10 +01:00
nowrep
83bb7c757c [CodeCleanup] Don't use m_isStarting and m_isClosing in BrowserWindow 2014-03-13 17:06:08 +01:00
nowrep
bd0cc0e121 [Crash] Fixed crash after closing some tabs (eg. GMail)
QWebPage::networkAccessManager should be cleared in destructor, to avoid
using it after it was already deleted

This is regression from recent commits
2014-03-13 16:15:23 +01:00
nowrep
b4d2ced60f [CodeCleanup] Cleanup Mac #ifdefs 2014-03-13 15:58:39 +01:00
nowrep
b52a84da3c [CreatingWindow] Don't disable updates when creating browser windows 2014-03-13 13:38:14 +01:00
nowrep
ae511eaa6c [Toolbars] Fixed toggle show Status Bar action
Closes #1259
2014-03-13 13:36:57 +01:00
nowrep
50e8bb071f [NetworkCache] Fix path for network cache 2014-03-13 12:53:19 +01:00
nowrep
34bb2a2097 [WebInspector] Use TabWidget::currentChanged(int) signal and check for invalid tab
TabWidget::currentChanged(int index) can be emited with  index == -1,
which means there are no tabs in tabbar. This may lead to crash after
accessing current webview (null)
2014-03-13 12:52:55 +01:00
nowrep
ea60478160 [Toolbars] Fixed possibility to hide both Navigation Toolbar and Menu Bar
If both Navigation Toolbar and Menu Bar are hidden, there is no way
to access Preferences and other actions from menu.
2014-03-13 12:31:08 +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
9fda55d86d [StatusBarIcons] Fixed crash when restoring session
All icons have now same parent SBI_Icon
2014-03-13 12:06:28 +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
07cf7036df [ComboTabBar] When removing tabs, don't use timer for enabling updates
Also fixed Show Site Info action in SiteInfoWidget
2014-03-13 11:11:52 +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
853e3905ee [Crash] Fixed crash after closing first app window
Always create BrowserWindow with MainApp::createWindow (even in MainApp
constructor).
Regression from recent commits.
2014-03-12 21:36:34 +01:00
nowrep
493edfc655 [AdBlockRule] Save some memory with dynamic allocation and removing member variables
m_regExpStrings are now also dynamically allocated only for RegExp rules
m_cssSelector is now merged with m_matchString (m_matchString was empty
for Css Rules)
2014-03-12 13:25:12 +01:00
nowrep
d3e8cbac97 Fixed building after recent commits
Closes #1257
2014-03-11 09:12:37 +01:00
nowrep
4fb58a6202 [Strings] Small changes in translation strings
Always use HTML in caps + don't translate file filters (.html here)
Use "Import and Export" everywhere
2014-03-10 21:37:20 +01:00
nowrep
34cb20e82a Updated translations 2014-03-10 20:55:31 +01:00
David Rosca
c580d4167b Merge pull request #1256 from pejakm/srtrans
[Translations] Update Serbian language
2014-03-10 20:43:37 +01:00
Mladen Pejaković
ecfc987b4f [Translations] Update Serbian language 2014-03-10 19:47:27 +01:00
nowrep
5ca0073410 [Translations] Fixed loading translations
Regression from recent commits
+ more cleanup
2014-03-10 19:41:44 +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
fb2629898b [TabBar] Don't draw base. Should help with Qt5 Fusion style
Also small changes in MainApplication
2014-03-10 09:38:16 +01:00
S. Razi Alavizadeh
d14655a3ab [ComboTabBar] Don't emit overflowChanged when not necessary 2014-03-10 09:36:37 +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
985db8a35d [AdBlockManager] Use Q_GLOBAL_STATIC for AdBlockManager 2014-03-09 12:54:23 +01:00
nowrep
a3c3dead87 [CodeCleanup] Get rid of Qz::AppMessage enum 2014-03-09 12:54:07 +01:00
nowrep
a61ce67d7c [SpellCheck] Cleanup: Speller class is now singleton
All spellcheck is now where it belongs, under spellcheck directory
2014-03-08 14:21:08 +01:00
nowrep
0e9fcc2113 [Building] Fixed building on Qt 5 & without Hunspell
BookmarksExportDialog: Align "Format" label to the right
2014-03-07 23:59:12 +01:00
nowrep
875d48b580 [Bookmarks] Save bookmarks after restoring defaults 2014-03-07 23:21:06 +01:00
nowrep
9764cea3a3 [ToolButton] ShowMenuInside option needs own aboutToShowMenu signal 2014-03-07 23:20:31 +01:00
nowrep
417da146e5 [QzTools] Make QzTools class and export only the class
Also fixed building on Windows
2014-03-07 22:54:50 +01:00
nowrep
fdf4fcc54e [main.cpp] SIGPIPE is not needed to be handled in signal_handler 2014-03-07 18:57:42 +01:00
nowrep
f558a836b0 [Code] Create singletons with Q_GLOBAL_STATIC macro 2014-03-07 18:24:13 +01:00
nowrep
edbb87bd1f [CodeCleanup] IconProvider now have static methods for getting icons 2014-03-07 18:03:42 +01:00
nowrep
e0780b7779 [CookiesTest] Make the test pass after last commit 2014-03-06 17:07:58 +01:00
nowrep
d0d1fa1844 [Session] Save session to QByteArray and then write it to file
Instead of appending data to file, write all session data at once.
This should help preventing corrupting session.dat file.

Closes #1247
2014-03-06 16:18:58 +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
nowrep
c0311d7ee8 [Building] Include defines.pri after Qt modules are added
Fixes regression from 74883f8af4
Closes #1253
2014-03-05 19:00:53 +01:00
nowrep
74883f8af4 [Building] Use QZ_DESTDIR variable for $SRC/bin directory
Should fix problems with shadow builds.
Closes #1252
2014-03-04 15:14:19 +01:00
nowrep
688455158c [Bookmarks] HtmlImporter: Fixed filter for html files
See #1228
2014-03-04 14:16:58 +01:00
nowrep
29f20ae520 [Building] Don't require ending slash in USE_LIBPATH and QUPZILLA_PREFIX options 2014-03-03 15:08:52 +01:00
nowrep
a7d382ee42 [Cleanup] Use QZ_WS_X11 only for X11 specific code
In other cases, use Q_OS_UNIX for determining UNIX platform.
UNIX platfroms without X11 should benefit from this commit, including
MAC and UNIXes on Wayland.
2014-03-03 14:47:47 +01:00
nowrep
82ca226127 [Code] Use QTime::elapsed() for timing 2014-03-03 12:55:35 +01:00
nowrep
12948cd0a4 [DNT] Enable sending DoNotTrack header by default 2014-03-02 22:42:10 +01:00
nowrep
c7a31c57e0 [CodeCleanup] Use QMouseEvent::button() in mouse release events
In press/move events, use QMouseEvent::buttons() instead
2014-03-01 14:12:50 +01:00
nowrep
5ad76995a2 [BookmarksSidebar] Enable only SingleSelection in sidebar 2014-03-01 14:06:44 +01:00
nowrep
b826ebc52a [LocationCompleter] Support Ctrl / Shift activation of items
Ctrl activation: Opens url in new tab
Shift activation: Opens url in new window
Closes #1245

Bookmarks: Update visit count also from location completer
BookmarkItem: Added new method updateVisitCount
2014-03-01 14:05:44 +01:00
Mladen Pejaković
8f9f187b80 Fix regression after 2a6896e57f 2014-03-01 00:22:55 +01:00
Mladen Pejaković
b18ac632df [HistoryMenu] Improvements 2014-02-28 21:12:25 +01:00
nowrep
a9bce8c775 [Code] Moved history menu into separate HistoryMenu class 2014-02-27 22:53:56 +01:00
nowrep
5e4f703ef2 [Code] Renamed qz_namespace.h to qzcommon.h 2014-02-26 20:03:20 +01:00
nowrep
3650aac9ff [Code] Little cleanups after rename QupZilla -> BrowserWindow 2014-02-26 19:55:49 +01:00
S. Razi Alavizadeh
84ef3e9fda Fixed, renamed QupZilla class to BrowserWindow everywhere 2014-02-25 22:06:13 +03:30
nowrep
b6181315f7 [AdBlock] Don't add domain css rules to sites whitelisted with $document option
Closes #1246
2014-02-25 12:12:27 +01:00
nowrep
4133106988 [PinnedTabs] Restore pinned tabs also when not restoring session
Closes #1239
2014-02-24 11:38:18 +01:00
Mladen Pejaković
9b7ecf1d12 [TabBar] Comment fix 2014-02-23 14:54:22 +01:00
Mladen Pejaković
5d23a21f37 [TabBar] Option to show/hide close button on inactive tabs. Closes #1220 2014-02-23 14:49:32 +01:00
nowrep
7d98a162d6 [Code] Fixed cppcheck issues 2014-02-22 15:23:46 +01:00
nowrep
5cf7d0b9a9 [Bookmarks] Add new action to open bookmarks in private window
Closes #995
2014-02-22 15:20:54 +01:00
Mladen Pejaković
131eef5c9d Open links in private window. 2014-02-22 14:57:22 +01:00
nowrep
eb9b2635d5 [ButtonWithMenu] Fixed selectPreviousItem not selecting first item 2014-02-20 17:06:21 +01:00
nowrep
77e8afb5ec [Bookmarks] Force icons visible in bookmarks menu
For example, Gnome3 has icons hidden in menu by default

Closes #1215
2014-02-20 16:56:08 +01:00
nowrep
afae00e4a2 [Cleanup] Rename export macro to just QUPZILLA_EXPORT 2014-02-19 22:12:32 +01:00
nowrep
404fa68a1b [Cleanup] Renamed QupZilla class to BrowserWindow 2014-02-19 22:07:21 +01:00
nowrep
118478351f [AutoScroll] Set window title of settings dialog 2014-02-19 21:39:34 +01:00
nowrep
c7cf42f0a4 [AutoScroll] Set minimum value of divider to 1.0 2014-02-18 17:52:20 +01:00
nowrep
47fe951001 [Translators] Added Juan Carlos Sánchez into translators 2014-02-18 17:50:55 +01:00
nowrep
a4541da935 [Plugins] Updated translations 2014-02-18 17:23:14 +01:00
nowrep
1f7628ff05 [AutoScroll] Added settings - option to change scroll divider value 2014-02-18 17:21:31 +01:00
nowrep
65a47fd450 [LocationCompleter] Speedup searching in Bookmarks & History
See #1135
2014-02-18 16:17:22 +01:00
nowrep
7323fb1cad [AutoScroll] Add scrolling icons (from Oxygen cursor theme)
Also scroll timer interval is now 10 msecs, so scrolling will be a
little faster.
2014-02-18 15:16:03 +01:00
nowrep
e5240bcc8e [AutoScroll] Added AutoScroll plugin
I'm still looking for some icon. For now, only red square is shown.
2014-02-17 20:00:40 +01:00
David Rosca
22e195b621 Merge pull request #1218 from pejakm/sdfix
[SpeedDial] Fix overlay text input visibility with dark themes
2014-02-17 12:15:55 +01:00
nowrep
b8f8e3753f [Bookmarks] Added Export dialog + HTML Bookmarks Exporter 2014-02-17 12:13:26 +01:00
nowrep
daa3f07426 [FirefoxImporter] Support importing full bookmarks structure 2014-02-16 15:39:59 +01:00
Mladen Pejaković
091f4ab6a6 [SpeedDial] Fix overlay text input visibility with dark themes 2014-02-15 23:50:54 +01:00
nowrep
680ed27c22 [BookmarksImportDialog] Draw separators in imported bookmarks treeview 2014-02-15 22:18:11 +01:00
nowrep
763183be88 [OperaImporter] Support importing full bookmarks structure 2014-02-15 22:07:52 +01:00
nowrep
650558dea6 [ChromeImporter] Support importing full bookmarks structure 2014-02-15 20:53:03 +01:00
Mladen Pejaković
3eede1d8a2 Rework list of closed tabs 2014-02-15 18:49:48 +01:00
nowrep
5301495966 [BookmarksImport] Added back button to import dialog + other small changes
Also moved all bookmarks import classes to bookmarks/bookmarksimport
2014-02-15 01:49:12 +01:00
nowrep
09893f20b4 [BookmarksImport] Create new base BookmarksImporter class
Also moved all importers into bookmarks/import folder
2014-02-15 00:17:31 +01:00
nowrep
23b55d9158 [BookmarksImport] Show full structure of imported bookmarks
BookmarksModel can now be used with arbitrary root item independently
of main bookmarks root item.
2014-02-14 21:13:08 +01:00
nowrep
167e80f59a [SaveSettings] Don't save settings twice on app close 2014-02-14 20:29:41 +01:00
nowrep
d422ce3767 [Models] Decrease the delay for filtering to 300ms 2014-02-14 20:28:25 +01:00
nowrep
f9d3c102ec [Cleanup] QTimer::start() restarts timer if it is already running 2014-02-14 19:31:35 +01:00
nowrep
a99f954930 [ReloadStopButton] Instead of pausing updates, only update the button after delay 2014-02-14 19:28:41 +01:00
S. Razi Alavizadeh
35f1799e59 [ComboTabBar] Fix tabAt function for RTL languages 2014-02-14 18:48:16 +01:00
nowrep
907386b921 [Sslv3Sites] easylist-downloads.adblockplus.org shouldn't be there 2014-02-14 10:53:19 +01:00