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

1736 Commits

Author SHA1 Message Date
nowrep
d4c6dbd6c2 [Fix] WebSearchBar not respecting "select all on click" option
Closes #752
2013-03-15 11:46:07 +01:00
nowrep
f95cf48f0e [Win][Qt5] Fixed invalid redrawing with transparent background. 2013-03-15 11:15:08 +01:00
nowrep
8c606c0bd1 Updated translations from Transifex 2013-03-15 11:03:25 +01:00
nowrep
ff4e5b74d4 [Fix] Certificates from custom path disappearing on preferences saving. 2013-03-15 10:44:05 +01:00
nowrep
1e6b9a915d [Build] Use pkg-config only on linux. 2013-03-14 15:29:12 +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
a9cee1fffe [Fix] Fixed showing empty back/forward history menus. 2013-03-13 11:54:58 +01:00
nowrep
eeb1231c75 [Updater] Fixed comparison of version numbers.
Also dropped support for rc/beta versions.
2013-03-12 14:09:12 +01:00
nowrep
93d22ec6fc [Fix] Don't show instant popup when clicking on back/forward button. 2013-03-12 12:19:55 +01:00
nowrep
79c57f61b6 Version 1.4.0 2013-03-11 17:45:48 +01:00
nowrep
c36e13da32 Fixed previous commit. 2013-03-11 17:38:21 +01:00
nowrep
adcb8570ed Added Yu Hai into translators. 2013-03-11 17:19:11 +01:00
nowrep
4687847963 [CaBundleUpdater] Download bundle immediately on first run.
Instead of 30 seconds waiting, try to download certificate bundle
immediately on first run of application.
2013-03-11 17:09:28 +01:00
S. Razi Alavizadeh
4e862414a1 [Windows] Small fix in theme + fixed shadow of desktop notification. 2013-03-11 17:03:59 +01:00
nowrep
d29aff5330 Updated translations from Transifex. 2013-03-11 17:00:28 +01:00
nowrep
e455f58aa1 [CaBundleUpdater] Reload certificates after finished bundle update. 2013-03-11 15:47:03 +01:00
nowrep
ab8496610e [TabPreview] Don't show tab previews while dragging tabs. 2013-03-11 15:14:50 +01:00
nowrep
8bff746d30 [AdBlock] Blocking netscape plugins even without C2F enabled.
Closes #791
2013-03-11 14:42:23 +01:00
nowrep
ef89347a7c [SuperMenu] Added Show Bookmarks and History actions. 2013-03-11 14:32:46 +01:00
nowrep
6c74289aaa [AdBlock] Added ChinaList into list of known subscriptions.
Closes #768
2013-03-10 00:37:35 +01:00
nowrep
b12c324f87 [SuperMenu] Improved menu in button used instead of menubar.
The menu is now displayed inside window, even when window
is not in fullscreen.
It now also contains the most important actions in addition to copy of
top level menus.
2013-03-08 21:06:37 +01:00
nowrep
8820703a2e [Windows] Small theme improvements of tab style.
Using transparent background for tabbar also with tabs on top.
2013-03-07 17:26:21 +01:00
nowrep
d72dddf2f1 Merge branch 'srazi-master'
Fixed conflicts:
	src/lib/other/browsinglibrary.cpp
	src/lib/tools/treewidget.cpp
2013-03-06 14:00:37 +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
nowrep
cc93b67002 [GreaseMonkey] Fixed crash when deleting userscript. 2013-03-05 21:40:34 +01:00
nowrep
21d201752d Fixed building certs.qrc resource on other platforms than Windows.
Followup to #768
2013-03-05 19:56:37 +01:00
nowrep
77f45e2761 OS/2 Haiku: Use own certificates from CaBundle.
Only on Linux and Mac OS X it is safe to use system
SSL certificates.

See #786
2013-03-05 18:58:03 +01:00
S. Razi Alavizadeh
a7a4ef87a7 Improved version of 'TreeWidget::filterString()' 2013-03-05 00:04:43 +03:30
nowrep
b9858f98a4 Added basic bash and zsh autocompletion files.
Bash autocompletion will be installed by default with
make install.
Zsh autocompletion has to be installed manually, more on that
in linux/completion/README
2013-03-04 13:23:04 +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
320f0d20cc [Fix] Make sure both menubar and navigation bar are not hidden.
Closes #781
2013-03-01 22:53:50 +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
nowrep
9d6e34e3e5 [Code] Rewritten AdBlockRule to use enums for rule options.
Instead of using boolean variables for every option, use one QFlag
for options and second for exceptions.
2013-02-27 21:26:41 +01:00
nowrep
4d82e307ad [AdBlock] Download also whitelist rules from EasyList. 2013-02-27 19:51:34 +01:00
nowrep
7e6d619516 AdBlock: Greatly improves performance of regexp rules.
Regexp will be parsed into parts that can be used with
QString::contains for quick match. If url contains all parts,
real QRegExp matching is applied.

This speedup affects rules that are internally converted into
regexp, not AdBlock's regexp rules (but those rules are very rarely used
in subscriptions, so there's no need to optimise them)
2013-02-26 15:48:47 +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
a25e189904 [AdBlock] Added debug output with ADBLOCK_DEBUG define.
It will print the time needed to load all rules and also
to block each url.
2013-02-26 12:29:46 +01:00
nowrep
cf4daaa37a [Qt5] Fixed crash when using network cache from Qt 4
Network cache is now saved  in %WEBKITVERSION%-Qt%QTVERSION%
subdirectory.
2013-02-26 11:58:38 +01:00
nowrep
9f226b9738 Significant memory savings in AdBlock (~ 30MB with just EasyList)
Even empty QRegExp can occupy a lot of space in memory, which can
grow into a big number with tens of thousands AdBlock rules.
QRegExp is now allocated with new, and only when really needed.
2013-02-26 10:45:33 +01:00
nowrep
a1ad8dab9b Properly destroy NetworkManager on application close. 2013-02-25 23:25:11 +01:00
nowrep
6cf3cb637c [AutoFill] Show key icon only when password was actually filled in page.
If you have saved multiple passwords eg. for gmail.com, it will now
only show key icon when trying to login, instead of showing it all the
time on gmail.com (even after logging in).
2013-02-25 15:03:53 +01:00
nowrep
0ca121898d [PageFormCompleter] Don't try to extract form if formdata is invalid. 2013-02-25 14:51:52 +01:00
nowrep
e7213bdf12 [Qt5] Fixed getting correctly QtWebKit version with pkg-config.
QtWebKit module is named Qt5WebKitWidgets in Qt 5.
Versioning is also different from Qt 4.
2013-02-24 23:19:37 +01:00
nowrep
3e74b18622 Show Mac OS X version in QzTool::operatingSystem.
It now also supports Windows 8 detection.

Function have been renamed from buildSystem to operatingSystem
as it does not really returns build system anymore.
2013-02-24 23:02:55 +01:00
nowrep
021e6315e0 Preferences: Fixed showing current language in languages menu. 2013-02-24 13:20:54 +01:00
nowrep
d46d5c6786 [Mac] Fixes font rendering with HiDPI (retina) displays. 2013-02-24 13:20:07 +01:00
David Rosca
560c4c414c Merge pull request #780 from srazi/master
[Windows] Don't update transparent margins on close.
2013-02-24 04:17:03 -08:00
S. Razi Alavizadeh
0066027215 fixed hiding bookmarksToolbar after going back from fullscreen. 2013-02-24 15:41:06 +03:30
S. Razi Alavizadeh
825e14140c [Mac] fixed search highlighting on Mac, see #756, also don't paint cursor when showing popup. 2013-02-24 15:37:14 +03:30
nowrep
49382fd832 Updated certificate bundle + build it only on Windows. 2013-02-24 12:08:37 +01:00
nowrep
4eba746a2c GreaseMonkey: Bumped plugin version. 2013-02-24 12:07:57 +01:00
nowrep
bed43ed0c8 [Qt5] Use RegExp wrapper to take advantage of new regexp engine.
QzRegExp wrapper is using QRegExp directly on Qt 4 and
QRegularExpression (with PCRE engine) on Qt 5.
2013-02-24 10:57:58 +01:00
nowrep
f32ec93caf NetworkManager: Use certificates from bundle only on Windows.
On other platforms, let's just use system certificates.
2013-02-24 10:53:35 +01:00
nowrep
304f1704d2 GreaseMonkey: Don't load invalid scripts. 2013-02-24 10:48:23 +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
1ae60d65bb Added new Catalan translation.
Thanks to Guillem Prats and Clara Villalba.
2013-02-23 16:19:25 +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
c7193162d2 [Windows] Don't update transparent margins on close. 2013-02-23 01:41:33 +03:30
S. Razi Alavizadeh
802f95f0d6 File and Ftp SchemeHandlers: Clickable title for easier navigation, also using native separator in file's title. 2013-02-23 00:04:14 +03:30
nowrep
7fae03959d TabsOnTop: Fixed picking correct color for drawing line at the bottom of
navigation container.
2013-02-22 18:31:44 +01:00
nowrep
b4b1ce03d6 LocationBar: Proper fix for determing when to draw cursor.
Cursor will be properly drawn by Qt when starting writing
into empty lineedit (eg. select all and start typing).
After the completion popup is hidden for the first time, Qt will stop
drawing cursor and will only paint it again after losing and gaining
focus.
2013-02-22 15:20:28 +01:00
nowrep
1cbc8c6d2d [Windows] Fixed color of selected text when view loses focus.
Closes #756
2013-02-22 11:59:52 +01:00
David Rosca
d01c512520 Merge pull request #778 from srazi/master
[Win] FileSchemeHandler: fixed issues with '*.lnk' and 'x:'
2013-02-22 02:11:05 -08:00
S. Razi Alavizadeh
33b9b3832f [Win] FileSchemeHandler: fixed issues with '*.lnk' and 'x:' 2013-02-22 12:40:10 +03:30
nowrep
bc2e163b90 X11: Symlink qupzilla/tmp into /tmp 2013-02-22 10:06:05 +01:00
nowrep
76849082e4 [LocationCompleter] Fixes performance when drawing really long urls.
data: urls can get really long (> 1000000 characters), so don't save
them in history from now on.
2013-02-22 09:36:47 +01:00
nowrep
36e73949c2 Don't show context menu on scrollbars.
Also fixed coding style in mactoolbutton.cpp
2013-02-22 09:05:30 +01:00
David Rosca
915b972e48 Merge pull request #777 from srazi/master
[FTP] fixed problem with 'link to file'+show shortcut icon for links
2013-02-22 00:04:26 -08:00
S. Razi Alavizadeh
120455b11a Used qIconProvider instead of QFileIconProvider() and removed msgHandler on Windows. 2013-02-22 03:43:59 +03:30
nowrep
64e6c36ed4 LocationBar: Fixed drawing cursor at correct position with popup opened. 2013-02-22 00:25:13 +01:00
S. Razi Alavizadeh
17591ce89f [FTP] fixed problem with 'link to file'+show shortcut icon for links 2013-02-22 01:28:22 +03:30
S. Razi Alavizadeh
06ad80583c IconProvider: fixed, return a fallback icon on non-linux OSes 2013-02-22 01:25:28 +03:30
David Rosca
2a5ff86972 Merge pull request #773 from srazi/Mac_work
Mac related fixes.
2013-02-21 02:11:07 -08:00
nowrep
3e743c9d1f Moved config directory info ~/.config/qupzilla
See #774
2013-02-21 11:05:00 +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
72c66cb218 [Mac] RSSManager/AdBlockDialog documentMode was disabled and fixed double cursor problem. 2013-02-21 00:20:07 +03:30
S. Razi Alavizadeh
1320a6cf03 [Mac] Fixed rendering of tab's buttons. 2013-02-20 23:52:38 +03:30
nowrep
3b3e62cd76 [code] Explicitly set UTF-8 codec when using QTextStream.
Fixes encoding issues on Windows.

Closes #769
2013-02-20 19:50:59 +01:00
nowrep
ecfb784c92 Preferences: Adjust size to current page on page change. 2013-02-20 19:50:03 +01:00
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
18a1d4802e Don't use double QUrl::fromUserInput in QupZilla constructor.
Closes #762
2013-02-19 11:56:47 +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
27cd8cce64 Revert "[QtWin] using of direct WinAPI call."
It has to be resolved at runtime to provide the same binary
compatibility with Windows versions older than Vista.

This reverts commit 2db89f50bf.
2013-02-18 21:44:14 +01:00
S. Razi Alavizadeh
09bfa457e8 Forgotten changes from 91c88872f8, 6a4c45c0ad and 7b3b4f9b94 2013-02-18 23:33:46 +03:30
S. Razi Alavizadeh
df8eeb9525 Faster 'filterString()' for CookieManager. 2013-02-18 23:25:31 +03:30
nowrep
498f4b0555 [Windows] Adjust height of AboutDialog. 2013-02-18 19:19:26 +01:00
nowrep
8ec59bf8b0 [Windows] Linking to system hunspell library 2013-02-18 19:09:29 +01:00
nowrep
f3c7f5a3ba [Qt5] Fixed failing FormCompleter tests. 2013-02-18 13:37:33 +01:00
nowrep
4f53179752 [Qt5] Fixed building with Qt5. 2013-02-18 13:37:12 +01:00
nowrep
5b0f37abd5 Fixed crash when showing multiple notifications with Tabs On Top. 2013-02-17 11:41:42 +01:00
David Rosca
749889dc73 Merge pull request #761 from srazi/qtwin_work
[QtWin] using of direct WinAPI call.
2013-02-17 02:13:26 -08: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
S. Razi Alavizadeh
2db89f50bf [QtWin] using of direct WinAPI call. 2013-02-17 13:35:11 +03:30
David Rosca
e718e00e5c Merge pull request #760 from srazi/master
Fixed some platform specific issues.
2013-02-16 13:29:50 -08:00
S. Razi Alavizadeh
6a4c45c0ad [Win] another solution,isChangingTab() removed from last commit. 2013-02-16 16:02:33 +03:30
nowrep
a84b180444 [AutoFill] Fixed extracting form on Twitter.com
Twitter uses multiple same forms (differing in class and id names).
Now PageFormComplter also tests occurence of username name=value pair
in sent post data.
2013-02-16 11:20:03 +01:00
nowrep
12e49d1bf4 Filter "QFont::setPixelSize <= 0" warning from stderr. 2013-02-16 11:19:00 +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
8c9f09b17a Improved arguments parsing in external download manager.
Option to choose where exactly to put url (%d placeholder)
instead of just appending it at the end of arguments.
2013-02-15 15:35:23 +01:00
nowrep
e4ebeb3252 [Code] Use QString::SkipEmptyParts in QString::split. 2013-02-15 12:36:25 +01:00
nowrep
68e0831bdb Fixed parsing arguments when starting external applications.
When starting external RSS readers and external download managers.
2013-02-15 12:29:13 +01:00
nowrep
5641d380d8 [QzTools] Added function to split arguments from command. 2013-02-15 11:05:46 +01:00
S. Razi Alavizadeh
c4b98d4a7a [Win] This fix completes e934af9 2013-02-15 01:53:28 +03:30
S. Razi Alavizadeh
c41e17611a [Cookie Manager] Reset search text on refresh. 2013-02-14 22:20:29 +03:30
S. Razi Alavizadeh
e934af92bf [Win] fixed issue when transparent background is enabled 2013-02-14 21:45:24 +03:30
S. Razi Alavizadeh
7c0e0ab45e [Mac] Changed fullscreen shortcut to Ctrl+Fll, and fixed issue from 83f3c90752 2013-02-14 21:36:38 +03:30
nowrep
94f1af7f2f Merge branch 'master' of git://github.com/srazi/qupzilla into srazi-master
Updated coding style.
2013-02-14 18:07:50 +01:00
nowrep
bf75704cac [RSS] Show for akregator/liferea in PATH instead of just in /usr/bin 2013-02-13 21:48:06 +01:00
S. Razi Alavizadeh
9951d2e69b [FTP] Added support for non-latin names for dir/file. 2013-02-13 19:49:29 +03:30
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
ced0683c96 Updated translations. 2013-01-31 15:07:17 +01:00
nowrep
61e11c7404 Moving translations to Transifex.com
https://www.transifex.com/projects/p/qupzilla
2013-01-31 14:19:13 +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
Mladen Pejaković
7024e14592 Merge branch 'master' of github.com:QupZilla/qupzilla 2013-01-29 15:02:46 +01:00
Mladen Pejaković
e716a277e4 Serbian Latin translations for plugins 2013-01-29 14:48:39 +01:00
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
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