summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Update Indonesian translationKukuh Syafaat2019-02-011-102/+98
|
* Update Romanian translationDaniel Șerbănescu2019-01-311-103/+99
|
* Update Galician translationFran Dieguez2019-01-281-103/+100
|
* Updated Spanish translationDaniel Mustieles2019-01-281-102/+97
|
* Update Hungarian translationBalázs Úr2019-01-271-288/+100
|
* Added Slovenian translationMatej Urbančič2019-01-251-108/+104
|
* Update Swedish translationAnders Jonsson2019-01-251-102/+98
|
* Move from intltool to gettextKrzesimir Nowak2019-01-249-36/+118
| | | | | | | | | | | | This is to make a migration from autotools to meson easier. Also, intltool got obsoleted by gettext. There are minor differences in some of the translated files, but functionally it should not make any difference. But why gettext insist on reversing the alphabetic order in the appdata file (so zh_TW comes first and cs comes last) is beyond me. https://gitlab.gnome.org/GNOME/yelp/merge_requests/11
* Simplify desktop file generationKrzesimir Nowak2019-01-246-10/+3
| | | | | | | | | Desktop file was processed twice - by the configure script and by intltool. Configure was putting a yelp version to some bugzilla-related value. Bugzilla is an obsolete bug tracker in GNOME (the project has moved to GNOME gitlab), so the field is also obsolete. With dropping the fields, configure has no business in the desktop file any more.
* Try to fit in a sandboxMatthias Clasen2019-01-231-1/+19
| | | | | | | | When running in another apps sandbox, use an app name that works. This is necessary, because we ship yelp as part of the GNOME Flatpak runtime, and it will be launched inside another applications sandbox to show that applications help.
* Update Japanese translationRyuta Fujii2019-01-231-24/+23
|
* Update Japanese translationRyuta Fujii2019-01-231-212/+218
|
* Remove the unused encoding and language code from YelpManDocumentTomas Popela2019-01-211-75/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Error: UNUSED_VALUE (CWE-563): [#def25] yelp-3.28.1/libyelp/yelp-man-document.c:422: value_overwrite: Overwriting previous write to "encoding" with value from "langmap[i].encoding". yelp-3.28.1/libyelp/yelp-man-document.c:416: assigned_pointer: Assigning value from ""ISO-8859-1"" to "encoding" here, but that stored value is overwritten before it can be used. 414| encoding = g_getenv("MAN_ENCODING"); 415| if (encoding == NULL) 416|-> encoding = "ISO-8859-1"; 417| 418| if (language != NULL) { Error: CLANG_WARNING: [#def26] yelp-3.28.1/libyelp/yelp-man-document.c:416:2: warning: Value stored to 'encoding' is never read encoding = "ISO-8859-1"; ^ ~~~~~~~~~~~~ yelp-3.28.1/libyelp/yelp-man-document.c:416:2: note: Value stored to 'encoding' is never read encoding = "ISO-8859-1"; ^ ~~~~~~~~~~~~ 414| encoding = g_getenv("MAN_ENCODING"); 415| if (encoding == NULL) 416|-> encoding = "ISO-8859-1"; 417| 418| if (language != NULL) { Error: CLANG_WARNING: [#def27] yelp-3.28.1/libyelp/yelp-man-document.c:422:3: warning: Value stored to 'encoding' is never read encoding = langmap[i].encoding; ^ ~~~~~~~~~~~~~~~~~~~ yelp-3.28.1/libyelp/yelp-man-document.c:422:3: note: Value stored to 'encoding' is never read encoding = langmap[i].encoding; ^ ~~~~~~~~~~~~~~~~~~~ 420| for (i = 0; langmap[i].language != NULL; i++) { 421| if (g_str_equal (language, langmap[i].language)) { 422|-> encoding = langmap[i].encoding; 423| break; 424| }
* Remove unused variableTomas Popela2019-01-211-1/+0
| | | | | | | | | | | 4. yelp-3.28.1/libyelp/yelp-info-parser.c:959:2: note: Value stored to 'pages' is never read pages = 0; ^ ~ 957| (GDestroyNotify) gtk_tree_iter_free); 958| 959|-> pages = 0; 960| for (ptr = page_list; *ptr != NULL; ptr++) 961| {
* Check variable before dereferencing itTomas Popela2019-01-211-1/+1
| | | | | yelp-3.28.1/libyelp/yelp-mallard-document.c:341: var_compare_op: Comparing "path" to null implies that "path" might be null. yelp-3.28.1/libyelp/yelp-mallard-document.c:346: var_deref_op: Dereferencing null pointer "path".
* Check the strstr() return value before using itTomas Popela2019-01-211-3/+4
| | | | | | yelp-3.28.1/libyelp/yelp-uri-builder.c:81: returned_null: "strstr" returns null (checked 10 out of 12 times). yelp-3.28.1/libyelp/yelp-uri-builder.c:81: var_assigned: Assigning: "resource" = null return value from "strstr". yelp-3.28.1/libyelp/yelp-uri-builder.c:82: dereference: Incrementing a pointer which might be null: "resource".
* Swap the if() checks to avoid possible null pointer dereferenceTomas Popela2019-01-211-2/+2
| | | | | yelp-3.28.1/libyelp/yelp-transform.c:501: deref_ptr: Directly dereferencing pointer "ctxt". yelp-3.28.1/libyelp/yelp-transform.c:504: check_after_deref: Null-checking "ctxt" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
* Initialize ws_start variable before returning itTomas Popela2019-01-211-1/+1
| | | | | yelp-3.28.1/libyelp/yelp-man-parser.c:1194: var_decl: Declaring variable "ws_start" without initializer. yelp-3.28.1/libyelp/yelp-man-parser.c:1202: uninit_use: Using uninitialized value "ws_start".
* Increase the size of string variables passed to sscanfTomas Popela2019-01-211-2/+2
| | | | | | yelp-3.28.1/libyelp/yelp-man-parser.c:549: error[invalidScanfFormatWidth]: Width 10 given in format string (no. 2) is larger than destination buffer 'name[10]', use %9s to prevent overflowing it. yelp-3.28.1/libyelp/yelp-man-parser.c:926: error[invalidScanfFormatWidth]: Width 16 given in format string (no. 1) is larger than destination buffer 'name[16]', use %15s to prevent overflowing it.
* Avoid possible overrun while comparing to MAN_FONTSTomas Popela2019-01-211-2/+2
| | | | | | | | | yelp-3.28.1/libyelp/yelp-man-parser.c:464: cond_at_most: Checking "k > 8U" implies that "k" may be up to 8 on the false branch. yelp-3.28.1/libyelp/yelp-man-parser.c:469: overrun-local: Overrunning array "parser->font_registers" of 8 8-byte elements at element index 8 (byte offset 64) using index "k" (which evaluates to 8). yelp-3.28.1/libyelp/yelp-man-parser.c:476: assignment: Assigning: "k" = "parser->current_font". yelp-3.28.1/libyelp/yelp-man-parser.c:477: cond_at_most: Checking "k > 8U" implies that "k" and "parser->current_font" may be up to 8 on the false branch. yelp-3.28.1/libyelp/yelp-man-parser.c:477: overrun-local: Overrunning array "parser->font_registers" of 8 8-byte elements at element index 8 (byte offset 64) using index "k" (which evaluates to 8).
* Check whether parser is null before dereferencing itTomas Popela2019-01-211-4/+6
| | | | | yelp-3.28.1/libyelp/yelp-man-parser.c:445: var_compare_op: Comparing "parser" to null implies that "parser" might be null. yelp-3.28.1/libyelp/yelp-man-parser.c:449: var_deref_op: Dereferencing null pointer "parser".
* Check whether the index variable is valid before dereferencing itTomas Popela2019-01-211-2/+1
| | | | | yelp-3.28.1/libyelp/yelp-mallard-document.c:1002: deref_ptr: Directly dereferencing pointer "index". yelp-3.28.1/libyelp/yelp-mallard-document.c:1073: check_after_deref: Null-checking "index" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
* Fix a use of an uninitialized variableTomas Popela2019-01-211-1/+1
| | | | | | | | | | yelp-3.28.1/libyelp/yelp-info-parser.c:1174: var_decl: Declaring variable "menu_node" without initializer. yelp-3.28.1/libyelp/yelp-info-parser.c:1310: uninit_use: Using uninitialized value "menu_node". 1308| else if (*(menuitems[i]) != '\0') { 1309| tmp = g_strconcat ("\n", first_non_space (menuitems[i]), NULL); 1310|-> xmlNewTextChild (mholder ? mholder : menu_node, 1311| NULL, BAD_CAST "para1", 1312| BAD_CAST tmp);
* Check whether variable node is set before dereferencing itTomas Popela2019-01-211-2/+2
| | | | yelp-3.28.1/libyelp/yelp-info-parser.c:766: dereference: Dereferencing a pointer that might be null "node" when calling "strncmp".
* Check whether the index variable is valid before dereferencing itTomas Popela2019-01-211-5/+6
| | | | | | | | | | | yelp-3.28.1/libyelp/yelp-docbook-document.c:1058: check_after_deref: Null-checking "index" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. yelp-3.28.1/libyelp/yelp-docbook-document.c:1026: deref_ptr: Directly dereferencing pointer "index". yelp-3.28.1/libyelp/yelp-docbook-document.c:1054: deref_ptr: Directly dereferencing pointer "index". 1052| if (filename != NULL) 1053| g_free (filename); 1054|-> if (index->doc != NULL) 1055| xmlFreeDoc (index->doc); 1056| if (index->doc_uri != NULL)
* Check whether document has a root element before accessing itTomas Popela2019-01-211-2/+6
| | | | | | | | | | | | | | | | | | | | yelp-3.28.1/libyelp/yelp-docbook-document.c:562:13: note: Access to field 'ns' results in a dereference of a null pointer (loaded from field 'xmlcur') if (priv->xmlcur->ns) { ^ ~~~~~~ 560| * unique value, and insert it into the in-memory tree */ 561| g_snprintf (autoidstr, 20, "//autoid-%d", ++autoid); 562|-> if (priv->xmlcur->ns) { 563| xmlNewNsProp (priv->xmlcur, 564| xmlNewNs (priv->xmlcur, XML_XML_NAMESPACE, BAD_CAST "xml"), yelp-3.28.1/libyelp/yelp-docbook-document.c:608:16: note: Access to field 'children' results in a dereference of a null pointer (loaded from field 'xmlcur') for (cur = priv->xmlcur->children; cur; cur = cur->next) { ^ ~~~~~~ 606| NULL); 607| 608|-> for (cur = priv->xmlcur->children; cur; cur = cur->next) { 609| if (cur->type == XML_ELEMENT_NODE) { 610| priv->xmlcur = cur;
* Add G_GNUC_PRINTF attribute to yelp_debug()David King2019-01-211-1/+2
| | | | Silence a compiler warning.
* Stop using GNOME App Menu deprecated in 3.32Jeremy Bicha2019-01-162-13/+7
| | | | | | https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement Closes: https://gitlab.gnome.org/GNOME/yelp/issues/139
* Replace Bugzilla by Gitlab URL in DOAP fileAndre Klapper2018-12-131-1/+1
|
* Support for keywords in search results for Mallard and DocBookShaun McCance2018-12-035-14/+172
|
* Merge branch 'wip/exalm/icon' into 'master'David King2018-10-305-6/+541
|\ | | | | | | | | | | | | icon: update app icon Closes #138 See merge request GNOME/yelp!5
| * icon: update app iconJakub Steiner2018-10-295-6/+541
|/ | | | | | | | | | - GNOME 3.32 redesign of app icons. See https://gitlab.gnome.org/GNOME/Initiatives/issues/2 for more info. /label ~"9. Initiative: AppIconRedesign" Addresses issue #138
* Update Malayalam translationAnish Sheela2018-10-261-392/+366
|
* Update Norwegian Bokmål translationKjartan Maraas2018-10-091-203/+85
|
* Version 3.30.03.30.0Shaun McCance2018-09-032-1/+16
|
* Updated Danish translationAsk Hjorth Larsen2018-09-021-69/+103
|
* Update Korean translationSeong-ho Cho2018-08-261-208/+204
|
* Update Icelandic translationSveinn í Felli2018-08-171-207/+196
|
* Update Greek translationEfstathios Iosifidis2018-06-221-242/+137
|
* Update Chinese (China) translationMingcong Bai2018-05-281-204/+200
|
* Fix build with GCC 8Michael Catanzaro2018-05-189-14/+14
| | | | | | Yelp enables -Werror by default, so it's responsible for predicting and fixing future compiler warnings that only an oracle could know about. In this case, that turned out to be -Werror=cast-function-type.
* Update Turkish translationEmin Tufan Çetin2018-05-061-52/+88
|
* Fixed typo in Czech translationMarek Cernocky2018-04-241-1/+1
|
* Update Friulian translationFabio Tomat2018-04-191-205/+201
|
* Update French translationGuillaume Bernard2018-04-141-204/+205
|
* Update Hungarian translationGábor Kelemen2018-04-121-205/+203
|
* Version 3.28.13.28.1Kalev Lember2018-04-102-1/+25
|
* appdata: Set compulsory for GNOMEJeremy Bicha2018-04-091-0/+2
| | | | | This makes it unremovable in the GNOME Software app to prevent users from easily breaking their system
* Update Croatian translationgogo2018-04-081-5/+5
|
* Update Latvian translationRūdolfs Mazurs2018-04-011-203/+200
|