Commit Graph

1969 Commits (b27e5615d6e8df1cb47010b89fea9fe33157f954)

Author SHA1 Message Date
Yevgen Muntyan 8b6ecb7d68 Merged from miln005 2006-09-06 13:13:10 -05:00
Yevgen Muntyan 04b000da6f Renamed sh:line-comment to sh:comment, added m4-comment, the comment starting with dnl 2006-09-06 12:51:04 -05:00
Yevgen Muntyan 248d8dbc61 -Wdeclaration-after-statement is new in gcc-4 2006-09-06 12:50:24 -05:00
Yevgen Muntyan d445431691 Better error message, better highlighting 2006-09-06 12:25:56 -05:00
Yevgen Muntyan 4ccd0dcd5f Try to get mode string from second line too 2006-09-06 12:25:22 -05:00
Yevgen Muntyan c9a7d02ac1 A bit better lang files 2006-09-04 01:04:29 -05:00
Yevgen Muntyan dac98d7202 Fixed breakage after last commit 2006-09-04 01:00:19 -05:00
Yevgen Muntyan 6f2965a257 Be careful with free'd memory 2006-09-04 00:45:26 -05:00
Yevgen Muntyan 8567fa58e4 Better lang files 2006-09-03 22:09:51 -05:00
Yevgen Muntyan 10c2fe6272 Better error message 2006-09-03 22:09:00 -05:00
Yevgen Muntyan beed8585d7 Synced with upstream:
2006-09-03  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtksourceview/gtksourcecontextengine.c:
	commented UPDATE_PRIORITY and UPDATE_TIME_SLICE constants;
	made CHECK_* macros and made corresponding function names lowercase;
	Removed some XXX comments, changed some FIXME's.
	* gtksourceview/gtksourcelanguage-parser-1.c:
	(build_keyword_list): removed keyword number limit and added a TODO there;
	removed language_strconvescape; removed old commented out code;
	(_gtk_source_language_file_parse_version1): check lang file version in
	* gtksourceview/gtksourcelanguage-parser-2.c:
	(create_definition): added a TODO about big keyword lists;
	removed old commented out code.
	* gtksourceview/gtksourcestylescheme.c: replaced XXX with FIXME (more
	informative one).
	* gtksourceview/gtktextregion.c,
	 gtksourceview/gtktextregion.h: removed gtk_text_region_subtract_region,
	it's not needed anymore.

2006-09-03  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtksourceview/gtksourcecontextengine.c,
	gtksourceview/gtksourcelanguage-parser-1.c
	gtksourceview/gtksourcelanguage-parser-2.c
	gtksourceview/gtksourcelanguage.c
	gtksourceview/gtksourcelanguagesmanager.c
	gtksourceview/gtksourcestyle.c
	gtksourceview/gtksourcestylescheme.c: do if (ptr != NULL) and
	if (ptr == NULL) instead of if (ptr) and if (!ptr), to please
	maintainers who are afraid of using pointers in boolean contexts.
2006-09-03 17:59:59 -05:00
Yevgen Muntyan 208246b29e Now it can open files 2006-09-02 04:01:26 -05:00
Yevgen Muntyan b713f5c505 Use :* when including contexts 2006-09-02 04:01:01 -05:00
Yevgen Muntyan 38155c5112 Handle case when parent context doesn't have end pattern properly 2006-09-02 04:00:21 -05:00
Yevgen Muntyan 811c16f2e6 Output filters start working 2006-09-02 02:34:01 -05:00
Yevgen Muntyan d7dacd1f27 Do not write stderr as stdout; renamed std*_text to std*_line; 2006-09-02 02:33:09 -05:00
Yevgen Muntyan 11f7c5a11c moo_line_view_set_boxed(), moo_line_view_get_boxed() 2006-09-02 02:31:13 -05:00
Yevgen Muntyan 475ba8fb9e Do not run command with empty Untitled if it needs a file 2006-09-02 02:30:43 -05:00
Yevgen Muntyan 53e07fcea5 _moo_str_equal() 2006-09-02 02:29:39 -05:00
Yevgen Muntyan a3865e4622 Added macros for "stdout" and friends 2006-09-02 02:27:07 -05:00
Yevgen Muntyan c3d6963ff6 Strings end at line end 2006-09-02 02:26:38 -05:00
Yevgen Muntyan 47353c6ae7 "union" is a keyword 2006-09-02 02:26:21 -05:00
Yevgen Muntyan fbc3280d7e Continuing output filter stuff 2006-09-01 12:37:47 -05:00
Yevgen Muntyan 9507592658 Mismatched bracket color 2006-09-01 03:49:08 -05:00
Yevgen Muntyan 7b1202882a Started output filter stuff 2006-09-01 03:48:52 -05:00
Yevgen Muntyan f6b19ba21f Set current line color too 2006-09-01 03:47:55 -05:00
Yevgen Muntyan 109d7a0dde MANY_LINES trick is broken 2006-09-01 03:47:34 -05:00
Yevgen Muntyan aef1c816de use-style attribute 2006-09-01 03:47:03 -05:00
Yevgen Muntyan a1f6fd445f Removed default styles which do not make sense for most languages such as def:preprocessor; added use-style attribute to styles in style schemes 2006-09-01 03:46:43 -05:00
Yevgen Muntyan c55731d6da Removed odd #include's 2006-09-01 03:45:42 -05:00
Yevgen Muntyan 53eca2f14b Use MooKeyFile for tools configuration files 2006-08-31 10:21:39 -05:00
Yevgen Muntyan 4d37da1536 Better styles for latex 2006-08-31 10:21:18 -05:00
Yevgen Muntyan dcd818b9fa Mention LGPL 2006-08-31 10:12:47 -05:00
Yevgen Muntyan 6f7f511daa Changed license to LGPL 2006-08-31 10:10:57 -05:00
Yevgen Muntyan 0374f0e65e New option: async 2006-08-31 01:26:50 -05:00
Yevgen Muntyan 149234217e _moo_env_add 2006-08-31 01:26:26 -05:00
Yevgen Muntyan 0229d59cd1 Do not use comment style for math stuff 2006-08-31 01:26:13 -05:00
Yevgen Muntyan 3b05ab17ac More lang files 2006-08-31 00:34:59 -05:00
Yevgen Muntyan 3f2911df56 Use TextView.set_lang_by_id 2006-08-31 00:34:16 -05:00
Yevgen Muntyan a42d3703fe moo_text_view_set_lang_by_id 2006-08-31 00:33:48 -05:00
Yevgen Muntyan 62b487fc97 moo_text_view_set_lang_by_id(): set style scheme too 2006-08-31 00:33:18 -05:00
Yevgen Muntyan 536d5df25e Warn if a language with given name not found 2006-08-31 00:32:25 -05:00
Yevgen Muntyan 425c951b74 Do not spit those messages about matched files 2006-08-31 00:31:59 -05:00
Yevgen Muntyan 36ff6f4a07 Removed odd #include's 2006-08-31 00:31:39 -05:00
Yevgen Muntyan 6a47d03fca "bash" language renamed to "sh" 2006-08-31 00:31:25 -05:00
Yevgen Muntyan 8e171f42a6 Do not crash on invalid lang files 2006-08-31 00:30:15 -05:00
Yevgen Muntyan f47ee58476 Removed GError* member from ParserState; better error message when encountered an error in a referenced lang file; get error messages from xml parser 2006-08-31 00:29:58 -05:00
Yevgen Muntyan d86c65ac43 Remove trailing \n from all patterns 2006-08-31 00:28:41 -05:00
Yevgen Muntyan ea528959a4 Do not crash on invalidated hints; do not crash on zero-length segments 2006-08-31 00:28:15 -05:00
Yevgen Muntyan 55df4f1823 Handle zero-length segments properly 2006-08-29 04:36:40 -05:00