Switch branches/tags
Nothing to show
Commits on May 27, 2017
  1. Avoid using the ambiguous \h shorthand character

    Depending on the regular expression engine used, \h does not always
    mean the same. With a PCRE engine, it matches white spaces, whereas,
    with a Oniguruma engine, it matches hexademical digit characters.
    Atom uses an Oniguruma engine, but relies on a PCRE
    pchaigno committed May 27, 2017
Commits on Dec 4, 2016
Commits on Nov 1, 2016
  1. Drop "invalid.illegal.placeholder.c" definition

    It's often misleading (I have plenty of lone %s in strings), and only the
    compiler knows when it's right to complain about an actual format
    string with a bad placeholder.
    kivikakk committed with sorbits Sep 5, 2016
Commits on Oct 18, 2016
Commits on Sep 6, 2016
  1. Move functions to the repository

    This is expected by the other grammars.
    sorbits committed Sep 6, 2016
  2. Update symbols using MacOSX10.11.sdk

    We now include `` so that it’s easier to see what changed since last generation (mainly to ensure we are not missing symbols or similar).
    sorbits committed Sep 6, 2016
Commits on Aug 4, 2016
Commits on Jul 29, 2016
  1. C++ grammar: Add raw string literals (From C++ 11)

    Fixes #22, fixes #30.
    infininight committed Jul 29, 2016
Commits on Apr 2, 2016
Commits on Jan 24, 2016
Commits on Dec 31, 2015
  1. Fix exception when using header completion for untitled documents

    This only affected user headers since here we search current folder but was checking that current folder wasn’t nil rather than the empty string.
    sorbits committed Dec 31, 2015
Commits on Feb 5, 2015
  1. Add syntax highlight for CoreGraphics types

    This includes the fairly ubiquitous CGFloat.
    sorbits committed Feb 5, 2015
Commits on Dec 18, 2014
  1. grammar: Use explicit count modifiers

    The `{,N}` extension is not supported by most Regexp engines, as it is
    an Onigurma-only extension.
    vmg committed with infininight Dec 16, 2014
  2. Don't require whitespace after include directive

    Whitespace is not required to be present for compilation, fixes #23.
    infininight committed Dec 18, 2014
Commits on Nov 19, 2014
  1. Update platform definitions

    sorbits committed Nov 16, 2014
Commits on Nov 16, 2014
  1. Don’t scope for⇥ loop to Objective-C(++)

    There is an NSUInteger-based for loop snippet in the Objective-C bundle.
    sorbits committed Nov 16, 2014
  2. Move symbols from /usr/include to its own Platform grammar file

    This makes it easier to automatically update the grammar.
    sorbits committed Nov 16, 2014
Commits on Jun 18, 2014
  1. Point to ruby 1.8 shim

    Using a shim allows us to catch when 1.8 of ruby is not present and provide other options.
    infininight committed Jun 18, 2014
Commits on May 1, 2014
Commits on Apr 19, 2014
  1. Match ‘final’ and ‘override’ keywords (C++11)

    Also add actual “storage” keyword to the scope name (both these and a few others).
    sorbits committed Apr 19, 2014
  2. Append -assume-filename=<path> to clang-format

    This makes 'file' style to work, as clang-format needs to know file path to
    resolve possible .clang-format style definition files placement.
    nanoant committed with infininight Apr 17, 2014
  3. Improve filename → identifier conversion in snippets

    Also use document’s display name (relevant for untitled documents).
    sorbits committed Apr 19, 2014
Commits on Apr 7, 2014
Commits on Mar 16, 2014
  1. Single quotes are not paired for integer literals

    This way one can add the single quotes while typing without TextMate auto-inserting the end quote.
    With a selection, single quotes are still paired (even when the selection is a string literal), assuming that people want wrapping rather than overwriting.
    sorbits committed Mar 16, 2014
  2. Support binary integer literals and digit separators

    Example: 0b10000000'00000000'00000000'00000000
    I rewrote the pattern to match integer literals so it’s stricter though will still match a partially typed number like ‘0x’ or one with a trailing digit separator (also considered partially typed), although here it marks the trailing separator as invalid.
    sorbits committed Mar 16, 2014
Commits on Sep 25, 2013
  1. Reformat Document using clang-format
    Passes `-style` argument using `TM_CLANG_FORMAT_STYLE` variable, defaulting to LLVM.
    nanoant committed with sorbits Sep 6, 2013
Commits on Sep 5, 2013
Commits on Jul 27, 2013
  1. Use version 1.8 of ruby for bundle items

    10.7 and 10.8 only include ruby 1.8, so all bundle items have been written to work with that. Optionally supporting ruby 1.9 and 2.0 is problematic as these versions are not fully backwards compatible.
    infininight committed Jul 27, 2013
Commits on Jul 21, 2013
  1. Register #if…#else…#endif as highlight pairs

    This is mainly to allow selecting a block with ⇧⌘B.
    sorbits committed Jul 21, 2013
Commits on Jul 3, 2013
Commits on Mar 24, 2013
  1. Use clang as default compiler (⌘R and “Insert Missing Includes”)

    Clang is called via ‘xcrun clang’ so it requires that you have Xcode installed.
    If you wish to use another compiler you can set ‘TM_GCC’ and ‘TM_GXX’ for C/Objective-C and C++/Objective-C++ respectively. This variable is no longer being “shell escaped” (which is what allows setting it to something like ‘xcrun clang’).
    sorbits committed Mar 24, 2013