Changeset 160531 in webkit


Ignore:
Timestamp:
Dec 13, 2013 12:16:37 AM (10 years ago)
Author:
Martin Robinson
Message:

Adding a .ycm_extra_conf file for webkitGtk
https://bugs.webkit.org/show_bug.cgi?id=119618

Patch by Martin Robinson <mrobinson@igalia.com> and Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk> on 2013-12-11
Reviewed by Gustavo Noronha Silva.

Added a YouCompleteMe flag discovery script for Vim and the GTK+ port. The script
read the GTK+ build files to determine dynamically what flags to compile a source
file with. This allows Vim to provide auto-complete for C++/C language. See
https://github.com/Valloric/YouCompleteMe for how to use this file.

.:

  • .gitignore: Ignore the YCM symlinks in the tree.

Tools:

  • gtk/common.py:

(get_build_path): Added a fatal argument to build_path to avoid crashing YCM on failure.

  • gtk/ycm_extra_conf.py: Added.
Location:
trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/.gitignore

    r147895 r160531  
    118118.cproject
    119119.settings
     120
     121# Ignore YouCompleteMe symlinks
     122.ycm_extra_conf.py
  • trunk/ChangeLog

    r160482 r160531  
     12013-12-11  Martin Robinson  <mrobinson@igalia.com> and Danilo Cesar Lemes de Paula  <danilo.cesar@collabora.co.uk>
     2
     3        Adding a .ycm_extra_conf file for webkitGtk
     4        https://bugs.webkit.org/show_bug.cgi?id=119618
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        Added a YouCompleteMe flag discovery script for Vim and the GTK+ port. The script
     9        read the GTK+ build files to determine dynamically what flags to compile a source
     10        file with. This allows Vim to provide auto-complete for C++/C language. See
     11        https://github.com/Valloric/YouCompleteMe for how to use this file.
     12
     13        * .gitignore: Ignore the YCM symlinks in the tree.
     14
    1152013-12-12  Zan Dobersek  <zdobersek@igalia.com>
    216
  • trunk/Tools/ChangeLog

    r160520 r160531  
     12013-12-11  Martin Robinson  <mrobinson@igalia.com> and Danilo Cesar Lemes de Paula  <danilo.cesar@collabora.co.uk>
     2
     3        Adding a .ycm_extra_conf file for webkitGtk
     4        https://bugs.webkit.org/show_bug.cgi?id=119618
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        Added a YouCompleteMe flag discovery script for Vim and the GTK+ port. The script
     9        read the GTK+ build files to determine dynamically what flags to compile a source
     10        file with. This allows Vim to provide auto-complete for C++/C language. See
     11        https://github.com/Valloric/YouCompleteMe for how to use this file.
     12
     13        * gtk/common.py:
     14        (get_build_path): Added a fatal argument to build_path to avoid crashing YCM on failure.
     15        * gtk/ycm_extra_conf.py: Added.
     16
    1172013-12-12  Tim Horton  <timothy_horton@apple.com>
    218
  • trunk/Tools/gtk/common.py

    r155918 r160531  
    3737
    3838
    39 def get_build_path(build_types=('Release', 'Debug')):
     39def get_build_path(build_types=('Release', 'Debug'), fatal=True):
    4040    global build_dir
    4141    if build_dir:
     
    7777
    7878    print('Could not determine build directory.')
    79     sys.exit(1)
     79    if fatal:
     80        sys.exit(1)
    8081
    8182
Note: See TracChangeset for help on using the changeset viewer.