1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-21 11:16:35 +01:00
Commit Graph

188 Commits

Author SHA1 Message Date
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
9271b70802 [Bookmarks] Added BookmarksModel 2014-02-07 22:48:30 +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
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
260447e414 [coverity] Fixes for issues found by scan.coverity.com 2014-02-01 19:21:49 +01:00
nowrep
5c235f6775 [Buttons] Use QPushButton for buttons with menu everywhere 2014-01-22 15:39:32 +01:00
Mladen Pejaković
a15dc3e3d6 [BookmarksWidget] Fix translation string 2014-01-16 15:39:14 +01:00
Jonathan Hooverman
d917f43cf0 Updated copyright year to 2014 2014-01-11 16:11:42 +01:00
nowrep
4e8b1839b4 [BookmarkIcon] Don't show popup on qupzilla: internal pages 2014-01-05 11:01:57 +01:00
Mladen Pejaković
3a3e7341a2 Thematic changes 2014-01-05 00:44:36 +01:00
nowrep
da15e5868d [CodingStyle] Don't use references when assigning to local variable
Let the compiler do the optimization
2013-12-30 13:43:48 +01:00
nowrep
b1da23ca72 [Bookmarks] Added option to export bookmarks to HTML file. 2013-12-30 00:35:01 +01:00
nowrep
d52b0e2cea [OptimizeDb] Move Optimize Database link to ClearPrivateData dialog. 2013-12-28 16:55:08 +01:00
nowrep
586982e473 [Bookmarks] Fixed drag&drop moving folders into bookmarks toolbar
Closes #1097
2013-12-05 21:15:20 +01:00
Jonathan Hooverman
4848def230 Modified copyright year 2013-07-11 16:21:57 +02:00
S. Razi Alavizadeh
9de433dffd [BookmarksToolbar] Fixed move Left/Right in RTL layout.
-closes #924
2013-06-07 03:00:26 +04:30
nowrep
197240845d [Oxygen] Tweaked last icon to be used from theme. 2013-06-02 22:47:02 +02:00
nowrep
75b6d976fb [SpeedDial] Use page title from bookmarks when adding pages. 2013-05-05 12:26:47 +02:00
S. Razi Alavizadeh
ffdbb49444 Fixed executing order of queries by dbWriter()
-also added index tables bookmarksTitle and bookmarksUrl to
   default database.
-and removed a double check from saveBookmark()
2013-04-17 01:40:05 +04:30
nowrep
5f5cf7417d [Code] Updated coding style with patched Astyle + normalized signals.
Code was formatted with patched astyle that correctly formats
foreach macro.
Normalize tool is now used to normalize all signal/slots signatures
to normalized format. It saves few reallocations on connections.
2013-03-06 09:08:29 +01:00
nowrep
d885444501 [Code] Use QVector instead of QList for elements bigger than pointer. 2013-02-26 12:56:11 +01:00
nowrep
49b1e4c43c [code cleanup] Moved logic of locationbar's icon into separate classes. 2013-02-10 12:28:53 +01:00
nowrep
67d6d380cd [AutoFill] Added password icon into locationbar to choose username.
Closes #735
2013-02-08 18:44:26 +01:00
nowrep
0a9f2ec4d6 Coding style. 2013-02-08 12:10:12 +01:00
nowrep
67a08d237d [code] Using QVariant::fromValue instead of obsolted qVariantFromValue. 2013-02-05 22:33:54 +01:00
S. Razi Alavizadeh
396bac50b6 Update HTTP password when needed and remove redundant casting 2013-02-04 14:41:27 +03:30
nowrep
e28f9d438e [Code] qz_ prefixed functions moved to QzTools namespace. 2013-01-22 19:04:22 +01:00
nowrep
14ca6e2f0d Added new macros for checking QTWEBKIT version.
QTWEBKIT_FROM_2_2 - >= 2.2.0
QTWEBKIT_TO_2_2   - < 2.2.0
QTWEBKIT_FROM_2_3 - >= 2.3.0
QTWEBKIT_TO_2_3   - < 2.2.0

It also check whether Qt5 is used and if so, it will
compile all features just like the QtWebKit version
was 2.3.0
2013-01-20 12:10:28 +01:00
nowrep
7e6802ba35 [Qt5] Ported all plugins to Qt5 plugin system 2013-01-16 14:53:17 +01:00
nowrep
51f1c73d20 Coding style 2013-01-16 14:52:50 +01:00
S. Razi Alavizadeh
05b5ebd1ef Bookmarks: when deleting lastFolder set it to default. 2013-01-10 20:35:02 +03:30
S. Razi Alavizadeh
da13a65c35 Move connectons from .ui to .cpp 2013-01-10 20:18:35 +03:30
S. Razi Alavizadeh
01cc581add Added 'Expand All' and 'Collapse All' buttons to bookmarks manager. 2013-01-10 10:55:46 +03:30
S. Razi Alavizadeh
cc870ec451 Bookmarks: Don't allow creating folder with translated name of "bookmarksToolbar", "bookmarksMenu" or "unsorted"! 2013-01-10 01:21:34 +03:30
S. Razi Alavizadeh
8f2b9a00e0 Bookmarks: Added BookmarksTree class that manages all bookmark's view types.
-BookmarksSidebar, BookmarksWidget,BookmarksManager and ... use BookmarksTree
-Added 'New Folder...'
-Fixed some issues
2013-01-10 01:21:32 +03:30
nowrep
89e091f09c Qt5: Main code has been edited to support both Qt4 and Qt5
It doesn't include plugins yet.
Even thought the app can be built with Qt5 now, it won't run.
I am still working on a fix.
2012-12-20 14:45:35 +01:00
nowrep
fa1ee13611 Open bookmark (in new tab) from menu in bookmarks toolbar
closes #601
2012-10-05 22:15:18 +02:00
nowrep
0459f0864c SearchEnginesDialog: Default search engine is now painted with bold font
+ coding style
2012-09-28 18:44:45 +02:00
Franz Fellner
f3221c70d6 Introduce LocationBarPopup as base for - popups in the location bar.
The switch is needed due to palette problems on some color schemes (e.g. inverted look for popupmenus or tooltips), which could lead to unreadable text.
2012-09-15 17:39:54 +02:00
nowrep
eb82df9aef Coding style: Moved showing BookmarksWidget into LocationBar 2012-09-14 22:09:58 +02:00
nowrep
5cf6b1c565 Fixed color of text in labels in SiteInfo/Bookmarks/RSS urlbar popup.
- using tooltip text color with gtk+ and besping styles
2012-09-12 11:59:23 +02:00
nowrep
0704236d3e Added Name/Folder labels back to BookmarksWidget. 2012-09-11 10:55:37 +02:00
Franz Fellner
4a33a9c538 Remove Name/Folder-Labels, change SpeeddialButton into a ClickableLabel. 2012-09-11 10:47:59 +02:00
Franz Fellner
d70894866b run coding_style.sh 2012-09-10 15:11:24 +02:00
Franz Fellner
5ca9b8b21a Take the edited title into account when saving the bookmark. 2012-09-10 15:05:27 +02:00
Franz Fellner
29cc7cf47d Rework the quick bookmark widget.
* QupZilla is not firefox or chrome: QZ has speeddial by default, the latter ones only by extensions.
    So adding an url to the unsorted bookmarks by default when clicking the star is a no-go, as the user probably only wants to add a speed dial.
    The star is the only possibility to add speed dials.

    * Having a save and a remove-button possibly confuses the user (at least confused me ;))
    Only take one button and change the text according to the state.

    * Disable the name-edit and folder-combo in the case the url is already bookmarked.
    Chosing another folder and press save will move the bookmark to another folder.
    Moving bookmarks IMHO is the job of the "organize bookmarks" tool (renaming them, too)

    ***
    In a future (post-1.3.5) I would like to see the bookmark-button an the folder-choser merged like it is done in Opera.
    (Opera HAS speed dial by default)
    But I am open for suggestions :)
2012-09-10 09:34:05 +02:00
nowrep
7189ff58b4 LocationCompleter: Improved sorting bookmarks by visit count.
- it sorts by visit counts of bookmark's url from history
- count column in bookmarks is not needed after all :-)

Patch by Franz Fellner <alpine.art.de@gmail.com>
2012-09-08 22:52:32 +02:00
nowrep
17bb99a8d8 Edited BookmarksWidget UI (widget showed after clicking on star button)
- in address bar
2012-09-06 20:34:18 +02:00
nowrep
5a3f4e5f4d Fixed crash when dragging bookmark from manager to sidebar 2012-09-06 11:28:43 +02:00
S. Razi Alavizadeh
d9ae633d1a Added Drag-n-Drop functionality to bookmarkmanager and bookmarksidebar. 2012-09-06 02:22:40 +04:30
nowrep
62ac0e2fde More QLatin1String and QLatin1Char work 2012-09-05 19:58:07 +02:00
nowrep
528f398cbe Using QLatin1String and QLatin1Char now everywhere
- it saves few unnecessary allocations
2012-09-04 12:42:45 +02:00
nowrep
ec70c7d43d LocationCompleter: Bookmarks results are now ordered by count 2012-09-02 15:19:12 +02:00
nowrep
b2181f0bab Coding style: Use empty QString() constructor instead of "" everywhere 2012-09-02 11:42:41 +02:00
nowrep
9f376ac14c Enabling sorting for Table/Tree Widgets everywhere. 2012-09-01 13:56:00 +02:00
nowrep
cf2c28cfdb Updated coding style 2012-08-31 15:19:07 +02:00
nowrep
5ca2e2d75f Using prepare SQL statements everywhere it is needed. 2012-08-23 15:37:43 +02:00
nowrep
3cb147743e Fixed compilation warning 2012-08-23 11:06:10 +02:00
S. Razi Alavizadeh
7e7f914f74 The 'bookmarkswidget' was improved. 2012-08-22 17:18:27 +04:30
nowrep
e709e17d5c Small cleanup in code (classes holding settings as static variables)
- merged LocationBarSettings and WebSettings into one class
- new class QzSettings no longer uses static variables
2012-08-10 21:16:43 +02:00
nowrep
c471c0e882 Version 1.3.0 2012-07-11 18:31:23 +02:00
nowrep
dfb82fb3cc Using user preferred new tab position now everywhere it makes sense.
see #382
2012-06-27 18:05:09 +02:00
nowrep
38ef828b82 Private browsing now opens new browser window (in own process)
- closes #415
2012-06-26 11:49:39 +02:00
nowrep
26e814933c Fixed issue with creating internal bookmark folders.
closes #408
2012-06-06 10:16:11 +02:00
nowrep
cf5d399f00 Added possibility to change icon of bookmarks
- created new IconChooser class with option to choose
  icon from file or icon from database

Closes #401
2012-05-22 11:46:22 +02:00
nowrep
5c9383a54a Fix: Flickering when showing site info/bookmarks/rss widget in
addressbar
2012-05-06 20:29:14 +02:00
nowrep
5b75c0e5a0 History completely rewritten into Model/View architecture.
- much faster history loading (loading history entries only when
  needed - eg. expanding top level items)
- less memory usage (sidebar and manager are using the same model)
- searching is now performed on title and url
- clear private data -> clear history is now working properly
2012-04-30 16:33:14 +02:00
nowrep
2055621f2a Show star icon in completer when item is from bookmarks.
- IconProvider has no longer static members
- new macro qIconProvider for accessing IconProvider instance
2012-04-22 20:51:28 +02:00
nowrep
2c4b6e3d42 Tweaked Click2Flash replacing script.
- it now creates temporary empty element that has the same size and
  occupies the same position as original flash object
2012-04-17 15:11:26 +02:00
nowrep
73dce1d2d2 Always using position from QContextMenuEvent when showing menus.
- so it will show menu on proper position even if you create context
  menu event eg. from keyboard
2012-04-11 18:06:50 +02:00
nowrep
e5ce2f5e3d Added animated tab previews (by Alexander Samilovskih)
- thanks a lot for his work!
- option to disable animations in preferences -> tabs
2012-04-08 21:45:40 +02:00
nowrep
b1d0cd9228 Improved performance of bookmarks import and bookmarks deleting.
- moved general defines into qz_namespace.h file
- fixed showing default theme to be "default" on mac in
  theme manager instead of "mac" theme
2012-04-05 10:27:35 +02:00
nowrep
67907b5cea Fixed USE_LIBPATH building define + restore cursor on delete bookmarks. 2012-04-04 23:43:37 +02:00
nowrep
1c883e4ec3 Mac OS X building tweaks + fixing valgrind warnings.
- in mousegestures plugin, don't start gesture when mouse
  is at scrollbar's position
2012-04-04 17:41:33 +02:00
nowrep
fa4be83ea9 Little improvements + showing also Netscape plugins in qupzilla:config
- implemented JHooverman's suggestion from #202
2012-03-29 20:02:21 +02:00
nowrep
60c5b81f88 Improved source viewer, it now shows lines and fixed go to line.
- plugins can now register scheme handlers
- tweaked javascript alert window
- initial support for Geolocation & Notifications API
    * question to ask user for permission needs not implemented yet
2012-03-15 19:35:37 +01:00
nowrep
f590ad1925 Removed use of whatsThis() and other code cleanups 2012-03-13 17:51:06 +01:00
nowrep
efab78ae5e Added option "Don't load tabs until selected" when restoring session. 2012-03-11 15:17:12 +01:00
nowrep
291468a9ab Showing context menus on event's position.
- some keyboards (usually in laptops) have special key for
  showing context menu
- context menu events from keyboard will now be shown on
  correct position (not on mouse position)
2012-03-09 16:02:27 +01:00
nowrep
eb7de9a104 Various enhancements in Bookmark Importing.
- when importing from Html file, also bookmark folders are imported
- bookmark tree now shows folder structure
- fixed importing from UTF8 files
- loading icons in own thread = dialog won't freeze anymore
2012-03-06 15:28:52 +01:00
nowrep
7dff6ad103 TabBar now accepts drops so you can drop url on it and open new tab.
- small modifications in locationbar regarding focus handling
2012-03-05 11:30:18 +01:00
nowrep
a85d975093 Reduced spacing in navigation bar and bookmarks toolbar.
- So also KDE users can be happy once again :-)
2012-03-04 22:30:45 +01:00
nowrep
a0b9c0fc69 Fixed building on Windows + whole compilation is now faster. 2012-02-29 18:33:50 +01:00
nowrep
9c789792f4 Rearranged directory structure. All sources are under src/ dir now.
- updated Italian homepage translation
2012-02-23 19:18:08 +01:00