1. 23 Eyl, 2017 2 kayıt (commit)
  2. 02 Eyl, 2017 1 kayıt (commit)
    • Colomban Wendling's avatar
      Fix the symbols tree hierarchy when several tags have the same name · 6522332b
      Colomban Wendling yazdı
      Fix the symbols tree hierarchy by considering the whole scope when
      adding a tag, avoiding choosing the wrong parent when several tags have
      the same name.  Until now, to avoid such misbehavior we only used to
      choose the parent candidate that appeared last (line-wise) before the
      child.  It works in most typical situations as generally tag names are
      fairly unique, and children appear right after their parent.
      
      However, there are cases that are trickier and cannot be handled that
      way.  In the following valid C++ snippet, it is impossible to know
      whether `function` should be listed under the namespace `A` or the
      class `A` without looking at its full scope:
      
      ```C++
      namespace A {
          namespace B {
              class A {
                  void method() {}
              };
          };
          void function() {}
      };
      ```
      
      And it is a real-world problem for some parsers like the JSON parser
      that generates numeric indices for array elements name, often leading
      to several possibly close duplicates.
      
      Additionally, to prevent trying to set a tag as its own parent, the
      code guarded against accepting a parent if the child had the same name,
      lading to incorrect hierarchy for `method` in cases like this:
      
      ```C++
      namespace A {
          class A {
              void method() {}
          };
      };
      ```
      
      So to fix this, consider the whole hierarchy of a tag for choosing its
      parent, when that information is available from the parser.
      
      Fixes #1583.
      6522332b
  3. 28 Agu, 2017 1 kayıt (commit)
  4. 21 Agu, 2017 1 kayıt (commit)
  5. 20 Agu, 2017 1 kayıt (commit)
  6. 08 Agu, 2017 1 kayıt (commit)
  7. 04 Agu, 2017 22 kayıt (commit)
  8. 29 Tem, 2017 1 kayıt (commit)
  9. 28 Tem, 2017 1 kayıt (commit)
  10. 26 Tem, 2017 1 kayıt (commit)
    • Thomas Martitz's avatar
      editor: fix incorrect variable reference · 18d52452
      Thomas Martitz yazdı
      The variable used for setting the cursor isn't used anymore and
      was used uninitialized. It's simply deleted now and the correct var is used.
      
      This was only a problem if editor_insert_text_block() was used directly,
      the snippet code path doesn't reach to it.
      18d52452
  11. 24 Tem, 2017 1 kayıt (commit)
  12. 21 Tem, 2017 4 kayıt (commit)
  13. 20 Tem, 2017 2 kayıt (commit)
  14. 17 Tem, 2017 1 kayıt (commit)