Oleg Shparber
d0d3f56d1d
core: Remove implemented TODO comments in Settings
2018-01-07 23:09:43 +02:00
Oleg Shparber
486ce17296
ui: Use system icons for back and forward buttons
2018-01-07 21:08:18 +02:00
Oleg Shparber
7c3789dead
ui: Reduce horizontal margins and spacing in tool bars
2018-01-07 20:10:44 +02:00
Oleg Shparber
9e98a6860e
ui: Do not disable touch events for web view ( fixes #356 )
2018-01-07 17:49:08 +02:00
Oleg Shparber
a9307b4a1e
ui: Conditionally use Qt 5.6 features
2018-01-07 17:31:54 +02:00
Oleg Shparber
478791a2d8
cmake: Require Qt version >= 5.5.1
2018-01-07 17:10:44 +02:00
Oleg Shparber
ba3c63c9ae
cmake: Silence CMP0071
2018-01-07 17:09:25 +02:00
Oleg Shparber
3b2a395728
ui: Make external link behavior configurable ( fixes #416 )
2018-01-07 16:00:22 +02:00
Oleg Shparber
8fa793a6f6
ui: Fix sizing of the tab behavior group box in SettingsDialog
2018-01-07 13:42:02 +02:00
Oleg Shparber
9e86fcdfd5
ui: Fix compilation with Qt version < 5.6
2018-01-07 01:02:53 +02:00
Oleg Shparber
4b65cb29da
ui: Remove confusing "Open URL" button ( fixes #848 )
...
The same action can be now performed through the context menu.
2018-01-07 00:51:38 +02:00
Oleg Shparber
b468d31aab
ui: Implement custom context menu for the web view ( fixes #635 )
2018-01-07 00:47:06 +02:00
Oleg Shparber
5cec65591b
ui: Refactor content hit testing in WebView
2018-01-07 00:42:55 +02:00
Oleg Shparber
57fbea15c2
ui: Fix new tab link also loading in the current tab
2018-01-07 00:41:03 +02:00
Oleg Shparber
fafdc268d8
ui: Do not accept QKeyEvent explicitly
...
According to the QWidget::keyPressEvent() docs it arrives accepted.
2018-01-06 16:01:28 +02:00
Oleg Shparber
d0cdc200bb
ui: Fix new tabs always showing the welcome page ( fixes #851 )
2018-01-06 15:47:26 +02:00
Oleg Shparber
a406f8de5f
ui: Remove unused search methods in WebViewTab
2018-01-05 12:13:49 +02:00
Oleg Shparber
bf574687e5
ui: Fix license information in the About dialog
2018-01-04 02:14:39 +02:00
Oleg Shparber
ee4b00efba
ui: Update copyright years in the About dialog
2018-01-04 02:14:15 +02:00
Oleg Shparber
e58fc7f089
ui: Remove unused WebViewTab::sizeHint() method
2018-01-04 02:13:45 +02:00
Oleg Shparber
38d14735b6
ui: Add in-page search toolbar ( #861 )
2018-01-04 02:05:47 +02:00
Oleg Shparber
7d39f3fbb4
qmake: Remove qmake support
2017-12-17 17:56:56 +02:00
Oleg Shparber
b4009fc0be
registry: Order search results by length ( fixes #679 )
2017-12-10 16:32:53 +02:00
Oleg Shparber
3a7b7053c0
app: Update the welcome page
2017-12-10 16:00:47 +02:00
Oleg Shparber
47250981b4
app: Remove unused main.css
2017-12-10 00:39:54 +02:00
Oleg Shparber
9765c05ede
ui: Set default stretch factor for splitter's panes
2017-12-09 20:42:55 +02:00
Oleg Shparber
9c0938c679
ui: Indicate portable build in the main window title
2017-12-09 20:08:00 +02:00
Oleg Shparber
5b9fed94db
ui: Use one web view per tab ( #825 )
...
This change stops practice of sharing a single web view
between tabs.
2017-11-25 13:19:53 +00:00
Oleg Shparber
4ba5512411
ui: Fix missing selection in duplicated tabs
2017-11-20 22:35:55 +02:00
Oleg Shparber
465a8b92a8
ui: Fix tab state being overrided when tab to the left is closed
2017-11-20 22:27:58 +02:00
Oleg Shparber
3b8530535d
ui: Rename SearchableWebView to WebViewTab
2017-11-18 21:30:13 +02:00
Oleg Shparber
96bfa2d3cd
ui: Use predefined zooming levels
2017-11-18 21:02:30 +02:00
Oleg Shparber
2ec5740b55
app,core,registry: Fix QtConcurrent dependency for qmake build
2017-11-16 01:10:51 +02:00
Jerzy Kozera
1c74d39c2d
registry,ui: Implement feed updates ( fixes #289 ) ( #819 )
2017-11-15 23:31:27 +02:00
Oleg Shparber
c8525e917e
core: Fix coding style
2017-11-12 22:18:22 +02:00
Oleg Shparber
f8088d71d1
core,util: Fix include guards
2017-10-31 10:10:17 +02:00
Oleg Shparber
f32e30f9ae
core,registry,ui,util: Avoid reinterpret_cast where possible
2017-10-31 00:33:31 +02:00
Oleg Shparber
a907d8295a
app,ui: s/OS X/macOS
2017-10-31 00:16:39 +02:00
Oleg Shparber
fb19ac0fa6
registry: Always return absolute document path ( fixes #806 )
2017-10-31 00:15:50 +02:00
Oleg Shparber
232d225cb2
ui: Fix the app quitting if there's a new version available ( fixes #637 )
...
The problem occured when Zeal was configured to start minimized to tray,
and there was a new release available. In that situation the app quit,
because the last window to close was the message box about the available
update (see QApplication::quitOnLastWindowClosed).
2017-10-25 23:40:27 +03:00
palinek
df2b74b6d4
ui: Create new tab on tabbar doubleclick ( #803 )
2017-10-25 00:19:13 +03:00
Oleg Shparber
4769b7a228
ui: Display show/hide in the systray menu on all platforms
2017-10-22 02:30:12 +03:00
Oleg Shparber
d0b2d4c2dd
ui: Quit is Exit on Windows
2017-10-22 02:06:27 +03:00
Oleg Shparber
176445083b
ui: Add Show/Hide to the systray menu when DE is Unity ( fixes #741 )
2017-10-22 01:41:18 +03:00
Oleg Shparber
65c60bc243
registry,ui: Rename some methods and signals in DocsetRegistry
2017-10-21 23:56:25 +03:00
Oleg Shparber
8303bc0a90
core,ui: Refactor docset directory removal out of the UI ( fixes #608 )
2017-10-21 23:42:01 +03:00
Oleg Shparber
cf30c36392
ui: Fix crash when encountering a corrupted docset directory ( fixes #788 )
...
The crash occured in case destination directory for a docset being
installed already existed, but was not loaded into DocsetRegistry.
That usually happened due to previous failed attempt to install
a docset.
2017-10-21 22:19:45 +03:00
Oleg Shparber
f17e1a1708
core: Extend logging in ApplicationSingleton
2017-10-21 18:24:13 +03:00
Oleg Shparber
a9be16a132
ui: Update copyright years in the about dialog
2017-10-08 01:16:56 +03:00
Oleg Shparber
84afbf5148
app: Allow primary instance to gain focus on Windows ( fixes #440 )
2017-10-07 15:47:29 +03:00
Oleg Shparber
9eb9584331
app,core: Replace LocalServer with ApplicationSingleton ( #790 )
...
ApplicationSingleton is based on QSharedMemory, and is
more reliable in detecting multiple running instances
of the application.
2017-10-07 02:36:29 +03:00
FantasyEarl
686eda015d
ui: Make tabs movable ( #784 )
2017-10-01 20:06:19 +03:00
Oleg Shparber
bd85d70bac
ui: Add support for a dedicated tray icon ( fixes #770 )
2017-09-29 01:45:58 +03:00
Oleg Shparber
3812d2e22e
app: Fix version info encoding
2017-08-29 01:44:46 +03:00
Oleg Shparber
ace9c11084
app: Add new type icons
2017-08-29 00:52:38 +03:00
Oleg Shparber
64ee009ee3
app: Optimize type icons
2017-08-29 00:47:54 +03:00
Oleg Shparber
c30496f994
app: Remove unused type icons
2017-08-29 00:47:19 +03:00
Oleg Shparber
04172f89e5
doc: Use CSS to prevent text sepection on the welcome page
2017-08-18 02:36:01 +03:00
Oleg Shparber
b47ba0b0a4
ui: Make tab width fixed
2017-08-18 02:35:23 +03:00
Oleg Shparber
b6d7d35704
assets,app: Optimize PNG files
2017-08-16 01:55:59 +03:00
Oleg Shparber
ba773158d4
doc: Minify bulma.css
2017-08-16 01:27:53 +03:00
Oleg Shparber
e2c576db92
core,doc,ui: Add an option to disable ad on the welcome page
2017-08-16 01:06:35 +03:00
Oleg Shparber
a90fef36df
doc: Add Carbon ad to the welcome page
2017-08-16 01:05:02 +03:00
Oleg Shparber
4dcd7cf90b
core: Forward all non-local schemaless URLs via HTTPS.
2017-08-16 01:03:37 +03:00
Oleg Shparber
2f953b5857
doc: Update the welcome page
2017-08-16 00:27:43 +03:00
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
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
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
Oleg Shparber
9f14ba1bdf
ui: Apply settings when the main window is created
2017-03-02 22:37:35 -05:00
Oleg Shparber
5af3f1f2f5
core: Fix coding style
2017-03-02 22:36:43 -05:00
Oleg Shparber
29392886ac
core,ui: Rename Browser settings into Content
...
Just to follow what most browsers have.
2017-03-02 20:18:13 -05:00
Oleg Shparber
054466ff58
cmake: Build with a WinMain entry point on Windows
2017-03-02 19:04:51 -05:00
Oleg Shparber
fbcec2a035
cmake: Display .ui files in Qt Creator
2017-02-26 23:55:24 -05:00
Jerzy Kozera
937cf99aa4
registry: Prioritize exact matches over fuzzy ( #696 )
...
Fixes #677 .
2017-02-26 03:46:05 -05:00
Oleg Shparber
89b9d91938
cmake: Introduce CMake-based build option
...
Fixes #689 .
2017-02-19 21:09:24 -05:00
Oleg Shparber
43d8dd1680
core: Enable support for high-DPI screens (Qt >= 5.6)
...
Fixes #111 .
2017-02-19 00:10:42 -05:00
Oleg Shparber
967145fd54
registry: Remove empty source file
...
SearchResult is a header-only class.
2017-02-18 22:09:54 -05:00
Oleg Shparber
df7a0fc52e
ui: Remove unneeded include
2017-02-18 12:11:08 -05:00
Oleg Shparber
cf4270fb6d
qmake: Fix build with MingGW
2017-02-18 12:03:07 -05:00
Oleg Shparber
808a8769be
qmake: Fix build with MSVC
2017-02-18 11:50:38 -05:00
Oleg Shparber
01ffac5d34
util: Fix Clang warnings in SQLiteDatabase
2017-02-17 20:18:23 -05:00
Oleg Shparber
a5ef8e88c5
core,ui: Remove support for Qt WebEngine
2017-02-17 19:58:11 -05:00
Oleg Shparber
d11913c49c
ui: Move .ui files one level up
...
This simplifies migration to CMake with CMAKE_AUTOUIC enabled.
2017-02-16 22:54:31 -05:00
Oleg Shparber
3c227b0879
qmake: Check for library .pri before including
2017-02-16 22:51:00 -05:00
Oleg Shparber
1745321afa
ui: Update .ui code for the proxy settings tab
...
The code was automatically regenerated.
2017-02-16 22:49:37 -05:00
Oleg Shparber
b83541776d
ui,qmake,doc: Drop support for libappindicator
2017-02-14 00:18:46 -05:00
Oleg Shparber
da8fa00c99
app: Fix coding style
2017-02-12 23:42:11 -05:00
Oleg Shparber
b8f418fc91
core: Remove code for Qt versions < 5.5.1
2017-02-12 23:40:25 -05:00
Oleg Shparber
2b0de572c7
app: Use implicit QCommandLineOption constructor
2017-02-12 23:38:48 -05:00
Oleg Shparber
4711e0cf3c
app,core: Update LocalServer to work on Windows
...
Fixes #681 (in conjunction with Qt 5.6+, see QTBUG-23378)
2017-02-12 23:32:01 -05:00
Oleg Shparber
1412d91bd6
ui: Remove Docsets tab from the Settings dialog
2017-02-02 22:28:03 -05:00
Oleg Shparber
c720633d1b
registry: Use QVarLengthArray instead of dynamic memory allocation
2016-12-21 22:42:32 -05:00
Oleg Shparber
b8a8dd96d6
registry: Cleanup fuzzy search code, and optimize a bit ( #672 )
2016-12-21 21:19:19 -05:00
Oleg Shparber
8de33d1abe
registry: Fix search for queries containing separators ( fixes #650 )
2016-12-21 01:35:07 -05:00
htower
7e4e95644a
registry: Fix fallback to CFBundleName for docset name ( #662 )
2016-11-23 14:50:47 -05:00
Oleg Shparber
143d9ddc92
registry: Make sure exact search term matches are always on top
2016-11-18 00:58:33 -05:00
Oleg Shparber
7d48602bd0
registry: Support docset keywords provided in metadata ( fixes #604 )
2016-11-16 03:45:22 -05:00
Oleg Shparber
6f322602f0
registry: Check if index file path is present in metadata
2016-11-16 03:44:01 -05:00
Oleg Shparber
3629d57829
registry: Fix compiler warnings
2016-11-15 23:16:16 -05:00
Oleg Shparber
280a8d85c3
registry: Turn SearchModel into QAbstractListModel
2016-11-13 06:00:11 -05:00
Oleg Shparber
7c8c0f37bb
registry: Fix header inclusion for ListModel
2016-11-13 05:59:37 -05:00
Oleg Shparber
3680ef0ce0
registry: Use item role instead of column for URLs
2016-11-13 05:59:14 -05:00
Oleg Shparber
7593515cfe
registry, ui: Unify item data roles across Registry models
2016-11-13 05:46:00 -05:00
Oleg Shparber
1dc1184010
registry: Remove all references to docset sourceId
...
It was never used.
2016-11-13 04:43:20 -05:00
Oleg Shparber
c88bfacb34
app: Add 'Pipe' symbol type icon
2016-11-13 03:57:30 -05:00
Oleg Shparber
ed29c22b59
registry: Fix anchor navigation in some docsets ( fixes #641 )
...
This fixes decoding of fragments that start with '//dash_ref'.
2016-11-08 22:57:41 -05:00
Oleg Shparber
1d8c1c11aa
registry: Fix related links not being retrieved ( fixes #651 )
2016-11-08 21:26:27 -05:00
Oleg Shparber
003bb31a2d
registry: Remove unused include
2016-10-31 15:49:02 -04:00
Oleg Shparber
c932951efc
ui: Cleanup DocsetsDialog
2016-10-31 15:49:02 -04:00
Jerzy Kozera
e7f631d2d5
Better sorting of search results and fuzzy search ( #614 )
...
Uses an O(m+n) algorithm based on https://github.com/bevacqua/fuzzysearch .
Also adds sqlite3_mutex_enter and sqlite3_mutex_leave calls to prevent
crashes inside sqlite3 which occurred while testing.
Fixes #100 .
Fixes #603 .
2016-10-31 15:45:52 -04:00
Oleg Shparber
6cb63ee8f0
core: Store docset storage path in portable version ( fixes #609 )
2016-10-14 01:27:28 -04:00
Oleg Shparber
042b0bb5b6
Merge tag 'v0.3.1'
...
v0.3.1
2016-10-10 02:05:50 -04:00
Oleg Shparber
6b8ac9de88
ui: Add changes to DocsetsDialog missing from #625
...
Missing from ac0d19e5fe
.
2016-10-10 01:39:20 -04:00
Oleg Shparber
ac0d19e5fe
ui: Fix 'Select All' selection in the docset manager ( #625 )
...
This fixes duplicated items in selection models because of multiple
columns.
2016-10-09 18:52:02 -04:00
Oleg Shparber
1462414e3d
util: Minor fixes in SQLiteDatabase
...
Mostly coding style, plus checks in value().
2016-10-09 18:25:50 -04:00
Jerzy Kozera
457af2fe8f
registry: Add our own sqlite3 wrapper ( #619 )
...
This is going to help with implementing PR #614 in a cleaner way, avoiding
problems with sqlite3_create_function interface availability on various
platforms.
2016-10-09 17:26:29 -04:00
Oleg Shparber
2d2a561c41
ui: Fix a race condition when removing docsets ( #624 )
2016-10-09 15:38:19 -04:00
Jerzy Kozera
ba8c3ad00e
ui: Fix docset removal on Windows ( fixes #621 ) ( #623 )
...
Docsets need to be removed from the registry first,
to avoid rename() failing when files are in use.
2016-10-09 13:38:08 -04:00
Oleg Shparber
caff862805
core: Reject no-scheme URLs on a local file system ( fixes #532 ) ( #620 )
...
This change adds back a custom network access manager, that was removed
as a fix for #474 . Although this time URL validation is much more simple.
2016-10-09 01:01:04 -04:00
Jerzy Kozera
2f9dd40086
qmake: Fix missing defines causing memory corruption ( fixes #595 ) ( #616 )
...
Missing USE_APPINDICATOR in libs/core/ was causing the MainWindow class
declaration to be truncated, thus causing memory corruption when later used
with the full definition in libs/ui/.
2016-10-07 23:42:27 -04:00
Oleg Shparber
eb95d58cfd
qmake: Reduce qmake log output
2016-09-22 21:40:29 -04:00
Oleg Shparber
14c72d38aa
qmake: Add Qt Network dependency for Core
2016-09-22 21:39:36 -04:00
Oleg Shparber
e642cb509d
ui: Use QWebView::load() instead of setUrl()
2016-09-22 02:20:26 -04:00
Oleg Shparber
f69004ebbb
ui: Fix redundant download state resets in DocsetsDialog
2016-09-22 02:14:04 -04:00
Oleg Shparber
f7ecf2920d
ui: Use model indexes instead of list items where possible
2016-09-22 02:12:48 -04:00
Oleg Shparber
797cd7953b
ui: Add ability to start a docset update by a double click
2016-09-22 00:30:33 -04:00
Oleg Shparber
236eb007e4
registry: Do not use CFBundleName and docset name as a keyword
...
#383 for more details.
2016-09-21 21:20:55 -04:00
Oleg Shparber
eb3fccee23
registry: Strip out <dash_entry_.*> from page URLs ( fixes #596 )
2016-09-19 21:54:21 -04:00
Oleg Shparber
94a37f73c3
registry: Build index page URL only once
2016-09-19 21:37:32 -04:00
Oleg Shparber
fed639b5fb
registry: Prefer index file path provided by docset
2016-09-19 21:24:39 -04:00
Oleg Shparber
64f4f32a60
registry: Add some missing symbol type aliases
2016-09-19 03:32:09 -04:00
Oleg Shparber
ba859d0e46
registry: Use LEFT JOIN instead of INNER JOIN in all queries
...
Fixes #563 as a side effect!
2016-09-19 03:31:32 -04:00
Oleg Shparber
a59ae13b47
registry: Return QUrl for docset index page ( fixes #598 )
2016-09-19 02:26:03 -04:00
Oleg Shparber
bdaba34a8c
registry: Treat only //apple_ref URL fragments as decoded ( fixes #513 )
2016-09-18 22:44:12 -04:00
Oleg Shparber
cf22be91d0
registry,ui: Create page addresses during docset loading
...
This hides the internal docset structure inside the Docset class.
2016-09-18 22:42:37 -04:00
Oleg Shparber
846892446b
registry: Move SQL sanitization to Docset
...
SearchQuery should not know about the underlying search mechanism.
2016-09-18 19:10:46 -04:00
Oleg Shparber
7282698a9d
registry: Do not sort search results by docset
2016-09-18 18:54:32 -04:00
Oleg Shparber
302d6028e6
registry: Cleanup Docset a bit
2016-09-18 18:33:03 -04:00
Oleg Shparber
947b67a54d
registry: Optimize docset selection with keywords present
2016-09-18 18:26:18 -04:00
Oleg Shparber
801d3e44e2
registry: Ignore "unsorteddashtoc" as a keyword
2016-09-17 20:53:48 -04:00
Oleg Shparber
10a11e2778
ui: Show tooltips for tabs
2016-09-17 20:40:07 -04:00
Oleg Shparber
a4fac24a5d
registry: Limit results to 1k per docset for queries < 3 symbols ( #265 )
2016-09-15 03:11:58 -04:00
Oleg Shparber
6e9bd48b28
registry: Greatly simplify search logic ( #265 )
2016-09-15 03:10:45 -04:00
Oleg Shparber
9c11087c2e
registry: Remove unused field from SearchResult
2016-09-15 03:07:37 -04:00
Oleg Shparber
6c299469de
registry: Do not use search query for sorting results
2016-09-15 02:29:21 -04:00
Oleg Shparber
c9d44a4660
registry: Remove 100 results limit ( fixes #593 )
2016-09-15 00:56:18 -04:00
Oleg Shparber
24077dbd1e
ui: Cleanup MainWindow's .ui a bit
2016-09-14 22:16:22 -04:00
Oleg Shparber
bbcd3c610c
qmake: Do not install static libs ( fixes zealdocs/zeal-packaging#17 )
2016-09-14 22:03:02 -04:00
Oleg Shparber
6b9b498874
ui: Do not allow to close DocsetsDialog if removal is in progress
2016-09-14 02:30:42 -04:00
Oleg Shparber
fa008f39c3
ui: Use better wording for the "operations pending" message box
2016-09-14 02:29:23 -04:00
Oleg Shparber
33a82da9d2
ui: Fix SettingsDialog window title
2016-09-14 02:25:07 -04:00
Oleg Shparber
2ef529b235
ui: Remove duplicated line in DocsetsDialog
2016-09-14 02:22:36 -04:00
Oleg Shparber
7c29eb313a
ui: Clean up docset removal code a bit
2016-09-14 02:20:18 -04:00
Oleg Shparber
08abd7385c
ui: Make multiple docset removal confimation plural aware
2016-09-14 02:18:46 -04:00
Oleg Shparber
25eb733db0
ui: Unify docset removal logic
2016-09-14 02:04:16 -04:00
Oleg Shparber
8d053b00d7
ui: Use multiple selection for choosing docsets to download
...
No more checkboxes!
2016-09-14 00:48:56 -04:00
Oleg Shparber
6f79cffb34
ui: Show installed and available docsets on different tabs
2016-09-13 21:57:35 -04:00
Oleg Shparber
1bde003f4a
ui: Unify sizes of Preferences and Docsets dialogs
2016-09-13 21:55:50 -04:00
Oleg Shparber
bc3ddd7776
ui: Allow to double click a docset to download
2016-09-12 23:36:27 -04:00
Oleg Shparber
c835790453
ui: Fix DocsetsDialog window title
2016-09-12 23:13:14 -04:00
Oleg Shparber
6b1349cdce
ui: Optimize lookups in the available docset list
2016-09-12 22:44:29 -04:00
Oleg Shparber
b68790a7d3
ui: Fix handling of extraction errors in DocsetsDialog
2016-09-12 22:29:24 -04:00
Oleg Shparber
c9ec84fcb3
app: Do not use ::exit() inside main()
2016-09-11 23:55:25 -04:00
Oleg Shparber
3ebbf497d2
qmake: Fix PRE_TARGETDEPS
2016-09-11 22:05:21 -04:00
Oleg Shparber
81357c3bbf
registry: Remove QDebug include
2016-09-11 21:47:13 -04:00
Oleg Shparber
bcbea61fcc
ui: Move docset management UI into a dedicated dialog ( fixes #354 )
2016-09-11 21:47:02 -04:00
Oleg Shparber
4aa20b048f
qmake: Enforce relink
2016-09-11 19:24:04 -04:00
Oleg Shparber
144ecddc74
registry: Move everything into Zeal::Registry namespace
...
All other subprojects updated accordingly.
2016-09-11 14:41:13 -04:00
Oleg Shparber
cb27392673
app: Reorder link dependencies
2016-09-11 02:30:03 -04:00
Oleg Shparber
1c068d42f7
qmake: Reorganize the whole project
...
This is an attempt to provide a better structure to the project.
All modules are now individual subprojects called libraries.
QxtGlobalShortcut was moved to the Ui library, and resources are part
of the application (app) subproject.
2016-09-11 02:14:48 -04:00
Oleg Shparber
140785099c
registry: Remove forgotten shell script
2016-09-10 23:44:59 -04:00
Oleg Shparber
ff2b2db8e3
qmake: Move FreeDesktop assets to a separate subproject
2016-09-10 23:43:00 -04:00
Oleg Shparber
7ce8cd92a6
ui: Fix a few Clang warnings in SettingsDialog
2016-09-10 23:40:12 -04:00
Oleg Shparber
09e051cfe3
registry: Small optimization in Docset
2016-09-10 23:19:09 -04:00
Oleg Shparber
49ef260805
resources: Optimize logo icons
2016-08-18 19:12:08 -04:00
Oleg Shparber
e8a3bf9120
app, ui: Set application-wide window icon
2016-08-16 20:52:33 -04:00
Oleg Shparber
feee0ec6ed
qmake: Move shared options to common.pri
2016-08-16 20:17:03 -04:00
Oleg Shparber
e31fa22449
ui: Cleanup web view includes in MainWindow
2016-08-14 23:14:18 -04:00
Oleg Shparber
d244ca33da
ui: Store manual proxy settings even when disabled
2016-08-14 22:34:02 -04:00
Oleg Shparber
a657d0e70a
core: Fix precision warning
2016-08-14 22:30:36 -04:00
Oleg Shparber
a18790ffd4
ui: Move tabs settings into a separate tab
2016-08-14 22:22:24 -04:00
Oleg Shparber
6ff29e3da3
ui: Improve coding style a bit
2016-08-09 23:37:28 -04:00
Oleg Shparber
5c3b84725b
ui: Fix crash on application quit (WebEngine only) ( fixes #577 )
2016-08-09 23:35:17 -04:00
Oleg Shparber
ebd3ab8b57
core: Reset 'state/splitter_geometry' option for <0.3 versions
...
This settings options has to be reset due to removal of custom styles
for the main splitter.
2016-08-07 21:34:29 -04:00
Oleg Shparber
76e0cd48d4
core: Do not load settings version
...
It should be used only for migration.
2016-08-07 21:29:17 -04:00
Oleg Shparber
bfdeae7733
core: Do not keep QSettings object between loading/saving settings
...
This allows to keep the settings clean, without any complex checking if
options are valid and supported.
2016-08-07 21:26:47 -04:00
Oleg Shparber
26cdb7b399
qmake: Add period after AppIndicator detection message
2016-08-07 17:34:17 -04:00
Oleg Shparber
4c7b3621c8
registry: Mark docset as invalid when Documents directory is missing
...
Fixes #573 .
2016-08-03 00:16:39 -04:00
Oleg Shparber
ef83da0c61
registry, ui: Use QLatin1String in conditions
2016-08-02 23:55:51 -04:00
Oleg Shparber
1a06b22f04
ui: Set QStyleOptionViewItem::HasDisplay in SearchItemDelegate
...
This fixes the bug with item's text not rendered, when certain styles
were in use, e.g. KDE's Breeze.
Fixes #540 .
2016-08-02 23:24:26 -04:00
Oleg Shparber
cb28be436c
registry: Fix contact link in CancellationToken headers
2016-07-23 11:49:42 -04:00
Oleg Shparber
4b3e1df51d
registry: Check for canceled search prior to sorting results
...
This gives a slightly noticeable performance improvement.
2016-07-20 02:10:27 -04:00
Artur Spychaj
40b8d4ac0a
registry: Search docsets in parallel
...
Related to #264 , #523 .
2016-07-20 02:07:11 -04:00
Oleg Shparber
cb99a89fe0
Add support for search cancellation within Docset::search()
...
Based on #460 .
2016-07-20 01:58:33 -04:00
Artur Spychaj
c8464b6928
registry: Allow to cancel current searches
...
When user types into the search box the previous search is canceled.
This improves the speed with which the results can be obtained.
Based on #460 plus cosmetic changes.
Related to #265 , #523 .
2016-07-20 01:29:03 -04:00
Oleg Shparber
fd11923a3c
ui: Delay loading a page until user stops typing a query
...
Based on work by Artur Spychaj submitted in #460 .
Related #265 , #523 .
Closes #564 .
2016-07-18 23:58:52 -04:00
Oleg Shparber
6f9339833b
ui: Remove unnecessary condition when saving TOC splitter state
2016-06-19 03:52:07 -04:00
Oleg Shparber
af11f38f2c
ui: Do not use obsolete QMessageBox methods
2016-06-13 20:30:35 -04:00
Oleg Shparber
2c6fa61617
ui: Fix redundant QString copying
2016-06-13 20:24:19 -04:00
Oleg Shparber
58bed936e2
ui: Fix backward navigation menu
2016-06-13 05:30:19 -04:00
Oleg Shparber
aa42fcc3e1
ui: Update available docset list if storage changes ( fixes #475 )
2016-06-05 21:49:31 -04:00
Oleg Shparber
26fd6c802d
ui: Use the current docset storage path in the directory chooser
2016-06-05 21:30:51 -04:00
Oleg Shparber
134e62214d
ui: Fix building with Qt 5.2 one more time
2016-06-05 21:19:43 -04:00
Oleg Shparber
7ddee54aad
ui: Fix building with Qt 5.2
2016-06-05 20:52:47 -04:00
Oleg Shparber
5534c662b6
ui: Remove the View menu
2016-06-05 19:46:35 -04:00
Oleg Shparber
d21402cd76
ui: Remove MainWindow::displayViewActions()
2016-06-05 19:44:55 -04:00