1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 11:02:19 +01:00
Commit Graph

710 Commits

Author SHA1 Message Date
nowrep
1059936d57 [Updater] Send also OS type when checking for new version. 2013-02-12 16:52:30 +01:00
nowrep
1769193284 Coding style. 2013-02-12 11:14:25 +01:00
S. Razi Alavizadeh
1f9ce798a7 [FTP] Used a new method for list/download to support some FTP servers. see #753 2013-02-12 13:28:11 +03:30
nowrep
789b4c8600 Select all on (double) click also available for websearchbar.
Closes #752
2013-02-12 08:16:05 +01:00
nowrep
e069da55e3 [X11] Fixed showing window in fullscreen with XFCE.
Closes #648
2013-02-11 17:59:21 +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
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
3b4d2f5534 [Regression] Fixed restoring current tab.
Regression from 38c4d347c9
2013-02-11 11:02:42 +01:00
nowrep
76f324549e Updated copyright to 2013.
Closes #750
2013-02-11 09:59:53 +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
a1a8fb90f5 Added option to choose where to store network cache. 2013-02-10 14:50:18 +01:00
nowrep
06b582a37e [popupwindow] Show locationbar's icons also in popup windows. 2013-02-10 14:09:28 +01:00
nowrep
23690d4154 [code] Moved checking for RSS into WebView. 2013-02-10 14:09: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
c9bcf15f9b [popupwindow] Show minimal version of search toolbar.
Also set minimumWidth.
2013-02-10 11:25:44 +01:00
nowrep
67d1a8af84 [popupwindow] Fixed copying text from locationbar. 2013-02-10 11:17:44 +01:00
nowrep
15f2471f93 [code] Don't use LineEdit class when not needed. 2013-02-10 10:46:15 +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
00cf5cdbd2 Exporting SpellCheck classes + fixed some translation issues. 2013-02-10 10:28:13 +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
d81b77a004 [SpeedDial] Fixed fetching title of page when title is empty.
When user checks "Fetch title from page" and resulting title is empty,
let's just show url of the site.
2013-02-09 20:52:25 +01:00
Jonathan Hooverman
e08a4d9836 Use consistently British English in UI 2013-02-09 19:49:02 +01:00
Jonathan Hooverman
4e2a829680 Use consistently British English in UI 2013-02-09 19:43:13 +01:00
nowrep
b525e0740a Don't save window geometry when in fullscreen. 2013-02-09 15:47:06 +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
8a6beac501 Show toolbars menu on right click in menubar and navigation toolbar. 2013-02-09 14:08:12 +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
nowrep
732c1b533f Coding style. 2013-02-09 12:40:20 +01:00
S. Razi Alavizadeh
e1e62db4c4 Updated .gitignore and fixed a typo 2013-02-09 14:47:26 +03:30
S. Razi Alavizadeh
05a8b7fcc5 [Mac] Fixed, actions were not triggered. 2013-02-09 14:47:25 +03:30
S. Razi Alavizadeh
a1ff0799cb [Mac gobalmenu] Fixed issue about bookmark menu and sidebar menu. 2013-02-09 14:47:24 +03:30
S. Razi Alavizadeh
7b0e45269f [Mac] Create menubar's instance just for FirstAppWindow 2013-02-09 14:47:22 +03:30
S. Razi Alavizadeh
4e87177c15 Enabling actions moved to MacMenuReceiver. 2013-02-09 14:47:21 +03:30
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
S. Razi Alavizadeh
860b5b8440 [Mac] Added support for global-menu.
-Added MacMenuReceiver class
-Added MENU_RECEIVER as receiver for action's signal
2013-02-09 14:47:18 +03:30
nowrep
67d6d380cd [AutoFill] Added password icon into locationbar to choose username.
Closes #735
2013-02-08 18:44:26 +01:00
nowrep
3ccc0a67c1 [AutoFill] Support for saving passwords of multiple users per site. 2013-02-08 15:07:56 +01:00
nowrep
8988f9c86e [AutoFill] Initial rewrite to support multi-users for one site. 2013-02-08 13:02:53 +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
9c31ff875e [adblock] Added RU Adlist into known subscriptions. 2013-02-07 11:12: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
785b9fcdbe [spellcheck] Fixed replacing words in multiple lines text. 2013-02-06 12:06:35 +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
074bd928c7 [spellcheck] Adding Speller object into MainApplication. 2013-02-05 15:41:10 +01:00
nowrep
fc41e1516d [sourceviewer] Option to load edited source code in page.
Also fixed showing AdBlock css rules when reloading source.
2013-02-05 15:17:36 +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
668022ed64 Improved parsing of Content-Disposition header.
It now tries to detect whether UTF-8 encoding is used.
Closes #745
2013-02-04 22:48:34 +01:00
nowrep
37a81cdf30 Sending information about versions in reportbug page.
Improved OS detection on Windows. It will also show version
of Windows (except Win 8)
2013-02-04 13:07:21 +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
S. Razi Alavizadeh
396bac50b6 Update HTTP password when needed and remove redundant casting 2013-02-04 14:41:27 +03:30
nowrep
47eecba4da Added QtWebKit platform plugin for notifications and spellcheck.
It's mostly just copied implementation from qtwebkit-plugins repo.
Spellcheck is only very basic.

Spellcheck will be automaticaly compiled if pkg-config detects
installed hunspell library.
2013-02-03 18:14:57 +01:00
nowrep
c0c0d51b25 Little cleanups in code.
Show WebGL enabled with QtWebKit 2.3 only on Linux.
2013-02-02 13:54:26 +01:00
nowrep
00a5b62667 Fixed matching cookies according RFC 6265.
Perform cookie domain matching on domains without
leading dot.
Matching cookies against blocklist/whitelist is now
also properly working.
2013-02-01 14:45:42 +01:00
nowrep
0c10211cea [autofill] Change saved password when user enters new data.
Closes #734
2013-01-31 23:13:06 +01:00
nowrep
4fc6686185 Properly export form data if password input is the only input in form. 2013-01-31 21:29: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
f17f9f89b4 WebGL is now enabled by default on QtWebKit 2.3
Also fixed link in README and translated one string in czech
windows installer.
2013-01-31 19:17:38 +01:00
Mladen Pejaković
0b2bf6b0c0 Added search field in autofill manager in preferences. 2013-01-31 19:16:11 +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
b97d1eeef5 Revert "Add new option "Ignore system colors" for dark themes."
This reverts commit 4b2fd86fdd.
2013-01-31 11:53:48 +01:00
nowrep
4b2fd86fdd Add new option "Ignore system colors" for dark themes.
It will set default background of html element to white.
However, this may break some sites, so let's just make this
optional.
2013-01-31 02:08:28 +01:00
Pier Luigi Fiorini
d56f1e9bd4 Fix build with Qt 5.1 development branch
QT_{BEGIN,END}_HEADER defines were removed.
2013-01-31 01:06:37 +01:00
Jonathan Hooverman
023a37802e Fixed typo 2013-01-30 21:09:27 +01:00
nowrep
bb1c775d50 Don't remove whitelisted cookies with "Remove all cookies on close" opt.
Closes #732
2013-01-30 18:49:35 +01:00
nowrep
109f607157 Fixed removing all cookies on close option.
Closes #731
2013-01-30 16:04:05 +01:00
nowrep
949bfe42ed GreaseMonkey: Reload scripts on when source file changes.
Closes #729
2013-01-30 14:12:09 +01:00
nowrep
e9b3442ef9 Use different network cache folders for each WebKit version
Fixed crashes when using cache from older QtWebKit in 2.3 version
2013-01-30 12:18:07 +01:00
nowrep
5569cec48b [win] Fixed building after last commit. 2013-01-29 20:58:08 +01:00
nowrep
95445738ef [win] Don't check for default browser on startup.
Also cleanup in #ifdefs in RegisterQappAssociation
2013-01-29 20:34:14 +01:00
nowrep
b415df3395 Fixed building on both Linux & Windows. 2013-01-29 19:55:09 +01:00
David Rosca
ecb1d54af3 Merge pull request #726 from srazi/master
Fixed downloader issue and some ftp related changes.
2013-01-29 10:29:32 -08:00
nowrep
5968849e6d Make "Switch to tab" translatable.
LocationCompleterDelegate does not include Q_OBJECT

Closes #725
2013-01-29 19:25:20 +01:00
S. Razi Alavizadeh
62d3fd8bbb [FTP] Caching file icons, also added ftp to installer script and associationManager() 2013-01-29 20:03:56 +03:30
S. Razi Alavizadeh
de7c9d56d3 Fixed crash on choosing non-writable download location. 2013-01-29 19:50:58 +03:30
nowrep
4f906fc515 Cleanup in locationbar progressbar settings in preferences. 2013-01-29 14:47:11 +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
53a30cbf39 Updated translations. 2013-01-29 13:40:15 +01:00
nowrep
570ecf36cd Using mApp->tempPath() everywhere. (PROFILEDIR/temp) 2013-01-29 13:16:24 +01:00
S. Razi Alavizadeh
d5ce0cf33f [FTP} no console output when there is no error. 2013-01-29 05:32:33 +03:30
S. Razi Alavizadeh
23a16726a8 Fixed bug about incorrect icon returned by QFileIconProvider() for the file that is going to download.
-and added the missing include
2013-01-29 05:22:08 +03:30
S. Razi Alavizadeh
dd58127293 Fixed blocking link with ftp and qupzilla schemes because of the 'Same Origin Policy'. 2013-01-29 05:15:10 +03:30
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
nowrep
780106ddd0 Draw cursor in locationbar when completion popup is shown.
Closes #645
2013-01-28 19:38:03 +01:00
nowrep
eb583d429b New dialog in preferences: HTML5 Permissions
Show all sites that will have permanent permissions (be always
blocked) to show desktop notifications / use geolocation.
2013-01-28 18:20:36 +01:00
S. Razi Alavizadeh
a05c4b2bdb Added FTP support. (List and Download) 2013-01-28 13:22:55 +03:30
nowrep
772440d86c Fixed opening target=_blank links in new tab.
Regression from b7cc728d63610978dbac37238b00f0e08cf58ddc#L3R102
2013-01-27 20:49:22 +01:00
nowrep
b70fc83474 Fixed position of background images in SpeedDial.
Regression from df6417af4a
2013-01-27 13:29:35 +01:00
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
3caf5535cd PageFormCompleter: Improved detecting sent form.
Also added new test.
2013-01-26 11:09:25 +01:00
nowrep
c1c1b4130e New option "Open new empty tabs after active tab".
Closes #544
2013-01-25 23:49:46 +01:00
nowrep
3cdb4c26df Fixed setting current tab after recovering crash.
It set currentIndex - 1 before.
2013-01-25 23:36:50 +01:00
nowrep
359e1842a0 Fixed crash when showing context menu in websearchbar. 2013-01-25 22:42:20 +01:00
nowrep
df6417af4a Final fix for page background with dark themes.
Background of html element is now by default set to
white.
Closes #602
2013-01-25 21:14:37 +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
21d2c57dd8 Added autotests for QzTools helper functions. 2013-01-24 14:25:26 +01:00
nowrep
25cf1eedc4 Fixed broken Click2Flash from previous commit.
Broken by mistake in e28f9d438e
2013-01-24 00:00:57 +01:00
nowrep
1fef4efec7 Using clever approach to find username inputs in form.
Saving passwords and usernames should now work for much
more sites.
It now looks for input[type="email"] and inputs without
type attribute too.

Closes #674
2013-01-23 23:23:48 +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
2135ab8d13 Final proper fix for showing popup windows with QtWebKit 2.3
Checking only size of popup window as 100x100 is the smallest
possible size.
2013-01-23 18:23:34 +01:00
Mladen Pejaković
00268a294b Fix closing Settings tab in Cookies dialog 2013-01-23 14:00:37 +01:00
nowrep
a34a72cdb8 Moved all cookies settings into Cookies Manager. 2013-01-23 01:34:15 +01:00
S. Razi Alavizadeh
347cebcf8a [Windows] Fixed saving files endings with space. 2013-01-22 22:56:39 +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
90a6b79050 Proper fix for #608 saving page screen.
It now split the page by 20000 pixels and render it.
Images are then saved on disk in parts.
2013-01-22 16:17:50 +01:00
nowrep
3729649f6b Fixed using new icon for search button. 2013-01-22 15:31:50 +01:00
nowrep
ab3c351e5a Limit height of image in PageScreen to prevent crash.
Closes #608
2013-01-22 11:45:45 +01:00
Longer
54724ead2b Added Ctrl+F4 shortcut to close current tab. 2013-01-22 11:30:09 +01:00
nowrep
6ebfee73ba [Linux theme] New icon for search button in searchbar.
Use "edit-find" icon for theme, if there is no such
icon, the old one will be used.
2013-01-21 22:39:20 +01:00
nowrep
01f07a4a2a Properly fixed opening popup windows for QtWebKit 2.3
The workaround is now only used for QtWebKit 2.3 and
it checks only for x, widht and height in QRect
2013-01-21 22:11:46 +01:00
nowrep
743c402603 Coding style. 2013-01-21 22:11:31 +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
6c3d210544 [Qt5][Windows] Now QupZilla compiles with Qt5 on Windows (msvc).
-There are some issues when enabling blur effect!
2013-01-20 01:52:30 +03:30
S. Razi Alavizadeh
6072b7c4be [Windows] fixed include conflicting when defining 'W7TASKBAR' 2013-01-19 23:49:41 +03:30
S. Razi Alavizadeh
f917f03b26 [Windows] fixed: open folder and select downloaded file (using ShellExecute for run explorer).
-Now it covers all possible situations (e.g. path with spaces, file without extention, ...)
2013-01-19 23:49:25 +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
8581abf472 File scheme handler: Sorting files case insensitive. 2013-01-19 15:55:04 +01:00
nowrep
fa62b299a0 Fixed opening popup windows with QtWebKit 2.3
It now correctly opens new tab / popup window
according to arguments in window.open call.
2013-01-19 01:05:17 +01:00
nowrep
c43ca265f6 RecoveryWidget: Switch positions of buttons.
Buttons now match Firefox.
Start new session is first and then Restore.
2013-01-17 19:44:57 +01:00
nowrep
a84a071b5c [Fix] Saving '+' character in passwords/usernames
Closes #703
2013-01-16 15:26:34 +01:00
nowrep
7e6802ba35 [Qt5] Ported all plugins to Qt5 plugin system 2013-01-16 14:53:17 +01:00
nowrep
51f1c73d20 Coding style 2013-01-16 14:52:50 +01:00
nowrep
4d0a4adc22 Merge branch 'bookmarks_work' of git://github.com/srazi/qupzilla into srazi-master 2013-01-15 12:17:37 +01:00
nowrep
71724d6ff4 Add QupZilla* pointer to PopupWindow class 2013-01-13 00:53:48 +01:00
S. Razi Alavizadeh
05b5ebd1ef Bookmarks: when deleting lastFolder set it to default. 2013-01-10 20:35:02 +03:30
S. Razi Alavizadeh
da13a65c35 Move connectons from .ui to .cpp 2013-01-10 20:18:35 +03:30
S. Razi Alavizadeh
01cc581add Added 'Expand All' and 'Collapse All' buttons to bookmarks manager. 2013-01-10 10:55:46 +03:30
S. Razi Alavizadeh
cc870ec451 Bookmarks: Don't allow creating folder with translated name of "bookmarksToolbar", "bookmarksMenu" or "unsorted"! 2013-01-10 01:21:34 +03:30
S. Razi Alavizadeh
8f2b9a00e0 Bookmarks: Added BookmarksTree class that manages all bookmark's view types.
-BookmarksSidebar, BookmarksWidget,BookmarksManager and ... use BookmarksTree
-Added 'New Folder...'
-Fixed some issues
2013-01-10 01:21:32 +03:30