Commit Graph

953 Commits (6391f8e4db04ae0d29c6143e49887c66b635fe1b)

Author SHA1 Message Date
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
Yevgen Muntyan b37b8eac18 Handle zero-length matches better 2006-08-29 01:48:50 -05:00
Yevgen Muntyan 49ac2ab247 Removed automake.lang, added some stuff in def.lang 2006-08-29 00:08:18 -05:00
Yevgen Muntyan 37f67cc758 Changelog lang file 2006-08-28 23:27:37 -05:00
Yevgen Muntyan 404d485b0c Fix build on gtk-2.6 2006-08-28 21:08:09 -05:00
Yevgen Muntyan 120f8ba116 Do not use g_return_val_if_fail() in sub_pattern_to_int(), no number is not an error 2006-08-28 21:06:38 -05:00
Yevgen Muntyan 26cf5c1eef Fixed build with gtk-2.6 2006-08-28 13:27:14 -05:00
Yevgen Muntyan b5825f26a1 Synced with upstream
2006-08-27  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtksourceview/language-specs/automake.lang,
	gtksourceview/language-specs/check.sh,
	gtksourceview/language-specs/Makefile.am: new lang file for
	Makefile.am.
	* gtksourceview/language-specs/c.lang: override style for
	line-continue in macros; use def:string context.
	* gtksourceview/language-specs/def.lang: renamed 'c-style-escape'
	to 'escape', it's not really 'C style';
	added 'escape' style to 'line-continue' context;
	added 'string' and 'single-quoted-string' contexts.
	* gtksourceview/language-specs/javascript.lang: replaced
	def:c-style-escape with def:escape.
	* gtksourceview/language-specs/language2.rng: added optional
	style-ref and ignore-style attributes to <context ref=""> tags.
	* gtksourceview/gtksourcecontextengine.[ch],
	gtksourceview/gtksourcelanguage-parser-2.c: made it possible to
	override style from referenced context:
	<context ref="some-context" style-ref="some-style"> means "use
	context some-context with style some-style", and ignore-style
	attribute means "use no style in this context".

2006-08-27  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtksourceview/language-specs/Makefile.am: install style scheme into
	$prefix/gtksourceview-2.0/styles dir.
	* gtksourceview/gtksourcecontextengine.c: fixed subpatterns handling
	(subpatterns tags were applied randomly);
	made high-priority one-time idle called more often, which hopefully
	make it look nicer;
	(gtk_source_context_engine_update_highlight): highlight as much as possible
	even if some part of requested area is not analyzed yet.
	* gtksourceview/gtksourcelanguage-parser-2.c: fixed two leaks.
	* gtksourceview/gtksourcelanguagesmanager.c,
	gtksourceview/gtksourcestylescheme.h,
	gtksourceview/gtksourceview.c: _gtk_source_style_scheme_get_default() -
	temporary workaround for no-builtin-scheme thing.
2006-08-27 19:11:56 -05:00
Yevgen Muntyan 17f35eb679 Match floats before decimals 2006-08-27 04:36:06 -05:00
Yevgen Muntyan 7082d17f76 Do not overwrite old files. 2006-08-26 19:14:18 -05:00
Yevgen Muntyan 0732a0a2fb Added first-line-only option 2006-08-26 19:04:13 -05:00
Yevgen Muntyan e0c326682c Sripts to convert old lang files 2006-08-26 19:02:38 -05:00
Yevgen Muntyan 0971cb441f first-line-only and shebang 2006-08-26 18:24:54 -05:00
Yevgen Muntyan 7364b6f03e Added shebang rule 2006-08-26 18:24:10 -05:00
Yevgen Muntyan 5ef5c558a9 typedef is a keyword, not a type 2006-08-26 18:23:51 -05:00
Yevgen Muntyan 23c0c2d90c Yacc lang file 2006-08-26 06:17:24 -05:00
Yevgen Muntyan f7cd81d5a6 Use "true" instead of "1" 2006-08-26 06:17:13 -05:00
Yevgen Muntyan dfe6411611 Do not crash 2006-08-26 06:16:29 -05:00
Yevgen Muntyan ee935c3a0b Convert language ids to lower case 2006-08-26 05:01:22 -05:00
Yevgen Muntyan 6589d94f89 Make distcheck happy 2006-08-26 05:01:07 -05:00
Yevgen Muntyan ee2dea7d75 GtkSourceView highlighting engine 2006-08-26 04:46:29 -05:00
Yevgen Muntyan 5a23ae651c Merged from moo-0.7 branch 2006-08-25 16:49:05 -05:00
Yevgen Muntyan 53131f1179 Added Open action to file selector popup menu, for cases when more than one file selected 2006-08-25 16:35:09 -05:00
Yevgen Muntyan 60bbb31fb7 MooCommandExe is really MooCommandUnixShell now, disabling it for win32 2006-08-23 23:58:30 -05:00
Yevgen Muntyan e56fa942b7 Release 0.7.0 2006-08-23 23:26:36 -05:00
Yevgen Muntyan 00797c548b Sort 2006-08-23 23:17:45 -05:00
Yevgen Muntyan 52e3cc9234 Fixed char rule a bit 2006-08-23 21:37:38 -05:00
Yevgen Muntyan dd09bf62bb Yacc lang file 2006-08-23 21:31:50 -05:00
Yevgen Muntyan 0d7ce702dc Made it possible to blacklist certain extensions, so no lang is picked up for them 2006-08-23 20:33:03 -05:00
Yevgen Muntyan 8589df5c29 Disabled active strings and completion 2006-08-23 20:32:33 -05:00
Yevgen Muntyan 869a267b68 Do not build active strings and completion plugins now 2006-08-23 20:31:52 -05:00
Yevgen Muntyan 68df12b6f9 moo_key_file_item_name(), moo_key_file_format() 2006-08-23 05:28:50 -05:00
Yevgen Muntyan bc5282ce26 Merge installed and user's files 2006-08-23 02:41:56 -05:00
Yevgen Muntyan cd412fc8ae When row moved too 2006-08-23 02:40:45 -05:00
Yevgen Muntyan c5381b4191 Mark page changed after deleting row 2006-08-23 02:39:03 -05:00
Yevgen Muntyan c9b450e4e2 moo_command_type_data_equal() 2006-08-23 02:38:16 -05:00
Yevgen Muntyan d87138c56e Add asterisks to skip-files globs, save history 2006-08-22 23:23:35 -05:00
Yevgen Muntyan 2804b1c701 Generate unique id and store it 2006-08-22 23:22:32 -05:00
Yevgen Muntyan 5011f65f74 Draw a bit smaller placeholder box 2006-08-22 23:22:03 -05:00
Yevgen Muntyan 0acf328b09 Save search flags 2006-08-22 23:21:42 -05:00
Yevgen Muntyan 23e4e9d53e Filter patterns, check_visible() and check_sensitive() 2006-08-22 23:21:14 -05:00
Yevgen Muntyan 6841eb4d9f Renamed type from MooScript to moo-script 2006-08-22 23:20:33 -05:00
Yevgen Muntyan 303b9b7e48 Run command from document directory 2006-08-22 23:20:01 -05:00
Yevgen Muntyan 9310b4ce2d MooKeyFile 2006-08-22 23:15:25 -05:00
Yevgen Muntyan e0db6e3bc9 Set environment variables correctly 2006-08-21 00:41:57 -05:00
Yevgen Muntyan c47a8561f0 Use function name in "implement me" #warning's 2006-08-20 22:47:28 -05:00
Yevgen Muntyan 377835f8f9 Use _moo_save_file_utf8 instead of g_file_set_contents 2006-08-20 22:45:45 -05:00
Yevgen Muntyan 60de5a4217 Fixed bug with simultaneous dragging icon and reordering tabs in notebook 2006-08-20 15:41:14 -05:00
Yevgen Muntyan b9dabe800d Build plugins first 2006-08-20 12:54:54 -05:00
Yevgen Muntyan 6d4e54066a MooCommandExe and friends 2006-08-20 03:49:33 -05:00
Yevgen Muntyan 59382acb5a Fixed find command for case when no globs specified 2006-08-20 03:47:57 -05:00
Yevgen Muntyan 1c1e693bf6 Removed _moo_text_view_*_undo_group() 2006-08-20 03:47:10 -05:00
Yevgen Muntyan f358d43bcf Made it compile 2006-08-20 03:46:18 -05:00
Yevgen Muntyan 68e59ab990 Enabled active strings plugin again 2006-08-20 03:44:55 -05:00
Yevgen Muntyan de6a1e444e moo_cmd_view_run_command_full() 2006-08-20 03:32:27 -05:00
Yevgen Muntyan 9bc8c12b35 make all in this directory before descending into plugins/ 2006-08-20 03:30:59 -05:00
Yevgen Muntyan a3fd115682 _moo_text_view_new_undo_group(), _moo_text_view_end_undo_group() 2006-08-19 16:40:05 -05:00
Yevgen Muntyan c164e8b06f Use globs for files to skip so it's consistent with files-to-process 2006-08-19 12:10:41 -05:00
Yevgen Muntyan f488b986a1 Show full paths in recent files menu tooltips 2006-08-19 12:09:05 -05:00
Yevgen Muntyan aa1cc9ef22 Use glib-mkenums 2006-08-19 02:50:56 -05:00
Yevgen Muntyan f21ecfb97d Removed MooEditActionFlags; added MooEditAction::filter-pattern property 2006-08-19 01:40:34 -05:00
Yevgen Muntyan 76e05fdac1 Moved _moo_edit_check_actions() to mooeditaction.c 2006-08-19 01:40:14 -05:00
Yevgen Muntyan a6d2894f3c Use GTypeInstance private field 2006-08-19 01:15:42 -05:00
Yevgen Muntyan 4cb996dfb3 Split mooedit-action.* into mooeditaction.* and mooeditaction-factory.* 2006-08-19 00:59:53 -05:00
Yevgen Muntyan ddf49d7373 Saved with glade-3 2006-08-19 00:33:13 -05:00
Yevgen Muntyan 9b6f203042 More user tools thing... 2006-08-19 00:21:29 -05:00
Yevgen Muntyan c781cd9635 Script tools basically work now 2006-08-17 23:53:34 -05:00
Yevgen Muntyan b42720a224 Removed python stuff 2006-08-17 23:52:33 -05:00
Yevgen Muntyan 5aa72e4ccb Added moo_prefs_dialog_page_fill_from_xml(); removed buffer size parameter from moo_prefs_dialog_page_new_from_xml() 2006-08-17 23:48:50 -05:00
Yevgen Muntyan dcd2250d40 Continuing user tools stuff 2006-08-17 00:08:49 -05:00
Yevgen Muntyan ead05d78f3 Continuing user tools thing 2006-08-16 20:27:19 -05:00
Yevgen Muntyan 480a8858e4 Made moo_text_view_get_text() work for GtkTextView 2006-08-16 20:25:58 -05:00
Yevgen Muntyan d209daba09 Made moo_prefs_dialog_page_new_from_xml return MooPrefsDialogPage* instead of GtkWidget* 2006-08-16 20:24:45 -05:00
Yevgen Muntyan 62e3c8a52f Rewriting actions and tools 2006-08-16 00:18:16 -05:00
Yevgen Muntyan 4e65369f88 Made moo_text_view_get_selection(), moo_text_view_move_cursor() generic methods for GtkTextView 2006-08-16 00:14:43 -05:00
Yevgen Muntyan 696a5b20ff More public/private stuff 2006-08-15 03:52:38 -05:00
Yevgen Muntyan 6273534c82 More private/public api separation 2006-08-15 03:21:44 -05:00
Yevgen Muntyan 742f6ad5fd Removed some unused api, made some api private 2006-08-15 02:32:44 -05:00
Yevgen Muntyan b9ffc63ecb MooActionCollection - object containing bunch of actions groups; MooActionBase - interface used by all actions in moo; MooAction, MooToggleAction, MooRadioAction - subclasses of corresponding gtk classes implementing MooActionBase interface. 2006-08-15 02:12:41 -05:00
Yevgen Muntyan 336e1cffa7 Added a rule to top-level Makefile.am to create all the dirs needed by intltool; replaced 'sh' with $(SHELL) everywhere. 2006-08-13 06:47:59 -05:00
Yevgen Muntyan 3e34ad7188 make distcheck works now 2006-08-13 06:05:50 -05:00
Yevgen Muntyan 54fcfe5c62 More private/public separation 2006-08-13 04:00:15 -05:00
Yevgen Muntyan eaa1d2606e desktop.lang 2006-08-12 02:32:12 -05:00
Yevgen Muntyan 4a7f4962c2 po.lang 2006-08-10 04:24:26 -05:00
Yevgen Muntyan 86bcc71c5f More i18n 2006-08-10 04:24:12 -05:00
Yevgen Muntyan 419aa2800c Do not use leading/trailing spaces in labels 2006-08-10 04:23:49 -05:00
Yevgen Muntyan b2dfb96352 Try UTF8, then locale, then ISO*** 2006-08-09 18:41:32 -05:00
Yevgen Muntyan cc60bdd4b9 Added GError** argument to glade functions 2006-08-08 19:32:47 -05:00
Yevgen Muntyan e81234742c MOO_INSTALL_HEADERS 2006-08-07 01:25:35 -05:00
Yevgen Muntyan d076185600 Hilghight "bool" 2006-08-07 00:57:06 -05:00
Yevgen Muntyan c50ead13dd Do not crash in eggregex 2006-08-06 22:44:04 -05:00
Yevgen Muntyan 760ef7958c Highlight "object" 2006-08-06 22:43:45 -05:00
Yevgen Muntyan 38b9723fb8 More i18n 2006-08-05 02:16:06 -05:00
Yevgen Muntyan 7d2aac7b9b More i18n 2006-08-05 02:08:32 -05:00
Yevgen Muntyan 6c98d10248 Win32 build and installer, and application work 2006-08-04 06:57:15 -05:00
Yevgen Muntyan 5636bc81aa Made it possible to have python stuff in a module 2006-08-04 04:17:32 -05:00
Yevgen Muntyan 59da958d6c Fetch translated strings from ini file 2006-08-03 22:40:19 -05:00
Yevgen Muntyan 0cc33c80e3 Made plugins and stuff use .ini files; added MooPluginLoader 2006-08-03 14:26:08 -05:00
Yevgen Muntyan 86a4672a7e Checked translatable property in glade files 2006-08-03 04:24:51 -05:00
Yevgen Muntyan 404aa637c6 Added moo_stock_label() and moo_stock_name(); added stock-label, stock-tooltip, stock-display-name Action properties 2006-08-03 03:45:39 -05:00
Yevgen Muntyan 9fdbae6fbe Added i18n stuff to MooGladeXML 2006-08-03 02:29:39 -05:00
Yevgen Muntyan e65499f0c4 Signal message again 2006-08-03 00:38:51 -05:00
Yevgen Muntyan f3f47fd623 Use g_strsignal for signal description 2006-08-02 22:21:57 -05:00
Yevgen Muntyan 3e4c09904d Do not install headers 2006-08-01 20:31:51 -05:00
Yevgen Muntyan 1685fa66b1 Made most symbols from mooutils-fs.h private 2006-08-01 20:28:28 -05:00
Yevgen Muntyan 71d64d8245 moo_normalize_file_path() 2006-08-01 20:18:35 -05:00
Yevgen Muntyan 14db61af5e Better scrolling to line 2006-08-01 16:18:17 -05:00
Yevgen Muntyan a513128d76 Install library, python module, and headers 2006-08-01 06:36:16 -05:00
Yevgen Muntyan 064fee6ea2 Switched back to make subdirs and libtool 2006-08-01 04:57:26 -05:00
Yevgen Muntyan 5ae7e4eccc activates-default property for entries 2006-07-31 23:41:20 -05:00
Yevgen Muntyan bb22db5a1b Reworked MooEditConfig stuff, added filter settings 2006-07-27 14:39:53 -05:00
Yevgen Muntyan a9f10afca2 Synced eggregex and pcre with Marco's repo 2006-07-26 03:22:26 -05:00
Yevgen Muntyan 170f947bb0 Added Cancel button to progress dialog 2006-07-14 22:30:45 -05:00
Yevgen Muntyan c843cf1c9b Desensitize Ellipsize when Wrap is checked; header/footer entries when it's not printed 2006-07-14 22:30:00 -05:00
Yevgen Muntyan 1aeffe9803 Fixed printing - printing whole page in one layout doesn't work as expected. 2006-07-14 22:28:56 -05:00
Yevgen Muntyan 6626e7821e Fixed moo_text_iter_get_prev_stop() 2006-07-09 08:55:04 -05:00
Yevgen Muntyan 62a1038f0c Remember 20 search entries 2006-07-09 08:54:44 -05:00
Yevgen Muntyan c28efc5560 Do not use anonymous unions 2006-07-08 09:59:35 -05:00
Yevgen Muntyan 7f2edc0fc0 Move focus to new active document, if closed one had focus 2006-07-08 09:57:01 -05:00
Yevgen Muntyan 5d863b5672 Octave lang file 2006-07-06 22:48:23 -05:00
Yevgen Muntyan 7ecabdad0b Treat '_' as a word character too 2006-07-06 00:12:59 -05:00
Yevgen Muntyan 0aa2cf391a Added window argument to moo_editor_open_file_line 2006-07-05 14:32:15 -05:00
Yevgen Muntyan f8c9cb338c Added timestamp argument to *_present() methods 2006-07-05 14:16:29 -05:00
Yevgen Muntyan 3925c87e0b Printing is enabled unconditionally with gtk >= 2.10.0 now 2006-07-05 14:14:02 -05:00
Yevgen Muntyan 2ddeaf535d Use spaces to compute indentation 2006-07-03 01:32:20 -05:00
Yevgen Muntyan 3c3080ea75 Printing progress dialog 2006-06-30 00:58:35 -05:00
Yevgen Muntyan 23d6fb1612 Removed moo_edit_window_push_message, moo_edit_window_pop_message; fixed document list menu 2006-06-30 00:53:11 -05:00
Yevgen Muntyan b327fe7319 Disabled silly messages 2006-06-29 01:46:02 -05:00
Yevgen Muntyan ff227e3431 moo_window_set_parent() 2006-06-27 16:20:46 -05:00
Yevgen Muntyan 99a545a11f Make sure _moo_lang_mgr_update_config() doesn't overwrite settings set from other sources 2006-06-26 07:47:55 -05:00
Yevgen Muntyan 051249eb5b Make sure color scheme setting is applied before opening documents 2006-06-26 05:47:38 -05:00
Yevgen Muntyan 34576fb4a7 Made MooFileView, moo_file_view_chdir, moo_file_view_get_actions, moo_file_view_get_ui_xml public 2006-06-25 07:02:14 -05:00
Yevgen Muntyan c24d0bfb82 Make document grab focus in open_file_line, to close the pane 2006-06-25 05:49:41 -05:00
Yevgen Muntyan 8ddf2c9f0f Added moo_edit_window_close_all(); renamed action callbacks to action_* 2006-06-25 03:15:19 -05:00
Yevgen Muntyan 76968d7292 Create file in selected dir 2006-06-24 00:25:38 -05:00
Yevgen Muntyan 9758cc3611 Set drag icon in drag-begin handler, not after gtk_drag_begin call 2006-06-23 05:29:54 -05:00
Yevgen Muntyan 17d4433fcb Do not touch drag icon 2006-06-23 05:29:21 -05:00
Yevgen Muntyan 147b99bf4f Do not try to open special files; do not try different encodings when error is not related to charset conversion 2006-06-23 03:42:08 -05:00
Yevgen Muntyan 6ea0fdc93e Fixed tab icon dnd which caused input lock in child windows 2006-06-23 02:48:32 -05:00
Yevgen Muntyan c4d811a3b8 There is no need in storing tags applied to the line, removed hl_info->tags; fixed next-line-context once again 2006-06-21 04:50:36 -05:00
Yevgen Muntyan bff0396dc3 Added G_GNUC_NULL_TERMINATED here and there 2006-06-20 21:20:58 -05:00