| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| | |
git://gitorious.org/rekonq/mainline into m179
|
| |
| |
| |
| |
| |
| |
| | |
The rules to hide elements for a specific domains were interpreted
as regular RegExp rules, which grows the list of filter to test.
Those rules are not working with the current implementation, we should
just skip them for efficiency.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Quite a few rules of ad block are just matching domains. Those
are of the form:
||trolltech.com^$options
This patch add a new class to deal with this kind of filter,
AdBlockHostMatcher. Matching a host address is much faster (O(1))
than going through the entire list of rules.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
(BookmarkOwner)
|
|\ \ |
|
| |/ |
|
|\ \
| |/
|/|
| | |
git://gitorious.org/rekonq/mainline into m173
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
moment)
- Drag accepted from the panel
- Move two classes to a separate file
Partially fixed :
CCBUG: 226479
|
|\ \
| | |
| | |
| | | |
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.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
- bk icon on the left
- bookmarks loading improvements
- smooth scrolling
- NewTabPage class refactored
- bug fixes
|
| | |
|
| | |
|
| |
| |
| |
| | |
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
|