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

320 Commits

Author SHA1 Message Date
nowrep
fb2629898b [TabBar] Don't draw base. Should help with Qt5 Fusion style
Also small changes in MainApplication
2014-03-10 09:38:16 +01:00
nowrep
2e9ce1ba90 [CodeCleanup] Major cleanup in MainApplication class 2014-03-10 00:47:07 +01:00
nowrep
969f262cf8 [DataPaths] Don't add trailing slash to paths
Qt API is not adding trailing slashes to dir paths either.
2014-03-09 22:17:13 +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
a3c3dead87 [CodeCleanup] Get rid of Qz::AppMessage enum 2014-03-09 12:54:07 +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
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
417da146e5 [QzTools] Make QzTools class and export only the class
Also fixed building on Windows
2014-03-07 22:54:50 +01:00
nowrep
fdf4fcc54e [main.cpp] SIGPIPE is not needed to be handled in signal_handler 2014-03-07 18:57:42 +01:00
nowrep
f558a836b0 [Code] Create singletons with Q_GLOBAL_STATIC macro 2014-03-07 18:24:13 +01:00
nowrep
edbb87bd1f [CodeCleanup] IconProvider now have static methods for getting icons 2014-03-07 18:03:42 +01:00
nowrep
d0d1fa1844 [Session] Save session to QByteArray and then write it to file
Instead of appending data to file, write all session data at once.
This should help preventing corrupting session.dat file.

Closes #1247
2014-03-06 16:18:58 +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
29f20ae520 [Building] Don't require ending slash in USE_LIBPATH and QUPZILLA_PREFIX options 2014-03-03 15:08:52 +01:00
nowrep
a7d382ee42 [Cleanup] Use QZ_WS_X11 only for X11 specific code
In other cases, use Q_OS_UNIX for determining UNIX platform.
UNIX platfroms without X11 should benefit from this commit, including
MAC and UNIXes on Wayland.
2014-03-03 14:47:47 +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
3650aac9ff [Code] Little cleanups after rename QupZilla -> BrowserWindow 2014-02-26 19:55:49 +01:00
S. Razi Alavizadeh
84ef3e9fda Fixed, renamed QupZilla class to BrowserWindow everywhere 2014-02-25 22:06:13 +03:30
nowrep
4133106988 [PinnedTabs] Restore pinned tabs also when not restoring session
Closes #1239
2014-02-24 11:38:18 +01:00
nowrep
7d98a162d6 [Code] Fixed cppcheck issues 2014-02-22 15:23:46 +01:00
nowrep
5cf7d0b9a9 [Bookmarks] Add new action to open bookmarks in private window
Closes #995
2014-02-22 15:20:54 +01:00
Mladen Pejaković
131eef5c9d Open links in private window. 2014-02-22 14:57:22 +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
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
167e80f59a [SaveSettings] Don't save settings twice on app close 2014-02-14 20:29:41 +01:00
nowrep
9ae0352548 [SslV3Sites] Added possibility to change list of sites in settings.ini
In settings.ini: Web-Browser-Settings/SSLv3Sites

Also added sermapa.es to default list
2014-02-13 20:46:15 +01:00
nowrep
156a14dfb6 [Windows] Use %LOCALAPPDATA% only if user doesn't have config in older paths 2014-02-13 20:17:57 +01:00
S. Razi Alavizadeh
b880a920ff [Windows] Fixed PROFILEDIR when using Qt4. 2014-02-13 17:23:20 +03:30
S. Razi Alavizadeh
f52d5fa234 [Themes][RTL] Use correct icons for tabbar scroll buttons.
- also fixed compile issue on Windows.
2014-02-12 19:41:05 +03:30
nowrep
f5955c7b92 [Window] Disable updates when showing/hiding toolbars 2014-02-12 14:23:23 +01:00
nowrep
9b6db07b9c [BookmarksToolbar] Fixed window flicker when showing toolbar 2014-02-12 11:26:02 +01:00
nowrep
896ab6bac9 [Shortcuts] Ctrl+W shortcut no longer closes a pinned tab
Pinned tab can now only be closed from tab context menu
2014-02-12 11:16:57 +01:00
nowrep
dc6f71a1b8 [Preferences] Update default settings on some options
TabsOnTop: Enabled by default
DontLoadTabsUntilSelected: Enabled by default
AfterLaunch: Restore session is now default
2014-02-11 15:44:47 +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
284e58ebca [Bookmarks] Cleanup in Bookmarks class 2014-02-10 12:58:34 +01:00
nowrep
946354a15d [Bookmarks] Load default bookmarks on error 2014-02-09 18:55:11 +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
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
nowrep
8c3623e633 [Bookmarks] BookmarksManager now uses new BookmarksTreeView 2014-02-08 18:14:38 +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
f824a81da3 [ProfileUpdater] Don't overwrite settings.ini on incompatible profile data 2014-02-04 23:03:21 +01:00
nowrep
5b55d5b483 Add build option to disable new version checking
Closes #1184
2014-02-02 16:21:48 +01:00