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

182 Commits

Author SHA1 Message Date
David Rosca
16b28a3a90 Preferences: Remove not working options
Also fix disabling local cache
2015-09-29 10:55:24 +02:00
David Rosca
5ba8f4dbb6 ProfileManager: Make appropriate functions static 2015-09-28 20:44:15 +02:00
David Rosca
24de161ad1 DataPaths: Use XDG paths + add Cache path
Also drop support for old deprecated config paths.

Closes #1411
2015-09-28 20:41:01 +02:00
David Rosca
7adc31337b Make afterLaunch settings enum 2015-09-28 14:51:38 +02:00
David Rosca
94bac52e1f Changed CookieManager, SiteInfo and Preferences to QWidget
For some reason, QzTools::setWmClass on SiteInfo resulted
in all webviews turning black.
2015-09-25 22:31:04 +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
86a4f3d724 Remove support for transparent background 2015-08-31 21:40:08 +02:00
David Rosca
c08a584333 Set correct paths for cache and persistent data
Also disable persistent data storage when in private mode
2015-05-22 21:49:00 +02:00
David Rosca
8c068b1f87 Preferences: Fix font settings 2015-02-08 11:38:38 +01: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
63b7e41713 Save geometry of Preferences window
Closes #1514
2014-11-10 12:05:49 +01:00
David Rosca
4320eb202f Fixed "Open blank tab" on new tab option on OS/2 2014-11-08 11:54:46 +01: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
21fb7bff31 Preferences: Don't crash when opening with null BrowserWindow
Closes #1488
2014-10-07 16:15:23 +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
David Rosca
2efc6914e5 Revert "[DNT] Enable sending DoNotTrack header by default"
This reverts commit 12948cd0a4.
2014-10-02 19:58:46 +02: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
857b020e85 [Preferences] Add button to open Search Engines Manager
Closes #1205
2014-07-08 19:17:42 +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 Sterba
683ec42736 [BrowserWindow] Enable single key shortcuts
Translate single keys to shortcuts:

1 - previous tab
2 - next tab
(basic Opera compatibility)

There are more to choose from, but 1 and 2 are probably the most used.
Full list:
http://help.opera.com/Windows/9.50/en/keyboard.html#single-key

Configurable in preferences/Keyboard shortcuts, off by default.

Closes #1172
2014-04-07 14:50:38 +02:00
nowrep
a059c005ff [SBI_Icons] Added Zoom Widget to StatusBarIcons plugin
Closes #1197
2014-03-29 15:49:49 +01:00
nowrep
e1661a88b5 [ClosedTabsButton] Hide by default
[ci skip]
2014-03-24 18:13:37 +01:00
Javier Llorente
539ade15b8 add es_ES language translated 2014-03-23 13:50:15 +01:00
nowrep
96b6743ac6 [ClosedTabsButton] New button in the right corner of tabbar
Added icon for Linux theme.
But it needs a new icon for other themes...
2014-03-17 15:04:58 +01:00
nowrep
a2de6e1627 [ShowStatusBar] Fixed settings to show/hide Status Bar
Closes #1259
2014-03-14 13:33:33 +01:00
nowrep
b4d2ced60f [CodeCleanup] Cleanup Mac #ifdefs 2014-03-13 15:58:39 +01:00
nowrep
50e8bb071f [NetworkCache] Fix path for network cache 2014-03-13 12:53:19 +01:00
nowrep
22452aa825 [CloseOnLastTab] Changed behavior of "Don't quit upon closing last tab" option
It is now "Don't close window upon closing last tab", as it is more
reasonable to bind it to window, not the whole app.

Instead of loading the url-on-new-tab, it now simply blocks closing last
tab
2014-03-12 22:31:33 +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
a3c3dead87 [CodeCleanup] Get rid of Qz::AppMessage enum 2014-03-09 12:54:07 +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
12948cd0a4 [DNT] Enable sending DoNotTrack header by default 2014-03-02 22:42:10 +01:00
Mladen Pejaković
5d23a21f37 [TabBar] Option to show/hide close button on inactive tabs. Closes #1220 2014-02-23 14:49:32 +01:00
nowrep
404fa68a1b [Cleanup] Renamed QupZilla class to BrowserWindow 2014-02-19 22:07:21 +01:00
nowrep
9eb36830b2 [TabPreview] Disable tab previews by default
They are too intrusive, so don't force them by default
2014-02-12 11:28:18 +01:00
nowrep
dc6f71a1b8 [Preferences] Update default settings on some options
TabsOnTop: Enabled by default
DontLoadTabsUntilSelected: Enabled by default
AfterLaunch: Restore session is now default
2014-02-11 15:44:47 +01:00
nowrep
5b55d5b483 Add build option to disable new version checking
Closes #1184
2014-02-02 16:21:48 +01:00
David Rosca
b3031671bc Merge pull request #1129 from pejakm/undoredo
[WebView] Option to add Undo/Redo menu actions to forms
2014-01-17 12:43:30 -08:00
nowrep
7cb39aed0b [TabBar] Added option to always switch tabs using mouse wheel
It will switch tabs even when tabs are overflowing.
2014-01-12 16:39:23 +01:00
nowrep
0758ba39ab [LocationCompleter] Add option to enable/disable inline completion 2014-01-08 10:29:01 +01:00
Mladen Pejaković
6b5f62ecf3 [WebView] Option to add Undo/Redo menu actions to forms 2014-01-04 19:00:01 +01:00
nowrep
d2d7d89893 [Preferences] Correctly shows name for N'ko language 2014-01-04 11:14:48 +01:00
nowrep
e6fe3ad917 [OS/2] Another OS/2 build fixes 2014-01-02 15:26:44 +01:00
nowrep
d58ad2e6a1 [OS/2] Build fix 2014-01-01 23:15:50 +01:00
nowrep
b8cb20ced6 Revert "[Code] Use QDir::separator() instead of hardcoded "/""
This reverts commit 4f059a75ee.

It is really not helpful at all (Qt will automatically use native
separators)
2013-12-27 15:09:42 +01:00
nowrep
4f059a75ee [Code] Use QDir::separator() instead of hardcoded "/"
QDir::separator() returns native separator (= "\" on Windows)
2013-12-26 20:52:21 +01:00
nowrep
f28eb82fb2 [FileDialogs] All file dialogs now remember last directory. 2013-12-26 20:49:59 +01:00
nowrep
3d4da9e4ea [FileDialogs] Remember last path in all dialogs
Closes #1075
2013-12-25 19:06:58 +01:00
nowrep
371250ff15 Preferences: Load autofill page on-demand
Don't ask for master password when preferences dialog is opened.
Only ask for it when user actually enters autofill page.
2013-07-14 22:29:47 +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
nowrep
7e00f73daf Define QzTools::setWmClass on all platforms.
Get rid of #ifdef's and make it do nothing on non X11.
2013-07-08 00:08:05 +02:00
nowrep
dccf8d9787 X11: Set correct WM_CLASS property to windows
Closes #968
2013-07-07 12:32:55 +02:00
nowrep
7001823511 Fixed crash when opening preferences and not loaded passwords manager 2013-06-05 00:06:23 +02:00
nowrep
05ca29715f [LocationBar] Option to always show go icon.
Also removed unused m_drawCursor member variable.
Closes #914
2013-06-05 00:02:43 +02:00
nowrep
0c7dea70fd [Oxygen] Use preference icons from theme if available. 2013-06-02 17:37:38 +02:00
Mladen Pejaković
aac0956a0f Add spatial navigation option 2013-04-23 13:31:29 +02:00
nowrep
35ceee25ee [Preferences][Win] Changed labels on "Set as default" button.
Also renamed QtSingleApplication::removeLockedFile to removeLockFile
2013-04-05 11:39:19 +02:00
nowrep
08f3456e28 [Preferences] Fixed size of dialog on low-res screens.
Preferences content moved into QScrollArea
Closes #818
2013-04-01 15:06:32 +02:00
nowrep
a9326eadc5 Added support for Proxy Auto-Config (PAC).
.pac files will be downloaded and executed to get
proxy configuration for each url.

Closes #747
2013-03-29 19:22:55 +01:00
nowrep
e3efd6e08e [Fonts Preferences] Fixed saving Cursive font family. 2013-03-18 22:55:18 +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
021e6315e0 Preferences: Fixed showing current language in languages menu. 2013-02-24 13:20:54 +01:00
nowrep
ecfb784c92 Preferences: Adjust size to current page on page change. 2013-02-20 19:50:03 +01:00
nowrep
e4ebeb3252 [Code] Use QString::SkipEmptyParts in QString::split. 2013-02-15 12:36:25 +01:00
nowrep
a1a8fb90f5 Added option to choose where to store network cache. 2013-02-10 14:50:18 +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
b97d1eeef5 Revert "Add new option "Ignore system colors" for dark themes."
This reverts commit 4b2fd86fdd.
2013-01-31 11:53:48 +01:00
nowrep
4b2fd86fdd Add new option "Ignore system colors" for dark themes.
It will set default background of html element to white.
However, this may break some sites, so let's just make this
optional.
2013-01-31 02:08:28 +01:00
nowrep
4f906fc515 Cleanup in locationbar progressbar settings in preferences. 2013-01-29 14:47:11 +01:00
nowrep
eb583d429b New dialog in preferences: HTML5 Permissions
Show all sites that will have permanent permissions (be always
blocked) to show desktop notifications / use geolocation.
2013-01-28 18:20:36 +01:00
nowrep
c1c1b4130e New option "Open new empty tabs after active tab".
Closes #544
2013-01-25 23:49:46 +01:00
nowrep
498f24add1 [Code] Renamed AutoFillModel + new class PageFormCompleter. 2013-01-24 17:47:50 +01:00
nowrep
a34a72cdb8 Moved all cookies settings into Cookies Manager. 2013-01-23 01:34:15 +01:00
nowrep
e28f9d438e [Code] qz_ prefixed functions moved to QzTools namespace. 2013-01-22 19:04:22 +01:00
nowrep
14ca6e2f0d Added new macros for checking QTWEBKIT version.
QTWEBKIT_FROM_2_2 - >= 2.2.0
QTWEBKIT_TO_2_2   - < 2.2.0
QTWEBKIT_FROM_2_3 - >= 2.3.0
QTWEBKIT_TO_2_3   - < 2.2.0

It also check whether Qt5 is used and if so, it will
compile all features just like the QtWebKit version
was 2.3.0
2013-01-20 12:10:28 +01:00
nowrep
64a180d1fe Enable new features in QtWebKit 2.3.0
Also hiding new features in preferences if building
with older QtWebKit versions.
2013-01-09 18:47:36 +01:00
nowrep
151bba6293 Small changes in JsOptionsDialog 2013-01-09 13:52:12 +01:00
Mladen Pejaković
ea604d5bca JavaScript privacy options 2012-12-28 01:17:01 +01:00
nowrep
bdc9a0417a Qt5: Added new option to use Caret Browsing
It can be enabled from Preferences -> Browsing,
Menu View or with F7 shortcut.
2012-12-22 13:52:46 +01:00
nowrep
44693080cb Qt5: Fixed Q_WS_X11 macro usage 2012-12-22 12:47:45 +01:00
nowrep
666f6678f3 Qt5: New option to turn Animated Scrolling
Feature similiar to "smooth scrolling"
2012-12-21 16:38:44 +01:00
S. Razi Alavizadeh
6b7e13a29d Fixed missing 'include' from default-browser commit 2012-12-07 15:47:54 +03:30
Mladen Pejaković
7b8786ae90 Fix index positions in preferences 2012-12-06 22:28:12 +01:00
Franz Fellner
4c33d3563d Add "Switch to Tab" mode for completion plopup, to just seitch to the tab
that displays the url currently completed.
Also add an option to disable the "switch tab" offer.
If enabled the user can press "Shift" to load the url in the current tab instead of switching tab.
I tried to copy behaviour of firefox. I hope I did not miss a bit...
2012-12-04 14:29:27 +01:00
S. Razi Alavizadeh
a81419921c Windows: Check to see if QupZilla is the default web browser.
-Added 'registerqappassociation.h' and 'registerqappassociation.cpp' that contain 'RegisterQAppAssociation' and 'CheckMessageBox' classes.
2012-12-01 10:27:55 +03:30
nowrep
85d09c8a64 Added option to disable Alt/Ctrl + numbers shortcuts
Closes #647
2012-11-28 11:27:30 +01:00
nowrep
7f62d2e602 Option to hide Reload/Stop buttons in navigation bar
closes #615
2012-10-20 11:31:45 +02:00
Franz Fellner
04e8df6e48 Add option to set a default search engine and use that for searching in address bar. 2012-09-27 11:59:09 +02:00
S. Razi Alavizadeh
703a41c0f4 Fixed showing 'Preferences' window without parent.
-issue: 'Preferences::saveSettings()' doesn't work without parent.
2012-09-19 21:40:25 +02:00
Franz Fellner
8723382b5c Add options to select color+style for progresss locationbar. 2012-09-19 10:08:30 +02:00
nowrep
2d5b0c0bc0 Don't check for null pointer before deleting objects.
- as delete 0 is safe
2012-09-11 11:43:11 +02:00
nowrep
a046ec4ece Show better icons in Preferences for oxygen icon theme
- only when oxygen icon theme is actually used
2012-09-05 19:58:30 +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
c71cf910cb TabBar: If not enough space, show close button only on current tab
- removed "Show close button on tabs" option as it is now redundant
2012-09-03 22:40:52 +02:00