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

163 Commits

Author SHA1 Message Date
David Rosca
ef01247a80 OperaImporter: Set bookmark file filter to *.adr 2014-09-18 16:03:06 +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
ac52b742b2 Convert all source files in src/* to Unix file ending 2014-06-15 23:35:39 +02:00
S. Razi Alavizadeh
b48cc71dd5 [Bookmarks] Limit width of bookmarks menu to 250px 2014-06-13 23:55:55 +04:30
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
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
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
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
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
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
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
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
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
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
edbb87bd1f [CodeCleanup] IconProvider now have static methods for getting icons 2014-03-07 18:03:42 +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
688455158c [Bookmarks] HtmlImporter: Fixed filter for html files
See #1228
2014-03-04 14:16:58 +01:00
nowrep
82ca226127 [Code] Use QTime::elapsed() for timing 2014-03-03 12:55:35 +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
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
5cf7d0b9a9 [Bookmarks] Add new action to open bookmarks in private window
Closes #995
2014-02-22 15:20:54 +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
65a47fd450 [LocationCompleter] Speedup searching in Bookmarks & History
See #1135
2014-02-18 16:17:22 +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
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
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
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
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
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
d4d31d2daa [Bookmarks] Improved drawing of separator
Instead of QFrame::Line, use actual ToolbarSeparator.
Also add separator into toolbar for default bookmarks.json
2014-02-11 15:33:02 +01:00
nowrep
6d7761ebe9 [BookmarksTreeView] Show focus on whole row, not each column separately 2014-02-11 14:34:02 +01:00
nowrep
3d2f2ff8fb [BookmarksToolbar] Clear button's mouseouver state after closing menu 2014-02-11 10:24:44 +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