80 Commits

Author SHA1 Message Date
Yevgen Muntyan
e14c0895bc Updated style business 2007-06-09 07:52:43 -05:00
Yevgen Muntyan
317ed5bc12 Removed extra #include 2007-06-09 07:02:59 -05:00
Yevgen Muntyan
bdbcd9152e Synced with upstream 2007-06-09 06:57:30 -05:00
Yevgen Muntyan
286c2c09f6 Updated GRegex 2007-05-30 21:56:25 -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
4f182406ad Fixed dist list 2007-05-07 00:38:39 -05:00
Yevgen Muntyan
c7c8553bf1 Synced with upstream 2007-05-06 07:51:26 -05:00
Yevgen Muntyan
7d86b9ecbf Synced with gtksourceview upstream 2007-04-27 21:19:36 -05:00
Yevgen Muntyan
e6deee67a4 Upstream changes 2007-04-21 07:35:46 -05:00
Yevgen Muntyan
fd560c2582 Upstream changes 2007-04-17 12:49:39 -05:00
Yevgen Muntyan
bc1c177cf9 Fixed searching with VISIBLE_ONLY 2007-04-08 14:26:24 -05:00
Yevgen Muntyan
aa641ba8b2 Do not leak lang files fd's 2007-03-29 23:27:55 -05:00
Yevgen Muntyan
7be3b2d717 'dupnames' regex attribute 2007-02-15 07:31:11 -06:00
Yevgen Muntyan
d2b60eb6a1 Use correct parameters to egg_regex_fetch_named() 2007-02-15 07:29:33 -06:00
Yevgen Muntyan
14f5e8bfae Synced with upstream 2007-02-10 15:22:05 -06:00
Yevgen Muntyan
c72dbeb3f8 Escape slashes 2007-01-26 10:00:38 -06:00
Yevgen Muntyan
8b2c75ff7f Made it work without xml 2007-01-26 09:59:02 -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
331b2ec7eb Do not use $< variable 2007-01-18 03:18:44 -06:00
Yevgen Muntyan
ccf7d55ebe -ansi -pedantic fixes 2007-01-11 20:28:22 -06:00
Yevgen Muntyan
ce5b7a687a Repatched for gtksourceview 2007-01-10 19:17:20 -06:00
Yevgen Muntyan
c406c2fca4 Mangle g_utf8_ symbols so they don't conflict with glib 2007-01-10 14:11:37 -06:00
Yevgen Muntyan
93f616adfc Don't use same name for temporary files, it breaks parallel build 2007-01-03 01:24:46 -06:00
Yevgen Muntyan
272b6ada40 Do not use \b in sed regex 2006-12-31 05:30:53 -06:00
Yevgen Muntyan
eb3a481089 Happy new year! 2006-12-31 04:54:51 -06:00
Yevgen Muntyan
5aeeb49e94 Rule for 'make foo.lo' 2006-12-30 22:18:39 -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
5cb37ad123 Fake make gtksourceview/upstream/*.o 2006-12-23 18:12:50 -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
2b9eae9a51 Fixed compilation on gtk-2.6 2006-12-20 21:08:14 -06:00
Yevgen Muntyan
adcbc295cd Mangle all gtksourceview names, to avoid conflicts with gtksourceview-1 2006-12-20 20:22:32 -06:00
Yevgen Muntyan
ed840c1b22 Removed GtkSourceTag 2006-12-13 23:17:07 -06:00
Yevgen Muntyan
fbf40d617b Updated eggregex from Marco's repo 2006-12-13 22:40:00 -06:00
Yevgen Muntyan
a0af4e7770 Disabled "searching from root" messages 2006-11-25 11:48:33 -06:00
Yevgen Muntyan
66cc76ee2d Read "globs" attribute frmo old lang files 2006-11-12 13:10:38 -06:00
Yevgen Muntyan
a874d189ce Do emit "changed" signal 2006-11-09 04:59:08 -06:00
Yevgen Muntyan
e58b1691d5 GtkSourceStyleManager 2006-11-02 00:43:53 -06:00
Yevgen Muntyan
3d7043fce6 Upstream changes: GtkSourceStyleManager 2006-11-02 00:39:54 -06:00
Yevgen Muntyan
31126395d8 More ISO C stuff 2006-10-20 02:02:13 -05:00
Yevgen Muntyan
bf7a22a41e C90 mode 2006-10-18 00:11:53 -05:00
Yevgen Muntyan
04089010d5 Upstream changes 2006-10-14 14:02:15 -05:00
Yevgen Muntyan
fed6c4c098 Upstream changes: mime types and stuff moved to properties 2006-10-02 01:15:27 -05:00
Yevgen Muntyan
900aa18b98 Upstream changes 2006-09-26 14:44:20 -05:00
Yevgen Muntyan
497f2c34ad Allow unknown context references during parsing, and resolve them after parsing finished 2006-09-10 12:06:45 -05:00
Yevgen Muntyan
b280310040 Don't remove all generated files in make clean 2006-09-10 12:05:32 -05:00
Yevgen Muntyan
65ca899745 Removed globs from lang files 2006-09-06 21:06:32 -05:00
Yevgen Muntyan
d445431691 Better error message, better highlighting 2006-09-06 12:25:56 -05:00