Kelson
0c7b60c80c
Merge pull request #1134 from kiwix/Issue#77-implement-save-page
...
Implemented Save Page
2024-08-30 11:02:47 +00:00
ShaopengLin
7fcd6b5256
Added Save Page to context menu
2024-08-30 10:41:24 +00:00
ShaopengLin
fc029c7fe3
Sanitizes file name suggestion
...
Convert reserved chars to '_' before parsing
2024-08-30 10:41:24 +00:00
ShaopengLin
3988067dde
Save As remember previous save path
...
Document folder is default.
2024-08-30 10:41:24 +00:00
ShaopengLin
6ff4dff484
Add support to save page
...
Page saved as either pdf or file based on content
2024-08-30 10:41:24 +00:00
ShaopengLin
8877214d2b
Enhance urlschemehandler archive entry retrieval
...
Retrieval function now includes parsing of path. Prepares future change.
2024-08-30 10:41:24 +00:00
Kelson
063b27b2a1
Merge pull request #1190 from kiwix/fix-win-ci-dependency
...
Use fix Windows CI image
2024-08-30 07:41:07 +00:00
Emmanuel Engelhart
43b93636bd
Use fix Windows CI image
2024-08-30 09:33:46 +02:00
Matthieu Gautier
02c7d77025
Merge pull request #1184 from kiwix/fix_static_linking
...
[CI] Compile on Windows
2024-08-22 22:04:37 +02:00
Matthieu Gautier
76d5e4c336
Use last version of github actions
2024-08-22 15:08:07 +02:00
Matthieu Gautier
87c7449262
[CI] Build kiwix-desktop on Windows
2024-08-22 15:08:07 +02:00
Matthieu Gautier
55b058d10e
Fix static linking on Windows
...
On Windows, static libraries are using "foo.lib" naming.
On Unix, they are in the form of "libfoo.a"
On Windows, "foo.lib" can also the definition of symbols in a foo.dll.
So you can link to "foo.lib", whatever you are doing static or dynamic linking and you are good.
However, meson is always creating static library as "libfoo.a"
'to avoid a potential name clash with shared libraries which also generate import libraries with a lib suffix.' [1]
On top of that, qmake is replacing all `-lfoo` in LIBS by `foo.lib` (on Windows).
So at the end, we try to link with `foo.lib` but we have `libfoo.a`
Solution could be :
- Rename `libfoo.a` to `foo.lib`, but it would mean modify deps libraries on the FS
- Don't use LIBS and directly set QMAKE_LFLAGS but we would have to handle different command line option format
between g++/clang and msvc
- Update meson build system of each projet to explicitly set the library naming.
- Replace `-lfoo` with absolute path to static library. This is what meson is doing internally and what
we are doing here
Any `-lfoo` is replace with absolute path to static library (`libfoo.a`) if we found one.
Else, it is keep unchanged.
[1] https://mesonbuild.com/Reference-manual_functions.html#library_name_suffix
2024-08-22 10:53:33 +02:00
Kelson
57dc50f25a
Merge pull request #1169 from kiwix/feature/data-directory
...
Migrate getDataDirectory from libkiwix to kiwix-desktop
2024-08-21 23:51:10 +02:00
sgourdas
9f4d229da6
Migrate getDataDirectory from libkiwix
2024-08-21 23:50:53 +02:00
Matthieu Gautier
61f460261a
Merge pull request #1183 from kiwix/fix_msg_box_lib
2024-08-21 11:07:51 +02:00
Matthieu Gautier
adb948756b
Link with User32 library on Windows
2024-08-21 10:40:48 +02:00
Kelson
2306ddc1ee
Merge pull request #1174 from kiwix/handling_of_invalid_zim_files
...
Handling of invalid ZIM files
2024-08-19 16:00:03 +02:00
Veloman Yunkan
26d3891fa1
Code deduplication in error page generation
2024-08-19 17:26:05 +04:00
Veloman Yunkan
9d6705f580
Set encoding of error pages to UTF-8
2024-08-19 17:26:05 +04:00
Veloman Yunkan
3875a97df2
Consistent capitalization of "ZIM" in i18n files
2024-08-19 17:25:55 +04:00
Veloman Yunkan
920b34a9fd
Handling of invalid ZIM files
...
When trying to display resources from an invalid ZIM file that fail to
be retrieved due to problems with the ZIM data, now an HTML error
page is returned instead. Note that the resource being accessed
may in fact be an image, a CSS or a javascript file and the user may not see
the error (though the appearance of the webpage trying to load and use
that resource will be affected to various degrees).
2024-08-19 17:21:13 +04:00
Matthieu Gautier
4b939e4097
Merge pull request #1182 from kiwix/fix_msg_box
2024-08-19 14:40:42 +02:00
Matthieu Gautier
1854bbabea
Fix variable names.
2024-08-19 13:41:24 +02:00
Matthieu Gautier
250c2ce8c6
Merge pull request #1180 from kiwix/feature/disable-sandbox
2024-08-19 11:43:54 +02:00
sgourdas
ce6cf305c0
Implement popup box for sandbox disable
2024-08-19 12:17:47 +03:00
Kelson
89298378fd
Merge pull request #1178 from kiwix/feature/disable-sandbox
...
Option to disable sandbox on Windows network drive
2024-08-16 04:45:03 +00:00
sgourdas
26f610c830
Option to disable sandbox on Windows network drive
2024-08-16 00:04:07 +03:00
Matthieu Gautier
32f0ee581e
Merge pull request #1176 from kiwix/fix_drive_variable
2024-08-15 13:57:19 +02:00
Matthieu Gautier
14d07e300e
Remove debug printing of the drive letter.
...
On top of this, it was a typo: `driverLetter` doesn't exist.
2024-08-15 10:55:13 +02:00
Kelson
95ec78d626
Merge pull request #1172 from kiwix/fix_include
...
Correctly include stdexcept.
2024-08-14 20:28:18 +00:00
Matthieu Gautier
bdbf6088fe
Correctly include stdexcept.
...
`std::runtime_error` is defined in `<stdexcept>`.
We must correctly include it before using `std::runtime_error`
2024-08-14 20:28:08 +00:00
Kelson
f8890b14fb
Merge pull request #1170 from kiwix/feature/disable-sandbox
...
Disable sandbox when run from Windows network share
2024-08-14 17:13:16 +00:00
sgourdas
6f9d01a282
Disable sandbox when run from Windows shared drive
2024-08-14 17:06:28 +00:00
Veloman Yunkan
e5563dc645
Merge pull request #1076 from kiwix/translatewiki
...
Localisation updates from https://translatewiki.net .
2024-08-13 17:02:32 +04:00
translatewiki.net
ba121e6d94
Localisation updates from https://translatewiki.net .
2024-08-12 14:07:25 +02:00
Kelson
5cc48d783f
Merge pull request #1163 from kiwix/Issue#61-export-bookmark
...
Introduce Ex/Import Reading List
2024-08-11 19:44:16 +02:00
ShaopengLin
3f046466d5
Add default folder for bookmark ex/import
...
Document folder is the default folder to ex/import.
2024-08-11 19:42:50 +02:00
ShaopengLin
a324fd9a3a
Added Ex/Import UI on Reading List
2024-08-11 19:42:50 +02:00
ShaopengLin
a5f225aff1
Bookmark Button Reflect Bookmark Change
2024-08-11 19:42:50 +02:00
ShaopengLin
0f89b34b0e
Add Reading List Import
...
Add menu button to import/append reading list from file
2024-08-11 19:42:50 +02:00
ShaopengLin
b4bbefa5af
Add reading list export
...
Added Menu button to export reading list to file
2024-08-11 19:42:50 +02:00
Kelson
9418f64d5a
Merge pull request #1146 from kiwix/Issue#594-right-to-left-layout
...
Fixed Tab and Bookmark Right to Left Layout Drawing
2024-08-07 20:20:44 +00:00
ShaopengLin
df6560c1a3
Fixed Tab Title Alignment
2024-08-07 15:54:22 -04:00
ShaopengLin
585d29d2aa
Fixed missing/inconsistent Tab Border
2024-08-07 12:29:20 -04:00
ShaopengLin
7de1ec98df
Fixed Bookmark Button padding
...
Aligns left/right padding with top/bottom in LTR/RTL
2024-08-07 12:24:16 -04:00
ShaopengLin
848618e5d3
Tab Title Align Incorrectly in RTL Layout
...
Alignment depends on application layout.
2024-08-07 12:22:02 -04:00
Kelson
f53d7adb1d
Merge pull request #1162 from kiwix/Issue#1145-library-spinner
...
Aligned Library Download Spinner
2024-07-30 07:27:45 +02:00
ShaopengLin
9d3b0f9613
Aligned Library Download Spinner
...
Shited drawing to match Download Button
2024-07-28 17:47:16 -04:00
Kelson
319f9e5d6a
Merge pull request #1132 from kiwix/Issue#1073-file-not-found-page
...
Added Custom File-Not-Found page for Tabs
2024-07-28 22:37:26 +02:00
ShaopengLin
34a4a9ce48
Directory monitoring does not removes zims opened
2024-07-28 15:41:30 -04:00