Permalink
Commits on Feb 18, 2012
Commits on Feb 5, 2012
  1. Add whatis(1) replacement. Change makemandb section to 8.

    jsonn committed with abhinav-upadhyay Feb 4, 2012
    Fix various bugs in it. Refactor error handling.
Commits on Feb 2, 2012
  1. Ignore stopwords.c

    jsonn committed with abhinav-upadhyay Feb 1, 2012
  2. Fix typo in comment

    jsonn committed with abhinav-upadhyay Feb 1, 2012
Commits on Feb 1, 2012
  1. Since, rec.section is memset to 0 in the beginning, there is no need to

    abhinav-upadhyay committed Feb 1, 2012
    explicitly set the nul byte in set_function().
  2. Update comment.

    abhinav-upadhyay committed Feb 1, 2012
  3. Avoid an unnecessary call to memcpy for copying one byte.

    abhinav-upadhyay committed Feb 1, 2012
    Also, as we know in advance that the section number of a man page will take
    only two bytes, declare it as char section[2], rather than allocating memory
    for it on the heap each time.
    
    Rename the functions get_section(), get_machine() to set_section(),
    set_machinei() respectively. This seems more consistent, since we are setting
    the values of rec->section and rec->machine.
  4. Missing semi colon.

    abhinav-upadhyay committed Feb 1, 2012
Commits on Jan 31, 2012
  1. Merge pull request #5 from abhinav-upadhyay/master

    jsonn committed Jan 31, 2012
    Patch for avoiding the use of quotes for enclosing the search query
  2. Use set -e, not set -x.

    jsonn committed Jan 31, 2012
  3. Missing ;

    jsonn committed Jan 31, 2012
  4. Change the cleanup order.

    jsonn committed Jan 31, 2012
    First, remove old entries from the meta table. Second, remove entries
    from the index.
Commits on Jan 30, 2012
Commits on Jan 29, 2012
  1. Simplify

    jsonn committed Jan 29, 2012
  2. Fix the handling of Xr macros in pmdoc_Sh().

    abhinav-upadhyay committed Jan 29, 2012
    pmdoc_Sh() calls pmdoc_macro_handler on encountering an .Xr
    macro. pmdoc_macro_handler() parses the data from the child
    node, therefore no need to visit the child node in pmdoc_Sh()
    again. Avoid doing this by using a flag variable.
  3. Specify the size of the section buffers to the sqlite3_bind* functions

    abhinav-upadhyay committed Jan 29, 2012
    since we have this information readily available, this should save some
    processing time.
    
    When no machine architecture is specified in a man page then store
    null as the value of the machine column in the db. (Earlier a blank
    string was being stored).
  4. Simplify

    jsonn committed Jan 29, 2012
  5. strdup -> estrdup

    jsonn committed Jan 29, 2012