Commit Graph

1040 Commits (d9e5f2ce9acbd9331a777e857807671f9a5a4632)

Author SHA1 Message Date
Yevgen Muntyan 2e51f71df3 Added output pane 2006-04-16 22:05:51 -05:00
Yevgen Muntyan 9a7e0e9866 Load user-defined actions into the Tools menu 2006-04-16 17:02:33 -05:00
Yevgen Muntyan 8e0827e704 MooEditWindowCheckActionFunc stuff 2006-04-16 17:02:19 -05:00
Yevgen Muntyan 87825a8f45 Added comment 2006-04-16 17:01:41 -05:00
Yevgen Muntyan 5dce2636d1 Extra argument in moo_edit_context_new() 2006-04-16 17:01:19 -05:00
Yevgen Muntyan 8474fea9ec #define MOO_LANG_NONE "none" 2006-04-16 17:00:51 -05:00
Yevgen Muntyan 1374a8bfeb Allow specifying the doc 2006-04-16 17:00:24 -05:00
Yevgen Muntyan 9c6a7cc191 Load user-defined tools actions in moo_app_init_editor() 2006-04-16 16:59:52 -05:00
Yevgen Muntyan 3db2b3bdbd moo_command_set_code(), moo_command_type_parse() 2006-04-16 16:59:09 -05:00
Yevgen Muntyan f1f27bc20c Remove old actions with the same id; do not leak action factory data 2006-04-16 16:58:22 -05:00
Yevgen Muntyan 78ba0112f8 Updated comment 2006-04-16 12:26:36 -05:00
Yevgen Muntyan 3e05555f2b Moved MooFileError into mooutils-fs.* 2006-04-16 12:14:12 -05:00
Yevgen Muntyan 22cf474bb8 #include <moofileview/*> instead of #include <mooutils/moofileview/*> 2006-04-16 11:40:46 -05:00
Yevgen Muntyan e3f0b9365f More win32 methods 2006-04-16 11:39:47 -05:00
Yevgen Muntyan d6a933c23b Make gcc happier 2006-04-16 05:30:55 -05:00
Yevgen Muntyan aa6131e476 Init settings before creating prefs page, not after 2006-04-16 05:10:49 -05:00
Yevgen Muntyan 8ea782afeb Added 'langs' plugin property, so plugins may attach only to docs with given language 2006-04-16 04:57:14 -05:00
Yevgen Muntyan 3846014b62 moo_text_popup_get_selected(), moo_text_popup_select() 2006-04-16 03:53:24 -05:00
Yevgen Muntyan ca06cfcc6d Cycle through the list using arrow keys 2006-04-16 03:42:18 -05:00
Yevgen Muntyan e31a39b119 Added MooTextPopup; renamed MooCompletion back to MooTextCompletion 2006-04-16 03:35:17 -05:00
Yevgen Muntyan b064e44dbc Size popup correctly 2006-04-15 23:29:20 -05:00
Yevgen Muntyan 4aeeeb18de Connect to correct signal to get notified about language changed 2006-04-15 23:29:08 -05:00
Yevgen Muntyan de1dc07f2a Renamed MooTextCompletion to MooCompletion 2006-04-15 20:37:04 -05:00
Yevgen Muntyan 8217d6f2f0 Use PySys_SetArgv(), pygtk wants it 2006-04-15 20:36:36 -05:00
Yevgen Muntyan 26af3f4a73 Made it compile without libxml 2006-04-15 15:32:08 -05:00
Yevgen Muntyan f877e8dca1 Don't call update recursively 2006-04-14 05:25:54 -05:00
Yevgen Muntyan ff4c345d62 Clean up tags info when changing language 2006-04-14 05:09:12 -05:00
Yevgen Muntyan 3d7e430c23 Completion working now more or less 2006-04-14 04:52:28 -05:00
Yevgen Muntyan 04f770dd0f Better popup sizing; fixed complete() 2006-04-14 04:52:01 -05:00
Yevgen Muntyan a27c504296 Got rid of GMemChunk stuff 2006-04-14 04:51:20 -05:00
Yevgen Muntyan 40d6cb181d Add popup into the window group 2006-04-14 04:51:00 -05:00
Yevgen Muntyan a91c74db12 MooTextCompletion 2006-04-14 03:26:10 -05:00
Yevgen Muntyan 72d6caa854 Do add popup window into parent's window group 2006-04-14 03:25:57 -05:00
Yevgen Muntyan 4d2f11c7f9 Removed mooapp/mooapp-private.h 2006-04-13 05:06:48 -05:00
Yevgen Muntyan 87ebd4d3a4 MooFileDialog 2006-04-13 05:02:33 -05:00
Yevgen Muntyan 62bce9db36 Removed readonly attribute, it doesn't do anything anyway 2006-04-13 03:20:45 -05:00
Yevgen Muntyan 8a61f27a4b Set filename in Save As dialog 2006-04-13 03:19:51 -05:00
Yevgen Muntyan 1660032c2b Create menubar and toolbar in constructor 2006-04-13 03:19:15 -05:00
Yevgen Muntyan 6932c912c5 Removed some old crap 2006-04-13 02:33:31 -05:00
Yevgen Muntyan b594258ad2 Try not to crash 2006-04-13 02:28:47 -05:00
Yevgen Muntyan 0af4d6bf1d Don't try to read broken links 2006-04-13 02:27:56 -05:00
Yevgen Muntyan 1de364bbd1 Don't crash if last line is not indented 2006-04-11 13:35:51 -05:00
Yevgen Muntyan c2459f2077 Forgotten pcre.h 2006-04-11 00:03:42 -05:00
Yevgen Muntyan da9d539e20 Added PrefsGet, PrefsSet, and Exec 2006-04-10 04:22:26 -05:00
Yevgen Muntyan e717140ff1 Sroll to cursor after performing the action 2006-04-10 04:22:11 -05:00
Yevgen Muntyan fdb76e00e2 Added default language to the preferences dialog 2006-04-10 03:43:37 -05:00
Yevgen Muntyan 8e3cc449ea Started completion plugin 2006-04-10 02:56:01 -05:00
Yevgen Muntyan 9b1af31385 moo_lang_id_from_name() 2006-04-10 02:55:51 -05:00
Yevgen Muntyan c425850426 Removed odd #include 2006-04-10 02:55:11 -05:00
Yevgen Muntyan f0df7b153c Use moo_prefs_dialog_page_new_from_xml() 2006-04-10 02:54:39 -05:00
Yevgen Muntyan c90f306687 Added XXX warning 2006-04-10 02:54:07 -05:00
Yevgen Muntyan 521f0ccf9f Removed garbage mooapp-prefs.c 2006-04-10 02:53:37 -05:00
Yevgen Muntyan a46795a8c7 Save preferences immediately. 2006-04-10 02:53:20 -05:00
Yevgen Muntyan df5fef588b Fixed couple of leacks 2006-04-09 22:17:12 -05:00
Yevgen Muntyan 5ecee5cdc2 Write search results to status bar 2006-04-09 21:58:21 -05:00
Yevgen Muntyan 20af21fec0 Renamed rule->debug_string to 'description' 2006-04-09 21:15:23 -05:00
Yevgen Muntyan d8615e3a39 \ continues string context to next line 2006-04-09 21:15:03 -05:00
Yevgen Muntyan a044568765 Disabled library keywords lists 2006-04-09 20:18:52 -05:00
Yevgen Muntyan b4efac9a03 Try to present right window after dialog is closed 2006-04-09 17:37:03 -05:00
Yevgen Muntyan a006678c0d Added special chars menu to entries in search dialog; made cell renderers in MooCombo use single paragraph, to avoid having multiline items in the popup. 2006-04-09 17:18:52 -05:00
Yevgen Muntyan 08f9dc7c11 Do scroll to bottom on input 2006-04-09 17:17:27 -05:00
Yevgen Muntyan caf74a2c19 Use separate window group for each window 2006-04-09 17:16:48 -05:00
Yevgen Muntyan bf3b174083 Missing #include "moocompat.h" 2006-04-09 05:57:22 -05:00
Yevgen Muntyan 21ed1702c8 Emit prefs-notify only when setting actually changed 2006-04-09 05:25:31 -05:00
Yevgen Muntyan 2fee1bffe3 Do not change preferences in apply_prefs() 2006-04-09 05:18:10 -05:00
Yevgen Muntyan 160c44c055 Disabled type checks 2006-04-09 04:59:34 -05:00
Yevgen Muntyan e1d27d4701 Use MooConfig for active strings; save it to ~/.medit/as.cfg 2006-04-09 04:57:26 -05:00
Yevgen Muntyan bf0c28a169 moo_config_format() 2006-04-09 04:56:51 -05:00
Yevgen Muntyan 2fd3152e90 Added default_lang setting 2006-04-09 04:56:23 -05:00
Yevgen Muntyan 22e4f43e5e Fixed style name back 2006-04-09 04:56:02 -05:00
Yevgen Muntyan 993f637c05 moo_config_item_get/set_bool() 2006-04-09 04:01:48 -05:00
Yevgen Muntyan 011894e780 moo_mkdir() 2006-04-09 04:01:14 -05:00
Yevgen Muntyan 171f8428c8 moo_save_user_data_file() and moo_get_user_data_file() 2006-04-09 04:00:52 -05:00
Yevgen Muntyan 930d82bfb6 Added some stuff for shell commands 2006-04-09 03:26:25 -05:00
Yevgen Muntyan 5208489a59 Fixed getting lang for files with backup suffixes 2006-04-09 03:25:57 -05:00
Yevgen Muntyan 14631f4c40 Added MooCommand, object which knows how to "perform an action" 2006-04-09 02:29:08 -05:00
Yevgen Muntyan b9a8ab9844 Missing #include 2006-04-09 02:28:06 -05:00
Yevgen Muntyan c311b57f1c Made moo_Py_INCREF and moo_Py_DECREF real functions, always available 2006-04-09 02:27:43 -05:00
Yevgen Muntyan 58a319710e Do apply terminal settings when they are changed 2006-04-08 21:09:02 -05:00
Yevgen Muntyan e9a83d008c Removed moo_term_window_apply_settings 2006-04-08 21:08:43 -05:00
Yevgen Muntyan b1a2531961 Added MooConfig 2006-04-08 03:45:37 -05:00
Yevgen Muntyan 8dc62a9365 Allow window == NULL. 2006-04-08 03:45:22 -05:00
Yevgen Muntyan ff8ef23036 Use MooEditContext 2006-04-08 03:44:48 -05:00
Yevgen Muntyan 15062558d7 MooEditContext 2006-04-08 00:39:13 -05:00
Yevgen Muntyan 816c169876 Destroy popup menu properly 2006-04-08 00:31:50 -05:00
Yevgen Muntyan 8a0cd11f54 moo_get_app_dir(): duplicate returned string. 2006-04-07 22:20:13 -05:00
Yevgen Muntyan 57100e6a2b Reverted windows terminal changes 2006-04-06 16:23:00 -05:00
Yevgen Muntyan 401cf06fb6 Added gtkhtml dependency 2006-04-06 12:10:21 -05:00
Yevgen Muntyan 8174ea5636 Fixed headers and build system for installing the library 2006-04-06 03:32:16 -05:00
Yevgen Muntyan c69244f1ac Do not create UIXML instance in moo_editor_get_ui_xml, so plugins do not install their menu items when no gui is created 2006-04-06 01:39:29 -05:00
Yevgen Muntyan fd235eb069 Made MooLangMgr and MooPlugin manage data dirs themselves; with single call to read the dirs. 2006-04-06 01:16:29 -05:00
Yevgen Muntyan 756cbc732e Initialize lang manager and plugins in the module init function. 2006-04-06 01:15:40 -05:00
Yevgen Muntyan 772a7a454b Removed moo_lang_mgr_read_dirs() and moo_lang_mgr_add_dir(), module init takes care of that. 2006-04-06 01:15:08 -05:00
Yevgen Muntyan 32c1aaa50d Use MOO_ENABLE_RELOCATION in moo_get_data_dirs() 2006-04-06 00:47:13 -05:00
Yevgen Muntyan 628958dd71 Removed #include "config.h" 2006-04-06 00:46:42 -05:00
Yevgen Muntyan 3e76824cc1 Do not autogenerate pcre.h, use config.h instead 2006-04-06 00:29:23 -05:00
Yevgen Muntyan dbed3a095d Ignore unknown actions 2006-04-05 23:40:27 -05:00
Yevgen Muntyan 393f37c2fe Removed SaveSelection 2006-04-05 23:40:12 -05:00
Yevgen Muntyan 97d094186d Added auto-apply property of MooPrefsDialogPage; made PrefsDialog emit "init" for newly inserted pages if the dialog is running. 2006-04-05 23:28:53 -05:00
Yevgen Muntyan 0c111dbfd0 Emit "apply" only for enabled plugins prefs pages 2006-04-05 23:27:46 -05:00
Yevgen Muntyan 838b7c6543 Protect render_icon_for_path() from invalid mime types too 2006-04-05 22:53:19 -05:00
Yevgen Muntyan de4fa8b90b Do not respond to children visiblity changes during construction of toplevel widget 2006-04-05 22:50:08 -05:00
Yevgen Muntyan 37d30fd988 Check mime type returned by xdgmime 2006-04-05 22:36:52 -05:00
Yevgen Muntyan 40faa284ba Removed a bit of junk 2006-04-05 15:29:45 -05:00
Yevgen Muntyan 4448f204ab Detect line ends type for saving, and use \n only in the buffer 2006-04-05 13:55:48 -05:00
Yevgen Muntyan cd791d324c Use g_message to notify about missing icons 2006-04-05 13:55:14 -05:00
Yevgen Muntyan 9cfe01de99 Better status bar 2006-04-05 05:01:27 -05:00
Yevgen Muntyan cb65b78729 moo_get_app_dir() 2006-04-05 05:01:17 -05:00
Yevgen Muntyan 43ef48d953 Fixed for win32 2006-04-05 05:01:04 -05:00
Yevgen Muntyan f5303af8e1 Removed status bar from MooWindow; added it into MooEditWindow 2006-04-05 02:54:33 -05:00
Yevgen Muntyan 5d1b6d18f7 A bit better quick search 2006-04-05 01:22:26 -05:00
Yevgen Muntyan 4c2f4f18ee Added flags support 2006-04-05 01:21:56 -05:00
Yevgen Muntyan e4f1cd2e51 Take cell separators into account when measuring list 2006-04-05 00:09:02 -05:00
Yevgen Muntyan 49a2240cc2 Workaround for http://bugzilla.gnome.org/show_bug.cgi?id=336796 2006-04-04 23:46:27 -05:00
Yevgen Muntyan 83fe85ebe3 Don't enable filechooser now 2006-04-04 22:37:02 -05:00
Yevgen Muntyan 807030ff99 Changed default size 2006-04-04 22:36:53 -05:00
Yevgen Muntyan bcefef042c Added MooFileChooser 2006-04-04 21:48:12 -05:00
Yevgen Muntyan 632ec59da6 moo_file_view_get_filenames() 2006-04-04 21:48:03 -05:00
Yevgen Muntyan 5a9d057e6f moo_glade_xml_fill_widget() 2006-04-04 21:47:42 -05:00
Yevgen Muntyan 70e5daf2bb Started filechooser dialog 2006-04-04 04:58:49 -05:00
Yevgen Muntyan 6aa643d812 Renamed "New Document" to "New", added "New Window" 2006-04-04 04:21:07 -05:00
Yevgen Muntyan 84e7bd1fe8 Added MooTermPtWin, MooTermPt class for spawning any windows applications.
Sorted out MooTermPt stuff a bit; made sen_intr and get_erase_char virtual methods;
made MooTermPtCyg subclass MooTermPtWin.
Started mterm-app.
2006-04-03 02:56:05 -05:00
Yevgen Muntyan d1f8889eaf Missing #include 2006-04-03 02:52:37 -05:00
Yevgen Muntyan 880cbbf25c Fixed for !MOO_BUILD_EDIT 2006-04-03 02:51:58 -05:00
Yevgen Muntyan c49ec72594 Ignore unknown actions in toolbar; handle toolbar-visible, actions and prefs properly 2006-04-03 02:49:12 -05:00
Yevgen Muntyan 29d463d52c Python version of xml2h, for windows 2006-04-03 02:48:27 -05:00
Yevgen Muntyan ab9db5df65 Made add_child_in_border work (?) 2006-04-01 00:11:58 -06:00
Yevgen Muntyan bf61932b7b Fixed for win32 2006-03-31 23:59:00 -06:00
Yevgen Muntyan 9135a74451 Committed wrong file last time 2006-03-31 11:23:50 -06:00
Yevgen Muntyan f7778adbde Fixed a leak 2006-03-31 01:03:39 -06:00
Yevgen Muntyan 6f9720c831 MooTextView::check_brackets is renamed 2006-03-30 22:46:16 -06:00
Yevgen Muntyan 16c3d821c1 Removed useless patterns 2006-03-30 22:45:37 -06:00
Yevgen Muntyan 24ae34d606 unset visible property 2006-03-29 13:14:59 -06:00
Yevgen Muntyan 73f6ebdd23 moo_get_prgname(): don't store prgname 2006-03-29 02:24:34 -06:00
Yevgen Muntyan dadee80e58 Moved moo_app_get_data_dirs and friends into mooutils 2006-03-29 02:04:18 -06:00
Yevgen Muntyan e76e7a159f Changed FIND_BRACKETS_LIMIT to 3000; 10000 is too much 2006-03-29 02:03:52 -06:00
Yevgen Muntyan a50e97782c Don't try to apply garbage instead of a text tag 2006-03-28 16:00:14 -06:00
Yevgen Muntyan e955354bb3 Don't leak term->priv->layout 2006-03-28 15:59:49 -06:00
Yevgen Muntyan 405a237c21 Print styles and colors 2006-03-27 19:27:57 -06:00
Yevgen Muntyan c96a736465 Wrapping and ellipsizing in printout 2006-03-27 04:55:27 -06:00
Yevgen Muntyan 5b1a4494f9 Use font from widget's style 2006-03-27 02:11:07 -06:00
Yevgen Muntyan 47aaa0569a Do not draw background, gtk does it 2006-03-27 01:22:54 -06:00
Yevgen Muntyan 19a348feb1 Get same-attributes intervals properly 2006-03-27 01:17:13 -06:00
Yevgen Muntyan 706dac2189 Removed misterious comment 2006-03-27 00:59:28 -06:00
Yevgen Muntyan 825f6f58b6 Fixed highlighting matching brackets 2006-03-27 00:54:49 -06:00
Yevgen Muntyan 441c900de4 Removed MooFont*, let GTK handle that 2006-03-27 00:23:40 -06:00
Yevgen Muntyan 4674a268c6 Use g_message instead of g_warning to warn about unknown properties 2006-03-27 00:23:19 -06:00
Yevgen Muntyan f571bc8aa2 Cleaned up a bit 2006-03-26 20:44:21 -06:00
Yevgen Muntyan 49ecf24eec Do not use gdk_window_scroll 2006-03-26 20:29:43 -06:00
Yevgen Muntyan 63147f6bdf Use pango attributes for bold text 2006-03-26 20:22:11 -06:00