ShaopengLin
125d497aa5
Introduce ZimItemWidget to Delegate Item Display
...
Decouple complex item creation from button. Used later for styling.
2024-11-03 11:44:57 -05:00
ShaopengLin
85bbd91216
Introduce KiwixApp::OpenMultiZimAction
...
Shortcut and Icon for MultiZim. Since window is popup, toggle is not possible.
2024-11-03 11:44:51 -05:00
ShaopengLin
f5e8f22eac
Introduce MultiZim Search Button
...
User can search zim other than the current tab.
2024-11-03 11:36:11 -05:00
Kelson
d8b05aedbb
Merge pull request #1231 from kiwix/Bugfix-save-page-incorrect-cancel
...
BugFix: HTML Web Page incorrect behavior when canceling save page actions
2024-10-30 20:47:15 +01:00
ShaopengLin
3ebaaaa49c
Move Save HTML Page to WebView::saveViewContent
...
Due to Qt bug, WebPage::save() cannot be cancelled by the download object in KProfile::startDownload. Mimetype checking and pdf printing moved to be processed independently.
2024-10-30 15:44:04 -04:00
ShaopengLin
901aac87c7
Introduce askForSaveFilePath in kprofile.cpp
...
Refactor file name retrieval.
2024-10-30 15:29:14 -04:00
ShaopengLin
018056ca22
Introduce isHTMLContent in webview.cpp
...
Refactor the way to determine Zim MimeType.
2024-10-30 15:29:14 -04:00
ShaopengLin
02463cc3ca
Introduce getZimItem in WebView.cpp
...
Refactor the way to get item from url.
2024-10-30 15:29:14 -04:00
Kelson
0585c34a7e
Merge pull request #1189 from kiwix/Issue#413-search-UI-improvement
...
Implement Fine-Tuned Zim Search
2024-10-28 19:46:53 +01:00
ShaopengLin
c3f4a1e041
Custom Elide for Suggestion List Text
...
Qt painting also doesn't have elide support.
2024-10-25 12:11:13 -04:00
ShaopengLin
134be31c67
Custom Paint Suggestion Icon&Text Spacing
...
Qt does not provide css style or API for modifying icon and text spacing in QTreeView. This is a long issue in buttons as well, as Qt draws icon and texts instead of having them as widgets that can be applied styles.
2024-10-25 12:11:13 -04:00
ShaopengLin
32803df471
Fix Qt6 Compilation Failure.
...
Since Qt6, forward declaration doesn't work for QList template.
2024-10-25 12:11:13 -04:00
ShaopengLin
42bd6d6136
Proper Hover Style to Suggestion Items
2024-10-25 12:11:13 -04:00
ShaopengLin
da1faa6b24
Proper Size for Suggestion View
...
Header&Row evenly spread with fixed height.
2024-10-25 12:11:13 -04:00
ShaopengLin
4132cb0dde
Align Search Suggestion with Line Edit
2024-10-25 12:10:43 -04:00
ShaopengLin
d80ba1f012
Consistent Left&Right Margin for SearchBar
2024-10-23 15:43:20 -04:00
ShaopengLin
de76432f7d
Enter KiwixApp::getSearchBar()
...
Refactor to reduce getter chaining length
2024-10-23 15:43:03 -04:00
ShaopengLin
c5f4c4df88
Introduce src/css_constants.h
...
Effort to reduce css value dependency
2024-10-23 15:42:13 -04:00
Kelson
adfd924a28
Merge pull request #1222 from kiwix/translatewiki
...
Localisation updates from https://translatewiki.net .
2024-10-21 23:11:47 +02:00
translatewiki.net
f824aab850
Localisation updates from https://translatewiki.net .
2024-10-21 20:42:02 +02:00
Kelson
c6ea91fc9a
Merge pull request #1224 from kiwix/Issue#413-endless-search-suggestuon
...
Implement Endless Zim Search Suggestions
2024-10-21 20:41:05 +02:00
ShaopengLin
9982a22df7
Fix Suggestion Flickering when Typing
...
setCompleter call setCompletionPrefix on typing which flicker
2024-10-21 14:16:15 -04:00
ShaopengLin
ec39c09979
BugFix openCompletion Connected Multiple Times
...
Focus event can happen more than once.
2024-10-21 14:16:15 -04:00
ShaopengLin
2fabf3b065
Replace m_completer.popup() with m_suggestionView
2024-10-21 14:16:15 -04:00
ShaopengLin
ff50e9d870
Introduce Kiwix Search Header
2024-10-21 14:16:15 -04:00
ShaopengLin
951917f14d
Make First Row Visible on Suggestion Popup
...
Before, view scroll to row based on prefix match
2024-10-21 14:16:15 -04:00
ShaopengLin
a59aacbc47
Fetch Only When More Suggesion Exist
2024-10-21 14:16:15 -04:00
ShaopengLin
ca2021e56f
Correctly handle Endless w/Fulltext
...
Fetch offset and model removal requires this.
2024-10-21 14:16:15 -04:00
ShaopengLin
f44ab97c69
Endless Suggestion Key Scrolling compatible
...
Down/Page_Down Key press correctly fetches.
2024-10-21 14:16:15 -04:00
ShaopengLin
d22a922b5b
Introduce Endless Suggestions
...
Trigger on scroll.
2024-10-21 14:16:15 -04:00
ShaopengLin
f1bcd41e17
Refactor Launching SuggestionListWorker
...
Automatically determine start and allow custom callback. Prepare for endless
2024-10-21 14:16:15 -04:00
ShaopengLin
1ef77f8d84
Refactor SuggestionListWorker
...
Add offset and fetch size, prepare for endless.
2024-10-21 14:16:15 -04:00
ShaopengLin
19bc4960df
Add Suggestion Icon Decoration Role
2024-10-21 14:16:15 -04:00
ShaopengLin
6130dd6424
Enter Library::getBookIcon()
...
Refactor to simplify book icon retrieval
2024-10-21 14:16:15 -04:00
ShaopengLin
14bfad65a1
Introduce SearchBarLineEdit::getDefaultSuggestionIndex
...
Remove unecessary checks and prevent misuse if openCompletion.
2024-10-21 14:16:15 -04:00
ShaopengLin
8d3d5ecb88
Remove redundant openCompletion(str, int)
...
Data required can be retrieved from model.
2024-10-21 14:16:15 -04:00
ShaopengLin
8f3d97fce0
Move SearchBarLineEdit urlList to SuggestionListModel
...
More cohesive design to utilize new model's index data.
2024-10-21 14:16:15 -04:00
ShaopengLin
6e1e0b8c60
Introduce suggestionlistmodel.{h, cpp}
...
Allow future customizing of suggestions.
2024-10-21 14:16:15 -04:00
Kelson
bdae5456c1
Merge pull request #1221 from kiwix/feature/server-ipv6-support
...
Add ipv6 support to local server
2024-10-20 15:42:35 +02:00
sgourdas
f2bbdd6c87
Exclude link local ips from local server
2024-10-20 14:42:43 +03:00
sgourdas
645f4ef53c
Add ipv6 support to server
2024-10-20 14:42:41 +03:00
Kelson
b2c7e94cf0
Merge pull request #1220 from kiwix/feature/libkiwix-sync
...
Add support for new getBestPublicIp
2024-09-29 13:49:45 +00:00
sgourdas
72d4356ac1
Add support for new getBestPublicIp
2024-09-29 12:25:27 +03:00
Kelson
3a82b9b145
Merge pull request #1207 from kiwix/translatewiki
...
Localisation updates from https://translatewiki.net .
2024-09-27 07:42:24 +00:00
translatewiki.net
aa2ad91bc1
Localisation updates from https://translatewiki.net .
2024-09-26 14:07:49 +02:00
Kelson
13bbd77e59
Merge pull request #1215 from kiwix/feature/network-popup
...
Fix network share launch popup
2024-09-23 16:53:27 +00:00
sgourdas
10f3f5cfbb
Fix network share launch popup
2024-09-23 16:46:28 +00:00
Kelson
b566d87aa4
Merge pull request #1213 from kiwix/kiwix2libkiwix_transition
...
libkiwix now identifies itself as libkiwix
2024-09-23 16:42:27 +00:00
Veloman Yunkan
482e4c6dfd
Fixed CI build
...
In CI build, dependencies are put in the build install location rather than
in the system libs directory, hence that path must be included in the
search for shared libraries.
The problem seems to have been triggered by recent change in the
libkiwix.pc pkg-config file which resulted in the version of some
of libkiwix dependencies (recorded in libkiwix.so) being bumped up.
As a result, previous/older versions of those dependencies embedded in
the CI build docker image
(ghcr.io/kiwix/kiwix-build_ci_focal:2024-06-03) no longer matched the
requirements of libkiwix.so, whereas the up-to-date versions of those
dependencies (that are downloaded during each build procedure) were not
used because they were not in the search path.
2024-09-23 17:59:13 +04:00
Veloman Yunkan
268363f2fd
libkiwix now identifies itself as libkiwix
2024-09-23 17:59:13 +04:00