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

4857 Commits

Author SHA1 Message Date
David Rosca
e73bf22aa9 WebView: Call acceptNavigationRequest before loading urls
Closes #2544
2018-01-13 10:15:30 +01:00
David Rosca
a8dcf176cf Fix merge issues 2018-01-11 20:51:34 +01:00
David Rosca
c3b2a9c6a7 SpeedDial: Fix updating background after selecting image 2018-01-11 20:51:34 +01:00
David Rosca
d7c4560f21 Fix indentation in speeddial.html 2018-01-11 20:51:34 +01:00
Konstantin Savun
5b45baf630 Style Update [SpeedDial+SpeedDial:Icons] (#2539)
SpeedDial: Style update
2018-01-11 20:51:21 +01:00
David Rosca
692d55fff7 AdBlock: Move remaining code to adblock subdir 2018-01-11 20:03:14 +01:00
David Rosca
3608b48f6e BrowserWindow: Simplify fullscreen handling 2018-01-11 19:58:13 +01:00
David Rosca
76e0400dd1 AboutDialog: Remove special handling for Windows 2018-01-11 19:57:30 +01:00
David Rosca
3833447767 BrowserWindow: Fix restoring maximized state after leaving fullscreen 2018-01-11 19:57:17 +01:00
David Rosca
e0e62c6e81 SearchEngines: Add back support for window.external.AddSearchProvider 2018-01-11 19:57:10 +01:00
David Rosca
6ecc9f616f ExternalJsObject: Don't export search engine functions
Our window.external is no longer available to web pages so it has no effect.
2018-01-11 19:56:31 +01:00
David Rosca
195d3f2b93 TabWidget: Reset zoom when resetting tab when closing last tab
Closes #2540
2018-01-11 19:56:19 +01:00
David Rosca
d0587e9f6c DesktopNotification: Don't change window opacity 2018-01-11 19:56:04 +01:00
David Rosca
059889ecfe BrowserWindow: Don't show "Empty Page" in window title 2018-01-11 19:55:44 +01:00
David Rosca
7dfce692d7 WebPage: Don't force enable JavaScript on file: scheme 2018-01-11 19:55:07 +01:00
David Rosca
4bf85ee3cb WebPage: Register QWebChannel on isolated ApplicationWorld
This way scripts on pages don't have access to it.
Exception is qupzilla: scheme as internal pages requires the bridge.

GreaseMonkey userscripts now runs on ApplicationWorld too. This fixes
userscript that depend on script world being isolated from main page world.
Tested with 4ChanX + OneeChan.
2018-01-11 19:55:01 +01:00
David Rosca
b291c27d4e AdBlockDialog: Fix icon path in Options button 2018-01-11 19:54:24 +01:00
David Rosca
e155e1eedb Windows installer: Remove Breathe section 2018-01-11 19:54:09 +01:00
David Rosca
c3e4d80010 AdBlock: Load blocked page as data url instead of qupzilla:adblock
AdBlock is now completely separate main app code.
2018-01-11 19:52:29 +01:00
David Rosca
f16580dc05 AdBlockPlugin: Change into real internal plugin 2018-01-11 19:51:47 +01:00
David Rosca
9bff0f1b5c Plugins: Remove no longer used Click2Flash settings 2018-01-11 19:51:20 +01:00
David Rosca
7143e1130c Update themes
- use window background instead of white for AboutDialog background
- use new style for desktop notifications
- set pinned tab width in Windows theme
- remove styling of Download Manager
2018-01-11 19:50:58 +01:00
David Rosca
da9e873d2c AboutDialog: Remove frame from QTextBrowser 2018-01-11 19:50:46 +01:00
David Rosca
29f0644f59 Fix background of tab icon in Windows theme 2018-01-11 19:50:35 +01:00
David Rosca
5cd580d284 ComboTabBar: Update moving tab contents during drag
Unlike QTabBar, ComboTabBar now redraws contents of moving tab.
2018-01-11 19:50:31 +01:00
David Rosca
d7146519b4 ComboTabBar: Fix draggedTabRect returning rect of current instead of pressed index 2018-01-11 19:50:26 +01:00
David Rosca
b2de2a00f4 ComboTabBar: Fix tabPixmap with high-dpi 2018-01-11 19:50:23 +01:00
David Rosca
675bc0514f WebPage: Force enable JavaScript for all non http/https urls 2018-01-11 19:50:18 +01:00
David Rosca
287631d37b WebPage: Remove setJavaScriptEnabled method 2018-01-11 19:50:13 +01:00
David Rosca
6b90851d8c DesktopNotifications: Set app icon to preview notification
Closes #1859
2018-01-11 19:49:57 +01:00
David Rosca
80eb072bb1 NavigationBarToolButton: Prevent down state flickering when showing popup 2018-01-11 19:49:17 +01:00
David Rosca
516bd92089 TabBar: Allow to change width of tabs using style sheets
It can be set in themes or in userChrome.css as in example.

/* userChrome.css */
TabBarTabMetrics
{
    qproperty-normalMaxWidth: 250;
    qproperty-normalMinWidth: 150;
    qproperty-activeMinWidth: 150;
    qproperty-overflowedWidth: 150;
    qproperty-pinnedWidth: 35;
}
2018-01-11 19:49:12 +01:00
David Rosca
bfc3b0bf4a Load userChrome.css Qt style sheet from profile directory
Allows to fine-tune interface without directly modifying themes.
2018-01-11 19:49:07 +01:00
David Rosca
95921692be ComboTabBar: Apply padding adjustment to all tabs 2018-01-11 19:49:03 +01:00
David Rosca
e21e147bbb NavigationBarConfigDialog: Fix restore to defaults action 2018-01-11 19:48:59 +01:00
David Rosca
21bd073482 TabBar: Increase drag start distance to not disturb tab moving
Also remove no longer needed timer to show add tab button.
2018-01-11 19:48:55 +01:00
David Rosca
23f84abc3b NavigationBar: Correctly filter invalid layout ids 2018-01-11 19:48:50 +01:00
David Rosca
1f9599aac7 Add DownloadsButton to navigation toolbar
It is visible only when there are items in download manager and shows
number of active downloads in badge text.
2018-01-11 19:48:43 +01:00
David Rosca
0e41fd0785 AbstractButtonInterface: Add support for hiding tool button 2018-01-11 19:48:06 +01:00
David Rosca
238a06874d AbstractButtonInterface: Allow delayed hide of popup 2018-01-11 19:48:01 +01:00
David Rosca
20374c8982 Remove breathe theme
It is no longer maintained.
2018-01-11 19:47:50 +01:00
David Rosca
3c6fa62557 Update theme descriptions 2018-01-11 19:47:29 +01:00
David Rosca
1595587945 ThemeManager: Set proper icon size for QListWidget 2018-01-11 19:46:56 +01:00
David Rosca
df632c7ced NavigationBar: Only reload layout when settings changes 2018-01-11 19:46:51 +01:00
David Rosca
e33174100e NavigationBar: Bring back exit fullscreen button
This time it is configurable and hidden by default.
2018-01-11 19:46:44 +01:00
David Rosca
a4738c8a3e Hide tabbar base in Windows style 2018-01-11 19:46:39 +01:00
David Rosca
50d1bb6d96 ComboTabBar: Add possibility to change base color from stylesheets 2018-01-11 19:46:33 +01:00
David Rosca
c62b41d3d7 Fix tabbar buttons to have equal height as tabs in Windows theme 2018-01-11 19:46:11 +01:00
David Rosca
49ebfa3f5d TabBar: Don't hide add tab button when moving tabs 2018-01-11 19:46:06 +01:00
David Rosca
68ed91c909 ComboTabBar: Block moving tabs outside of tabbar 2018-01-11 19:46:03 +01:00