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

481 Commits

Author SHA1 Message Date
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
David Rosca
6bf9ae104f Updated translation strings
[ci skip]
2014-05-04 20:56:01 +02:00
David Rosca
5f8ac0b70a [GreaseMonkey] Fix coding style 2014-05-02 13:38:54 +02:00
David Rosca
6ac5b913e0 [Translations] Removed sr@Ijekavian translations (with capital I)
[ci skip]
2014-04-26 16:21:31 +02:00
David Rosca
445747155f [GreaseMonkey] Fixed downloading scripts to correct directory 2014-04-26 13:21:39 +02:00
David Rosca
2bbde2a3a8 [Translations] Pulled translations from Transifex 2014-04-26 13:03:47 +02:00
David Rosca
535cc3e73a [QzCommon] Move constants initialization into source file (.cpp)
Plugins are now checking for a match of version that were built with
in Plugin::testPlugin() function.
2014-04-17 15:20:54 +02:00
David Rosca
e9a9a768cc [TabbedWebView] Make sure to not crash with invalid m_window pointer
This is followup to properly handle detached WebTab (outside
BrowserWindow)

[ci skip]
2014-04-11 22:23:42 +02:00
nowrep
463fa96e04 [Build] Fixed building with Qt5 2014-04-06 13:50:09 +02:00
nowrep
1b01e7469f [MouseGestures] Bump plugin version
[ci skip]
2014-04-05 17:54:26 +02:00
David Sterba
3360f17735 [MouseGestures] Configurable mouse gesture button
UI changes:
* the Settings dialog offers a combo box to select left and right
  mouse buttons, or disable the gestures completely
* changes are permanently saved
* OK button is added

Closes #386
Closes #1280

It is now also possible to enable/disable rocker navigation.

Closes #1234
2014-04-05 17:46:05 +02:00
nowrep
f69c8645fb [MouseGestures] Implement "Rocker navigation"
Left+Right click - Forward
Right+Left click - Back

It is currently disabled by default and there is no GUI to enable it.
2014-04-05 17:04:41 +02:00
nowrep
6874df57d7 [Coding Style] Edited coding style (use linux style brackets)
Linux style brackets are now used also for source files.
One line blocks can now be without brackets.

Example:

if (test)
    foo();

Multi-line if statements are now written with conditionals (||, &&, ...)
at the end of line. The last line of if body does not ends with closing
bracket, instead the closing bracket is written on separate line.
One line blocks in multi-line if statements should not be without brackets.

Example:

if (test ||
    test2 &&
    test3
   ) {
    foo();
}

[ci skip]
2014-04-05 14:53:45 +02:00
nowrep
84f117e68e [AutoScroll] Fixed AutoScroll plugin after recent commits
Use WebView::overlayWidget for showing widgets over WebView
2014-04-01 16:32:55 +02:00
nowrep
b73751f497 [GreaseMonkey] Cleanup of GM_Downloader code 2014-03-31 12:37:24 +02:00
nowrep
a059c005ff [SBI_Icons] Added Zoom Widget to StatusBarIcons plugin
Closes #1197
2014-03-29 15:49:49 +01:00
nowrep
d6625c60fb [SBI_Icons] Update JavaScript icon state on startup 2014-03-29 15:48:50 +01:00
nowrep
9c67d874e7 [Translations] Updated plugins translations 2014-03-29 15:47:38 +01:00
nowrep
3d23f3eb02 [WebTab] Move more code into WebTab, instead of handling in TabWidget/TabBar
This also fixes showing tab icon after detaching tab
2014-03-18 20:00:34 +01:00
nowrep
b9c58b14b3 [AutoScroll] Force ArrowCursor when scrolling 2014-03-16 14:56:09 +01:00
nowrep
fe0b03fdb7 Include QDebug in qzcommon.h
It's annoying to always include it just to remove a moment after...
2014-03-16 13:22:41 +01:00
nowrep
9fda55d86d [StatusBarIcons] Fixed crash when restoring session
All icons have now same parent SBI_Icon
2014-03-13 12:06:28 +01:00
nowrep
34cb20e82a Updated translations 2014-03-10 20:55:31 +01:00
Mladen Pejaković
ecfc987b4f [Translations] Update Serbian language 2014-03-10 19:47:27 +01:00
nowrep
2e9ce1ba90 [CodeCleanup] Major cleanup in MainApplication class 2014-03-10 00:47:07 +01:00
nowrep
969f262cf8 [DataPaths] Don't add trailing slash to paths
Qt API is not adding trailing slashes to dir paths either.
2014-03-09 22:17:13 +01:00
nowrep
214279e3bb [DataPaths] Added new class DataPaths
This class holds all paths now (instead of MainApplication)
Renamed ProfileUpdater -> ProfileManager
ProfileManager is now responsible for all operations with profiles
2014-03-09 21:51:42 +01:00
nowrep
edbb87bd1f [CodeCleanup] IconProvider now have static methods for getting icons 2014-03-07 18:03:42 +01:00
nowrep
74883f8af4 [Building] Use QZ_DESTDIR variable for $SRC/bin directory
Should fix problems with shadow builds.
Closes #1252
2014-03-04 15:14:19 +01:00
nowrep
82ca226127 [Code] Use QTime::elapsed() for timing 2014-03-03 12:55:35 +01:00
nowrep
404fa68a1b [Cleanup] Renamed QupZilla class to BrowserWindow 2014-02-19 22:07:21 +01:00