David Rosca
a66e179b40
Misc fixes
...
Correctly initialize QJsonParserError
2016-03-30 11:53:41 +02:00
David Rosca
dfa04388c7
Fix build on Windows
2016-03-30 11:50:46 +02:00
David Rosca
71b6d922be
WebView: Handle create WebBrowserWindow
...
Instead of custom handling of shift + mouse click, use
QWebEngineView::createWindow. It should fix the issue with
JavaScript catching the mouse click performing some action
and QupZilla trying to open new window.
Closes #1898
2016-03-30 09:10:57 +02:00
David Rosca
385f10e345
GM: Only download scripts when user clicks on link
...
Closes #1903
2016-03-30 08:40:00 +02:00
David Rosca
91e6c2eb71
Mac: Fix crash on startup when showing incompatible profile dialog
...
QEvent::ApplicationActivate is sent when incompatible profile
warning QMessageBox is shown. We should not create new BrowserWindow
at this point as the initialization is not yet completed.
New window should really be only created when there is no
application window at all.
Closes #1890
2016-03-21 11:09:44 +01:00
David Rosca
11792ee778
GM_Downloader: Fix missing emit error()
...
@trnkava1
2016-03-20 20:02:15 +01:00
David Rosca
6eb0693e7d
Remove FollowRedirectReply
...
QNetworkAccessManager now supports redirects, so there is
no need for it anymore.
2016-03-20 19:59:52 +01:00
David Rosca
7b726970f3
Remove unused IconFetcher
2016-03-20 19:51:26 +01:00
David Rosca
b63a798ad7
NetworkManager: Enable FollowRedirects and SPDY
...
Note that NetworkManager is not used by QtWebEngine, it is used
only for downloading other data by QupZilla (eg. downloading
user scripts, open search engines, checking for updates, ...)
2016-03-20 19:37:41 +01:00
David Rosca
2f91f81089
GM Settings: Fix redrawing items when script updating state changes
2016-03-20 19:22:26 +01:00
trnkava1
b0b2820180
Greasemonkey: add script updating
...
- Fixed parsing @updateURL/@downloadURL
- Updating is only manual
- User have to click on update button located in Greasemonkey settings
- Update works just like download
- New version is not being checked, original script is replaced
- Fixed coding style issues
Closes #1653
2016-03-20 19:05:26 +01:00
trnkava1
a741729476
Deleted unused MacMenuReceiver
2016-03-19 14:07:48 +01:00
trnkava1
89d565da6a
Mac: Fixed opening Main Menu from button
2016-03-19 14:04:25 +01:00
trnkava1
878cb8b950
fixed compilation with openssl from homebrew
2016-03-19 13:44:48 +01:00
Vladislav Tronko
65667b95db
Change background image instantly and for all speed dials
2016-03-07 14:22:08 +02:00
David Rosca
46e0b9d807
GreaseMonkey: Implement include/exclude matching
...
Somehow I was under false impression that QtWebEngineScript
takes care of the metadata parsing. It does not, so we must
run the script only on correct sites.
2016-02-29 17:18:45 +01:00
David Rosca
4f5d3193ae
GreaseMonkey: Remove GM_UrlMatcher
2016-02-28 18:29:23 +01:00
David Rosca
3d5f45bfc5
Don't use custom script for toggle play/pause and mute
2016-02-28 18:25:30 +01:00
David Rosca
a37fadd8dc
Don't use C++11 for with Qt containers
2016-02-27 22:13:33 +01:00
David Rosca
c2b5b479a4
GreaseMonkey: Don't assume metadata block is at the start of script
...
See #1869
2016-02-27 17:59:27 +01:00
David Rosca
0da388f206
GreaseMonkey: Add support for run-at: document-idle
2016-02-27 17:31:01 +01:00
David Rosca
7ac45b75d7
GreaseMonkey: Remove old url from plugin description
...
Closes #1869
2016-02-27 17:14:03 +01:00
David Rosca
3d2001a249
LocationBar: Use normal timer for hiding progress
2016-02-27 17:12:39 +01:00
David Rosca
f46364bc55
Fix typo changeOcurred -> changeOccurred
2016-02-26 10:43:34 +01:00
Vladislav Tronko
f744ae93d2
Removed redundant changeOccurred
2016-02-26 08:28:05 +02:00
Vladislav Tronko
7c5cf9b2c4
Added 'Open in private window' option in bookmarks toolbar
2016-02-25 22:14:53 +02:00
David Rosca
96bc812c50
Update copyright year to 2016
2016-02-25 18:50:49 +01:00
David Rosca
be110d2d8f
Don't focus locationbar of non-empty tab when restoring session
2016-02-25 18:47:46 +01:00
David Rosca
6ebb9464b2
Fix bash completion install path
2016-02-25 18:13:29 +01:00
David Rosca
844f439526
Merge pull request #1853 from innermous/dev-bookmarks
...
Feature: implemented bookmark editing on the fly
2016-02-20 15:30:39 +01:00
David Rosca
4a1b67ec2b
WebInspector: Disable web inspector by default
...
It is now needed to manually set the QTWEBENGINE_REMOTE_DEBUGGING
environment variable.
2016-02-20 15:25:18 +01:00
David Rosca
a819fca7dc
OpenSearchEngine: Don't accept non http(s) urls
2016-02-20 14:55:54 +01:00
Vladislav Tronko
62ac5581ff
Fixed saving bookmarks toolbar display options
2016-02-20 14:27:44 +02:00
Vladislav Tronko
2a6cd7764c
Fix a typo in add bookmark item function
2016-02-18 20:32:32 +02:00
Vladislav Tronko
3f3f9eb428
Fix tabwidget signals connect
2016-02-15 20:34:20 +02:00
David Rosca
a262de8239
Fix build
2016-02-15 17:36:32 +01:00
David Rosca
6e10e6ac92
Update translations
2016-02-15 10:10:03 +01:00
David Rosca
54f3e78396
Fix grammar "Are you sure to..." -> "Are you sure you want to..."
2016-02-15 09:58:14 +01:00
David Rosca
966537728b
AutoFillManager: Add context menu with copy username/pass actions
...
Closes #1766
2016-02-15 09:52:50 +01:00
Vladislav Tronko
f7aee14343
Typos: extra semicolons
2016-02-14 22:31:28 +02:00
David Rosca
3e3da5909d
TabIcon: Don't delay start of loading animation
2016-02-14 11:17:36 +01:00
David Rosca
8681aaaec1
PopupWindow: Add spacing between locationbar and webview
2016-02-14 11:02:02 +01:00
David Rosca
10557a9964
PopupLocationbar: Remove loading animation
2016-02-14 10:58:40 +01:00
David Rosca
8e93a76ca2
PopupWindow: Show statusbar and menubar according to preferences
2016-02-14 10:54:19 +01:00
David Rosca
e487e4c1f6
Add option to open popup windows in tabs
...
Closes #1796
2016-02-14 10:37:28 +01:00
innermous
603f7f3211
Feature: implemented bookmark editing on the fly
2016-02-10 16:05:39 +02:00
Bernd Steinhauser
d9325de00e
Simplify folder definitions.
2016-02-07 17:04:56 +01:00
Bernd Steinhauser
3dd31ac8bb
Fix data installation paths.
2016-02-07 16:55:52 +01:00
David Rosca
11601f866e
NavigationContainer: Add small top margin top with tabs on top
2016-01-31 13:05:43 +01:00
David Rosca
779292713f
ComboTabBar: Add small space between pinned and main tabbar
2016-01-31 12:37:02 +01:00
David Rosca
960a46daef
Update to latest Qt 5.6 QtWebEngine
2016-01-30 11:41:39 +01:00
David Rosca
06b2414d80
Focus locationbar on startup if url of current tab is empty
2016-01-27 13:23:28 +01:00
David Rosca
6c30379077
Enable Qt 5.6 HighDpiScaling
2016-01-27 13:05:25 +01:00
David Rosca
2f80ca55ef
IconProvider: Prefer theme icon for bookmarks
2016-01-27 12:44:19 +01:00
David Rosca
732e0ec94e
TabIcon: Fix rendering for Qt 5.6 HighDPI
2016-01-27 12:26:30 +01:00
David Rosca
0b0041af41
WebSearchBar: Show the search engine menu relative to lineedit
2016-01-25 14:43:12 +01:00
David Rosca
2c04ebba63
LocationBarPopup: Show the popup relative to locationbar
2016-01-25 14:21:17 +01:00
David Rosca
007d68a027
Pass only current profile when starting private browsing
...
Fix starting private browsing when qupzilla is run eg. with
qupzilla -p profile_name
2016-01-25 13:52:12 +01:00
David Rosca
0aa64de13a
IconProvider: Use theme icon for settings icon
2016-01-25 13:51:08 +01:00
David Rosca
ac792de566
TabBar: Improve logic to calculate pinned tab width
2016-01-25 13:33:05 +01:00
David Rosca
ace8c9702b
TabIcon: Set the same size as close button
...
Some styles calculates the height of tabs from displayed tab buttons,
so if the close tab is not visible, it would render the tabs smaller.
2016-01-25 12:51:05 +01:00
David Rosca
a49f1e2763
DataPaths: Use QStandardPaths
2016-01-25 12:13:43 +01:00
David Rosca
5808f3c581
Fix position of status bar message popup
2016-01-24 16:42:09 +01:00
David Rosca
f9359da446
Fix some warnings when starting with new profile
2016-01-24 16:37:31 +01:00
David Rosca
59ac47b08c
Hide statusbar and menubar by default
2016-01-24 16:29:46 +01:00
David Rosca
48210c5aa6
SpeedDial: Ignore changed() signal from the current page
2016-01-24 16:17:57 +01:00
David Rosca
34475fcfc9
SpeedDial: Fix Esc key to close edit popups
2016-01-24 16:13:59 +01:00
David Rosca
e4abb59d3a
QzTools: Return empty url when pixmap is null in pixmapToDataUrl
2016-01-24 15:47:42 +01:00
David Rosca
18926fd85b
SpeedDial: Fix infinite reload when adding dial with invalid url
...
Closes #1763
2016-01-24 15:39:51 +01:00
David Rosca
a90c35223d
LocationBar: Show encrypted site icon on https sites
2016-01-24 13:49:15 +01:00
David Rosca
2a5c6ecfa1
ClickableLabel: Fix resizing icon with label
2016-01-24 13:03:16 +01:00
David Rosca
31508f2907
ToolButton: Bring back fallbackIcon property
2016-01-24 12:28:58 +01:00
Vladislav Tronko
b311902cf3
Added action with all in one image search engines
2016-01-20 19:44:22 +02:00
David Rosca
20f35c8a8d
Merge pull request #1833 from innermous/feature-imagefinder
...
Feature: ImageFinder plugin
2016-01-20 17:00:16 +01:00
innermous
2cc2c26c84
Feature: ImageFinder plugin
2016-01-17 01:13:00 +02:00
David Rosca
4dd9338207
Merge pull request #1835 from kkofler/autosearch-optional
...
Make automatic searching from the address bar optional
2016-01-14 10:16:06 +01:00
Kevin Kofler
a570beb667
Do not call loadRequest on an invalid URL
...
I expected that error to be handled gracefully. It's actually not, it
crashes the whole browser, and saves a state that will make it crash
again on startup. So just ignore invalid URLs if searchFromAddressBar is
set to false.
2016-01-14 05:03:13 +01:00
Kevin Kofler
fcae1fd3f5
Make automatic searching from the address bar optional
...
Some users (like me) really don't like it when their typos get sent to a
search engine without asking.
2016-01-14 03:29:47 +01:00
Kevin Kofler
4a746c0ebe
Default to NoProxy rather than HttpProxy
...
The HttpProxy setting neither makes sense nor works without a concrete
proxy being set. So default to something that has any chance of working
without manual configuration. If you need an HTTP proxy, you will have
to configure it anyway.
2016-01-14 02:47:32 +01:00
David Rosca
3e0583377d
Fix handling Enter key in keypad in shortcuts
...
Closes #1792
2016-01-02 19:58:54 +01:00
David Rosca
53bf6662dc
AdBlock: Fix updating rules when adding/removing subscriptions
...
This also fixes crash on first network request after removing subscription
2016-01-02 17:54:36 +01:00
David Rosca
7391a6403c
Change qupzilla.com links to https
2016-01-02 12:38:16 +01:00
David Rosca
34970e4c47
Revert "Call QtWebEngine::initialize() in main"
...
This reverts commit dad94c64a1
.
2015-12-18 19:38:32 +01:00
David Rosca
5d4c2434a0
SearchEngines: Update suggestion links + always use https
2015-12-18 11:41:43 +01:00
David Rosca
90abf57592
OpenSearch: Fix loading search suggestions
2015-12-18 11:41:27 +01:00
David Rosca
cbc83e81ba
Remove dependency on deprecated QtScript
2015-12-18 11:25:45 +01:00
David Rosca
e4b5a416b3
Fix WebTab::SavedTab incompatibility with older versions
...
@innermous
2015-12-17 22:26:32 +01:00
innermous
5801ff0725
WebTab: Save/Restore zoom level on restart
2015-12-17 22:21:31 +01:00
David Rosca
278299fe2a
Merge pull request #1814 from innermous/patch-whitespace
...
Fix decoding special characters in download dialog
2015-12-17 22:09:39 +01:00
Vladislav Tronko
deeafc3133
Fix downloadmanager displaying wrong filename
2015-12-17 01:45:09 +02:00
Vladislav Tronko
2bb2729665
Fix decoding special characters in download dialog
2015-12-17 00:57:02 +02:00
innermous
a9043f0584
Fix adding Adblock list
2015-12-12 22:33:23 +02:00
innermous
30d2980d86
Bookmarks: Add option to show only text in bookmarks bar
2015-12-11 18:05:46 +02:00
David Rosca
4a8d8fde59
Fix build with latest Qt 5.6 snapshot
...
Closes #1797
2015-12-09 19:33:54 +01:00
David Rosca
f130bc9763
Explicitly add webenginecore to Qt modules
...
See #1797
2015-12-09 14:02:14 +01:00
David Rosca
caefbcfa02
Another fix for older GCC
...
Closes #1790
2015-12-08 11:55:00 +01:00
David Rosca
9ed3554835
Fix build with latest Qt 5.6
2015-12-08 11:27:06 +01:00
David Rosca
73d93e1e3c
Don't assert when Shift+LeftClick on a link in frame
2015-12-07 12:41:07 +01:00
David Rosca
4144fc9827
Fix build with older GCC
...
Closes #1790
2015-12-06 16:09:04 +01:00
David Rosca
072f459ba5
Fix crash when using locationbar with show switch tab option disabled
...
Closes #1749
2015-12-03 10:01:30 +01:00
David Rosca
06e504e630
UserAgentManager: Update list of known user agents
...
Closes #1779
2015-12-03 10:01:03 +01:00
Jonathan Hooverman
bdd9a0cf02
Update adblockaddsubscriptiondialog.cpp
...
Fixes #1785
2015-11-27 12:51:14 +01:00
David Rosca
2bda7e54c4
Remove QString include from qzcommon.h
...
Closes #1781
2015-11-24 18:11:23 +01:00
David Rosca
082ae33d33
Fix clang warnings
2015-11-24 17:43:02 +01:00
David Rosca
a75002313a
main: Bump minimum Qt version to 5.6
2015-11-12 18:38:26 +01:00
David Rosca
60bc4ba715
DownloadItem: Fix initialization of m_currSpeed
...
Fix showing invalid download speed in some cases.
2015-11-12 17:03:45 +01:00
David Rosca
9f6ec040bb
QzTools: Add actionShortcut function
2015-11-12 17:00:43 +01:00
David Rosca
ac3d9b0f9b
Fix showing webview with Breeze style
...
Closes #1686
2015-11-12 16:38:39 +01:00
David Rosca
d543426c0f
Update OS/2 icons with new logo
2015-11-09 19:07:07 +01:00
David Rosca
d59ce4f74b
Update mac icons with new logo
2015-11-09 15:18:58 +01:00
David Rosca
ddb7c383de
BrowsingLibrary: Don't limit height of search line
2015-11-09 14:29:36 +01:00
David Rosca
a4cbfbecfa
Update favicons in default browsedata.db
2015-11-09 14:24:35 +01:00
David Rosca
cc39ec8150
Remove HtmlHighlighter and PlainEditWithLines
...
They are no longer used.
Also update copyright info in src/lib/data/html/copyright
2015-11-09 00:00:28 +01:00
David Rosca
7cd6f195d3
Adjust logo size in qupzilla:about and qupzilla:config
2015-11-08 23:57:54 +01:00
David Rosca
8b2e6bf9b6
New logo
...
Thanks to Adrien Vigneron and Elio Qoshi
2015-11-08 23:39:12 +01:00
David Rosca
999bfd3b9a
AboutDialog: Fix showing authors page
2015-11-08 23:34:46 +01:00
David Rosca
0e52711a07
SideBar: Don't try to add null widget to layout
2015-11-08 23:33:55 +01:00
David Rosca
626bf8f4bb
Fix searching for strings with special whitespaces from locationbar
...
This fixes eg. search terms with double byte space.
Closes #1622
2015-11-06 23:54:46 +01:00
David Rosca
27f0f9afac
WebView: Don't try to load invalid one-word urls
...
And also save the host lookup in case of invalid url.
2015-11-06 23:46:22 +01:00
David Rosca
fb4782dab2
ComboTabBar: Event handling cleanup
2015-11-06 18:12:48 +01:00
David Rosca
83b7f8f441
ComboTabBar: Call ensureVisible() in resize event
2015-11-06 18:10:02 +01:00
David Rosca
c0809dc0b3
Fix exiting HTML fullscreen with F11
2015-11-06 17:55:57 +01:00
David Rosca
d1a15906b5
LocationBar: Drop "Add .co.uk when pressing ALT" feature
...
It doesn't work when completer popup is displayed and also it was
weird feature that could confuse users (Why was .co.uk added to the
text when I pressed ALT?).
2015-11-06 17:44:33 +01:00
David Rosca
aa0ec8cbc0
LocationBar: Fix Ctrl+Enter when text already ends with .com
...
Don't append another .com when the text in locationbar already
ends with .com.
Closes #1737
2015-11-06 17:37:15 +01:00
David Rosca
4f04e6e8e2
BrowsingLibrary: Remove the gradient from top toolbar
...
Closes #1743
2015-11-06 14:31:02 +01:00
David Rosca
638c22486c
WebView: Use correct check if the host lookup succeeds
2015-11-06 13:17:07 +01:00
David Rosca
bcf50f9343
WebView: Better HANDLE_EVENT macro
2015-11-06 12:47:27 +01:00
David Rosca
e93c3fe58d
Remove obsolete build flags
2015-11-06 00:23:32 +01:00
David Rosca
a6a6b33b09
WebView: Another take on forwarding events
...
Closes #1747
2015-11-06 00:06:03 +01:00
David Rosca
07f828ddd5
Require Qt 5.6
2015-11-05 23:46:29 +01:00
David Rosca
d0129202dd
FlashCookieManager: Drop support for plugin out-of-tree
...
No longer needed as it is now official plugin and only causes problems.
2015-11-04 23:11:29 +01:00
David Rosca
35fd959315
HighDpi: Save site icons to database with 32x32px size
2015-10-24 12:50:42 +02:00
David Rosca
374af4277a
HighDpi: Fix TabIcon
2015-10-24 12:50:42 +02:00
Philipp Wiesemann
0e47899791
GreaseMonkey: Fix GM_listValues() listing nothing
...
The function GM_listValues() got broken when the source file "values.js"
was minimized into "values.min.js" because the optimizing tool was not
aware that the string containing the placeholder (%1) is not final and
will be changed later. It optimized away the expression which gets the
length of the string and replaced it with its static value (2). This was
a problem because not the length of the placeholder (%1) but the length
of the current script id is needed to extract prefixes from the keys in
the local storage. Failing to correctly extract the prefixes prevented
finding the entries for the current script. This was fixed by comparing
prefixes without extracting new strings. It works around the need to get
the length of the id string and therefore the breaking optimization.
An unrelated and redundant variable declaration was also removed.
2015-10-23 22:45:21 +02:00
David Rosca
88dba5e5ab
Don't save icons for file and ftp schemes
2015-10-23 12:57:04 +02:00
David Rosca
58d895e272
WebView: Always update site icon, even when icon is null
2015-10-23 12:26:27 +02:00
David Rosca
e052bda768
Remove remaining hunspell code
2015-10-23 12:26:27 +02:00
David Rosca
97ce417798
Fix use of QList::first()
2015-10-23 12:26:27 +02:00
David Rosca
8d312ad132
WebView: Accept drops with urls and open them
...
First dropped url is opened with current webview, the others are
opened in new tabs
2015-10-23 12:26:27 +02:00
David Rosca
26644f8cb9
Fix build
2015-10-22 21:02:39 +02:00
David Rosca
6780335dc9
Drop showing build time in version info
...
Build time was a nice idea, but it only saved build time for
qzcommon.cpp (which was builded only with clean build) and it
also breaks reproducible builds.
A variation of this patch is already used by some distros.
2015-10-22 20:56:59 +02:00
David Rosca
044bc89326
TestPlugin: Update comments
2015-10-22 20:54:58 +02:00
David Rosca
176b31198e
Plugins: Set plugin as parent for all created actions
...
This fixes crash on Windows when unloading plugin and then showing a menu
where the plugin action was.
There is still crash on exit in that case.
2015-10-22 20:54:42 +02:00
Philipp Wiesemann
59ba849e8f
Fix typos in messages
2015-10-22 20:53:06 +02:00
srazi
33553a049a
TabManager: Add an option to use it as main tabbar replacement.
...
- Note: in `TabBar::setVisible()` we didn't need to
check `(visible && m_window->isFullScreen())` because tabbar's
visibility in fullscreen mode is managed by m_navigationContainer.
2015-10-22 20:50:35 +02:00
David Rosca
12661a7d61
TabWidget: Ensure current tab is visible after restoring session
2015-10-22 18:33:20 +02:00
David Rosca
fd88bb26c2
Fix crash on close with latest QtWebEngine
2015-10-22 17:55:04 +02:00
David Rosca
de20021f10
Fix build with latest QtWebEngine 5.6
2015-10-22 14:44:41 +02:00
David Rosca
37f32021df
Fix unloading plugin with visible sidebar
2015-10-21 12:14:55 +02:00
David Rosca
d6f478be7e
Remove qtwebkit-plugins
2015-10-16 23:18:39 +02:00
David Rosca
ebaf53f4f4
WebView: Always use WebView::restoreHistory()
2015-10-15 20:51:26 +02:00
David Rosca
e7144ca78c
Update JavaScriptOptions dialog for QtWebEngine
2015-10-15 19:55:04 +02:00
David Rosca
b817c19081
Fix not escaping characters for HTML directory listings
...
file: scheme handler is not currently used, this commit is
mainly to close the pull request.
Patch by philippwiesemann
Closes #1712
2015-10-15 17:58:38 +02:00
David Rosca
cefe1bce54
Remove remaining Qt 4 code
2015-10-15 17:57:03 +02:00
srazi
e604120f49
FCM, TabManager: add them to extension sub-menu.
2015-10-15 17:44:13 +02:00
srazi
3fd23a54cb
Plugins: Added interface for extension's submenu to Tools menu,
2015-10-15 17:43:47 +02:00
srazi
ac48237eca
Fix a rare crash.
2015-10-15 17:42:27 +02:00
David Rosca
1af76cb2a9
WebInspector: Show close button only when docked
2015-10-15 17:22:23 +02:00
David Rosca
74fc271e25
WebInspector: Implement Inspect Element action
2015-10-15 17:19:16 +02:00
David Rosca
34eac0d9db
Automatically fill proxy credentials in proxyAuthorizationRequested
...
Also don't allow to save credentials into AutoFill. Proxy credentials
should be saved in Preferences.
2015-10-15 15:38:44 +02:00
David Rosca
0845606cc7
Bring back proxy configuration
2015-10-15 14:39:18 +02:00
David Rosca
1c63a90e1a
SBI_Proxy: Remove option to set NoProxy
...
QtWebEngine doesn't support NoProxy option, it will always
try to use SystemProxy if no proxy is specified
2015-10-15 11:33:48 +02:00
David Rosca
f8525f2533
Bump version to 1.9.99
2015-10-15 11:00:42 +02:00
David Rosca
5c40121aa9
Show correct default user agent in About dialog
2015-10-15 10:49:11 +02:00
David Rosca
5b82102075
Don't show "WebKit version: QtWebEngine" anywhere
2015-10-15 10:34:49 +02:00
David Rosca
96cc2d41e2
Remove non-working Work Offline option
2015-10-15 10:28:03 +02:00
srazi
dd5c5db142
Windows: After showing QZ window (1s delay) try to check as default and show dialogs as child of QZ window.
...
- Closes #1632
2015-10-15 10:10:29 +02:00
srazi
e3ed2547db
RTL: Correctly show messages in statusBar.
...
- Closes #1713
2015-10-15 10:10:20 +02:00
David Rosca
f755e312b9
WebTab: Fix loading other non-selected tabs while pinning tabs
2015-10-14 23:20:16 +02:00
David Rosca
1f32a018f5
TabStackedWidget: Cleanup pinUnPinTab code
2015-10-14 22:50:57 +02:00
David Rosca
398232246e
TabStackedWidget: Only send show event to one widget after removing tab
...
When removing current tab, the widget was removed from stackwidget,
which would send the show event to next widget in stack and then
send show event to another widget when changing the current index from
ComboTabBar.
2015-10-14 22:48:17 +02:00
David Rosca
5024ada696
Fix showing speed dials in bookmarks icon
2015-10-14 19:52:08 +02:00
David Rosca
ccabc336c0
Fix crash when application style is externally changed
...
Closes #1707
2015-10-14 17:06:03 +02:00
David Rosca
0fade63d86
WebPage: Add page to display when render process crashes
2015-10-14 16:19:54 +02:00
David Rosca
e9cbb32e26
Remove unused certs.qrc
2015-10-14 15:05:15 +02:00
David Rosca
a4a6d3eb7a
Removed unused qupzilla.ico
2015-10-14 15:03:10 +02:00
David Rosca
387aee12c2
SiteInfo: Only show on non-internal pages
2015-10-14 12:50:30 +02:00
David Rosca
af93ecf81e
AdBlock: Show error page when the whole page was blocked
2015-10-14 12:41:42 +02:00
David Rosca
74350785b0
Update copyright in qupzilla:about
2015-10-14 12:16:39 +02:00
David Rosca
36031c46e6
WebView: Store input widget as QWidget and not QObject
2015-10-14 12:12:25 +02:00
David Rosca
1a068e8c7d
Use QWebEnginePage::RequestClose action to close tabs
...
It is no longer to use hacky onbeforeunload javascript handling when
closing tabs.
2015-10-12 12:07:01 +02:00
David Rosca
e127000cb7
ComboTabBar: Remove blured background support
2015-10-11 10:52:04 +02:00
David Rosca
53e4512d31
ComboTabBar: Fix showing tooltip when animating scrolling
2015-10-11 10:51:16 +02:00
David Rosca
c0a7ef8d9e
WebInspector: Add pointing hand cursor to close button
2015-10-11 10:29:09 +02:00
David Rosca
7e238f69b0
WebInspector: Fix close button with QtWebEngine 5.6
2015-10-10 00:12:14 +02:00
David Rosca
56e5237697
WebView: Don't save blank page / speed dial into view history
2015-10-09 21:33:07 +02:00
David Rosca
b6b7edd187
Use shorter code for QString().arg(int)
2015-10-09 20:42:25 +02:00
David Rosca
1d37a6867c
PageThumbnailer: Rewrite to load thumbnails with QML WebEngineView
...
This way it is possible to get thumbnail even without showing the
webview.
2015-10-09 19:31:08 +02:00
David Rosca
50d5eeef0c
Remove bundled certificates
2015-10-09 19:20:04 +02:00
David Rosca
f1ab8ac5e9
Remove option to configure Click2Flash
...
Click2Flash is no longer available
2015-10-09 16:11:40 +02:00
David Rosca
b39809bfae
Remove option to show tab previews
2015-10-09 16:03:38 +02:00
David Rosca
df487f0726
WebHitTestResult: Resolve image url
2015-10-09 15:57:35 +02:00
David Rosca
258d78a247
AdBlockRule: Fix handling domain and third-party restrictions
...
Domain and third-party restrictions should be applied on page url,
not url of request.
This requires https://codereview.qt-project.org/#/c/127159/
2015-10-09 13:16:24 +02:00
David Rosca
b891d92736
Fix QzTools::ensureUniqueName again
...
This time it should be correct fix + added tests
2015-10-09 12:26:13 +02:00
David Rosca
0f6720a32c
Bring back KWallet password backend test
2015-10-09 11:35:57 +02:00
David Rosca
3f3d202194
AutoScroll: Fix position of scroll indicator when site notification is visible
2015-10-08 23:51:14 +02:00
David Rosca
d0f662d599
GreaseMonkey: Use url interceptor for downloading scripts
2015-10-08 23:32:18 +02:00
David Rosca
03399c7b2c
Use acceptNavigationRequest to handle abp: urls
...
QtWebEngine now sends external urls through acceptNavigationRequest
so it is no longer needed to install scheme handler.
2015-10-08 22:39:27 +02:00
David Rosca
de0dd7fb2d
Fix build with latest QtWebEngine 5.6
2015-10-08 22:17:21 +02:00
David Rosca
c3e0f39c9b
ProfileManager: Drop support for old profiles
2015-10-08 11:52:40 +02:00
David Rosca
54f31237a5
Fix build
2015-10-08 11:49:22 +02:00
David Rosca
d2a84319e7
Fix pointer flicker when enabling mouse lock
2015-10-06 11:15:17 +02:00
David Rosca
b4972955ce
HTML5Permissions: Fix granting MouseLock permissions
2015-10-06 11:03:24 +02:00
David Rosca
83db3c1988
WebPage: Always grant MouseLock permission in fullscreen
2015-10-06 10:58:17 +02:00
David Rosca
6b02cd4cab
AdBlockRule: Correctly disable third-party option
2015-10-06 10:13:41 +02:00
David Rosca
4efbc54cac
UserAgentDialog: Hide per-site options
2015-10-06 10:10:27 +02:00
David Rosca
dd71761854
Remove no longer used classes
2015-10-06 09:52:44 +02:00
David Rosca
6d026969f7
Remove QFtp
2015-10-06 09:49:42 +02:00
David Rosca
db058ff194
Remove use of QNetworkRequest in LoadRequest
2015-10-06 09:46:23 +02:00
David Rosca
1a87d443c0
WebTab: Fix pinning tabs that are not yet restored
2015-10-05 23:39:59 +02:00
David Rosca
9fd7c271e4
ToolButton: Fix showing both context menu and button menu on right click
2015-10-05 22:41:20 +02:00
David Rosca
3ec6da6103
Bring back support for sending DNT header to servers
2015-10-05 22:32:55 +02:00
David Rosca
39c920f3ce
Preferences: Remove Send Referer option
2015-10-05 22:24:21 +02:00
David Rosca
8778ddc2dd
Bring back support for setting AcceptLanguage header
2015-10-05 22:21:14 +02:00
David Rosca
3d8b09653f
WebView: Clear icon when icon url changes
2015-10-05 22:08:31 +02:00
David Rosca
4d05c1105a
Bring back support for managing cookies
2015-10-05 22:03:53 +02:00
David Rosca
226b29b0c6
Set empty page icon to qupzilla:speeddial
2015-10-05 20:50:20 +02:00
David Rosca
88c5b271e2
AdBlockRule: Add support for script, stylesheet and object-subrequest
2015-10-05 20:43:05 +02:00
David Rosca
3050913d21
WebHitTestResult: Fix isContentSelected
...
Was returning always true on right click
2015-10-05 20:29:38 +02:00
David Rosca
150252aea9
Don't store blocked entries in WebPage
...
It is not possible in this way with QtWebEngine
2015-10-05 20:23:10 +02:00
David Rosca
e91d6482d1
Bring back AdBlock blocking network requests
2015-10-05 20:16:51 +02:00
David Rosca
40eb1281f8
Add UrlInterceptor interface
2015-10-05 19:52:41 +02:00
David Rosca
a6c9ca7b4c
Workaround error handling in scheme handlers
2015-10-05 19:16:12 +02:00
David Rosca
5829318774
AdBlock: Bring back support for adding new subscription with abp: links
2015-10-05 18:54:58 +02:00
David Rosca
79dd0d5899
Removed ftp scheme handler
...
ftp is internal scheme, so it is not possible to use custom scheme
handler with QtWebEngine
2015-10-05 18:12:10 +02:00
David Rosca
949faa5856
Add support for HTML FullScreen
...
Esc is used to leave fullscreen
2015-10-05 18:08:14 +02:00
David Rosca
637f38684d
Settings: Bring back support for plugins (eg. Flash)
2015-10-05 17:29:09 +02:00
David Rosca
9cb66878ff
Port to Qt 5.6
2015-10-05 17:20:53 +02:00
David Rosca
94d89e4fa6
DownloadManager: Use shorter timeout for updating window title
2015-10-04 21:12:53 +02:00
David Rosca
510f521074
Downloads: Bring back option to choose path / open downloads
2015-10-04 21:00:38 +02:00
David Rosca
35f002efb4
DownloadManager: Fix clearing download items
2015-10-04 20:23:54 +02:00
David Rosca
c24b0e92fd
Remove TODO comment
2015-10-04 20:02:16 +02:00
David Rosca
a1d9740caf
Allow to start more instances of the same profile with --no-remote
2015-10-04 19:54:59 +02:00
David Rosca
e161e45c41
WebPage: Add Q_UNREACHABLE to createWindow(WebBrowserWindow)
2015-10-04 19:51:39 +02:00
David Rosca
6857270057
WebInspector: Fix searching with Ctrl+F in inspector
...
Don't eat key events so inspector's search function can be used.
2015-10-04 19:44:25 +02:00
David Rosca
102ee62d3d
WebView: Enable download link/image/media actions with Qt 5.6
2015-10-04 19:35:02 +02:00
David Rosca
e60daf072b
WebPage: Remove disabled form resubmitted warning
...
Looks like it won't come back in QtWebEngine and it wasn't
really that much useful feature.
2015-10-04 19:22:52 +02:00
David Rosca
7a512918f8
WebView: Prevent handling input events twice
...
This fixes site info being opened twice when pressing Ctrl+I while
having focus in webview.
This makes the input events handling code very fragile, so let's hope
this won't break anything .. and QtWebEngine won't change the behavior
in following releases.
2015-10-04 19:04:25 +02:00
David Rosca
75cb70d049
Don't cache icons for qupzilla: scheme
...
Also remove icon from SpeedDial page
2015-10-02 17:10:27 +02:00
David Rosca
6ac34f74c1
WebView: Fix loading favicons that are on different hosts than site
2015-10-02 17:05:42 +02:00
David Rosca
7f101700ca
WebView: Check for m_clickedUrl.isEmpty() in mouseReleaseEvent
2015-10-02 15:50:29 +02:00
David Rosca
4d5808d915
Bring back AutoScroll plugin
...
This time implemented in C++ and not with userscript. There
is also no support for scrolling inside frames.
2015-10-02 15:36:07 +02:00
David Rosca
74e02dd1e3
Revert "Bring back AutoScroll plugin"
...
This reverts commit fa2779e6b9
.
2015-10-02 14:48:25 +02:00
David Rosca
66d0fa588d
Enable out of dir plugins
2015-10-02 14:29:49 +02:00
David Rosca
97ba8c6af3
Bring back PIM plugin
2015-10-02 14:13:21 +02:00
David Rosca
75fe50ca48
Bring back MouseGestures plugin
2015-10-02 11:14:10 +02:00
David Rosca
939ebeb2c9
Guard against null QProxyStyle::baseStyle()
...
See #1686 #1707
2015-10-01 20:25:22 +02:00
David Rosca
ffcf137967
QzTools: Fix ensureUniqueFileName when file has no suffix
...
Closes #1706
2015-10-01 20:05:36 +02:00
David Rosca
800cc14dcd
Bring back support for searching one-word terms from locationbar
2015-10-01 19:25:55 +02:00
David Rosca
5f6cfdc62a
Remove WebView::guessUrlFromString and use QUrl::fromUserInput instead
...
This also fixes setting homepage and new tab urls in preferences.
Closes #1710
2015-10-01 18:37:45 +02:00
David Rosca
8e39135920
WebView: Clear m_clickedUrl and m_clickedPos in mousePressEvent
2015-10-01 18:16:48 +02:00
David Rosca
9f36401be9
Use QWebEngineSettings::defaultSettings instead of globalSettings
2015-10-01 18:02:36 +02:00
David Rosca
aab8f1ea75
WebView: Shift + Left click now opens link in new window
...
Also handle left clicking on links in mouse release and not click
2015-10-01 17:48:32 +02:00
David Rosca
c68789c217
WebView: Remove unused openNewTab function
2015-10-01 17:37:56 +02:00
David Rosca
5e0ca7fed8
Preferences: Bring back external download manager option
2015-09-30 18:43:58 +02:00
David Rosca
695475b2e4
SiteInfo: Bring back option to save image
2015-09-30 16:20:31 +02:00
David Rosca
bd215a69ed
SiteInfo: Bring back showing previews of images
2015-09-30 15:55:00 +02:00
David Rosca
abe13dd22d
Cleanups
2015-09-30 15:28:44 +02:00
David Rosca
b24303c00b
WebView: Bring back media context menu
2015-09-30 15:26:52 +02:00
David Rosca
d10c47a825
WebView: Don't cache form data when adding create search engine action
2015-09-30 15:05:28 +02:00
David Rosca
6a2579a22c
Cleanups
...
Remove PAC proxy option as it is hardly to ever be supported
in QtWebEngine.
2015-09-30 15:02:10 +02:00
David Rosca
7050ffc9e6
SearchEngines: Bring back creating search engines from forms on page
2015-09-30 14:57:41 +02:00
David Rosca
878c0f93c1
WebHitTestResult: Fix isContentEditable for readonly inputs
2015-09-30 13:38:57 +02:00
David Rosca
1115d02b37
WebView: Hide not working actions in context menu
2015-09-30 13:33:27 +02:00
David Rosca
942299e649
Remove Page Screen action from menus
...
Page screen functionality will hardly ever come back with QtWebEngine.
2015-09-30 13:28:18 +02:00
David Rosca
bfad9eb0aa
WebView: Bring back support for unbeforeunload when closing tab
2015-09-30 13:01:14 +02:00
David Rosca
c042d86467
WebPage: Add timeout to execJavaScript
2015-09-30 12:59:53 +02:00
David Rosca
36929a45bf
Another cleanups
...
Removed printPage() functions + removed SslManager
2015-09-29 23:41:08 +02:00
David Rosca
730577c0e4
BrowserWindow: showWebInspector -> toggleWebInspector
...
Using the Web Inspector action while inspector is already visible
will close it.
2015-09-29 23:35:16 +02:00
David Rosca
ecfae5512a
WebInspector: Fix closing inspector session when opened from popup window
2015-09-29 23:22:33 +02:00
David Rosca
9072cc65c6
WebView: Bring back context menu
2015-09-29 23:15:46 +02:00
David Rosca
4cb9beecc4
WebView: Opening links in tabs now honor user new tab settings
2015-09-29 22:00:09 +02:00
David Rosca
241d7d8e03
WebPage: Add basic support for WebHitTestResult
2015-09-29 21:53:56 +02:00
David Rosca
d4e09d8840
Hack to make input events work
2015-09-29 21:53:19 +02:00
David Rosca
f448bba885
Fix previous commit
2015-09-29 16:37:22 +02:00
David Rosca
6e6f934535
Fix emitting changed() in TabWidget
...
TabbedWebView::changed() is no longer used, connect to urlChanged directly
2015-09-29 16:31:23 +02:00
David Rosca
ab75170f85
Move authentication + cert error functionality to NetworkManager
...
Certificate exceptions only works per-session.
2015-09-29 16:19:11 +02:00
David Rosca
b0da5ba755
Bring back NetworkManager class
2015-09-29 11:45:39 +02:00
David Rosca
f3fda02820
WebPage: Remove unusued QSslCert functionality
...
Also bring back indication of secured pages.
2015-09-29 11:37:17 +02:00
David Rosca
b2c4064f1b
Fix build with NONBLOCK_JS_DIALOGS
2015-09-29 11:30:42 +02:00
David Rosca
2582ee3562
Update expectations for popupwindows test
2015-09-29 11:21:17 +02:00
David Rosca
fcaa2b4559
EncodingMenu: Fix showing duplicate codecs in other menu
...
Also use alphanumeric sorting with QCollator
2015-09-29 11:14:20 +02:00
David Rosca
16b28a3a90
Preferences: Remove not working options
...
Also fix disabling local cache
2015-09-29 10:55:24 +02:00
David Rosca
5ba8f4dbb6
ProfileManager: Make appropriate functions static
2015-09-28 20:44:15 +02:00
David Rosca
24de161ad1
DataPaths: Use XDG paths + add Cache path
...
Also drop support for old deprecated config paths.
Closes #1411
2015-09-28 20:41:01 +02:00
David Rosca
7adc31337b
Make afterLaunch settings enum
2015-09-28 14:51:38 +02:00
David Rosca
f28da4407f
Remove pinnedtabs.dat on startup, not when saving session
2015-09-28 14:34:21 +02:00
David Rosca
6d37ab5ce4
Save pinned tabs per window if restoring session on start
...
No more pinned tabs restoring on wrong window. Also it is now possible
to have different pinned tabs on each window.
2015-09-27 18:54:19 +02:00
David Rosca
94bac52e1f
Changed CookieManager, SiteInfo and Preferences to QWidget
...
For some reason, QzTools::setWmClass on SiteInfo resulted
in all webviews turning black.
2015-09-25 22:31:04 +02:00
David Rosca
748e6ce020
Ported all X11 specific code to xcb
...
It now also runtime checks for X11 platform, so it should
work on Wayland without recompilation;
2015-09-25 22:08:09 +02:00
David Rosca
daee137862
Cleanups in WebView
2015-09-25 20:44:18 +02:00
David Rosca
f0408e9c13
Bring back SiteInfo
...
Security and Databases tabs are removed. Image previews only
works for local images.
2015-09-25 18:31:05 +02:00
David Rosca
a115d91564
Remove Caret Browsing option
...
No longer available with QtWebEngine
2015-09-25 17:45:47 +02:00
David Rosca
ced9c8553c
SearchEngines: Bring back support to add engine from page
2015-09-25 17:41:46 +02:00
David Rosca
67b5a5337b
Another cleanups
...
Includes enabling again SpeedDial integration in Bookmarks
star icon in locationbar.
2015-09-25 17:02:14 +02:00
David Rosca
f4fb888529
QzTools: Add pixmapToDataUrl()
2015-09-25 16:04:12 +02:00
David Rosca
de46aad181
Bring back support for excluding tabs when restoring after crash
2015-09-25 15:53:14 +02:00
David Rosca
a9d0e79eeb
RecoveryJsObject: Use safer method to get BrowserWindow from WebPage
2015-09-24 23:08:55 +02:00
David Rosca
fc85caff57
Add QWebPage::view() that returns WebView *
2015-09-24 23:00:27 +02:00
David Rosca
02f5e032fc
Bring back qupzilla:restore page
...
For now, it doesn't support selecting which windows/tabs not to
restore. It is only possible to start new session or restore previous.
2015-09-24 22:46:35 +02:00
David Rosca
8a6d083114
SearchToolBar: Don't make shortcuts translatable
2015-09-24 19:43:31 +02:00
David Rosca
cde3ed179b
Always show restore page when starting after crash
2015-09-24 19:37:40 +02:00
David Rosca
37cd709b7f
Fix typo
2015-09-24 19:37:15 +02:00
David Rosca
5467f9643e
SpeedDial: Fix updating options values in settings
2015-09-24 18:32:10 +02:00
David Rosca
ca6c20497f
SpeedDial: Fix center speed dials option
2015-09-24 17:58:25 +02:00
Philipp Wiesemann
3849fed838
Fix not closing files from /proc/ on read errors
...
The cmdline files opened from /proc/ were not closed if reading the data
from them failed (e.g. because the file was empty). This leaked the file
descriptor which could lead to failures trying to open more files later.
2015-09-11 22:00:51 +02:00
David Rosca
8521b782bd
CommandLineOptions: Port to QCommandLineParser
...
This comes with removing all 2-chars short options,
only long options are now available.
That means there are no longer both "-nw, --new-window" options,
only "--new-window".
2015-09-09 23:37:43 +02:00
David Rosca
7e1a0d7720
Another cleanups
2015-09-08 11:24:16 +02:00
David Rosca
496c46d067
Fix saving & restoring tabs with urls hidden in locationbar
...
That is eg. qupzilla:speeddial
2015-09-06 10:32:47 +02:00
David Rosca
7c4d44aa54
SpeedDial: Fix saving settings without changing dials
...
Closes #1689
Closes #1680
2015-09-05 21:12:54 +02:00
David Rosca
328ab40304
SpeedDial: Fix setting background image
2015-09-05 21:08:44 +02:00
David Rosca
50b9dd9023
Bookmarks: Fix bookmarksSelected signal
...
Regression from recent commits
2015-08-31 22:26:13 +02:00
David Rosca
5b161b74be
SearchToolbar: Add Ctrl+G and Ctrl+Shift+G shortcuts
...
Closes #1688
2015-08-31 22:21:20 +02:00
David Rosca
ff28f1f211
Another cleanup
...
- bring back support for Speed Dial Ctrl shortcuts
- bring back support for one key shortcuts
2015-08-31 22:14:45 +02:00
David Rosca
86a4f3d724
Remove support for transparent background
2015-08-31 21:40:08 +02:00
David Rosca
dad94c64a1
Call QtWebEngine::initialize() in main
2015-08-31 21:24:59 +02:00
David Rosca
9d3769c8e6
AutoFill: Save credentials from dynamically created forms
...
Closes #999
2015-08-31 20:49:49 +02:00
David Rosca
2e6b9b7fce
Scripts: Use document.createEvent instead of new Event
2015-08-31 19:58:42 +02:00
David Rosca
32a0db31b3
AutoFill: Initial port to QtWebEngine
...
There are still issues with completing forms in frames
2015-08-31 18:56:52 +02:00
David Rosca
a04efdc0be
window.external: Only export speedDial on qupzilla:speeddial
2015-08-31 13:17:14 +02:00
David Rosca
19f1ed6bfb
Scripts: Register window.external to all frames
...
It seems that only one QWebChannel connection per page
is supported, so we need to forward window.external to
all subframes.
2015-08-31 12:44:08 +02:00
David Rosca
fa2779e6b9
Bring back AutoScroll plugin
2015-08-30 21:15:18 +02:00
David Rosca
758fd6c687
Fix all build warnings
2015-08-30 17:42:58 +02:00
David Rosca
1683d5aaaf
Fix crash when creating window from PopupWindow
2015-08-30 16:53:51 +02:00
David Rosca
b53bf49f75
Old code cleanup
2015-08-30 15:52:15 +02:00
David Rosca
e83734069b
Bring back support for sending POST data
...
This fixes searching with engines that use POST method
2015-08-30 15:36:34 +02:00
David Rosca
44de2b48a0
MsgHandler: Ignore message about starting inspector server
2015-08-30 14:54:43 +02:00
David Rosca
32ea932654
WebPage: Don't write JS console messages to standard output
...
There is now support for web inspector, so this is not needed
anymore.
2015-08-30 14:46:23 +02:00
David Rosca
eec26c9af4
Bring back support for web inspector
...
QtWebEngine only supports remote web inspector, so this
starts it on port 33417.
2015-08-30 14:44:59 +02:00
David Rosca
bdd5dee361
SearchToolBar: Fix updating search when changing case sensitivity
2015-08-30 10:57:08 +02:00
David Rosca
2466f790bc
SearchToolBar: Don't select text when searching on page
2015-08-30 10:56:58 +02:00
David Rosca
1756c51546
Remove remaining RSS code
2015-08-30 10:40:45 +02:00
David Rosca
20c7b3f57b
PageThumbnailer: Delay creating thumbnail by 1 sec after loaded
2015-08-30 10:33:10 +02:00
David Rosca
db888e2b2f
SpeedDial: Minor design fixes
2015-08-29 19:40:49 +02:00
David Rosca
869e1ff758
Fix QWebChannel connection after restoring history
2015-08-29 19:19:25 +02:00
David Rosca
495ebc785e
Don't link to unused Qt modules
2015-08-29 18:32:57 +02:00
David Rosca
ef71be2a0e
Scripts: Only emit created Event when external is not null
2015-08-29 18:22:45 +02:00
David Rosca
832bd37114
SpeedDial: Implement loading page thumbnails
...
QWebEngineView must be visible in order to grab page contents, so
loading thumbnails is creating a new background window that is loading
the page.
2015-08-28 20:55:10 +02:00
David Rosca
fc204b3b46
SpeedDial: Fix to work with QWebChannel
...
Page thumbnails are not yet implemented, otherwise it more or less
works.
2015-08-28 19:25:45 +02:00
David Rosca
15279a3641
WebView: Don't show source on qrc: scheme
2015-08-28 17:43:44 +02:00
David Rosca
a672771cef
WebPage: Remove isPointerSafeToUse hack
...
Pointers are no longer stored as void* in network requests
2015-08-28 16:18:05 +02:00
David Rosca
b9d5851ef5
Renamed src/webkit -> src/webengine
2015-08-28 16:17:29 +02:00
David Rosca
adea1139b9
StatusBarIcons: Update NetworkIcon to work with QNetworkProxy
...
This should make it work with proxy config in Qt 5.6
2015-08-28 10:58:54 +02:00
David Rosca
43a15ff547
Fix creating new config directory
2015-08-18 10:13:44 +02:00
David Rosca
6a16cff13e
msghandler: Output log context only when not null
2015-08-18 10:12:01 +02:00
David Rosca
f35f17fa96
Link explicitly to x11extras
2015-08-18 09:56:17 +02:00
David Rosca
e5ec3cea90
Revert [AdBlock] Add Malware Domain List and Malware domains subscription
...
This reverts commits 7c66b3176c
and
2f2d2850cd
2015-08-01 18:10:09 +02:00
Peter Dave Hello
2f2d2850cd
[AdBlock] Add "Malware domains" subscription
2015-07-11 21:16:10 +08:00
Peter Dave Hello
7c66b3176c
[AdBlock] Add "Malware Domain List" subscription
2015-07-11 21:16:05 +08:00
Peter Dave Hello
cc58aa49f8
[AdBlock] Add "Anti-Adblock Killer" subscription
2015-07-11 21:14:51 +08:00
David Rosca
a745e4776f
Fix build with Qt 5.5rc
2015-06-24 10:46:57 +02:00
David Rosca
f747ce3e9d
Use better fallback for styleName() when proxy style is null
2015-06-11 21:11:10 +02:00
David Rosca
a0b84a5cd3
TabBar: Don't use ProxyStyle directly
2015-06-11 21:10:47 +02:00
David Rosca
0723deb2fc
SearchToolbar: Remove "Highlight" option
...
It is no longer available with QWebEngine.
Also rewrite callback to use lambda instead of invoke wrapper.
2015-06-10 11:08:32 +02:00
David Rosca
406f522c61
WebPage: Implement certificateError
2015-06-09 18:36:57 +02:00
David Rosca
b30b25b254
WebPage: Implement chooseFiles
2015-06-09 18:10:22 +02:00
David Rosca
2d6ba21c03
AdBlockIcon: Set minimum size
...
See #1655
2015-05-28 11:15:51 +02:00
David Rosca
458c131170
AdBlockRule: Disable copy
...
Closes #1654
2015-05-28 11:15:43 +02:00
David Rosca
878ed65753
GreaseMonkey: Show script dialog when creating new user script
2015-05-28 10:08:58 +02:00
David Rosca
146fdc953f
GreaseMonkey: Allow userscripts with empty body (just metadata header)
2015-05-28 10:06:41 +02:00
David Rosca
26f0912845
GM_Settings: Add button to create new user script
2015-05-28 10:03:33 +02:00
David Rosca
1c6e9fd036
GM_Script: Parse @updateURL metadata entry
2015-05-28 08:44:16 +02:00
David Rosca
fc606e2019
GreaseMonkey: Don't parse pattern in GM_UrlMatcher
...
Url matching is now done by QtWebEngine
2015-05-28 08:39:33 +02:00
David Rosca
9c7bfb1c94
GreaseMonkey: Fix removing/updating userscripts
2015-05-27 19:48:40 +02:00
David Rosca
431610215d
AdBlock: Bring back domain specific element hiding rules
2015-05-27 19:17:29 +02:00
David Rosca
c75eb32367
Bring back support for user style sheet
...
This also means that AdBlock global hiding rules are
working again.
2015-05-27 18:48:45 +02:00
David Rosca
ad86572fff
Bump GreaseMonkey version number
...
GreaseMonkey now works the same (or even better) as with QtWebKit.
The only difference is that GM_setClipboard is not implemented
and GM_value functions are saving only to localStorage.
2015-05-25 11:48:38 +02:00
David Rosca
038e4f5014
GreaseMonkey: Implement GM_ functions for userscripts
2015-05-25 11:47:32 +02:00
David Rosca
f95d46953f
GreaseMonkey: Disable building JSObject
2015-05-25 10:46:30 +02:00
David Rosca
bb995d7984
Fix some warnings
2015-05-25 10:39:39 +02:00
David Rosca
e825f0268b
Bring back GreaseMonkey
...
Everything seems to work just fine. The only thing that doesn't
work now are GM_setValue and GM_getValue functions.
2015-05-24 23:16:01 +02:00
David Rosca
1387dbef64
Bring back TestPlugin
2015-05-24 21:55:06 +02:00
David Rosca
8f353d7c21
Bring back TabManager plugin
2015-05-24 21:53:12 +02:00
David Rosca
b83c845bab
PluginInterface: Replace createRequest with acceptNavigationRequest
2015-05-24 21:41:09 +02:00
David Rosca
7d9a07b379
Bring back show source support (using view-source: url)
2015-05-24 21:28:45 +02:00
David Rosca
b6fcfba09a
SpeedDial: First try to port it to QtWebEngine
...
It now just loads the page, but it does not even correctly
shows all the dials.
2015-05-24 20:49:50 +02:00
David Rosca
89dedf0a0e
Bring back qupzilla: scheme pages
2015-05-24 20:41:49 +02:00
David Rosca
406e0f670a
Downloader: Drop code for FTP downloads
...
FTP listing and downloading is now supported by QtWebEngine itself
2015-05-24 19:27:53 +02:00
David Rosca
278b725571
Bring back support for downloading files
...
All files are now automatically downloaded to the specified
directory. Due to QtWebEngine API changes, it is not possible
to ask user where to save the file.
2015-05-24 19:22:32 +02:00
David Rosca
6da67fc53d
Correctly create off-the-record profile for private browsing
2015-05-24 17:29:41 +02:00
David Rosca
f90a40836c
PopupWindows: Port to QtWebEngine
...
It now correctly detects when to open tabs and when to open
popup windows.
Support for opening new browser windows is not yet implemented.
2015-05-22 23:57:24 +02:00
David Rosca
e854afb5d3
TabbedWebView: Bring back showing hovered link url in statusbar
2015-05-22 23:30:51 +02:00
David Rosca
286c714593
WebPage: Bring back windowCloseRequested support
2015-05-22 23:30:26 +02:00
David Rosca
014d0d50ab
WebPage: Port feature permission notifications to QtWebEngine
...
Currently there are missing icons for new permission types
2015-05-22 23:18:25 +02:00
David Rosca
bbc7628de0
Implement changing custom user agent
...
Per-domain user agent is however not working
2015-05-22 22:00:06 +02:00
David Rosca
c08a584333
Set correct paths for cache and persistent data
...
Also disable persistent data storage when in private mode
2015-05-22 21:49:00 +02:00
David Rosca
4bd92d1403
Port StatusBarIcons plugin to QtWebEngine
...
Network icon is disabled.
2015-05-22 18:24:09 +02:00
David Rosca
05fcc35658
Fix build with Qt 5.5
...
Also enable plugins: FlashCookieManager, Gnome and KWallet passwords.
2015-05-22 18:14:16 +02:00
David Rosca
deb7251231
KWalletPasswords: Fix KF5 KWallet includes
2015-05-22 17:55:35 +02:00
Jonathan Hooverman
610dd28ae1
Removed outdated AdBlock Fanboy subscription, closes #1637
2015-04-23 20:23:07 +02:00
Javier Llorente
3a8b0a1d86
change wording from 'on this site' to 'for this site'
2015-04-17 16:36:20 +02:00
David Rosca
8d34cbc02e
SuperMenu: Fix enabling Select All and Find actions
2015-04-09 20:07:56 +02:00
Javier Llorente
44af6ef806
fix for bug #1625
2015-03-19 23:22:05 +01:00
David Rosca
8d7cfb0e2a
Remove some Qt 4 specific code
2015-02-26 12:17:47 +01:00
David Rosca
7f27f95a1a
Fix build
2015-02-08 11:52:09 +01:00
David Rosca
e3deb6cfd5
More cleanups + remove now unusued WebHistoryInterface
2015-02-08 11:51:19 +01:00
David Rosca
226c721d57
BrowserWindow: Remove static WEBKITVERSION
2015-02-08 11:45:15 +01:00
David Rosca
f366dbd11f
Encoding: Make character encoding menu working again
2015-02-08 11:42:01 +01:00
David Rosca
8c068b1f87
Preferences: Fix font settings
2015-02-08 11:38:38 +01:00
David Rosca
e4852e7d88
MainApp: Fix loading fonts settings
2015-02-08 11:32:00 +01:00
David Rosca
b94135ead5
WebView: Implement icon loading
2015-02-08 11:13:12 +01:00
David Rosca
41d9c418e9
lib: Enable C++11
2015-02-08 11:09:53 +01:00
David Rosca
f67348fac8
TabWidget: Don't try to load empty url when adding a tab
...
Fixes showing titles of other tabs when restoring session
2015-02-08 10:10:36 +01:00
David Rosca
72438755a2
AboutDialog: Show QtWebEngine version
...
For now, it will only show version of Qt
2015-02-08 09:55:11 +01:00
David Rosca
81639ea923
Port settings to use QWebEngineSettings
2015-01-27 12:15:00 +01:00
David Rosca
60b2386a6e
Initial port to QtWebEngine
...
This is first quick port to QtWebEngine, most of advanced features
are not working yet. Please read README.
For now, it will use separate profile directory as well as browser
session, that means you can use both QtWebEngine and QtWebKit versions
at the same time.
2015-01-27 11:01:52 +01:00
David Rosca
ee80b04a11
Import TabManager plugin from qupzilla-plugins
2015-01-21 13:00:51 +01:00
David Rosca
2a9288209c
Import FlashCookieManager plugin from qupzilla-plugins
2015-01-21 12:58:45 +01:00
David Rosca
04d4555b47
Don't duplicate convertUrlToText function in WebView
2015-01-21 12:38:12 +01:00
David Rosca
b75e8a8451
Actually, this is much better solution to previous commit.
2015-01-21 12:32:41 +01:00
David Rosca
7384ed2685
Fix searching for strings with non-ascii characters from locationbar
...
Closes #1587
2015-01-21 12:21:54 +01:00
David Rosca
744a1d15be
Merge pull request #1577 from gzsombor/master
...
Add 'Block domain' button to the cookie manager
2015-01-20 23:45:14 +01:00
David Rosca
841c956262
Merge pull request #1572 from pejakm/prof_fix
...
Correct profile path. Fixes #1570
2015-01-20 23:44:29 +01:00
Zsombor Gegesy
e81cbb167a
Add 'Remove and block domain' button to the cookie manager
2015-01-20 11:00:16 +01:00
David Rosca
80dd3a8f85
Revert "Add option to completely disable SSLv3"
...
This reverts commit a640948c3b
.
QSsl::SecureProtocols is default value and it already
disables SSLv3 in Qt 5
Closes #1579
2015-01-12 21:11:12 +01:00
David Rosca
26ca447d91
Revert "Use TLS 1.2 with Qt 5 when disabling SSLv3"
...
This reverts commit 0ccc759e1f
.
2015-01-12 21:11:03 +01:00
David Rosca
509a79d987
New year 2015
2015-01-01 12:08:46 +01:00
David Rosca
42ebb227c6
BookmarksModel: Use internalPointer when passing mimedata
...
internalPointer() is the same as internalId(), which means
that it actually is not safe to use them.
But for now, this at least fixes crashes on FreeBSD and works
quite well in most cases.
Closes #1565
2014-12-31 10:19:14 +01:00
Mladen Pejaković
fbc7c73616
Update fix
2014-12-30 14:51:36 +01:00
David Rosca
dc5dafbe9a
Fix build with Qt 4
2014-12-30 14:43:37 +01:00
David Rosca
952196b2e9
BookmarksModel: Correctly store QModelIndex::internalId in data stream
...
See #1565
2014-12-30 14:25:02 +01:00
David Rosca
d864a14fa6
Merge pull request #1563 from oshi-shinobu/master
...
Added CTRL+L shortcut to clear download list
2014-12-30 13:25:11 +01:00
Nobody Really
af541a787e
Added CTRL+l shortcut to clear download list
2014-12-30 12:46:12 +01:00
David Rosca
01b0491c5b
Merge pull request #1569 from srazi/FTP-handle-text-html
...
FTP: Don't prompt to download text files,
2014-12-30 11:04:52 +01:00
S. Razi Alavizadeh
9591754027
WebPage: Download unsupported content from FTP protocol.
2014-12-29 21:59:08 +03:30
Mladen Pejaković
b86081cb66
Correct profile path. Fixes #1570
2014-12-29 18:28:14 +01:00
David Rosca
c1901cd81d
Don't try to load translations for C locale
2014-12-27 12:32:16 +01:00
S. Razi Alavizadeh
3511e0401b
RTL, dir list page: Fixed position of dir-up button in RTL layout..
...
- CLoses #1568
2014-12-25 22:07:50 +03:30
S. Razi Alavizadeh
ce38c2d4fe
FTP: Don't prompt to download text files,
...
- Also update coding style and clean up.
- Closes #1559
2014-12-25 21:51:28 +03:30
S. Razi Alavizadeh
37ce38bbf8
TabBarHelper: Fix a rare bug and compute pressed index, correctly.
2014-12-25 15:16:31 +03:30
S. Razi Alavizadeh
393009f4d1
Show navigation bar when calling openLocation() in full screen mode.
...
- Closes #1464
2014-12-25 00:10:30 +03:30
S. Razi Alavizadeh
94afd29d67
Windows,Qt5: Fixed compile issue.
...
- It fixes: error: C2308: concatenating mismatched strings Concatenating wide
- See: http://blog.qt.digia.com/blog/2014/06/13/qt-weekly-13-qstringliteral/
2014-12-24 23:38:38 +03:30
David Rosca
0ccc759e1f
Use TLS 1.2 with Qt 5 when disabling SSLv3
2014-12-24 15:08:30 +01:00
Nobody Really
240cecb230
Allow closing Download Manager and Browsing Library with CTRL+w
2014-12-21 15:10:29 +01:00
David Rosca
5cf4d0d6e0
AdBlock: Use display:block when hiding blocked iframes
...
visibility:hidden leaves empty space in page
2014-12-17 13:27:53 +01:00
David Rosca
a750858ed7
AdBlock: Fix hiding iframes that have completely blocked contents
...
Closes #1552
2014-12-17 09:51:24 +01:00
S. Razi Alavizadeh
d28154c3d2
ProxyStyle: Set tabbar alignment to left
...
Closes #1547
2014-12-16 15:18:57 +01:00
David Rosca
478cfa660d
Merge pull request #1549 from srazi/fix_1539
...
Assume "about:blank" as an empty URL.
2014-12-16 14:35:46 +01:00
David Rosca
5d99f53fb8
WebView: Fix zoom shortcuts with +/-/0 on numeric block
2014-12-13 19:29:45 +01:00
David Rosca
fba9900775
Fix debug output with Qt 5.4
...
Qt 5.4 outputs a malformed "QSslSocket: cannot resolve SSLv2_client_method ("
message on first SSL connection and it breaks all terminal output.
2014-12-13 19:28:27 +01:00
S. Razi Alavizadeh
ab368f647f
Assume "about:blank" as an empty URL.
...
- Closes #1539
2014-12-13 03:37:41 +03:30
S. Razi Alavizadeh
8a7af28165
MainApplication: The getWindow() try to return the current active or last activated window
2014-12-02 22:05:17 +03:30
S. Razi Alavizadeh
598ad6f13c
TabStackedWidget: Emit signal on change of pin state.
2014-12-02 10:04:03 +03:30
S. Razi Alavizadeh
9301a5a2a8
CookieManager: Don't add same server to different filters,
...
- Also don't allow duplicate entries in filters.
2014-12-01 20:17:07 +03:30
David Rosca
e60df0c9f4
MouseGestures: Fix warning about duplicated label names in settings dialog
2014-11-29 13:07:51 +01:00
David Rosca
b4fc38d5ef
Silence one cppcheck warning
2014-11-29 11:12:41 +01:00
David Rosca
7ff53e645a
Merge pull request #1531 from EionRobb/patch-1
...
Add duplicate tab (Down->Up) mouse gesture
2014-11-24 14:58:32 +01:00
Eion Robb
f5606e9326
Fix for compiling Windows version with mingw
2014-11-24 09:28:12 +13:00
David Rosca
a640948c3b
Add option to completely disable SSLv3
...
Enabled by default.
See #1493
2014-11-21 19:39:35 +01:00
Eion Robb
154b43a644
[MouseGestures] Add the info to the UI about Down+Up gesture
2014-11-21 13:04:04 +13:00
Eion Robb
65a803b9cc
[MouseGestures] Down+Up tab duplicate gesture needs to know what tab to duplicate
2014-11-21 12:47:40 +13:00
Eion Robb
3fe5a699ff
Add down+up gesture to mousegestures header
2014-11-20 13:34:04 +13:00
Eion Robb
00812af136
Add duplicate tab (Down->Up) mouse gesture
2014-11-20 13:32:31 +13:00
David Rosca
b1c12998c7
LocationBar: Fix Del key removing all right part of the url
2014-11-18 12:45:37 +01:00
David Rosca
3b38d25277
Drop SSLV3Sites workaround
...
It is no longer needed, but moreover it is now also not wanted
due to recent SSLv3 security issues.
2014-11-16 22:44:06 +01:00
David Rosca
d0aafd78c0
SpellCheck: Fix loading dictionaries after user saves the spellcheck dialog
2014-11-15 11:54:33 +01:00
David Rosca
1e3556696c
Qt5: Enable HighDPI pixmaps
2014-11-14 09:28:42 +01:00
David Rosca
24ff9285f5
Use desktop availableGeometry for default window size calculation
2014-11-10 12:15:23 +01:00
David Rosca
63b7e41713
Save geometry of Preferences window
...
Closes #1514
2014-11-10 12:05:49 +01:00
David Rosca
03c875b229
Set default window size to be desktop size / 1.3
2014-11-10 11:50:53 +01:00
David Rosca
4320eb202f
Fixed "Open blank tab" on new tab option on OS/2
2014-11-08 11:54:46 +01:00
David Rosca
addd5d1f43
OpenSearchEngine: Use Json class instead QScriptEngine to parse suggestions
2014-11-08 11:15:22 +01:00
David Rosca
476bd93f55
Mac: Open new window when clicking on Dock icon
...
Closes #1517
2014-11-08 10:21:01 +01:00
David Rosca
478b5ddb84
Use open() instead of exec() in all dialogs
...
Avoid blocking exec().
Closes #1515
2014-11-07 18:08:12 +01:00
David Rosca
05c1fec5c6
Preferences: Prevent opening more than one window
2014-11-07 17:16:22 +01:00
Jonathan Hooverman
fbcb3022ee
ChinaList is deprecated and has been replaced by Easylist China
...
Fixes #1516
2014-11-05 12:53:34 +01:00
David Rosca
f698c0a78f
LineEdit: Fix slow text selection with mouse
...
Regression from 2c0582b9a1
2014-11-05 09:51:13 +01:00
David Rosca
b81c45486f
Fix build on Mac with Qt4
...
QKeySequence::FullScreen was only added in Qt5
Closes #1513
2014-11-04 10:29:04 +01:00
David Rosca
2ed002cb2a
Fix build with Qt 4.7
2014-11-03 15:45:11 +01:00
David Rosca
1ff1969941
Mac: Fix Preferences... action in application menu
...
Make sure the Configuration Information action won't be
detected as "Preferences..." action.
Also use native shortcut for fullscreen (Ctrl+Meta+F)
Closes #1332
2014-11-01 23:19:52 +01:00
David Rosca
3a9f2f9e78
Settings: Allow nesting instances without breaking groups
...
Closes #1511
2014-11-01 17:50:26 +01:00
David Rosca
9359977d8b
Cleanup displayed build configuration flags in qupzilla:config
...
Removed KDE Integration and WebGL. Both flags don't have much use now.
KDE Integration only enables KWallet plugin building (and only when
KWallet-dev is available).
WebGL is now enabled by default by any recent QtWebKit versions.
Also show Win7API flag only on Windows.
2014-11-01 10:14:04 +01:00
David Rosca
5779b6b835
Adjust default font sizes
2014-11-01 10:01:29 +01:00
David Rosca
ebb2544142
Remove live.com from list to force SSLv3
2014-10-31 16:00:08 +01:00
David Rosca
a0dd1ddcb7
AdBlock: Use one cache for all subscriptions
...
Added new class AdBlockMatcher that holds the cache of
all subscriptions with rules.
This moves the matching logic from AdBlockSubscription into
separate class.
It also fixes issue that CSS exception rules weren't able to
affect rules from different subscription.
2014-10-31 15:39:02 +01:00
David Rosca
613d18ed16
Remove hdi.de from list to force SSLv3
2014-10-28 13:04:00 +01:00
David Rosca
a70a03272f
Building: Use system QtFtp module when available with Qt5
...
See #1503
2014-10-28 12:43:50 +01:00
David Rosca
3962c63927
Plugins: Don't exclude allowed plugins from available plugins list
...
This fixes issue that the allowed plugin (enabled by user) would
disappear from the all plugins list (in preferences) after failing
to load on startup.
2014-10-26 17:10:24 +01:00
David Rosca
d29861fdff
Windows: Fix crash when unloading AutoScroll plugin
2014-10-19 20:25:54 +02:00
David Rosca
55b9f2c515
Fix building with Qt 4.7 on Linux
2014-10-18 17:05:29 +02:00
David Rosca
2c0582b9a1
LineEdit: Cleanup text edit actions code
2014-10-18 16:33:37 +02:00
David Rosca
ada212bc59
LineEdit: Fix text edit shortcuts not working on non-latin keyboard layout
...
This fixes Ctrl+C/V/X/A shortcuts in LocationBar and WebSearchBar
Followup to #1494
2014-10-18 16:33:21 +02:00
David Rosca
f6b679585e
WebView: Fix text edit shortcuts not working on non-latin keyboard layout
...
Closes #1494
2014-10-17 18:37:18 +02:00
David Rosca
bcc9f3f431
Portable: Fix auto-loading saved plugins on startup
2014-10-16 12:24:48 +02:00
David Rosca
15bb39689c
Remove History::optimizeHistory() function
...
It is no longer needed, this function was little confusing
as it actually only executed VACUUM.
Instead, execute VACUUM after clearing all history in
History::clearHistory()
2014-10-15 22:50:19 +02:00
David Rosca
1a54cda705
ClearPrivateData: Delete old favicons in Optimize DB option
...
This should help anyone having issues with slow loading of bookmarks
or searching in locationbar.
2014-10-14 17:49:04 +02:00
David Rosca
e5065185fd
AdBlock: Add DuckDuckGo ad whitelist rules to custom list
...
Those rules cannot be deleted, but can be disabled.
Please consider not disabling those rules. Thanks!
2014-10-14 17:05:14 +02:00
David Rosca
26f466ed0d
AdBlock: Don't block user triggered network requests
...
Disable AdBlock when user tries to load the url from locationbar,
clicking on link, opening new tab, ...
Only block web content not explicitly requested by user - images,
scripts, redirects, ...
2014-10-13 17:02:18 +02:00
David Rosca
a61e3ff0ad
AdBlockTree: Fixed coloring CSS exception rules
...
CSS exception rules are now green (as exceptions) instead of
blue (as CSS rules)
2014-10-13 17:02:12 +02:00
David Rosca
ce528cfe66
CookieManager: Fix the title for "Filter 3rd Party Cookies" option
...
It actually should be "Allow 3rd Party Cookies". Also change
the default value to 0 = Allways allow 3rd party cookies.
2014-10-12 15:16:22 +02:00
David Rosca
160190dfb3
master branch is now 1.9.0 development version
2014-10-11 13:11:49 +02:00
David Rosca
5404985dba
Do not force keyboard text navigation in editable elements
...
Keyboard text navigation is handled automatically by QtWebKit
in editable elements.
This fixes issue in some custom html code editors.
Closes #1489
2014-10-11 11:42:07 +02:00
David Rosca
ee3322c64a
Fix crash when passing messages to running instance from commandline
2014-10-10 13:40:31 +02:00
David Rosca
30146476d6
Use bigger default font sizes
2014-10-08 22:12:22 +02:00
David Rosca
b6f913dafe
HistoryMenu: Don't crash in aboutToShow() when m_window is null
...
Closes #1487
2014-10-07 16:19:30 +02:00
David Rosca
21fb7bff31
Preferences: Don't crash when opening with null BrowserWindow
...
Closes #1488
2014-10-07 16:15:23 +02:00
David Rosca
dac236d70b
Mac: Add version info to Info.plist
...
Closes #1486
2014-10-07 11:10:36 +02:00
David Rosca
6390eb215b
Mac: Fix crash on startup due to invalid m_mainMenu pointer
...
Closes #1485
2014-10-07 11:10:31 +02:00
David Rosca
aac873bbb6
Show error message when QSQLITE plugin is not available
2014-10-05 16:13:00 +02:00
David Rosca
6d06975ccb
DataPaths: Coding style fixes
2014-10-03 09:21:40 +02:00
David Rosca
021b90f7b3
CookieManager: Switch to QDialog
...
This fixes issue when Cookie Manager may have been opened
under current window (eg. in Preferences)
2014-10-03 09:19:39 +02:00
S. Razi Alavizadeh
768e3ac143
Correct fix for #1479 and finally fix compile issue from two recent commits.
...
- Closes #1482
2014-10-03 04:04:59 +03:30
S. Razi Alavizadeh
a21d803b94
Fix compile issue after last commit.
2014-10-03 03:54:37 +03:30
S. Razi Alavizadeh
04721c6478
Make sure the Config and Temp pathes exist.
...
- Closes #1479
2014-10-03 00:34:09 +03:30
David Rosca
2efc6914e5
Revert "[DNT] Enable sending DoNotTrack header by default"
...
This reverts commit 12948cd0a4
.
2014-10-02 19:58:46 +02:00
David Rosca
8506a2cce0
Added Ferhat AYDIN to translators
2014-10-01 20:41:19 +02:00
David Rosca
6cb8717fd6
Fix Internet Explorer Bookmarks Importer
...
It is now possible to select the whole Favorites folder
and it will now also import all subfolder structure.
Closes #1475
2014-09-30 21:08:54 +02:00
David Rosca
52f3811916
SpeedDial: Save using AutoSaver
...
Prevents losing dials in case of crash.
2014-09-29 18:23:42 +02:00
David Rosca
dc29f6bde5
QzTools: Add function to obtain url of QWebFrame
...
QWebFrame::url() may be empty, and in that case QWebFrame::baseUrl()
should be used
The issue with empty frame url caused AutoFill to not complete
such frames.
Closes #1465
2014-09-29 16:14:49 +02:00
David Rosca
fdd38e81a0
Fix build on Mac
2014-09-28 11:58:26 +02:00
Dmitry Marakasov
9fcf8e677f
Fix platform check
...
Include <QtGlobal> which defines Q_OS_* before the check, otherwise it may (and does on FreeBSD) work incorrectly
2014-09-26 23:18:56 +04:00
David Rosca
eec67d1941
Fix building with Qt 4.7
2014-09-26 19:28:24 +02:00
David Rosca
cf044356fa
Version 1.8.0
2014-09-26 10:35:35 +02:00
David Rosca
35b2fb22b4
Remove unnecessary qDebugs
2014-09-26 09:53:45 +02:00
David Rosca
2730fd4b4a
AutoFill: Fix completing forms after recent change
...
Fix regression from 3360a531f1
2014-09-25 21:03:55 +02:00
David Rosca
61bc7f4543
BookmarksIcon: Don't disable clicking on icon on qupzilla: pages
2014-09-25 18:47:32 +02:00
David Rosca
016b2f118c
Pulled translations from Transifex
...
[ci-skip]
2014-09-25 18:15:14 +02:00
David Rosca
b4f9a354d7
Plugins: Load plugins before creating first window
2014-09-25 17:51:38 +02:00
David Rosca
01b4fd971f
MainMenu: Fix shortcuts for toggling sidebars
2014-09-25 17:36:51 +02:00
David Rosca
c0c435e197
Build: Fix setting QUPZILLA_VERSION define on non-unix platforms
...
[ci-skip]
2014-09-25 15:19:22 +02:00
David Rosca
68087d5a3f
QzCommon: Export all static strings (appname, buildtime, ..)
2014-09-25 15:00:56 +02:00
David Rosca
04a977dfea
Haiku: Remove setting QUPZILLA_PREFIX in defines.pri
...
It actually didn't work the way it was set
2014-09-25 14:57:36 +02:00
David Rosca
56dcdfe4a2
Mac: SuperMenu button is now available on Mac
2014-09-25 14:42:36 +02:00
David Rosca
e83d75f251
Mac: Re-enable system-wide menu menu bar
2014-09-25 14:27:25 +02:00
David Rosca
13b1614e11
Use std::sort instead of obsolete qSort
2014-09-25 14:13:26 +02:00
David Rosca
767e01fd22
Mac: Re-enable dock menu with New Tab, New Window and New Private Window actions
2014-09-25 14:09:26 +02:00
David Rosca
c607a2f717
FileMenu: Fix showing state of Work offline action
2014-09-25 14:05:54 +02:00
David Rosca
bbc6c72608
KWalletPasswords: Fix build with Qt4
2014-09-23 23:03:54 +02:00
David Rosca
3360a531f1
AutoFill: Rewrite AutoFill to complete each frame separately
...
Fixes crash from #1417
2014-09-19 13:16:02 +02:00
David Rosca
40e476e626
Coding style
...
[ci-skip]
2014-09-18 16:16:02 +02:00
David Rosca
545e0cd6b9
OperaImporter: Also import bookmark description and keyword
2014-09-18 16:10:50 +02:00
David Rosca
ef01247a80
OperaImporter: Set bookmark file filter to *.adr
2014-09-18 16:03:06 +02:00
David Rosca
c45b301844
LineEdit: Fix enabling Select All action
...
This fixes Select All action in LocationBar and WebSearchBar
2014-09-17 17:58:14 +02:00
David Rosca
8c8789a05f
BrowserWindow: Always set "private" property to browser window
...
Set this property also when private mode is disabled
2014-09-17 16:19:27 +02:00
David Rosca
b8c5f6f75d
BookmarksManager: Move cursor at the start in bookmark edit inputs
...
Title, Address, Keyword and Description inputs will now always
show the text from the start
2014-09-17 13:15:09 +02:00
David Rosca
2b51e2d5ca
KWalletPasswords: Add support for KF5 KWallet
2014-09-17 10:01:03 +02:00
David Rosca
795bb04acc
GreaseMonkey: Fix scripts sometimes not running in frames
...
Check for document.readyState and if it is "complete", run
the script immediately instead of adding event listener for
DOMContentLoaded that already fired
2014-09-17 09:14:04 +02:00
David Rosca
cf43bc3269
GreaseMonkey: Add GM_setClipboard function available to scripts
...
Also update GM_openInTab to return created window object
2014-09-16 20:30:04 +02:00
David Rosca
357c5baec3
PageScreen: Fixed out-of-sync format combobox and filename input on Qt5
...
See #1454
2014-09-16 20:09:13 +02:00
David Rosca
e3a8e9edc9
PageScreen: Use Save dialog instead of Open dialog
...
[ci-skip]
Closes #1454
2014-09-16 18:05:00 +02:00
David Rosca
f86d1b8f2d
GreaseMonkey: Run scripts on DOMContentLoaded event capture
...
Fixes second part of #1457 (not working on settings, identities, ..
pages)
2014-09-16 17:18:13 +02:00
David Rosca
171267cfb0
GreaseMonkey: Correctly run scripts in frames
...
Closes #1457
2014-09-16 16:58:36 +02:00
David Rosca
0eef26f843
GreaseMonkey: Use openuserjs.org instead of dead userscripts.org
2014-09-16 15:56:55 +02:00
David Rosca
464f05962e
Plugins: Use settings path without trailing slash
2014-09-16 15:20:09 +02:00
David Rosca
6ae0109115
AdBlockRule: Add copy() method
...
Faster method to copy rule than parse again the filter.
2014-09-16 10:38:28 +02:00
David Rosca
e8cddd16ea
AdBlock: Add support for exception css rules
...
Closes #1446
2014-09-16 09:39:25 +02:00
David Rosca
ed866dc9a4
AdBlock: Add support for parsing CSS Element hiding exceptions
...
Those rules are however not supported at the moment.
2014-09-16 00:37:13 +02:00
David Rosca
6dcf8c598a
AdBlock: Reload global user stylesheet after disabling/enabling AdBlock
...
It was needed to restart the browser to completely disable / enable
AdBlock.
2014-09-15 23:43:47 +02:00
David Rosca
8b3da86976
Unix: Use /tmp/qupzilla-$USER as temp path
...
It makes it possible to run QupZilla on more accounts at the same time
2014-08-31 12:52:01 +02:00
Niclas Rosenvik
ff57641c0b
fix linking on qmake installations that use compile_libtool.
2014-08-17 17:08:06 +02:00
David Rosca
de4f7115f8
Merge pull request #1431 from kdave/preferences-ctrl-q
...
[Preferences] add option to set Ctrl-Q behaviour (Quit or nothing)
2014-07-23 21:36:48 +02:00
Oleg Shparber
272c0c7807
Refactor encoding menu creation
...
* Use of codec MIBs instead of names significantly decreases
number of iterations
* Remove duplicated codecs
* Fix memory leaks which were caused by wrong parenting and
empty menus
* Do not add separator if menu is empty
2014-07-22 01:02:08 -07:00
David Sterba
ed9625ab5e
[Preferences] add option to set Ctrl-Q behaviour (Quit or nothing)
...
Motivated by #695 which targets broader task, Ctrl-Q behaviour is one
that stands out. Accidentally pressing it instead of Ctrl-W can have
disasterous consequences or is annoying. Other browsers provide either
generic keyboard shortcuts configuration (Opera) or an extension/plugin
to disable the behaviour (FF).
For the record of the usability demand:
https://code.google.com/p/chromium/issues/detail?id=59621
https://bugzilla.mozilla.org/show_bug.cgi?id=550559
2014-07-17 23:05:38 +02:00
David Rosca
04880e9a9e
Pulled translations from Transifex
2014-07-15 10:16:30 +02:00
David Rosca
c18b656585
[CertManager] Added option to disable weak ciphers
...
Closes #1428
Closes #1278
2014-07-13 19:43:18 +02:00
David Rosca
7e7bdf61df
Merge pull request #1415 from siduction-upstream/master
...
move the conditional settings up
2014-07-09 11:21:23 +02:00
David Rosca
a588d209a0
[PasswordManager] Save host also with port
...
Makes it possible to save different passwords for page.com and page.com:23
Closes #1416
2014-07-08 19:28:20 +02:00
David Rosca
9ed63f6323
[CloseDialog] Change text - there will always be more than 1 tab opened
2014-07-08 19:27:17 +02:00
David Rosca
857b020e85
[Preferences] Add button to open Search Engines Manager
...
Closes #1205
2014-07-08 19:17:42 +02:00
David Rosca
c4e0646915
[AdBlock] Add "Other..." entry in AddSubscription dialog
...
To make it less confusing how to add a subscription that is not
listed in known subscriptions.
2014-07-08 19:08:28 +02:00
Mladen Pejaković
5b6db60605
Clear Recent History dialog improvements
...
Closes #1326
2014-07-08 19:01:07 +02:00
David Rosca
6d66c5a470
[Fonts] Use own default font sizes
2014-07-08 18:38:02 +02:00
Mladen Pejaković
8f691905f0
[SpeedDial] Reload all dials menu action. Closes #1209
2014-07-08 18:29:52 +02:00
Mladen Pejaković
1a8ca567f9
[SpeedDial] Properly align
2014-07-08 18:27:18 +02:00
Mladen Pejaković
0f8bbe4777
[SpeedDial] Remove the padding (make it look like Opera's SD)
2014-07-08 18:26:56 +02:00
Mladen Pejaković
d5c7108f78
[SpeedDial] Cleanup
2014-07-08 18:26:43 +02:00
Mladen Pejaković
bc028e8a83
[Speed Dial] Enhancements
2014-07-08 18:26:25 +02:00
Mladen Pejaković
0d31785a4f
[QupZilla pages] Darker background; Respect user's preference for font face and size
2014-07-08 18:26:09 +02:00
David Rosca
0334526a18
[StatusBarMessage] Close on mouse move/press
...
Closes #1393
2014-07-08 18:20:02 +02:00
Alf Gaida
ff0e5b8b2c
/usr/lib vs /usr/lib/$arch-linux-gnu
...
* don't recommend qtchooser
* in case that /usr/lib/$arch-linux-gnu don't exists use /usr/lib
2014-07-07 23:20:39 +02:00
Alf Gaida
ca4acc48bf
Fix and simplify library folder for unix
...
Using QMAKE_HOST.arch is not the best of all possibilities to do so:
<pre>
cd src/plugins/ && ( test -e Makefile || /usr/lib/i386-linux-gnu/qt5/bin/qmake /tmp/buildd/qupzilla-1.6.6.siduction.8/src/plugins/plugins.pro -nocache QMAKE_CFLAGS_RELEASE=-g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -Wformat\ -Werror=format-security\ -D_FORTIFY_SOURCE=2 QMAKE_CFLAGS_DEBUG=-g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -Wformat\ -Werror=format-security\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_RELEASE=-g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -Wformat\ -Werror=format-security\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_DEBUG=-g\ -O2\ -fstack-protector\ --param=ssp-buffer-size=4\ -Wformat\ -Werror=format-security\ -D_FORTIFY_SOURCE=2 QMAKE_LFLAGS_RELEASE=-Wl,-z,relro QMAKE_LFLAGS_DEBUG=-Wl,-z,relro QMAKE_STRIP=: PREFIX=/usr -o Makefile ) && make -f Makefile
Project MESSAGE: QMAKE_HOST.arch: x86_64
Project MESSAGE: QT_ARCH: i386
Project MESSAGE: QUPZILLA_PREFIX:
Project MESSAGE: library folder /usr/lib/i386-linux-gnu
</pre>
(Build in a i386-build-chroot on a amd64 host)
2014-07-07 01:11:33 +02:00
Alf Gaida
7c7226b3f6
move the conditional settings up
...
make a comment about switching the Qt versions
remove commented out define for portable builds, there is a enviromental setting for it
remove the conditional define for w7api, its hard set anyway
2014-07-06 19:29:15 +02:00
Alf Gaida
efaf8a948f
Trigger debug builds via environment
2014-07-06 13:28:43 +02:00
David Rosca
1d8c3460c9
[Preferences] Use better tooltip for single key shortcuts
...
Changed "search/find" -> "search on page"
2014-07-04 13:50:05 +02:00
David Rosca
eee3895f69
Only link qupzilla binary to execinfo as it is used in main.cpp
...
See #1408
2014-07-02 11:27:55 +02:00
Augustin Cavalier
c73bd1fac5
Set -lexecinfo in main.pro...
...
...because it's used in main.cpp and setting it in libs.pro is not enough.
2014-07-01 14:36:36 -04:00
Augustin Cavalier
e7181f1369
[Haiku] Link to -lexecinfo.
2014-07-01 14:20:06 -04:00
Augustin Cavalier
29dccc0c98
[Haiku] Enable backtrace generation.
2014-07-01 10:40:02 -04:00
Augustin Cavalier
96f3e4873e
[Haiku] Doesn't support readdir's d_type flag...
...
...which is a Linux thing and not part of the POSIX standard. Haiku may support it eventually, but as of today it does not.
2014-06-30 12:44:10 -04:00
Augustin Cavalier
45804d0c26
[Haiku] Build system tweaks for Haiku.
...
Patch by Arfonzo.
2014-06-30 12:43:38 -04:00
David Rosca
f55dcdf63c
[LocationCompleter] Force updates of inline domain completer
...
Model for inline domain completion is updated asynchronously, so it is
needed to force the update of completer.
This was last regression of completer after switch to threaded searching
in history/bookmarks.
2014-06-26 15:42:38 +02:00
David Rosca
5558d32d82
Merge pull request #1376 from srazi/loc-highlighter
...
New highlighter algorithm using QTextLayout that fixes rendering of RTL strings.
2014-06-17 14:56:51 +02:00
David Rosca
7cbc588cc1
[LocationCompleter] Sort results by last visit date
...
Closes #1390
2014-06-17 14:55:32 +02:00
David Rosca
ac52b742b2
Convert all source files in src/* to Unix file ending
2014-06-15 23:35:39 +02:00
David Rosca
def26ad391
[WebPage] Fix searching for non-ascii one line term from addressbar
...
The search term (in url) needs to be decoded from punycode.
Closes #1396
2014-06-15 23:33:04 +02:00
S. Razi Alavizadeh
b48cc71dd5
[Bookmarks] Limit width of bookmarks menu to 250px
2014-06-13 23:55:55 +04:30
S. Razi Alavizadeh
5bd24400e1
[LocationCompleter] Cancel unneeded refresh jobs
2014-06-13 23:55:49 +04:30
S. Razi Alavizadeh
a32e809bf6
Escape SQLite wildcards when using LIKE clause
2014-06-13 23:52:44 +04:30
David Rosca
9502810404
[UrlLoading] Make sure to correctly load one-word hosts without dot
...
One-word hosts without the dot may be valid url. So let's try to load
it first before using a websearch.
Closes #1317
2014-06-06 23:29:49 +02:00
S. Razi Alavizadeh
5a183a1a8d
[LocationCompleter] Correctly elide text also fixed compile on Qt5.
2014-06-06 07:00:30 +04:30
David Rosca
72ab5de448
[Code] Small code cleanups
...
Mostly to silence a warnings from cppcheck
[ci-skip]
2014-06-05 20:33:16 +02:00
David Rosca
325072881d
[HistoryMenu] Show recently visited sites in top-level menu
...
Closes #1355
2014-06-05 19:58:32 +02:00
David Rosca
dc1b5931ea
[WebView] Don't clear selection when right clicking on selected link
...
This removes a workaround for a very old QtWebKit (<= 2.0) that actually
caused unwanted behavior with newer QtWebKit versions.
Closes #1377
[ci-skip]
2014-06-05 16:01:58 +02:00
S. Razi Alavizadeh
0af8f45a5f
[MouseGestures] Honor to user settings for 'New Tab' url,
...
- Closes #1380
2014-06-02 00:28:41 +04:30
David Rosca
59b893075a
[LocationCompleter] Fix showing icons after last commit
2014-05-30 22:06:58 +02:00
S. Razi Alavizadeh
666ecc4d01
[LocationCompleter] Don't leak when query icons,
...
- it seems it's a fix for #1299
2014-05-30 07:58:51 +04:30
S. Razi Alavizadeh
877266b418
[LocationCompleter] New highlighter algorithm using QTextLayout that fixes rendering of RTL strings.
2014-05-29 23:35:28 +04:30
David Rosca
7a1f4c77cd
Added hack to fix QT_STYLE_OVERRIDE with QProxyStyle
...
Forcing a widget style with QT_STYLE_OVERRIDE env variable does
not work when the app is using a QProxyStyle.
Manually appending the -style=$QT_STYLE_OVERRIDE to command line
arguments workarounds the issue.
Closes #1357
2014-05-28 23:02:28 +02:00
S. Razi Alavizadeh
7fc0c8d06d
[RTL] Force AdBlockTreeWidget and treeTags to be as LTR widgets.
2014-05-29 01:08:56 +04:30
S. Razi Alavizadeh
4ea5974914
[Windows] Fixed some issue with the blur background effect,
...
- Also moved all of codes related to blur effect of tabbar to ComboTabBar.
2014-05-29 01:08:42 +04:30
Mladen Pejaković
93d1b10901
Add appdata file. Closes #1368
2014-05-26 21:55:37 +02:00
Mladen
64bf91f2fc
Merge pull request #1367 from psyvisions/patch-1
...
[StatusBarIcons] Fix switched proxy manager password forms.
2014-05-26 20:07:27 +02:00
S. Razi Alavizadeh
8bee3d937d
Improvement in asking of master-password.
...
- Closes #1356
2014-05-26 00:24:43 +04:30
psyvisions
cb2a9ac206
Fix switched password forms
...
Password form for Manual Proxy was showing/saving the HTTPS password, and vice-versa.
2014-05-23 16:42:58 +01:00
David Rosca
75b532a4a1
[Build] Try to use only "lrelease" binary from PATH with Qt5
...
If the lrelease binary is not in QT_INSTALL_BINS/lrelease, try to use
just lrelease from PATH with Qt5, instead of incorrectly trying to use
lrelease-qt4
2014-05-23 11:40:12 +02:00
Mladen Pejaković
0fc6a30933
Implement offline mode. Closes #1241
2014-05-20 18:35:49 +02:00
Mladen Pejaković
ce7ea04f4a
Language strings fixes. Closes #1318 #1329 #1337
2014-05-14 18:29:20 +02:00
David Rosca
f83521ebb4
[AutoScroll] Fix scroll indicator position on Windows
...
For some reason, m_indicator->width() returns bigger value after
the first show/hide of indicator.
2014-05-12 12:31:25 +02:00
David Rosca
690d67ade8
Merge pull request #1333 from pejakm/fixgtr
...
[Webview] Use https for Google Translate. Closes #1331
2014-05-11 20:29:58 +02:00
David Rosca
39430458b3
[WebInspector] Add F12 shortcuto to show Web Inspector
2014-05-11 14:25:57 +02:00
Mladen Pejaković
6eeebd1866
[Webview] Use https for Google Translate. Closes #1331
2014-05-09 18:25:17 +02:00
Mladen Pejaković
9b44f384a2
[Cookies] More options for 3rd party cookies
2014-05-06 20:55:29 +02:00
David Rosca
e7646f1fbe
Pulled translations from Transifex
2014-05-04 21:02:20 +02:00
David Rosca
6bf9ae104f
Updated translation strings
...
[ci skip]
2014-05-04 20:56:01 +02:00
David Rosca
d534062cdd
[Windows] Load font.tff (if exists) and set it as default font
...
This is needed for N'ko translation as default Windows fonts
doesn't contain glyphs for N'ko language.
Closes #1223
2014-05-04 20:21:41 +02:00
David Rosca
7fab76b79b
[Build] Fixed build after last commit
2014-05-03 16:32:29 +02:00
David Rosca
9a3382ee85
[SideBars] Don't override cursor on scrollbars in History/Bookmarks sidebars
2014-05-03 15:23:07 +02:00
David Rosca
ad5dbe459c
[HistoryTreeView] Rewrite HistoryView to use same logic as BookmarksTreeView
...
It also fixes issue that middle click on item opened the url in both
current and new tab
2014-05-03 15:08:47 +02:00
David Rosca
0b6478d110
[ComboTabBar] Use initStyleOption workaround only for Bespin theme
...
It is needed only with Bespin.
With other themes, it actually makes it worse.
2014-05-03 11:40:14 +02:00
David Rosca
79a81a5f8a
[Build] Link to execinfo also with OpenBSD
...
[ci skip]
2014-05-03 10:34:17 +02:00
David Rosca
34feb19dab
[Code] TabHelper: Rename m_pinnedTabBar to m_isPinnedTabBar
...
[ci skip]
2014-05-02 22:16:48 +02:00
David Rosca
78fbccae15
[ComboTabBar] Correctly set QStyleOptionTab::position for tabs
...
This fixes rendering of OnlyOneTab with Bespin theme.
2014-05-02 22:15:36 +02:00
David Rosca
90760eaa2b
[ComboTabBar] Draw tabbar base even when main tabbar is empty
2014-05-02 21:39:08 +02:00
David Rosca
a30aac169a
[ComboTabBar] Fixed pinned tabs being hidden when there are no normal tabs
2014-05-02 21:25:49 +02:00
David Rosca
e6f4853af7
[TabBar] Show add tab button at correct position when there are no normal tabs
...
Fix 2 for #1322
Closes #1322
2014-05-02 20:15:05 +02:00
David Rosca
964a76c04b
[ComboTabBar] Correctly switch tabs when closing last tab in tabbar
...
Also remove custom logic for SelectPreviousTab on tab remove and use
only the QTabBar's selectionBehaviorOnRemove
Fix 1 for #1322
2014-05-02 20:02:33 +02:00
David Rosca
d1754094b8
[TabBar] Use contextMenuEvent instead of customContextMenu signals
2014-05-02 13:39:02 +02:00
David Rosca
5f8ac0b70a
[GreaseMonkey] Fix coding style
2014-05-02 13:38:54 +02:00
David Rosca
7fc7558221
[ComboTabBar] Correctly returns tabAt over tab icon
2014-05-02 13:35:01 +02:00
David Rosca
e379b1b655
[MainApp] Open a new window when starting app while already running
...
Open a new browser window when attempting to start another instance.
See #1315
2014-05-01 14:08:06 +02:00
David Rosca
e007620da4
Merge pull request #1305 from char101/bug/fix-compile-error-1
...
Fix compile error with vc++ 2013
2014-04-29 08:23:00 +02:00
David Rosca
6ac5b913e0
[Translations] Removed sr@Ijekavian translations (with capital I)
...
[ci skip]
2014-04-26 16:21:31 +02:00
David Rosca
445747155f
[GreaseMonkey] Fixed downloading scripts to correct directory
2014-04-26 13:21:39 +02:00
David Rosca
2bbde2a3a8
[Translations] Pulled translations from Transifex
2014-04-26 13:03:47 +02:00
David Rosca
dc48ddbf47
[DataPaths] Use classic array instead of QHash for storing paths
2014-04-26 12:35:14 +02:00
David Rosca
d29abb4e54
[Mac] Use ~/Library/Application Support/QupZilla as ConfigPath
...
+ little cleanup in variable naming (homePath -> oldConfPath)
See #1302
2014-04-26 12:23:06 +02:00
David Rosca
5b25b4bda6
[DataPaths] USE_LIBPATH is always defined on Unix
...
No need to add "/usr/lib/qupzilla" to the Plugins path if
USE_LIBPATH is not set, as "/usr/lib/qupzilla" won't exist on
non-Unix platform.
[ci skip]
2014-04-24 12:03:18 +02:00
David Rosca
19800b174b
[Bookmarks] Use keyword as a shortcut for bookmark url in LocationBar
...
It is now possible to load bookmarks only with entering its keyword in
LocationBar and then pressing Enter (no need to select the bookmark
from popup completion).
2014-04-24 11:57:27 +02:00
David Rosca
6bdc6f90ce
[ToolButton] Use QImage for multiIcon
...
Instead of 4 separate QPixmaps, use just one QImage and paint only
the current part (according to button state) of the image on button.
2014-04-24 11:05:41 +02:00
Charles
3175840126
Fix compile error with vc++ 2013
...
Qz::VERSION is not exported
2014-04-23 15:12:32 +07:00
David Rosca
0f79797be4
[Build] Correctly choose /usr/lib/i386-linux-gnu as LIBDIR on 32b Debian
...
QMAKE_HOST.arch is empty on x86
2014-04-23 08:40:28 +02:00
David Rosca
59ad2db607
[ToolButton] Call update() from setMultiIcon
...
Fixes issue with reload/stop button not being correctly updated
with themes that use multiIcon for this button.
2014-04-22 23:06:18 +02:00
duanemoody
a4d53499ff
Add application category for OS X
...
Because /Applications is typically not subfoldered (updaters don't like it when it is) OS X has had a separate view option View --> Arrange By --> Application Category which simplifies viewing apps. Unfortunately if LSApplicationCategoryType is missing from the app's info.plist, the app will be sorted into "Other" at the bottom. public.app-category.productivity is the category for web browsers.
2014-04-20 16:01:33 -07:00
David Rosca
028db62be0
[ComboTabBar] Set objectName of base widget, so it can be styled
...
TabBar base is now correctly styled in all themes.
Updated the themes accordingly to this change.
2014-04-20 13:03:08 +02:00
David Rosca
0a8337758e
[Themes] Fix loading linux.css and mac.css on Mac/Linux
2014-04-20 12:28:33 +02:00
David Rosca
668c8b024a
[LocationBar] Fixed showin progress over text. Use opacity with QPainter
...
Not the best solution, but probably the easiest.
Closes #1261
2014-04-20 11:05:20 +02:00
David Rosca
2138978ab7
[LocationBar] Make sure text format is correct even when text doesn't change
...
refreshTextFormat() is using page's url to determine which part of
displayed text is host. Url of page may not change immediately when
starting loading.
This commit makes sure that text format is correct with every
WebView::urlChanged() signal.
2014-04-20 09:51:20 +02:00
David Rosca
d25847cfce
[ToolButton] Added property "toolbar-look"
...
This property makes it possible for themes to customize look of
additional ToolButtons in Navigation Toolbar.
2014-04-20 09:32:35 +02:00
David Rosca
1fd3d84320
[ToolButton] Don't try to show menu when it is already visible
2014-04-19 18:50:44 +02:00
David Rosca
6797433e39
[ComboTabBar] Fixed tabAt() on scroll buttons
2014-04-19 18:47:44 +02:00
David Rosca
7568ee3e2d
[TabWidget] Don't save qupzilla:restore page in closed tabs
2014-04-19 18:24:09 +02:00
David Rosca
20764b3c1e
[Build] Fixes building with Qt5
2014-04-19 15:30:14 +02:00
David Rosca
f21be271b2
[ReloadStopButton] It is now only one button
...
Instead of hiding and showing two buttons (reload and stop), use
only one ToolButton and change the object name accordingly.
2014-04-19 14:40:54 +02:00
David Rosca
5782de0387
[ToolButton] New function to set look of button as it was in toolbar
...
Currently, it only sets the correct icon size
2014-04-19 13:46:23 +02:00
David Rosca
b3a9b99ac7
[ToolButton] Manually handle showing menu
...
ToolButtons now don't have menu indicators.
This fixes issue with Back/Forward buttons in Navigation Toolbar
being more wide than other buttons.
2014-04-19 13:12:04 +02:00
David Rosca
717585c6d6
[ToolButton] Cleanup code + removed unused properties
2014-04-19 12:06:48 +02:00
David Rosca
8283a5a42e
[Styles] Don't mention to use [style=QtStyle] selectors in comment
...
It is not available in current Qt releases
QzSchemeHandler+AboutDialog: Fixed coding style
2014-04-19 12:06:16 +02:00
David Rosca
535cc3e73a
[QzCommon] Move constants initialization into source file (.cpp)
...
Plugins are now checking for a match of version that were built with
in Plugin::testPlugin() function.
2014-04-17 15:20:54 +02:00
David Rosca
c6ae381404
[Mac] There is no /proc filesystem on Mac
...
Closes #1294
[ci skip]
2014-04-17 14:42:06 +02:00
David Rosca
9df585a8f8
[AdBlockSubscription] Fix infinite loading of subscription when cannot write to file
2014-04-16 17:15:55 +02:00
David Rosca
cc479f29e1
[CaBundleUpdater] Correct the error handling when downloading bundle
2014-04-16 16:51:53 +02:00
David Rosca
cd5ea7d66a
[Build] Fixed build after last commit
2014-04-16 09:17:57 +02:00
David Rosca
72f5d49074
[MainApp] Try to use windowIcon from icon theme
2014-04-16 09:13:17 +02:00
David Rosca
94444b30d5
[Bookmarks] Add new bookmarks at the end of the folder
...
Creating new bookmarks in Bookmarks Organizer are still prepended
(inserted at the begin)
2014-04-16 09:12:33 +02:00
David Rosca
97d32a1191
[Mac] Drawing QTabBar without actual object crashes on Mac
...
[ci skip]
2014-04-15 09:58:51 +02:00
David Rosca
8a0b6f0d10
[Build] Fixed building with Qt4
2014-04-13 12:24:37 +02:00
David Rosca
eb8ae20cc1
[AdBlockRule] Improve performance of rule matching with QStringMatcher
...
Use QStringMatcher instead of QString::contains in RegExpFilters.
QStringMatcher internally uses fast Boyer-Moore algorithm.
2014-04-13 11:49:39 +02:00
David Rosca
45635f6da8
[WebView] Fixed loading of bookmarklets
...
Closes #1288
2014-04-12 22:24:42 +02:00
David Rosca
e9a9a768cc
[TabbedWebView] Make sure to not crash with invalid m_window pointer
...
This is followup to properly handle detached WebTab (outside
BrowserWindow)
[ci skip]
2014-04-11 22:23:42 +02:00
David Sterba
f7552e42aa
[BrowserWindow] Add slash as a single key shortcut for search
2014-04-10 11:09:29 +02:00
David Sterba
ddba93a3d0
[Preferences] Update help text for single key shortcuts
...
Put the list of implemented shortcuts into a tooltip with a bit of
formatting.
2014-04-10 01:09:23 +02:00
David Rosca
e4512ae14f
[Click2Flash] Fix playing YouTube videos with Qt5
...
Closes #1283
2014-04-09 22:52:41 +02:00
David Rosca
646f9a2013
[Build] Fix building with Qt 4.7
2014-04-09 22:52:30 +02:00
nowrep
a560b7f498
[TabWidget] Make sure current tab is loaded on session restore
...
Fixes issue with current tab not being loaded on session restore
with "don't load tabs until selected" option.
It was needed to switch to other tab and then switch back to first tab
to actually load it.
Also pause updates of the whole browser window when restoring session.
2014-04-08 15:51:00 +02:00
nowrep
bfcae43c21
[WebTab] Don't show "Loading.." on empty tabs
...
[ci skip]
2014-04-08 14:41:30 +02:00
David Sterba
683ec42736
[BrowserWindow] Enable single key shortcuts
...
Translate single keys to shortcuts:
1 - previous tab
2 - next tab
(basic Opera compatibility)
There are more to choose from, but 1 and 2 are probably the most used.
Full list:
http://help.opera.com/Windows/9.50/en/keyboard.html#single-key
Configurable in preferences/Keyboard shortcuts, off by default.
Closes #1172
2014-04-07 14:50:38 +02:00
nowrep
78ba3875d9
[IconTheme] Fixed setting fallback icon theme
...
Closes #1274
[ci skip]
2014-04-07 09:31:13 +02:00
nowrep
7824f3862e
[Windows] Correctly fix building after 6473bace10
2014-04-07 08:25:07 +02:00
nowrep
6473bace10
Fixed build after 39c9fec3dd
2014-04-06 15:36:52 +02:00
nowrep
6e18ee7502
[PageFormCompleter] Try to be extra cautious with QWebFrames
...
This is an attempt to fix crash when calling QWebFrame::childFrames
in PageFormCompleter::getAllElementsFromPage
[ci skip]
2014-04-06 15:13:07 +02:00
S. Razi Alavizadeh
39c9fec3dd
[Windows] Fixed compile issues after aa248893
and 7f3d8ee7
2014-04-06 17:38:36 +04:30
nowrep
463fa96e04
[Build] Fixed building with Qt5
2014-04-06 13:50:09 +02:00
nowrep
db664184d0
[AdBlock] Improved performance of loading rules
...
Don't use regexps for parsing rules.
Added benchmark for loading subscriptions
Before:
********* Start testing of AdBlockParseRule *********
Config: Using QTest library 4.8.6, Qt 4.8.6
PASS : AdBlockParseRule::initTestCase()
RESULT : AdBlockParseRule::parseEasyList():
596.3 msecs per iteration (total: 2,982, iterations: 5)
PASS : AdBlockParseRule::parseEasyList()
PASS : AdBlockParseRule::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of AdBlockParseRule *********
After:
********* Start testing of AdBlockParseRule *********
Config: Using QTest library 4.8.6, Qt 4.8.6
PASS : AdBlockParseRule::initTestCase()
RESULT : AdBlockParseRule::parseEasyList():
481.8 msecs per iteration (total: 2,409, iterations: 5)
PASS : AdBlockParseRule::parseEasyList()
PASS : AdBlockParseRule::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of AdBlockParseRule *********
2014-04-06 13:36:42 +02:00
nowrep
1b01e7469f
[MouseGestures] Bump plugin version
...
[ci skip]
2014-04-05 17:54:26 +02:00
David Sterba
3360f17735
[MouseGestures] Configurable mouse gesture button
...
UI changes:
* the Settings dialog offers a combo box to select left and right
mouse buttons, or disable the gestures completely
* changes are permanently saved
* OK button is added
Closes #386
Closes #1280
It is now also possible to enable/disable rocker navigation.
Closes #1234
2014-04-05 17:46:05 +02:00
nowrep
f69c8645fb
[MouseGestures] Implement "Rocker navigation"
...
Left+Right click - Forward
Right+Left click - Back
It is currently disabled by default and there is no GUI to enable it.
2014-04-05 17:04:41 +02:00
nowrep
6874df57d7
[Coding Style] Edited coding style (use linux style brackets)
...
Linux style brackets are now used also for source files.
One line blocks can now be without brackets.
Example:
if (test)
foo();
Multi-line if statements are now written with conditionals (||, &&, ...)
at the end of line. The last line of if body does not ends with closing
bracket, instead the closing bracket is written on separate line.
One line blocks in multi-line if statements should not be without brackets.
Example:
if (test ||
test2 &&
test3
) {
foo();
}
[ci skip]
2014-04-05 14:53:45 +02:00
nowrep
41ff89c3dd
[WebView] Added option to force context menu to be opened on mouse release
...
This is needed for mouse gestures to be able to use right mouse button.
See #1280
2014-04-05 13:20:21 +02:00
Mladen Pejaković
297090692f
[Speller] Detect and properly display script variant
...
[ci skip]
2014-04-04 17:26:50 +02:00
nowrep
aa248893c1
[TabWidget] Renamed getTabBar() to just tabBar()
2014-04-04 17:14:31 +02:00
nowrep
b7016a70ee
[PopupWindow] Fixed edit actions in menu
...
WebView now has all edit-functions as public signals, so we can
connect it directly (instead of triggering page action in separate
slot in PopupWindow)
2014-04-04 17:09:04 +02:00
nowrep
5c2c90ae6d
[WebTab] More cleanup in detach/attach code.
...
TabbedWebView can now be used with null BrowserWindow pointer.
2014-04-04 17:07:31 +02:00
nowrep
61c1b8d8a1
[Cookies] Renamed Match Domain exactly to Filter 3rd party cookies
...
Closes #1277
[ci skip]
2014-04-03 10:19:11 +02:00
nowrep
7469aced65
[Cleanup] Deleted unused ActionCopy class
...
Also added myself to ComboTabBar copyright
2014-04-02 20:42:29 +02:00
nowrep
98907c2055
[WebTab] Reworked tab attaching/detaching.
...
This also fixes crash on detach
2014-04-01 18:47:19 +02:00
nowrep
34eeea4d58
[WebInspector] Propagate hideEvent only when closing inspector
2014-04-01 16:34:47 +02:00
nowrep
551ccd6e3c
[BrowserWindow] Make sure window is created with at least one tab
2014-04-01 16:34:08 +02:00
nowrep
84f117e68e
[AutoScroll] Fixed AutoScroll plugin after recent commits
...
Use WebView::overlayWidget for showing widgets over WebView
2014-04-01 16:32:55 +02:00
nowrep
7369e86a0a
[SearchAction] Don't block Ctrl+F shortcut from pages
...
It is now possible to search in WebInspector with Ctrl+F
[ci skip]
2014-03-31 18:03:35 +02:00
nowrep
2d9dfa9db7
[WebInspector] WebInspector is now displayed inside WebTab
...
It no longer uses QDockWidget. Instead, it is plain QWidget with
close button in top right corner.
2014-03-31 17:57:35 +02:00
nowrep
7f3d8ee786
[Cleanup] Split src/lib/webview into tabwidget, webkit and webtab folders
2014-03-31 14:54:08 +02:00
nowrep
b73751f497
[GreaseMonkey] Cleanup of GM_Downloader code
2014-03-31 12:37:24 +02:00
nowrep
ed823d4d50
[ClosedTabsButton] No longer needed to have two copies of button
...
ClosedTabsButton is now permanent right corner widget
2014-03-31 11:50:07 +02:00
nowrep
5c8afde4d9
[Crash] Fixed crash in BrowserWindow::event
...
Closes #1273
2014-03-31 10:01:04 +02:00
nowrep
bfe08409b4
[PrivateBrowsing] Show PrivateBrowsing indicator as left corner widget in tabbar
...
Removed PrivateBrowsing icon in Status Bar
2014-03-31 09:50:54 +02:00
nowrep
da6ccdcee5
[ComboTabBar] Draw TabBarBase also on parts that are not QTabBar
...
Draw TabBarBase on left/right corner widgets and left/right scroll
buttons.
2014-03-31 09:47:47 +02:00
S. Razi Alavizadeh
b26d9b06ab
[ComboTabBar] Fixed right scroll button being hidden on resize
...
When resizing window and triggering overflow, right scroll button
was hidden until the next resize event.
2014-03-30 16:42:13 +02:00
nowrep
b95da97904
[BrowserWindow] Move TabBar into NavigationContainer
...
Simplifies entering/leaving fullscreen, as it is only needed to
update visibility of the whole container.
2014-03-30 16:38:34 +02:00
nowrep
6e71ae3c54
[ClosedTabsManager] Save icon of closed tab
...
Instead of searching icon from database, save the icon of tab.
It will now correctly shows icon of not-yet loaded closed tab if
the url was not in database.
2014-03-30 12:47:13 +02:00
nowrep
a059c005ff
[SBI_Icons] Added Zoom Widget to StatusBarIcons plugin
...
Closes #1197
2014-03-29 15:49:49 +01:00
nowrep
d6625c60fb
[SBI_Icons] Update JavaScript icon state on startup
2014-03-29 15:48:50 +01:00
nowrep
9c67d874e7
[Translations] Updated plugins translations
2014-03-29 15:47:38 +01:00
nowrep
6812e020d6
[Qt5] Fixed hiding close button on current tab when dragging it
...
[ci skip]
2014-03-29 13:02:39 +01:00
nowrep
e598ee1230
[CaBundle] Updated ca-bundle.crt
...
[ci skip]
2014-03-27 22:32:41 +01:00
nowrep
543c3b8732
[Translations] Try to load Qt (qt_*.qm) translations from Qt path
...
Also removed all qt_*.qm translations that are part of official Qt
distribution.
2014-03-27 11:53:09 +01:00
Javier Llorente
458f6fecf0
[DownloadItem] Add date of completed download
...
[ci skip]
2014-03-26 16:20:43 +01:00
nowrep
9c7d6e9795
[BookmarksToolbarButton] Final fix for rendering issues with various styles
...
It now works correctly with Windows, Gtk+, Oxygen and Fusion theme with
both Qt4 and Qt5.
The only theme that doesn't work correctly is Bespin, because it draws
icon size animation upon hover, but we are drawing the icon and text
manually. I think there is not much to do with it actually...
2014-03-26 10:11:30 +01:00
nowrep
525c4ff5cf
[MainMenu] Create toolbars and sidebars menu to fix shortcuts
...
Shortcuts for sidebars are now available even before first showing
sidebars menu
2014-03-26 10:10:33 +01:00
nowrep
586a9d2242
[OxygenFallback] Correctly initialize fallback icon theme
...
For some reason, QIcon::hasThemeIcon does not work correctly.
2014-03-26 10:05:27 +01:00
nowrep
4305b59028
[ProgressBar] Use update() instead of repaint()
...
update() does not trigger repaint immediately. It helps with
speed of restoring crashed session (progressbar does not need to be
refreshed for every restored tab immediately).
The same change was made for SiteIcon in PopupLocationBar
2014-03-25 17:06:50 +01:00
nowrep
545b3f9c54
[SessionRestore] Set override busy cursor when restoring session
...
TabWidget: Delete WebTab in closeTab() with deleteLater
[ci skip]
2014-03-25 16:55:33 +01:00
nowrep
a284a7c864
[SiteIcon] Don't set :pressed state when popup is not shown
...
Popup will not be shown eg. on qupzilla: sites
2014-03-25 16:53:41 +01:00
nowrep
fcfe2999f7
[WebView] Delete m_page in destructor
...
This should fix rare crash when closing tab.
[ci skip]
2014-03-24 21:21:07 +01:00
nowrep
e1661a88b5
[ClosedTabsButton] Hide by default
...
[ci skip]
2014-03-24 18:13:37 +01:00
nowrep
b9891a815b
[LinuxTheme] Deleted now unused icons
...
Also added "edit-find" icon to oxygen-fallback
2014-03-24 18:07:56 +01:00
nowrep
d4e9682db1
[SiteIcon] Don't flicker when opening site info popup
...
Make sure the Down state doesn't change between clicking on icon
and opening popup.
[ci skip]
2014-03-24 17:07:25 +01:00
nowrep
174b4e8218
[Unix] Don't register SIGPIPE handler
...
[ci skip]
2014-03-24 16:28:28 +01:00
nowrep
f7a88a82f7
[Oxygen-fallback] Added bookmark-new-list icon
2014-03-24 16:23:21 +01:00
nowrep
c182dd6f34
[Icons] Removed unused icons
2014-03-24 16:16:35 +01:00
nowrep
ab638a5525
[IconProvider] Use fallback oxygen icon theme (in oxygen-fallback.qrc)
...
Instead of manually setting fallback icons, use globally fallback theme.
2014-03-24 16:09:30 +01:00
nowrep
3c0576fcfa
[BookmarksToolbarButton] Improved rendering of bookmark button
...
It now correctly draws hover state. It now also supports shifting
contents for Down state
2014-03-24 12:51:42 +01:00
nowrep
a0dba6bd32
[BookmarksToolbarButton] Only fix down state rendering when button is folder
...
Eg. when the button has menu
2014-03-23 23:54:09 +01:00
nowrep
2e8c9f690e
[SiteIcon] Support :pressed state for style sheets
2014-03-23 23:53:51 +01:00
Javier Llorente
539ade15b8
add es_ES language translated
2014-03-23 13:50:15 +01:00
nowrep
e10126d2a9
[TabWidget] Fix showing empty tab title when adding new tab
...
Regression from recent commits
2014-03-22 23:59:38 +01:00
nowrep
64b53baee3
[TabbedWebView] No need to override stop() method
2014-03-22 22:18:28 +01:00
nowrep
db2d879717
[WebHistoryWrapper] Removed unused WebHistoryWrapper class
2014-03-20 09:11:19 +01:00
S. Razi Alavizadeh
0b4be9055e
[Windows] Fixed inserting QUnicodeControlCharacterMenu to contextmenu.
2014-03-20 01:14:36 +03:30
nowrep
e36697eedf
[SearchEngines] Support for loading POST engines from LocationBar
...
Added new class LoadRequest, that holds network request with its
operation type and POST data.
2014-03-19 21:27:43 +01:00
korwru
d247fd9f74
Fix msvc compile issue m_navigationBar undeclared identifier
2014-03-19 15:38:14 +04:00
korwru
a1e849fd9a
Fix msvc compile error m_usingTransparentBackground undeclared
...
identifier
2014-03-19 15:32:30 +04:00
korwru
2097ce08d3
Fix msvc compile issue with datapaths
2014-03-19 15:22:16 +04:00
korwru
75040eace2
Fix msvc compile issue in mainapplication use of undefined type
...
RegisterQAppAssociation
2014-03-19 15:14:01 +04:00
korwru
a4588a0c28
Fix msvc compile issue in tabwidget.
2014-03-19 15:01:53 +04:00
K0r5hun
8e0d849e01
Fix compile issue with plugins on msvc.
2014-03-19 14:38:16 +04:00
nowrep
f042ba9b88
[TabBar] Fixed showing 2 AddTab buttons when tabs overflows
2014-03-18 20:38:30 +01:00
nowrep
cbc3f4f875
[DuckDuckGo] Use new icon for DuckDuckGo search engine
2014-03-18 20:10:19 +01:00
nowrep
3d23f3eb02
[WebTab] Move more code into WebTab, instead of handling in TabWidget/TabBar
...
This also fixes showing tab icon after detaching tab
2014-03-18 20:00:34 +01:00
nowrep
27a3781ed0
[ComboTabBar] Move right/left containers to ComboTabBar class
...
It is now possible to set corner widgets of all tabbar, not only
main tabbar.
2014-03-18 17:35:44 +01:00
nowrep
96b6743ac6
[ClosedTabsButton] New button in the right corner of tabbar
...
Added icon for Linux theme.
But it needs a new icon for other themes...
2014-03-17 15:04:58 +01:00
nowrep
b3c40e6281
[SiteIcon] Correctly show first site icon
2014-03-17 11:04:26 +01:00
nowrep
5b6b6c6eaf
[LoadingAnimation] New loading animation
...
Instead of using QMovie with GIF, one PNG file with all
frames is now animated.
Fixes issue with bad transparent background of previous GIF
animation.
2014-03-17 10:43:18 +01:00
nowrep
ebd501c9cd
[SiteIcon] Show icon with small delay (100ms)
2014-03-17 09:08:36 +01:00
nowrep
a9eba60da2
[LocationCompleter] Pause updates when removing items from completer
...
Also adjust the size of popup after removing items + close it after
removing last item.
2014-03-16 17:24:10 +01:00
nowrep
20cd658274
[ProfileManager] Fix currentProfile() cutting last char of profile name
2014-03-16 15:31:19 +01:00
nowrep
b9c58b14b3
[AutoScroll] Force ArrowCursor when scrolling
2014-03-16 14:56:09 +01:00
nowrep
f9f74f3642
[LocationBar] Always show site icon in 16x16px
2014-03-16 14:33:56 +01:00
nowrep
e6baa54179
[Qt5] Fixed QIODevice::not open warning message
2014-03-16 14:30:59 +01:00
nowrep
43cb2d6b27
[LocationBar] Fixed crash in setGoIconVisible. Always check for m_webView
2014-03-16 13:56:27 +01:00
nowrep
dbec199ea8
Fixed building with Qt5
2014-03-16 13:55:37 +01:00
nowrep
fe0b03fdb7
Include QDebug in qzcommon.h
...
It's annoying to always include it just to remove a moment after...
2014-03-16 13:22:41 +01:00
nowrep
d464d9bdef
[LineEdit] Create context menu in LineEdit
...
Instead of code duplication in LocationBar and WebSearchBar, create
the context menu from LineEdit.
Also actually create the menu, not just re-use the standardContextMenu.
2014-03-16 13:06:38 +01:00
nowrep
a701079d27
[LocationBar] Cleanup code + fixed showing rss icon
2014-03-16 12:12:49 +01:00
nowrep
6e53add7d7
[LocationBar] Set cursor position at start when showing long url
...
Also disable animations for Oxygen style, it breaks when changing
text to completely different one (eg. loading foo.com and then bar.com)
and the url is too long to fit in line
2014-03-16 11:21:24 +01:00
nowrep
caabbc237f
[LocationBar] Tweaked Linux theme. No longer hardcode height
...
It is now specified only minimum height.
Fixes issue with locationbar being too small with bigger fonts.
2014-03-16 09:38:28 +01:00
nowrep
23a599ed75
[ComboTabBar] Fixed double clicking on scroll buttons with Qt5
2014-03-15 23:46:10 +01:00
nowrep
72904a80c3
[LocationBar] Major cleanup. New code to change color of text parts
...
The code to change color of host of url is completely new.
It doesn't use any paint hacks anymore. That means text in
locationbar will now be always rendered pixel perfect, as it would
with normal QLineEdit.
Cleanup in LocationCompleter. It is now using QCompleter in inline
mode to complete domain. It is still not ideal, eg. it refreshes
and show the domain completion with delay (job run in separate thread),
and sometimes it misses it completely.
WebSearchBar: Always complete when receiving suggestions. Fix issue
when suggestions were only showed after typing at least 2 characters.
2014-03-15 23:22:35 +01:00
nowrep
9c7e9a1396
Fixed building with Qt 4
2014-03-15 20:20:39 +01:00
nowrep
c395f19524
[BrowserWindow] Create shortcuts with QShortcut instead manually in keypress
...
This fixes eg. Ctrl+W writing W in locationbar
2014-03-15 19:58:19 +01:00
nowrep
7e57cb63f5
[LocationCompleter] Run completions search in separate thread
...
Currently, there is one issue with inline domain completion. It is
also searched from the separate thread, and thus it gets displayed
after a small delay.
Closes #1135
2014-03-15 19:36:03 +01:00
nowrep
8069573f08
[Crashlogs] Fix showing bad path when saving crashlogs
...
Regression from recent DataPaths commits
2014-03-15 19:16:58 +01:00
nowrep
0a622e325c
[SqlDatabase] New implementation, hold connections for threads
...
Instead of using worker thread, use multiple threads with QtConcurrent,
and hold database connections for each thread.
2014-03-15 19:16:50 +01:00
nowrep
688e021fff
[DatabaseWriter] Replace with new SqlDatabase class
2014-03-15 01:14:06 +01:00
nowrep
167ae2af50
[SqlDatabase] New class allowing to exec Sql queries in separate thread
...
It uses its own QSqlDatabase connection, which is supported according to
docs.
2014-03-15 01:03:06 +01:00
nowrep
16ff847a8b
[Session] Use the same session with both Qt4 & Qt5
...
The issue with incompatible session were only with first alpha
releases of QtWebKit 2.3
2014-03-14 14:08:38 +01:00
nowrep
a2de6e1627
[ShowStatusBar] Fixed settings to show/hide Status Bar
...
Closes #1259
2014-03-14 13:33:33 +01:00
nowrep
fbafd56e90
[CaBundle] Update bundle + fix make_ca_bundle.sh script
...
make_ca_bundle.sh was actually appending all certs to the file.
As a result, there were duplicated certificates after multiple runs
of the script.
2014-03-14 12:27:10 +01:00
nowrep
83bb7c757c
[CodeCleanup] Don't use m_isStarting and m_isClosing in BrowserWindow
2014-03-13 17:06:08 +01:00
nowrep
bd0cc0e121
[Crash] Fixed crash after closing some tabs (eg. GMail)
...
QWebPage::networkAccessManager should be cleared in destructor, to avoid
using it after it was already deleted
This is regression from recent commits
2014-03-13 16:15:23 +01:00
nowrep
b4d2ced60f
[CodeCleanup] Cleanup Mac #ifdefs
2014-03-13 15:58:39 +01:00
nowrep
b52a84da3c
[CreatingWindow] Don't disable updates when creating browser windows
2014-03-13 13:38:14 +01:00
nowrep
ae511eaa6c
[Toolbars] Fixed toggle show Status Bar action
...
Closes #1259
2014-03-13 13:36:57 +01:00
nowrep
50e8bb071f
[NetworkCache] Fix path for network cache
2014-03-13 12:53:19 +01:00
nowrep
34bb2a2097
[WebInspector] Use TabWidget::currentChanged(int) signal and check for invalid tab
...
TabWidget::currentChanged(int index) can be emited with index == -1,
which means there are no tabs in tabbar. This may lead to crash after
accessing current webview (null)
2014-03-13 12:52:55 +01:00
nowrep
ea60478160
[Toolbars] Fixed possibility to hide both Navigation Toolbar and Menu Bar
...
If both Navigation Toolbar and Menu Bar are hidden, there is no way
to access Preferences and other actions from menu.
2014-03-13 12:31:08 +01:00
nowrep
9a6bb0444d
[TabBar] Make sure adding new background tab make it visible in tabbar
2014-03-13 12:10:58 +01:00
nowrep
9fda55d86d
[StatusBarIcons] Fixed crash when restoring session
...
All icons have now same parent SBI_Icon
2014-03-13 12:06:28 +01:00
nowrep
d2528417d1
[CodeCleanup] Removed all disconnectObjects() methods
...
I don't think we need this hack anymore.
2014-03-13 11:24:19 +01:00
nowrep
07cf7036df
[ComboTabBar] When removing tabs, don't use timer for enabling updates
...
Also fixed Show Site Info action in SiteInfoWidget
2014-03-13 11:11:52 +01:00
nowrep
d109159408
[CloseOnLastTab] Instead of blocking closing tab, load new-tab-url
2014-03-13 11:11:15 +01:00
nowrep
22452aa825
[CloseOnLastTab] Changed behavior of "Don't quit upon closing last tab" option
...
It is now "Don't close window upon closing last tab", as it is more
reasonable to bind it to window, not the whole app.
Instead of loading the url-on-new-tab, it now simply blocks closing last
tab
2014-03-12 22:31:33 +01:00
nowrep
853e3905ee
[Crash] Fixed crash after closing first app window
...
Always create BrowserWindow with MainApp::createWindow (even in MainApp
constructor).
Regression from recent commits.
2014-03-12 21:36:34 +01:00
nowrep
493edfc655
[AdBlockRule] Save some memory with dynamic allocation and removing member variables
...
m_regExpStrings are now also dynamically allocated only for RegExp rules
m_cssSelector is now merged with m_matchString (m_matchString was empty
for Css Rules)
2014-03-12 13:25:12 +01:00
nowrep
d3e8cbac97
Fixed building after recent commits
...
Closes #1257
2014-03-11 09:12:37 +01:00
nowrep
4fb58a6202
[Strings] Small changes in translation strings
...
Always use HTML in caps + don't translate file filters (.html here)
Use "Import and Export" everywhere
2014-03-10 21:37:20 +01:00
nowrep
34cb20e82a
Updated translations
2014-03-10 20:55:31 +01:00
David Rosca
c580d4167b
Merge pull request #1256 from pejakm/srtrans
...
[Translations] Update Serbian language
2014-03-10 20:43:37 +01:00
Mladen Pejaković
ecfc987b4f
[Translations] Update Serbian language
2014-03-10 19:47:27 +01:00
nowrep
5ca0073410
[Translations] Fixed loading translations
...
Regression from recent commits
+ more cleanup
2014-03-10 19:41:44 +01:00
nowrep
e827249f50
[MainMenu] Added MainMenu class that holds all menu actions of window
...
All actions are now saved in QHash with name, this will make possible
to implement own keyboard shortcuts for actions.
+ WIP cleanup of BrowserWindow class
2014-03-10 16:55:11 +01:00
nowrep
fb2629898b
[TabBar] Don't draw base. Should help with Qt5 Fusion style
...
Also small changes in MainApplication
2014-03-10 09:38:16 +01:00
S. Razi Alavizadeh
d14655a3ab
[ComboTabBar] Don't emit overflowChanged when not necessary
2014-03-10 09:36:37 +01:00
nowrep
2e9ce1ba90
[CodeCleanup] Major cleanup in MainApplication class
2014-03-10 00:47:07 +01:00
nowrep
969f262cf8
[DataPaths] Don't add trailing slash to paths
...
Qt API is not adding trailing slashes to dir paths either.
2014-03-09 22:17:13 +01:00
nowrep
214279e3bb
[DataPaths] Added new class DataPaths
...
This class holds all paths now (instead of MainApplication)
Renamed ProfileUpdater -> ProfileManager
ProfileManager is now responsible for all operations with profiles
2014-03-09 21:51:42 +01:00
nowrep
985db8a35d
[AdBlockManager] Use Q_GLOBAL_STATIC for AdBlockManager
2014-03-09 12:54:23 +01:00
nowrep
a3c3dead87
[CodeCleanup] Get rid of Qz::AppMessage enum
2014-03-09 12:54:07 +01:00
nowrep
a61ce67d7c
[SpellCheck] Cleanup: Speller class is now singleton
...
All spellcheck is now where it belongs, under spellcheck directory
2014-03-08 14:21:08 +01:00
nowrep
0e9fcc2113
[Building] Fixed building on Qt 5 & without Hunspell
...
BookmarksExportDialog: Align "Format" label to the right
2014-03-07 23:59:12 +01:00
nowrep
875d48b580
[Bookmarks] Save bookmarks after restoring defaults
2014-03-07 23:21:06 +01:00
nowrep
9764cea3a3
[ToolButton] ShowMenuInside option needs own aboutToShowMenu signal
2014-03-07 23:20:31 +01:00
nowrep
417da146e5
[QzTools] Make QzTools class and export only the class
...
Also fixed building on Windows
2014-03-07 22:54:50 +01:00
nowrep
fdf4fcc54e
[main.cpp] SIGPIPE is not needed to be handled in signal_handler
2014-03-07 18:57:42 +01:00
nowrep
f558a836b0
[Code] Create singletons with Q_GLOBAL_STATIC macro
2014-03-07 18:24:13 +01:00
nowrep
edbb87bd1f
[CodeCleanup] IconProvider now have static methods for getting icons
2014-03-07 18:03:42 +01:00
nowrep
e0780b7779
[CookiesTest] Make the test pass after last commit
2014-03-06 17:07:58 +01:00
nowrep
d0d1fa1844
[Session] Save session to QByteArray and then write it to file
...
Instead of appending data to file, write all session data at once.
This should help preventing corrupting session.dat file.
Closes #1247
2014-03-06 16:18:58 +01:00
nowrep
f33552320f
[AutoSaver] Rework AutoSaver so each object can use own instance
...
Instead of saving everything in MainApp::saveStateSlot, save each object
separately. As a result, this will save a lot of writes to disk.
Other changes includes:
Saving bookmarks also in private mode. Closes #1208
Cleanup of code
2014-03-06 16:12:36 +01:00
nowrep
c0311d7ee8
[Building] Include defines.pri after Qt modules are added
...
Fixes regression from 74883f8af4
Closes #1253
2014-03-05 19:00:53 +01:00
nowrep
74883f8af4
[Building] Use QZ_DESTDIR variable for $SRC/bin directory
...
Should fix problems with shadow builds.
Closes #1252
2014-03-04 15:14:19 +01:00
nowrep
688455158c
[Bookmarks] HtmlImporter: Fixed filter for html files
...
See #1228
2014-03-04 14:16:58 +01:00
nowrep
29f20ae520
[Building] Don't require ending slash in USE_LIBPATH and QUPZILLA_PREFIX options
2014-03-03 15:08:52 +01:00
nowrep
a7d382ee42
[Cleanup] Use QZ_WS_X11 only for X11 specific code
...
In other cases, use Q_OS_UNIX for determining UNIX platform.
UNIX platfroms without X11 should benefit from this commit, including
MAC and UNIXes on Wayland.
2014-03-03 14:47:47 +01:00
nowrep
82ca226127
[Code] Use QTime::elapsed() for timing
2014-03-03 12:55:35 +01:00
nowrep
12948cd0a4
[DNT] Enable sending DoNotTrack header by default
2014-03-02 22:42:10 +01:00
nowrep
c7a31c57e0
[CodeCleanup] Use QMouseEvent::button() in mouse release events
...
In press/move events, use QMouseEvent::buttons() instead
2014-03-01 14:12:50 +01:00
nowrep
5ad76995a2
[BookmarksSidebar] Enable only SingleSelection in sidebar
2014-03-01 14:06:44 +01:00
nowrep
b826ebc52a
[LocationCompleter] Support Ctrl / Shift activation of items
...
Ctrl activation: Opens url in new tab
Shift activation: Opens url in new window
Closes #1245
Bookmarks: Update visit count also from location completer
BookmarkItem: Added new method updateVisitCount
2014-03-01 14:05:44 +01:00
Mladen Pejaković
8f9f187b80
Fix regression after 2a6896e57f
2014-03-01 00:22:55 +01:00
Mladen Pejaković
b18ac632df
[HistoryMenu] Improvements
2014-02-28 21:12:25 +01:00
nowrep
a9bce8c775
[Code] Moved history menu into separate HistoryMenu class
2014-02-27 22:53:56 +01:00
nowrep
5e4f703ef2
[Code] Renamed qz_namespace.h to qzcommon.h
2014-02-26 20:03:20 +01:00
nowrep
3650aac9ff
[Code] Little cleanups after rename QupZilla -> BrowserWindow
2014-02-26 19:55:49 +01:00
S. Razi Alavizadeh
84ef3e9fda
Fixed, renamed QupZilla class to BrowserWindow everywhere
2014-02-25 22:06:13 +03:30
nowrep
b6181315f7
[AdBlock] Don't add domain css rules to sites whitelisted with $document option
...
Closes #1246
2014-02-25 12:12:27 +01:00
nowrep
4133106988
[PinnedTabs] Restore pinned tabs also when not restoring session
...
Closes #1239
2014-02-24 11:38:18 +01:00
Mladen Pejaković
9b7ecf1d12
[TabBar] Comment fix
2014-02-23 14:54:22 +01:00
Mladen Pejaković
5d23a21f37
[TabBar] Option to show/hide close button on inactive tabs. Closes #1220
2014-02-23 14:49:32 +01:00
nowrep
7d98a162d6
[Code] Fixed cppcheck issues
2014-02-22 15:23:46 +01:00
nowrep
5cf7d0b9a9
[Bookmarks] Add new action to open bookmarks in private window
...
Closes #995
2014-02-22 15:20:54 +01:00
Mladen Pejaković
131eef5c9d
Open links in private window.
2014-02-22 14:57:22 +01:00
nowrep
eb9b2635d5
[ButtonWithMenu] Fixed selectPreviousItem not selecting first item
2014-02-20 17:06:21 +01:00
nowrep
77e8afb5ec
[Bookmarks] Force icons visible in bookmarks menu
...
For example, Gnome3 has icons hidden in menu by default
Closes #1215
2014-02-20 16:56:08 +01:00
nowrep
afae00e4a2
[Cleanup] Rename export macro to just QUPZILLA_EXPORT
2014-02-19 22:12:32 +01:00
nowrep
404fa68a1b
[Cleanup] Renamed QupZilla class to BrowserWindow
2014-02-19 22:07:21 +01:00
nowrep
118478351f
[AutoScroll] Set window title of settings dialog
2014-02-19 21:39:34 +01:00
nowrep
c7cf42f0a4
[AutoScroll] Set minimum value of divider to 1.0
2014-02-18 17:52:20 +01:00
nowrep
47fe951001
[Translators] Added Juan Carlos Sánchez into translators
2014-02-18 17:50:55 +01:00
nowrep
a4541da935
[Plugins] Updated translations
2014-02-18 17:23:14 +01:00
nowrep
1f7628ff05
[AutoScroll] Added settings - option to change scroll divider value
2014-02-18 17:21:31 +01:00
nowrep
65a47fd450
[LocationCompleter] Speedup searching in Bookmarks & History
...
See #1135
2014-02-18 16:17:22 +01:00
nowrep
7323fb1cad
[AutoScroll] Add scrolling icons (from Oxygen cursor theme)
...
Also scroll timer interval is now 10 msecs, so scrolling will be a
little faster.
2014-02-18 15:16:03 +01:00
nowrep
e5240bcc8e
[AutoScroll] Added AutoScroll plugin
...
I'm still looking for some icon. For now, only red square is shown.
2014-02-17 20:00:40 +01:00
David Rosca
22e195b621
Merge pull request #1218 from pejakm/sdfix
...
[SpeedDial] Fix overlay text input visibility with dark themes
2014-02-17 12:15:55 +01:00
nowrep
b8f8e3753f
[Bookmarks] Added Export dialog + HTML Bookmarks Exporter
2014-02-17 12:13:26 +01:00
nowrep
daa3f07426
[FirefoxImporter] Support importing full bookmarks structure
2014-02-16 15:39:59 +01:00
Mladen Pejaković
091f4ab6a6
[SpeedDial] Fix overlay text input visibility with dark themes
2014-02-15 23:50:54 +01:00
nowrep
680ed27c22
[BookmarksImportDialog] Draw separators in imported bookmarks treeview
2014-02-15 22:18:11 +01:00
nowrep
763183be88
[OperaImporter] Support importing full bookmarks structure
2014-02-15 22:07:52 +01:00
nowrep
650558dea6
[ChromeImporter] Support importing full bookmarks structure
2014-02-15 20:53:03 +01:00
Mladen Pejaković
3eede1d8a2
Rework list of closed tabs
2014-02-15 18:49:48 +01:00
nowrep
5301495966
[BookmarksImport] Added back button to import dialog + other small changes
...
Also moved all bookmarks import classes to bookmarks/bookmarksimport
2014-02-15 01:49:12 +01:00
nowrep
09893f20b4
[BookmarksImport] Create new base BookmarksImporter class
...
Also moved all importers into bookmarks/import folder
2014-02-15 00:17:31 +01:00
nowrep
23b55d9158
[BookmarksImport] Show full structure of imported bookmarks
...
BookmarksModel can now be used with arbitrary root item independently
of main bookmarks root item.
2014-02-14 21:13:08 +01:00
nowrep
167e80f59a
[SaveSettings] Don't save settings twice on app close
2014-02-14 20:29:41 +01:00
nowrep
d422ce3767
[Models] Decrease the delay for filtering to 300ms
2014-02-14 20:28:25 +01:00
nowrep
f9d3c102ec
[Cleanup] QTimer::start() restarts timer if it is already running
2014-02-14 19:31:35 +01:00
nowrep
a99f954930
[ReloadStopButton] Instead of pausing updates, only update the button after delay
2014-02-14 19:28:41 +01:00
S. Razi Alavizadeh
35f1799e59
[ComboTabBar] Fix tabAt function for RTL languages
2014-02-14 18:48:16 +01:00
nowrep
907386b921
[Sslv3Sites] easylist-downloads.adblockplus.org shouldn't be there
2014-02-14 10:53:19 +01:00
nowrep
94c32ae235
[FreeBSD] Link to execinfo
2014-02-14 10:51:27 +01:00
nowrep
363cd01016
[AdBlockDialog] Show error if subscription can't be loaded
2014-02-14 10:38:43 +01:00
nowrep
4aa4864c06
[OS/2] Fixed build of StatusBarIcons
2014-02-13 22:16:32 +01:00
nowrep
9ae0352548
[SslV3Sites] Added possibility to change list of sites in settings.ini
...
In settings.ini: Web-Browser-Settings/SSLv3Sites
Also added sermapa.es to default list
2014-02-13 20:46:15 +01:00
nowrep
d005505dba
FreeBSD build patches
...
Imported from http://svnweb.freebsd.org/ports/head/www/qupzilla/files/
See #1206
2014-02-13 20:17:57 +01:00
nowrep
156a14dfb6
[Windows] Use %LOCALAPPDATA% only if user doesn't have config in older paths
2014-02-13 20:17:57 +01:00
nowrep
84eea976c2
[Building] Fixed building on OS/2
2014-02-13 20:17:56 +01:00
nowrep
a22b40db9d
Updated translations from Transifex
2014-02-13 17:06:15 +01:00
nowrep
5e131033e6
[Flicker] Another set of flicker patches
...
Old approach caused navigationbar to be empty for a moment while
opening a lot of tabs at once
2014-02-13 17:06:09 +01:00
nowrep
6a4a41a5d9
[TabBar] Don't show tab previews while dragging tabs
2014-02-13 17:06:09 +01:00
nowrep
3ec9e0b893
[TabListButton] Show popup menu inside window for tab-list button in tabbar
2014-02-13 17:05:50 +01:00
nowrep
851e19ce01
[Bookmarks] Fixed assert when migrating bookmarks
...
Assert when user had bookmark with folder that doesn't exists
Also save bookmarks as soon as they are migrated
Closes #1213
2014-02-13 16:35:52 +01:00
S. Razi Alavizadeh
b880a920ff
[Windows] Fixed PROFILEDIR when using Qt4.
2014-02-13 17:23:20 +03:30
nowrep
fa091d77f2
[ComboTabBar] Fixed drawing tabbar with only pinned tabs
...
Regression from e2dcf4d525affddf280ff1dfd36468a782fa3332
2014-02-13 14:48:02 +01:00
David Rosca
14923a728e
Merge pull request #1210 from javierllorente/recoverywidget
...
make 'Windows and Tabs' a translatable string
2014-02-13 03:13:10 +01:00
nowrep
884cde6abf
[LocationBar] Don't ever set cursor location to start
...
Probably fixes #1212
2014-02-13 02:41:13 +01:00
Javier Llorente
49d9889fcd
make 'Windows and Tabs' a translatable string
2014-02-12 17:46:11 +01:00
S. Razi Alavizadeh
f52d5fa234
[Themes][RTL] Use correct icons for tabbar scroll buttons.
...
- also fixed compile issue on Windows.
2014-02-12 19:41:05 +03:30
nowrep
d17584d944
[ComboTabBar] Rework tab scrolling animation
...
Using OutQuad easing curve and restarting animation on new wheel events
make the scrolling feel a lot better.
Wheel scrolling behavior:
horizontal wheel event: slower scrolling
vertical wheel event with control modifier: faster scrolling
vertical wheel event with other(+no) modifiers: fast scrolling
2014-02-12 16:28:12 +01:00
nowrep
f5955c7b92
[Window] Disable updates when showing/hiding toolbars
2014-02-12 14:23:23 +01:00
nowrep
7cefc22c0a
[Flicker] Fixed flicker when opening new tabs with sites that loads instantly
...
Eg. this happens for internal qupzilla: pages
Also early set locationbar's url to newly opened tab's url.
2014-02-12 13:50:06 +01:00
nowrep
96b5ec1c50
[NewTabFlags] Fixed incorrect usage of Qz::NewTabPositionFlags
2014-02-12 13:49:48 +01:00
nowrep
79cd4e381d
[TabTooltips] Fixed tooltips disappearing on (un)pinning tabs
2014-02-12 12:11:09 +01:00
nowrep
801284eda0
[BookmarksToolbar] Don't hardcode height of buttons
...
Also don't "hide" (=resize only to layout spacing * 2) toolbar
when there is no bookmark in it.
2014-02-12 11:42:01 +01:00
nowrep
9eb36830b2
[TabPreview] Disable tab previews by default
...
They are too intrusive, so don't force them by default
2014-02-12 11:28:18 +01:00
nowrep
9b6db07b9c
[BookmarksToolbar] Fixed window flicker when showing toolbar
2014-02-12 11:26:02 +01:00
nowrep
896ab6bac9
[Shortcuts] Ctrl+W shortcut no longer closes a pinned tab
...
Pinned tab can now only be closed from tab context menu
2014-02-12 11:16:57 +01:00
nowrep
4d211e0098
[ComboTabBar] Hopefully fixed all issues with wrong mouseover state for tabs
...
Repaint the whole tabbar on enter and leave events, so all tabs are
rendered with correct mouseover state.
2014-02-12 11:16:06 +01:00
nowrep
0da5bf7994
[ListItems] Apply workaround only for Fusion style
...
It actually breaks other styles ...
Fixes 2105b48ca4
2014-02-11 22:53:06 +01:00
nowrep
dab7c82ae8
[WebView] Another approach to window.onbeforeunload handling
...
Don't try to load empty url just to check for beforeunload event.
Explicitly evaluate the window.onbeforeunload function instead.
2014-02-11 22:25:32 +01:00