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

87 Commits

Author SHA1 Message Date
David Rosca
cf3fa88942 Require Qt 5.7 2016-10-24 20:11:50 +02:00
David Rosca
56399c0fab Fix use of deprecated QStyleOptions 2016-04-24 10:17:13 +02:00
Vladislav Tronko
f7aee14343 Typos: extra semicolons 2016-02-14 22:31:28 +02:00
David Rosca
6d026969f7 Remove QFtp 2015-10-06 09:49:42 +02:00
Philipp Wiesemann
3849fed838 Fix not closing files from /proc/ on read errors
The cmdline files opened from /proc/ were not closed if reading the data
from them failed (e.g. because the file was empty). This leaked the file
descriptor which could lead to failures trying to open more files later.
2015-09-11 22:00:51 +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
8d7cfb0e2a Remove some Qt 4 specific code 2015-02-26 12:17:47 +01:00
David Rosca
f698c0a78f LineEdit: Fix slow text selection with mouse
Regression from 2c0582b9a1
2014-11-05 09:51:13 +01: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
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
c45b301844 LineEdit: Fix enabling Select All action
This fixes Select All action in LocationBar and WebSearchBar
2014-09-17 17:58:14 +02:00
Augustin Cavalier
96f3e4873e [Haiku] Doesn't support readdir's d_type flag...
...which is a Linux thing and not part of the POSIX standard. Haiku may support it eventually, but as of today it does not.
2014-06-30 12:44:10 -04:00
David Rosca
ac52b742b2 Convert all source files in src/* to Unix file ending 2014-06-15 23:35:39 +02:00
David Rosca
79a81a5f8a [Build] Link to execinfo also with OpenBSD
[ci skip]
2014-05-03 10:34:17 +02:00
David Rosca
c6ae381404 [Mac] There is no /proc filesystem on Mac
Closes #1294

[ci skip]
2014-04-17 14:42:06 +02:00
nowrep
7824f3862e [Windows] Correctly fix building after 6473bace10 2014-04-07 08:25:07 +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
7f3d8ee786 [Cleanup] Split src/lib/webview into tabwidget, webkit and webtab folders 2014-03-31 14:54:08 +02:00
S. Razi Alavizadeh
0b4be9055e [Windows] Fixed inserting QUnicodeControlCharacterMenu to contextmenu. 2014-03-20 01:14:36 +03:30
nowrep
dbec199ea8 Fixed building with Qt5 2014-03-16 13:55:37 +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
d464d9bdef [LineEdit] Create context menu in LineEdit
Instead of code duplication in LocationBar and WebSearchBar, create
the context menu from LineEdit.
Also actually create the menu, not just re-use the standardContextMenu.
2014-03-16 13:06:38 +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
caabbc237f [LocationBar] Tweaked Linux theme. No longer hardcode height
It is now specified only minimum height.
Fixes issue with locationbar being too small with bigger fonts.
2014-03-16 09:38:28 +01:00
nowrep
72904a80c3 [LocationBar] Major cleanup. New code to change color of text parts
The code to change color of host of url is completely new.
It doesn't use any paint hacks anymore. That means text in
locationbar will now be always rendered pixel perfect, as it would
with normal QLineEdit.

Cleanup in LocationCompleter. It is now using QCompleter in inline
mode to complete domain. It is still not ideal, eg. it refreshes
and show the domain completion with delay (job run in separate thread),
and sometimes it misses it completely.

WebSearchBar: Always complete when receiving suggestions. Fix issue
when suggestions were only showed after typing at least 2 characters.
2014-03-15 23:22:35 +01:00
nowrep
2e9ce1ba90 [CodeCleanup] Major cleanup in MainApplication class 2014-03-10 00:47: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
c7a31c57e0 [CodeCleanup] Use QMouseEvent::button() in mouse release events
In press/move events, use QMouseEvent::buttons() instead
2014-03-01 14:12:50 +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
d005505dba FreeBSD build patches
Imported from http://svnweb.freebsd.org/ports/head/www/qupzilla/files/
See #1206
2014-02-13 20:17:57 +01:00
nowrep
018d7ec098 [MinGW] Some fixes for MinGW building 2014-02-10 20:49:54 +01:00
nowrep
2261ed4b79 Fixed previous commit
Ooops, it should actually check the return value, not just ignore it...
2014-02-04 14:52:39 +01:00
nowrep
9fd168934e [coverity] Fixed Unchecked return value from library 2014-02-04 14:48:34 +01:00
nowrep
260447e414 [coverity] Fixes for issues found by scan.coverity.com 2014-02-01 19:21:49 +01:00
nowrep
142407be21 [WindowsJumpList] Add new entry "Open new private window"
Closes #1155
2014-01-25 22:06:19 +01:00
nowrep
bfe9331579 Added missing copyright to squeezelabel and sbi_proxywidget 2014-01-11 16:56:33 +01:00
Jonathan Hooverman
d917f43cf0 Updated copyright year to 2014 2014-01-11 16:11:42 +01:00
Jonathan Hooverman
4848def230 Modified copyright year 2013-07-11 16:21:57 +02:00
nowrep
087eb93ecb [Code] Improved cppcheck script and fixed all warnings. 2013-04-28 17:50:09 +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
43d514a647 [QtSingleApplication] Correctly remove lockfile only on app close.
Fixes regression when multiple instances of browser were opened.
2013-04-04 23:33:02 +02:00
nowrep
61357e17b1 [QtSingleApplication] Delete lockfile upon closing application.
Closes #811
2013-03-19 09:16:57 +01:00
nowrep
d4c6dbd6c2 [Fix] WebSearchBar not respecting "select all on click" option
Closes #752
2013-03-15 11:46:07 +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
nowrep
27cd8cce64 Revert "[QtWin] using of direct WinAPI call."
It has to be resolved at runtime to provide the same binary
compatibility with Windows versions older than Vista.

This reverts commit 2db89f50bf.
2013-02-18 21:44:14 +01:00
S. Razi Alavizadeh
2db89f50bf [QtWin] using of direct WinAPI call. 2013-02-17 13:35:11 +03:30
nowrep
789b4c8600 Select all on (double) click also available for websearchbar.
Closes #752
2013-02-12 08:16:05 +01:00