Commit Graph

26 Commits (60aae898d7970fae3c4703c5924dd90942e3cfb6)

Author SHA1 Message Date
Yevgen Muntyan 1fee81ac1e Upstream changes 2007-11-15 22:49:52 -06:00
Yevgen Muntyan a5ddb5cd66 Upstream changes 2007-10-26 04:48:07 -05:00
Yevgen Muntyan 159beb8657 Synced with gtksourceview upstream 2007-09-09 14:21:19 -05:00
Yevgen Muntyan 5f667fd6ff Synced with upstream 2007-08-20 22:16:19 -05:00
Yevgen Muntyan da6ac87b21 Keep priority of highlighting tags low 2007-08-18 02:24:57 -05:00
Yevgen Muntyan 07cb6a5995 Fixed bunch of leaks 2007-08-06 13:17:25 -05:00
Yevgen Muntyan b6e82101a7 Synced with upstream 2007-07-31 06:11:24 -05:00
Yevgen Muntyan 9190d9faab Unbroke loading old lang files 2007-07-13 14:45:36 -05:00
Yevgen Muntyan 9be84dd01f Ignore style in all children contexts 2007-07-13 03:42:51 -05:00
Yevgen Muntyan 76bfc2a51c Workaround http://bugzilla.gnome.org/show_bug.cgi?id=455640; upstream changes 2007-07-10 16:36:14 -05:00
Yevgen Muntyan 880f97f004 Try to speed up parsing a little 2007-07-04 22:24:09 -05:00
Yevgen Muntyan 7d16d21b37 Fancier highlighting 2007-06-28 00:54:46 -05:00
Yevgen Muntyan 26990ef7bb Changes in style scheme business; updated and new highlighting 2007-06-26 17:29:29 -05:00
Yevgen Muntyan 6e4202e4c5 Style is a GObject now 2007-06-18 07:40:31 -05:00
Yevgen Muntyan e7db6b1099 Upstream changes 2007-06-18 00:03:03 -05:00
Yevgen Muntyan 370fac158c Migrated to GRegex from EggRegex; updated pcre to 7.0 2007-05-30 04:37:41 -05:00
Yevgen Muntyan 7bf97f16df Synced with gtksourceview upstream 2007-05-27 15:08:41 -05:00
Yevgen Muntyan d2b60eb6a1 Use correct parameters to egg_regex_fetch_named() 2007-02-15 07:29:33 -06:00
Yevgen Muntyan dc1c8500b0 Replaced g_(idle|timeout|io) functions with gdk threads-aware wrappers 2007-01-19 20:47:59 -06:00
Yevgen Muntyan ccf7d55ebe -ansi -pedantic fixes 2007-01-11 20:28:22 -06:00
Yevgen Muntyan eb3a481089 Happy new year! 2006-12-31 04:54:51 -06:00
Yevgen Muntyan 3d40a24745 2006-12-25 Yevgen Muntyan <muntyan@tamu.edu>
* gtksourceview/gtksourcecontextengine.h:
	Removed comment about GtkSourceContextMatchOptions enum,
	it's not true.

2006-12-25  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtksourceview/gtksourcecontextengine.c,
	gtksourceview/gtksourcecontextengine.h,
	gtksourceview/gtksourcelanguage-parser-2.c:
	Added new context option "once-only", made
	GtkSourceContextEnginePrivate use single
	GtkSourceContextMatchOptions field instead of bunch of
	bitfields.
	* gtksourceview/gtksourcelanguagesmanager.c:
	Removed odd #include <libxml/xmlreader.h>.
	* gtksourceview/gtksourcestylescheme.c: (parse_style)
	Initialize attribute values, to make gcc happy.
2006-12-25 01:46:12 -06:00
Yevgen Muntyan 8fc9e0fa50 2006-12-24 Yevgen Muntyan <muntyan@tamu.edu>
* gtksourceview/language-specs/check.sh,
	gtksourceview/language-specs/Makefile.am,
	gtksourceview/language-specs/dtd.lang,
	gtksourceview/language-specs/gtk-doc.lang:
	New lang files.
	* gtksourceview/language-specs/c.lang,
	gtksourceview/language-specs/def.lang,
	gtksourceview/language-specs/desktop.lang,
	gtksourceview/language-specs/m4.lang,
	gtksourceview/language-specs/sh.lang,
	gtksourceview/language-specs/xml.lang:
	Improved (hopefully) higlighting.

2006-12-24  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtksourceview/gtksourcelanguage-parser-2.c:
	Fixed mapping styles: it skipped intermediate styles, i.e.
	<style id="foo" map-to="moo"/>
	<style id="moo" map-to="baz"/>
	was treated as
	<style id="foo" map-to="baz"/>
	<style id="moo" map-to="baz"/>.
	* gtksourceview/gtksourcecontextengine.c:
	Some doc clean up.
2006-12-24 00:57:46 -06:00
Yevgen Muntyan f89f294065 2006-12-23 Yevgen Muntyan <muntyan@tamu.edu>
* gtksourceview/gtksourcecontextengine.c,
	gtksourceview/gtksourcecontextengine.h,
	gtksourceview/gtksourcelanguage.c,
	gtksourceview/gtksourcelanguage-private.h,
	gtksourceview/gtksourcelanguage-parser-1.c,
	gtksourceview/gtksourcelanguage-parser-2.c:
	Made context definitions shared between engines using same language:
	added GtkSourceContextData structure which holds definitions, and made
	GtkSourceContextEngine refer to it.
2006-12-23 19:42:23 -06:00
Yevgen Muntyan 6f27954f1f 2006-12-23 Yevgen Muntyan <muntyan@tamu.edu>
* gtksourceview/gtksourcecontextengine.c: added memory information
	stuff: it can print how much memory is taken by context definitions
	and by contexts.
	* gtksourceview/libegg/regex/eggregex.c,
	gtksourceview/libegg/regex/eggregex.h: (_egg_regex_get_memory):
	new function to get amount of memory eaten by regex.

2006-12-23  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtksourceview/gtksourcecontextengine.c: (resolve_reference),
	(_gtk_source_context_engine_add_ref): Made it treat references
	to pure container contexts as wildcard references, so
	<context id="foo"><include>...</include></context>
	<context id="bar"><include><context ref="foo"></include></context>
	is silently translated to
	<context id="foo"><include>...</include></context>
	<context id="bar"><include><context ref="foo:*"></include></context>

2006-12-23  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtksourceview/gtksourcelanguage-parser-2.c:
	Fixed parsing keyword lists: it lost keywords before
	a comment, if a comment was inside the list.
	(str_to_bool): made it take xmlChar* to avoid casts in its users code;
	(update_regex_flags): made it take xmlChar* instead of gboolean since
	all its users called str_to_bool() on the argument anyway;
	(get_regex_flags): moved getting regex options attributes from
	create_definition() to new function;
	(create_definition): the keywords fix.
2006-12-23 18:11:57 -06:00
Yevgen Muntyan adcbc295cd Mangle all gtksourceview names, to avoid conflicts with gtksourceview-1 2006-12-20 20:22:32 -06:00