743 Commits

Author SHA1 Message Date
Matthieu Gautier
2289a633b9 Adapt kiwix-desktop to new libkiwix's headers. 2021-07-08 10:24:04 +02:00
Kelson
57162a79ed
Merge pull request #649 from kiwix/use_suggestionItem_methods
Use SuggestionItem class methods getTitle() and getPath()
2021-05-28 10:13:55 +02:00
Maneesh P M
bad3a33902 Use SuggestionItem class methods getTitle() and getPath()
We now have a new class SuggestionItem to handle suggestions in
libkiwix. We should should its class methods here as well.
2021-05-28 13:35:06 +05:30
Antoine Goutenoir
d89fc15a0d
feat: bind backward & forward mouse buttons to web history (#646) 2021-05-25 14:37:21 +02:00
HanYoung-uwu
20a66f9f99
add version and help commandline options (#631) 2021-05-19 14:27:18 +02:00
Kelson
a8bebb963f
Merge pull request #645 from kiwix/libkiwix-not-kiwixlib
Kiwix-lib has been renamed to Libkiwix
2021-05-19 07:12:26 +02:00
Emmanuel Engelhart
7f03e3eee0 Kiwix-lib has been renamed to Libkiwix 2021-05-18 13:23:49 +02:00
Matthieu Gautier
c6594afe05
Merge pull request #634 from HanYoung-uwu/work/filedialog 2021-05-18 11:14:26 +02:00
Han Young
250bf5e62a efficiency fixes 2021-05-18 16:24:59 +08:00
Han Young
11b2351c68 don't set Windows style 2021-05-18 16:22:33 +08:00
translatewiki.net
e8b2e9f687
Localisation updates from https://translatewiki.net. (#629) 2021-04-29 18:18:06 +02:00
Matthieu Gautier
93c90032d3
Merge pull request #628 from kiwix/fix_pagination
Fix pagination by setting pageLength properly
2021-04-27 11:35:37 +02:00
Maneesh P M
e738905223 Fix pagination by setting pageLength properly
The pageLength parameter of kiwix::SearchRenderer is not set properly
which causes it to take an arbitrary large value breaking pagination.

The solution is to use the same convention as kiwix-serve. Try to read
the pageLength from query if found, else use a default value of 25. Use
this pageLength to find end. Use renderer.setPageLength() method to set
the pageLength properly.
2021-04-22 12:38:58 +05:30
Matthieu Gautier
1d8c556075
Merge pull request #627 from kiwix/rollback-616
Revert "Reorder include to avoid header conflict beetween Xapiand and…
2021-04-12 15:11:40 +02:00
Emmanuel Engelhart
5881c3ef9f Revert "Reorder include to avoid header conflict beetween Xapiand and Qt (#616)"
This reverts commit 56bb1a219c91279e10dabff7fc67b21c9cc0e05a.
2021-04-12 13:24:49 +02:00
Kelson
c334da35d0
Localisation updates from https://translatewiki.net. (#619) (#625)
Co-authored-by: translatewiki.net <l10n-bot@translatewiki.net>
2021-04-08 14:24:15 +02:00
translatewiki.net
4b9453e5dc
Localisation updates from https://translatewiki.net. (#619) 2021-04-03 17:31:55 +02:00
Kelson
56bb1a219c
Reorder include to avoid header conflict beetween Xapiand and Qt (#616) 2021-03-19 11:26:28 +01:00
translatewiki.net
139e2457a2
Localisation updates from https://translatewiki.net. (#612) 2021-03-12 07:12:16 +01:00
translatewiki.net
437ed8e793
Localisation updates from https://translatewiki.net. (#610) 2021-03-08 15:58:37 +01:00
Rishabh Soni
28bb88c6d7
Added the feature Alt + <digit> to switch between tabs using QAction::data() (#567) 2021-03-07 07:55:57 +01:00
translatewiki.net
13aa27d4fb
Localisation updates from https://translatewiki.net. (#599) 2021-03-04 15:34:40 +01:00
Alexander Sashnov
33ea0ff471
Fixes #604 - Prepend / to an article path to make QUrl parser happy (#606) 2021-03-04 06:49:47 +01:00
Matthieu Gautier
c70ad07994
Merge pull request #608 from kiwix/kelson42-patch-1
Need libkiwix 10.0.0
2021-03-02 10:22:44 +01:00
Kelson
6a91650909
Need libkiwix 10.0.0 2021-03-02 07:52:28 +01:00
Kelson
0183274f8a
Merge pull request #573 from kiwix/454-moving-tabs
#454 Allow to move tabs
2021-02-24 13:02:00 +01:00
Alexander Sashnov
6fe7e7487c Fixes #454 - Allow to move tabs
* the Library tab isn't necessary the first tab;
* moving the Library tab is possible, but prohibited in TabBar::onTabMoved()
* Tabbar uses qobject_cast<> to recognize tab types
  instead of previously used settings and library (always 0) tab indexes.
2021-02-24 17:20:00 +07:00
Alexander Sashnov
639f8dd5f5 Illiminate Tabbar::widget method;
Fix potential segfault when settings tab is open and closing by zim ID
2021-02-24 16:59:45 +07:00
Alexander Sashnov
f576df02fd be clear about which pointer we get (instead of 'auto') 2021-02-24 16:59:45 +07:00
Alexander Sashnov
ab83c930ef gitignore: ignore .user (QtCreator local user settings, not portable) 2021-02-24 16:59:45 +07:00
Matthieu Gautier
4a37fb71d2
Merge pull request #538 from kiwix/358-fade-out-text-in-tabs-title
Fixes #358 - fade-out instead elide text (trim with...) in tabs
2021-02-22 16:57:09 +01:00
Alexander Sashnov
7252b1b346 Fixes #358 Fade-out tab title instead of cropping with ... 2021-02-21 23:37:22 +07:00
Kelson
ca776b467e
Merge pull request #593 from kiwix/translatewiki
Localisation updates from https://translatewiki.net.
2021-02-11 19:24:08 +01:00
translatewiki.net
d644c99b58 Localisation updates from https://translatewiki.net. 2021-02-11 18:51:57 +01:00
Kelson
d1406012fd
Merge pull request #589 from kiwix/https-library-link
Https library link
2021-02-04 14:21:59 +01:00
Emmanuel Engelhart
4e007146d7 Use OPDS stream via HTTPs 2021-02-04 12:57:35 +01:00
Emmanuel Engelhart
95914e46a8 Use https:// to downlaod the favicon online 2021-02-04 12:57:35 +01:00
Emmanuel Engelhart
732c6c3904 Screenshot links with https:// 2021-02-04 12:57:35 +01:00
Emmanuel Engelhart
0e82bd44a9 About links with https:// if possible 2021-02-04 12:57:35 +01:00
translatewiki.net
d578f527fc
Localisation updates from https://translatewiki.net. (#586) 2021-02-04 12:56:46 +01:00
Kelson
cb5cfdceaf
Merge pull request #585 from kiwix/mooc-category
Mooc category
2021-01-29 13:20:06 +01:00
Emmanuel Engelhart
34d99c8709 Update category labels 2021-01-29 13:14:00 +01:00
Emmanuel Engelhart
4223f6d084 Add 'mooc' category 2021-01-29 13:09:16 +01:00
Rishabh Soni
73aae9a610
Fixed bug : Crash on closing empty tab after Settings opened. (#577)
Just one little change was needed, the setSelectionBehaviorOnRemove() function was to be executed before comparing the index with m_settingsIndex.
2021-01-28 21:15:42 +01:00
translatewiki.net
f91f4b15d9
Localisation updates from https://translatewiki.net. (#584) 2021-01-28 21:14:39 +01:00
Matthieu Gautier
af5182eea1
Merge pull request #581 from HanYoung-uwu/applyLanguageFilterToLocalLibrary
apply language filter to local library
2021-01-28 14:10:35 +01:00
Han Young
a606265c17 apply language filter to local library 2021-01-27 09:50:48 +08:00
Kelson
3b51e6bf29
Merge pull request #583 from kiwix/570-making-kiwix-accessible-to-screenreaders
Fixes #570 make 'search' and 'Main menu' buttons visible to screen reader
2021-01-25 17:35:20 +01:00
Alexander Sashnov
5d78a0ac42 Fixes #570 make 'search' and 'Main menu' buttons visible to screen reader 2021-01-25 21:39:30 +07:00
Matthieu Gautier
f31d970315
Merge pull request #568 from Saket-07/master 2021-01-13 12:22:19 +01:00