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

299 Commits

Author SHA1 Message Date
nowrep
7c57588738 Cancel upload when trying to upload non-readable files. 2013-04-04 20:32:56 +02:00
nowrep
67dbddedfe [FileWatcher] Delay emition of file/dir changed signal.
Fixes reloading files edited by eg. vim.
2013-04-02 13:14:19 +02:00
S. Razi Alavizadeh
334f90b12b [Windows] Fixed first moment black background of new tab. 2013-03-24 01:00:05 +04:30
nowrep
cb0630de35 Don't limit speed of loading animation in tabbar. 2013-03-20 10:26:18 +01:00
nowrep
e72610da0a Translate edit actions in page context menu + added delete action. 2013-03-18 15:53:16 +01:00
nowrep
ff55c915b3 [TabIcons] Fixed incorrectly showing icon of tabs in some rare cases.
It now correctly shows error sign on tab when error page is loaded.
2013-03-14 15:25:40 +01:00
nowrep
f508475916 [Fix] Fixed duplicating current url in history when restoring session. 2013-03-13 11:57:56 +01:00
nowrep
ab8496610e [TabPreview] Don't show tab previews while dragging tabs. 2013-03-11 15:14:50 +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
f6f604698d [Win] Improved "windows" theme+transparent TabBar's background 2013-03-03 23:34:21 +03:30
nowrep
50e993e014 [TabBar] Compute minimum tab sizes with ProxyStyle pixelMetrics.
It will make it possible for styles to basically style tabs.
2013-03-03 20:20:49 +01:00
nowrep
aa2f6664bf Quick fix for previous commit. 2013-03-02 23:18:49 +01:00
nowrep
1f5df24a44 [TabBar] Position of add tab button was incorrect sometimes.
Fixed showing add tab button always at correct position.
Also removed duplicate code in tabSize.
2013-03-02 18:15:05 +01:00
nowrep
b1eca8095e Select line in locationbar when opening new tabs only when text is empty.
Fixes followup to #752
2013-02-28 19:38:12 +01:00
S. Razi Alavizadeh
b52d150e7d [Mac] Small fixes in themes + fixed building
Theme: fixed color of statusbar
Building: fixed linking to CoreServices framework
QzTools: show correct version of Mac OS X
Code: coding style
2013-02-26 13:01:00 +01:00
nowrep
d885444501 [Code] Use QVector instead of QList for elements bigger than pointer. 2013-02-26 12:56:11 +01:00
nowrep
53b31ea912 Fixed copying url with special characters into clipboard.
Also properly encode url for loading in W3 validator.

Followup to #762
2013-02-23 17:21:33 +01:00
nowrep
63b5a059c9 Coding style + changed line endings of copyright 2013-02-23 16:18:01 +01:00
nowrep
2ddff2a34e Restore tabs: Disable updates of tabbar while restoring session.
Fixes sometimes drawing tabbar while restoring is in process, resulting
in painting only few tabs and then all restored tabs after a moment.
It will now only draw completely restored tabbar.

Also fixed one incorrect usage of setUpdatesEnabled in TreeWidget.
2013-02-23 12:04:51 +01:00
S. Razi Alavizadeh
bb9bccf580 Added 'MacToolButton' as a replacement for QToolButton on Mac 2013-02-21 01:09:26 +03:30
S. Razi Alavizadeh
1320a6cf03 [Mac] Fixed rendering of tab's buttons. 2013-02-20 23:52:38 +03:30
nowrep
134f8f5263 [SiteInfo] Use uniform item sizes in list widget.
Also fixed showing the whole item on Windows.
2013-02-20 11:46:05 +01:00
nowrep
ac7dc197ae Fixed hiding navigation container when disable and enabling tabs on top.
Closes #764
2013-02-19 11:23:21 +01:00
nowrep
f3c7f5a3ba [Qt5] Fixed failing FormCompleter tests. 2013-02-18 13:37:33 +01:00
nowrep
5b0f37abd5 Fixed crash when showing multiple notifications with Tabs On Top. 2013-02-17 11:41:42 +01:00
nowrep
742326bde7 Added possibility to select text on page with Shift+Arrow keys.
Shift+Right Arrow        => select next char
Shift+Left Arrow         => select previous char
Shift+Ctrl+Right Arrow   => select next word
Shift+Ctrl+Left Arrow    => select previous word
Shift+Home               => select start of line
Shift+End                => select end of line
Shift+Ctrl+Home          => select start of document
Shift+Ctrl+End           => select end of document
2013-02-17 11:07:02 +01:00
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
7b3b4f9b94 [Regression] Fixed restoring session with pinned tabs.
Regression from adding tabs on top feature.
2013-02-15 22:18:46 +01:00
nowrep
bea5f72ad7 [SiteInfo] Improved setting height of section widget. 2013-02-11 17:11:13 +01:00
nowrep
9a99509faf Proper fix for restoring current tab.
Fix for 3b4d2f5534
2013-02-11 16:45:10 +01:00
nowrep
3b4d2f5534 [Regression] Fixed restoring current tab.
Regression from 38c4d347c9
2013-02-11 11:02:42 +01:00
nowrep
38c4d347c9 [TabsOnTop] Fixed flickering when closing tab.
It only occured when closing tab and going to tab that hasn't
been loaded yet (don't load tabs until selected)
2013-02-11 09:51:22 +01:00
nowrep
0133886b06 Revert "[jsoptions] Added "Disable or change context menu" option"
It broke Inspect Element action.

This reverts commit f6de3bd5a0.
2013-02-10 20:42:16 +01:00
nowrep
23690d4154 [code] Moved checking for RSS into WebView. 2013-02-10 14:09:11 +01:00
nowrep
c9bcf15f9b [popupwindow] Show minimal version of search toolbar.
Also set minimumWidth.
2013-02-10 11:25:44 +01:00
nowrep
d8527917ca [code] Remove wantsFocus(QUrl) signal. Instead using better solution.
When HTTP authorization is requested, this signal is used to
set the originating WebTab as current widget in tabwidget.
2013-02-10 10:38:12 +01:00
nowrep
945b40f2a5 Improved showing navigation in fullscreen.
It will now hide navigation toolbar after 1 second instead
of hiding it instantly when on mouse leave.
2013-02-09 15:44:17 +01:00
nowrep
83f3c90752 Added option to show tabs on top.
You can change it in Menu View -> Toolbars

Closes #640
2013-02-09 13:00:45 +01:00
S. Razi Alavizadeh
ed928dc512 [Mac Global Menu] Added some new slots to support our MENU_RECEIVER idea. 2013-02-09 14:47:19 +03:30
nowrep
67d6d380cd [AutoFill] Added password icon into locationbar to choose username.
Closes #735
2013-02-08 18:44:26 +01:00
nowrep
0a9f2ec4d6 Coding style. 2013-02-08 12:10:12 +01:00
nowrep
3b648397b0 [code] Added checks before using QWebPage::view(). 2013-02-07 14:38:31 +01:00
nowrep
312a86d584 [spellcheck] Fixed adding some words into user dictionary. 2013-02-07 13:43:37 +01:00
nowrep
efe5ed8e7d Disabled opacity effect in animated tab previews by default.
It can still be enabled with ENABLE_OPACITY_EFFECT build variable.
This is final fix for #663
2013-02-07 12:35:54 +01:00
nowrep
3b301e8446 [adblock] Added support for $image rules.
It tests whether the url ends with .jpg/.jpeg/.gif/.png
2013-02-07 11:04:09 +01:00
nowrep
2bb002b62d Properly returning page to its original state after rendering preview.
See #663
2013-02-06 23:45:43 +01:00
nowrep
24957fd537 Fixed crash with "Allow js to disable context menu" option.
See f6de3bd5a0
2013-02-06 23:44:45 +01:00
nowrep
f6de3bd5a0 [jsoptions] Added "Disable or change context menu" option
User can now set whether sites are allowed to change or
completely disable context menu.
2013-02-06 18:17:50 +01:00
nowrep
60550fcbfb Fixed scrolling to anchor(#) links in background tabs.
Setting correct QWebPage::viewportSize() on creation.
Closes #663
2013-02-06 17:42:32 +01:00
nowrep
7c9d7fd25c [spellcheck] Enable SpellCheck on Windows by default. 2013-02-06 13:11:26 +01:00
nowrep
67a08d237d [code] Using QVariant::fromValue instead of obsolted qVariantFromValue. 2013-02-05 22:33:54 +01:00
nowrep
0a7773bec1 [spellcheck] Added dialog with spell check settings. 2013-02-05 22:31:16 +01:00
nowrep
c3a0e1f13a [spellcheck] Added context menu options to replace misspelled words.
And also to add word into user dictionary.
2013-02-05 20:43:53 +01:00
nowrep
dfb69be90e Don't show AdBlock icon in webview context menu on editable content. 2013-02-05 13:41:30 +01:00
nowrep
4f3c8b0d00 Check for QtWebKit 2.2 availability with pkg-config.
Fixes issues with building with QtWebKit 2.2 and Qt 4.7
2013-01-31 20:27:37 +01:00
nowrep
4f42040c7e Followup for background fix with dark themes. 2013-01-31 14:18:28 +01:00
nowrep
a97ef7d627 Properly fixed page background color with dark themes.
Also fixed building with Qt 4.7
2013-01-31 11:54:42 +01:00
nowrep
712877a068 Updated windows installer - remove untranslated languages.
And changed "Register http and https protocols" to "Register
http(s) and ftp protocols".
So this should be changed in all translations.
2013-01-29 14:23:10 +01:00
nowrep
709bc71f1a Merge branch 'srazi-master' + fixed building on Linux.
Conflicts:
	src/lib/lib.pro
2013-01-29 00:13:34 +01:00
hrobeers
fbfcc706c2 Support for loading not percent encoded bookmarklets.
Closes #722 #717
2013-01-28 23:10:49 +01:00
S. Razi Alavizadeh
a05c4b2bdb Added FTP support. (List and Download) 2013-01-28 13:22:55 +03:30
nowrep
32f69c89be Don't steal Ctrl+U/B/I shortcuts from page.
When writing eg. mail on gmail, you can make text bold,
underline and italic with Ctrl+U/B/I shortcuts.
It will now correctly process the web action instead
of showing bookmarks sidebar, source of page and page info.

Shortcut for bookmarks sidebar has been change to Ctrl+Shift+B
2013-01-26 21:58:09 +01:00
nowrep
84dc48ef67 Don't show "Resend form" dialog when app is starting. 2013-01-26 12:20:46 +01:00
nowrep
1f2b0eef87 Possible to open background/selected tab from "Open in new tab" action
Inverts the prefered option to opening new tabs with middle mouse click.
Closes #635
2013-01-26 12:07:32 +01:00
nowrep
c1c1b4130e New option "Open new empty tabs after active tab".
Closes #544
2013-01-25 23:49:46 +01:00
nowrep
3f616b330d Added Inspect Element action into popup window's context menu. 2013-01-25 20:00:37 +01:00
nowrep
b7cc728d63 Improved PopupWindow + added correspoding tests.
Added menu to popup windows. It is now also possible
to search on page in popup window (Ctrl+F).
2013-01-25 19:52:30 +01:00
nowrep
498f24add1 [Code] Renamed AutoFillModel + new class PageFormCompleter. 2013-01-24 17:47:50 +01:00
nowrep
30719365ac Fixed loading NYTimes Skimmer page.
https://www.nytimes.com/skimmer/#/Top+News

Implemented applicationCacheQuotaExceeded and databaseQuotaExceeded
slots that increases quotas.
2013-01-23 18:48:51 +01:00
nowrep
e28f9d438e [Code] qz_ prefixed functions moved to QzTools namespace. 2013-01-22 19:04:22 +01:00
nowrep
14ca6e2f0d Added new macros for checking QTWEBKIT version.
QTWEBKIT_FROM_2_2 - >= 2.2.0
QTWEBKIT_TO_2_2   - < 2.2.0
QTWEBKIT_FROM_2_3 - >= 2.3.0
QTWEBKIT_TO_2_3   - < 2.2.0

It also check whether Qt5 is used and if so, it will
compile all features just like the QtWebKit version
was 2.3.0
2013-01-20 12:10:28 +01:00
S. Razi Alavizadeh
6072b7c4be [Windows] fixed include conflicting when defining 'W7TASKBAR' 2013-01-19 23:49:41 +03:30
nowrep
ef4cfad805 Removed USE_QTWEBKIT_2_2 build variable.
It will now be automatically detected.
It assume that if you are building with Qt 4.8 and higher,
you have QtWebKit 2.2 and higher.
2013-01-19 19:37:40 +01:00
nowrep
81ac819746 Ask user to allow site to use notifications/geolocation.
With option to remmber the choice for page.
2013-01-19 17:28:12 +01:00
nowrep
8cc303a355 Fix possible crash on startup.
Don't calculate space for tab if the available
space is negative.
2013-01-19 16:34:19 +01:00
nowrep
6bf53c0332 [QtWebKit 2.3] Disable unnecessary workarounds.
Disabled touch mocking and fake user agent.
2013-01-09 19:00:48 +01:00
S. Razi Alavizadeh
6f5d32eddf Fixed problem of setting listWidget's height from recent commit: f27137f8ae 2012-12-29 11:31:01 +03:30
nowrep
f27137f8ae Fixed rendering issues in ListWidget in SiteInfo
It should now be rendered well with all possible
font sizes.

Closes #663
2012-12-28 01:59:39 +01:00
nowrep
69eed9efe0 Qt5: Disabling touch mocking workaround for some pages.
It is working all right now with latest QtWebKit.

See issues #634 #33
2012-12-21 16:04:57 +01:00
nowrep
365c0d5efd Qt5: Added info about Qt version into session files.
It will break restoring sessions from Qt4 into Qt5.
QupZilla can now run with Qt5.
(there are still some issues to be resolved)
2012-12-20 15:22:14 +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
S. Razi Alavizadeh
15cc84f1b1 Fixed the issue about computing of rounding errors 2012-12-11 12:24:40 +03:30
S. Razi Alavizadeh
9db9c89eb8 A better size-hint for active tab.
-Now the active tab has enough space for its close button.
2012-12-10 02:56:25 +03:30
Franz Fellner
251ab8af66 Do not add an item to history only if reloading.
Should fix #666.
2012-12-08 21:18:30 +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
nowrep
2dd3f80618 Little change to fix from previous commit 54e1bfeffa
Set QPalette white background color instead of setting
CSS stylesheet.
2012-12-06 22:23:11 +01:00
nowrep
85d09c8a64 Added option to disable Alt/Ctrl + numbers shortcuts
Closes #647
2012-11-28 11:27:30 +01:00
nowrep
0a2dbc83a0 Fixed dropdowns on Twitter instant hiding
- added twitter into exceptions for touch mocking
Closes #634
2012-11-28 09:43:47 +01:00
Franz Fellner
d08ec28d70 remove CloseButton::hideEvent()
That causes crashes when entering/leaving fullscreen mode when the tabbar has non-closable tabs.
deleteLater() in the hideEvent left a dangling pointer in the corresponding QTabBarPrivate::Tab.
The next re-layout of the tabs caused the crash when querying the size of the deleted closeButton:

[...]
2012-10-24 18:24:39 +02:00
nowrep
eddc51734a Version 1.3.5 2012-09-16 20:42:07 +02:00
Franz Fellner
f3221c70d6 Introduce LocationBarPopup as base for - popups in the location bar.
The switch is needed due to palette problems on some color schemes (e.g. inverted look for popupmenus or tooltips), which could lead to unreadable text.
2012-09-15 17:39:54 +02:00
nowrep
5cf6b1c565 Fixed color of text in labels in SiteInfo/Bookmarks/RSS urlbar popup.
- using tooltip text color with gtk+ and besping styles
2012-09-12 11:59:23 +02:00
nowrep
2d5b0c0bc0 Don't check for null pointer before deleting objects.
- as delete 0 is safe
2012-09-11 11:43:11 +02:00
nowrep
62ac0e2fde More QLatin1String and QLatin1Char work 2012-09-05 19:58:07 +02:00
nowrep
528f398cbe Using QLatin1String and QLatin1Char now everywhere
- it saves few unnecessary allocations
2012-09-04 12:42:45 +02:00
nowrep
c7cdaf824f Qt5: Changing Q_WS_* macros to Q_OS_*
- Q_WS_* macros have been removed in Qt 5
2012-09-03 23:03:20 +02:00
nowrep
c71cf910cb TabBar: If not enough space, show close button only on current tab
- removed "Show close button on tabs" option as it is now redundant
2012-09-03 22:40:52 +02:00
nowrep
30b8eaf44e Another Oxygen workaround for pinned tab width.
- it now also center site icon in the tab
2012-09-03 15:28:37 +02:00
nowrep
3065d58b25 Fixed width of pinned tab with Oxygen theme.
- also added runtime check of current Qt theme in use
2012-09-03 13:24:29 +02:00
nowrep
cff5fce5da Fixed showing close buttons on pinned tabs.
- regression from 1e5b7d92cd
2012-09-02 14:18:07 +02:00