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

1189 Commits

Author SHA1 Message Date
nowrep
22f523da4a [SearchEngines] Correctly set DuckDuckGo as default engine 2014-02-11 14:17:21 +01:00
nowrep
47496501eb [ComboTabBar] Correctly set height of pinned tabbar
Both tabbars will now have the same height.
This commit fixes incorrect drawing of line under pinned tabs when
moving tabs with Oxygen theme.

Also removed unused maxVisiblePinnedTabs property
2014-02-11 10:55:05 +01:00
nowrep
3d2f2ff8fb [BookmarksToolbar] Clear button's mouseouver state after closing menu 2014-02-11 10:24:44 +01:00
nowrep
ed13086e1d [ComboTabBar] Fixed draw issues with Oxygen theme
Always draw a selected tab in paint event. If the tab is not active,
let's just move the selected tab outside the tabbar's rect
2014-02-11 10:24:00 +01:00
nowrep
c1293fca3f [Windows] Use %APPDATA% for PROFILEDIR
Also show warning message when using deprecated config path ~/.qupzilla
2014-02-11 09:40:47 +01:00
nowrep
35fb5cecad [Json] Removed dependency on QJson
QtScript is now used instead of QJson. QtScript is available on both
Qt 4 & Qt 5 and also as side benefit, is TWICE as fast as QJson!
2014-02-10 23:33:12 +01:00
nowrep
4e8c0adbad [LocationBar] Don't incorrectly show about to be loaded url when it was not accepted
It can happen for example when trying to change address on a page that
handles window.onbeforeunload event
2014-02-10 21:58:25 +01:00
nowrep
28091f4957 [Menus] Menus are not closed when opening links with middle mouse button
It is the same behaviour as in Konqueror
Closes #1165
2014-02-10 21:36:24 +01:00
nowrep
0b8b969535 [Bookmarks] Fixed migrating bookmarks
Folders in unsorted bookmarks were lost during migration
2014-02-10 21:12:08 +01:00
nowrep
018d7ec098 [MinGW] Some fixes for MinGW building 2014-02-10 20:49:54 +01:00
nowrep
d91e6ef5a7 [ComboTabBar] Fix flickering when (un)pinning tabs 2014-02-10 20:06:09 +01:00
nowrep
ea7237b90e [Downloads] Make sure to always add slash '/' between path and filename 2014-02-10 19:57:02 +01:00
nowrep
f7806bed7d [ComboTabBar] Fixed incorrectly changing current index when closing tabs in inactive tabbar. 2014-02-10 19:49:09 +01:00
nowrep
818afc1398 [ClosedTabs] Fixed saving closed tabs after 1fd1691ee2 2014-02-10 19:27:58 +01:00
nowrep
51498fdb6e [ClosedTabsManager] Use QLinkedList for storing closed tabs
The operations prepend() and takeFirst() are O(1) in linked list
2014-02-10 19:26:38 +01:00
nowrep
b88bbe4fc8 [WebView] Better window.onbeforeunload handling
Let's first quickly check whether window.onbeforeunload is not null,
and then try to load empty page.
Always loading empty page was quite heavy, because it needed to clear
all web contents, it also fired loading signals, ...
2014-02-10 18:38:47 +01:00
nowrep
d328ad2023 [Bookmarks] New JSON backend supports multi-level folders and more...
Merge branch 'bookmarks'

Closes #458
2014-02-10 18:13:38 +01:00
nowrep
a19164c1f9 [Bookmarks] Final cleanup 2014-02-10 17:55:05 +01:00
nowrep
283960f33e [Bookmarks] Added default bookmarks.json file
Default browsedata.db now also contains icons for default bookmarks.
2014-02-10 17:51:52 +01:00
nowrep
c39c8d66fb [BookmarksToolbar] Dropping url on folder adds bookmark to this folder
Also allow to drop only url (when text in MimeData is missing)
2014-02-10 17:13:19 +01:00
nowrep
75f3460a27 [Bookmarks] Automatically migrate bookmarks from SQLite to JSON 2014-02-10 16:58:43 +01:00
nowrep
ad615316c8 [Bookmarks] Cache bookmark's icon for 20 seconds
BookmarksToolbarButton: Draw button according to BookmarkItem, not
text and icon properties
2014-02-10 16:03:29 +01:00
nowrep
338a6f991e [BookmarksSidebar] Activate bookmarks on mouseRelease
So it doesn't interfere with bookmarks reordering
2014-02-10 15:09:51 +01:00
nowrep
1d822d3a03 [Bookmarks] Importing bookmarks now works
It will however need a complete rewrite, the code is really bad.
HtmlImport: Supports importing bookmarks with full structure
2014-02-10 14:57:48 +01:00
nowrep
284e58ebca [Bookmarks] Cleanup in Bookmarks class 2014-02-10 12:58:34 +01:00
nowrep
6ab92b39bc [Bookmarks] Bookmarks Toolbar is now working 2014-02-10 11:54:58 +01:00
S. Razi Alavizadeh
1c8b25fbb7 [Mac] Fixed toggleFullScreen 2014-02-10 04:31:42 +03:30
nowrep
946354a15d [Bookmarks] Load default bookmarks on error 2014-02-09 18:55:11 +01:00
nowrep
b915439ba6 [Bookmarks] Activate bookmarks with single click in Sidebar 2014-02-09 18:53:21 +01:00
nowrep
9a5a795449 [LocationCompleterModel] Simplify createQuery function
It is no longer needed to search for bookmarks in database
2014-02-09 17:35:43 +01:00
nowrep
b3c4d5d8da [Bookmarks] Draw separators in BookmarksTreeView 2014-02-09 17:27:55 +01:00
nowrep
549e20a31d [Bookmarks] Implement searching in BookmarksTreeView 2014-02-09 15:44:38 +01:00
nowrep
395b865d55 [Bookmarks] Various smaller changes
BookmarksTreeView: Select & ensure visibility of newly added bookmark
BookmarksTools: Added function to open folder in tabs
LocationCompleterModel: Removed bookmarks bits in createQuery
QupZilla: loadAddress now opens new tab if current tab is pinned
2014-02-09 15:09:04 +01:00
nowrep
d21d6c43a0 [ComboTabBar] Fixed flickering when removing tabs from tabbar 2014-02-09 14:26:03 +01:00
nowrep
83b8b0b666 [Bookmarks] LocationCompleter now works
BookmarkItem: Added counting of bookmark's visits
2014-02-09 13:34:52 +01:00
nowrep
877eefec22 [Bookmarks] Clean dead code in Bookmarks & TreeWidget 2014-02-09 12:43:06 +01:00
nowrep
2ea155560a [Bookmarks] Removed BookmarksTree and renamed BookmarkIcon -> BookmarksIcon 2014-02-09 12:22:49 +01:00
nowrep
1f4272e45e [Bookmarks] BookmarksIcon & PopupWidget are now working 2014-02-09 12:18:52 +01:00
nowrep
511a6e1cd7 [Bookmarks] BookmarksSidebar is now working 2014-02-09 11:02:51 +01:00
nowrep
973014ae89 [EnhancedMenu] Rename signals to ctrlTriggerd and shiftTriggered 2014-02-09 01:14:00 +01:00
nowrep
bb6ead3ad4 [Bookmarks] Bookmarks menu is now working 2014-02-09 01:09:08 +01:00
nowrep
a805f19f13 [Bookmarks] Add bookmarks dialogs are now working 2014-02-08 23:01:01 +01:00
nowrep
1536cd0c46 [Bookmarks] Save bookmarks with AutoSaver
Also implement loading & saving expanded property of top-level
internal folders (toolbar, menu, unsorted).
2014-02-08 21:11:13 +01:00
Javier Llorente
d00fdd007b Use up/down arrows instead of back/forward on search toolbar 2014-02-08 20:33:15 +01:00
nowrep
9348f1d4fc [Bookmarks] BookmarksManager now supports adding & removing bookmarks 2014-02-08 20:01:07 +01:00
nowrep
92aedc3e0f [Bookmarks] BookmarkItem: Added convenience functions isType 2014-02-08 18:28:01 +01:00
nowrep
8c3623e633 [Bookmarks] BookmarksManager now uses new BookmarksTreeView 2014-02-08 18:14:38 +01:00
nowrep
181de48f68 [Bookmarks] Added BookmarksTreeView class 2014-02-08 18:14:20 +01:00
nowrep
eef8741b4b [QJson] Hack to check for Indent support
There is no library version available in header files, so this is
the only solution to fix building on Debian stable
2014-02-08 00:19:22 +01:00
Javier Llorente
c84f3d2366 [Theme] Use theme icon for Exit Fullscreen button in toolbar 2014-02-07 23:14:32 +01:00
nowrep
9271b70802 [Bookmarks] Added BookmarksModel 2014-02-07 22:48:30 +01:00
nowrep
c9a556658a [Json] Use built-in QJSonDocument class in Qt 5 2014-02-06 22:24:10 +01:00
nowrep
03186060aa [Bookmarks] New bookmarks backend using JSON format
New format is compatible with Chromium's Bookmarks file.
It will support everything as the current backend +
 * multi-level bookmarks
 * bookmark description
 * bookmark keyword
 * remember expanded state (for folders)

NOTE: It is NOT yet complete. There is a LOT of work still needed.
Only bookmarks loading + saving and internal tree representation is
done.
2014-02-06 17:13:05 +01:00
nowrep
371306cd3c [Code] Various cleanups in Bookmarks code 2014-02-05 17:52:14 +01:00
nowrep
fe9ecbbbaa [Code] Renamed BookmarksModel class to Bookmarks
It actually is not model. BookmarksModel name will be needed for future
Bookmarks DataModel class.
2014-02-05 15:26:51 +01:00
nowrep
8f5c422759 [AdBlock] Fixed incorrect handling of non-trivial exception rules
News are loading fine now on http://abcnews.go.com/
2014-02-05 14:28:44 +01:00
nowrep
98307a01dc [Mac] Disable building of QtWebKit-Plugins
It doesn't work as of now and we also don't have linking to hunspell
working either. So let's just disable it for now.
2014-02-04 23:21:19 +01:00
nowrep
f824a81da3 [ProfileUpdater] Don't overwrite settings.ini on incompatible profile data 2014-02-04 23:03:21 +01:00
nowrep
2261ed4b79 Fixed previous commit
Ooops, it should actually check the return value, not just ignore it...
2014-02-04 14:52:39 +01:00
nowrep
9fd168934e [coverity] Fixed Unchecked return value from library 2014-02-04 14:48:34 +01:00
nowrep
b2b6d198f7 [SearchEngines] Fixed issue with default engine when more engines have same name 2014-02-04 00:43:25 +01:00
nowrep
ffa1e0561f [OpenSearch] Added support for external.AddSearchProvider js function 2014-02-04 00:02:09 +01:00
nowrep
cb99a3154e [SpeedDial] Fix issues with loading a missing preview on load
Missing previews are now loaded after the page has been loaded (from
JavaScript code), instead of loading being started on generating
initial script (from C++ code)
2014-02-03 23:50:53 +01:00
nowrep
1a5fc6a1a1 [ExternalJsObject] Add window.external Js object to all pages
SpeedDial is now available with external.speeddial
2014-02-03 23:50:18 +01:00
nowrep
aa6aea1399 [coverity] Followup fixes
webview.cpp: Fixed pointer to local outside scope
bookmarksmodel.cpp: Unchecked return value
2014-02-03 00:29:51 +01:00
nowrep
5b55d5b483 Add build option to disable new version checking
Closes #1184
2014-02-02 16:21:48 +01:00
nowrep
cfddd6d4e1 [NetworkManager] Also add centrum.cz to SslV3 sites list 2014-02-01 22:45:48 +01:00
nowrep
ad1296e170 [NetworkManager] SSL workaround: use correct domain matching 2014-02-01 21:07:42 +01:00
nowrep
ee91727cb2 [NetworkManager] Use list of old servers that doesn't understand TLSv1 handshake
Force SslV3 for those old servers.

Closes #1176
Closes #1141
Closes #1080
2014-02-01 20:58:20 +01:00
nowrep
260447e414 [coverity] Fixes for issues found by scan.coverity.com 2014-02-01 19:21:49 +01:00
nowrep
08929228bd [CodingStyle] TabStackedWidget::isValid should be private
And also choose better name - validIndex
2014-01-29 21:15:04 +01:00
nowrep
0d2db81ffa OS/2 + Windows: Don't build KDE/Gnome password plugins.
OS/2: Correctly link to libcrypto
BUILDING: Make a note about gdb being requirement for debug build
2014-01-27 22:30:55 +01:00
nowrep
a0117e6313 Updated copyright to 2014 2014-01-26 19:13:17 +01:00
nowrep
585da812dd Development version 1.7.0 2014-01-26 19:12:34 +01:00
nowrep
3b097c8da1 [WebView] Bookmark Link action now uses a.title as bookmark title
Closes #1131
2014-01-26 11:21:53 +01:00
nowrep
142407be21 [WindowsJumpList] Add new entry "Open new private window"
Closes #1155
2014-01-25 22:06:19 +01:00
nowrep
b6683ab6b9 [DownloadManager] Change "Remove" -> "Remove From List"
Closes #1162
2014-01-25 21:57:05 +01:00
nowrep
b4377767c0 [AdBlockTreeWidget] Greatly speedup loading rules from subscriptions
Don't use per-pixel scrolling. For some reason, it massively slows
rendering of TreeWidget

See #1169
2014-01-25 21:13:14 +01:00
nowrep
4a7423b02f [AdBlockDialog] Change AdBlockDialog to QWidget
Closes #1169
2014-01-25 20:06:08 +01:00
nowrep
d5ea5342cf [SBI_JsIcon] Fix after 36724df3a6
Closes #1174
2014-01-25 17:48:30 +01:00
nowrep
5230554943 [code] Coding style 2014-01-25 17:47:21 +01:00
nowrep
29b6b93dd4 [Portable] Portable mode can now be enabled with commandline option
It is not needed to rebuild for Portable mode.
However, it is still possible to enforce portable mode with
PORTABLE_BUILD build option.
2014-01-23 13:02:07 +01:00
nowrep
a1f9b784d7 [CommandLineOptions] New option to toggle fullscreen. 2014-01-22 17:34:25 +01:00
nowrep
a1a0764101 [CommandLineOptions] Change Qt url to qt-project.com 2014-01-22 17:11:17 +01:00
nowrep
555453a7e2 [ComboTabBar] Fixed isOverflowed() for empty tabbar.
It returned true for empty tabbar. Switching tabs with
mouse wheel now works correctly in all scenarios.
2014-01-22 16:57:04 +01:00
nowrep
5c235f6775 [Buttons] Use QPushButton for buttons with menu everywhere 2014-01-22 15:39:32 +01:00
nowrep
8eea60fe6a [AdBlockDialog] Options button is now QPushButton
Qt renders better down icon indicating the button has menu
2014-01-22 15:31:42 +01:00
nowrep
31afc8aee6 [KWalletPasswords] Build only with Qt4.
Also show better error message when loading plugin fails
2014-01-21 23:53:45 +01:00
nowrep
b347d00479 [CloseDialog] Fixed string in window close dialog.
Are you sure to quit QupZilla -> Are you sure to close this window
2014-01-21 23:09:53 +01:00
nowrep
ebb81409ff [Preferences] Network cache value can now be 20-200 MB
Increase the maximum cache size. See #1139
2014-01-21 23:06:30 +01:00
nowrep
36724df3a6 [QupZillaPages] Always enable JavaScript for qupzilla: pages
Closes #1150
2014-01-20 12:46:39 +01:00
nowrep
354b9d1695 [Preferences] Lazy reload of MainApp preferences
Re-setting user stylesheet with a lot of AdBlock hiding rules
takes quite some time for QtWebKitSettings.
2014-01-18 11:41:08 +01:00
nowrep
c026594175 [WebView] Enable Undo/Redo actions in context menu by default 2014-01-17 21:45:33 +01:00
David Rosca
b3031671bc Merge pull request #1129 from pejakm/undoredo
[WebView] Option to add Undo/Redo menu actions to forms
2014-01-17 12:43:30 -08:00
nowrep
bcaecbdde1 [Translations] Correctly load translation for non-translated countries
Closes #1152
2014-01-17 21:39:02 +01:00
Mladen Pejaković
a15dc3e3d6 [BookmarksWidget] Fix translation string 2014-01-16 15:39:14 +01:00
Mladen Pejaković
aa83f23848 [RSSWidget] Ability to mark feeds already added 2014-01-12 17:47:59 +01:00
nowrep
7cb39aed0b [TabBar] Added option to always switch tabs using mouse wheel
It will switch tabs even when tabs are overflowing.
2014-01-12 16:39:23 +01:00
nowrep
bfe9331579 Added missing copyright to squeezelabel and sbi_proxywidget 2014-01-11 16:56:33 +01:00
Jonathan Hooverman
d917f43cf0 Updated copyright year to 2014 2014-01-11 16:11:42 +01:00