David Rosca
a37fadd8dc
Don't use C++11 for with Qt containers
2016-02-27 22:13:33 +01:00
David Rosca
f46364bc55
Fix typo changeOcurred -> changeOccurred
2016-02-26 10:43:34 +01:00
David Rosca
2f80ca55ef
IconProvider: Prefer theme icon for bookmarks
2016-01-27 12:44:19 +01:00
David Rosca
0b0041af41
WebSearchBar: Show the search engine menu relative to lineedit
2016-01-25 14:43:12 +01:00
David Rosca
0aa64de13a
IconProvider: Use theme icon for settings icon
2016-01-25 13:51:08 +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
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
David Rosca
3e0583377d
Fix handling Enter key in keypad in shortcuts
...
Closes #1792
2016-01-02 19:58:54 +01:00
David Rosca
cbc83e81ba
Remove dependency on deprecated QtScript
2015-12-18 11:25:45 +01:00
innermous
5801ff0725
WebTab: Save/Restore zoom level on restart
2015-12-17 22:21:31 +01:00
David Rosca
9f6ec040bb
QzTools: Add actionShortcut function
2015-11-12 17:00:43 +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
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
35fd959315
HighDpi: Save site icons to database with 32x32px size
2015-10-24 12:50:42 +02:00
David Rosca
88dba5e5ab
Don't save icons for file and ftp schemes
2015-10-23 12:57:04 +02:00
David Rosca
97ce417798
Fix use of QList::first()
2015-10-23 12:26:27 +02:00
David Rosca
cefe1bce54
Remove remaining Qt 4 code
2015-10-15 17:57:03 +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
b891d92736
Fix QzTools::ensureUniqueName again
...
This time it should be correct fix + added tests
2015-10-09 12:26:13 +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
9fd7c271e4
ToolButton: Fix showing both context menu and button menu on right click
2015-10-05 22:41:20 +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
97ba8c6af3
Bring back PIM plugin
2015-10-02 14:13:21 +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
b24303c00b
WebView: Bring back media context menu
2015-09-30 15:26:52 +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
b0da5ba755
Bring back NetworkManager class
2015-09-29 11:45:39 +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
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
ced9c8553c
SearchEngines: Bring back support to add engine from page
2015-09-25 17:41:46 +02:00
David Rosca
f4fb888529
QzTools: Add pixmapToDataUrl()
2015-09-25 16:04:12 +02:00
David Rosca
fc85caff57
Add QWebPage::view() that returns WebView *
2015-09-24 23:00:27 +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
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
758fd6c687
Fix all build warnings
2015-08-30 17:42:58 +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
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
20c7b3f57b
PageThumbnailer: Delay creating thumbnail by 1 sec after loaded
2015-08-30 10:33:10 +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
431610215d
AdBlock: Bring back domain specific element hiding rules
2015-05-27 19:17:29 +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
8d7cfb0e2a
Remove some Qt 4 specific code
2015-02-26 12:17:47 +01:00
David Rosca
b94135ead5
WebView: Implement icon loading
2015-02-08 11:13:12 +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
478b5ddb84
Use open() instead of exec() in all dialogs
...
Avoid blocking exec().
Closes #1515
2014-11-07 18:08:12 +01: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
eec67d1941
Fix building with Qt 4.7
2014-09-26 19:28:24 +02:00
Mladen Pejaković
5b6db60605
Clear Recent History dialog improvements
...
Closes #1326
2014-07-08 19:01:07 +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
a32e809bf6
Escape SQLite wildcards when using LIKE clause
2014-06-13 23:52:44 +04:30
David Rosca
59b893075a
[LocationCompleter] Fix showing icons after last commit
2014-05-30 22:06:58 +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
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
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
20764b3c1e
[Build] Fixes building with Qt5
2014-04-19 15:30:14 +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
646f9a2013
[Build] Fix building with Qt 4.7
2014-04-09 22:52:30 +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
7469aced65
[Cleanup] Deleted unused ActionCopy class
...
Also added myself to ComboTabBar copyright
2014-04-02 20:42:29 +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
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
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
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
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
2e8c9f690e
[SiteIcon] Support :pressed state for style sheets
2014-03-23 23:53:51 +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
20cd658274
[ProfileManager] Fix currentProfile() cutting last char of profile name
2014-03-16 15:31:19 +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
23a599ed75
[ComboTabBar] Fixed double clicking on scroll buttons with Qt5
2014-03-15 23:46:10 +01:00
nowrep
9c7e9a1396
Fixed building with Qt 4
2014-03-15 20:20:39 +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
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
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
9a6bb0444d
[TabBar] Make sure adding new background tab make it visible in tabbar
2014-03-13 12:10:58 +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
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
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
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
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