Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jul 28, 2009
  1. Add verbose option to built in git commit.

    Pistos authored
Commits on Jun 2, 2009
  1. @jonas

    Build with asciidoc-8.4.5

    jonas authored
    This version seems to be stricter about presubs attributes:
    
    asciidoc -aversion=0.14.1-28-gac66fdb -asysconfdir=/usr/local/etc -b docbook -d manpage tigrc.5.txt
    ERROR: tigrc.5.txt: line 12: malformed presubs attribute: normal
    ERROR: tigrc.5.txt: line 41: malformed presubs attribute: normal
    ERROR: tigrc.5.txt: line 149: malformed presubs attribute: normal
    ERROR: tigrc.5.txt: line 366: malformed presubs attribute: normal
    make: *** [tigrc.5.xml] Error 1
    
    Based on patch by Ingmar Vanhassel.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Commits on Apr 13, 2009
  1. @tokkee @jonas

    Fixed some uninitialized variable warnings

    tokkee authored jonas committed
    GCC 4.3.3, when used with -Wall, emits warnings that those variables "may be
    used uninitialized in this function".
    
    Signed-off-by: Sebastian Harl <sh@tokkee.org>
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  2. @jonas

    Allow multiple text attributes for color commands

    jonas authored
    This also fixes lazy behavior so that setting the cursor color no longer
    automatically sets the text to bold.
Commits on Feb 26, 2009
  1. @jonas
Commits on Feb 25, 2009
  1. @tischwa @jonas

    Make height of split view configurable

    tischwa authored jonas committed
    Signed-off-by: Tilo Schwarz <tilo@tilo-schwarz.de>
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  2. @jonas
Commits on Feb 22, 2009
  1. @jonas

    Fix memory allocation check in open_commit_parent_menu

    jonas authored
    The check was not converted when the code was moved to a separate
    function before the commit. To test the menu using the tig repository
    start tig using:
    
    	tig blame cf63d30 Makefile
    
    Then go to line 80 (type ":80<enter>") and press the key for moving to
    the parent (bound to ',' by default).
  2. @jonas
  3. @jonas

    Add simple support for showing menues and use it for showing option menu

    jonas authored
    The general goal is to have certain lesser used options not take up a
    key for toggling.
Commits on Feb 21, 2009
  1. @jonas
  2. @jonas

    Fix reloading of references to not cause access to freed memory

    jonas authored
    Make the allocation of refs stable across reloads (of either the main,
    branch or log view) by changing the storage method and introducing a
    struct ref_list to keep track of lists of references.
    
    read_ref now always scans the already allocated refs. To speed this up
    keep the list sorted and use binary search when inserting and updating.
  3. @Oblomov @jonas

    Predefined external command: git commit

    Oblomov authored jonas committed
    Status view allows management of the stage area, and the user is likely
    to issue a commit as soon as (s)he's satisfied with the result. Mapping
    'git commit' to the 'C' key in status view makes this straightforward
    and allows a very streamlined workflow from within git.
    
    Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  4. @Oblomov @jonas

    Fix previous/next with branch+main view

    Oblomov authored jonas committed
    If the main view was opened as a child window of branch view, the
    previous/next key would scroll the child window instead of the parent
    one, which was not consistent with other dual-window situations.
    
    Fix by checking for a branch+main too when delegating the request.
    
    Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  5. @jonas
  6. @jonas
  7. @jonas
Commits on Feb 20, 2009
  1. @jonas
  2. @jonas
  3. @jonas

    Add primitive branch view

    jonas authored
    For now it let's you browse the branches and choose one to show in the
    main view.
  4. @peff @jonas

    Add missing NULL in blame_grep

    peff authored jonas committed
    Commit 436674f introduced a grep_text utility function which
    takes a NULL-terminated list; the callsite in blame_grep
    forgot to put in a NULL, leading to segmentation faults.
    
    Signed-off-by: Jeff King <peff@peff.net>
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Commits on Feb 19, 2009
  1. @jonas

    Fix a potential problem with reading tokens larger then BUFSIZ

    jonas authored
    If io_get() is not able to find the end marker it will go into
    an infinite loop. To fix this make it possible to reallocate and
    increase the buffer if necessary.
    
    To avoid problems with callers reading into a stack allocated buffer,
    change these to no longer use the "zero-copy" strategy. This in turns
    cleans the callers up a bit.
  2. @jonas

    Update the current branch information when reloading all references

    jonas authored
    Fixes problem of improper highlighting of current branch after switching
    branch and reloading.
Commits on Feb 18, 2009
  1. @jonas

    Define an allocator for run requests

    jonas authored
    Comparing the size of the binary before and after this change, shows
    that the size does not increase when -02 is used.
  2. @jonas
  3. @jonas

    Make the granular allocators more customizable using macros

    jonas authored
    Add a DEFINE_ALLOCATOR macro which can be used to define a custom
    allocator which is more type safe than the current realloc_items and
    which removed the need for using temporary variables for holding the
    newly allocated chunk. The custom allocator also allows the allocation
    granularity to be tweaked to the need of the user instead of being
    hardcoded to 256 chunks for all.
Commits on Feb 17, 2009
  1. @jonas

    Define a tree_grep and fixing searching

    jonas authored
    It was broken by the move to the annotated tree view.
  2. @jonas
  3. @jonas

    Reduce memory and startup time by storing author times as time_t

    jonas authored
    Which means that drawing will have to do some more formatting, however,
    the startup time is shorter since gmtime_r() is no longer called. Same
    repository as last commit.
    
    18980 fonseca   20   0 17776  15m  872 S    0  0.8   0:01.26 tig
    18630 fonseca   20   0 23224  20m  868 S    0  1.0   0:01.26 tig-0.14.1
  4. @jonas

    Add small cache for author names to reduce memory foot-print

    jonas authored
    Numbers from an old linux kernel repository with 2740 unique authors
    shows that it takes a little longer time to start up but the gain is
    quite good. Furthermore, it lifts the name length restriction.
    
    18191 fonseca   20   0 19712  17m  872 S    3  0.8   0:01.34 tig
    18180 fonseca   20   0 23224  20m  868 S    0  1.0   0:01.26 tig-0.14.1
Commits on Feb 15, 2009
  1. @jonas

    tig-0.14.1

    jonas authored
  2. @jonas
  3. @jonas
  4. @jonas
Something went wrong with that request. Please try again.