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

208 Commits

Author SHA1 Message Date
nowrep
884cde6abf [LocationBar] Don't ever set cursor location to start
Probably fixes #1212
2014-02-13 02:41:13 +01:00
nowrep
7cefc22c0a [Flicker] Fixed flicker when opening new tabs with sites that loads instantly
Eg. this happens for internal qupzilla: pages
Also early set locationbar's url to newly opened tab's url.
2014-02-12 13:50:06 +01:00
nowrep
4e8c0adbad [LocationBar] Don't incorrectly show about to be loaded url when it was not accepted
It can happen for example when trying to change address on a page that
handles window.onbeforeunload event
2014-02-10 21:58:25 +01:00
nowrep
28091f4957 [Menus] Menus are not closed when opening links with middle mouse button
It is the same behaviour as in Konqueror
Closes #1165
2014-02-10 21:36:24 +01:00
nowrep
d328ad2023 [Bookmarks] New JSON backend supports multi-level folders and more...
Merge branch 'bookmarks'

Closes #458
2014-02-10 18:13:38 +01:00
nowrep
ad615316c8 [Bookmarks] Cache bookmark's icon for 20 seconds
BookmarksToolbarButton: Draw button according to BookmarkItem, not
text and icon properties
2014-02-10 16:03:29 +01:00
nowrep
9a5a795449 [LocationCompleterModel] Simplify createQuery function
It is no longer needed to search for bookmarks in database
2014-02-09 17:35:43 +01:00
nowrep
395b865d55 [Bookmarks] Various smaller changes
BookmarksTreeView: Select & ensure visibility of newly added bookmark
BookmarksTools: Added function to open folder in tabs
LocationCompleterModel: Removed bookmarks bits in createQuery
QupZilla: loadAddress now opens new tab if current tab is pinned
2014-02-09 15:09:04 +01:00
nowrep
83b8b0b666 [Bookmarks] LocationCompleter now works
BookmarkItem: Added counting of bookmark's visits
2014-02-09 13:34:52 +01:00
nowrep
2ea155560a [Bookmarks] Removed BookmarksTree and renamed BookmarkIcon -> BookmarksIcon 2014-02-09 12:22:49 +01:00
nowrep
973014ae89 [EnhancedMenu] Rename signals to ctrlTriggerd and shiftTriggered 2014-02-09 01:14:00 +01:00
Javier Llorente
c84f3d2366 [Theme] Use theme icon for Exit Fullscreen button in toolbar 2014-02-07 23:14:32 +01:00
nowrep
260447e414 [coverity] Fixes for issues found by scan.coverity.com 2014-02-01 19:21:49 +01:00
nowrep
a1f9b784d7 [CommandLineOptions] New option to toggle fullscreen. 2014-01-22 17:34:25 +01:00
Jonathan Hooverman
d917f43cf0 Updated copyright year to 2014 2014-01-11 16:11:42 +01:00
nowrep
d61b72bd87 [SearchShortcuts] Fixed using search shortcuts longer than one character 2014-01-08 10:39:41 +01:00
nowrep
0758ba39ab [LocationCompleter] Add option to enable/disable inline completion 2014-01-08 10:29:01 +01:00
nowrep
da15e5868d [CodingStyle] Don't use references when assigning to local variable
Let the compiler do the optimization
2013-12-30 13:43:48 +01:00
nowrep
d753e21a5c Revert "WebSearchBar: Select alls text + set focus after search engine changed."
This reverts commit 9ec85ad49d.
2013-12-30 12:06:08 +01:00
nowrep
6c747b3c36 [Coding style] It should be only one if statement... 2013-12-23 20:32:42 +01:00
S. Razi Alavizadeh
bff614144b Added TabStackedWidget + ComboTabBar
Set of patches:
Introduce TabStackedWidget+ComboTabbar
[Windows] Fix enabling blur background in fullscreen
[ComboTabBar] Fix some issues with pinned tabs
[ComboTabBar] Don't use pointer to integer,
Implement TabStackedWidget::keyPressEvent() and fix changing tab by wheel event
Fix animation delay of dragged tab's buttons.
[ComboTabBar] Add themable scrollButtons
2013-12-23 20:30:54 +01:00
nowrep
ed8ec5ab4a [LocationBar] Fixed rendering selected text with visible popup completer. 2013-12-23 19:21:47 +01:00
nowrep
b4f0096f96 [Code] Add/Edit some comments 2013-12-05 19:52:13 +01:00
nowrep
0d5c86f8cd [UrlCompleter] Don't show same urls multiple times
Closes #1096
2013-12-05 19:49:32 +01:00
nowrep
a49e574f83 [WebSearchBar] Ctrl+Up/Down for changing search engines.
Closes #1090
2013-11-21 18:23:11 +01:00
nowrep
c9ff4f1c94 SearchEngines: Return SearchResult on all searches 2013-11-09 13:32:03 +01:00
S. Razi Alavizadeh
1cca824d66 [LocationBar] Don't move the cursor to the end if inline completion is empty. 2013-08-07 02:02:06 +04:30
S. Razi Alavizadeh
7dbaf71f23 Fixed changing TabsOnTop option when there are more than one window. 2013-08-04 00:39:54 +04:30
Jonathan Hooverman
4848def230 Modified copyright year 2013-07-11 16:21:57 +02:00
S. Razi Alavizadeh
5d48edc7a3 [LocationBar][StatusBar] show precent decoded version of non-latin link and draw RTL path correctly.
- also fixed a compile issue
2013-07-05 02:51:07 +04:30
nowrep
d17b06ff65 [LocationBar] Delete key to hide inline completion 2013-06-09 12:27:25 +02:00
nowrep
c305811334 Correctly hide/show rss icon with "Always show go icon" option.
Regression from 05ca29715f
Closes #926
2013-06-06 11:54:22 +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
10bba39bd4 New tab button in toolbar opens tab with url from clipboard on middle click.
Closes #907
2013-06-02 16:46:26 +02:00
nowrep
4d01cfc9fa [LocationBar] Improved cursor painting when completion popup is visible. 2013-05-11 13:22:16 +02:00
nowrep
49ed4d05c4 Fixes in inline completion + enter completed text with left arrow key. 2013-05-11 00:17:38 +02:00
nowrep
77aa5b0f07 [LocationCompleter] Hide completion popup after Alt+Enter.
Hides completion popup after opening new tab with Alt+Enter shortcut.
2013-05-10 22:34:51 +02:00
nowrep
f651125c5c [LocationBar] Added inline completion for domains.
Closes #880
2013-05-10 22:33:36 +02:00
nowrep
c106c2376b [Themes] Set navigationbar layout margin and spacing from style sheet. 2013-04-27 13:51:08 +02:00
nowrep
ba9535a727 [ToolBar] Use size of icons according to Qt style. 2013-04-27 12:57:13 +02:00
nowrep
6492b2ac87 [Toolbar] Use spacing and margins according to Qt style.
Toolbar looks better now with Oxygen theme.
2013-04-26 23:11:24 +02:00
nowrep
d4c6dbd6c2 [Fix] WebSearchBar not respecting "select all on click" option
Closes #752
2013-03-15 11:46:07 +01:00
nowrep
a9cee1fffe [Fix] Fixed showing empty back/forward history menus. 2013-03-13 11:54:58 +01:00
nowrep
b12c324f87 [SuperMenu] Improved menu in button used instead of menubar.
The menu is now displayed inside window, even when window
is not in fullscreen.
It now also contains the most important actions in addition to copy of
top level menus.
2013-03-08 21:06:37 +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
S. Razi Alavizadeh
825e14140c [Mac] fixed search highlighting on Mac, see #756, also don't paint cursor when showing popup. 2013-02-24 15:37:14 +03:30
nowrep
7fae03959d TabsOnTop: Fixed picking correct color for drawing line at the bottom of
navigation container.
2013-02-22 18:31:44 +01:00
nowrep
b4b1ce03d6 LocationBar: Proper fix for determing when to draw cursor.
Cursor will be properly drawn by Qt when starting writing
into empty lineedit (eg. select all and start typing).
After the completion popup is hidden for the first time, Qt will stop
drawing cursor and will only paint it again after losing and gaining
focus.
2013-02-22 15:20:28 +01:00
nowrep
76849082e4 [LocationCompleter] Fixes performance when drawing really long urls.
data: urls can get really long (> 1000000 characters), so don't save
them in history from now on.
2013-02-22 09:36:47 +01:00
nowrep
64e6c36ed4 LocationBar: Fixed drawing cursor at correct position with popup opened. 2013-02-22 00:25:13 +01:00
S. Razi Alavizadeh
72c66cb218 [Mac] RSSManager/AdBlockDialog documentMode was disabled and fixed double cursor problem. 2013-02-21 00:20:07 +03:30
nowrep
91c88872f8 Go to fullscreen in QWindoStateChangeEvent.
It is now possible to go properly to fullscreen also from Window
Manager's actions/shortcuts.
2013-02-17 11:05:35 +01:00
nowrep
789b4c8600 Select all on (double) click also available for websearchbar.
Closes #752
2013-02-12 08:16:05 +01:00
nowrep
09cf53a292 LocationBar: Don't paint cursor when showing most visited in popup. 2013-02-11 13:33:02 +01:00
nowrep
8a1502c9cf Draw line at the bottom of navigation bar if tabs are on top.
To visually distinguish navigation bar from the page
2013-02-11 13:08:11 +01:00
nowrep
49b1e4c43c [code cleanup] Moved logic of locationbar's icon into separate classes. 2013-02-10 12:28:53 +01:00
nowrep
fcbf1e636b [Fix] Bad behaviour on clicking into selected text in locationbar.
Closes #751
2013-02-09 21:55:23 +01:00
nowrep
8a6beac501 Show toolbars menu on right click in menubar and navigation toolbar. 2013-02-09 14:08:12 +01:00
nowrep
67d6d380cd [AutoFill] Added password icon into locationbar to choose username.
Closes #735
2013-02-08 18:44:26 +01:00
S. Razi Alavizadeh
e3db93740b Better RTL support for LocationCompleter and add direction property to dirlist.html 2013-02-04 15:14:56 +03:30
nowrep
5569cec48b [win] Fixed building after last commit. 2013-01-29 20:58:08 +01:00
nowrep
5968849e6d Make "Switch to tab" translatable.
LocationCompleterDelegate does not include Q_OBJECT

Closes #725
2013-01-29 19:25:20 +01:00
nowrep
780106ddd0 Draw cursor in locationbar when completion popup is shown.
Closes #645
2013-01-28 19:38:03 +01:00
nowrep
359e1842a0 Fixed crash when showing context menu in websearchbar. 2013-01-25 22:42:20 +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
9f2de4b73a [Code] Made all helper functions static. 2013-01-22 18:12:21 +01:00
nowrep
89e091f09c Qt5: Main code has been edited to support both Qt4 and Qt5
It doesn't include plugins yet.
Even thought the app can be built with Qt5 now, it won't run.
I am still working on a fix.
2012-12-20 14:45:35 +01:00
nowrep
930720517a Updated translations 2012-12-10 14:59:12 +01:00
Franz Fellner
c36e59c31e Set m_ignoreCurrentChangedSignal to false directly after setCurrentIndex()
instead of in currentChanged().
This solves problems for the very first popup not triggering currentChanged(),
so in that case the first item did not set the completion url. As long as the
connection type to currentChanged() remains a DirectConnection, this fix should work.
2012-12-09 08:15:21 +01:00
nowrep
4e114b69c5 Proper fix for previous commit
d42b50cc15 Empty locationbar upon writing first char
2012-12-08 18:12:31 +01:00
nowrep
d42b50cc15 [Fix] Empty locationbar upon writing first char
Closes #667
2012-12-08 16:50:16 +01:00
nowrep
889e2743f5 New icons for 'new-tab' and 'tab'
Also added icon to 'Switch to tab' text in
locationbar completer popup.
2012-12-08 14:10:30 +01:00
S. Razi Alavizadeh
6191a76be6 Fixed: issue from last commit that doesn't clear locationbar. 2012-12-08 02:19:12 +03:30
S. Razi Alavizadeh
234769e920 Now 'switch to tab' searches current window first.
-by ff2000, thank you :)
2012-12-08 02:04:38 +03:30
S. Razi Alavizadeh
efebfb8148 Fixed bugs 'switch to tab' switch to another window.
-see #665
2012-12-08 01:53:26 +03:30
S. Razi Alavizadeh
379f987280 Fixed: from 'switch to tab' commit.
1- Renew TabPositionRole's data when 'm_lastCompletion == string'
2- Don't switch to current tab, because we don't want clear its locationbar.
2012-12-07 21:00:50 +03:30
Franz Fellner
9ec85ad49d WebSearchBar: Select alls text + set focus after search engine changed.
This avoids another (double)click to select the text.
2012-12-05 11:53:56 +01:00
Franz Fellner
e9a8b8d7d8 Move switchToTab to QzSettings. 2012-12-04 16:16:45 +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
nowrep
7f62d2e602 Option to hide Reload/Stop buttons in navigation bar
closes #615
2012-10-20 11:31:45 +02:00
nowrep
ba84fa2d7a [Code] Small changes in showing context menu in url and searchbar
- may fix occasional crashes in Ubuntu
2012-10-11 19:57:12 +02:00
Franz Fellner
e08428a6d1 Force a LineEdit::paintEvent after a setCursorPosition, in order to
trigger a recalculation of the visible text rect.
2012-10-07 13:22:45 +02:00
nowrep
fa1ee13611 Open bookmark (in new tab) from menu in bookmarks toolbar
closes #601
2012-10-05 22:15:18 +02:00
Franz Fellner
204e942f87 Cleanup in NavigationBar and WebSearchBar:
* move helper-functions in navigationbar.cpp into NavigationBar [private]
* remove (unused) 2nd arg in WebSearchBar/NavigationBar and use mainClass as parent.
* remove NavigationBar-destructor (not needed)
* remove WebSearchBar::m_menu and create a QMenu-instance directly in WebSearchBar::contextMenuEvent()
2012-10-01 11:26:07 +02:00
Franz Fellner
63edb90cbe Adjusted themes main.css to get a vertically centered contentsRect.
Also adjusted mac siteicon-[secure]-bg.png to not have opaque pixels, which would cut content (e.g. Top progress bar).
Filled bar is now drawn independent of textRect.
2012-09-30 10:55:44 +02:00
nowrep
3754f87978 Updated translations 2012-09-28 18:50:20 +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
Franz Fellner
40f97c73ab Add option to disable instant search on ech searchengine change. 2012-09-26 15:06:05 +02:00
Franz Fellner
620e2a5ea2 Render the bar darker, if set to "Top" or "Bottom", as the small bar could be too hard to recognize.
Also set m_progressVisible only to false (in hideProgress), if m_loadProgress==100. If the user clicks
a link during the 700ms-timeout, the bar shows for a short time and hideProgress sets m_progressVisible to false, though
the page still is loading, which hides the bar in mid-run.
This also fixes the weird behaviour of the progressbar on session-restore.
2012-09-20 10:04:18 +02:00
Franz Fellner
4bb87822cf Highlight host in locationbar.
To simplify color computation I simply imported the "blib/colors.*" from bespin.
2012-09-19 20:24:41 +02:00
Franz Fellner
8723382b5c Add options to select color+style for progresss locationbar. 2012-09-19 10:08:30 +02:00
nowrep
5d80f4b380 Use QFrame::StyledPanel for LocationBarPopup
- also added copyright to new files
2012-09-16 20:19:10 +02:00
Franz Fellner
eb2256e2cf Also add the new files to the git index... 2012-09-15 17:54:12 +02:00
nowrep
eb82df9aef Coding style: Moved showing BookmarksWidget into LocationBar 2012-09-14 22:09:58 +02:00
nowrep
8d8a033ebd LocationCompleter: Reset scrollbar position when hiding completer
- fixes issue with opening completer scrolled down when showing
  new suggestions

Patch by Franz Fellner <alpine.art.de@gmail.com>
2012-09-08 22:54:53 +02:00
nowrep
7189ff58b4 LocationCompleter: Improved sorting bookmarks by visit count.
- it sorts by visit counts of bookmark's url from history
- count column in bookmarks is not needed after all :-)

Patch by Franz Fellner <alpine.art.de@gmail.com>
2012-09-08 22:52:32 +02:00
nowrep
ba7f919cd5 Location/Search Bar: Always open new active window with Alt+Enter
- in Web Search Bar it can be also opened with middle click on
  magnifying glass button
2012-09-06 12:02:03 +02:00
nowrep
11244acc6e Fixed crash when dragging site with empty url from siteicon 2012-09-06 11:29:05 +02:00
nowrep
726b11fab3 LocationBar: Show go icon when getting focus with edited text
closes #554
2012-09-06 10:53:37 +02:00