Igor Kushnir
5034348c1a
Allow silencing failed-loading-resource warnings
...
When a referenced audio resource is not found in a DSL or XDXF
dictionary, GoldenDict searches for this resource by filename in all
other dictionaries within the current group. Naturally, the file is
absent from most dictionaries (see #970 ). Therefore a "Failed loading
resource" warning is printed for almost every dictionary in the current
group.
These warnings are by far the most frequent on my system. And in the
scenario described above there is nothing wrong at all. So the user may
want to silence these warnings to help notice less frequent and more
important messages. Implement categorized logging to enable this
customization. These warnings can now be disabled by adding the
following line in the [Rules] section of a logging configuration file
(e.g. ~/.config/QtProject/qtlogging.ini on GNU/Linux):
goldendict.dictionary.resource.warning=false
See also https://doc.qt.io/qt-5/qloggingcategory.html#logging-rules
2022-11-25 22:48:38 +03:00
Abs62
e333a03d7c
Full-text search: Use separate thread pool for search requests
2022-09-06 17:40:22 +03:00
Abs62
247a076371
XDXF: Fix indexing of the dictionaries with empty "abbreviation" field (issue #1132 )
2019-03-17 23:04:14 +03:00
Abs62
d7bc012411
Add option to ignore diacritics while articles search
2018-06-13 19:00:42 +03:00
Abs62
fd00e9d156
Fix gcc 7.3 compiler warnings (#issue 978)
2018-05-21 18:32:04 +03:00
Abs62
5fa5cc123f
Full-text search: Allow ignore diacritics while search
2018-04-10 17:49:52 +03:00
Abs62
cdf2c0d404
Add option to ignore words order while full-text search
2017-07-25 18:28:29 +03:00
Abs62
af0a6f42cc
Correct some log messages
2017-06-22 18:02:04 +03:00
Abs62
eb78238f25
Add support for split zip files
2017-04-24 17:42:01 +03:00
Abs62
499a683537
XDXF: Fix reading for non-Latin charactera while compiled with Qt 5.x
2016-05-29 12:38:50 +03:00
Abs62
e24de4d881
Merge branch 'Original' into Qt4x5
...
Conflicts:
xdxf2html.cc
2015-10-14 18:23:46 +03:00
Abs62
b4bb1e9635
Allow search of audio files in sound dictionaries for Xdxf and Stardict-xdxf dictionaries
2015-08-01 13:38:39 +03:00
Abs62
043a10cc98
XDXF: Fix handling of "revision" attribute and "iref" tag
2015-07-07 18:02:06 +03:00
Abs62
4b8de48e5c
Merge branch 'Original' into Qt4x5
2014-11-27 18:53:52 +03:00
Abs62
83397ce8d5
DSL: Exclude tags [s], [url], [video], [preview] from indexing for full-text search
2014-11-22 17:22:04 +03:00
Abs62
b9666f7f9f
Merge branch 'Original' into Qt4x5
...
Conflicts:
bgl_babylon.cc
2014-05-12 18:10:26 +04:00
Abs62
e2e4a6977c
Mac-specific: Fix some warnings while compile under MacOS
2014-05-12 17:46:33 +04:00
Abs62
4120213ee8
Rename "DPRINTF" and "FDPRINTF" debug macro
2014-05-11 01:02:31 +04:00
Abs62
9c319da834
Merge branch 'Original' into Qt4x5
...
Conflicts:
dictserver.cc
2014-05-10 00:05:07 +04:00
Abs62
055ae55abd
Full-text search: Special handling for CJK chars
2014-05-08 16:38:00 +04:00
Abs62
273b1b5757
Merge branch 'Original' into Qt4x5
...
Conflicts:
articleview.cc
btreeidx.cc
2014-05-05 21:31:16 +04:00
Abs62
488286a75f
Some more errors handling
2014-04-25 17:13:56 +04:00
Abs62
fbcaf7c2cb
Some more error handling
2014-04-24 22:50:47 +04:00
Abs62
10532279b1
Merge branch 'Original' into Qt4x5
...
Conflicts:
article_netmgr.cc
mainwindow.cc
2014-04-23 18:16:06 +04:00
Abs62
fd1d035c01
Add full-text search tuning tab to preferences dialog
2014-04-17 18:31:51 +04:00
Abs62
9ad0d5f985
Implement full-text search
2014-04-16 20:18:28 +04:00
Abs62
0fa4087b38
Merge branch 'Original' into Qt4x5
...
Conflicts:
goldendict.pro
mainwindow.cc
zim.cc
zipsounds.cc
2014-02-11 23:39:31 +04:00
Abs62
0c2b182647
Handle 1-bit black/white TIFF images without photometric interpretation tag
...
(QImage don't handle such images)
2014-02-11 18:02:00 +04:00
Abs62
34271ecc1d
Merge branch 'Temp' into Qt4x5
...
Conflicts:
article_maker.cc
article_netmgr.cc
articleview.cc
forvo.cc
goldendict.pro
hotkeywrapper.cc
hunspell.cc
mainwindow.cc
2013-12-18 19:09:48 +04:00
Abs62
49b9ef7799
XDXF: Fix show of dictionary description
2013-11-21 19:03:43 +04:00
Abs62
444938a330
Fix logging to file UTF-8 encoded messages
2013-11-16 22:34:09 +04:00
Abs62
1f87d8a911
Merge branch 'master' into Qt4x5
...
Conflicts:
btreeidx.cc
goldendict.pro
lsa.cc
mouseover.cc
sounddir.cc
xdxf2html.cc
2013-09-27 17:03:27 +04:00
Abs62
4a414adfdc
Some more unhandled exceptions
2013-09-24 17:56:47 +04:00
Abs62
c7b04526d2
Possibility to log GD console messages into file "gd_log.txt" in GD config directory. Activated by "--log-to-file" key in command line.
2013-09-20 18:25:44 +04:00
Timon Wong
e09ca5402d
Merge branch 'master' into qt4x5
...
Conflicts:
goldendict.pro
2013-08-19 10:54:38 +08:00
Tvangeste
148fd1f275
Fix compilation failures with Visual C++ 2012 (issue #375 )
2013-08-07 20:29:36 +02:00
Timon Wong
ee0fc80001
Merge branch 'master' into qt4x5
...
Conflicts:
articleview.cc
btreeidx.cc
goldendict.pro
mediawiki.cc
2013-08-02 17:00:16 +08:00
Tvangeste
99526b98d3
Fix compilation errors on Qt 4.5
2013-07-18 15:02:39 +02:00
Timon Wong
6ed3f5bec5
Merge branch 'master' into qt4x5
2013-06-16 15:54:05 +08:00
Abs62
f79129c9de
Enhanced XDXF support (by soshial)
2013-06-15 12:55:15 +04:00
Timon Wong
1d85f1b359
#212 : Scratch, currently works under windows, for both Qt4 and Qt5
2013-05-30 21:24:21 +08:00
Timon Wong
2d11703c0b
XDXF: Fix infinite loop for malformed files. (Issue #319 )
2013-05-20 23:37:03 +08:00
Abs62
2d76ced4d3
Handle dictzip errors without program termination (Fix issue #207 )
2013-03-15 16:27:32 +04:00
Tvangeste
05070b4fc8
Eliminate some compiler warnings (in Release mode).
2013-02-04 14:46:52 +01:00
Tvangeste
9faf843ab7
Part of work for #212 : Make GD source to be ready for Qt5.
...
Replaced deprecated to/fromAscii with to/fromLatin1
2013-02-03 21:19:55 +01:00
Abs62
dacc4779db
Rework custom dictionary icons handling
2012-12-03 16:47:43 +04:00
Abs62
af7947f163
Fix commit e6457a1e
(enable edit only dsl and xdxf dictionaries)
2012-11-29 21:12:54 +04:00
Abs62
2a215927ce
Fix some warnings
2012-10-31 17:58:35 +04:00
Abs62
6f56a1c374
Show decription for XDXF dictionaries
2012-09-07 15:51:42 +04:00
Abs62
8bfec337da
Fix 64-bit compilation
2012-02-09 00:21:26 +04:00