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
David Rosca
176b31198e
Plugins: Set plugin as parent for all created actions
...
This fixes crash on Windows when unloading plugin and then showing a menu
where the plugin action was.
There is still crash on exit in that case.
2015-10-22 20:54:42 +02:00
Philipp Wiesemann
59ba849e8f
Fix typos in messages
2015-10-22 20:53:06 +02:00
srazi
33553a049a
TabManager: Add an option to use it as main tabbar replacement.
...
- Note: in `TabBar::setVisible()` we didn't need to
check `(visible && m_window->isFullScreen())` because tabbar's
visibility in fullscreen mode is managed by m_navigationContainer.
2015-10-22 20:50:35 +02:00
David Rosca
cefe1bce54
Remove remaining Qt 4 code
2015-10-15 17:57:03 +02:00
srazi
e604120f49
FCM, TabManager: add them to extension sub-menu.
2015-10-15 17:44:13 +02:00
David Rosca
1c63a90e1a
SBI_Proxy: Remove option to set NoProxy
...
QtWebEngine doesn't support NoProxy option, it will always
try to use SystemProxy if no proxy is specified
2015-10-15 11:33:48 +02:00
David Rosca
1a068e8c7d
Use QWebEnginePage::RequestClose action to close tabs
...
It is no longer to use hacky onbeforeunload javascript handling when
closing tabs.
2015-10-12 12:07:01 +02:00
David Rosca
b6b7edd187
Use shorter code for QString().arg(int)
2015-10-09 20:42:25 +02:00
David Rosca
0f6720a32c
Bring back KWallet password backend test
2015-10-09 11:35:57 +02:00
David Rosca
3f3d202194
AutoScroll: Fix position of scroll indicator when site notification is visible
2015-10-08 23:51:14 +02:00
David Rosca
d0f662d599
GreaseMonkey: Use url interceptor for downloading scripts
2015-10-08 23:32:18 +02:00
David Rosca
db058ff194
Remove use of QNetworkRequest in LoadRequest
2015-10-06 09:46:23 +02:00
David Rosca
4d5808d915
Bring back AutoScroll plugin
...
This time implemented in C++ and not with userscript. There
is also no support for scrolling inside frames.
2015-10-02 15:36:07 +02:00
David Rosca
74e02dd1e3
Revert "Bring back AutoScroll plugin"
...
This reverts commit fa2779e6b9
.
2015-10-02 14:48:25 +02:00
David Rosca
66d0fa588d
Enable out of dir plugins
2015-10-02 14:29:49 +02:00
David Rosca
97ba8c6af3
Bring back PIM plugin
2015-10-02 14:13:21 +02:00
David Rosca
75fe50ca48
Bring back MouseGestures plugin
2015-10-02 11:14:10 +02:00
David Rosca
9f36401be9
Use QWebEngineSettings::defaultSettings instead of globalSettings
2015-10-01 18:02:36 +02:00
David Rosca
9072cc65c6
WebView: Bring back context menu
2015-09-29 23:15:46 +02:00
David Rosca
a115d91564
Remove Caret Browsing option
...
No longer available with QtWebEngine
2015-09-25 17:45:47 +02:00
David Rosca
67b5a5337b
Another cleanups
...
Includes enabling again SpeedDial integration in Bookmarks
star icon in locationbar.
2015-09-25 17:02:14 +02:00
David Rosca
f4fb888529
QzTools: Add pixmapToDataUrl()
2015-09-25 16:04:12 +02:00
David Rosca
fa2779e6b9
Bring back AutoScroll plugin
2015-08-30 21:15:18 +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
a745e4776f
Fix build with Qt 5.5rc
2015-06-24 10:46:57 +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
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
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
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
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
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
e60df0c9f4
MouseGestures: Fix warning about duplicated label names in settings dialog
2014-11-29 13:07:51 +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
478b5ddb84
Use open() instead of exec() in all dialogs
...
Avoid blocking exec().
Closes #1515
2014-11-07 18:08:12 +01:00
David Rosca
d29861fdff
Windows: Fix crash when unloading AutoScroll plugin
2014-10-19 20:25:54 +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
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
13b1614e11
Use std::sort instead of obsolete qSort
2014-09-25 14:13:26 +02:00
David Rosca
bbc6c72608
KWalletPasswords: Fix build with Qt4
2014-09-23 23:03:54 +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
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
04880e9a9e
Pulled translations from Transifex
2014-07-15 10:16:30 +02:00
David Rosca
ac52b742b2
Convert all source files in src/* to Unix file ending
2014-06-15 23:35:39 +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
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
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
e7646f1fbe
Pulled translations from Transifex
2014-05-04 21:02:20 +02:00