| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Comparing unicode string without case sensitive is rather expensive
because each codepoint must be converted, which is non trivial for
unicode.
This patch introduce a new argument of ::match() taking the encoded
url in lowercase. This way, the conversion can be done only once
for a lot of rules.
|
|\
| |
| |
| | |
git://gitorious.org/rekonq/mainline into m178
|
| |
| |
| |
| |
| |
| |
| |
| | |
About 30% of the filter of easylist are just simple text matching. This
new AdBlockRule implementation detects the simple occurences of this
to match the url directly.
On Qt 4.7, this reduce the time spend in AdBlock by around 20%.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In order to make special matching rules, we need specialization of the
implementation depending on the type of rule.
The previous AdBlockRule was entierly based on regexp. The new one
is only a factory to a AdBlockRuleImpl, and delegate everything to
this implementation.
This will allow faster specialization of the ad block rules in the
future.
|
| |
| |
| |
| |
| | |
The method pattern imply the rule is implemented with a regexp, which
is what we should try to avoid in the future for performance reasons.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Basic cleaning and bug fixing of AdBlockRule.
The options shoud be parsed before checking if the filter is a regexp,
otherwhise a regexp with option will never match the rule.
For example:
-"/.*/$xmlhttprequest" is a valid regexp that would not be matched.
-"/.*$xmlhttprequest/" is a valid regexp without options and the option
should not have been parsed.
The matching of the option should match the last index of "$", not the
first, for the same reason as above.
Use mid() to split the vector at once instead QString::mid() +
QString::lef().
Clean the coding style to follow the conventions of KDE.
|
| |
| |
| |
| | |
let rekonq also reenable it :)
|
|\ \
| | |
| | |
| | | |
git://gitorious.org/rekonq/mainline into m176
|
| | |
| | |
| | |
| | | |
modified: src/settings/generalwidget.cpp
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
when KGet is not installed
modified: src/settings/generalwidget.cpp
Declare GeneralWidget::disableKGet()
modified: src/settings/generalwidget.h
|
|\ \ \
| | | |
| | | |
| | | | |
git://gitorious.org/rekonq/mainline into m175
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | | |
git://gitorious.org/rekonq/mainline into m2290
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
google maps)
- Smooth scrolling now works on editable contents without sliders
|
|\ \ \
| | | |
| | | |
| | | | |
git://gitorious.org/rekonq/mainline into m174
|
| |/ /
| | |
| | |
| | | |
- Add tooltips for the bookmark icon
|
|/ /
| |
| |
| | |
Patch (and implementation) by Glad Deschrijver. Thanks!
|
|\ \
| | |
| | |
| | | |
git://gitorious.org/rekonq/mainline into m172
|
| | | |
|
| | | |
|
|/ /
| |
| |
| | |
BookmarksProxy class.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
PLease, check if I did something wrong..
|
| |
| |
| |
| |
| |
| | |
As show slot calls setVisible(true) in QWidget code, we cannot override
show() AND setVisible(bool).
The best thing is IMHO inheriting show() && hide() slots
|
|\ \
| | |
| | |
| | | |
git://gitorious.org/rekonq/mainline into m168
|
| | | |
|
|/ / |
|
|\ \ |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
git://gitorious.org/rekonq/mainline into m164
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
color is quiet the same as Text color
|
| | | | |
|
|\ \ \ \ |
|
| | |_|/
| |/| |
| | | |
| | | | |
We don't need a timeout every minute after the bar has been hidden.
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
git://gitorious.org/rekonq/mainline into m162
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change createNavItem() to a more generic createLinkItem() capable of
generating icon of any type.
Use the new createLinkItem() in every position where .link items are
created.
Fix the flags used for icons. The flags were specified with a boolean
or operator:
KIconLoader::SizeSmall || KIconLoader::Small -> one |
All the icon flags have been changed to KIconLoader::Toolbar in order
to keep the same behavior as before (Toolbar value equals 1).
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Almost identical code was copied 5 times. It has been replaced by
a private function.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The path added to the scheme is already supposed to be an absolute path,
so starting with a '/'. By putting three slashes for the scheme, the
final path has four /, which is not a valid url (legacy url).
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use explicit text encoding in NewTabPage::browsingMenu() with
QLatin1String().
Using explicit text encoding has a some advantages:
-it is safe if the default codec is changed
-the application compile even with QT_NO_CAST_FROM_ASCII
Reviewed-by: Andreas Kling
|
|/ / / |
|
| | | |
|
|/ /
| |
| |
| | |
In the Favorites page we add Favorites, not Previews^^
|
| |
| |
| |
| |
| | |
It seems working pretty well here.
Ready to revert if something seems wrong about this
|
| |
| |
| |
| | |
a searchlistitem
|
| | |
|