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

286 Commits

Author SHA1 Message Date
David Rosca
ac3d9b0f9b Fix showing webview with Breeze style
Closes #1686
2015-11-12 16:38:39 +01:00
David Rosca
97ce417798 Fix use of QList::first() 2015-10-23 12:26:27 +02:00
srazi
ac48237eca Fix a rare crash. 2015-10-15 17:42:27 +02:00
srazi
dd5c5db142 Windows: After showing QZ window (1s delay) try to check as default and show dialogs as child of QZ window.
- Closes #1632
2015-10-15 10:10:29 +02:00
David Rosca
ccabc336c0 Fix crash when application style is externally changed
Closes #1707
2015-10-14 17:06:03 +02:00
David Rosca
1a87d443c0 WebTab: Fix pinning tabs that are not yet restored 2015-10-05 23:39:59 +02:00
David Rosca
8778ddc2dd Bring back support for setting AcceptLanguage header 2015-10-05 22:21:14 +02:00
David Rosca
4d05c1105a Bring back support for managing cookies 2015-10-05 22:03:53 +02:00
David Rosca
949faa5856 Add support for HTML FullScreen
Esc is used to leave fullscreen
2015-10-05 18:08:14 +02:00
David Rosca
637f38684d Settings: Bring back support for plugins (eg. Flash) 2015-10-05 17:29:09 +02:00
David Rosca
9cb66878ff Port to Qt 5.6 2015-10-05 17:20:53 +02:00
David Rosca
a1d9740caf Allow to start more instances of the same profile with --no-remote 2015-10-04 19:54:59 +02:00
David Rosca
939ebeb2c9 Guard against null QProxyStyle::baseStyle()
See #1686 #1707
2015-10-01 20:25:22 +02:00
David Rosca
9f36401be9 Use QWebEngineSettings::defaultSettings instead of globalSettings 2015-10-01 18:02:36 +02:00
David Rosca
b0da5ba755 Bring back NetworkManager class 2015-09-29 11:45:39 +02:00
David Rosca
16b28a3a90 Preferences: Remove not working options
Also fix disabling local cache
2015-09-29 10:55:24 +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
f28da4407f Remove pinnedtabs.dat on startup, not when saving session 2015-09-28 14:34:21 +02:00
David Rosca
6d37ab5ce4 Save pinned tabs per window if restoring session on start
No more pinned tabs restoring on wrong window. Also it is now possible
to have different pinned tabs on each window.
2015-09-27 18:54:19 +02:00
David Rosca
8521b782bd CommandLineOptions: Port to QCommandLineParser
This comes with removing all 2-chars short options,
only long options are now available.
That means there are no longer both "-nw, --new-window" options,
only "--new-window".
2015-09-09 23:37:43 +02:00
David Rosca
ff28f1f211 Another cleanup
- bring back support for Speed Dial Ctrl shortcuts
 - bring back support for one key shortcuts
2015-08-31 22:14:45 +02:00
David Rosca
32a0db31b3 AutoFill: Initial port to QtWebEngine
There are still issues with completing forms in frames
2015-08-31 18:56:52 +02:00
David Rosca
1756c51546 Remove remaining RSS code 2015-08-30 10:40:45 +02:00
David Rosca
ef71be2a0e Scripts: Only emit created Event when external is not null 2015-08-29 18:22:45 +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
b9d5851ef5 Renamed src/webkit -> src/webengine 2015-08-28 16:17:29 +02:00
David Rosca
a745e4776f Fix build with Qt 5.5rc 2015-06-24 10:46:57 +02:00
David Rosca
f747ce3e9d Use better fallback for styleName() when proxy style is null 2015-06-11 21:11:10 +02:00
David Rosca
431610215d AdBlock: Bring back domain specific element hiding rules 2015-05-27 19:17:29 +02:00
David Rosca
c75eb32367 Bring back support for user style sheet
This also means that AdBlock global hiding rules are
working again.
2015-05-27 18:48:45 +02:00
David Rosca
89dedf0a0e Bring back qupzilla: scheme pages 2015-05-24 20:41:49 +02:00
David Rosca
278b725571 Bring back support for downloading files
All files are now automatically downloaded to the specified
directory. Due to QtWebEngine API changes, it is not possible
to ask user where to save the file.
2015-05-24 19:22:32 +02:00
David Rosca
6da67fc53d Correctly create off-the-record profile for private browsing 2015-05-24 17:29:41 +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
8d7cfb0e2a Remove some Qt 4 specific code 2015-02-26 12:17:47 +01:00
David Rosca
7f27f95a1a Fix build 2015-02-08 11:52:09 +01:00
David Rosca
e3deb6cfd5 More cleanups + remove now unusued WebHistoryInterface 2015-02-08 11:51:19 +01:00
David Rosca
e4852e7d88 MainApp: Fix loading fonts settings 2015-02-08 11:32:00 +01:00
David Rosca
81639ea923 Port settings to use QWebEngineSettings 2015-01-27 12:15:00 +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
c1901cd81d Don't try to load translations for C locale 2014-12-27 12:32:16 +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
S. Razi Alavizadeh
8a7af28165 MainApplication: The getWindow() try to return the current active or last activated window 2014-12-02 22:05:17 +03:30
David Rosca
1e3556696c Qt5: Enable HighDPI pixmaps 2014-11-14 09:28:42 +01:00
David Rosca
476bd93f55 Mac: Open new window when clicking on Dock icon
Closes #1517
2014-11-08 10:21:01 +01:00
David Rosca
5779b6b835 Adjust default font sizes 2014-11-01 10:01:29 +01:00
David Rosca
30146476d6 Use bigger default font sizes 2014-10-08 22:12:22 +02:00
David Rosca
aac873bbb6 Show error message when QSQLITE plugin is not available 2014-10-05 16:13:00 +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
52f3811916 SpeedDial: Save using AutoSaver
Prevents losing dials in case of crash.
2014-09-29 18:23:42 +02:00
David Rosca
b4f9a354d7 Plugins: Load plugins before creating first window 2014-09-25 17:51:38 +02:00
David Rosca
56dcdfe4a2 Mac: SuperMenu button is now available on Mac 2014-09-25 14:42:36 +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
6d66c5a470 [Fonts] Use own default font sizes 2014-07-08 18:38:02 +02:00
David Rosca
d534062cdd [Windows] Load font.tff (if exists) and set it as default font
This is needed for N'ko translation as default Windows fonts
doesn't contain glyphs for N'ko language.

Closes #1223
2014-05-04 20:21:41 +02:00
David Rosca
e379b1b655 [MainApp] Open a new window when starting app while already running
Open a new browser window when attempting to start another instance.

See #1315
2014-05-01 14:08:06 +02:00
David Rosca
0a8337758e [Themes] Fix loading linux.css and mac.css on Mac/Linux 2014-04-20 12:28:33 +02:00
David Rosca
8283a5a42e [Styles] Don't mention to use [style=QtStyle] selectors in comment
It is not available in current Qt releases

QzSchemeHandler+AboutDialog: Fixed coding style
2014-04-19 12:06:16 +02:00
David Rosca
cd5ea7d66a [Build] Fixed build after last commit 2014-04-16 09:17:57 +02:00
David Rosca
72f5d49074 [MainApp] Try to use windowIcon from icon theme 2014-04-16 09:13:17 +02:00
nowrep
a560b7f498 [TabWidget] Make sure current tab is loaded on session restore
Fixes issue with current tab not being loaded on session restore
with "don't load tabs until selected" option.
It was needed to switch to other tab and then switch back to first tab
to actually load it.

Also pause updates of the whole browser window when restoring session.
2014-04-08 15:51:00 +02:00
nowrep
78ba3875d9 [IconTheme] Fixed setting fallback icon theme
Closes #1274

[ci skip]
2014-04-07 09:31:13 +02:00
nowrep
551ccd6e3c [BrowserWindow] Make sure window is created with at least one tab 2014-04-01 16:34:08 +02:00
nowrep
543c3b8732 [Translations] Try to load Qt (qt_*.qm) translations from Qt path
Also removed all qt_*.qm translations that are part of official Qt
distribution.
2014-03-27 11:53:09 +01:00
nowrep
545b3f9c54 [SessionRestore] Set override busy cursor when restoring session
TabWidget: Delete WebTab in closeTab() with deleteLater

[ci skip]
2014-03-25 16:55:33 +01:00
korwru
75040eace2 Fix msvc compile issue in mainapplication use of undefined type
RegisterQAppAssociation
2014-03-19 15:14:01 +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
6e53add7d7 [LocationBar] Set cursor position at start when showing long url
Also disable animations for Oxygen style, it breaks when changing
text to completely different one (eg. loading foo.com and then bar.com)
and the url is too long to fit in line
2014-03-16 11:21:24 +01:00
nowrep
7e57cb63f5 [LocationCompleter] Run completions search in separate thread
Currently, there is one issue with inline domain completion. It is
also searched from the separate thread, and thus it gets displayed
after a small delay.

Closes #1135
2014-03-15 19:36:03 +01:00
nowrep
167ae2af50 [SqlDatabase] New class allowing to exec Sql queries in separate thread
It uses its own QSqlDatabase connection, which is supported according to
docs.
2014-03-15 01:03:06 +01:00
nowrep
50e8bb071f [NetworkCache] Fix path for network cache 2014-03-13 12:53:19 +01:00
nowrep
d2528417d1 [CodeCleanup] Removed all disconnectObjects() methods
I don't think we need this hack anymore.
2014-03-13 11:24:19 +01:00
nowrep
853e3905ee [Crash] Fixed crash after closing first app window
Always create BrowserWindow with MainApp::createWindow (even in MainApp
constructor).
Regression from recent commits.
2014-03-12 21:36:34 +01:00
nowrep
d3e8cbac97 Fixed building after recent commits
Closes #1257
2014-03-11 09:12:37 +01:00
nowrep
5ca0073410 [Translations] Fixed loading translations
Regression from recent commits
+ more cleanup
2014-03-10 19:41:44 +01:00
nowrep
e827249f50 [MainMenu] Added MainMenu class that holds all menu actions of window
All actions are now saved in QHash with name, this will make possible
to implement own keyboard shortcuts for actions.
+ WIP cleanup of BrowserWindow class
2014-03-10 16:55:11 +01:00
nowrep
fb2629898b [TabBar] Don't draw base. Should help with Qt5 Fusion style
Also small changes in MainApplication
2014-03-10 09:38:16 +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
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
0e9fcc2113 [Building] Fixed building on Qt 5 & without Hunspell
BookmarksExportDialog: Align "Format" label to the right
2014-03-07 23:59:12 +01:00
nowrep
417da146e5 [QzTools] Make QzTools class and export only the class
Also fixed building on Windows
2014-03-07 22:54:50 +01:00
nowrep
f558a836b0 [Code] Create singletons with Q_GLOBAL_STATIC macro 2014-03-07 18:24:13 +01:00
nowrep
edbb87bd1f [CodeCleanup] IconProvider now have static methods for getting icons 2014-03-07 18:03:42 +01:00
nowrep
d0d1fa1844 [Session] Save session to QByteArray and then write it to file
Instead of appending data to file, write all session data at once.
This should help preventing corrupting session.dat file.

Closes #1247
2014-03-06 16:18:58 +01:00
nowrep
f33552320f [AutoSaver] Rework AutoSaver so each object can use own instance
Instead of saving everything in MainApp::saveStateSlot, save each object
separately. As a result, this will save a lot of writes to disk.

Other changes includes:
Saving bookmarks also in private mode. Closes #1208
Cleanup of code
2014-03-06 16:12:36 +01:00
nowrep
29f20ae520 [Building] Don't require ending slash in USE_LIBPATH and QUPZILLA_PREFIX options 2014-03-03 15:08:52 +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
S. Razi Alavizadeh
84ef3e9fda Fixed, renamed QupZilla class to BrowserWindow everywhere 2014-02-25 22:06:13 +03:30
nowrep
7d98a162d6 [Code] Fixed cppcheck issues 2014-02-22 15:23:46 +01:00
nowrep
5cf7d0b9a9 [Bookmarks] Add new action to open bookmarks in private window
Closes #995
2014-02-22 15:20:54 +01:00
Mladen Pejaković
131eef5c9d Open links in private window. 2014-02-22 14:57:22 +01:00
nowrep
404fa68a1b [Cleanup] Renamed QupZilla class to BrowserWindow 2014-02-19 22:07:21 +01:00
nowrep
9ae0352548 [SslV3Sites] Added possibility to change list of sites in settings.ini
In settings.ini: Web-Browser-Settings/SSLv3Sites

Also added sermapa.es to default list
2014-02-13 20:46:15 +01:00
nowrep
156a14dfb6 [Windows] Use %LOCALAPPDATA% only if user doesn't have config in older paths 2014-02-13 20:17:57 +01:00
S. Razi Alavizadeh
b880a920ff [Windows] Fixed PROFILEDIR when using Qt4. 2014-02-13 17:23:20 +03:30
S. Razi Alavizadeh
f52d5fa234 [Themes][RTL] Use correct icons for tabbar scroll buttons.
- also fixed compile issue on Windows.
2014-02-12 19:41:05 +03:30