Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main: rbtree based symbol table #2450

Merged
merged 15 commits into from
Apr 4, 2020

Commits on Apr 3, 2020

  1. main: return the index where an item is added by ptrArrayAdd and numA…

    …rrayAdd
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    b47ea13 View commit details
    Browse the repository at this point in the history
  2. main: reimplement corkQueue with ptrArray instead of privately implem…

    …ented dynamically growing array
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    39c6292 View commit details
    Browse the repository at this point in the history
  3. main: convert useCork field of parser bitfields

    To add more features to corkQueue, we need a way
    to specify which feathres of corkQueue enable or not
    from parsers.
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    6b1a862 View commit details
    Browse the repository at this point in the history
  4. rbtree: just import rbtree implementation from https://github.com/for…

    …happy/rbtree (e1e984fcbc17d47a67652bbc6276afe948c7ad55)
    
    The code is not built into ctags binary.
    This commit is for just importing for implementing symbol tables in u-ctags in the future.
    masatake committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    b8d3094 View commit details
    Browse the repository at this point in the history
  5. rbtree: clean up whitespaces

    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    c5f7501 View commit details
    Browse the repository at this point in the history
  6. rbtree: introduce CTAGA_ATTR_ALIGNED(X) macro as a replacement for __…

    …attribute__((aligned(X)))
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    2c2473a View commit details
    Browse the repository at this point in the history
  7. rbtree: introduce new ifdef condition HAVE_STATEMENT_EXPRESSION_EXT

    This one is true is the compiler supports `({...})'.
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    1293d03 View commit details
    Browse the repository at this point in the history
  8. rbtree: check whether typeof C compiler extension is available nor not

    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    7c4980f View commit details
    Browse the repository at this point in the history
  9. rbtree: adapt to ctags coding style

    * provide portable container_of,
    * rename the top-level ifdef conditoin guarding from including .h twice,
    * use CTAGS_INLINE instead of inline for portability, and
    * use CTAGA_ATTR_ALIGNED instead of __attribute__((aligned(sizeof(long)))).
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    b85d98b View commit details
    Browse the repository at this point in the history
  10. rbtree: apply suggestions from code review (for windows)

    `unsigned long` is 32-bit on 64-bit Windows.
    `uintptr_t` should be used instead.
    `uintptr_t` needs stdint.h.
    
    (@masatake edited the commit log)
    k-takata authored and masatake committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    e9626ab View commit details
    Browse the repository at this point in the history
  11. main: compile rbtree.c and link rbtree.o into ctags

    Just integrating into ctags binary.
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    d15237d View commit details
    Browse the repository at this point in the history
  12. main: introduce experimental symbol tables

    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    363a636 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2020

  1. Tex: avoid cross-talking in makeTexTag between Tex parser and its sub…

    …parsers
    
    makeTexTag takes "kind" as an argument.
    The implementation of the function assumes the kind is part of Tex
    parser.  However, the assumption is wrong for the subparsers of Tex.
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    ed56508 View commit details
    Browse the repository at this point in the history
  2. Tex: capitalize the first word in a comment

    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    6d8a923 View commit details
    Browse the repository at this point in the history
  3. TexBeamer: make at most one tag for frametitles having the same name

    Close universal-ctags#2421.
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    f67e271 View commit details
    Browse the repository at this point in the history