Commit Graph

81 Commits

Author SHA1 Message Date
Christopher James Lahey 49b1027805 Fixed e_marshal_INT__INT_INT_POINTER.
2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c: Fixed e_marshal_INT__INT_INT_POINTER.

svn path=/trunk/; revision=3369
2000-06-02 03:36:22 +00:00
Christopher James Lahey aae604c8ad Added e_marshal_INT__INT_INT_POINTER.
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
2000-06-02 03:03:03 +00:00
Dan Winship 10639cdca9 Duh! -1 != 1. :)
* e-util.c (g_int_compare): Duh! -1 != 1. :)

svn path=/trunk/; revision=3363
2000-06-02 02:20:30 +00:00
Christopher James Lahey 7871ce59d7 g_return_val_if_fail to prevent a crash.
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
2000-06-01 19:21:50 +00:00
Not Zed 75353e0bff Utility function to build a bool as part of an expression string.
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
2000-05-30 22:53:59 +00:00
Christopher James Lahey e169895ef5 Added e_canvas_item_show_area which makes sure that a particular area of a
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
2000-05-30 19:32:36 +00:00
Federico Mena Quintero 336efb38c6 Flush - Federico
svn path=/trunk/; revision=3280
2000-05-30 14:47:38 +00:00
Federico Mena Quintero d206a2e89b Moved over from event-editor-utils.c. (e_dialog_editable_get): Likewise.
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
2000-05-27 21:28:58 +00:00
Christopher James Lahey 1550b3384b Removed.
2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* e-paned.c, e-paned.h: Removed.

svn path=/trunk/; revision=3196
2000-05-25 02:54:35 +00:00
Christopher James Lahey e033af05d7 Added widgets/e-paned/Makefile.
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
2000-05-24 23:00:39 +00:00
Federico Mena Quintero 910e86eba6 Commit for if my laptop dies - Federico
svn path=/trunk/; revision=3185
2000-05-23 20:52:12 +00:00
Christopher James Lahey cb227b68b3 Added e_write_file.
2000-05-23  Christopher James Lahey  <clahey@helixcode.com>

	* e-util.c, e-util.h: Added e_write_file.

svn path=/trunk/; revision=3181
2000-05-23 10:27:16 +00:00
Federico Mena Quintero b5ae6150b2 New files with utilities for hooking up widgets in Glade-generated
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
2000-05-19 19:31:32 +00:00
Christopher James Lahey f62df6f7d7 Added e_container_foreach_leaf.
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
2000-05-19 04:13:37 +00:00
Christopher James Lahey 4c08e67f41 Add imagesdir support.
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
2000-05-18 22:23:46 +00:00
Christopher James Lahey 277df4a98d xmlGetProp appears to return malloced memory. Thus we must free it.
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
2000-05-16 12:16:16 +00:00
Christopher James Lahey 4ce4877398 Fixed some memory leaks.
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
2000-05-16 11:45:45 +00:00
Ettore Perazzoli 6dfcfd767d Utility function to free a GList of strings.
svn path=/trunk/; revision=3048
2000-05-15 17:16:55 +00:00
Christopher James Lahey 623ba9a279 Added e_strdup_strip which returns a copy of the string with the leading
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
2000-05-14 14:17:51 +00:00
NotZed 62c8174bac Destroy the g_scanner when cleaning up. (e_sexp_finalise): Free symbol
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
2000-05-11 18:39:11 +00:00
Christopher James Lahey 4a2777a279 Removed dist-hook section.
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
2000-05-10 14:47:09 +00:00
Christopher James Lahey 3f6ddb02e8 Remove reflow idle when being destroyed.
2000-05-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c: Remove reflow idle when being destroyed.

svn path=/trunk/; revision=2934
2000-05-09 06:45:50 +00:00
Chris Toshok 9ce4dd5c57 comment function, and fix an ABR.
* ename/e-name-western.c (e_name_western_extract_middle): comment
        function, and fix an ABR.

svn path=/trunk/; revision=2894
2000-05-08 01:48:28 +00:00
Chris Toshok 5aa0abfff8 comment function, and fix an ABR.
* ename/e-name-western.c (e_name_western_cleanup_string): comment
	function, and fix an ABR.

svn path=/trunk/; revision=2893
2000-05-08 01:00:14 +00:00
Christopher James Lahey 7453ffb6a8 Got rid of some warnings.
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
2000-05-06 17:04:10 +00:00
Ettore Perazzoli 72c77c6f4a New function to free a list of referenced objects.
svn path=/trunk/; revision=2772
2000-05-03 04:06:19 +00:00
Damon Chaplin 848cacc490 set and reset the GTK_HAS_FOCUS flag. We now get focus_out events
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
2000-05-02 22:26:16 +00:00
NotZed 38d9cc1278 Free the parse tree if we have one. (e_sexp_parse): If we already have a
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
2000-05-02 22:02:49 +00:00
Matthew Loper 855b85657d Set G_LOG_DOMAIN in following files.
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
2000-05-02 21:34:01 +00:00
Ettore Perazzoli 188a9f0afa Constified XML utility functions.
svn path=/trunk/; revision=2722
2000-05-01 21:13:19 +00:00
Ettore Perazzoli 9483369aa0 Made Evolution OAF-compatible.
svn path=/trunk/; revision=2673
2000-04-28 04:23:19 +00:00
Dan Winship aef27503fb Moved here from the mailer, since it's of general use, and the composer
* 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
2000-04-27 19:01:18 +00:00
Christopher James Lahey 465efaf4dd Added addressbook/ename/Makefile.
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
2000-04-27 17:09:20 +00:00
Nat Friedman 5ad0f6610f Oops, forgot this.
svn path=/trunk/; revision=2657
2000-04-27 15:31:08 +00:00
Miguel de Icaza 85eafe5cb2 add e-popup-menu.[ch]
svn path=/trunk/; revision=2635
2000-04-26 15:03:27 +00:00
Seth Alves 19de6b40b6 move #include <locale.h> above the others because it was getting
wigged out on a solaris build.

svn path=/trunk/; revision=2634
2000-04-26 14:56:47 +00:00
Miguel de Icaza 35d11190bc New file. Implements easy to use popup menus.
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
2000-04-26 14:47:11 +00:00
Christopher James Lahey ef9238e9cc Made the tooltip show up in the correct place and configuration when using
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
2000-04-24 13:36:11 +00:00
Matthew Loper 7c309e43b2 + * widgets/Makefile.am: Added e-paned directory.
+
+	* 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
2000-04-24 03:10:30 +00:00
Christopher James Lahey 4780dd12ca Added e_xml_get_child_by_name_by_lang.
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
2000-04-19 08:58:27 +00:00
Anders Carlsson 9ee0c77a74 Add realize. (e_canvas_realize): Set the back pixmap to NULL to reduce
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
2000-04-16 00:39:00 +00:00
Christopher James Lahey 82e77d6d8e Added a note field.
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
2000-04-15 00:14:42 +00:00
Christopher James Lahey cb0371df5b Fixing a warning.
2000-04-14  Christopher James Lahey  <clahey@helixcode.com>

	* e-xml-utils.c: Fixing a warning.

svn path=/trunk/; revision=2437
2000-04-14 21:10:01 +00:00
Christopher James Lahey b87c37a1e8 Add g_return_if_fails.
2000-04-14  Christopher James Lahey  <clahey@helixcode.com>

	* e-xml-utils.c: Add g_return_if_fails.

svn path=/trunk/; revision=2435
2000-04-14 21:09:04 +00:00
Miguel de Icaza 3ef836d8a7 Fix the embarassing cursor bug.
Fix the embarassing cursor bug.

svn path=/trunk/; revision=2404
2000-04-12 04:50:02 +00:00
Christopher James Lahey a5fef3a82e Added proper keyboard focus handling.
2000-04-10  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas.c: Added proper keyboard focus handling.

svn path=/trunk/; revision=2377
2000-04-10 19:33:35 +00:00
Matthew Loper f991f6a8ad + (mkdir_if_necessary): New function.
+	(e_setup_base_dir): Use mkdir_if_necessary().

svn path=/trunk/; revision=2315
2000-04-06 22:14:36 +00:00
Matthew Loper eb9e774246 + * shell/main.c (evolution_boot): Make sure our data directory is
+	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
2000-04-06 16:45:54 +00:00
Nat Friedman 3d9889baee Committing this thing I wrote last year to parse names. It's cute.
svn path=/trunk/; revision=2301
2000-04-06 05:21:29 +00:00
Michael Meeks 228a741d69 minor style clean + kill duff file in POTFILES.
svn path=/trunk/; revision=2198
2000-03-27 22:12:58 +00:00