1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 19:12:11 +01:00
Commit Graph

188 Commits

Author SHA1 Message Date
Vladislav Tronko
65667b95db Change background image instantly and for all speed dials 2016-03-07 14:22:08 +02:00
David Rosca
f46364bc55 Fix typo changeOcurred -> changeOccurred 2016-02-26 10:43:34 +01:00
David Rosca
7391a6403c Change qupzilla.com links to https 2016-01-02 12:38:16 +01:00
David Rosca
d6f478be7e Remove qtwebkit-plugins 2015-10-16 23:18:39 +02:00
srazi
3fd23a54cb Plugins: Added interface for extension's submenu to Tools menu, 2015-10-15 17:43:47 +02:00
David Rosca
5024ada696 Fix showing speed dials in bookmarks icon 2015-10-14 19:52:08 +02:00
David Rosca
dd71761854 Remove no longer used classes 2015-10-06 09:52:44 +02:00
David Rosca
9072cc65c6 WebView: Bring back context menu 2015-09-29 23:15:46 +02:00
David Rosca
f4fb888529 QzTools: Add pixmapToDataUrl() 2015-09-25 16:04:12 +02:00
David Rosca
ca6c20497f SpeedDial: Fix center speed dials option 2015-09-24 17:58:25 +02:00
David Rosca
7c4d44aa54 SpeedDial: Fix saving settings without changing dials
Closes #1689
Closes #1680
2015-09-05 21:12:54 +02:00
David Rosca
328ab40304 SpeedDial: Fix setting background image 2015-09-05 21:08:44 +02:00
David Rosca
832bd37114 SpeedDial: Implement loading page thumbnails
QWebEngineView must be visible in order to grab page contents, so
loading thumbnails is creating a new background window that is loading
the page.
2015-08-28 20:55:10 +02:00
David Rosca
fc204b3b46 SpeedDial: Fix to work with QWebChannel
Page thumbnails are not yet implemented, otherwise it more or less
works.
2015-08-28 19:25:45 +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
b83c845bab PluginInterface: Replace createRequest with acceptNavigationRequest 2015-05-24 21:41:09 +02:00
David Rosca
b6fcfba09a SpeedDial: First try to port it to QtWebEngine
It now just loads the page, but it does not even correctly
shows all the dials.
2015-05-24 20:49:50 +02:00
David Rosca
60b2386a6e Initial port to QtWebEngine
This is first quick port to QtWebEngine, most of advanced features
are not working yet. Please read README.

For now, it will use separate profile directory as well as browser
session, that means you can use both QtWebEngine and QtWebKit versions
at the same time.
2015-01-27 11:01:52 +01:00
David Rosca
d0aafd78c0 SpellCheck: Fix loading dictionaries after user saves the spellcheck dialog 2014-11-15 11:54:33 +01:00
David Rosca
3962c63927 Plugins: Don't exclude allowed plugins from available plugins list
This fixes issue that the allowed plugin (enabled by user) would
disappear from the all plugins list (in preferences) after failing
to load on startup.
2014-10-26 17:10:24 +01:00
David Rosca
55b9f2c515 Fix building with Qt 4.7 on Linux 2014-10-18 17:05:29 +02:00
David Rosca
bcc9f3f431 Portable: Fix auto-loading saved plugins on startup 2014-10-16 12:24:48 +02:00
David Rosca
52f3811916 SpeedDial: Save using AutoSaver
Prevents losing dials in case of crash.
2014-09-29 18:23:42 +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
464f05962e Plugins: Use settings path without trailing slash 2014-09-16 15:20:09 +02:00
David Rosca
e4512ae14f [Click2Flash] Fix playing YouTube videos with Qt5
Closes #1283
2014-04-09 22:52: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
Mladen Pejaković
297090692f [Speller] Detect and properly display script variant
[ci skip]
2014-04-04 17:26:50 +02:00
nowrep
7f3d8ee786 [Cleanup] Split src/lib/webview into tabwidget, webkit and webtab folders 2014-03-31 14:54:08 +02:00
nowrep
b73751f497 [GreaseMonkey] Cleanup of GM_Downloader code 2014-03-31 12:37:24 +02:00
K0r5hun
8e0d849e01 Fix compile issue with plugins on msvc. 2014-03-19 14:38:16 +04: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
b4d2ced60f [CodeCleanup] Cleanup Mac #ifdefs 2014-03-13 15:58:39 +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
a61ce67d7c [SpellCheck] Cleanup: Speller class is now singleton
All spellcheck is now where it belongs, under spellcheck directory
2014-03-08 14:21:08 +01:00
nowrep
a7d382ee42 [Cleanup] Use QZ_WS_X11 only for X11 specific code
In other cases, use Q_OS_UNIX for determining UNIX platform.
UNIX platfroms without X11 should benefit from this commit, including
MAC and UNIXes on Wayland.
2014-03-03 14:47:47 +01:00
nowrep
5e4f703ef2 [Code] Renamed qz_namespace.h to qzcommon.h 2014-02-26 20:03:20 +01:00
nowrep
afae00e4a2 [Cleanup] Rename export macro to just QUPZILLA_EXPORT 2014-02-19 22:12:32 +01:00
nowrep
404fa68a1b [Cleanup] Renamed QupZilla class to BrowserWindow 2014-02-19 22:07:21 +01:00
nowrep
84eea976c2 [Building] Fixed building on OS/2 2014-02-13 20:17:56 +01:00
nowrep
018d7ec098 [MinGW] Some fixes for MinGW building 2014-02-10 20:49:54 +01:00
nowrep
cb99a3154e [SpeedDial] Fix issues with loading a missing preview on load
Missing previews are now loaded after the page has been loaded (from
JavaScript code), instead of loading being started on generating
initial script (from C++ code)
2014-02-03 23:50:53 +01:00
nowrep
260447e414 [coverity] Fixes for issues found by scan.coverity.com 2014-02-01 19:21:49 +01:00
nowrep
5230554943 [code] Coding style 2014-01-25 17:47:21 +01:00
nowrep
29b6b93dd4 [Portable] Portable mode can now be enabled with commandline option
It is not needed to rebuild for Portable mode.
However, it is still possible to enforce portable mode with
PORTABLE_BUILD build option.
2014-01-23 13:02:07 +01:00
nowrep
31afc8aee6 [KWalletPasswords] Build only with Qt4.
Also show better error message when loading plugin fails
2014-01-21 23:53:45 +01:00
Jonathan Hooverman
d917f43cf0 Updated copyright year to 2014 2014-01-11 16:11:42 +01:00
nowrep
da15e5868d [CodingStyle] Don't use references when assigning to local variable
Let the compiler do the optimization
2013-12-30 13:43:48 +01:00
nowrep
3d4da9e4ea [FileDialogs] Remember last path in all dialogs
Closes #1075
2013-12-25 19:06:58 +01:00
nowrep
f465157897 SpeedDial: Google.com is no longer in default pages
See #1079
2013-11-06 17:17:49 +01:00
nowrep
18baba4489 Correctly set fileName member of Plugin struct.
Thanks to char101
Closes #1020
2013-09-10 15:52:18 +02:00
nowrep
25834dea06 SpeedDial: Replaced facebook with duckduckgo as default page
Closes #990
2013-08-12 10:34:35 +02:00
S. Razi Alavizadeh
d3cb32247a [RTL Layout] Set layoutDirection of widgets with LTR contents to LTR, for having a better look.
- closes #971
2013-07-11 20:48:32 +04:30
Jonathan Hooverman
4848def230 Modified copyright year 2013-07-11 16:21:57 +02:00
nowrep
a172327992 [Plugins] Added InitState to plugin's init() function 2013-05-24 11:03:16 +02:00
nowrep
f8ee9a4b9c [PasswordManager] Small cleanups + offer plugins to add new backends. 2013-05-15 20:05:45 +02:00
laoch
ad33d353af Fix issue with missing semicolon with portable Windows builds. 2013-04-17 08:46:19 -05:00
nowrep
901bdac85d [Plugins] Added possibility to unregister scheme handlers.
It is important to unregister scheme handler when unloading
a plugin, otherwise it will crash on next createRequest call.
2013-04-12 18:05:45 +02:00
nowrep
672c388407 [Plugins] Print error message when failed to load plugin.
Prints QPluginLoader's error message to the stderr.
2013-04-12 17:49:22 +02:00
nowrep
83b7f6d1c0 [Portable] Save loaded plugins with relative path.
It is now possible to correctly load plugins even when
eg. disk label on Windows changes.
2013-04-11 23:26:12 +02:00
nowrep
1e6b9a915d [Build] Use pkg-config only on linux. 2013-03-14 15:29:12 +01:00
nowrep
c36e13da32 Fixed previous commit. 2013-03-11 17:38:21 +01:00
nowrep
adcb8570ed Added Yu Hai into translators. 2013-03-11 17:19:11 +01:00
nowrep
8bff746d30 [AdBlock] Blocking netscape plugins even without C2F enabled.
Closes #791
2013-03-11 14:42:23 +01:00
nowrep
5f5cf7417d [Code] Updated coding style with patched Astyle + normalized signals.
Code was formatted with patched astyle that correctly formats
foreach macro.
Normalize tool is now used to normalize all signal/slots signatures
to normalized format. It saves few reallocations on connections.
2013-03-06 09:08:29 +01:00
nowrep
d885444501 [Code] Use QVector instead of QList for elements bigger than pointer. 2013-02-26 12:56:11 +01:00
S. Razi Alavizadeh
bb9bccf580 Added 'MacToolButton' as a replacement for QToolButton on Mac 2013-02-21 01:09:26 +03:30
nowrep
3b3e62cd76 [code] Explicitly set UTF-8 codec when using QTextStream.
Fixes encoding issues on Windows.

Closes #769
2013-02-20 19:50:59 +01:00
nowrep
8ec59bf8b0 [Windows] Linking to system hunspell library 2013-02-18 19:09:29 +01:00
nowrep
4f53179752 [Qt5] Fixed building with Qt5. 2013-02-18 13:37:12 +01:00
nowrep
e4ebeb3252 [Code] Use QString::SkipEmptyParts in QString::split. 2013-02-15 12:36:25 +01:00
nowrep
00cf5cdbd2 Exporting SpellCheck classes + fixed some translation issues. 2013-02-10 10:28:13 +01:00
S. Razi Alavizadeh
e1e62db4c4 Updated .gitignore and fixed a typo 2013-02-09 14:47:26 +03:30
nowrep
312a86d584 [spellcheck] Fixed adding some words into user dictionary. 2013-02-07 13:43:37 +01:00
nowrep
7c9d7fd25c [spellcheck] Enable SpellCheck on Windows by default. 2013-02-06 13:11:26 +01:00
nowrep
785b9fcdbe [spellcheck] Fixed replacing words in multiple lines text. 2013-02-06 12:06:35 +01:00
nowrep
0a7773bec1 [spellcheck] Added dialog with spell check settings. 2013-02-05 22:31:16 +01:00
nowrep
c3a0e1f13a [spellcheck] Added context menu options to replace misspelled words.
And also to add word into user dictionary.
2013-02-05 20:43:53 +01:00
nowrep
074bd928c7 [spellcheck] Adding Speller object into MainApplication. 2013-02-05 15:41:10 +01:00
nowrep
47eecba4da Added QtWebKit platform plugin for notifications and spellcheck.
It's mostly just copied implementation from qtwebkit-plugins repo.
Spellcheck is only very basic.

Spellcheck will be automaticaly compiled if pkg-config detects
installed hunspell library.
2013-02-03 18:14:57 +01:00
nowrep
949bfe42ed GreaseMonkey: Reload scripts on when source file changes.
Closes #729
2013-01-30 14:12:09 +01:00
nowrep
25cf1eedc4 Fixed broken Click2Flash from previous commit.
Broken by mistake in e28f9d438e
2013-01-24 00:00:57 +01:00
nowrep
e28f9d438e [Code] qz_ prefixed functions moved to QzTools namespace. 2013-01-22 19:04:22 +01:00
nowrep
44693080cb Qt5: Fixed Q_WS_X11 macro usage 2012-12-22 12:47:45 +01:00
nowrep
89e091f09c Qt5: Main code has been edited to support both Qt4 and Qt5
It doesn't include plugins yet.
Even thought the app can be built with Qt5 now, it won't run.
I am still working on a fix.
2012-12-20 14:45:35 +01:00
nowrep
62ac0e2fde More QLatin1String and QLatin1Char work 2012-09-05 19:58:07 +02:00
nowrep
528f398cbe Using QLatin1String and QLatin1Char now everywhere
- it saves few unnecessary allocations
2012-09-04 12:42:45 +02:00
nowrep
7b21bf61f1 Q_OS_X11 macro is invalid in both Qt 4 & 5.
- so for now, use just Q_WS_X11
2012-09-04 10:54:39 +02:00
nowrep
c7cdaf824f Qt5: Changing Q_WS_* macros to Q_OS_*
- Q_WS_* macros have been removed in Qt 5
2012-09-03 23:03:20 +02:00
nowrep
b2181f0bab Coding style: Use empty QString() constructor instead of "" everywhere 2012-09-02 11:42:41 +02:00
Mladen Pejaković
69cf0c1c8c Add possibility to choose whether to center the speed dials or not 2012-07-29 20:58:23 +02:00
nowrep
2396f55068 Speed Dial: Fixed issues with ' and " characters in input fields
closes #455
2012-07-14 16:19:33 +02:00
nowrep
274c234988 Fixed building on Windows + updated v1.3.0 tag 2012-07-12 10:44:46 +02:00
nowrep
ac36261549 Plugins: Calling unload() on app shutdown. 2012-07-08 14:03:50 +02:00
nowrep
7fee7053d4 Plugins: New method in API (createRequest in network manager) 2012-07-08 00:15:03 +02:00
nowrep
dd170f653f Using QChar instead of 1-char QString everywhere 2012-07-01 18:50:18 +02:00
nowrep
6228082225 AdBlock: Support for $object $subdocument and $xmlhttprequest options
- also there's now support for blocking all netscape plugins,
  not just flash plugin
2012-07-01 12:07:00 +02:00
nowrep
e471bfd5d4 AdBlock: Support for adding new subscriptions.
- you can add subscriptions in AdBlock dialog or with
  abp: scheme links

- however, AdBlock rules are not yet optimized for performance
  so you shouldn't add too much subscriptions
  performance optimizations will come in next commits
- support for element hiding is still yet to come too

closes #266
2012-06-24 23:46:32 +02:00
nowrep
bacca991e0 SpeedDial: fixed removing bg image when changing background position 2012-04-25 11:20:41 +02:00