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

550 Commits

Author SHA1 Message Date
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
nowrep
a0203c3fbb [QtWebKit 2.3] Enable 3rd party cookie policy. 2013-01-09 19:12:42 +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
nowrep
64a180d1fe Enable new features in QtWebKit 2.3.0
Also hiding new features in preferences if building
with older QtWebKit versions.
2013-01-09 18:47:36 +01:00
nowrep
151bba6293 Small changes in JsOptionsDialog 2013-01-09 13:52:12 +01:00
David Rosca
993c4edc04 Merge pull request #692 from pejakm/master
JavaScript privacy options in preferences
2013-01-09 04:41:42 -08:00
nowrep
4fdebc7abe Fixed qvalue in Accept-Language header
Using decimal point now.

Closes #696
2013-01-04 15:46:57 +01:00
S. Razi Alavizadeh
2ad3d828da RecoveryWidget: doesn't disable child item when root item is unchecked, just uncheck it! 2012-12-29 21:18:59 +03:30
Mladen Pejaković
85979cd378 Cosmetic changes to JavaScript options dialog 2012-12-29 14:05:19 +01:00
Mladen Pejaković
11758c3687 Change default values 2012-12-29 13:58:30 +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
S. Razi Alavizadeh
653f1478ec Fixed compile issue from recent commit: 02ea92ad28 2012-12-29 11:28:11 +03:30
Mladen Pejaković
bba5d3680d JavaScript privacy options, update, part2 2012-12-28 19:54:34 +01:00
Mladen Pejaković
03d5b48538 Merge remote-tracking branch 'upstream/master' 2012-12-28 19:52:20 +01:00
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
Mladen Pejaković
d8e6f5f483 JavaScript privacy options, update, part1 2012-12-28 01:58:31 +01:00
Mladen Pejaković
ea604d5bca JavaScript privacy options 2012-12-28 01:17:01 +01:00
nowrep
8cca4437f1 Fixed crash in qz_escape()
Closes #691
2012-12-27 11:31:10 +01:00
nowrep
64355e2a3d Qt4: Fixed broken session restoring.
Adding Qt version into sessionVersion number
only when using Qt 5.

Closes #689
2012-12-25 16:56:23 +01:00
nowrep
02ea92ad28 Qt5: X11: Fixed moving windows to virtual desktops
Moving windows to virtual desktops upon restoring
session.
2012-12-22 15:01:55 +01:00
nowrep
bdc9a0417a Qt5: Added new option to use Caret Browsing
It can be enabled from Preferences -> Browsing,
Menu View or with F7 shortcut.
2012-12-22 13:52:46 +01:00
nowrep
44693080cb Qt5: Fixed Q_WS_X11 macro usage 2012-12-22 12:47:45 +01:00
nowrep
09febcb743 Qt5: No longer use fake user agent on google sites
QtWebKit version Qt5 is current enough to handle well
all google apps.
2012-12-22 12:20:23 +01:00
nowrep
2f764f0a25 AdBlock: Slightly edited behavior of showing menu
Don't show blocking options in menu on sites that AdBlock
cannot run.
eg. qupzilla:, file:
2012-12-22 12:14:55 +01:00
nowrep
d80990fd50 Qt5: Fixed crash when choosing encoding of page 2012-12-22 12:03:54 +01:00
nowrep
666f6678f3 Qt5: New option to turn Animated Scrolling
Feature similiar to "smooth scrolling"
2012-12-21 16:38:44 +01:00
nowrep
f6a55a4c07 Qt5: Take advantage of builtin 3rdparty cookie storage policy.
It will now be much more accurate.
2012-12-21 16:25:00 +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
cadfd63b1e Fixed rendering pages with Qt 5
Filtering "\" from AdBlock CSS rules.
2012-12-20 22:57:58 +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
David Rosca
7b66f5551b Merge pull request #672 from srazi/master
A better size-hint for active tab.
2012-12-11 04:29:08 -08:00
S. Razi Alavizadeh
15cc84f1b1 Fixed the issue about computing of rounding errors 2012-12-11 12:24:40 +03:30
nowrep
930720517a Updated translations 2012-12-10 14:59:12 +01:00
Franz Fellner
64ab914ab1 Make Ctrl+Q shortcut work on X11 for WMs other than Kde or Gnome.
e.g. when running e17, fluxbox, twm...
2012-12-10 12:47:28 +01:00
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
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
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
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
Franz Fellner
454d0d47dd [Fix] Infinite loop on bookmarking a page while history is empty
Previous fix as in 7a1bbd9 introduced new bug with history
sidebar being always empty.
This commit fixes this bug.
2012-12-08 11:39:03 +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
S. Razi Alavizadeh
6b7e13a29d Fixed missing 'include' from default-browser commit 2012-12-07 15:47:54 +03:30
Mladen Pejaković
b88773eb8f Merge branch 'master' of github.com:QupZilla/qupzilla 2012-12-06 22:28:40 +01:00
Mladen Pejaković
7b8786ae90 Fix index positions in preferences 2012-12-06 22:28:12 +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
54e1bfeffa [Fix] Use default white bg for pages with dark themes
This commit should finally resolve this issue. It is
setting background-color:white for html by default.

See #602
2012-12-06 17:51:16 +01:00
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
1add5b51ca Fixed regression from 85d09c8a64
- crashing with disabled adblock icon
- thanks to @ff2000
2012-12-02 00:59:17 +01:00
nowrep
60792f3762 Coding style 2012-12-01 11:16:49 +01:00
S. Razi Alavizadeh
a81419921c Windows: Check to see if QupZilla is the default web browser.
-Added 'registerqappassociation.h' and 'registerqappassociation.cpp' that contain 'RegisterQAppAssociation' and 'CheckMessageBox' classes.
2012-12-01 10:27:55 +03:30
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
nowrep
999f499288 Use .qupzilla/tmp instead of /tmp.
- use it for downloading temporary files that are going
  to be opened
- this directory will be cleaned upon application close
2012-11-27 19:14:03 +01:00
nowrep
7a1bbd993d Fixed infinite loop when adding a bookmark
- when history is empty
Closes #652
2012-11-27 18:01:30 +01:00