Permalink
Commits on Jun 19, 2007
  1. tig-0.8

    jonas committed Jun 19, 2007
Commits on Jun 18, 2007
  1. Fix pager mode regressions

    This fixes both a segfault when starting tig in pager mode, caused by no
    view being setup before calling report(). Introduced in: "Add notice
    about empty pager view" (5c4358d).
    Reported by Lars Noschinski in debian bug 429448.
    
    Also, a fix for actually reading from stdin, caused by comparison of
    view->vid and view->id being reported as equal leading to no actual
    update. Introduced in: "Improve management of view->ref and the title
    line" (035ba11). Now, the title line in
    pager mode will say "stdin" when reading from externally piped input.
    jonas committed Jun 18, 2007
Commits on Jun 4, 2007
  1. Fix (another) integer type mismatch on 64-bit systems

    Similar to previous commit, use int type as the first parameter to
    printf field width specifier (%.*s).
    jonas committed Jun 4, 2007
  2. Fix integer type mismatch on 64-bit systems

    fprintf wants an int parameter for the field width of a "%.*s" expression, but
    the code was passing a size_t instead. This potentially broke systems where
    sizeof(size_t) != sizeof(int). And even on systems where it did't break,
    it still caused a compiler warning.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Steven Grimm committed with jonas Jun 3, 2007
  3. Add TODO about using non-blocking I/O for incremental view loading

    Seems to be the fix for debian bug #427093.
    jonas committed Jun 4, 2007
Commits on Jun 3, 2007
Commits on Jun 2, 2007
  1. Allow CFLAGS to be overridden while preserving VERSION

    If someone defined their own CFLAGS, they would have to include a -DVERSION=
    as well (or else get unknown-version as the version).
    
    Signed-off-by: James Bowes <jbowes@dangerouslyinc.com>
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    James Bowes committed with jonas Jun 2, 2007
  2. Fix wrong uses of string_copy() with pointer instead of buffer

    Follow up to commit 751e27c that
    caused these bugs to be revealed.
    jonas committed Jun 2, 2007
  3. Merge branch 'jn/rpm-updates'

    Conflicts:
    
    	Makefile
    jonas committed Jun 2, 2007
  4. Refresh VERSION file when building distribution tarball in "make dist"

    Overwrite contents of VERSION file from the HEAD revision with the
    current version (at the time of building), so VERSION file in the
    tarball generated by "make dist" (and which follows also rpm package
    generated by "make rpm") is up to date.
    
    Otherwise for example when building rpm it will be compiled with wrong
    version string.
    
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    jnareb committed with jonas Jun 1, 2007
  5. Include documentation sources for rpmbuild with '--without docs'

    This includes _all_ documentation sources (and not only manual.txt) in
    the rpm file build with '--without docs' option.
    
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    jnareb committed with jonas Jun 1, 2007
  6. Remove PDF version of manual from being build and installed

    Because PDF version of "The tig Manual" doesn't offer anything new
    that is not present in HTML version, and building PDF requires
    additional tools (docbook2pdf) and their dependencies present, remove
    it from tig rpm.
    
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    jnareb committed with jonas Jun 1, 2007
Commits on Jun 1, 2007
  1. Fix typo the INSTALL file

    The make command to build the documentation "make install-doc", not
    "make install-docs".
    
    Kindly pointed out by Michael G. Noll.
    jonas committed Jun 1, 2007
Commits on May 31, 2007
  1. Supply explicit permission bits to 'install'

    'install' will install files with permissions set to '0755' if the
    permissions are not specified on the command line.  Having the execute
    bits set on non-executable content is not desireable.  Specify mode
    0644 for non-executable content as well as specify mode 0755 for
    executable content (in case the defaults change or are different on
    different systems).  Also tell 'install' to preserve timestamps.
    
    [ Updated to also do it when installing HTML files. --jonas ]
    
    Signed-off-by: Jeffrey C. Ollie <jeff@ocjtech.us>
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    jcollie committed with jonas May 31, 2007
  2. tig-0.7.git

    jonas committed May 31, 2007
  3. tig-0.7

    jonas committed May 31, 2007
  4. Rename sync-docs to release-doc; add release-dist rule

    Additionally, allow VERSION to be overwritten from the command
    line by setting DIST_VERSION.
    jonas committed May 31, 2007
  5. Various random Makefile cleanups

    jonas committed May 31, 2007
  6. Infrastructure for tig rpm builds

    Adds RPM_VERSION to Makefile and new make targets: tig.spec, dist, and
    rpm. A simple 'make rpm' will build the rpm. Also adds tig.spec.in
    which is used to generate tig.spec.
    
    Accidentally VERSION (and adding -DVERSION=$(VERSION) to CFLAGS) is
    now defined always, even if we do not compile from the "live" tig
    repository.
    
    Minimally tested (meaning "make rpm" from tig repository works).
    
    Signed-off-by: Jakub Narebski <jnareb@gmail.com>
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    jnareb committed with jonas May 31, 2007
  7. Move "static" version info to VERSION file

    Cleanup dynamic version acquiring via git.
    jonas committed May 31, 2007
  8. Add version information to man pages

    Inspired and copied from git 7ef195ba3efe0ffa815e12afc4cb1e39a21ddfb4:
    
        Override the [header] macro of asciidoc's docbook
        backend to add version information to the generated
        man pages.
    
    by Frank Lichtenheld <frank@lichtenheld.de>. Slightly improved to
    use asciidoc {version} macro to avoid having to invoke sed.
    jonas committed May 31, 2007
  9. Add manpage XSL from git and enhance with literallayout fixes

    It ensures that .sp tags will be properly output so they do not appear
    in the rendered manpages. Grabed from git's Documentation/callouts.xsl
    file. From the git's commit 7ef0435088f41165ece95b6f226d3c15438505a5:
    
        This is just a random hack to work around problems people seem
        to be seeing in manpage backend of xmlto (it appears we are
        getting ".sp" at the end of line without line break).
    
    Additionally, output an empty line after literallayout blocks (.nf .fi)
    so that any text following it will appear in a separate block.
    jonas committed May 31, 2007
Commits on May 30, 2007
  1. Add status view

    The new view supports staging, unstaging, and adding of
    untracked files. It is still only very basic. The colors
    might need a few tweaks.
    
    Bound to 'S' by default.
    jonas committed May 30, 2007
  2. main_read: cleanup and simplify

    jonas committed May 30, 2007
Commits on May 29, 2007
  1. Add open method to view_ops

    Use it to turn open_help_view into help_open and make a backend for the
    help view.
    jonas committed May 29, 2007
  2. Add notice about empty pager view

    Similar to notice for blob view, mention when there is no pager content
    to view and suggest the user to open the prompt to run a command.
    jonas committed May 29, 2007
  3. Add notice about empty pager view

    Similar to notice for blob view, mention when there is no pager content
    to view and suggest the user to open the prompt to run a command.
    jonas committed May 29, 2007
  4. Make keybinding reference more dynamic

    It doesn't honor any key map info, however, hardcoding key information
    seems wrong when get_key already exists. Used for the notice when blob
    view is requested and no blob ID has yet been assigned to ref_blob.
    jonas committed May 29, 2007