Commit Graph

1389 Commits

Author SHA1 Message Date
Oleg Shparber
2a42b600ae ui: Do not show tooltips for qrc links 2017-08-12 00:28:21 +03:00
Oleg Shparber
57c9edd20c ui: Focus search box when a new tab is opened (fixes #725) 2017-07-07 00:37:30 +03:00
Oleg Shparber
c6003e19b9 registry: Remove pointless ORDER BY clauses for search queries
We sort all results again anyway.
2017-04-26 00:41:12 -04:00
Oleg Shparber
7b1223b03d core,registry,ui: Make fuzzy search optional 2017-04-26 00:34:26 -04:00
Oleg Shparber
42e79a66ef core,registry,ui: Unify docset storage path with the rest of the settings 2017-04-26 00:26:16 -04:00
Oleg Shparber
c25abbee6f ui: Fix crash when docsets in the current search are removed 2017-04-25 22:30:43 -04:00
Oleg Shparber
73ecfb944c registry,ui: Do not expose Docset class through DocsetRegistry 2017-04-24 00:17:40 -04:00
Oleg Shparber
8a5a8680f1 registry: Missing changes for the previous commit 2017-04-23 23:45:34 -04:00
Oleg Shparber
58dc4df02f registry: Use SQL view for docsets of ZDash type
Creating and using a view allows to simplify SQL code for ZDash docsets,
and in some cases unify it with Dash docsets.
2017-04-23 21:16:00 -04:00
Oleg Shparber
a1f5d4522c registry,ui: Do not run search if query is empty 2017-04-23 20:38:07 -04:00
Oleg Shparber
419a84e93e registry,ui: Fix some problems identified by clazy
Reference:
https://github.com/KDE/clazy
https://www.kdab.com/uncovering-32-qt-best-practices-compile-time-clazy/
2017-04-23 12:13:00 -04:00
Oleg Shparber
6cff27b2d5 registry: Create page URL on demand
This gives a significant performance boost for large docsets.
2017-04-22 00:05:46 -04:00
Oleg Shparber
cec7ba4f14 util: Implement SQLiteDatabase::views() 2017-04-21 00:22:28 -04:00
Oleg Shparber
8c1badb6a5 util: Refactor SQLiteDatabase::tables() 2017-04-21 00:21:31 -04:00
Oleg Shparber
af774275ab registry: Fix index not being created in docset's symbol database
A regression after switching to Util::SQLiteDatabase
2017-04-20 23:05:20 -04:00
Oleg Shparber
b3fc62e2ae util: Implement SQLiteDatabase::execute()
This method relies on sqlite3_exec(), but currently doesn't allow to
retrieve data.
2017-04-20 23:00:44 -04:00
Oleg Shparber
a994817308 util,registry: Rename SQLiteDatabase::execute() to prepare()
The new name matches the underlying behavior.
2017-04-20 22:43:23 -04:00
Jerzy Kozera
e48baaddd1 registry: Add more exhaustive search for fuzzy matching (#718) 2017-04-20 12:35:28 -04:00
Oleg Shparber
008d809346 ci[shippable]: Install CMake 2017-04-11 08:46:55 -04:00
Oleg Shparber
ce91a1426c ci[shippable]: Build with CMake 2017-04-10 23:57:01 -04:00
Oleg Shparber
2079180b8c core: Fix new proxy credentials being ignored
Changing proxy authentication credentials had no effect because of
the internal QNetworkAccessManager cache.
2017-04-09 11:14:32 -04:00
Oleg Shparber
bb89f29977 ui: Use lighter border color in ToolBarFrame 2017-04-03 00:36:44 -04:00
Oleg Shparber
3e07c72706 ui: Improve UX when a corrupted docset list is received
Simply adding a Retry button to the message box.

Fixes #566.
2017-04-02 22:41:33 -04:00
Oleg Shparber
3daf64d8aa registry: Fix another QJsonValueRef implicit cast 2017-04-01 00:41:18 -04:00
Oleg Shparber
7ae1c84c55 registry,util: Fix nonsense in conditions 2017-03-31 01:16:47 -04:00
Oleg Shparber
14e874e5cb registry: Fix implicit cast of QJsonValueRef into QJsonValue 2017-03-31 01:12:12 -04:00
Oleg Shparber
0f554794e4 registry,ui: Make MSVC happy 2017-03-31 00:56:48 -04:00
Oleg Shparber
e0f073948c ui: Remove pointless QEvent::accept()
Also fix a switch pass-through warning.
2017-03-30 23:13:35 -04:00
Oleg Shparber
29d7de9083 core,ui,util: Fix a few coding style issues 2017-03-30 00:19:58 -04:00
Oleg Shparber
a4126c51d4 cmake,ui: Normalize line endings 2017-03-30 00:05:10 -04:00
Oleg Shparber
d74c329d01 Add .gitattributes 2017-03-30 00:03:46 -04:00
Oleg Shparber
bbf3db6cbc registry: Fix uninitialized variable 2017-03-29 23:36:59 -04:00
Oleg Shparber
e80683bce8 ui: Fix resource file path in AboutDialog 2017-03-28 22:14:19 -04:00
Oleg Shparber
ec0ba89d58 ui: Fix namespace in all .ui files 2017-03-28 22:13:48 -04:00
Oleg Shparber
a5b3782735 cmake: Add missing docsetsdialog.ui to the .ui list 2017-03-26 23:55:21 -04:00
Oleg Shparber
01f939aebd core,ui: Move all UI classes into Zeal::WidgetUi namespace 2017-03-26 23:54:13 -04:00
Oleg Shparber
2fd6ea124e ui: Enforce toolbar frame height 2017-03-26 04:24:55 -04:00
Oleg Shparber
113e8a4cfd registry,ui: Rename all queryCompleted signals
They were quite confusing.
2017-03-26 03:46:58 -04:00
Oleg Shparber
11f10adfe9 core,registry,ui: Do not use absolute file paths 2017-03-26 03:24:04 -04:00
Oleg Shparber
ccbb75b1b9 registry: Remove useless cancellation token resets 2017-03-26 03:11:15 -04:00
Oleg Shparber
4258825753 registry,ui: Redo CancellationToken with atomic, hide it from ui 2017-03-26 03:09:42 -04:00
Oleg Shparber
e2c83025f6 registry: Reimplement docset loading with Qt Concurrent 2017-03-26 01:14:18 -04:00
Oleg Shparber
0f6fcaa816 registry: Cleanup 2017-03-23 22:31:15 -04:00
Oleg Shparber
6c21819a57 ui: Allow to navigate through web view when search bar is active (#703) 2017-03-23 00:55:16 -04:00
Oleg Shparber
59c60aeb18 ui: Add Ctrl+PgUp/PgDown shortcuts (#703) 2017-03-23 00:23:46 -04:00
Oleg Shparber
07c9974b61 app: Make Retry the default button in the app crashed dialog 2017-03-05 22:10:03 -05:00
Oleg Shparber
8fd3ac7499 ui: Minor improvements in the settings dialog 2017-03-05 21:44:43 -05:00
Oleg Shparber
40e54b1b53 core,ui: Provide ability to set a custom style sheet file
Fixes #268.
2017-03-05 21:37:27 -05:00
Oleg Shparber
cdba884398 ui: Add contrast to the navigation highlight color 2017-03-02 23:53:04 -05:00
Oleg Shparber
318eef91e7 core,ui: Add dark mode
Also makes highlighting on navigate configurable.

Fixes #466.
2017-03-02 22:45:33 -05:00