Commit Graph

906 Commits (9eb42ece504890c97ab66d0a4f4351d1468a5226)

Author SHA1 Message Date
Yevgen Muntyan 7bd40a5a84 Synced gregex.c with upstream 2007-06-03 01:54:25 -05:00
Yevgen Muntyan 748e805303 Fixed DUPNAMES problem in GRegex; do not call g_regex_unref on NULL 2007-06-02 04:07:10 -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 2f1e1a1ed7 Removed debug output 2007-05-29 00:50:40 -05:00
Yevgen Muntyan 7bf97f16df Synced with gtksourceview upstream 2007-05-27 15:08:41 -05:00
Yevgen Muntyan b667c8b41d moo_py_set_error() 2007-05-22 23:59:55 -05:00
Yevgen Muntyan 2c2c828928 Made _moo_normalize_file_path() not follow symbolic links 2007-05-22 23:57:58 -05:00
Yevgen Muntyan fc8fc4bb3f Do not use trailing comma in enums/arrays; do not mix FALSE/NULL, etc. 2007-05-20 04:44:37 -05:00
Yevgen Muntyan 261487b416 Added moo_strnsplit_lines(), made moo_idle_add() public 2007-05-20 04:36:05 -05:00
Yevgen Muntyan 43f89e7d1b Added FooCanvas 2007-05-15 23:11:26 -05:00
Yevgen Muntyan 13822bea3c Made io and thread sources recursive, so that callbacks may trigger new callbacks 2007-05-14 20:08:25 -05:00
Yevgen Muntyan 14c5421c08 Wrapped moo_glade_xml_set_signal_func 2007-05-09 12:19:09 -05:00
Yevgen Muntyan d1351db01e Export moo_open_file() 2007-05-08 21:47:03 -05:00
Yevgen Muntyan 667b5c2969 Export moo_get_locale_dir and egg_regex; added 'version' property for MooApp 2007-05-08 20:26:03 -05:00
Yevgen Muntyan 29fa36c182 Try harder to translate strings 2007-05-08 15:58:35 -05:00
Yevgen Muntyan 15873d225f _moo_get_locale_dir() 2007-05-08 15:58:08 -05:00
Yevgen Muntyan 6c9d7005af Made it more ggap-friendly 2007-05-08 09:01:44 -05:00
Yevgen Muntyan 00b0265f74 Fixed Sticky button 2007-05-08 09:01:36 -05:00
Yevgen Muntyan fa3e56a6dd Switch tabs on Enter and Space when navigating using keyboard 2007-05-08 00:54:37 -05:00
Yevgen Muntyan 8f1045d996 Added Close button to panes 2007-05-07 00:26:18 -05:00
Yevgen Muntyan 58ba81bbc7 Do not hide panes when removing currently open one 2007-05-03 12:34:08 -05:00
Yevgen Muntyan 17c402b171 Handle GtkComboBoxEntry 2007-05-02 00:37:51 -05:00
Yevgen Muntyan 3de7ce7573 Added setting for new files encoding 2007-05-02 00:37:36 -05:00
Yevgen Muntyan 45afac3f6c Made order of directories returned by get_data_dirs comply to xdg spec 2007-04-21 08:15:52 -05:00
Yevgen Muntyan 2a9fb283f9 Moved code around 2007-04-19 16:32:06 -05:00
Yevgen Muntyan 7d4a14490f Set pane window title from pane label if window title isn't set explicitely 2007-04-19 08:25:43 -05:00
Yevgen Muntyan 2d0e2e9f1b Wrapped MooPaneParams 2007-04-17 13:13:00 -05:00
Yevgen Muntyan 61528f54c5 Added moo_big_paned_(de|at)tach_pane 2007-04-17 12:50:01 -05:00
Yevgen Muntyan 86a927d218 Fixed include macros 2007-04-12 12:48:16 -05:00
Yevgen Muntyan 91b4f95895 Compile icons in if built standalone 2007-04-12 12:47:57 -05:00
Yevgen Muntyan c0c0f76139 Replaced macros __MOO_FOO_H__ with MOO_FOO_H 2007-04-12 10:31:28 -05:00
Yevgen Muntyan 68cf9c5f4e Made MooPaned compilable outside moo 2007-04-12 10:24:21 -05:00
Yevgen Muntyan 8714029896 Disabled debug output 2007-04-12 10:19:54 -05:00
Yevgen Muntyan ac95f4e782 Use separate window for child in MooPaned, so there is no need to raise pane window on size allocation 2007-04-12 09:46:56 -05:00
Yevgen Muntyan 67a194d695 Missing include and file 2007-04-11 16:27:26 -05:00
Yevgen Muntyan ae815f8b8f Added MOO_STOCK_FILE 2007-04-11 15:47:37 -05:00
Yevgen Muntyan 25fd73a0ea moo_big_paned_get_paned() 2007-04-10 08:41:02 -05:00
Yevgen Muntyan 27fed8d90d Emit message on stopping monitor 2007-04-09 23:54:23 -05:00
Yevgen Muntyan a6c5482320 Renamed xdg_buffer_is_text to _xdg_mime_buffer_is_text, made it private 2007-04-09 19:37:24 -05:00
Yevgen Muntyan efb8af0de9 Renamed file 2007-04-09 18:29:33 -05:00
Yevgen Muntyan d92e04188c Avoid compiler warning in pcre_get_named_substring 2007-04-08 10:11:20 -05:00
Yevgen Muntyan 5befff9880 MOO_STOCK_NEW_WINDOW, MOO_STOCK_FOLDER, MOO_STOCK_NEW_FOLDER 2007-04-08 09:38:41 -05:00
Yevgen Muntyan 7696e0548f Use special icons for file selector and bookmarks in file selector; do not use 'file-manager' icon with gnome theme 2007-04-07 15:17:46 -05:00
Yevgen Muntyan 64182be3c3 Do not alter stock icons; do not use gnome-fs-bookmark icon 2007-04-07 13:53:08 -05:00
Yevgen Muntyan dc9eb4abff Better stock icons business: use icon themes more 2007-04-07 12:36:10 -05:00
Yevgen Muntyan 3ef9426e6c Updated copyright notices 2007-04-07 03:21:52 -05:00
Yevgen Muntyan 19fed6e5b5 Translate less stock strings 2007-04-07 02:49:36 -05:00
Yevgen Muntyan f86a76aee0 Save and load user-chosen encodings 2007-04-07 02:33:53 -05:00
Yevgen Muntyan ae8455b0bf moo_markup_set_content() 2007-04-07 02:33:34 -05:00
Yevgen Muntyan bd4352f571 Added actions for input methods and special characters 2007-04-07 01:58:23 -05:00
Yevgen Muntyan 691b367a51 Better Russian translation 2007-04-06 14:39:16 -05:00
Yevgen Muntyan 13142f4a4c Avoid strict aliasing warnings here 2007-04-03 12:31:13 -05:00
Yevgen Muntyan c66f97a3ba moo_get_data_dirs(): get PACKAGE_NAME subdirectories of system data dirs; use g_get_system_data_dirs() instead of hardcoded list in mime code 2007-03-31 00:31:18 -05:00
Yevgen Muntyan c92c2ae484 Reenabled completion 2007-03-28 03:00:16 -05:00
Yevgen Muntyan b5e8d1246a Removed mooutils-win32.h 2007-03-24 02:10:43 -05:00
Yevgen Muntyan 90c02ca6b0 Do not use deprecated gtk_rc_style_unref 2007-03-24 02:10:28 -05:00
Yevgen Muntyan 886db00c60 moo_window_set_global_accels() 2007-03-22 23:09:37 -05:00
Yevgen Muntyan b97723fcf0 Do store pcre_extra structure in EggRegex 2007-03-20 16:43:33 -05:00
Yevgen Muntyan fab1343c7b Wrappers around g_slice_* and g_new/g_free 2007-03-13 01:29:55 -05:00
Yevgen Muntyan a621681e7f Removed _moo_file_is_text(); made file selector not try to open executables 2007-03-13 01:28:27 -05:00
Yevgen Muntyan 49221ce4db Use more glib, do not compile xdgmimeint.c 2007-03-12 00:43:36 -05:00
Yevgen Muntyan 452396c333 _moo_splitlines: do not ignore unicode paragraph separator 2007-03-12 00:42:56 -05:00
Yevgen Muntyan 5f7f9d83c3 Fixed ngettext macros and MOO_LOCALE_DIR 2007-03-06 18:57:19 -06:00
Yevgen Muntyan 0a30043e6d Declare moo_gettext() even if gettext is disabled 2007-03-06 16:04:49 -06:00
Yevgen Muntyan 1b93a46f92 Better i18n 2007-02-27 22:55:05 -06:00
Yevgen Muntyan ead1df9fd1 Added _xdg_buffer_is_text() 2007-02-27 22:51:33 -06:00
Yevgen Muntyan cbcec98a58 Wrapped saved_win32_error_mode into #ifdef __WIN32__ 2007-02-27 22:50:05 -06:00
Yevgen Muntyan 7a042ae82a Return from _moo_normalize_file_path() if it's called on a directory 2007-02-27 22:49:33 -06:00
Yevgen Muntyan 1f40048f2f #include <sys/types.h>, freebsd says it's needed 2007-02-27 22:47:42 -06:00
Yevgen Muntyan 3ce18b5eef Use predefined localedir variable; do not expose MOO_LOCALE_DIR symbol in headers 2007-02-27 21:56:57 -06:00
Yevgen Muntyan 9bdc129f60 Removed GGAP_ICON 2007-02-15 07:32:32 -06:00
Yevgen Muntyan 0f31729b4c Fixed egg_regex_fetch_named(); added _egg_regex_get_backrefmax() 2007-02-15 07:32:06 -06:00
Yevgen Muntyan 4c8f48da37 Use <foo/lala> instead of "foo/lala" 2007-02-09 20:29:48 -06:00
Yevgen Muntyan 38d1e35b7f Made some functions public for ggap, removed ggap icons, added MooRegex 2007-02-09 20:28:28 -06:00
Yevgen Muntyan 7e842ca378 Do not #include <gdk/gdkx.h> unconditionally 2007-02-04 11:40:26 -06:00
Yevgen Muntyan 6252c5f601 open_uri: try exo-open too, for xfce 2007-02-04 11:38:34 -06:00
Yevgen Muntyan 43d6745fd9 Try to open binary files with default application 2007-02-03 17:30:08 -06:00
Yevgen Muntyan aaadd4d323 CFLAGS are used before AM_CFLAGS, do not rely on AM_CFLAGS to pick correct <pcre.h> 2007-02-03 11:20:45 -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 9099ec299f Read more than one line per io callback 2007-01-15 05:04:39 -06:00
Yevgen Muntyan ccf7d55ebe -ansi -pedantic fixes 2007-01-11 20:28:22 -06:00
Yevgen Muntyan a602c0c750 Use $@.tmp and $@ in generated files rules 2007-01-10 04:19:06 -06:00
Yevgen Muntyan d794e43da5 Refactored collecting action properties and callback arguments in moo_window_newaction_* 2007-01-08 21:34:53 -06:00
Yevgen Muntyan 3814530728 _moo_window_class_new_action_callback() 2007-01-08 20:55:36 -06:00
Yevgen Muntyan 2d5b4f735d Do not include <fnmatch.h> unconditionally 2007-01-08 15:29:58 -06:00
Yevgen Muntyan 56b929f591 Intern return value in get_mime_*() 2007-01-08 08:36:11 -06:00
Yevgen Muntyan b09e8bab65 xdg_mime_is_valid_mime_type() 2007-01-08 01:31:49 -06:00
Yevgen Muntyan 38bb0c03ac Whitespace changes, to make it easier to diff against f.d.o. repository 2007-01-08 00:28:11 -06:00
Yevgen Muntyan 6ec57017d7 Removed moo_print() and moo_print_err() 2007-01-07 23:12:29 -06:00
Yevgen Muntyan 89db53d70e Use gtk_menu_attach_to_widget() 2007-01-07 23:10:35 -06:00
Yevgen Muntyan d95671b8f2 Do not use gtk_object_sink with glib >= 2.10 2007-01-07 22:27:22 -06:00
Yevgen Muntyan e406575dc3 #include <fnmatch.h> 2007-01-07 22:27:02 -06:00
Yevgen Muntyan 39198279d1 Fixed _xdg_mime_cache_list_mime_parents() 2007-01-07 22:26:53 -06:00
Yevgen Muntyan ecdd1a58f0 Use -Wno-unused here 2007-01-07 22:26:31 -06:00
Yevgen Muntyan 2783146fe2 Made xdgmime work on win32 2007-01-06 04:18:50 -06:00
Yevgen Muntyan 6f88ef4845 Moved win32 stuff from mooutils-misc to mooutils-win32; added fnmatch and gettimeofday staubs for win32 2007-01-06 04:18:26 -06:00
Yevgen Muntyan 52e4e36fbf Fixed strict-aliasing warnings 2007-01-05 18:08:57 -06:00
Yevgen Muntyan 5c6a6ba8ed Patch from https://bugs.freedesktop.org/show_bug.cgi?id=9242 2007-01-05 04:39:59 -06:00
Yevgen Muntyan c67846d6f0 Fixed problem with "" mime types 2007-01-05 04:37:48 -06:00
Yevgen Muntyan ff730f13f8 Added xdg_mime_intern_mime_type to avoid keeping freed strings after database is reloaded 2007-01-05 04:37:21 -06:00
Yevgen Muntyan 8501e21b25 Do not emit CHANGED for folders if FAM is used 2007-01-04 04:51:31 -06:00
Yevgen Muntyan 73e3306b15 Fixed strict-aliasing warnings 2007-01-04 04:41:30 -06:00
Yevgen Muntyan 90b3bd459e Use new stuff ony with glib-2.12 2006-12-31 05:35:50 -06:00
Yevgen Muntyan 03f1b83e55 Greta cleanup: removed unused functions; made static what appropriate 2006-12-31 04:53:45 -06:00
Yevgen Muntyan 34738f6fd7 Send key press events to focused widget first 2006-12-30 22:20:41 -06:00
Yevgen Muntyan cf38e20b69 Use G_UNLIKELY in get_type() functions 2006-12-30 22:18:14 -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 6d30eaf6c3 Renamed and made private moo_create_stock_items() and moo_get_icon_size_real_small() 2006-12-22 03:45:15 -06:00
Yevgen Muntyan 2b9eae9a51 Fixed compilation on gtk-2.6 2006-12-20 21:08:14 -06:00
Yevgen Muntyan 6ab57e4ea6 Made input pipe work on windows 2006-12-19 02:12:37 -06:00
Yevgen Muntyan 976396da30 Bring window to the front with any gtk version 2006-12-18 11:07:27 -06:00
Yevgen Muntyan 4941eb05ea Use encodings on save too, show nicer error messages 2006-12-17 10:58:17 -06:00
Yevgen Muntyan 1c3bfbfa93 More encoding aliases 2006-12-17 04:09:40 -06:00
Yevgen Muntyan c5add329de Started encodings stuff 2006-12-17 03:23:19 -06:00
Yevgen Muntyan 44505fb775 Fixed suspend/resume for stat and win32 2006-12-16 10:02:00 -06:00
Yevgen Muntyan 591f001195 Accept NULL in egg_regex_copy() 2006-12-15 21:12:49 -06:00
Yevgen Muntyan 7f98703017 Added MOO_FILE_EVENT_CREATED; removed (suspend|resume)_monitor 2006-12-15 21:12:31 -06:00
Yevgen Muntyan fbf40d617b Updated eggregex from Marco's repo 2006-12-13 22:40:00 -06:00
Yevgen Muntyan 2131a40865 Use FAMNoExists when available 2006-12-13 03:58:58 -06:00
Yevgen Muntyan ce2565cb45 Removed --enable-relocation option; modified installation directories business a bit 2006-12-12 22:54:49 -06:00
Yevgen Muntyan f662c28634 Disabled debug message 2006-12-12 22:45:23 -06:00
Yevgen Muntyan 3bb5172a36 FAM seems to be reusing request ids, do not trust it and always check real monitor id, to avoid calling new callbacks with old data 2006-12-12 22:44:56 -06:00
Yevgen Muntyan f459a9ac17 Avoid warning abour redefined symbol 2006-12-12 01:42:19 -06:00
Yevgen Muntyan 35015e2b98 Print comments as comments, not as usual text nodes 2006-12-10 16:52:33 -06:00
Yevgen Muntyan 49dd17f730 Correctly initialize gettext on win32 2006-12-10 16:52:08 -06:00
Yevgen Muntyan 1c3a5dd685 do_stat: do not keep list of monitors during, one can be freed after invoking callback in another monitor 2006-12-10 16:51:35 -06:00
Yevgen Muntyan 8508612c7c moo_position_window_real: do not fail if parent window already realized 2006-12-10 16:50:28 -06:00
Yevgen Muntyan d5470f5c22 Compile mooutils-thread.c on win32 or when MOO_ENABLE_TESTS enabled, for testthreads 2006-12-10 16:50:04 -06:00
Yevgen Muntyan 73add3cb19 Do not invoke callback on garbage 2006-12-10 10:54:35 -06:00
Yevgen Muntyan 5ca4354891 Imlpemented folder cache in MooFileSystem; made it forget old folders 2006-12-09 01:51:10 -06:00
Yevgen Muntyan c9b191978f More i18n stuff 2006-12-08 17:54:44 -06:00
Yevgen Muntyan 752a4a24e9 Added FAM back; rewrote a bit of MooFileWatch 2006-12-08 14:55:46 -06:00
Yevgen Muntyan 3de7726fc7 Invoke dgettext correctly 2006-12-08 02:29:10 -06:00
Yevgen Muntyan 77713b92e0 Implemented watching folders on win32 2006-12-08 02:28:18 -06:00
Yevgen Muntyan 961a3bb4c3 Use default icon if a page doesn't provide one 2006-12-07 03:17:12 -06:00
Yevgen Muntyan 5de6576eeb Made it possible to write completion stuff in python 2006-12-06 23:06:24 -06:00
Yevgen Muntyan 08c1c72957 More python api 2006-12-05 02:54:39 -06:00
Yevgen Muntyan 0723a7e378 Fixed lot of compiler warnings 2006-12-04 04:54:12 -06:00
Yevgen Muntyan 4c56fa6176 Fixed bunch of compiler warnings 2006-12-03 01:49:14 -06:00
Yevgen Muntyan 08c309aa89 Translate toolbar style labels 2006-11-26 22:57:09 -06:00
Yevgen Muntyan 2c60916680 MooActionBase connect-accel and accel-editable properties; connect-proxy and disconect-proxy signals 2006-11-25 15:01:49 -06:00
Yevgen Muntyan 211c0df811 Export moo_(dis|en)able_win32_error_message() 2006-11-23 23:08:22 -06:00
Yevgen Muntyan c425e12db2 Guard #include "config.h" with #ifdef HAVE_CONFIG_H 2006-11-23 21:18:25 -06:00
Yevgen Muntyan d96417408a Really do not disable error messages when MOO_DEBUG is used 2006-11-21 20:40:34 -06:00
Yevgen Muntyan 65725ae9ad Do not disable error message when MOO_DEBUG is used 2006-11-21 20:35:23 -06:00
Yevgen Muntyan cd139038eb Do not read from NULL 2006-11-21 20:32:56 -06:00
Yevgen Muntyan 15daa166bf More python api 2006-11-20 00:58:10 -06:00
Yevgen Muntyan 957273f1f3 Do not save last filter if it didn't change 2006-11-19 12:51:28 -06:00
Yevgen Muntyan 8215f591e8 dialog-created signal 2006-11-19 12:36:22 -06:00