1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00
Commit Graph

2152 Commits

Author SHA1 Message Date
nowrep
7e6d619516 AdBlock: Greatly improves performance of regexp rules.
Regexp will be parsed into parts that can be used with
QString::contains for quick match. If url contains all parts,
real QRegExp matching is applied.

This speedup affects rules that are internally converted into
regexp, not AdBlock's regexp rules (but those rules are very rarely used
in subscriptions, so there's no need to optimise them)
2013-02-26 15:48:47 +01:00
S. Razi Alavizadeh
b52d150e7d [Mac] Small fixes in themes + fixed building
Theme: fixed color of statusbar
Building: fixed linking to CoreServices framework
QzTools: show correct version of Mac OS X
Code: coding style
2013-02-26 13:01:00 +01:00
nowrep
d885444501 [Code] Use QVector instead of QList for elements bigger than pointer. 2013-02-26 12:56:11 +01:00
nowrep
a25e189904 [AdBlock] Added debug output with ADBLOCK_DEBUG define.
It will print the time needed to load all rules and also
to block each url.
2013-02-26 12:29:46 +01:00
nowrep
cf4daaa37a [Qt5] Fixed crash when using network cache from Qt 4
Network cache is now saved  in %WEBKITVERSION%-Qt%QTVERSION%
subdirectory.
2013-02-26 11:58:38 +01:00
nowrep
9f226b9738 Significant memory savings in AdBlock (~ 30MB with just EasyList)
Even empty QRegExp can occupy a lot of space in memory, which can
grow into a big number with tens of thousands AdBlock rules.
QRegExp is now allocated with new, and only when really needed.
2013-02-26 10:45:33 +01:00
nowrep
a1ad8dab9b Properly destroy NetworkManager on application close. 2013-02-25 23:25:11 +01:00
nowrep
6cf3cb637c [AutoFill] Show key icon only when password was actually filled in page.
If you have saved multiple passwords eg. for gmail.com, it will now
only show key icon when trying to login, instead of showing it all the
time on gmail.com (even after logging in).
2013-02-25 15:03:53 +01:00
nowrep
0ca121898d [PageFormCompleter] Don't try to extract form if formdata is invalid. 2013-02-25 14:51:52 +01:00
nowrep
e7213bdf12 [Qt5] Fixed getting correctly QtWebKit version with pkg-config.
QtWebKit module is named Qt5WebKitWidgets in Qt 5.
Versioning is also different from Qt 4.
2013-02-24 23:19:37 +01:00
nowrep
3e74b18622 Show Mac OS X version in QzTool::operatingSystem.
It now also supports Windows 8 detection.

Function have been renamed from buildSystem to operatingSystem
as it does not really returns build system anymore.
2013-02-24 23:02:55 +01:00
nowrep
41fb5bfcc6 [Mac] Little modifications in theme for better native look.
Closes #765
2013-02-24 14:30:04 +01:00
nowrep
021e6315e0 Preferences: Fixed showing current language in languages menu. 2013-02-24 13:20:54 +01:00
nowrep
d46d5c6786 [Mac] Fixes font rendering with HiDPI (retina) displays. 2013-02-24 13:20:07 +01:00
David Rosca
560c4c414c Merge pull request #780 from srazi/master
[Windows] Don't update transparent margins on close.
2013-02-24 04:17:03 -08:00
S. Razi Alavizadeh
5d10b7ba94 Updated Windows installer Persian translation. 2013-02-24 15:42:15 +03:30
S. Razi Alavizadeh
0066027215 fixed hiding bookmarksToolbar after going back from fullscreen. 2013-02-24 15:41:06 +03:30
S. Razi Alavizadeh
825e14140c [Mac] fixed search highlighting on Mac, see #756, also don't paint cursor when showing popup. 2013-02-24 15:37:14 +03:30
nowrep
49382fd832 Updated certificate bundle + build it only on Windows. 2013-02-24 12:08:37 +01:00
nowrep
4eba746a2c GreaseMonkey: Bumped plugin version. 2013-02-24 12:07:57 +01:00
nowrep
bed43ed0c8 [Qt5] Use RegExp wrapper to take advantage of new regexp engine.
QzRegExp wrapper is using QRegExp directly on Qt 4 and
QRegularExpression (with PCRE engine) on Qt 5.
2013-02-24 10:57:58 +01:00
nowrep
f32ec93caf NetworkManager: Use certificates from bundle only on Windows.
On other platforms, let's just use system certificates.
2013-02-24 10:53:35 +01:00
nowrep
304f1704d2 GreaseMonkey: Don't load invalid scripts. 2013-02-24 10:48:23 +01:00
nowrep
53b31ea912 Fixed copying url with special characters into clipboard.
Also properly encode url for loading in W3 validator.

Followup to #762
2013-02-23 17:21:33 +01:00
nowrep
1ae60d65bb Added new Catalan translation.
Thanks to Guillem Prats and Clara Villalba.
2013-02-23 16:19:25 +01:00
nowrep
63b5a059c9 Coding style + changed line endings of copyright 2013-02-23 16:18:01 +01:00
nowrep
f0f2620a78 Translations: Generate empty.ts with lines from source code. 2013-02-23 12:19:12 +01:00
nowrep
2ddff2a34e Restore tabs: Disable updates of tabbar while restoring session.
Fixes sometimes drawing tabbar while restoring is in process, resulting
in painting only few tabs and then all restored tabs after a moment.
It will now only draw completely restored tabbar.

Also fixed one incorrect usage of setUpdatesEnabled in TreeWidget.
2013-02-23 12:04:51 +01:00
S. Razi Alavizadeh
c7193162d2 [Windows] Don't update transparent margins on close. 2013-02-23 01:41:33 +03:30
David Rosca
f19cb64163 Merge pull request #779 from srazi/master
File/Ftp SchemeHandlers: Clickable title for easier navigation, also using native separator in file's title.
2013-02-22 12:43:02 -08:00
S. Razi Alavizadeh
802f95f0d6 File and Ftp SchemeHandlers: Clickable title for easier navigation, also using native separator in file's title. 2013-02-23 00:04:14 +03:30
nowrep
7fae03959d TabsOnTop: Fixed picking correct color for drawing line at the bottom of
navigation container.
2013-02-22 18:31:44 +01:00
nowrep
b4b1ce03d6 LocationBar: Proper fix for determing when to draw cursor.
Cursor will be properly drawn by Qt when starting writing
into empty lineedit (eg. select all and start typing).
After the completion popup is hidden for the first time, Qt will stop
drawing cursor and will only paint it again after losing and gaining
focus.
2013-02-22 15:20:28 +01:00
nowrep
1cbc8c6d2d [Windows] Fixed color of selected text when view loses focus.
Closes #756
2013-02-22 11:59:52 +01:00
David Rosca
d01c512520 Merge pull request #778 from srazi/master
[Win] FileSchemeHandler: fixed issues with '*.lnk' and 'x:'
2013-02-22 02:11:05 -08:00
S. Razi Alavizadeh
33b9b3832f [Win] FileSchemeHandler: fixed issues with '*.lnk' and 'x:' 2013-02-22 12:40:10 +03:30
nowrep
bc2e163b90 X11: Symlink qupzilla/tmp into /tmp 2013-02-22 10:06:05 +01:00
nowrep
76849082e4 [LocationCompleter] Fixes performance when drawing really long urls.
data: urls can get really long (> 1000000 characters), so don't save
them in history from now on.
2013-02-22 09:36:47 +01:00
nowrep
36e73949c2 Don't show context menu on scrollbars.
Also fixed coding style in mactoolbutton.cpp
2013-02-22 09:05:30 +01:00
David Rosca
915b972e48 Merge pull request #777 from srazi/master
[FTP] fixed problem with 'link to file'+show shortcut icon for links
2013-02-22 00:04:26 -08:00
S. Razi Alavizadeh
120455b11a Used qIconProvider instead of QFileIconProvider() and removed msgHandler on Windows. 2013-02-22 03:43:59 +03:30
nowrep
64e6c36ed4 LocationBar: Fixed drawing cursor at correct position with popup opened. 2013-02-22 00:25:13 +01:00
S. Razi Alavizadeh
17591ce89f [FTP] fixed problem with 'link to file'+show shortcut icon for links 2013-02-22 01:28:22 +03:30
S. Razi Alavizadeh
06ad80583c IconProvider: fixed, return a fallback icon on non-linux OSes 2013-02-22 01:25:28 +03:30
David Rosca
2a5ff86972 Merge pull request #773 from srazi/Mac_work
Mac related fixes.
2013-02-21 02:11:07 -08:00
nowrep
3e743c9d1f Moved config directory info ~/.config/qupzilla
See #774
2013-02-21 11:05:00 +01:00
S. Razi Alavizadeh
bb9bccf580 Added 'MacToolButton' as a replacement for QToolButton on Mac 2013-02-21 01:09:26 +03:30
S. Razi Alavizadeh
72c66cb218 [Mac] RSSManager/AdBlockDialog documentMode was disabled and fixed double cursor problem. 2013-02-21 00:20:07 +03:30
S. Razi Alavizadeh
1320a6cf03 [Mac] Fixed rendering of tab's buttons. 2013-02-20 23:52:38 +03:30
nowrep
3b3e62cd76 [code] Explicitly set UTF-8 codec when using QTextStream.
Fixes encoding issues on Windows.

Closes #769
2013-02-20 19:50:59 +01:00