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

2453 Commits

Author SHA1 Message Date
David Rosca
a0dd1ddcb7 AdBlock: Use one cache for all subscriptions
Added new class AdBlockMatcher that holds the cache of
all subscriptions with rules.
This moves the matching logic from AdBlockSubscription into
separate class.
It also fixes issue that CSS exception rules weren't able to
affect rules from different subscription.
2014-10-31 15:39:02 +01:00
David Rosca
613d18ed16 Remove hdi.de from list to force SSLv3 2014-10-28 13:04:00 +01:00
David Rosca
a70a03272f Building: Use system QtFtp module when available with Qt5
See #1503
2014-10-28 12:43:50 +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
d29861fdff Windows: Fix crash when unloading AutoScroll plugin 2014-10-19 20:25:54 +02:00
David Rosca
55b9f2c515 Fix building with Qt 4.7 on Linux 2014-10-18 17:05:29 +02:00
David Rosca
2c0582b9a1 LineEdit: Cleanup text edit actions code 2014-10-18 16:33:37 +02:00
David Rosca
ada212bc59 LineEdit: Fix text edit shortcuts not working on non-latin keyboard layout
This fixes Ctrl+C/V/X/A shortcuts in LocationBar and WebSearchBar

Followup to #1494
2014-10-18 16:33:21 +02:00
David Rosca
f6b679585e WebView: Fix text edit shortcuts not working on non-latin keyboard layout
Closes #1494
2014-10-17 18:37:18 +02:00
David Rosca
bcc9f3f431 Portable: Fix auto-loading saved plugins on startup 2014-10-16 12:24:48 +02:00
David Rosca
15bb39689c Remove History::optimizeHistory() function
It is no longer needed, this function was little confusing
as it actually only executed VACUUM.
Instead, execute VACUUM after clearing all history in
History::clearHistory()
2014-10-15 22:50:19 +02:00
David Rosca
1a54cda705 ClearPrivateData: Delete old favicons in Optimize DB option
This should help anyone having issues with slow loading of bookmarks
or searching in locationbar.
2014-10-14 17:49:04 +02:00
David Rosca
e5065185fd AdBlock: Add DuckDuckGo ad whitelist rules to custom list
Those rules cannot be deleted, but can be disabled.
Please consider not disabling those rules. Thanks!
2014-10-14 17:05:14 +02:00
David Rosca
26f466ed0d AdBlock: Don't block user triggered network requests
Disable AdBlock when user tries to load the url from locationbar,
clicking on link, opening new tab, ...
Only block web content not explicitly requested by user - images,
scripts, redirects, ...
2014-10-13 17:02:18 +02:00
David Rosca
a61e3ff0ad AdBlockTree: Fixed coloring CSS exception rules
CSS exception rules are now green (as exceptions) instead of
blue (as CSS rules)
2014-10-13 17:02:12 +02:00
David Rosca
ce528cfe66 CookieManager: Fix the title for "Filter 3rd Party Cookies" option
It actually should be "Allow 3rd Party Cookies". Also change
the default value to 0 = Allways allow 3rd party cookies.
2014-10-12 15:16:22 +02:00
David Rosca
160190dfb3 master branch is now 1.9.0 development version 2014-10-11 13:11:49 +02:00
David Rosca
5404985dba Do not force keyboard text navigation in editable elements
Keyboard text navigation is handled automatically by QtWebKit
in editable elements.
This fixes issue in some custom html code editors.

Closes #1489
2014-10-11 11:42:07 +02:00
David Rosca
ee3322c64a Fix crash when passing messages to running instance from commandline 2014-10-10 13:40:31 +02:00
David Rosca
30146476d6 Use bigger default font sizes 2014-10-08 22:12:22 +02:00
David Rosca
b6f913dafe HistoryMenu: Don't crash in aboutToShow() when m_window is null
Closes #1487
2014-10-07 16:19:30 +02:00
David Rosca
21fb7bff31 Preferences: Don't crash when opening with null BrowserWindow
Closes #1488
2014-10-07 16:15:23 +02:00
David Rosca
dac236d70b Mac: Add version info to Info.plist
Closes #1486
2014-10-07 11:10:36 +02:00
David Rosca
6390eb215b Mac: Fix crash on startup due to invalid m_mainMenu pointer
Closes #1485
2014-10-07 11:10:31 +02:00
David Rosca
aac873bbb6 Show error message when QSQLITE plugin is not available 2014-10-05 16:13:00 +02:00
David Rosca
6d06975ccb DataPaths: Coding style fixes 2014-10-03 09:21:40 +02:00
David Rosca
021b90f7b3 CookieManager: Switch to QDialog
This fixes issue when Cookie Manager may have been opened
under current window (eg. in Preferences)
2014-10-03 09:19:39 +02:00
S. Razi Alavizadeh
768e3ac143 Correct fix for #1479 and finally fix compile issue from two recent commits.
- Closes #1482
2014-10-03 04:04:59 +03:30
S. Razi Alavizadeh
a21d803b94 Fix compile issue after last commit. 2014-10-03 03:54:37 +03:30
S. Razi Alavizadeh
04721c6478 Make sure the Config and Temp pathes exist.
- Closes #1479
2014-10-03 00:34:09 +03:30
David Rosca
2efc6914e5 Revert "[DNT] Enable sending DoNotTrack header by default"
This reverts commit 12948cd0a4.
2014-10-02 19:58:46 +02:00
David Rosca
8506a2cce0 Added Ferhat AYDIN to translators 2014-10-01 20:41:19 +02:00
David Rosca
6cb8717fd6 Fix Internet Explorer Bookmarks Importer
It is now possible to select the whole Favorites folder
and it will now also import all subfolder structure.

Closes #1475
2014-09-30 21:08:54 +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
fdd38e81a0 Fix build on Mac 2014-09-28 11:58:26 +02:00
Dmitry Marakasov
9fcf8e677f Fix platform check
Include <QtGlobal> which defines Q_OS_* before the check, otherwise it may (and does on FreeBSD) work incorrectly
2014-09-26 23:18:56 +04:00
David Rosca
eec67d1941 Fix building with Qt 4.7 2014-09-26 19:28:24 +02:00
David Rosca
cf044356fa Version 1.8.0 2014-09-26 10:35:35 +02:00
David Rosca
35b2fb22b4 Remove unnecessary qDebugs 2014-09-26 09:53:45 +02:00
David Rosca
2730fd4b4a AutoFill: Fix completing forms after recent change
Fix regression from 3360a531f1
2014-09-25 21:03:55 +02:00
David Rosca
61bc7f4543 BookmarksIcon: Don't disable clicking on icon on qupzilla: pages 2014-09-25 18:47:32 +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
01b4fd971f MainMenu: Fix shortcuts for toggling sidebars 2014-09-25 17:36:51 +02:00
David Rosca
c0c435e197 Build: Fix setting QUPZILLA_VERSION define on non-unix platforms
[ci-skip]
2014-09-25 15:19:22 +02:00
David Rosca
68087d5a3f QzCommon: Export all static strings (appname, buildtime, ..) 2014-09-25 15:00:56 +02:00
David Rosca
04a977dfea Haiku: Remove setting QUPZILLA_PREFIX in defines.pri
It actually didn't work the way it was set
2014-09-25 14:57:36 +02:00
David Rosca
56dcdfe4a2 Mac: SuperMenu button is now available on Mac 2014-09-25 14:42:36 +02:00
David Rosca
e83d75f251 Mac: Re-enable system-wide menu menu bar 2014-09-25 14:27:25 +02:00
David Rosca
13b1614e11 Use std::sort instead of obsolete qSort 2014-09-25 14:13:26 +02:00
David Rosca
767e01fd22 Mac: Re-enable dock menu with New Tab, New Window and New Private Window actions 2014-09-25 14:09:26 +02:00
David Rosca
c607a2f717 FileMenu: Fix showing state of Work offline action 2014-09-25 14:05:54 +02:00
David Rosca
bbc6c72608 KWalletPasswords: Fix build with Qt4 2014-09-23 23:03:54 +02:00
David Rosca
3360a531f1 AutoFill: Rewrite AutoFill to complete each frame separately
Fixes crash from #1417
2014-09-19 13:16:02 +02:00
David Rosca
40e476e626 Coding style
[ci-skip]
2014-09-18 16:16:02 +02:00
David Rosca
545e0cd6b9 OperaImporter: Also import bookmark description and keyword 2014-09-18 16:10:50 +02:00
David Rosca
ef01247a80 OperaImporter: Set bookmark file filter to *.adr 2014-09-18 16:03:06 +02:00
David Rosca
c45b301844 LineEdit: Fix enabling Select All action
This fixes Select All action in LocationBar and WebSearchBar
2014-09-17 17:58:14 +02:00
David Rosca
8c8789a05f BrowserWindow: Always set "private" property to browser window
Set this property also when private mode is disabled
2014-09-17 16:19:27 +02:00
David Rosca
b8c5f6f75d BookmarksManager: Move cursor at the start in bookmark edit inputs
Title, Address, Keyword and Description inputs will now always
show the text from the start
2014-09-17 13:15:09 +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
357c5baec3 PageScreen: Fixed out-of-sync format combobox and filename input on Qt5
See #1454
2014-09-16 20:09:13 +02:00
David Rosca
e3a8e9edc9 PageScreen: Use Save dialog instead of Open dialog
[ci-skip]

Closes #1454
2014-09-16 18:05:00 +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
6ae0109115 AdBlockRule: Add copy() method
Faster method to copy rule than parse again the filter.
2014-09-16 10:38:28 +02:00
David Rosca
e8cddd16ea AdBlock: Add support for exception css rules
Closes #1446
2014-09-16 09:39:25 +02:00
David Rosca
ed866dc9a4 AdBlock: Add support for parsing CSS Element hiding exceptions
Those rules are however not supported at the moment.
2014-09-16 00:37:13 +02:00
David Rosca
6dcf8c598a AdBlock: Reload global user stylesheet after disabling/enabling AdBlock
It was needed to restart the browser to completely disable / enable
AdBlock.
2014-09-15 23:43:47 +02:00
David Rosca
8b3da86976 Unix: Use /tmp/qupzilla-$USER as temp path
It makes it possible to run QupZilla on more accounts at the same time
2014-08-31 12:52:01 +02:00
Niclas Rosenvik
ff57641c0b fix linking on qmake installations that use compile_libtool. 2014-08-17 17:08:06 +02:00
David Rosca
de4f7115f8 Merge pull request #1431 from kdave/preferences-ctrl-q
[Preferences] add option to set Ctrl-Q behaviour (Quit or nothing)
2014-07-23 21:36:48 +02:00
Oleg Shparber
272c0c7807 Refactor encoding menu creation
* Use of codec MIBs instead of names significantly decreases
  number of iterations
* Remove duplicated codecs
* Fix memory leaks which were caused by wrong parenting and
  empty menus
* Do not add separator if menu is empty
2014-07-22 01:02:08 -07:00
David Sterba
ed9625ab5e [Preferences] add option to set Ctrl-Q behaviour (Quit or nothing)
Motivated by #695 which targets broader task, Ctrl-Q behaviour is one
that stands out. Accidentally pressing it instead of Ctrl-W can have
disasterous consequences or is annoying. Other browsers provide either
generic keyboard shortcuts configuration (Opera) or an extension/plugin
to disable the behaviour (FF).

For the record of the usability demand:
https://code.google.com/p/chromium/issues/detail?id=59621
https://bugzilla.mozilla.org/show_bug.cgi?id=550559
2014-07-17 23:05:38 +02:00
David Rosca
04880e9a9e Pulled translations from Transifex 2014-07-15 10:16:30 +02:00
David Rosca
c18b656585 [CertManager] Added option to disable weak ciphers
Closes #1428
Closes #1278
2014-07-13 19:43:18 +02:00
David Rosca
7e7bdf61df Merge pull request #1415 from siduction-upstream/master
move the conditional settings up
2014-07-09 11:21:23 +02:00
David Rosca
a588d209a0 [PasswordManager] Save host also with port
Makes it possible to save different passwords for page.com and page.com:23

Closes #1416
2014-07-08 19:28:20 +02:00
David Rosca
9ed63f6323 [CloseDialog] Change text - there will always be more than 1 tab opened 2014-07-08 19:27:17 +02:00
David Rosca
857b020e85 [Preferences] Add button to open Search Engines Manager
Closes #1205
2014-07-08 19:17:42 +02:00
David Rosca
c4e0646915 [AdBlock] Add "Other..." entry in AddSubscription dialog
To make it less confusing how to add a subscription that is not
listed in known subscriptions.
2014-07-08 19:08:28 +02:00
Mladen Pejaković
5b6db60605 Clear Recent History dialog improvements
Closes #1326
2014-07-08 19:01:07 +02:00
David Rosca
6d66c5a470 [Fonts] Use own default font sizes 2014-07-08 18:38:02 +02:00
Mladen Pejaković
8f691905f0 [SpeedDial] Reload all dials menu action. Closes #1209 2014-07-08 18:29:52 +02:00
Mladen Pejaković
1a8ca567f9 [SpeedDial] Properly align 2014-07-08 18:27:18 +02:00
Mladen Pejaković
0f8bbe4777 [SpeedDial] Remove the padding (make it look like Opera's SD) 2014-07-08 18:26:56 +02:00
Mladen Pejaković
d5c7108f78 [SpeedDial] Cleanup 2014-07-08 18:26:43 +02:00
Mladen Pejaković
bc028e8a83 [Speed Dial] Enhancements 2014-07-08 18:26:25 +02:00
Mladen Pejaković
0d31785a4f [QupZilla pages] Darker background; Respect user's preference for font face and size 2014-07-08 18:26:09 +02:00
David Rosca
0334526a18 [StatusBarMessage] Close on mouse move/press
Closes #1393
2014-07-08 18:20:02 +02:00
Alf Gaida
ff0e5b8b2c /usr/lib vs /usr/lib/$arch-linux-gnu
* don't recommend qtchooser
* in case that /usr/lib/$arch-linux-gnu don't exists use /usr/lib
2014-07-07 23:20:39 +02:00
Alf Gaida
ca4acc48bf Fix and simplify library folder for unix
Using QMAKE_HOST.arch is not the best of all possibilities to do so:
<pre>
cd src/plugins/ && ( test -e Makefile || /usr/lib/i386-linux-gnu/qt5/bin/qmake /tmp/buildd/qupzilla-1.6.6.siduction.8/src/plugins/plugins.pro -nocache QMAKE_CFLAGS_RELEASE=-g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -Wformat\ -Werror=format-security\ -D_FORTIFY_SOURCE=2 QMAKE_CFLAGS_DEBUG=-g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -Wformat\ -Werror=format-security\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_RELEASE=-g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -Wformat\ -Werror=format-security\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_DEBUG=-g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -Wformat\ -Werror=format-security\ -D_FORTIFY_SOURCE=2 QMAKE_LFLAGS_RELEASE=-Wl,-z,relro QMAKE_LFLAGS_DEBUG=-Wl,-z,relro QMAKE_STRIP=: PREFIX=/usr -o Makefile ) && make -f Makefile
Project MESSAGE: QMAKE_HOST.arch: x86_64
Project MESSAGE: QT_ARCH: i386
Project MESSAGE: QUPZILLA_PREFIX:
Project MESSAGE: library folder /usr/lib/i386-linux-gnu
</pre>
(Build in a i386-build-chroot on a amd64 host)
2014-07-07 01:11:33 +02:00
Alf Gaida
7c7226b3f6 move the conditional settings up
make a comment about switching the Qt versions
remove commented out define for portable builds, there is a enviromental setting for it
remove the conditional define for w7api, its hard set anyway
2014-07-06 19:29:15 +02:00
Alf Gaida
efaf8a948f Trigger debug builds via environment 2014-07-06 13:28:43 +02:00
David Rosca
1d8c3460c9 [Preferences] Use better tooltip for single key shortcuts
Changed "search/find" -> "search on page"
2014-07-04 13:50:05 +02:00