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

480 Commits

Author SHA1 Message Date
David Rosca
23af6c3af7 Fix drawing correct text color in custom item views 2016-12-26 19:41:06 +01:00
David Rosca
1881a800bf AutoScroll: Disable on frames
It doesn't support scrolling outside main frame, so just disable
it on frames so middle clicking links is possible.
2016-12-26 13:13:40 +01:00
David Rosca
5d2ffc30d1 FlashCookieManager: Operate on PepperFlash cookies 2016-12-24 00:25:28 +01:00
David Rosca
9626eac48e Update translations 2016-12-21 21:53:39 +01:00
David Rosca
96634f7f85 Update translations 2016-10-24 22:14:22 +02:00
David Rosca
9e1c6312cb Fix connecting to WebView::iconChanged 2016-10-24 21:43:31 +02:00
David Rosca
f7835b7ba8 Merge branch 'v2.0' 2016-10-24 20:04:27 +02:00
David Rosca
5d60037e71 Update translations 2016-10-24 17:25:44 +02:00
David Rosca
7fff4b627b MouseGestures: Use same code to create new tab as BrowserWindow
Closes #2089
2016-10-19 09:43:56 +02:00
David Rosca
704933f34c Pull translations from transifex 2016-09-21 16:15:02 +02:00
srazi
d4facf2806 TabManager: Add quick filter/switch support.
- Also key navigation support was added.

- Closes #2063
2016-08-29 12:48:31 +04:30
David Rosca
0b99d45d10 Pull translations from transifex 2016-08-23 09:10:32 +02:00
Marti Martz
18ab4f2a7b GM WIN: Add CR to detection (#2027)
* WIN: Add CR to detection

Saving in Notepad++ with Windows line ending prevents script injection

Post fix for #1964 and some vague references at ce67c7a455

* Add some more line ending checks

* Windows ends in CR and OS Ⅸ compatible uses CR+LF ... OS Ⅹ/*nix uses LF
* Fix pre-existing bug with `\n' with string split for Windows ... tested only on Linux *(Qt 5.6.1)* with Unit Tests so far

Applies to #2027 and post followup for #1964

* Use default Left-associative for pipe (logical or)

* Specific first then general after e.g. flip them ... helps avoid a false injection match with a control character at the beginning with older editors *(may include OS2)*

Applies to #2027 and post followup for #1964
2016-08-15 14:24:00 +02:00
Marti Martz
9f298c352b GM WIN: Add CR to detection (#2027)
* WIN: Add CR to detection

Saving in Notepad++ with Windows line ending prevents script injection

Post fix for #1964 and some vague references at ce67c7a455

* Add some more line ending checks

* Windows ends in CR and OS Ⅸ compatible uses CR+LF ... OS Ⅹ/*nix uses LF
* Fix pre-existing bug with `\n' with string split for Windows ... tested only on Linux *(Qt 5.6.1)* with Unit Tests so far

Applies to #2027 and post followup for #1964

* Use default Left-associative for pipe (logical or)

* Specific first then general after e.g. flip them ... helps avoid a false injection match with a control character at the beginning with older editors *(may include OS2)*

Applies to #2027 and post followup for #1964
2016-07-17 09:31:25 +02:00
Martii
fc2ae4c4dd Brute crush all pngs
* Making the footprint a little smaller
2016-05-12 12:47:46 -06:00
David Rosca
c004d52db1 Run js code in ApplicationWorld with QtWebEngine 5.7 2016-05-10 10:47:35 +02:00
Marti Martz
ce67c7a455 GM: Detect properly the UserScript metadata block on parse (#1964)
Eliminates some false positives
2016-05-10 10:10:52 +02:00
David Rosca
4a60521e7d Update translations 2016-05-03 16:52:59 +02:00
Marti Martz
707004a85b GM: Detect properly the UserScript metadata block on parse (#1964)
Eliminates some false positives
2016-05-03 16:50:11 +02:00
David Rosca
f93ea0e199 Fix use of deprecated QStyleOptions 2016-04-24 10:49:54 +02:00
David Rosca
56399c0fab Fix use of deprecated QStyleOptions 2016-04-24 10:17:13 +02:00
TheRoid
f9e6a7911a Update mousegestures.cpp (#1950)
Update mousegestures.cpp so that LocationBar is focused when opening a new tab
2016-04-20 10:12:10 +02:00
David Rosca
6c0f363eca Update translations
Closes #1938
2016-04-13 09:59:47 +02:00
David Rosca
e40f0a366c Update empty.ts translation files 2016-04-03 11:21:03 +02:00
David Rosca
7b48b34f8c Pull translations from Transifex 2016-04-03 11:19:13 +02:00
David Rosca
fc17444438 GM: Don't try to install userscripts from XHR
See #1903
2016-03-30 13:23:19 +02:00
David Rosca
a66e179b40 Misc fixes
Correctly initialize QJsonParserError
2016-03-30 11:53:41 +02:00
David Rosca
385f10e345 GM: Only download scripts when user clicks on link
Closes #1903
2016-03-30 08:40:00 +02:00
David Rosca
11792ee778 GM_Downloader: Fix missing emit error()
@trnkava1
2016-03-20 20:02:15 +01:00
David Rosca
6eb0693e7d Remove FollowRedirectReply
QNetworkAccessManager now supports redirects, so there is
no need for it anymore.
2016-03-20 19:59:52 +01:00
David Rosca
2f91f81089 GM Settings: Fix redrawing items when script updating state changes 2016-03-20 19:22:26 +01:00
trnkava1
b0b2820180 Greasemonkey: add script updating
- Fixed parsing @updateURL/@downloadURL
- Updating is only manual
- User have to click on update button located in Greasemonkey settings
- Update works just like download
- New version is not being checked, original script is replaced
- Fixed coding style issues

Closes #1653
2016-03-20 19:05:26 +01:00
David Rosca
46e0b9d807 GreaseMonkey: Implement include/exclude matching
Somehow I was under false impression that QtWebEngineScript
takes care of the metadata parsing. It does not, so we must
run the script only on correct sites.
2016-02-29 17:18:45 +01:00
David Rosca
4f5d3193ae GreaseMonkey: Remove GM_UrlMatcher 2016-02-28 18:29:23 +01:00
David Rosca
a37fadd8dc Don't use C++11 for with Qt containers 2016-02-27 22:13:33 +01:00
David Rosca
c2b5b479a4 GreaseMonkey: Don't assume metadata block is at the start of script
See #1869
2016-02-27 17:59:27 +01:00
David Rosca
0da388f206 GreaseMonkey: Add support for run-at: document-idle 2016-02-27 17:31:01 +01:00
David Rosca
7ac45b75d7 GreaseMonkey: Remove old url from plugin description
Closes #1869
2016-02-27 17:14:03 +01:00
David Rosca
a262de8239 Fix build 2016-02-15 17:36:32 +01:00
David Rosca
6e10e6ac92 Update translations 2016-02-15 10:10:03 +01:00
David Rosca
54f3e78396 Fix grammar "Are you sure to..." -> "Are you sure you want to..." 2016-02-15 09:58:14 +01:00
Vladislav Tronko
f7aee14343 Typos: extra semicolons 2016-02-14 22:31:28 +02:00
Vladislav Tronko
b311902cf3 Added action with all in one image search engines 2016-01-20 19:44:22 +02:00
David Rosca
20f35c8a8d Merge pull request #1833 from innermous/feature-imagefinder
Feature: ImageFinder plugin
2016-01-20 17:00:16 +01:00
innermous
2cc2c26c84 Feature: ImageFinder plugin 2016-01-17 01:13:00 +02:00
Kevin Kofler
4a746c0ebe Default to NoProxy rather than HttpProxy
The HttpProxy setting neither makes sense nor works without a concrete
proxy being set. So default to something that has any chance of working
without manual configuration. If you need an HTTP proxy, you will have
to configure it anyway.
2016-01-14 02:47:32 +01:00
David Rosca
4a8d8fde59 Fix build with latest Qt 5.6 snapshot
Closes #1797
2015-12-09 19:33:54 +01:00
David Rosca
d0129202dd FlashCookieManager: Drop support for plugin out-of-tree
No longer needed as it is now official plugin and only causes problems.
2015-11-04 23:11:29 +01:00
Philipp Wiesemann
0e47899791 GreaseMonkey: Fix GM_listValues() listing nothing
The function GM_listValues() got broken when the source file "values.js"
was minimized into "values.min.js" because the optimizing tool was not
aware that the string containing the placeholder (%1) is not final and
will be changed later. It optimized away the expression which gets the
length of the string and replaced it with its static value (2). This was
a problem because not the length of the placeholder (%1) but the length
of the current script id is needed to extract prefixes from the keys in
the local storage. Failing to correctly extract the prefixes prevented
finding the entries for the current script. This was fixed by comparing
prefixes without extracting new strings. It works around the need to get
the length of the id string and therefore the breaking optimization.

An unrelated and redundant variable declaration was also removed.
2015-10-23 22:45:21 +02:00
David Rosca
044bc89326 TestPlugin: Update comments 2015-10-22 20:54:58 +02:00