aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug noticed by kmaraasDan Winship2001-03-172-1/+5
| | | | | | * e-path.c (e_path_to_physical): Fix a bug noticed by kmaraas svn path=/trunk/; revision=8763
* Fix a bit: [mailto:foo] shouldn't grab the ']'Dan Winship2001-03-152-1/+6
| | | | | | | * e-html-utils.c (url_extract): Fix a bit: [mailto:foo] shouldn't grab the ']' svn path=/trunk/; revision=8736
* update cflag macrosJP Rosevear2001-03-132-1/+5
| | | | | | | | 2001-03-12 JP Rosevear <jpr@ximian.com> * Makefile.am: update cflag macros svn path=/trunk/; revision=8648
* Added condition and fallback to LC_CTYPE if system doesn't defineTimur Bakeyev2001-03-121-0/+4
| | | | | | | | | | | 2001-03-11 Timur Bakeyev <timur@gnu.org> * gal/util/e-xml-utils.c: Added condition and fallback to LC_CTYPE if system doesn't define LC_MESSAGES. Usage of LC_CTYPE to determine language is hackish and questionable, then... Still, gives nice re- sults if there is no other ways to get that value. svn path=/trunk/; revision=8632
* Fix an off-by-one in the "is this for real?" check so that "http:// "Dan Winship2001-03-072-1/+6
| | | | | | | * e-html-utils.c (url_extract): Fix an off-by-one in the "is this for real?" check so that "http:// " won't get URLified svn path=/trunk/; revision=8581
* new files to contain functions to parse and format dates and times forDamon Chaplin2001-03-054-0/+334
| | | | | | | | | 2001-03-04 Damon Chaplin <damon@ximian.com> * e-time-utils.[hc]: new files to contain functions to parse and format dates and times for various calendar widgets. svn path=/trunk/; revision=8546
* New function to turn foo/bar into foo/subfolders/bar. The inverse functionDan Winship2001-03-024-0/+155
| | | | | | | | | | | * e-path.c (e_path_to_physical): New function to turn foo/bar into foo/subfolders/bar. The inverse function doesn't exist yet because I didn't need it. Also, if the shell were going to use this, we'd need a few more tools... * Makefile.am (libeutil_la_SOURCES): Add e-path.[ch] svn path=/trunk/; revision=8467
* Make it handle a NULL string as an empty string.Not Zed2001-03-022-1/+9
| | | | | | | | | 2001-03-01 Not Zed <NotZed@Ximian.com> * e-sexp.c (e_sexp_encode_string): Make it handle a NULL string as an empty string. svn path=/trunk/; revision=8448
* Added e-sorter.lo and e-selection-model.lo.Christopher James Lahey2001-02-282-0/+201
| | | | | | | | | | | | | | | | | | | | | | | 2001-02-27 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am: Added e-sorter.lo and e-selection-model.lo. * gal/util/Makefile.am: Added e-sorter.c and e-sorter.h. * gal/util/e-sorter.c, gal/util/e-sorter.h: New class. This is a new simple virtual class for use with ESelectionModel. It implements the same set of methods as ETableSorter but the default behavior is as if the sorting was a no-op. * gal/widgets/Makefile.am: Added e-selection-model.c and e-selection-model.h. * gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h: New class. Implements all of the semantics of ETableSelectionModel except for the connection to the ETableModel. svn path=/trunk/; revision=8421
* Turned off some of the debug.Not Zed2001-02-232-2/+3
| | | | | | | | 2001-02-23 Not Zed <NotZed@Ximian.com> * e-msgport.c : Turned off some of the debug. svn path=/trunk/; revision=8364
* Wait a lot lot longer for threads to finish.Not Zed2001-02-232-2/+7
| | | | | | | | | 2001-02-23 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_thread_destroy): Wait a lot lot longer for threads to finish. svn path=/trunk/; revision=8352
* implement.Michael Meeks2001-02-211-0/+23
| | | | | | | | 2001-02-21 Michael Meeks <michael@ximian.com> * gal/util/e-util.h (E_MAKE_X_TYPE): implement. svn path=/trunk/; revision=8315
* Changed the version number to 0.5.99.1.Christopher James Lahey2001-02-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-19 Christopher James Lahey <clahey@ximian.com> * configure.in: Changed the version number to 0.5.99.1. * gal/Makefile.am (libgal_la_LIBADD): Change the directories for e-table-text-model.lo, e-text-event-processor.lo, and e-text-event-processor-emacs-like.lo. Reordered the e-text directory to be after the e-table directory in build order. * gal/e-text/Makefile.am: Removed e-text-event-processor-emacs-like.c, e-text-event-processor-emacs-like.h, e-text-event-processor-types.h, e-text-event-processor.c, and e-text-event-processor.h. Added e-table-text-model.c and e-table-text-model.h. * gal/e-text/e-table-text-model.c: Changed the signature of these mehtods to match the changed signature in ETextModel. * gal/e-text/e-text-event-processor-emacs-like.c, gal/e-text/e-text-event-processor-emacs-like.h, gal/e-text/e-text-event-processor-types.h, gal/e-text/e-text-event-processor.c, gal/e-text/e-text-event-processor.h: Moved these to gal/util/. * gal/e-text/e-text.c, gal/e-text/e-text.h: Changed the includes to match the moved files. * gal/util/Makefile.am: Added e-text-event-processor-emacs-like.c, e-text-event-processor-emacs-like.h, e-text-event-processor-types.h, e-text-event-processor.c, and e-text-event-processor.h. * gal/util/e-text-event-processor-emacs-like.h, gal/util/e-text-event-processor.h: Changed the includes to match the moved files. 2001-02-19 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Removed e-table-text-model.c and e-table-text-model.h. * e-table-text-model.c, e-table-text-model.h: Moved these to gal/e-text/. * e-cell-text.c: Changed the include line for e-text-event-processor.h and e-text-event-processor-emacs-like.h. svn path=/trunk/; revision=8298
* Fix it so that numbers containing inner zeros will be formatted correctly.Rusty Conover2001-02-191-1/+7
| | | | | | | | | | | 2001-02-18 Rusty Conover <rconover@zootweb.com> * gal/util/e-util.c (e_format_number): Fix it so that numbers containing inner zeros will be formatted correctly. For instance the number 5005 when formatted was coming out as 5,5. It now comes out at 5,005. svn path=/trunk/; revision=8272
* From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com>Christopher James Lahey2001-02-172-0/+14
| | | | | | | | | | | | | | 2001-02-17 Christopher James Lahey <clahey@ximian.com> From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com> * gal/util/e-util.h, gal/util/e-xml-utils.h, gal/widgets/e-canvas-utils.h, gal/widgets/e-colors.h, gal/widgets/e-cursors.h, gal/widgets/e-gui-utils.h, gal/widgets/e-popup-menu.h, gal/widgets/e-printable.h, gal/widgets/gtk-combo-stack.h: Added GNOME_DECLS. svn path=/trunk/; revision=8267
* New marshallersDan Winship2001-02-152-8/+88
| | | | | | | * gal/util/e-util.c (e_marshal_INT__POINTER_POINTER, e_marshal_INT__POINTER_POINTER_POINTER_POINTER): New marshallers svn path=/trunk/; revision=8235
* Don't handle C-Enter.Christopher James Lahey2001-02-091-4/+4
| | | | | | | | | 2001-02-08 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text-event-processor-emacs-like.c (e_text_event_processor_emacs_like_event): Don't handle C-Enter. svn path=/trunk/; revision=8107
* Changed to allocate raw blocks for the data, and keep track of them withNot Zed2001-02-082-44/+29
| | | | | | | | | | 2001-02-08 Not Zed <NotZed@Ximian.com> * e-memory.c (EMemChunk): Changed to allocate raw blocks for the data, and keep track of them with an array, this is so the native malloc alignment is not lost at the allocation stage. svn path=/trunk/; revision=8100
* Added a comment.Christopher James Lahey2001-02-071-0/+1
| | | | | | | | 2001-02-06 Christopher James Lahey <clahey@ximian.com> * gal/util/e-i18n.h: Added a comment. svn path=/trunk/; revision=8045
* Added e_format_number and e_create_directory.Christopher James Lahey2001-02-072-55/+189
| | | | | | | | | 2001-02-06 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c, gal/util/e-util.h (e_format_number, e_create_directory): Added e_format_number and e_create_directory. svn path=/trunk/; revision=8042
* Rearranged the includes here a bit.Christopher James Lahey2001-02-051-2/+2
| | | | | | | | 2001-02-05 Christopher James Lahey <clahey@helixcode.com> * gal/util/e-xml-utils.c: Rearranged the includes here a bit. svn path=/trunk/; revision=7969
* Added declarations for all the functions declared in gnome-i18n.h.Christopher James Lahey2001-02-051-0/+15
| | | | | | | | | 2001-02-05 Christopher James Lahey <clahey@helixcode.com> * gal/util/e-i18n.h: Added declarations for all the functions declared in gnome-i18n.h. svn path=/trunk/; revision=7968
* Revert last patchMiguel de Icaza2001-02-051-2/+8
| | | | svn path=/trunk/; revision=7964
* Turn on joining of cancelled threads. (e_msgport_wait): Put a cleanupNot Zed2001-01-312-1/+18
| | | | | | | | | | 2001-01-30 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_thread_destroy): Turn on joining of cancelled threads. (e_msgport_wait): Put a cleanup handler to clear the mp lock if it happens in cond_wait, since it will be locked again. svn path=/trunk/; revision=7919
* If we have waiting threads, then dont start a new one for the NEW case.Not Zed2001-01-292-8/+98
| | | | | | | | | | | | | 2001-01-29 Not Zed <NotZed@Ximian.com> * e-msgport.c (e_thread_put): If we have waiting threads, then dont start a new one for the NEW case. (thread_dispatch): For the NEW case, dont exit, just keep running, waiting for a new message to come along. (e_thread_destroy): When cleaning up NEW threads, cancel any non-busy threads. svn path=/trunk/; revision=7883
* Don't #define __GNOME_I18N_H__ if it's already defined.Chyla Zbigniew2001-01-283-110/+259
| | | | | | | | | | | | | | | | | | | | | | | * gal/util/e-i18n.h: Don't #define __GNOME_I18N_H__ if it's already defined. *gal/util/e-xml-utils.c: Functions moved from Gnumeric: e_xml_get_child_by_name_by_lang_list, e_xml_get_child_by_name_by_lang_list_with_score (static), e_xml_get_child_by_name_no_lang. New functions (for completness): e_xml_get_integer_prop_by_name_with_default, e_xml_get_string_prop_by_name_with_default, e_xml_get_uint_prop_by_name, e_xml_get_uint_prop_by_name_with_default, e_xml_set_uint_prop_by_name. Now every e_xml_get_*_prop_by_name function just calls e_xml_get_*_prop_by_name_with_default with some sensible default value. Formatting fixes here and there. svn path=/trunk/; revision=7874
* Add chunk allocators.Not Zed2001-01-253-58/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-24 Not Zed <NotZed@Ximian.com> * e-sexp.h (ESExp): Add chunk allocators. * e-sexp.c: Removed some redundant debug printfs. (e_sexp_term_eval): Dont allocate result till we have it. so we can have a fatal error, and not leak it. (term_eval_plus): If we have to abort, free our arguments. (term_eval_sub): Same. (parse_new_term): Renamed to parse_term_new for consistency. Fixed callers. (e_sexp_result_new): Add the esexp as an argument. Ouch, lots of code to change for this. Allocate blocks from an ememchunk. Fixed all callers. (e_sexp_result_free): Same as above, free blocks from the ememchunk. Fixed all callers. (parse_term_new): (parse_term_free): Similarly, add the esexp to the argument, and alloc/free from memchunks. Fixed all local callers. (e_sexp_init): Setup the memory chunk allocators. (e_sexp_finalise): Destroy memchunk allocators. svn path=/trunk/; revision=7795
* Removed some redundant debug printfs. (e_sexp_term_eval): Dont allocateNot Zed2001-01-243-57/+64
| | | | | | | | | | | | | | 2001-01-24 Not Zed <NotZed@Ximian.com> * e-sexp.c: Removed some redundant debug printfs. (e_sexp_term_eval): Dont allocate result till we have it. so we can have a fatal error, and not leak it. (term_eval_plus): If we have to abort, free our arguments. (term_eval_sub): Same. (parse_new_term): Renamed to parse_term_new for consistency. Fixed callers. svn path=/trunk/; revision=7766
* Setup error return and return error on parse error. (parse_list): Fail ifNot Zed2001-01-233-14/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-23 Not Zed <NotZed@Ximian.com> * e-sexp.c (e_sexp_parse): Setup error return and return error on parse error. (parse_list): Fail if we have a problem. (parse_value): Here too. (fatal_error): Fatal error handling function, jumps back to the top caller. (term_eval_and): (e_sexp_term_eval): (term_eval_sub): (term_eval_plus): (term_eval_gt): (term_eval_lt): (term_eval_or): Fail on error. (e_sexp_term_eval): Added a comment about where this can be called, which is only from inside e_sexp_eval(). (e_sexp_eval): Setup setjmp error handler. (e_sexp_error): Error accessor function. * e-sexp.h: Added a longjmp environment to the structure, and an error return to parse. svn path=/trunk/; revision=7738
* New function, can't use strlen on the md5 hash because it might have nullJP Rosevear2001-01-234-1/+63
| | | | | | | | | | 2001-01-22 JP Rosevear <jpr@ximian.com> * e-dbhash.c (md5_to_dbt): New function, can't use strlen on the md5 hash because it might have null chars in it. (e_dbhash_add): use md5_to_dbt svn path=/trunk/; revision=7726
* Added function e_xml_get_bool_prop_by_name_with_default.Christopher James Lahey2001-01-212-0/+23
| | | | | | | | | 2001-01-21 Christopher James Lahey <clahey@helixcode.com> * gal/util/e-xml-utils.c, gal/util/e-xml-utils.h: Added function e_xml_get_bool_prop_by_name_with_default. svn path=/trunk/; revision=7675
* New function, name describes it well. (gtk_radio_button_select_nth): NewJason Leach2001-01-193-0/+65
| | | | | | | | | | 2001-01-17 Jason Leach <jasonleach@usa.net> * e-gtk-utils.c (gtk_radio_button_get_nth_selected): New function, name describes it well. (gtk_radio_button_select_nth): New function. svn path=/trunk/; revision=7629
* Ximianified.Federico Mena Quintero2001-01-173-2/+8
| | | | | | | | 2001-01-17 Federico Mena Quintero <federico@ximian.com> * e-dialog-widgets.[ch]: Ximianified. svn path=/trunk/; revision=7574
* This fixes translations of library messages compared to applicationMiguel de Icaza2001-01-172-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes translations of library messages compared to application messages. 2001-01-17 Miguel de Icaza <miguel@gnu.org> * po/POTFILES.in: update. * gal/widgets/color-palette.c: use e-i18n.h * gal/util/e-i18n.h: Avoid inclussion of the GNOME i18n file as we provide our own. 2001-01-17 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c: Use e-i18n.h here. * e-table.c (et_col_spec_to_col): Use gettext here. (et_real_construct): Use gettext too. (et_col_spec_to_col): Use gettext here. * e-cell-date.c: Use e-i18n.h here. * e-table-config.c (config_sort_info_update): Simplify column grabbing code and drop item layout code. (config_group_info_update): ditto. * e-table-config.c: Get correct translation setup working. 2001-01-17 Miguel de Icaza <miguel@gnu.org> * e-group-bar.c: Use e-i18n.h svn path=/trunk/; revision=7565
* Dup the string passed in, not the temporary string. d'oh.JP Roseveaer2001-01-152-1/+6
| | | | | | | | | 2001-01-15 JP Roseveaer <jpr@ximian.com> * e-pilot-util.c (e_pilot_utf8_from_pchar): Dup the string passed in, not the temporary string. d'oh. svn path=/trunk/; revision=7501
* remove old config messageJP Rosevear2001-01-151-1/+1
| | | | | | | | 2001-01-14 JP Rosevear <jpr@ximian.com> * configure.in: remove old config message svn path=/trunk/; revision=7492
* #define E_THREAD_NONE as ((pthread_t)~0) and use that instead of ~0Dan Winship2001-01-062-10/+18
| | | | | | | | * e-msgport.c: #define E_THREAD_NONE as ((pthread_t)~0) and use that instead of ~0 throughout. (pthread_t is a pointer type on my system, so there are lots of warnings without the cast.) svn path=/trunk/; revision=7271
* Added functions for encoding utf8 safely into libxml brokennessLauris Kaplinski2001-01-031-0/+1
| | | | svn path=/trunk/; revision=7225
* Some debug commented out, static list intialiser.Michael Zucci2001-01-032-6/+9
| | | | svn path=/trunk/; revision=7221
* Merge from camel-mt-branch.Not Zed2000-12-246-66/+938
| | | | | | | | 2000-12-24 Not Zed <NotZed@HelixCode.com> * Merge from camel-mt-branch. svn path=/trunk/; revision=7152
* Added e_xml_get_double_prop_by_name_with_default.Christopher James Lahey2000-12-232-2/+25
| | | | | | | | | 2000-12-23 Christopher James Lahey <clahey@helixcode.com> * gal/util/e-xml-utils.c, gal/util/e-xml-utils.h: Added e_xml_get_double_prop_by_name_with_default. svn path=/trunk/; revision=7137
* Check for null strings (e_pilot_utf8_from_pchar): dittoJP Rosevear2000-12-212-0/+11
| | | | | | | | | 2000-12-20 JP Rosevear <jpr@helixcode.com> * e-pilot-util.c (e_pilot_utf8_to_pchar): Check for null strings (e_pilot_utf8_from_pchar): ditto svn path=/trunk/; revision=7106
* Convert cal component strings to pilot character setJP Rosevear2000-12-204-3/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-19 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (local_record_from_comp): Convert cal component strings to pilot character set (comp_from_remote_record): vice versa * conduits/todo/todo-conduit.c: Same as above 2000-12-19 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.c (local_record_from_ecard): Convert ecard strings to pilot encodings 2000-12-19 JP Rosevear <jpr@helixcode.com> * e-pilot-util.c (e_pilot_utf8_to_pchar): Convert utf8 strings to pilot character set (e_pilot_utf8_from_pchar): vice versa * Makefile.am: Conditionally build e-pilot-util.[hc] because they depend on pilot-link stuff svn path=/trunk/; revision=7090
* Made the parameter type of e_strdup_string a const. Made it not callChristopher James Lahey2000-12-192-66/+61
| | | | | | | | | | | 2000-12-19 Christopher James Lahey <clahey@helixcode.com> * gal/util/e-util.c, gal/util/e-util.h (e_strdup_strip): Made the parameter type of e_strdup_string a const. Made it not call isspace on signed characters. Made the return type of e_strstrcase non const again. svn path=/trunk/; revision=7078
* make sure we actually make enough space for "&nbsp;".Larry Ewing2000-12-132-1/+6
| | | | | | | | | 2000-12-13 Larry Ewing <lewing@helixcode.com> * e-html-utils.c (e_text_to_html): make sure we actually make enough space for "&nbsp;". svn path=/trunk/; revision=6964
* Fixed a warning by making e_strstrcase return a const gchar.Christopher James Lahey2000-12-122-60/+64
| | | | | | | | | 2000-12-11 Christopher James Lahey <clahey@helixcode.com> * gal/util/e-util.c, gal/util/e-util.h: Fixed a warning by making e_strstrcase return a const gchar. svn path=/trunk/; revision=6936
* Work to get a Gtk-Doc infrastructure in place for Gal.Miguel de Icaza2000-12-091-19/+12
| | | | | | | | Work to get a Gtk-Doc infrastructure in place for Gal. Miguel. svn path=/trunk/; revision=6883
* Updated documentation comment.Federico Mena Quintero2000-12-092-1/+8
| | | | | | | | | 2000-12-08 Federico Mena Quintero <federico@helixcode.com> * e-dialog-widgets.c (e_dialog_editable_get): Updated documentation comment. svn path=/trunk/; revision=6869
* Increased the version number to 0.3. Increased the so number.Christopher James Lahey2000-12-071-1/+0
| | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * configure.in: Increased the version number to 0.3. Increased the so number. * gal/util/e-util.h: Removed unnecessary #define e_str_make_safe e_filename_make_safe. svn path=/trunk/; revision=6824
* Fixed some warnings.Christopher James Lahey2000-12-071-1/+1
| | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * gal/util/e-util.c, gal/widgets/e-font.c: Fixed some warnings. svn path=/trunk/; revision=6818
* New `e-corba-utils.c' module, for now just containing a function toEttore Perazzoli2000-12-054-0/+77
| | | | | | get a safe CORBA string from a possibly NULL string pointer. svn path=/trunk/; revision=6786
* macro that calls e_filename_make_safeJeffrey Stedfast2000-12-052-8/+9
| | | | | | | | | | | | | 2000-12-04 Jeffrey Stedfast <fejj@helixcode.com> * gal/util/e-util.h (e_str_make_safe): macro that calls e_filename_make_safe * gal/util/e-util.c (e_filename_make_safe): Renamed from e_str_make_safe (e_strstrcase): go back to returning gchar * rather than const. svn path=/trunk/; revision=6780
* Bump the version to 0.2.99.4Jeffrey Stedfast2000-12-012-5/+20
| | | | | | | | | | | | | 2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * configure.in: Bump the version to 0.2.99.4 * gal/util/e-util.c (e_strstrcase): This should return a const gchar *. (e_str_make_safe): New convenience function to replace risky chars with an underscore. svn path=/trunk/; revision=6744
* Fix typename of args (for all funcs). (e_strv_set_ref): Assert the indexNot Zed2000-11-303-21/+37
| | | | | | | | | | | | 2000-11-30 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_strv_new): Fix typename of args (for all funcs). (e_strv_set_ref): Assert the index is in range. (e_strv_set_ref_free): " (e_strv_set): " (e_strv_get): " svn path=/trunk/; revision=6733
* Plug a memleak, need to free results from term_eval(). (term_eval_gt):Not Zed2000-11-293-0/+28
| | | | | | | | | | | | | | | | | 2000-11-29 Not Zed <NotZed@HelixCode.com> * e-sexp.c (term_eval_lt): Plug a memleak, need to free results from term_eval(). (term_eval_gt): (term_eval_eq): 2000-11-27 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_mempool_new): Added some locking to global data. This should make the interfaces mt-safe, although each object is only per-thread safe. svn path=/trunk/; revision=6710
* New function, set a reference to a string that is then owned/free'd by theNot Zed2000-11-223-18/+64
| | | | | | | | | | | | 2000-11-22 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_strv_set_ref_free): New function, set a reference to a string that is then owned/free'd by the strv. (e_strv_destroy): If there are any strings to destroy, free them here. svn path=/trunk/; revision=6645
* If we dont get a big enough chunk in the first node, give up. Otherwise weNot Zed2000-11-212-9/+17
| | | | | | | | | | | | 2000-11-22 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_mempool_alloc): If we dont get a big enough chunk in the first node, give up. Otherwise we spend too much time searching. (e_mempool_strdup): Doh, and allocate enough for the terminating NUL at that. svn path=/trunk/; revision=6631
* New function to strdup into a mempool.Not Zed2000-11-213-0/+12
| | | | | | | | | 2000-11-21 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_mempool_strdup): New function to strdup into a mempool. svn path=/trunk/; revision=6630
* New function to allocate a zero'd out chunk.Not Zed2000-11-213-0/+16
| | | | | | | | | 2000-11-21 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_memchunk_alloc0): New function to allocate a zero'd out chunk. svn path=/trunk/; revision=6624
* New routines for fast memory management and compact string array storage.Not Zed2000-11-214-0/+902
| | | | | | | | | | | 2000-11-20 Not Zed <NotZed@HelixCode.com> * e-memory.[ch]: New routines for fast memory management and compact string array storage. * Makefile.am (libeutil_la_SOURCES): Added e-memory.[ch]. svn path=/trunk/; revision=6619
* oops thats func not *funcJP Rosevear2000-11-103-4/+9
| | | | | | | | | | 2000-11-09 JP Rosevear <jpr@helixcode.com> * e-dbhash.h: oops thats func not *func * e-dbhash.c (e_dbhash_foreach_key): Memset the data DBT to 0 svn path=/trunk/; revision=6521
* Build e-dbhash.[hc]JP Rosevear2000-11-084-0/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-07 JP Rosevear <jpr@helixcode.com> * Makefile.am: Build e-dbhash.[hc] * e-dbhash.[hc]: New routines to manage a db database on disk that contains md5 hashed data and indexed by uids. Provides comparison functions and such so the caller does not have to do the md5 bits. 2000-11-07 JP Rosevear <jpr@helixcode.com> * backend/pas/pas-book.h: Update PASRequest structure * backend/pas/pas-book.c (impl_Evolution_Book_get_changes): update param name (pas_book_queue_get_changes): Use PASRequest change_id slot * backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy): Properly copy change_id and change_context (pas_backend_file_book_view_free): Free change_id/change_context (pas_backend_file_changes_foreach_key): Callback to figure out the deleted cards (pas_backend_file_changes): Use new e-dbhash stuff to implement. Write out updated hash * backend/idl/addressbook.idl: Rename get_changes param svn path=/trunk/; revision=6489
* #include <string.h> to quench warning. #include <stdlib.h> for sameKjartan Maraas2000-10-313-0/+7
| | | | | | | | | 200-10-30 Kjartan Maraas <kmaraas@gnome.org> * e-dialog-widgets.c: #include <string.h> to quench warning. * e-sexp.c: #include <stdlib.h> for same reason. svn path=/trunk/; revision=6288
* build md5-utils72000-10-284-1/+426
| | | | | | | | | | | | | | | | | | | | | | | | 2000-10-27 <jpr@helixcode.com> * Makefile.am: build md5-utils * md5-utils.c: Make part of util, get rid of camel stream util function include string.h * md5-utils.h: ditto 2000-10-27 <jpr@helixcode.com> * providers/pop3/Makefile.am: Tidy up build * providers/smtp/Makefile.am: ditto * Makefile.am: Move md5-utils.[hc] to e-util because the addressbook is going to use md5 hashes for pilot syncing. Maybe the calendar conduits as well because this is a good idea Chris had. svn path=/trunk/; revision=6234
* Return null if no pnode was found.72000-10-272-2/+10
| | | | | | | | | 2000-10-27 <jpr@helixcode.com> * e-pilot-map.c (e_pilot_map_lookup_uid): Return null if no pnode was found. svn path=/trunk/; revision=6229
* Added an "allow_newlines" argument.Christopher James Lahey2000-10-274-20/+62
| | | | | | | | | | | | | 2000-10-27 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-entry.c, gal/e-text/e-text-event-processor-emacs-like.c, gal/e-text/e-text-event-processor-emacs-like.h, gal/e-text/e-text-event-processor.c, gal/e-text/e-text-event-processor.h, gal/e-text/e-text.c: Added an "allow_newlines" argument. svn path=/trunk/; revision=6226
* Get archive field while parsing (map_write_foreach): Write out archiveJP Rosevear2000-10-272-26/+78
| | | | | | | | | | | | | | | | 2000-10-27 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c (map_sax_start_element): Get archive field while parsing (map_write_foreach): Write out archive field (e_pilot_map_pid_is_archived): implement (e_pilot_map_uid_is_archived): ditto (e_pilot_map_insert): Insert new node structures (e_pilot_map_lookup_pid): Take into account the list is now a list of structures (e_pilot_map_lookup_uid): ditto svn path=/trunk/; revision=6224
* unsigned chars.Michael Meeks2000-10-273-3/+13
| | | | | | | | | | | | 2000-10-26 Michael Meeks <michael@helixcode.com> * ename/e-address-western.c (e_address_western_is_postal): unsigned chars. * ename/e-name-western.c (e_name_western_get_one_prefix_at_str): cast to unsigned char. svn path=/trunk/; revision=6212
* Add another marshalling function.Dan Winship2000-10-262-0/+19
| | | | | | | * gal/util/e-util.c (e_marshal_NONE__POINTER_POINTER_INT): Add another marshalling function. svn path=/trunk/; revision=6171
* Deal properly with URLs at the end of the buffer. (The old code wouldDan Winship2000-10-262-0/+8
| | | | | | | | * e-html-utils.c (e_text_to_html): Deal properly with URLs at the end of the buffer. (The old code would append a "&#0;" to the text.) svn path=/trunk/; revision=6169
* Lookup a pid by uid. (e_pilot_map_lookup_uid): Lookup a uid by pid. NowJP Rosevear2000-10-253-2/+35
| | | | | | | | | | | | | | | | | | | | | | 2000-10-23 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c (e_pilot_map_lookup_pid): Lookup a pid by uid. (e_pilot_map_lookup_uid): Lookup a uid by pid. Now this is wrapped, we can store archive info internally * e-pilot-map.h: New accessor prototype 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (local_record_from_comp): Use new e-pilot-map lookup function (match): ditto * conduits/calendar/calendar-conduit.c (local_record_from_comp): Use new e-pilot-map lookup function (match): ditto svn path=/trunk/; revision=6146
* Remove unused GNOMELOCALEDIR setting.Dan Winship2000-10-242-1/+5
| | | | | | | * ename/Makefile.am (INCLUDES): Remove unused GNOMELOCALEDIR setting. svn path=/trunk/; revision=6142
* Use new libeconduit calls and abstractionJP Rosevear2000-10-243-34/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.h: Use new libeconduit calls and abstraction * conduit/address-conduit.c: ditto 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.h: Use new libeconduit calls and abstraction * conduits/calendar/calendar-conduit.c: ditto * conduits/calendar/calendar-conduit.h: ditto * conduits/todo/todo-conduit.c: ditto * conduits/calendar/Makefile.am: Add libeconduit-static.la * conduits/calendar/calendar-conduit.c (post_sync): Use e_pilot_map_write (pre_sync): Use e_pilot_map_read 2000-10-23 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c: Operate with EPilotMap structure so things are abstract to the caller (e_pilot_map_pid_is_archived): Infrastructure for marking records as archived (e_pilot_map_uid_is_archived): ditto * e-pilot-map.h: Add more to public interface, including EPilotMap structure svn path=/trunk/; revision=6134
* Pilot map functions grabbed from existing conduitsJP Rosevear2000-10-244-1/+209
| | | | | | | | | | | | | | | | | 2000-10-23 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c: Pilot map functions grabbed from existing conduits * e-pilot-map.h (e_pilot_map_write): Header 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduits/todo/Makefile.am: Add libeconduit-static.la * conduits/todo/todo-conduit.c (post_sync): Use e_pilot_map_write (pre_sync): Use e_pilot_map_read svn path=/trunk/; revision=6116
* Made the number keys on the number pad work in ETexts and ECellTexts.Christopher James Lahey2000-10-191-1/+108
| | | | | | | | | 2000-10-19 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-text-event-processor-emacs-like.c: Made the number keys on the number pad work in ETexts and ECellTexts. svn path=/trunk/; revision=6027
* If unicode_get_utf8 returns -1, assume it was actually undeclaredDan Winship2000-10-192-58/+18
| | | | | | | * e-html-utils.c (e_text_to_html): If unicode_get_utf8 returns -1, assume it was actually undeclared iso-8859-1 text. svn path=/trunk/; revision=6002
* *** empty log message ***Jesse Pavel2000-10-182-25/+6
| | | | svn path=/trunk/; revision=5969
* g_strconcat needs a NULL.Iain Holmes2000-10-122-2/+7
| | | | svn path=/trunk/; revision=5861
* Included a missing #include.Christopher James Lahey2000-10-113-22/+84
| | | | | | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * gal/util/e-util.c: Included a missing #include. * gal/util/e-xml-utils.c, gal/util/e-xml-utils.h: Added e_xml_get_bool_prop_by_name, e_xml_set_bool_prop_by_name, and e_xml_get_translated_string_prop_by_name. Reindented prototypes. svn path=/trunk/; revision=5835
* New function to make a directory and (if needed), its parentsDan Winship2000-10-082-1/+38
| | | | | | | * gal/util/e-util.c (e_mkdir_hier): New function to make a directory and (if needed), its parents svn path=/trunk/; revision=5778
* Added $(EXTRA_GNOME_CFLAGS).Christopher James Lahey2000-09-272-0/+5
| | | | | | | | Tue Sep 26 16:48:49 2000 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS). svn path=/trunk/; revision=5597
* add ename as a SUBDIRJeffrey Stedfast2000-09-262-1/+7
| | | | | | | | 2000-09-25 Jeffrey Stedfast <fejj@helixcode.com> * Makefile.am: add ename as a SUBDIR svn path=/trunk/; revision=5580
* Added a ton of new prefixes and suffixes.Nat Friedman2000-09-261-10/+30
| | | | | | | | | 2000-09-25 Nat Friedman <nat@helixcode.com> * ename/e-name-western-tables.h: Added a ton of new prefixes and suffixes. svn path=/trunk/; revision=5571
* Fixed operation of the keypad keys in EText and ECellText.Christopher James Lahey2000-09-221-6/+23
| | | | | | | | | 2000-09-22 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-text-event-processor-emacs-like.c: Fixed operation of the keypad keys in EText and ECellText. svn path=/trunk/; revision=5548
* Made e_list a bit more reentrant. If a iterator gets its data pulled outChristopher James Lahey2000-09-214-8/+31
| | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * e-list-iterator.c, e-list.c, e-list.h: Made e_list a bit more reentrant. If a iterator gets its data pulled out from under it while in a loop, it goes back one so that loops will be able to continue. svn path=/trunk/; revision=5533
* Moved files, fixed header files and paths - FedericoFederico Mena Quintero2000-09-204-2/+4
| | | | svn path=/trunk/; revision=5513
* Added check for gnome-app-lib. Removed directories that have been moved toChristopher James Lahey2000-09-1828-4689/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added check for gnome-app-lib. Removed directories that have been moved to gal. From addressbook/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am, contact-editor/Makefile.am, ename/Makefile.am, gui/component/Makefile.am, gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h, contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor.c, contact-editor/e-contact-save-as.c, ename/e-address-western.c, ename/test-ename-western-gtk.c, gui/component/addressbook-factory.c, gui/component/addressbook.c, gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, gui/component/select-names/e-select-names-bonobo.c, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/search/e-addressbook-search-dialog.c, gui/widgets/e-addressbook-model.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, printing/e-contact-print.c: Fixed the #include lines to deal properly with gal. From calendar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view-event-item.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c, gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines to deal properly with gal. * gui/check-filled.xpm: New file since we can't include it from e-table anymore. From camel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-search.h, camel-remote-store.c, providers/imap/camel-imap-folder.c, providers/imap/camel-imap-store.c: Fixed the #include lines to deal properly with gal. From composer/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c, e-msg-composer-attachment.c, e-msg-composer-hdrs.c, e-msg-composer.c: Fixed the #include lines to deal properly with gal. From e-util/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed all the files moved to gal. * e-dialog-widgets.c: Fixed the #include lines to deal properly with gal. * e-gui-utils.c, e-gui-utils.h: Removed all of the functionality that was moved to gal. * e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c, e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h, e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c, e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h, e-xml-utils.c, e-xml-utils.h: Moved to gal. From filter/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-input.c, filter-message-search.c, filter-option.c, filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c: Fixed the #include lines to deal properly with gal. From mail/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * component-factory.c, folder-browser-factory.c, folder-browser.c, mail-callbacks.c, mail-config-gui.c, mail-display.c, mail-display.h, main.c, message-list.c, message-list.h: Fixed the #include lines to deal properly with gal. From po/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * POTFILES.in: Removed files that have been moved to gal. From shell/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-component-registry.c, e-corba-storage-registry.c, e-corba-storage.c, e-folder-type-registry.c, e-folder.c, e-local-folder.c, e-local-storage.c, e-shell-folder-creation-dialog.c, e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c, e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c, e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c, e-storage.c, evolution-local-storage.c, evolution-session.c, evolution-shell-client.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-shell-view.c, evolution-storage-listener.c, evolution-storage.c, main.c: Fixed the #include lines to deal properly with gal. From widgets/meeting-time-sel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-meeting-time-sel-list-item.c, e-meeting-time-sel.c, e-meeting-time-sel.h: Fixed the #include lines to deal properly with gal. If you've read this far, you deserve a prize. The first email in my mailbox with the subject "What a commit message!" (and your physical mailing address somewhere in the message) will receive a free Helix Code T-shirt mailed to anywhere within the continental United States. I cannot be held responsible for problems with email systems anywhere. This is supposed to be for fun, so please don't make a fuss if something goes wrong and your mail doesn't reach me. Find my email elsewhere in this message, and if it's been more than a few days, you're probably too late. From widgets/misc/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. From widgets/shortcut-bar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c, e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines to deal properly with gal. From widgets/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed directories that have been moved to gal. * e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c, e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h, e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal. * e-reflow/.cvsignore, e-reflow/Makefile.am, e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h, e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal. * e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE, e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO, e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm, e-table/check-empty.xpm, e-table/check-filled.xpm, e-table/clip.png, e-table/e-cell-checkbox.c, e-table/e-cell-checkbox.h, e-table/e-cell-string.c, e-table/e-cell-text.c, e-table/e-cell-text.h, e-table/e-cell-toggle.c, e-table/e-cell-toggle.h, e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c, e-table/e-cell.h, e-table/e-table-click-to-add.c, e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h, e-table/e-table-col.c, e-table/e-table-col.h, e-table/e-table-column-model.h, e-table/e-table-column.c, e-table/e-table-config.c, e-table/e-table-config.glade, e-table/e-table-config.glade.h, e-table/e-table-config.h, e-table/e-table-defines.h, e-table/e-table-example-1.c, e-table/e-table-example-2.c, e-table/e-table-field-chooser-dialog.c, e-table/e-table-field-chooser-dialog.h, e-table/e-table-field-chooser-item.c, e-table/e-table-field-chooser-item.h, e-table/e-table-field-chooser.c, e-table/e-table-field-chooser.glade, e-table/e-table-field-chooser.glade.h, e-table/e-table-field-chooser.h, e-table/e-table-group-container.c, e-table/e-table-group-container.h, e-table/e-table-group-leaf.c, e-table/e-table-group-leaf.h, e-table/e-table-group.c, e-table/e-table-group.glade, e-table/e-table-group.glade.h, e-table/e-table-group.h, e-table/e-table-header-item.c, e-table/e-table-header-item.h, e-table/e-table-header.c, e-table/e-table-header.h, e-table/e-table-item.c, e-table/e-table-item.h, e-table/e-table-model.c, e-table/e-table-model.h, e-table/e-table-one.c, e-table/e-table-one.h, e-table/e-table-scrolled.c, e-table/e-table-scrolled.h, e-table/e-table-selection-model.c, e-table/e-table-selection-model.h, e-table/e-table-simple.c, e-table/e-table-simple.h, e-table/e-table-size-test.c, e-table/e-table-sort-info.c, e-table/e-table-sort-info.h, e-table/e-table-sorted-variable.c, e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c, e-table/e-table-sorted.h, e-table/e-table-sorter.c, e-table/e-table-sorter.h, e-table/e-table-subset-variable.c, e-table/e-table-subset-variable.h, e-table/e-table-subset.c, e-table/e-table-subset.h, e-table/e-table-text-model.c, e-table/e-table-text-model.h, e-table/e-table-tooltip.h, e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h, e-table/e-tree-example-1.c, e-table/e-tree-example-2.c, e-table/e-tree-model.c, e-table/e-tree-model.h, e-table/e-tree-simple.c, e-table/e-tree-simple.h, e-table/image1.png, e-table/image2.png, e-table/image3.png, e-table/remove-col.xpm, e-table/sample.table, e-table/table-test.c, e-table/table-test.h, e-table/test-check.c, e-table/test-cols.c, e-table/test-table.c: Moved to gal. * e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c, e-text/e-entry.c, e-text/e-entry.h, e-text/e-text-event-processor-emacs-like.c, e-text/e-text-event-processor-emacs-like.h, e-text/e-text-event-processor-types.h, e-text/e-text-event-processor.c, e-text/e-text-event-processor.h, e-text/e-text-model.c, e-text/e-text-model.h, e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to gal. i.e., ... changed evolution to work with gal. svn path=/trunk/; revision=5490
* Merging in additional type functions (e_xml_get_string_prop_by_name):JP Rosevear2000-09-182-7/+80
| | | | | | | | | | | | 2000-09-17 JP Rosevear <jpr@helixcode.com> * src/util/e-xml-utils.c (e_xml_set_string_prop_by_name): Merging in additional type functions (e_xml_get_string_prop_by_name): ditto (e_xml_set_double_prop_by_name): ditto (e_xml_get_double_prop_by_name): ditto svn path=/trunk/; revision=5485
* Remove ifdefed 0 prototypesMiguel de Icaza2000-09-181-7/+4
| | | | svn path=/trunk/; revision=5478
* redo Chris's previous change to match the surrounding code styleDan Winship2000-09-141-2/+2
| | | | svn path=/trunk/; revision=5420
* Fixed an uninitialized variable.Christopher James Lahey2000-09-142-1/+5
| | | | | | | | 2000-09-13 Christopher James Lahey <clahey@helixcode.com> * e-font.c: Fixed an uninitialized variable. svn path=/trunk/; revision=5407
* Use underscores for untranslated characters fro Gtk+Lauris Kaplinski2000-09-132-52/+48
| | | | svn path=/trunk/; revision=5391
* Change this a bit so that if you pass it a bold font, it puts that inDan Winship2000-09-132-24/+82
| | | | | | | | | | * e-font.c (e_font_from_gdk_font): Change this a bit so that if you pass it a bold font, it puts that in font->bold and finds a lighter font for font->font (if it can). This is for themes like Metal where the default font is bold. (find_variants): renamed from find_best_bold svn path=/trunk/; revision=5384
* Thou shalt leave space for the trailing \0.Dan Winship2000-09-122-1/+4
| | | | | | | * e-font.c (find_best_bold): Thou shalt leave space for the trailing \0. svn path=/trunk/; revision=5355
* The return value should not be const. (Well, unless the input was, but youDan Winship2000-09-125-6/+11
| | | | | | | * e-util.c (e_strstrcase): The return value should not be const. (Well, unless the input was, but you can't know that.) svn path=/trunk/; revision=5338
* Fixed some warnings.Christopher James Lahey2000-09-121-3/+5
| | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * ename/e-address-western.c: Fixed some warnings. svn path=/trunk/; revision=5333
* *** empty log message ***Jesse Pavel2000-09-121-9/+85
| | | | svn path=/trunk/; revision=5324
* Removed a bunch of redundant code. Made it so that when you set an addressChristopher James Lahey2000-09-112-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h: Removed a bunch of redundant code. Made it so that when you set an address label, it sets the delivery address as well. Added functions to set and get the delivery address. * backend/ebook/e-card.c, backend/ebook/e-card.h: Added code to convert and address label to a delivery address. * contact-editor/Makefile.am: Added e-contact-editor-address.[ch], fulladdr.glade, fulladdr.glade.h. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Switched from a label to a button to show the parsed address. * contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-address.h: New class to implement the parsed address dialog. * contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor-fullname.h: Added const to the _new function. * contact-editor/e-contact-editor.c: Implemented clicking on the address button. * contact-editor/fulladdr.glade, contact-editor/fulladdr.glade.h: New glade files for the parsed address dialog. * contact-editor/fullname-strings.h, fullname.glade: Changed these accellabels to labels. * ename/Makefile.am: Added e-address-western.c. * ename/e-address-western.c: Fixed some warnings. svn path=/trunk/; revision=5317
* Added e_utf8_gtk_editable_get_text and e_utf8_gtk_editable_set_text.Christopher James Lahey2000-09-113-10/+41
| | | | | | | | | 2000-09-11 Christopher James Lahey <clahey@helixcode.com> * e-unicode.c, e-unicode.h: Added e_utf8_gtk_editable_get_text and e_utf8_gtk_editable_set_text. svn path=/trunk/; revision=5316
* EFont should now use real bold typeface, if availableLauris Kaplinski2000-09-112-18/+125
| | | | svn path=/trunk/; revision=5309
* Implemented a new `e_gtk_signal_connect_full_while_alive()' utilityEttore Perazzoli2000-09-114-9/+163
| | | | | | | that does what `gtk_signal_connect_full()' does, but with additional destruction safety as provided by `gtk_signal_connect_while_alive()'. svn path=/trunk/; revision=5303
* Fixed a bug regarding the extraction of the region.Jesse Pavel2000-09-111-3/+21
| | | | svn path=/trunk/; revision=5302
* Some UTF-8 fixes and experimental 16-bit unicode font supportLauris Kaplinski2000-09-092-59/+155
| | | | svn path=/trunk/; revision=5279
* *** empty log message ***Jesse Pavel2000-09-092-0/+393
| | | | svn path=/trunk/; revision=5278
* remove consts from the EPopupMenu structure: the caller may want to modifyDan Winship2000-09-092-4/+10
| | | | | | | | * e-popup-menu.h: remove consts from the EPopupMenu structure: the caller may want to modify its own EPopupMenu before calling e_popup_menu_run. svn path=/trunk/; revision=5261
* Bunch of unicode related changesLauris Kaplinski2000-09-085-18/+77
| | | | svn path=/trunk/; revision=5235
* Remove incorrect optimization. Events are read-only!Federico Mena Quintero2000-09-072-12/+13
| | | | | | | | | 2000-09-07 Federico Mena Quintero <federico@helixcode.com> * e-canvas.c (emit_event): Remove incorrect optimization. Events are read-only! svn path=/trunk/; revision=5228
* New font translation code for utf-8, but commented out at momentLauris Kaplinski2000-09-054-36/+177
| | | | svn path=/trunk/; revision=5194
* A bit more e_utf8 wrappers here and thereLauris Kaplinski2000-09-023-4/+59
| | | | svn path=/trunk/; revision=5180
* Email should now display correctly in GtkHTMLLauris Kaplinski2000-09-014-13/+975
| | | | svn path=/trunk/; revision=5154
* #define gnome_font_lookup_default for gnome-print 0.20Lauris Kaplinski2000-08-312-1/+3
| | | | svn path=/trunk/; revision=5133
* Made it compilable both with gnome-print 0.20 and 0.21+Lauris Kaplinski2000-08-312-0/+11
| | | | svn path=/trunk/; revision=5126
* make e-util depend on libunicodeDan Winship2000-08-303-1/+12
| | | | | | | | | | | * Makefile.am (libeutil_la_LIBADD): make e-util depend on libunicode * e-popup-menu.c (make_item): Use GtkMenuItem rather than GtkPixmapMenuItem for items with no pixmaps, so that if the whole menu is pixmapless, you don't get a column of blank pixmaps. svn path=/trunk/; revision=5114
* More UTF-8 handlingLauris Kaplinski2000-08-253-0/+24
| | | | svn path=/trunk/; revision=5032
* Unicode in addressbook basically works, including simple searchingLauris Kaplinski2000-08-245-3/+65
| | | | svn path=/trunk/; revision=4997
* Constify.Federico Mena Quintero2000-08-243-2/+6
| | | | | | | | 2000-08-23 Federico Mena Quintero <federico@helixcode.com> * e-dialog-widgets.c (e_dialog_editable_set): Constify. svn path=/trunk/; revision=4992
* Added missing e-unicode.h and e-unicode.cLauris Kaplinski2000-08-232-0/+186
| | | | svn path=/trunk/; revision=4977
* UTF-8 in contact editor + some fixes for dealing with illegal stringsLauris Kaplinski2000-08-232-0/+14
| | | | svn path=/trunk/; revision=4976
* Handle iso-8859-1 keys nicely in e-text and e-table. Other encodings toLauris Kaplinski2000-08-232-1/+10
| | | | | | come... svn path=/trunk/; revision=4972
* Changed UTF-8 handling syntax from char based to byte basedLauris Kaplinski2000-08-223-39/+54
| | | | svn path=/trunk/; revision=4913
* Little teeny bug fix in e_text_to_html tab expansion.Peter Williams2000-08-222-1/+6
| | | | svn path=/trunk/; revision=4905
* many fixes to make it compile with strange prefixes...Mathieu Lacage2000-08-211-0/+1
| | | | | | | neither mail nor the calendar components work though... evil stuff. svn path=/trunk/; revision=4892
* added use of UNICODE_CFLAGS... thanks ian...Arik Devens2000-08-201-1/+2
| | | | svn path=/trunk/; revision=4887
* Moved e-text to UTF-8Lauris Kaplinski2000-08-202-0/+6
| | | | svn path=/trunk/; revision=4886
* First step moving to UTF-8 stringsLauris Kaplinski2000-08-204-1/+189
| | | | svn path=/trunk/; revision=4885
* Infrastructure for date-based queriesPeter Williams2000-08-152-1/+6
| | | | svn path=/trunk/; revision=4838
* Fix a crash with tab expansion in e_text_to_htmlPeter Williams2000-08-112-0/+8
| | | | svn path=/trunk/; revision=4736
* Remove. The shell tells the components where the evolution homedir is now.Dan Winship2000-08-114-115/+5
| | | | | | | | | * e-setup.[ch]: Remove. The shell tells the components where the evolution homedir is now. * Makefile.am (libeutil_la_SOURCES): Remove e-setup.c svn path=/trunk/; revision=4711
* If converting both spaces and newlines, then convert tabs too. The joys ofDan Winship2000-08-112-3/+33
| | | | | | | * e-html-utils.c (e_text_to_html): If converting both spaces and newlines, then convert tabs too. The joys of pseudo-<PRE>. svn path=/trunk/; revision=4695
* Fix the bug where it truncates the last itemChristopher James Lahey2000-08-092-1/+5
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c: Fix the bug where it truncates the last item svn path=/trunk/; revision=4648
* Added some military prefixes.Nat Friedman2000-08-091-1/+2
| | | | | | | | 2000-08-09 Nat Friedman <nat@helixcode.com> * ename/e-name-western-tables.h: Added some military prefixes. svn path=/trunk/; revision=4644
* Ooops.Christopher James Lahey2000-08-092-6/+11
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c: Ooops. svn path=/trunk/; revision=4630
* Added uncompiled e_read_uri function.Christopher James Lahey2000-08-095-2/+108
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-util.c, e-util.h: Added uncompiled e_read_uri function. svn path=/trunk/; revision=4629
* Added a hide_mask argument to the two popup menu functions.Christopher James Lahey2000-08-093-23/+45
| | | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c, e-popup-menu.h: Added a hide_mask argument to the two popup menu functions. svn path=/trunk/; revision=4625
* Added e_container_change_tab_order.Christopher James Lahey2000-08-083-1/+88
| | | | | | | | | 2000-08-07 Christopher James Lahey <clahey@helixcode.com> * e-gui-utils.c, e-gui-utils.c: Added e_container_change_tab_order. svn path=/trunk/; revision=4580
* Fix silly error of not chaining destructor for canvas.Matthew Loper2000-07-282-1/+8
| | | | svn path=/trunk/; revision=4390
* A few fixes to the ECanvas selection item a miniature cleanup of the event ↵Matthew Loper2000-07-272-8/+31
| | | | | | handler. svn path=/trunk/; revision=4364
* Typo fixPeter Williams2000-07-262-3/+7
| | | | svn path=/trunk/; revision=4324
* build static versions of some util libraries for the conduit to link withSeth Alves2000-07-263-0/+14
| | | | svn path=/trunk/; revision=4320
* Added a bunch of e_marshal functions.Christopher James Lahey2000-07-255-8/+248
| | | | | | | | 2000-07-25 Christopher James Lahey <clahey@helixcode.com> * e-util.c, e-util.h: Added a bunch of e_marshal functions. svn path=/trunk/; revision=4311
* From addressbook/ChangeLog:Christopher James Lahey2000-07-135-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-12 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c: Do case insensitive compares. * addressbook/gui/component/addressbook.c: Make quick search search both name and company name. From camel/ChangeLog: 2000-07-12 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, providers/imap/camel-imap-store.c: Changed from strstrcase to e_strstrcase. * string-utils.c, string-utils.h: Removed strstrcase (in favor of e_strstrcase in e-util/e-util.c.) From e-util/ChangeLog: 2000-07-12 Christopher James Lahey <clahey@helixcode.com> * e-util.c, e-util.h: Added e_strstrcase function. svn path=/trunk/; revision=4127
* Removed some debugging printfs.Christopher James Lahey2000-07-123-3/+12
| | | | | | | | | | 2000-07-11 Christopher James Lahey <clahey@helixcode.com> * e-canvas-vbox.c: Removed some debugging printfs. * e-canvas.c (e_canvas_unrealize): Call parent unrealize method. svn path=/trunk/; revision=4102
* Warning cleanup: `#if 0' an unused function and add a missing publicEttore Perazzoli2000-07-113-3/+16
| | | | | | function prototype. svn path=/trunk/; revision=4060
* Fix warnings.Dan Winship2000-07-112-3/+8
| | | | | | * e-html-utils.c: Fix warnings. svn path=/trunk/; revision=4048
* Added e_list_duplicate.Christopher James Lahey2000-07-093-0/+23
| | | | | | | | 2000-07-08 Christopher James Lahey <clahey@helixcode.com> * e-list.c, e-list.h: Added e_list_duplicate. svn path=/trunk/; revision=4002
* Added e_strsplit to work around a bug in g_strsplit.Christopher James Lahey2000-07-085-0/+121
| | | | | | | | | 2000-07-07 Christopher James Lahey <clahey@helixcode.com> * e-util.c, e-util.h: Added e_strsplit to work around a bug in g_strsplit. svn path=/trunk/; revision=3953
* Added last and insert functions.Christopher James Lahey2000-07-084-33/+111
| | | | | | | | | 2000-07-07 Christopher James Lahey <clahey@helixcode.com> * e-iterator.c, e-iterator.h, e-list-iterator.c, e-list-iterator.h: Added last and insert functions. svn path=/trunk/; revision=3946
* Added docstrings. This file did not have them at all. EEEEEEK!Federico Mena Quintero2000-07-072-0/+179
| | | | | | | | | 2000-07-06 Federico Mena Quintero <federico@helixcode.com> * e-dialog-widgets.c: Added docstrings. This file did not have them at all. EEEEEEK! svn path=/trunk/; revision=3941
* Kill debugging messageDan Winship2000-07-062-3/+4
| | | | | | * e-sexp.c (e_sexp_parse): Kill debugging message svn path=/trunk/; revision=3905
* New list class with iterators.Christopher James Lahey2000-07-049-0/+707
| | | | | | | | | | | | | 2000-07-03 Christopher James Lahey <clahey@helixcode.com> * e-iterator.c, e-iterator.h, e-list-iterator.c, e-list-iterator.h, e-list.c, e-list.h: New list class with iterators. * e-canvas.c: Made it so that you don't get the same selection in the selection list more than once. svn path=/trunk/; revision=3871
* Added an extra @allowed_types parameter to the shell's folderEttore Perazzoli2000-07-022-0/+8
| | | | | | selection dialog, and update the code that uses it accordingly. svn path=/trunk/; revision=3854
* Add simple deadkey support.Jody Goldberg2000-06-303-30/+85
| | | | | | | | | | | | | 2000-06-29 Jody Goldberg <jgoldberg@home.com> * e-canvas.c (e_canvas_init) : Init the InputContext members (e_canvas_class_init) : Add a handler for unrealize. (e_canvas_focus_in) : enable the input context. (e_canvas_focus_out) : enable the input context. (e_canvas_realize) : Create an input context. (e_canvas_unrealize) : New function to release the input context. svn path=/trunk/; revision=3817
* add ")" to the set of characters to back up over at the end of a potentialDan Winship2000-06-292-1/+6
| | | | | | | * e-html-utils.c (url_extract): add ")" to the set of characters to back up over at the end of a potential URL. svn path=/trunk/; revision=3778
* Fix typo.Ettore Perazzoli2000-06-272-1/+6
| | | | svn path=/trunk/; revision=3758
* Fix compilation with builddir != srcdir.Ettore Perazzoli2000-06-272-0/+6
| | | | svn path=/trunk/; revision=3757
* Calculate height including if clip_height is set to -1.Christopher James Lahey2000-06-274-0/+418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Calculate height including if clip_height is set to -1. From addressbook/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor-categories.c, addressbook/gui/component/e-cardlist-model.c: Added value_to_string handlers. * demo/addressbook-widget.c, demo/demo.c: Removed usage of "x" and "y" arguments. * addressbook/gui/component/addressbook.c: Activated Click To Add and set the click to add message. * addressbook/gui/component/e-addressbook-model.c: Added value_to_string and append_row handlers. * addressbook/gui/component/e-select-names.c: Added a column. From calendar/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * gui/calendar-model.c: Added an #ifdefed value_to_string handler assignment. From camel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * providers/mbox/camel-mbox-summary.c: Added debugging information. From composer/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-msg-composer-select-file.h for make distcheck. From e-util/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-canvas-vbox.c and e-canvas-vbox.h. * e-canvas-vbox.c, e-canvas-vbox.h: New canvas object to act like a vbox using the reflow system. From mail/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Added a value_to_string handler. From shell/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * glade/Makefile.am: Added EXTRA_DIST for make distcheck. From widgets/e-table/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-click-to-add.c, e-table-click-to-add.h, e-table-one.c, and e-table-one.h. * e-table-click-to-add.c, e-table-click-to-add.h: A new canvas item that represents a single row that sometimes exists. It's for adding new rows to your table. * e-table-example-1.c, e-table-example-2.c, e-table-size-test.c, test-check.c, test-cols.c, test-table.c: Added value_to_string handlers. * e-table-group-container.c: Use value_to_string to make grouping not crash for non string columns. Made some changes to work properly in an ECanvasVbox. * e-table-group-leaf.c, e-table-item.c: Made some changes to work properly in an ECanvasVbox. * e-table-model.c, e-table-model.h: Added append_row and value_to_string methods. * e-table-one.c, e-table-one.h: Given a source ETableModel, this provides a single row model that uses the initialize_value, duplicate_value, free_value, and value_is_empty methods of the original source to implement set_value and value_at (and proxies most of the other methods.) This is used for ETableClickToAdd. * e-table-simple.c, e-table-simple.h: Added append_row and value_to_string handlers. append_row uses a GtkArg instead of a parameter to e_table_simple_new. * e-table-subset.c: Added append_row and value_to_string handlers. * e-table.c, e-table.h: Use a vbox containing an ETableClickToAdd and an ETableItem instead of an ETableItem directly. Only show the ETableClickToAdd if the top level of the xml SPEC has the attribute click-to-add set to some non-zero integer. (click-to-add="1"). Add a "click_to_add_message" argument. * e-tree-model.c: Add a commented out value_to_string handler. From widgets/meeting-time-sel/ChangeLog: 2000-06-26 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added the include path to top_srcdir. svn path=/trunk/; revision=3744
* Added a variable to keep track of the cursor. Set the cursor whenChristopher James Lahey2000-06-213-10/+35
| | | | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c, e-canvas.h: Added a variable to keep track of the cursor. Set the cursor when selection_add is called. Properly unset the cursor at the right times. svn path=/trunk/; revision=3663
* Grab the focus when setting the cursor.Christopher James Lahey2000-06-212-0/+16
| | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c: Grab the focus when setting the cursor. svn path=/trunk/; revision=3659
* Built a system for doing selections and/or a cursor in canvas.Christopher James Lahey2000-06-213-3/+164
| | | | | | | | | 2000-06-20 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c, e-canvas.h: Built a system for doing selections and/or a cursor in canvas. svn path=/trunk/; revision=3655
* Changed the needed e_marshal functions.Christopher James Lahey2000-06-137-31/+147
| | | | | | | | | | | 2000-06-13 Christopher James Lahey <clahey@helixcode.com> * e-util.c, e-util.h: Changed the needed e_marshal functions. * e-printable.c, e-printable.h: Added a quantize parameter to e_printable_height. Also, added a e_printable_will_fit function. svn path=/trunk/; revision=3551
* Added e-printable.c and e-printable.h.Christopher James Lahey2000-06-118-22/+374
| | | | | | | | | | | | | | | | 2000-06-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-printable.c and e-printable.h. * e-printable.c, e-printable.h: This new class is a printing context. Other classes return an EPrintable which represents a context for printing that object. * e-util.c, e-util.h: Added e_marshal_NONE__OBJECT_DOUBLE_DOUBLE_BOOL and e_marshal_DOUBLE__OBJECT_DOUBLE_DOUBLE. svn path=/trunk/; revision=3510
* Fixed e_marshal_INT__INT_INT_POINTER.Christopher James Lahey2000-06-023-2/+6
| | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-util.c: Fixed e_marshal_INT__INT_INT_POINTER. svn path=/trunk/; revision=3369
* Added e_marshal_INT__INT_INT_POINTER.Christopher James Lahey2000-06-025-0/+54
| | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-util.c, e-util.h: Added e_marshal_INT__INT_INT_POINTER. svn path=/trunk/; revision=3367
* Duh! -1 != 1. :)Dan Winship2000-06-023-2/+6
| | | | | | * e-util.c (g_int_compare): Duh! -1 != 1. :) svn path=/trunk/; revision=3363
* g_return_val_if_fail to prevent a crash.Christopher James Lahey2000-06-022-0/+6
| | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-sexp.c (e_sexp_term_eval): g_return_val_if_fail to prevent a crash. svn path=/trunk/; revision=3337
* Utility function to build a bool as part of an expression string.Not Zed2000-05-313-0/+52
| | | | | | | | | | 2000-05-30 Not Zed <NotZed@HelixCode.com> * e-sexp.c (e_sexp_encode_bool): Utility function to build a bool as part of an expression string. (e_sexp_encode_string): Likewise for strings. svn path=/trunk/; revision=3300
* Added e_canvas_item_show_area which makes sure that a particular area of aChristopher James Lahey2000-05-313-0/+38
| | | | | | | | | | 2000-05-30 Christopher James Lahey <clahey@helixcode.com> * e-canvas-utils.c, e-canvas-utils.h: Added e_canvas_item_show_area which makes sure that a particular area of a given item is in the scroll area. svn path=/trunk/; revision=3289
* Flush - FedericoFederico Mena Quintero2000-05-302-88/+43
| | | | svn path=/trunk/; revision=3280
* Moved over from event-editor-utils.c. (e_dialog_editable_get): Likewise.Federico Mena Quintero2000-05-283-13/+274
| | | | | | | | | | | | | | | | | | | | | 2000-05-27 Federico Mena Quintero <federico@helixcode.com> * e-dialog-widgets.c (e_dialog_editable_set): Moved over from event-editor-utils.c. (e_dialog_editable_get): Likewise. (e_dialog_toggle_set): Likewise. (e_dialog_toggle_get): Likewise. (e_dialog_spin_set): Likewise. (e_dialog_spin_get_double): Likewise. (e_dialog_spin_get_int): Likewise. (e_dialog_option_menu_set): Likewise, and added a value map. (e_dialog_option_menu_get): Likewise. (e_dialog_dateedit_set): Likewise. (e_dialog_dateedit_get): Likewise. (e_dialog_radio_set): New function. (e_dialog_radio_get): New function. svn path=/trunk/; revision=3232
* Removed.Christopher James Lahey2000-05-253-272/+4
| | | | | | | | 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * e-paned.c, e-paned.h: Removed. svn path=/trunk/; revision=3196
* Added widgets/e-paned/Makefile.Christopher James Lahey2000-05-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added widgets/e-paned/Makefile. * tests/ui-tests/message-browser.c: Switched from GtkPaned to EPaned. * widgets/Makefile.am: Added e-paned directory. * widgets/e-paned/, widgets/e-paned/.cvsignore, widgets/e-paned/Makefile.am, widgets/e-paned/e-hpaned.c, widgets/e-paned/e-hpaned.h, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c, widgets/e-paned/e-vpaned.h: New widget based completely on GtkPaned from 1.4. This will be more advanced soon. From calendar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added libepaned.a. * gui/gnome-cal.c: Switched from GtkPaned to EPaned. From mail/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * folder-browser.c: Switched from GtkPaned to EPaned. From shell/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * e-shell-view.c: Switched from GtkPaned to EPaned. From widgets/shortcut-bar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * test-shortcut-bar.c: Switched from GtkPaned to EPaned. svn path=/trunk/; revision=3191
* Commit for if my laptop dies - FedericoFederico Mena Quintero2000-05-242-5/+219
| | | | svn path=/trunk/; revision=3185
* Added e_write_file.Christopher James Lahey2000-05-235-0/+58
| | | | | | | | 2000-05-23 Christopher James Lahey <clahey@helixcode.com> * e-util.c, e-util.h: Added e_write_file. svn path=/trunk/; revision=3181
* New files with utilities for hooking up widgets in Glade-generatedFederico Mena Quintero2000-05-204-22/+362
| | | | | | | | | | | 2000-05-19 Federico Mena Quintero <federico@helixcode.com> * e-dialog-widgets.[ch]: New files with utilities for hooking up widgets in Glade-generated dialogs. * Makefile.am (libeutil_la_SOURCES): Added e-dialog-widgets.[ch]. svn path=/trunk/; revision=3141
* Added e_container_foreach_leaf.Christopher James Lahey2000-05-193-1/+34
| | | | | | | | 2000-05-19 Christopher James Lahey <clahey@helixcode.com> * e-gui-utils.c, e-gui-utils.h: Added e_container_foreach_leaf. svn path=/trunk/; revision=3130
* Add imagesdir support.Christopher James Lahey2000-05-194-0/+59
| | | | | | | | | | | 2000-05-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Add imagesdir support. * e-gui-utils.c, e-gui-utils.h: Added e_create_image_widget for glade use. svn path=/trunk/; revision=3120
* xmlGetProp appears to return malloced memory. Thus we must free it.Christopher James Lahey2000-05-163-8/+19
| | | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * e-xml-utils.c: xmlGetProp appears to return malloced memory. Thus we must free it. svn path=/trunk/; revision=3087
* Fixed some memory leaks.Christopher James Lahey2000-05-161-0/+2
| | | | | | | | | | | | | 2000-05-16 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor.c, ename/e-name-western.c, gui/component/addressbook.c, gui/minicard/e-minicard-view.c: Fixed some memory leaks. * backend/ebook/e-card.c: Rearranged some code. svn path=/trunk/; revision=3085
* Utility function to free a GList of strings.Ettore Perazzoli2000-05-165-10/+40
| | | | svn path=/trunk/; revision=3048
* Added e_strdup_strip which returns a copy of the string with the leadingChristopher James Lahey2000-05-145-0/+45
| | | | | | | | | 2000-05-14 Christopher James Lahey <clahey@helixcode.com> * e-util.c, e-util.h: Added e_strdup_strip which returns a copy of the string with the leading and trailing spaces removed. svn path=/trunk/; revision=3026
* Destroy the g_scanner when cleaning up. (e_sexp_finalise): Free symbolNotZed2000-05-122-0/+17
| | | | | | | | | 2000-05-11 NotZed <NotZed@HelixCode.com> * e-sexp.c (e_sexp_finalise): Destroy the g_scanner when cleaning up. (e_sexp_finalise): Free symbol table on finalise. svn path=/trunk/; revision=2988
* Removed dist-hook section.Christopher James Lahey2000-05-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed dist-hook section. * configure.in: Set the version number. Added a check for gnome window icons. Removed a bunch of unused Makefiles. * tools/Makefile.am: Created a proper EXTRA_DIST section. * widgets/e-text/Makefile.am: Added e-text-event-processor-types.h. From addressbook/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h, e-card-types.h. * backend/pas/Makefile.am: Added pas-backend-ldap.h. * contact-editor/Makefile.am: Added a proper EXTRA_DIST section. Removed some old defines. * ename/Makefile.am: Added e-name-western-tables.h. * gui/component/Makefile.am: Added e-ldap-server-dialog.h. Added a proper EXTRA_DIST section. * gui/minicard/e-reflow.c: Added a missed cast. * printing/Makefile.am: Added a proper EXTRA_DIST section. From calendar/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added main.h. Combined the two EXTRA_DIST sections. From camel/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added camel-types.h, camel-folder-pt-proxy.h, and camel-thread-proxy.h. From default_user/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am, local/Calendar/Makefile.am, local/Contacts/Makefile.am, local/Directories/Makefile.am, local/Directories/subfolders/Bigfoot/Makefile.am, local/Directories/subfolders/Netcenter/Makefile.am, local/Drafts/Makefile.am, local/Inbox/Makefile.am, local/Outbox/Makefile.am, local/Trash/Makefile.am: Created a proper EXTRA_DIST section. From filter/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * filter-arg.h: Changed tree.h to gnome-xml/tree.h. * Makefile.am: Added filter-arg-types.h, filter-arg.h, filter-xml.h, filter-format.h, filter-druid.h, filter-editor.h. From libical/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * configure.in: Reorder Makefiles so that it will build. From mail/ChangeLog: 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed folder-browser-factory.h since it doesn't exist. Added mail-display.h, mail-types.h, pixmaps.h. From widgets/e-table/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added e-table-col-dnd.h and table-test.h. From wombat/ChangeLog: 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added an include for the pcs directory. svn path=/trunk/; revision=2966
* Remove reflow idle when being destroyed.Christopher James Lahey2000-05-092-0/+15
| | | | | | | | 2000-05-09 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c: Remove reflow idle when being destroyed. svn path=/trunk/; revision=2934
* comment function, and fix an ABR.Chris Toshok2000-05-081-3/+6
| | | | | | | * ename/e-name-western.c (e_name_western_extract_middle): comment function, and fix an ABR. svn path=/trunk/; revision=2894
* comment function, and fix an ABR.Chris Toshok2000-05-081-6/+13
| | | | | | | * ename/e-name-western.c (e_name_western_cleanup_string): comment function, and fix an ABR. svn path=/trunk/; revision=2893
* Got rid of some warnings.Christopher James Lahey2000-05-076-2/+115
| | | | | | | | | | | | 2000-05-06 Christopher James Lahey <clahey@helixcode.com> * e-html-utils.c: Got rid of some warnings. * e-util.c, e-util.h: Added e_read_file which takes a filename and returns a newly allocated string containing the contents of that file. svn path=/trunk/; revision=2828
* New function to free a list of referenced objects.Ettore Perazzoli2000-05-035-6/+46
| | | | svn path=/trunk/; revision=2772
* set and reset the GTK_HAS_FOCUS flag. We now get focus_out eventsDamon Chaplin2000-05-032-0/+10
| | | | | | | | | | 2000-05-02 Damon Chaplin <damon@helixcode.com> * e-canvas.c (e_canvas_focus_in): (e_canvas_focus_out): set and reset the GTK_HAS_FOCUS flag. We now get focus_out events correctly. svn path=/trunk/; revision=2758
* Free the parse tree if we have one. (e_sexp_parse): If we already have aNotZed2000-05-032-0/+26
| | | | | | | | | 2000-05-02 NotZed <NotZed@HelixCode.com> * e-sexp.c (e_sexp_finalise): Free the parse tree if we have one. (e_sexp_parse): If we already have a parse tree, free it. svn path=/trunk/; revision=2757
* Set G_LOG_DOMAIN in following files.Matthew Loper2000-05-032-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | addressbook/demo/Makefile.am addressbook/printing/Makefile.am camel/Makefile.am camel/providers/MH/Makefile.am camel/providers/maildir/Makefile.am camel/providers/mbox/Makefile.am camel/providers/nntp/Makefile.am camel/providers/pop3/Makefile.am camel/providers/sendmail/Makefile.am camel/providers/smtp/Makefile.am composer/Makefile.am e-util/Makefile.am filter/Makefile.am libibex/Makefile.am mail/Makefile.am shell/Makefile.am tests/Makefile.am tests/ui-tests/Makefile.am widgets/e-table/Makefile.am widgets/e-text/Makefile.am widgets/meeting-time-sel/Makefile.am widgets/shortcut-bar/Makefile.am svn path=/trunk/; revision=2756
* Constified XML utility functions.Ettore Perazzoli2000-05-025-16/+22
| | | | svn path=/trunk/; revision=2722
* Made Evolution OAF-compatible.Ettore Perazzoli2000-04-281-4/+4
| | | | svn path=/trunk/; revision=2673
* Moved here from the mailer, since it's of general use, and the composerDan Winship2000-04-284-0/+287
| | | | | | | * e-html-utils.c (e_text_to_html): Moved here from the mailer, since it's of general use, and the composer needs it too. svn path=/trunk/; revision=2662
* Added addressbook/ename/Makefile.Christopher James Lahey2000-04-284-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-27 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added addressbook/ename/Makefile. From addressbook/ChangeLog: 2000-04-27 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c, backend/ebook/e-card.h: Added file as, office, manager, assistant, spouse, and anniversary fields. These all use "X-EVOLUTION-" fields in the VCards. * backend/pas/pas-backend-file.c: Added all the new fields (except anniversary) to the list of fields. * contact-editor/contact-editor.glade, contact-editor/e-contact-editor-strings.h: Fixed some misnamed fields and fixed the placement of the comments field. * contact-editor/e-contact-editor.c: Made the newly added fields display properly. * Makefile.am: Added ename. * ename/e-name-western.h, ename/test-ename-western-gtk.c, ename/test-ename-western.c: Fixed up some #includes. * ename/.cvsignore: Added .cvsignore. svn path=/trunk/; revision=2658
* Oops, forgot this.Nat Friedman2000-04-271-0/+856
| | | | svn path=/trunk/; revision=2657
* add e-popup-menu.[ch]Miguel de Icaza2000-04-262-0/+115
| | | | svn path=/trunk/; revision=2635
* move #include <locale.h> above the others because it was gettingSeth Alves2000-04-262-2/+4
| | | | | | wigged out on a solaris build. svn path=/trunk/; revision=2634
* New file. Implements easy to use popup menus.Miguel de Icaza2000-04-262-5/+11
| | | | | | | | 2000-04-24 Miguel de Icaza <miguel@helixcode.com> * e-popup-menu.c: New file. Implements easy to use popup menus. svn path=/trunk/; revision=2633
* Made the tooltip show up in the correct place and configuration when usingChristopher James Lahey2000-04-242-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | 2000-04-24 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Made the tooltip show up in the correct place and configuration when using the "max_lines", "anchor" (untested), or "justification" arguments. From a patch by Iain Holmes <ih@csd.abdn.ac.uk> * widgets/e-text/e-text-event-processor-emacs-like.c, widget/e-text/e-text-event-processor-types.h, widgets/e-text/e-text.c, widgets/e-text/e-text.h: Changed C-w and C-y to control the X clipboard. Added double and triple click events. From widgets/e-table/: 2000-04-24 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Fixed some warnings. svn path=/trunk/; revision=2581
* + * widgets/Makefile.am: Added e-paned directory.Matthew Loper2000-04-244-1/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + + * default_user/Makefile.am: new file. + + * default_user/Main_Shortcuts.xml: New file; is used to fill the + shortcut bar's "main shortcuts" pane. + + * default_user/Other_Shortcuts.xml: New file, used to fill the + shortcut bar's "other shortcuts" pane. + + * default_user/Inbox.mbox: New file. This is the first message a + new user will see when they fire up Evolution. Needs work. + + * Makefile.am: added default_user directory. + * configure.in: same. + + * e-paned.c: New file. Makes a GtkPaned with more than two + children. + * e-paned.h: same. + + * Makefile.am: added e-paned.[ch]. + + * e-shell-view.h: Added hpaned and treeview widgets to + EShellView. Added e_shell_view_toggle_shortcut_bar() and + e_shell_view_toggle_treeview(). + + * e-shell-view.c (e_shell_view_setup_shortcut_display): Use EPaned + widget to house our shortcut bar. + (e_shell_view_toggle_shortcut_bar): New function; toggles whether + the shortcut bar is showing. + (e_shell_view_toggle_treeview): Same, for the treeview (NYI). + (e_shell_view_new): Put the notebook view in our EPaned widget. + + * e-shell-view-menu.c (esv_cmd_toggle_shortcut_bar): New function; + toggles whether the shortcut bar is viewed. + (esv_cmd_toggle_treeview): Same, but with the treeview. Added + menuitems in the "view" menu to allow access to the above. + svn path=/trunk/; revision=2575
* Added e_xml_get_child_by_name_by_lang.Christopher James Lahey2000-04-195-0/+71
| | | | | | | | | 2000-04-19 Christopher James Lahey <clahey@helixcode.com> * e-xml-utils.c, e-xml-utils.h: Added e_xml_get_child_by_name_by_lang. svn path=/trunk/; revision=2493
* Add realize. (e_canvas_realize): Set the back pixmap to NULL to reduceAnders Carlsson2000-04-162-4/+19
| | | | | | | | | 2000-04-16 Anders Carlsson <andersca@gnu.org> * e-canvas.c (e_canvas_class_init): Add realize. (e_canvas_realize): Set the back pixmap to NULL to reduce flicker. svn path=/trunk/; revision=2456
* Added a note field.Christopher James Lahey2000-04-151-0/+4
| | | | | | | | | | | | | | | | | | | 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/backend/pas/pas-backend-file.c, addressbook/backend/pas/pas-backend-ldap.c, addressbook/contact-editor/e-contact-editor.c: Added a note field. From shell/ChangeLog: 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Made the left pane of the shell view not autoresize. svn path=/trunk/; revision=2444
* Fixing a warning.Christopher James Lahey2000-04-152-2/+2
| | | | | | | | 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * e-xml-utils.c: Fixing a warning. svn path=/trunk/; revision=2437
* Add g_return_if_fails.Christopher James Lahey2000-04-153-4/+38
| | | | | | | | 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * e-xml-utils.c: Add g_return_if_fails. svn path=/trunk/; revision=2435
* Fix the embarassing cursor bug.Miguel de Icaza2000-04-122-0/+10
| | | | | | Fix the embarassing cursor bug. svn path=/trunk/; revision=2404
* Added proper keyboard focus handling.Christopher James Lahey2000-04-112-1/+17
| | | | | | | | 2000-04-10 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c: Added proper keyboard focus handling. svn path=/trunk/; revision=2377
* + (mkdir_if_necessary): New function.Matthew Loper2000-04-072-26/+72
| | | | | | + (e_setup_base_dir): Use mkdir_if_necessary(). svn path=/trunk/; revision=2315
* + * shell/main.c (evolution_boot): Make sure our data directory isMatthew Loper2000-04-072-2/+13
| | | | | | | | | + available with e_setup_base_dir (). + + * e-setup.c (e_setup_base_dir): Get/set Evolution's base directory + via gnome-config. svn path=/trunk/; revision=2309
* Committing this thing I wrote last year to parse names. It's cute.Nat Friedman2000-04-066-0/+339
| | | | svn path=/trunk/; revision=2301
* minor style clean + kill duff file in POTFILES.Michael Meeks2000-03-281-5/+7
| | | | svn path=/trunk/; revision=2198
* ChangeLog shuffling.Miguel de Icaza2000-03-272-35/+105
| | | | | | | | ChangeLog shuffling. Miguel. svn path=/trunk/; revision=2174
* Formatting cleanup.NotZed2000-03-243-7/+7
| | | | | | | | 2000-03-22 NotZed <NotZed@HelixCode.com> * e-util/e-sexp.h: Formatting cleanup. svn path=/trunk/; revision=2154
* fix an obvious bug pointed out by gccDan Winship2000-03-231-1/+2
| | | | svn path=/trunk/; revision=2142
* Rearranged SUBDIRS for dependencies.Christopher James Lahey2000-03-122-18/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-12 Christopher James Lahey <clahey@helixcode.com> * widgets/Makefile.am: Rearranged SUBDIRS for dependencies. * widgets/e-text/e-text-model.c, widgets/e-text-model.h: New object which stores a piece of text data. All methods are virtual. * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Modified this to use an ETextModel for its data. * widgets/e-text/Makefile.am: Added e-text-model.c and e-text-model.h. * widgets/e-minicard/test-minicard-label.c: Made this work again. * widgets/e-minicard/e-minicard.c, widgets/e-minicard/e-minicard.h: Made this use an ETableModel to get its data. * widgets/e-minicard/e-minicard-label.c, widgets/e-minicard/e-minicard-label.h: Added the ability to set the text model used for the contained text widget. * widgets/e-minicard/Makefile.am: Added e-table since e-minicard is now dependent on an e-table-model for its data. * e-util/e-canvas.c, e-util/e-canvas.h: Fixed some bugs here to speed up reflow and to make it fail less often. * addressbook/demo, addressbook/demo/.cvsignore, addressbook/demo/Makefile.am, addressbook/demo/demo.c, addressbook/demo/spec: A new program to test ETable and EMinicard integration. * configure.in: Added addressbook/demo/Makefile. * addressbook/Makefile.am: Added the demo/ subdirectory. in widgets/e-table/: 2000-03-12 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Made this use an ECanvas. Fixed a bug where e_table_new_from_spec_file was calling e_table_construct instead of e_table_construct_from_spec_file. * e-table-item.c, e-table-header-item.c, e-table-column-item.c: Switched these to use GTK_TYPE_OBJECT and GTK_VALUE_OBJECT instead of GTK_TYPE_POINTER and GTK_TYPE_OBJECT. * e-cell-text.c: Got rid of a crashing bug. * e-table-text-model.c, e-table-text-model.h: A new object which is an e-text-model which uses an e-table-model for its data. * Makefile.am: Added e-table-text-model.c and e-table-text-model.h. * .cvsignore: Added table-example-1 and table-example-2. svn path=/trunk/; revision=2101
* Designed a new system for doing hierarchical displays in the canvas. AddsChristopher James Lahey2000-03-112-1/+125
| | | | | | | | | | | | | | | | | 2000-03-10 Christopher James Lahey <clahey@helixcode.com> * e-util/e-canvas.c, e-util/e-canvas.h: Designed a new system for doing hierarchical displays in the canvas. Adds an extra idle loop to the canvas system. * widgets/e-minicard/e-minicard.c, widgets/e-minicard/e-minicard-label.c, widgets/e-minicard/e-minicard-label.h, widgets/e-minicard/e-reflow.c, widgets/e-minicard/test-reflow.c, widgets/e-text/e-text.c, widgets/e-text/e-text.h: Adapted to use the new e-canvas reflow system. svn path=/trunk/; revision=2096
* Fixed e_xml_set_integer_prop_by_name.Christopher James Lahey2000-03-062-6/+6
| | | | | | | | 2000-03-05 Christopher James Lahey <clahey@helixcode.com> * e-util/e-xml-utils.c: Fixed e_xml_set_integer_prop_by_name. svn path=/trunk/; revision=2066
* Added e_xml_set_integer_prop_by_name.Christopher James Lahey2000-03-054-0/+18
| | | | | | | | | 2000-03-04 Christopher James Lahey <clahey@helixcode.com> * e-util/e-xml-utils.c, e-util/e-xml-utils.h: Added e_xml_set_integer_prop_by_name. svn path=/trunk/; revision=2051
* scout intaBertrand Guiheneuf2000-02-291-1/+4
| | | | svn path=/trunk/; revision=1990
* Added. moved from filter-sexp.[ch]NotZed2000-02-293-3/+1208
| | | | | | | | | | | | | | 2000-02-28 NotZed <NotZed@HelixCode.com> * e-util/e-sexp.[ch]: Added. moved from filter-sexp.[ch] * e-util/Makefile.am (libeutil_a_SOURCES): Add e-sexp. (noinst_LTLIBRARIES): Changed to a libtool library. * Makefile.am (SUBDIRS): Build e-util before other stuff. (SUBDIRS): Build filter after camel. svn path=/trunk/; revision=1980
* Added e_xml_get_integer_prop_by_name.Christopher James Lahey2000-02-259-0/+111
| | | | | | | | | | | | | | | | | | | | | 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * e-util/e-xml-utils.c, e-util/e-xml-utils.h: Added e_xml_get_integer_prop_by_name. * e-util/Makefile.am: Added e-util.c. * e-util/e-util.h: Added e-util.c functions. * e-util/e-util.c: New file for compare functions from mail: 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Changed to match new e_table_simple interface. svn path=/trunk/; revision=1931
* This were moved to widgets/e-text/ a while ago but never removed. TheyChristopher James Lahey2000-02-248-3/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text.c, widgets/e-text.h, e-text-event-processor.c, e-text-event-processor.h, e-text-event-processor-emacs-like.c, e-text-event-processor-emacs-like.h, e-text-event-processor-types.h: This were moved to widgets/e-text/ a while ago but never removed. They have now been removed. * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed some warnings from this file. Made tooltips disappear when you're finished with them. * widgets/e-minicard/test-reflow.c, widgets/e-minicard/test-minicard.c, widgets/e-minicard/test-minicard-label.c: Commented out unused about_callback functions. * widgets/e-minicard/e-reflow.c: Made e-reflow pass an EFocus to its e-minicard children. * widgets/e-minicard/e-minicard.c: Made e-minicard take and return an EFocus for its "has_focus" argument. This makes shift-tab work properly. * widgets/e-minicard/e-minicard-label.c: Made e-minicard-label take and return an EFocus for its "has_focus" argument. Made the font that e-minicard-label uses only be allocated once. * e-util/e-canvas-utils.h: Fixed the comment at the top and added #ifndef __E_CANVAS_UTILS__. * e-util/Makefile.am: Added e-xml-utils.c and e-xml-utils.h. * e-util/e-xml-utils.h, e-util/e-xml-utils.c: Added files for some xml utilities. * e-util/e-util.h: Added type EFocus which describes which direction the focus will be coming from. in mail: 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Changed this to not use the "x" and "y" arguments to e-table-item. in widgets/e-table: 2000-02-24 Christopher James Lahey <clahey@helixcode.com> * e-table-subset-variable.c, e-table-subset-variable.h: A new model which is a subset, but you can add and remove rows. * test-table.c: Added a thaw method for use with the e-table-subset (emits model_changed.) Adapted to the changes to e_table_item. Properly parse headers. Adapted to the changes to e_table, including creating example xml spec data. * test-cols.c, test-check.c: Added a thaw method for use with the e-table-subset (emits model_changed.) Adapted to the changes to e_table_item. * e-table.c, e-table.h: Reworked e-table to use the ETable grouping system. The only difference for the interface is that instead of passing in a column_spec and a grouping_spec, you pass in a single string that is an xml format that includes both pieces of information. * e-table-subset.h: Added rules for emacs to do correct indentation. * e-table-subset.c: Implemented freezing. No signals are emitted while frozen and "model_changed" is emitted when thawed. * e-table-sorted.h: ETableSortedClass has ETableSubset as its parent object instead of ETableSubsetClass. Fixed this. * e-table-simple.c, e-table-simple.h: Implemented the thaw method. Use of simple now requires an extra argument (the thaw method.) * e-table-model.h, e-table-model.c: Added e_table_model_freeze and e_table_model_thaw. * e-table-item.h, e-table-item.c: Reworked this a bit to make it provide some things the new group system needed and to make inter-item keyboard focus work. Changed the external interface only in the list of arguments it recognizes and signals it emits. Instead of "x" and "y", you have to use e_canvas_item_move_absolute and instead of emitting a "height_changed" signal, it emits a "resize" signal. There's new "has_focus", "width", and "height" arguments and a function to get the currently focused column. * e-table-header-item.c: Got rid of some warnings here. Changed the * e-table-group-leaf.h, e-table-group-leaf.c, e-table-group-container.h, e-table-group-container.c: New types to make e_table_group work properly. * e-table-group.h, e-table-group.c: Completely reworked e-table grouping. e-table-group now uses a hierarchical structure. * e-cell.h: Added e_cell_print. This doesn't work yet. * e-cell.c: Made e_cell_realize exist. (It was improperly named e_cell_view_realize in the .c.) * e-cell-text.c: Made the blinking cursor disappear properly. * check-filled.xpm, check-empty.xpm: Made these const char *[] instead of char *[] to avoid compiler warnings. * Makefile.am: Added e-table-group-container.c, e-table-group-container.h, e-table-group-leaf.c, e-table-group-leaf.h, e-table-subset-variable.c, e-table-subset-variable.h. svn path=/trunk/; revision=1915
* ~/evolution should be mode 700, not 600Dan Winship2000-02-241-2/+2
| | | | svn path=/trunk/; revision=1912
* Add new filesArturo Espinosa2000-02-162-0/+62
| | | | svn path=/trunk/; revision=1784
* Add the unicode libraries as well.Miguel de Icaza2000-02-163-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-14 Miguel de Icaza <miguel@gnu.org> * camel/providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): Add the unicode libraries as well. * camel/camel-provider.c (camel_provider_register_as_module): Add error reporting here. Desire to use Solaris increases. Hair loss in the last two hours: 5,400. * camel/providers/mbox/camel-mbox-provider.c (camel_mbox_get_provider): Renamed function. * camel/camel.h: All include files use camel/ now here. * camel/providers/mbox/Makefile.am: Drop all the dynamism from Camel, and make this a standard library. * configure.in: set the UNICODE_LIBS variable here. 2000-02-14 Miguel de Icaza <miguel@gnu.org> * folder-browser.c (folder_browser_load_folder): New routine, loads a camel folder. (folder_browser_set_uri): redo. * session.c: new file. Implements SessionStores to keep track of a Session/Store tuple. svn path=/trunk/; revision=1783
* Add new Makefiles to Makefile list.Christopher James Lahey2000-02-091-1/+5
| | | | | | | | | | | | | | | | | | 2000-02-09 Christopher James Lahey <clahey@helixcode.com> * configure.in: Add new Makefiles to Makefile list. * e-util/Makefile.am: Add canvas utilities to libeutil. * widgets/e-text/Makefile.am: Build libetext. * widgets/e-minicard/Makefile.am: Build libeminicard and test programs. * widgets/Makefile.am: Remove all e-text and e-minicard code and add them to the SUBDIRS list. svn path=/trunk/; revision=1706
* Handle the grab and ungrab command instead of doing focus by hand. ThisChristopher James Lahey2000-01-282-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-28 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text.c (e_text_command): Handle the grab and ungrab command instead of doing focus by hand. This fixes a problem related to the scroll wheel. (e_text_command): Reset the blink timer in many more command situations so that the cursor blinks less when you're interacting with it. * widgets/e-text-event-processor-emacs-like.c: Send the grab focus command when starting a selection and the ungrab focus command when ending it. * widgets/e-text-event-processor-types.h: Added grab command type so that the event processor can tell the widget to grab the focus. * widgets/e-reflow.c: Redefined all sizes using #defines so that they can be tweaked later. Added scroll wheel handling and set up adjustment increments so that the scroll bars will work correctly. * widgets/e-minicard.h: Added minicard focus type enum. This doesn't mean anything yet, but it will later be used to say which direction the focus is coming from (below for shift-tab, above for tab.) svn path=/trunk/; revision=1650
* Use e_canvas_item_grab_focus so that it will work with old versions ofChristopher James Lahey2000-01-272-0/+73
| | | | | | | | | | | | | 2000-01-28 Christopher James Lahey <clahey@helixcode.com> * widgets/e-minicard-label.c, widgets/e-minicard.c: Use e_canvas_item_grab_focus so that it will work with old versions of gnome-canvas. * widgets/e-canvas.c, widgets/e-canvas.h: Finished working around focus bugs. svn path=/trunk/; revision=1649
* cvs shutupMathieu Lacage2000-01-261-0/+3
| | | | svn path=/trunk/; revision=1639
* Handle shift-tab properly now.Christopher James Lahey2000-01-262-0/+299
| | | | | | | | | | | | | | | | | | | | | | | 2000-01-25 Christopher James Lahey <clahey@helixcode.com> * widgets/e-reflow.c, widgets/e-minicard.c: Handle shift-tab properly now. * widgets/e-minicard-label.c: Reindented some areas. * widgets/test-reflow.c: Use e-canvas. Set the back pixmap to NULL for the canvas so that scrolling won't flash grey. * widgets/e-canvas.c, widgets/e-canvas.h: These subclass GnomeCanvas to work around a few bugs so that evolution will work well with old versions of gnome-libs. * widgets/Makefile.am: Added e-canvas.c and e-canvas.h. * addressbook/contact-editor/contact-editor.glade: Not much change. Mostly internal reorganization by glade itself. svn path=/trunk/; revision=1638
* Changed some line spacing.Chris Lahey2000-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * widgets/e-text-event-processor-types.h: Changed some line spacing. * widgets/test-reflow.c: Connected to the resize signal of the reflow. * widgets/e-minicard.c: Made width argument set function only update if width is different. * widgets/e-reflow.h, widgets/e-reflow.c: Added draggable column dividers. * addressbook/contact-editor/test-editor.c: Open two dialogs for more interesting testing. * addressbook/contact-editor/e-contact-editor.h, addressbook/contact-editor/e-contact-editor.c: Modified to use glade. Added menus to change which phone/address/email entries to view. Added images to the dialog. * addressbook/contact-editor/e-contact-editor-strings.h, addressbook/contact-editor/contact-editor.glade: Glade files for the contact editor dialog. * addressbook/contact-editor/Makefile.am: Added images and added glade stuff. * addressbook/contact-editor/arrow.png, addressbook/contact-editor/briefcase.png, addressbook/contact-editor/netfreebusy.png, addressbook/contact-editor/netmeeting.png: Image files for the contact editor dialog. svn path=/trunk/; revision=1599
* Added selection and clipboard support. Added up and down arrow keys. FixedChris Lahey2000-01-142-1/+28
| | | | | | | | | | | | | | | | * widgets/e-text-event-processor-types.h, widgets/e-text-event-processor-emacs-like.c, widgets/e-text.c, widgets/e-text.h: Added selection and clipboard support. Added up and down arrow keys. Fixed choice of font colors for the selection to be based on the current style. * widgets/e-minicard.c: Caused a click to grab the focus. Changed the fake information added. * widgets/e-minicard-label.c: Forward mouse events to the field EText item. svn path=/trunk/; revision=1568
* e_canvas_item_move_absolute is just a helper function not supplied by theChris Lahey2000-01-142-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * widgets/e-canvas-utils.c, widgets/e-canvas-utils.h: e_canvas_item_move_absolute is just a helper function not supplied by the gnome_canvas.[ch] I put it here so that multiple items can use it. * widgets/e-reflow.c, widgets/e-reflow.h: This item contains a number of other items and places them into multiple columns. The items contained must support a number of arguments and signals to allow the reflow to interact with them. * widgets/test-reflow.c: This is a test program for e-reflow. * widgets/e-text.c, widgets/e-text.h: Added properly drawn selected text. Added some preliminary code for X selection handling and cut & paste. * widgets/e-minicard.c, widgets/e-minicard.h: Added ARG_HAS_FOCUS handling. Made label display random for more interesting tests of multiple cards. Tweaked sizing information for better display. * widgets/e-minicard-label.c, widgets/e-minicard-label.h: Added ARG_HAS_FOCUS handling. * widgets/Makefile.am: Added the reflow test and reflow files. svn path=/trunk/; revision=1566
* Blocked the tab key from getting inserted into the buffer since theChris Lahey2000-01-121-4/+3
| | | | | | | | | | | * widgets/e-text-event-processor-emacs-like.c: Blocked the tab key from getting inserted into the buffer since the renderer doesn't know what a tab is. * widgets/e-text.c, widgets/e-text.h: Fixed a memory leak. Added a blinking cursor and scrolling for the text item. svn path=/trunk/; revision=1554
* Removed some code which got in the way of testing properly.Chris Lahey2000-01-115-0/+703
| | | | | | | | | | | | | | | | | | | | | | | * widgets/test-minicard.c: Removed some code which got in the way of testing properly. * widgets/e-minicard-label.c (e_minicard_label_realize): Made the field text item editable. * widgets/Makefile.am: Added e-text-event-process*.[ch]. * widgets/e-text.c, widgets/e-text.h: Changed these to support editing. * widgets/e-text-event-processor.c, widgets/e-text-event-processor.h, widgets/e-text-event-processor-types.h, widgets/e-text-event-processor-emacs-like.c, widgets/e-text-event-processor-emacs-like.h: These are a new pair of classes which handle all events from the text item and convert them into commands. svn path=/trunk/; revision=1553
* More missing filesArturo Espinosa2000-01-072-0/+70
| | | | svn path=/trunk/; revision=1541
* More framework work -miguelArturo Espinosa2000-01-071-0/+2
| | | | svn path=/trunk/; revision=1539
* Compilation touchups -miguelArturo Espinosa2000-01-061-0/+2
| | | | svn path=/trunk/; revision=1537
* Lots of reorganization to get the Evolution shell to begin its life. ItArturo Espinosa2000-01-061-0/+7
| | | | | | | | | Lots of reorganization to get the Evolution shell to begin its life. It also includes a new evolution widget from Damon. Miguel. svn path=/trunk/; revision=1536
* Compute height using the ecell methods here. (eti_get_height): new methodMiguel de Icaza1999-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-11-26 Miguel de Icaza <miguel@gnu.org> * e-table-item.c (eti_realize): Compute height using the ecell methods here. (eti_get_height): new method to compute dimensions. * e-cursors.c: use a different cursor. * e-table-model.h: kill height and row_height methods. * e-cell.c (ec_height): New method. * e-cell-text.c (ect_realize): Load the font from the canvas. (ect_draw): New color setup. Center in the row. (ect_height): Implement new method. 1999-11-26 Michael Meeks <mmeeks@gnu.org> * ROADMAP.e-table: small spelling/typo fixes. 1999-11-25 Miguel de Icaza <miguel@gnu.org> * e-table-item.c (eti_event): Work on mouse-button event svn path=/trunk/; revision=1439
* Add anotherArturo Espinosa1999-11-182-0/+48
| | | | svn path=/trunk/; revision=1399
* missing filesArturo Espinosa1999-11-182-0/+161
svn path=/trunk/; revision=1398