1. 17 May, 2022 1 commit
    • Christian Hergert's avatar
      language-specs: add suggested suffix/name properties · 7b0d9285
      Christian Hergert authored
      For a number of languages, we can help text editors choose a reasonable
      suffix for the filename using metadata properties. GNOME Text Editor, for
      example, will use this to prime the save changes dialog.
      Use gtk_source_language_get_property(lang, "suggested-name") first to get
      the suggested name, and if that is NULL, use "suggested-suffix" with a
      generated prefix (or leave it empty with the cursor set before the suffix
      in the filename entry).
  2. 29 Mar, 2022 1 commit
  3. 29 Sep, 2021 1 commit
  4. 09 Sep, 2017 1 commit
  5. 06 Sep, 2017 1 commit
    • swilmet's avatar
      language-specs: do not mark strings for translation · eec7a2fe
      swilmet authored
      Keep only the _section translatable, those make sense to translate.
      The language names (e.g. Swift, Kotlin, Maxima) should not be
      translated, for example if Maxima is translated the user will certainly
      be confused…
      The style names are not very useful to translate, because the user never
      sees those strings! It is used for example by a gedit plugin to
      create/edit style schemes. The style names are probably hard to
      translate anyway, and I'm sure that it was often translated in a way
      that the user didn't understand what it means… So, since those strings
      are extremely rarely used, and since they are hard to translate without
      context, it is better to not translate them at all. It's like GObject
      Also, the *.lang file format doesn't support well translatable strings.
      Ideally each translatable string should have its own tag, with the
      translatable="yes" property, the possibility to add a context, etc.
  6. 25 Dec, 2016 1 commit
  7. 07 Feb, 2016 1 commit
  8. 05 Feb, 2014 1 commit
  9. 25 Apr, 2011 1 commit
    • Marco Trevisan's avatar
      Vala syntax highlighting plugin updated · c4cefd24
      Marco Trevisan authored and Jürg Billeter's avatar Jürg Billeter committed
      * Added extension support to *.vapi files
      * Support for verbatim strings (triple quoted strings)
      * Dropped standard string support since Vala supports multiline
         strings by default
      * Support for string templates highlighting
         Each string starting with @" is now parsed for variable references
         (using the $ prefix) or for expressions (using the $(expr) container)
      * Dropped support for strings with single quote (they are char's!)
      * Support for directives (#if, #else, #elif, #endif)
      * Support for #if 0, #if false comments
      * Support for @identifiers: they aren't highlighted now
      * Added async modifier keyword
      * Use void as a type
      * Support for Vala attributes
      * Support for types declaration highlighting
      * Support for gtk-doc syntax in comments
      * Fallback to c implementations for decimal, hexadecimal, float, octal
         and char (before not supported)
  10. 08 Jun, 2010 2 commits
  11. 18 May, 2010 1 commit
  12. 31 Dec, 2009 1 commit
  13. 15 Jul, 2009 1 commit
  14. 19 Dec, 2008 1 commit
  15. 09 Dec, 2008 1 commit
    • Ignacio Casal Quinteiro's avatar
      Mark string for translation. · 513139af
      Ignacio Casal Quinteiro authored
      2008-12-08  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>
              * gtksourceview/language-specs/vala.lang:
              * gtksourceview/language-specs/xslt.lang:
              Mark string for translation.
      svn path=/trunk/; revision=2098
  16. 25 Apr, 2008 1 commit
  17. 04 Sep, 2007 1 commit
    • Jürg Billeter's avatar
      Add syntax highlighting file for Vala. Fixes #471058. · 97dde9fe
      Jürg Billeter authored
      2007-09-04  Juerg Billeter  <j@bitron.ch>
      	* gtksourceview/language-specs/Makefile.am:
      	* gtksourceview/language-specs/vala.lang:
      	* po/POTFILES.in:
      	Add syntax highlighting file for Vala. Fixes #471058.
      svn path=/trunk/; revision=1676
  18. 29 Jul, 2007 1 commit
    • Paolo Borelli's avatar
      highlight numbers. · 930078e0
      Paolo Borelli authored
      2007-07-29  Paolo Borelli  <pborelli@katamail.com>
      	* gtksourceview/language-specs/csharp.lang: highlight numbers.
      svn path=/trunk/; revision=1551
  19. 27 Jul, 2007 1 commit
    • Paolo Borelli's avatar
      Replace all uses of def:data-type with the new def:type and remove · 00f7bcbe
      Paolo Borelli authored
      2007-07-27  Paolo Borelli  <pborelli@katamail.com>
      	* gtksourceview/language-specs/*.lang:
      	Replace all uses of def:data-type with the new def:type and
      	remove def:data-type from def.lang.
      	Note that this is a plain search and replace it doesn't fix
      	some lang file from abusing the type style.
      svn path=/trunk/; revision=1538
  20. 21 Jun, 2007 2 commits
    • Yevgen Muntyan's avatar
      LGPL'ed. · 90b07876
      Yevgen Muntyan authored
      2007-06-20  Yevgen Muntyan  <muntyan@tamu.edu>
      	* gtksourceview/language-specs/csharp.lang:
      	* gtksourceview/language-specs/desktop.lang:
      svn path=/trunk/; revision=1432
    • Yevgen Muntyan's avatar
      Removed leftovers (broken) of /regex/opts syntax in lang files; removed · c8d88109
      Yevgen Muntyan authored
      2007-06-20  Yevgen Muntyan  <muntyan@tamu.edu>
      	Removed leftovers (broken) of /regex/opts syntax in lang files;
      	removed dot-match-all (doing nothing) regex option. Made
      	default-regex-options element use attributes instead of content like "xi".
      svn path=/trunk/; revision=1431
  21. 18 Jun, 2007 1 commit
    • Yevgen Muntyan's avatar
      Continuing great relicensing. · f8e5bb49
      Yevgen Muntyan authored
      2007-06-17  Yevgen Muntyan  <muntyan@tamu.edu>
      	Continuing great relicensing.
      	* README: updated the paragraph about licenses.
      	* gtksourceview/language-specs/*:
      	Added authors, contributors and license texts.
      svn path=/trunk/; revision=1412
  22. 25 May, 2007 1 commit
  23. 13 Dec, 2006 1 commit
    • Paolo Maggi's avatar
      mime-types cleanup (see bug #352549) · b8a344de
      Paolo Maggi authored
      2006-12-13  Paolo Maggi  <paolo@gnome.org>
      	* gtksourceview/language-specs/ada.lang:
      	* gtksourceview/language-specs/c.lang:
      	* gtksourceview/language-specs/cpp.lang:
      	* gtksourceview/language-specs/csharp.lang:
      	* gtksourceview/language-specs/desktop.lang:
      	* gtksourceview/language-specs/diff.lang:
      	* gtksourceview/language-specs/javascript.lang:
      	* gtksourceview/language-specs/perl.lang:
      	* gtksourceview/language-specs/php.lang:
      	* gtksourceview/language-specs/po.lang:
      	* gtksourceview/language-specs/python.lang:
      	* gtksourceview/language-specs/ruby.lang:
      	* gtksourceview/language-specs/sh.lang:
      	* gtksourceview/language-specs/tcl.lang:
      	* gtksourceview/language-specs/xml.lang: mime-types cleanup (see
      	bug #352549)
  24. 03 Aug, 2005 1 commit
  25. 05 Mar, 2004 1 commit
  26. 21 Feb, 2004 1 commit
    • Gustavo Giráldez's avatar
      Set DEPRECATED_FLAGS variable and compiler warnings according to · b5966224
      Gustavo Giráldez authored
      2004-02-20  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
      	* autogen.sh:
      	* configure.in: Set DEPRECATED_FLAGS variable and compiler
      	warnings according to maintainer mode (i.e. full deprecated flags
      	and error compiler warnings if maintainer mode is on).
      	* gtksourceview/Makefile.am:
      	* tests/Makefile.am: Use DEPRECATED_FLAGS.
      	* gtksourceview/language-specs/csharp.lang: Highlight "value" in
      	C# (bug #134405, algol@firenze.linux.it).
      	* gtksourceview/gtksourceregex.h:
      	* gtksourceview/gtksourceregex.c (gtk_source_regex_search)
      	(gtk_source_regex_match): Added options to disable beginning and
      	end of line anchor matching at string ends.
      	* gtksourceview/gtksourcebuffer.c (get_syntax_start)
      	(get_syntax_end, next_syntax_region)
      	(build_syntax_regions_table, update_syntax_regions)
      	(search_patterns, check_pattern, highlight_region): Determine if
      	the slice of text being analyzed starts at the beginning of a line
      	or ends at the end of lin...
  27. 12 Feb, 2004 1 commit
  28. 11 Dec, 2003 1 commit
    • Gustavo Giraldez's avatar
      Support for C# highlighting (file from John Luke, bug 115040). · e92e83ff
      Gustavo Giraldez authored
      2003-12-10  Gustavo Giraldez  <gustavo.giraldez@gmx.net>
      	* gtksourceview/language-specs/csharp.lang: Support for C#
      	highlighting (file from John Luke, bug 115040).
      	* gtksourceview/language-specs/msil.lang: MSIL hightlighting spec
      	(file from Antonio Ognio Cesti, bug 125252).
      	* gtksourceview/language-specs/Makefile.am: Distribute csharp.lang
      	and msil.lang.