=== gtksourceview 1.90.4 === 2007-08-28 Paolo Borelli * NEWS: * README: * configure.ac: GtkSourceView 1.90.4 released. 2007-08-27 Paolo Borelli * gtksourceview/language-specs/sh.lang: the line-comment context is needed by m4.lang. 2007-08-27 Paolo Maggi * tests/test-widget.c (get_language_for_filename), (get_language_for_mime_type): fix the check in the while cycle 2007-08-27 Paolo Borelli * docs/reference/gtksourceview-docs.sgml: fix style scheme manager docs. 2007-08-27 Paolo Maggi * docs/reference/gtksourceview-2.0-sections.txt: * docs/reference/tmpl/languagemanager.sgml: updated * gtksourceview/gtksourcelanguagemanager.[ch]: modified according to API review, in particular list_languages has been removed and replace with get_language_ids. * gtksourceview/gtksourcestylescheme.h: * gtksourceview/gtksourcestyleschememanager.[ch]: indentation changes * tests/test-widget.c (get_language_for_filename), (get_language_for_mime_type): work with the new API 2007-08-27 Paolo Borelli * gtksourceview/gtksourcestyleschememanager.[ch]: api review: style-manager -> style-scheme-manager. * gtksourceview/gtksourcebuffer.c: adapt to the above. * gtksourceview/gtksourcestylescheme.c: adapt to the above. 2007-08-27 Paolo Maggi * gtksourceview/gtksourcebuffer.[ch]: documentation fixes 2007-08-27 Paolo Maggi * gtksourceview/gtksourcestylescheme.[ch]: add gtk_source_style_scheme_get_authors method * gtksourceview/language-specs/language2.rng: support multiple elements * gtksourceview/language-specs/styles.rng: ditto * tests/test-widget.c (main): test for the gtk_source_style_scheme_get_authors method 2007-08-27 Paolo Borelli * gtksourceview/gtksourceview.[ch]: api review: margin -> margin-position, show-margin -> show-right-margin. 2007-08-27 Paolo Borelli * gtksourceview/language-specs/html.lang: * gtksourceview/language-specs/php.lang: Detect html inside php and viceversa. Patch by Eric Norige, fixes remaining part of bug #448513. 2007-08-27 Paolo Borelli * gtksourceview/gtksourcebuffer.c: rise the max value for the max-undo-levels property and allow -1 to mean 'no limit'. 2007-08-26 Paolo Borelli * gtksourceview/language-specs/oblivion.lang: add oblivion style scheme so that we have one dark scheme included. 2007-08-26 Paolo Borelli * gtksourceview/language-specs/erlang.lang: erlang syntax. 2007-08-26 Paolo Borelli * gtksourceview/gtksourcelanguagemanager.[ch]: api review: get_language_by_id -> get_language. 2007-08-25 Paolo Borelli * gtksourceview/gtksourcebuffer.[ch]: api review: check-brackets -> highlight-matching-brackets 2007-08-25 Paolo Borelli * gtksourceview/gtksourcebuffer.[ch]: api review: highlight -> highlight_syntax 2007-08-25 Paolo Borelli * gtksourceview/gtksourceview.[ch]: api review: tabs-width -> tab-width 2007-08-25 Paolo Borelli * gtksourceview/gtksourceview.[ch]: introduce a indent-width property that decouples the indentation step from the tab-width setting. Fixes bug #352847. Based on a patch by Steve Frécinaux. * tests/test-widget.c: test the new functionality. 2007-08-25 Paolo Borelli * gtksourceview/gtksourcestylescheme.c: add the "description" property and make _gtk_source_style_scheme_get_matching_brackets_style and _gtk_source_style_scheme_get_current_line_color private since they are just for internal use. * gtksourceview/gtksourcebuffer.c: adapt to the above. * gtksourceview/gtksourceview.c: ditto. 2007-08-25 Paolo Borelli * gtksourceview/language-specs/makefile.lang: fix highlighting of a rule following an empty rule. 2007-08-25 Paolo Borelli * gtksourceview/language-specs/php.lang: many improvements (here-doc strings, numbers highlighting, string variables, ...) based on a patch by Eric Norige on bug #448513. 2007-08-25 Paolo Borelli * gtksourceview/gtksourcebuffer.c: * gtksourceview/language-specs/desktop.lang: add comments for translators. 2007-08-22 Paolo Borelli * gtksourceview/language-specs/python.lang: add "set" and "frozenset" builtins. Bug #469293. 2007-08-21 Paolo Borelli * gtksourceview/language-specs/ruby.lang: do not highlight $stderr in $stderrfoo. Bug #460652. 2007-08-20 Paolo Maggi * docs/reference/tmpl/buffer.sgml: GtkSourceTag class does not exist anymore 2007-08-20 Paolo Borelli * gtksourceview/language-specs/docbook.lang: one more keyoword ordering issue. * gtksourceview/language-specs/ruby.lang: highlight regexes and other minor fixes. Patch by Eric Norige, bug #467867. 2007-08-18 Yevgen Muntyan * gtksourceview/gtksourcecontextengine.c (create_tag), (gtk_source_context_engine_attach_buffer): remember number of created tags and set priorities of newly created tags accordingly, so that all highlighting tags have priority lower than any other tags in buffer. It is not quite right but is good enough as a workaround for the problem with user tags. * gtksourceview/gtksourcecontextengine.c (regex_resolve): Do not leak a string here. * gtksourceview/gtksourcelanguage-parser-2.c (handle_keyword_char_class_element): removed confusing variable which gets xmlTextReaderRead() return value, since we do not actually check that value. 2007-08-18 Yevgen Muntyan * gtksourceview/gtksourcestylescheme.c (fix_style_colors), (parse_style): * gtksourceview/language-specs/styles.rng: * gtksourceview/gtksourcestyle.c (gtk_source_style_class_init), (gtk_source_style_init), (gtk_source_style_set_property), (gtk_source_style_get_property), (gtk_source_style_copy), (_gtk_source_style_apply): * gtksourceview/gtksourcestyle-private.h: New style attribute 'line-background', wrapper around 'paragraph-background' GtkTextTag property. 2007-08-15 Paolo Borelli * gtksourceview/language-specs/docbook.lang: make sure that docbook tag are not followed by a '=' since some of them can also be attribute names and always list 'foo' before 'foobar' in keywords list since they are first-match. 2007-08-15 Paolo Borelli * gtksourceview/language-specs/xml.lang: catch some errors and highlight them. 2007-08-15 Paolo Borelli * gtksourceview/language-specs/boo.lang: port to the new format. 2007-08-15 Paolo Borelli * gtksourceview/language-specs/sh.lang: restore sh:comment style since it is needed for m4.lang. 2007-08-15 Paolo Borelli * gtksourceview/language-specs/xml.lang: new xml.lang file, it is not validating, but it's way faster and allows to be easily extended when creating xml dialects lang files. * gtksourceview/language-specs/docbook.lang: port to new format, taking advantage of the new xml.lang. 2007-08-15 Paolo Borelli * gtksourceview/language-specs/c.lang: TRUE and FALSE are preprocessor defines. 2007-08-12 Vincent Geddes * gtksourceview/gtksourceengine.h, * gtksourceview/gtksourcecontextengine.h, * gtksourceview/gtksourcelanguage.h, * gtksourceview/gtksourcebuffer.h, * gtksourceview/gtksourcelanguagemanager.h: Rename names of parent structs to a consistent `parent_instance' (#464830). 2007-08-11 Paolo Borelli * gtksourceview/language-specs/classic.xml: * gtksourceview/language-specs/kate.xml: * gtksourceview/language-specs/tango.xml: add a "search-match" style. GtkSourceView itself doesn't use this style but editors like gedit can read it to use a color that fits with the rest of the style scheme when highlighting search matches. 2007-08-10 Paolo Borelli * gtksourceview/language-specs/sh.lang: comments cannot span multiple lines. Fixes bug #337833. 2007-08-10 Paolo Borelli * gtksourceview/language-specs/nemerle.lang: port to new format. * gtksourceview/language-specs/vbnet.lang: ditto. 2007-08-08 Vincent Geddes * gtksourceview/language-specs/c.lang: Add support for the C99 boolean definitions (bool, false, true). (#464408, thelema@swbell.net). 2007-08-01 Paolo Borelli * gtksourceview/language-specs/R.lang: port to the new format. * gtksourceview/language-specs/Ruby.lang: do not highlight the .class method as a class keyword.