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

2270 Commits

Author SHA1 Message Date
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 Rosca
c6ae381404 [Mac] There is no /proc filesystem on Mac
Closes #1294

[ci skip]
2014-04-17 14:42:06 +02:00
David Rosca
9df585a8f8 [AdBlockSubscription] Fix infinite loading of subscription when cannot write to file 2014-04-16 17:15:55 +02:00
David Rosca
cc479f29e1 [CaBundleUpdater] Correct the error handling when downloading bundle 2014-04-16 16:51:53 +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
David Rosca
94444b30d5 [Bookmarks] Add new bookmarks at the end of the folder
Creating new bookmarks in Bookmarks Organizer are still prepended
(inserted at the begin)
2014-04-16 09:12:33 +02:00
David Rosca
97d32a1191 [Mac] Drawing QTabBar without actual object crashes on Mac
[ci skip]
2014-04-15 09:58:51 +02:00
David Rosca
8a0b6f0d10 [Build] Fixed building with Qt4 2014-04-13 12:24:37 +02:00
David Rosca
eb8ae20cc1 [AdBlockRule] Improve performance of rule matching with QStringMatcher
Use QStringMatcher instead of QString::contains in RegExpFilters.
QStringMatcher internally uses fast Boyer-Moore algorithm.
2014-04-13 11:49:39 +02:00
David Rosca
45635f6da8 [WebView] Fixed loading of bookmarklets
Closes #1288
2014-04-12 22:24:42 +02:00
David Rosca
e9a9a768cc [TabbedWebView] Make sure to not crash with invalid m_window pointer
This is followup to properly handle detached WebTab (outside
BrowserWindow)

[ci skip]
2014-04-11 22:23:42 +02:00
David Sterba
f7552e42aa [BrowserWindow] Add slash as a single key shortcut for search 2014-04-10 11:09:29 +02:00
David Sterba
ddba93a3d0 [Preferences] Update help text for single key shortcuts
Put the list of implemented shortcuts into a tooltip with a bit of
formatting.
2014-04-10 01:09:23 +02:00
David Rosca
e4512ae14f [Click2Flash] Fix playing YouTube videos with Qt5
Closes #1283
2014-04-09 22:52:41 +02:00
David Rosca
646f9a2013 [Build] Fix building with Qt 4.7 2014-04-09 22:52:30 +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
bfcae43c21 [WebTab] Don't show "Loading.." on empty tabs
[ci skip]
2014-04-08 14:41:30 +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
78ba3875d9 [IconTheme] Fixed setting fallback icon theme
Closes #1274

[ci skip]
2014-04-07 09:31:13 +02:00
nowrep
7824f3862e [Windows] Correctly fix building after 6473bace10 2014-04-07 08:25:07 +02:00
nowrep
6473bace10 Fixed build after 39c9fec3dd 2014-04-06 15:36:52 +02:00
nowrep
6e18ee7502 [PageFormCompleter] Try to be extra cautious with QWebFrames
This is an attempt to fix crash when calling QWebFrame::childFrames
in PageFormCompleter::getAllElementsFromPage

[ci skip]
2014-04-06 15:13:07 +02:00
S. Razi Alavizadeh
39c9fec3dd [Windows] Fixed compile issues after aa248893 and 7f3d8ee7 2014-04-06 17:38:36 +04:30
nowrep
463fa96e04 [Build] Fixed building with Qt5 2014-04-06 13:50:09 +02:00
nowrep
db664184d0 [AdBlock] Improved performance of loading rules
Don't use regexps for parsing rules.
Added benchmark for loading subscriptions

Before:

********* Start testing of AdBlockParseRule *********
Config: Using QTest library 4.8.6, Qt 4.8.6
PASS   : AdBlockParseRule::initTestCase()
RESULT : AdBlockParseRule::parseEasyList():
     596.3 msecs per iteration (total: 2,982, iterations: 5)
PASS   : AdBlockParseRule::parseEasyList()
PASS   : AdBlockParseRule::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of AdBlockParseRule *********

After:

********* Start testing of AdBlockParseRule *********
Config: Using QTest library 4.8.6, Qt 4.8.6
PASS   : AdBlockParseRule::initTestCase()
RESULT : AdBlockParseRule::parseEasyList():
     481.8 msecs per iteration (total: 2,409, iterations: 5)
PASS   : AdBlockParseRule::parseEasyList()
PASS   : AdBlockParseRule::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of AdBlockParseRule *********
2014-04-06 13:36:42 +02:00
nowrep
1b01e7469f [MouseGestures] Bump plugin version
[ci skip]
2014-04-05 17:54:26 +02:00
David Sterba
3360f17735 [MouseGestures] Configurable mouse gesture button
UI changes:
* the Settings dialog offers a combo box to select left and right
  mouse buttons, or disable the gestures completely
* changes are permanently saved
* OK button is added

Closes #386
Closes #1280

It is now also possible to enable/disable rocker navigation.

Closes #1234
2014-04-05 17:46:05 +02:00
nowrep
f69c8645fb [MouseGestures] Implement "Rocker navigation"
Left+Right click - Forward
Right+Left click - Back

It is currently disabled by default and there is no GUI to enable it.
2014-04-05 17:04:41 +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
41ff89c3dd [WebView] Added option to force context menu to be opened on mouse release
This is needed for mouse gestures to be able to use right mouse button.
See #1280
2014-04-05 13:20:21 +02:00
Mladen Pejaković
297090692f [Speller] Detect and properly display script variant
[ci skip]
2014-04-04 17:26:50 +02:00
nowrep
aa248893c1 [TabWidget] Renamed getTabBar() to just tabBar() 2014-04-04 17:14:31 +02:00
nowrep
b7016a70ee [PopupWindow] Fixed edit actions in menu
WebView now has all edit-functions as public signals, so we can
connect it directly (instead of triggering page action in separate
slot in PopupWindow)
2014-04-04 17:09:04 +02:00
nowrep
5c2c90ae6d [WebTab] More cleanup in detach/attach code.
TabbedWebView can now be used with null BrowserWindow pointer.
2014-04-04 17:07:31 +02:00
nowrep
61c1b8d8a1 [Cookies] Renamed Match Domain exactly to Filter 3rd party cookies
Closes #1277

[ci skip]
2014-04-03 10:19:11 +02:00
nowrep
7469aced65 [Cleanup] Deleted unused ActionCopy class
Also added myself to ComboTabBar copyright
2014-04-02 20:42:29 +02:00
nowrep
98907c2055 [WebTab] Reworked tab attaching/detaching.
This also fixes crash on detach
2014-04-01 18:47:19 +02:00
nowrep
34eeea4d58 [WebInspector] Propagate hideEvent only when closing inspector 2014-04-01 16:34:47 +02:00
nowrep
551ccd6e3c [BrowserWindow] Make sure window is created with at least one tab 2014-04-01 16:34:08 +02:00
nowrep
84f117e68e [AutoScroll] Fixed AutoScroll plugin after recent commits
Use WebView::overlayWidget for showing widgets over WebView
2014-04-01 16:32:55 +02:00
nowrep
7369e86a0a [SearchAction] Don't block Ctrl+F shortcut from pages
It is now possible to search in WebInspector with Ctrl+F

[ci skip]
2014-03-31 18:03:35 +02:00
nowrep
2d9dfa9db7 [WebInspector] WebInspector is now displayed inside WebTab
It no longer uses QDockWidget. Instead, it is plain QWidget with
close button in top right corner.
2014-03-31 17:57:35 +02:00
nowrep
7f3d8ee786 [Cleanup] Split src/lib/webview into tabwidget, webkit and webtab folders 2014-03-31 14:54:08 +02:00
nowrep
b73751f497 [GreaseMonkey] Cleanup of GM_Downloader code 2014-03-31 12:37:24 +02:00
nowrep
ed823d4d50 [ClosedTabsButton] No longer needed to have two copies of button
ClosedTabsButton is now permanent right corner widget
2014-03-31 11:50:07 +02:00
nowrep
5c8afde4d9 [Crash] Fixed crash in BrowserWindow::event
Closes #1273
2014-03-31 10:01:04 +02:00
nowrep
bfe08409b4 [PrivateBrowsing] Show PrivateBrowsing indicator as left corner widget in tabbar
Removed PrivateBrowsing icon in Status Bar
2014-03-31 09:50:54 +02:00
nowrep
da6ccdcee5 [ComboTabBar] Draw TabBarBase also on parts that are not QTabBar
Draw TabBarBase on left/right corner widgets and left/right scroll
buttons.
2014-03-31 09:47:47 +02:00
S. Razi Alavizadeh
b26d9b06ab [ComboTabBar] Fixed right scroll button being hidden on resize
When resizing window and triggering overflow, right scroll button
was hidden until the next resize event.
2014-03-30 16:42:13 +02:00
nowrep
b95da97904 [BrowserWindow] Move TabBar into NavigationContainer
Simplifies entering/leaving fullscreen, as it is only needed to
update visibility of the whole container.
2014-03-30 16:38:34 +02:00
nowrep
6e71ae3c54 [ClosedTabsManager] Save icon of closed tab
Instead of searching icon from database, save the icon of tab.
It will now correctly shows icon of not-yet loaded closed tab if
the url was not in database.
2014-03-30 12:47:13 +02:00
nowrep
a059c005ff [SBI_Icons] Added Zoom Widget to StatusBarIcons plugin
Closes #1197
2014-03-29 15:49:49 +01:00
nowrep
d6625c60fb [SBI_Icons] Update JavaScript icon state on startup 2014-03-29 15:48:50 +01:00
nowrep
9c67d874e7 [Translations] Updated plugins translations 2014-03-29 15:47:38 +01:00
nowrep
6812e020d6 [Qt5] Fixed hiding close button on current tab when dragging it
[ci skip]
2014-03-29 13:02:39 +01:00
nowrep
e598ee1230 [CaBundle] Updated ca-bundle.crt
[ci skip]
2014-03-27 22:32:41 +01: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
Javier Llorente
458f6fecf0 [DownloadItem] Add date of completed download
[ci skip]
2014-03-26 16:20:43 +01:00
nowrep
9c7d6e9795 [BookmarksToolbarButton] Final fix for rendering issues with various styles
It now works correctly with Windows, Gtk+, Oxygen and Fusion theme with
both Qt4 and Qt5.
The only theme that doesn't work correctly is Bespin, because it draws
icon size animation upon hover, but we are drawing the icon and text
manually. I think there is not much to do with it actually...
2014-03-26 10:11:30 +01:00
nowrep
525c4ff5cf [MainMenu] Create toolbars and sidebars menu to fix shortcuts
Shortcuts for sidebars are now available even before first showing
sidebars menu
2014-03-26 10:10:33 +01:00
nowrep
586a9d2242 [OxygenFallback] Correctly initialize fallback icon theme
For some reason, QIcon::hasThemeIcon does not work correctly.
2014-03-26 10:05:27 +01:00
nowrep
4305b59028 [ProgressBar] Use update() instead of repaint()
update() does not trigger repaint immediately. It helps with
speed of restoring crashed session (progressbar does not need to be
refreshed for every restored tab immediately).

The same change was made for SiteIcon in PopupLocationBar
2014-03-25 17:06:50 +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
nowrep
a284a7c864 [SiteIcon] Don't set :pressed state when popup is not shown
Popup will not be shown eg. on qupzilla: sites
2014-03-25 16:53:41 +01:00
nowrep
fcfe2999f7 [WebView] Delete m_page in destructor
This should fix rare crash when closing tab.

[ci skip]
2014-03-24 21:21:07 +01:00
nowrep
e1661a88b5 [ClosedTabsButton] Hide by default
[ci skip]
2014-03-24 18:13:37 +01:00
nowrep
b9891a815b [LinuxTheme] Deleted now unused icons
Also added "edit-find" icon to oxygen-fallback
2014-03-24 18:07:56 +01:00
nowrep
d4e9682db1 [SiteIcon] Don't flicker when opening site info popup
Make sure the Down state doesn't change between clicking on icon
and opening popup.

[ci skip]
2014-03-24 17:07:25 +01:00
nowrep
174b4e8218 [Unix] Don't register SIGPIPE handler
[ci skip]
2014-03-24 16:28:28 +01:00
nowrep
f7a88a82f7 [Oxygen-fallback] Added bookmark-new-list icon 2014-03-24 16:23:21 +01:00
nowrep
c182dd6f34 [Icons] Removed unused icons 2014-03-24 16:16:35 +01:00
nowrep
ab638a5525 [IconProvider] Use fallback oxygen icon theme (in oxygen-fallback.qrc)
Instead of manually setting fallback icons, use globally fallback theme.
2014-03-24 16:09:30 +01:00
nowrep
3c0576fcfa [BookmarksToolbarButton] Improved rendering of bookmark button
It now correctly draws hover state. It now also supports shifting
contents for Down state
2014-03-24 12:51:42 +01:00
nowrep
a0dba6bd32 [BookmarksToolbarButton] Only fix down state rendering when button is folder
Eg. when the button has menu
2014-03-23 23:54:09 +01:00
nowrep
2e8c9f690e [SiteIcon] Support :pressed state for style sheets 2014-03-23 23:53:51 +01:00
Javier Llorente
539ade15b8 add es_ES language translated 2014-03-23 13:50:15 +01:00
nowrep
e10126d2a9 [TabWidget] Fix showing empty tab title when adding new tab
Regression from recent commits
2014-03-22 23:59:38 +01:00
nowrep
64b53baee3 [TabbedWebView] No need to override stop() method 2014-03-22 22:18:28 +01:00
nowrep
db2d879717 [WebHistoryWrapper] Removed unused WebHistoryWrapper class 2014-03-20 09:11:19 +01:00
S. Razi Alavizadeh
0b4be9055e [Windows] Fixed inserting QUnicodeControlCharacterMenu to contextmenu. 2014-03-20 01:14:36 +03:30
nowrep
e36697eedf [SearchEngines] Support for loading POST engines from LocationBar
Added new class LoadRequest, that holds network request with its
operation type and POST data.
2014-03-19 21:27:43 +01:00
korwru
d247fd9f74 Fix msvc compile issue m_navigationBar undeclared identifier 2014-03-19 15:38:14 +04:00
korwru
a1e849fd9a Fix msvc compile error m_usingTransparentBackground undeclared
identifier
2014-03-19 15:32:30 +04:00
korwru
2097ce08d3 Fix msvc compile issue with datapaths 2014-03-19 15:22:16 +04:00
korwru
75040eace2 Fix msvc compile issue in mainapplication use of undefined type
RegisterQAppAssociation
2014-03-19 15:14:01 +04:00
korwru
a4588a0c28 Fix msvc compile issue in tabwidget. 2014-03-19 15:01:53 +04:00
K0r5hun
8e0d849e01 Fix compile issue with plugins on msvc. 2014-03-19 14:38:16 +04:00
nowrep
f042ba9b88 [TabBar] Fixed showing 2 AddTab buttons when tabs overflows 2014-03-18 20:38:30 +01:00
nowrep
cbc3f4f875 [DuckDuckGo] Use new icon for DuckDuckGo search engine 2014-03-18 20:10:19 +01:00
nowrep
3d23f3eb02 [WebTab] Move more code into WebTab, instead of handling in TabWidget/TabBar
This also fixes showing tab icon after detaching tab
2014-03-18 20:00:34 +01:00
nowrep
27a3781ed0 [ComboTabBar] Move right/left containers to ComboTabBar class
It is now possible to set corner widgets of all tabbar, not only
main tabbar.
2014-03-18 17:35:44 +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
b3c40e6281 [SiteIcon] Correctly show first site icon 2014-03-17 11:04:26 +01:00
nowrep
5b6b6c6eaf [LoadingAnimation] New loading animation
Instead of using QMovie with GIF, one PNG file with all
frames is now animated.
Fixes issue with bad transparent background of previous GIF
animation.
2014-03-17 10:43:18 +01:00
nowrep
ebd501c9cd [SiteIcon] Show icon with small delay (100ms) 2014-03-17 09:08:36 +01:00
nowrep
a9eba60da2 [LocationCompleter] Pause updates when removing items from completer
Also adjust the size of popup after removing items + close it after
removing last item.
2014-03-16 17:24:10 +01:00
nowrep
20cd658274 [ProfileManager] Fix currentProfile() cutting last char of profile name 2014-03-16 15:31:19 +01:00
nowrep
b9c58b14b3 [AutoScroll] Force ArrowCursor when scrolling 2014-03-16 14:56:09 +01:00
nowrep
f9f74f3642 [LocationBar] Always show site icon in 16x16px 2014-03-16 14:33:56 +01:00