1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-13 18:42:11 +01:00
Commit Graph

1526 Commits

Author SHA1 Message Date
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
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
68087d5a3f QzCommon: Export all static strings (appname, buildtime, ..) 2014-09-25 15:00:56 +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
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
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
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
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
c18b656585 [CertManager] Added option to disable weak ciphers
Closes #1428
Closes #1278
2014-07-13 19:43:18 +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
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
David Rosca
eee3895f69 Only link qupzilla binary to execinfo as it is used in main.cpp
See #1408
2014-07-02 11:27:55 +02:00
Augustin Cavalier
e7181f1369 [Haiku] Link to -lexecinfo. 2014-07-01 14:20:06 -04: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
f55dcdf63c [LocationCompleter] Force updates of inline domain completer
Model for inline domain completion is updated asynchronously, so it is
needed to force the update of completer.

This was last regression of completer after switch to threaded searching
in history/bookmarks.
2014-06-26 15:42:38 +02:00
David Rosca
5558d32d82 Merge pull request #1376 from srazi/loc-highlighter
New highlighter algorithm using QTextLayout that fixes rendering of RTL strings.
2014-06-17 14:56:51 +02:00
David Rosca
7cbc588cc1 [LocationCompleter] Sort results by last visit date
Closes #1390
2014-06-17 14:55:32 +02:00
David Rosca
ac52b742b2 Convert all source files in src/* to Unix file ending 2014-06-15 23:35:39 +02:00
David Rosca
def26ad391 [WebPage] Fix searching for non-ascii one line term from addressbar
The search term (in url) needs to be decoded from punycode.

Closes #1396
2014-06-15 23:33:04 +02:00
S. Razi Alavizadeh
b48cc71dd5 [Bookmarks] Limit width of bookmarks menu to 250px 2014-06-13 23:55:55 +04:30
S. Razi Alavizadeh
5bd24400e1 [LocationCompleter] Cancel unneeded refresh jobs 2014-06-13 23:55:49 +04:30
S. Razi Alavizadeh
a32e809bf6 Escape SQLite wildcards when using LIKE clause 2014-06-13 23:52:44 +04:30
David Rosca
9502810404 [UrlLoading] Make sure to correctly load one-word hosts without dot
One-word hosts without the dot may be valid url. So let's try to load
it first before using a websearch.

Closes #1317
2014-06-06 23:29:49 +02:00
S. Razi Alavizadeh
5a183a1a8d [LocationCompleter] Correctly elide text also fixed compile on Qt5. 2014-06-06 07:00:30 +04:30
David Rosca
72ab5de448 [Code] Small code cleanups
Mostly to silence a warnings from cppcheck

[ci-skip]
2014-06-05 20:33:16 +02:00
David Rosca
325072881d [HistoryMenu] Show recently visited sites in top-level menu
Closes #1355
2014-06-05 19:58:32 +02:00
David Rosca
dc1b5931ea [WebView] Don't clear selection when right clicking on selected link
This removes a workaround for a very old QtWebKit (<= 2.0) that actually
caused unwanted behavior with newer QtWebKit versions.

Closes #1377

[ci-skip]
2014-06-05 16:01:58 +02:00
S. Razi Alavizadeh
0af8f45a5f [MouseGestures] Honor to user settings for 'New Tab' url,
- Closes #1380
2014-06-02 00:28:41 +04:30
David Rosca
59b893075a [LocationCompleter] Fix showing icons after last commit 2014-05-30 22:06:58 +02:00
S. Razi Alavizadeh
666ecc4d01 [LocationCompleter] Don't leak when query icons,
- it seems it's a fix for #1299
2014-05-30 07:58:51 +04:30
S. Razi Alavizadeh
877266b418 [LocationCompleter] New highlighter algorithm using QTextLayout that fixes rendering of RTL strings. 2014-05-29 23:35:28 +04:30
S. Razi Alavizadeh
7fc0c8d06d [RTL] Force AdBlockTreeWidget and treeTags to be as LTR widgets. 2014-05-29 01:08:56 +04:30
S. Razi Alavizadeh
4ea5974914 [Windows] Fixed some issue with the blur background effect,
- Also moved all of codes related to blur effect of tabbar to ComboTabBar.
2014-05-29 01:08:42 +04:30
S. Razi Alavizadeh
8bee3d937d Improvement in asking of master-password.
- Closes #1356
2014-05-26 00:24:43 +04:30
Mladen Pejaković
0fc6a30933 Implement offline mode. Closes #1241 2014-05-20 18:35:49 +02:00
Mladen Pejaković
ce7ea04f4a Language strings fixes. Closes #1318 #1329 #1337 2014-05-14 18:29:20 +02:00
David Rosca
690d67ade8 Merge pull request #1333 from pejakm/fixgtr
[Webview] Use https for Google Translate. Closes #1331
2014-05-11 20:29:58 +02:00
David Rosca
39430458b3 [WebInspector] Add F12 shortcuto to show Web Inspector 2014-05-11 14:25:57 +02:00
Mladen Pejaković
6eeebd1866 [Webview] Use https for Google Translate. Closes #1331 2014-05-09 18:25:17 +02:00
Mladen Pejaković
9b44f384a2 [Cookies] More options for 3rd party cookies 2014-05-06 20:55:29 +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
7fab76b79b [Build] Fixed build after last commit 2014-05-03 16:32:29 +02:00
David Rosca
9a3382ee85 [SideBars] Don't override cursor on scrollbars in History/Bookmarks sidebars 2014-05-03 15:23:07 +02:00
David Rosca
ad5dbe459c [HistoryTreeView] Rewrite HistoryView to use same logic as BookmarksTreeView
It also fixes issue that middle click on item opened the url in both
current and new tab
2014-05-03 15:08:47 +02:00
David Rosca
0b6478d110 [ComboTabBar] Use initStyleOption workaround only for Bespin theme
It is needed only with Bespin.
With other themes, it actually makes it worse.
2014-05-03 11:40:14 +02:00
David Rosca
79a81a5f8a [Build] Link to execinfo also with OpenBSD
[ci skip]
2014-05-03 10:34:17 +02:00
David Rosca
34feb19dab [Code] TabHelper: Rename m_pinnedTabBar to m_isPinnedTabBar
[ci skip]
2014-05-02 22:16:48 +02:00
David Rosca
78fbccae15 [ComboTabBar] Correctly set QStyleOptionTab::position for tabs
This fixes rendering of OnlyOneTab with Bespin theme.
2014-05-02 22:15:36 +02:00
David Rosca
90760eaa2b [ComboTabBar] Draw tabbar base even when main tabbar is empty 2014-05-02 21:39:08 +02:00
David Rosca
a30aac169a [ComboTabBar] Fixed pinned tabs being hidden when there are no normal tabs 2014-05-02 21:25:49 +02:00
David Rosca
e6f4853af7 [TabBar] Show add tab button at correct position when there are no normal tabs
Fix 2 for #1322
Closes #1322
2014-05-02 20:15:05 +02:00
David Rosca
964a76c04b [ComboTabBar] Correctly switch tabs when closing last tab in tabbar
Also remove custom logic for SelectPreviousTab on tab remove and use
only the QTabBar's selectionBehaviorOnRemove

Fix 1 for #1322
2014-05-02 20:02:33 +02:00
David Rosca
d1754094b8 [TabBar] Use contextMenuEvent instead of customContextMenu signals 2014-05-02 13:39:02 +02:00
David Rosca
7fc7558221 [ComboTabBar] Correctly returns tabAt over tab icon 2014-05-02 13:35:01 +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
e007620da4 Merge pull request #1305 from char101/bug/fix-compile-error-1
Fix compile error with vc++ 2013
2014-04-29 08:23:00 +02:00
David Rosca
dc48ddbf47 [DataPaths] Use classic array instead of QHash for storing paths 2014-04-26 12:35:14 +02:00
David Rosca
d29abb4e54 [Mac] Use ~/Library/Application Support/QupZilla as ConfigPath
+ little cleanup in variable naming (homePath -> oldConfPath)

See #1302
2014-04-26 12:23:06 +02:00
David Rosca
5b25b4bda6 [DataPaths] USE_LIBPATH is always defined on Unix
No need to add "/usr/lib/qupzilla" to the Plugins path if
USE_LIBPATH is not set, as "/usr/lib/qupzilla" won't exist on
non-Unix platform.

[ci skip]
2014-04-24 12:03:18 +02:00
David Rosca
19800b174b [Bookmarks] Use keyword as a shortcut for bookmark url in LocationBar
It is now possible to load bookmarks only with entering its keyword in
LocationBar and then pressing Enter (no need to select the bookmark
from popup completion).
2014-04-24 11:57:27 +02:00
David Rosca
6bdc6f90ce [ToolButton] Use QImage for multiIcon
Instead of 4 separate QPixmaps, use just one QImage and paint only
the current part (according to button state) of the image on button.
2014-04-24 11:05:41 +02:00
Charles
3175840126 Fix compile error with vc++ 2013
Qz::VERSION is not exported
2014-04-23 15:12:32 +07:00
David Rosca
59ad2db607 [ToolButton] Call update() from setMultiIcon
Fixes issue with reload/stop button not being correctly updated
with themes that use multiIcon for this button.
2014-04-22 23:06:18 +02:00
David Rosca
028db62be0 [ComboTabBar] Set objectName of base widget, so it can be styled
TabBar base is now correctly styled in all themes.
Updated the themes accordingly to this change.
2014-04-20 13:03:08 +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
668c8b024a [LocationBar] Fixed showin progress over text. Use opacity with QPainter
Not the best solution, but probably the easiest.
Closes #1261
2014-04-20 11:05:20 +02:00
David Rosca
2138978ab7 [LocationBar] Make sure text format is correct even when text doesn't change
refreshTextFormat() is using page's url to determine which part of
displayed text is host. Url of page may not change immediately when
starting loading.
This commit makes sure that text format is correct with every
WebView::urlChanged() signal.
2014-04-20 09:51:20 +02:00
David Rosca
d25847cfce [ToolButton] Added property "toolbar-look"
This property makes it possible for themes to customize look of
additional ToolButtons in Navigation Toolbar.
2014-04-20 09:32:35 +02:00