summaryrefslogtreecommitdiff
path: root/libyelp/yelp-info-parser.c
Commit message (Collapse)AuthorAgeFilesLines
* 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| {
* 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".
* Make yelp_info_parse_menu() staticDavid King2015-10-161-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=756658
* Fix sign comparison warningDavid King2015-02-091-4/+4
|
* Avoid warnings from mixing declarations and codeDavid King2015-02-091-11/+22
|
* Fix unused variable warningsDavid King2015-02-091-1/+1
|
* libyelp: Make some private functions staticDavid King2015-01-281-5/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=720577
* Updated FSF's addressDaniel Mustieles2014-01-311-3/+1
|
* Fix crash on opening any .info docEdward Sheldrake2011-09-051-3/+3
| | | | g_hash_table_lookup_extended was being called with an incorrect argument.
* Fix crash due to access after freeEdward Sheldrake2011-09-051-1/+2
| | | | "next" may point to somewhere inside "url".
* Rewrite the way we read in the info file & calculate nodes' offsets.Rupert Swarbrick2011-05-031-164/+134
| | | | | | This fixes a bug with how node2offset, offsets2pages etc. were calculated when reading in a file with an indirect map. It also makes the logic much simpler and (I think) the code is no less efficient.
* Fix get_value_after in yelp-info-parser.cRupert Swarbrick2011-05-031-26/+43
| | | | | As it was, this was returning silly things for at least the last page of each info file. Also, it had unneccesary string copying.
* Menu formatting.Rupert Swarbrick2010-09-151-8/+30
| | | | | | Checks for general whitespace in menus, so no longer gets confused by tabs. Also, doesn't write the link text twice if the description is identical.
* Render multi-line links correctly.Rupert Swarbrick2010-09-151-33/+17
|
* Parse info files into paragraphs (separated by blank lines).Rupert Swarbrick2010-09-151-212/+242
|
* Display menus as <ul>'s, rather than the original text.Rupert Swarbrick2010-09-151-17/+70
|
* Support for headings in info files.Rupert Swarbrick2010-09-151-20/+153
|
* [libyelp] Adding man page support, some formatting still offShaun McCance2010-06-011-5/+0
|
* [info2html] Link trails in info documentsShaun McCance2010-04-271-2/+11
|
* [libyelp] Adding info documents; still a few problems, but it mostly worksShaun McCance2010-04-261-0/+1298