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

64 Commits

Author SHA1 Message Date
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
S. Razi Alavizadeh
393009f4d1 Show navigation bar when calling openLocation() in full screen mode.
- Closes #1464
2014-12-25 00:10:30 +03:30
Eion Robb
f5606e9326 Fix for compiling Windows version with mingw 2014-11-24 09:28:12 +13:00
David Rosca
24ff9285f5 Use desktop availableGeometry for default window size calculation 2014-11-10 12:15:23 +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
478b5ddb84 Use open() instead of exec() in all dialogs
Avoid blocking exec().

Closes #1515
2014-11-07 18:08:12 +01: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
6390eb215b Mac: Fix crash on startup due to invalid m_mainMenu pointer
Closes #1485
2014-10-07 11:10:31 +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
eec67d1941 Fix building with Qt 4.7 2014-09-26 19:28:24 +02:00
David Rosca
35b2fb22b4 Remove unnecessary qDebugs 2014-09-26 09:53:45 +02:00
David Rosca
01b4fd971f MainMenu: Fix shortcuts for toggling sidebars 2014-09-25 17:36:51 +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
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
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
9ed63f6323 [CloseDialog] Change text - there will always be more than 1 tab opened 2014-07-08 19:27:17 +02:00
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ć
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
39430458b3 [WebInspector] Add F12 shortcuto to show Web Inspector 2014-05-11 14:25:57 +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 Sterba
f7552e42aa [BrowserWindow] Add slash as a single key shortcut for search 2014-04-10 11:09:29 +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
S. Razi Alavizadeh
39c9fec3dd [Windows] Fixed compile issues after aa248893 and 7f3d8ee7 2014-04-06 17:38:36 +04:30
nowrep
aa248893c1 [TabWidget] Renamed getTabBar() to just tabBar() 2014-04-04 17:14:31 +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
551ccd6e3c [BrowserWindow] Make sure window is created with at least one tab 2014-04-01 16:34:08 +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
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
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
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
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
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
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
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
a2de6e1627 [ShowStatusBar] Fixed settings to show/hide Status Bar
Closes #1259
2014-03-14 13:33:33 +01:00
nowrep
83bb7c757c [CodeCleanup] Don't use m_isStarting and m_isClosing in BrowserWindow 2014-03-13 17:06:08 +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
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