Commit Graph

1605 Commits

Author SHA1 Message Date
Dan Winship 1e87b7cd20 Fix the comment at the top of the file: it was describing
EShortcutBar, not EGroupBar. (EGroupBar description taken from
e-group-bar.h).

svn path=/trunk/; revision=2259
2000-03-30 18:23:03 +00:00
Miguel de Icaza 90d2ce7c45 Add new files
svn path=/trunk/; revision=2258
2000-03-30 18:02:09 +00:00
Tuomas Kuosmanen fc32fca50e look mum! new icons! /tigert
svn path=/trunk/; revision=2257
2000-03-30 17:35:05 +00:00
Dan Winship 1f73bf3ba0 Add a htons in the default_number case, and document the fact that the
* camel-service.c (camel_service_getport): Add a htons in the
	default_number case, and document the fact that the function
	returns the port in network byte order.

	* providers/pop3/camel-pop3-store.c (pop3_connect): Revert
	Miguel's change. The port number bug was actually somewhere
	else, and the IP address copying code was fine already.

svn path=/trunk/; revision=2256
2000-03-30 16:40:33 +00:00
Seth Alves 809aec4f0e cal_client_get_events_in_range returns a list of CalObjInstance *, not a
* gui/main.c (calendar_get_events_in_range):
	cal_client_get_events_in_range returns a list of CalObjInstance *, not
	a list of (char *) uid.

svn path=/trunk/; revision=2255
2000-03-30 16:34:10 +00:00
Seth Alves f43f0eafa8 readded the gui directory
* Makefile.am (SUBDIRS): readded the gui directory

	* gui/main.c: temporarily added alarm_defaults back in,
	since the calendar doesn't link without it

svn path=/trunk/; revision=2254
2000-03-30 15:46:31 +00:00
Miguel de Icaza bd040ea142 One liner
svn path=/trunk/; revision=2253
2000-03-30 01:42:04 +00:00
Miguel de Icaza a02608b078 Fix indentation
svn path=/trunk/; revision=2252
2000-03-30 01:35:18 +00:00
Miguel de Icaza 88674ff401 Add htons (port), and only copy 4 bytes for the IP address to prevent a
2000-03-29  Miguel de Icaza  <miguel@gnu.org>

	* providers/pop3/camel-pop3-store.c (pop3_connect): Add htons
	(port), and only copy 4 bytes for the IP address to prevent a DNS
	attack.

svn path=/trunk/; revision=2251
2000-03-30 00:41:04 +00:00
Dan Winship 4435a5db63 Call bonobo_control_frame_activate on the folder_view every time it is
* shell/e-shell-view.c (e_shell_view_set_view): Call
	bonobo_control_frame_activate on the folder_view every time it
	is displayed, and bonobo_control_frame_deactivate every time it is
	hidden.

	* folder-browser-factory.c (control_activate): build a toolbar.
	(control_deactivate): and hide it.

svn path=/trunk/; revision=2250
2000-03-30 00:22:56 +00:00
Christopher James Lahey b36ddcbdd5 Fixed management of the corba-cursor object by calling
2000-03-29  Christopher James Lahey  <clahey@helixcode.com>

        * addressbook/backend/ebook/e-card-cursor.c: Fixed management of
        the corba-cursor object by calling CORBA_Object_duplicate on it on
        e-card-cursor creation and calling CORBA_Object_release on
        e-card-cursor destruction.  Also, properly free string returned
        from Evolution_CardCursor_get_nth function.

svn path=/trunk/; revision=2249
2000-03-29 23:01:04 +00:00
Matthew Loper 96fd9a9555 + * addressbook/backend/ebook/test-client.c (get_cursor_cb): Added
+	some debugging.
+
+	* addressbook/backend/ebook/e-book-listener.c: Added inline
+	documentation for exposed functions.
+	* addressbook/backend/ebook/e-card-cursor.c: same.
+	* addressbook/backend/ebook/e-card.c: same.

svn path=/trunk/; revision=2248
2000-03-29 22:24:08 +00:00
Matthew Loper f729bbb6c5 + * Makefile.am: add calendar compilation back in.
+
+       * calendar/Makefile.am: remove the gui directory, which doesn't
+         compile.

svn path=/trunk/; revision=2247
2000-03-29 19:06:18 +00:00
Matthew Loper 6f86cf7638 + * addressbook/backend/pas/pas-book-factory.c
+	(PAS_BOOK_FACTORY_GOAD_ID): changed to
+	"evolution:addressbook-server".
+
+	* addressbook/backend/pas/Makefile.am: no need to install a
+	.gnorba file from here, as the wombat.gnorba file in
+	evolution/wombat will do its job.
+
+	* addressbook/backend/ebook/test-client.c (ebook_create): if
+	ebook_new fails, print a warning and return.
+
+	* addressbook/backend/ebook/e-book.c (CARDSERVER_GOAD_ID): changed
+	to "evolution:addressbook-server".

The wombat in evolution/wombat will now have both the pcs and the pas
in it.

svn path=/trunk/; revision=2246
2000-03-29 18:48:28 +00:00
Matthew Loper 268aa743d5 + * wombat/wombat.c: Changed headerfile path.
+
+	* wombat/Makefile.am: Use relative paths to libraries in the build
+	tree, rather than requiring libraries (such as libpcs) to already
+	be installed.

svn path=/trunk/; revision=2245
2000-03-29 05:05:45 +00:00
Matthew Loper c741f30353 + * wombat/Makefile.am: new file.
+	* wombat/wombat.gnorba: Cleaned up.
+
+	* wombat/wombat.c (setup_pcs): filled in the rest.
+
+	* e-table-text-model.c (e_table_text_model_destroy): made
+	assertion more accurate.

svn path=/trunk/; revision=2244
2000-03-29 04:47:57 +00:00
Chris Toshok 6ba417b085 use g_new0 to allocate the BonoboObjectServant.
* addressbook/backend/pas/pas-card-cursor.c (create_cursor): use
	g_new0 to allocate the BonoboObjectServant.

svn path=/trunk/; revision=2243
2000-03-29 03:26:37 +00:00
Matthew Loper 1f5d5803c2 + * Makefile.am: added wombat.
svn path=/trunk/; revision=2242
2000-03-29 03:20:09 +00:00
Matthew Loper a74313d1af + * wombat/wombat.gnorba: new file.
+
+	* wombat/.cvsignore: new file.
+
+	* wombat/wombat.c (setup_pcs): fill out this function some.
+
+	* configure.in: added wombat.
+
+	* pcs/Makefile.am: create a libpcs.la library, for use in the
+	wombat.

svn path=/trunk/; revision=2241
2000-03-29 03:05:07 +00:00
Chris Toshok c169edca76 remove unnecessary strdup/free.
* addressbook/backend/pas/pas-backend-file.c
	(pas_backend_file_build_all_cards_list): remove unnecessary
	strdup/free.

svn path=/trunk/; revision=2240
2000-03-29 02:20:18 +00:00
Christopher James Lahey 468049294f Removed an infinite loop.
2000-03-28  Christopher James Lahey  <clahey@helixcode.com>

        * addressbook/backend/pas/pas-backend-file.c: Removed an infinite
        loop.

        * addressbook/backend/ebook/test-client-list.c: New test that
        doesn't add an extra database item.

        * addressbook/backend/ebook/Makefile.am,
        addressbook/backend/ebook/.cvsignore: Added test-client-list.

svn path=/trunk/; revision=2239
2000-03-29 02:08:23 +00:00
Russell Steinthal 7bbcabbc1e New function (borrowed from Korganizer's libversit code) to combine
2000-03-28  Russell Steinthal  <rms39@columbia.edu>

	* libversit/vcc.y (appendValue): New function (borrowed from
	Korganizer's libversit code) to combine semicolon-separated
	multiple-value properties into one long semicolon-delimited string
	(which can then be parsed by the application code).  This works
	around a bug in libversit by which multiple values would overwrite
	each other.

NOTE: This change seems to work, but could use as much testing as possible
before GNOME 1.2 (and gnome-pim 1.2) is released....  Hopefully, this fixes the multiple CATEGORIES bug I've been complaining about for the last few weeks.

svn path=/trunk/; revision=2237
2000-03-29 02:03:51 +00:00
Christopher James Lahey 68b4d99fcb Fixed memory allocation.
2000-03-28  Christopher James Lahey  <clahey@helixcode.com>

        * addressbook/backend/pas/pas-card-cursor.c: Fixed memory
        allocation.

        * addressbook/backend/pas/pas-backend-file.c: Fixed memory
        allocation.  Made database stuff not do an extra entry.

        * addressbook/backend/ebook/test-client.c: Add test for
        get_all_cards functionality.  Changed database name to test.db.

        * addressbook/backend/ebook/e-card-cursor.c: Changed bonobo_object
        to gtk_object in a couple of places.

svn path=/trunk/; revision=2236
2000-03-29 01:38:45 +00:00
Chris Toshok b88b59741f create id's for entries using the following format: ("pas-id-%08lX%08X",
* addressbook/backend/pas/pas-backend-file.c
	(pas_backend_file_create_unique_id): create id's for entries using
	the following format: ("pas-id-%08lX%08X", time(NULL), c++).

svn path=/trunk/; revision=2235
2000-03-29 00:47:30 +00:00
Eskil Heyn Olsen bce1144ad7 Modfied to use the gnome-config --yadayada gpilot script.
svn path=/trunk/; revision=2220
2000-03-29 00:30:07 +00:00
Nat Friedman 4c9fe1015c For matt.
svn path=/trunk/; revision=2219
2000-03-28 21:18:13 +00:00
Dan Winship 6bf6ad1613 make this return a CamelStream rather than a CamelSeekableSubstream,
* camel-seekable-substream.c
	(camel_seekable_substream_new_with_seekable_stream_and_bounds):
	make this return a CamelStream rather than a
	CamelSeekableSubstream, because that's the way Gtk objects tend to
	work.

svn path=/trunk/; revision=2218
2000-03-28 21:15:21 +00:00
Dan Winship c7ae879700 fix warnings
svn path=/trunk/; revision=2217
2000-03-28 21:12:12 +00:00
Dan Winship 2076526774 convenience functions to canonicalize the host and port values of a
* camel-service.c (camel_service_gethost,
	camel_service_getport): convenience functions to canonicalize
	the host and port values of a service's URL.
	* providers/pop3/camel-pop3-store.c: use them

svn path=/trunk/; revision=2216
2000-03-28 20:51:58 +00:00
Dan Winship c3b6d117ee Make this work when the inbox file doesn't yet exist.
* providers/mbox/camel-mbox-folder.c
	(_check_get_or_maybe_generate_summary_file): Make this work when
	the inbox file doesn't yet exist.

svn path=/trunk/; revision=2215
2000-03-28 18:01:34 +00:00
Dan Winship ed8e120bf0 make it put mail in ~ instead of always /home/danw. (oops :)
also add an option to delete the mail off the server

svn path=/trunk/; revision=2214
2000-03-28 17:38:32 +00:00
Seth Alves ec31e6ec84 added libeutil.la and libetext.a
* gui/Makefile.am (LINK_FLAGS): added libeutil.la and libetext.a

	* gui/main.c (calendar_iterate): switch from string_to_ical_object to
	ical_object_find_in_string
	(calendar_get_events_in_range): same
	(session_save_state): commented out references
	to gcal->client->filename

svn path=/trunk/; revision=2213
2000-03-28 15:06:28 +00:00
Seth Alves 7a72e3adc7 avoid a crash if icons aren't found
svn path=/trunk/; revision=2212
2000-03-28 14:14:56 +00:00
Federico Mena Quintero 8f6adf987e Use ical_object_to_string().
2000-03-27  Federico Mena Quintero  <federico@helixcode.com>

	* pcs/cal-backend.c (cal_backend_get_object): Use
	ical_object_to_string().

	* cal-util/calobj.c (ical_object_to_string): Moved over from
	pcs/cal-backend.c (was string_from_ical_object).
	(get_calendar_base_vobject): Likewise, moved over from
	pcs/cal-backend.c.

	* cal-util/cal-util.c: Removed string_to_ical_object(); the
	correct function is in calobj.[ch], called
	ical_object_find_in_string().  Removed ical_object_to_string,
	since we now implement it in calobj.c.

	* cal-util/calobj.c: Removed ical_object_new_from_string(); see
	above.

	* idl/evolution-calendar.idl (CalObjInstance): Calendar object
	instances now contain only the UID for the object, not the whole
	string representation of the object.  This allows clients to
	implement caching of objects if they wish.

	* pcs/cal.c (Cal_get_events_in_range): Likewise.

	* pcs/cal-backend.c (build_event_list): Likewise.

	* cal-client/cal-client.c (cal_client_get_events_in_range):
	Likewise.

	* cal-util/cal-util.h (CalObjInstance): Likewise.

	* cal-util/cal-util.c (cal_obj_instance_list_free): Likewise.
	(cal_obj_uid_list_free): Assert that the UIDs in the list are not
	NULL.

	* pcs/tlacuache.gnorba (repo_id): The calendar factory also
	supports the Unknown interface.

svn path=/trunk/; revision=2211
2000-03-28 08:05:08 +00:00
Chris Toshok 8b355664ab implement function. (get_nth): implement function. (cursor_destroy): free
* addressbook/backend/pas/pas-backend-file.c
	(get_length): implement function.
	(get_nth): implement function.
	(cursor_destroy): free up the internal glist of vcards, and fix
	warning.
	(pas_backend_file_build_all_cards_list): new function, to build up
	the list of cards in the db.
	(pas_backend_file_process_get_all_cards): call
	pas_backend_file_build_+all_cards_list, and fix warning.

svn path=/trunk/; revision=2210
2000-03-28 05:32:40 +00:00
Miguel de Icaza ea9b13f015 New function, used to flatten the images we get and composite them with
2000-03-27  Miguel de Icaza  <miguel@gnu.org>

	* widgets/shortcut-bar/e-icon-bar.c (flatten_alpha): New function,
	used to flatten the images we get and composite them with the
	background.
	(e_icon_bar_add_item): One happy tigert comming.

svn path=/trunk/; revision=2209
2000-03-28 05:27:29 +00:00
Dan Winship 9d0c0def4a new test program. Can be used to copy POP mail into your evolution inbox.
* tests/test-movemail.c: new test program. Can be used to copy POP
	mail into your evolution inbox.

svn path=/trunk/; revision=2208
2000-03-28 04:25:31 +00:00
Chris Toshok 7301e78bde remove unneeded g_strdup;
* addressbook/backend/pas/pas-backend-file.c
        (pas_backend_file_get_vcard): remove unneeded g_strdup;

svn path=/trunk/; revision=2207
2000-03-28 04:19:16 +00:00
Dan Winship b54a0e18c3 uncomment the call to unlink the temp file: there's no way to tell
* providers/mbox/camel-mbox-folder.c (_append_message): uncomment
	the call to unlink the temp file: there's no way to tell
	camel_stream_fs to truncate a file, so reusing the same file was
	resulting in junk at the ends of messages.

svn path=/trunk/; revision=2206
2000-03-28 03:56:06 +00:00
Christopher James Lahey 21e60e2384 Fixed some warnings.
2000-03-27  Christopher James Lahey  <clahey@helixcode.com>

        * addressbook/backend/ebook/test-card.c: Fixed some warnings.

        * addressbook/backend/ebook/test-client.c: Added a section to test
        cursors and returning an id when adding.

        * addressbook/backend/ebook/e-card-pairs.h: Removed the address
        pairs since they were added to e-card.c.

        * addressbook/backend/ebook/e-card.c,
        addressbook/backend/ebook/e-card.h: Made the set_id function take
        a const char *.

        * addressbook/backend/ebook/e-book-listener.c,
        addressbook/backend/ebook/e-book-listener.h,
        addressbook/backend/ebook/e-book.c,
        addressbook/backend/ebook/e-book.h,
        addressbook/backend/idl/addressbook.idl,
        addressbook/backend/pas/pas-backend-file.c,
        addressbook/backend/pas/pas-book.c,
        addressbook/backend/pas/pas-book.h: Added a get_all_cards function
        and made the response to the create_card function include the card
        id.

        * addressbook/backend/ebook/Makefile.am: Added e-card-cursor.c and
        e-card-cursor.h.

        * addressbook/backend/ebook/e-card-cursor.c,
        addressbook/backend/ebook/e-card-cursor.h: New class for proxying
        to an Evolution_CardCursor.

        * addressbook/backend/pas/Makefile.am: Added pas-card-cursor.c and
        pas-card-cursor.h.

        * addressbook/backend/pas/pas-card-cursor.c,
        addressbook/backend/pas/pas-card-cursor.h: New bonobo class for
        making an Evolution_CardCursor server.

svn path=/trunk/; revision=2205
2000-03-28 03:52:46 +00:00
Chris Toshok bd46ea2926 quiet warnings when building in ../po
* mail-display.c: quiet warnings when building in ../po

svn path=/trunk/; revision=2204
2000-03-28 03:02:12 +00:00
Dan Winship 15287c0ce6 add delete_message_by_{number,uid}.
* camel-folder.[ch]: add delete_message_by_{number,uid}.

	* providers/pop3/camel-pop3-folder.[ch]: implement
	delete_message_by_uid. Add a close method to do expunging
	of deleted messages if requested.

	* providers/pop3/camel-pop3-store.[ch]: support for
	CamelPop3Folder::close. (You have to close the connection
	in order to expunge the folder, thus the store may be
	connected in the CamelService::is_connected sense when it
	is not actually connected to the server.) Also some bugfixes.

svn path=/trunk/; revision=2203
2000-03-28 01:57:59 +00:00
NotZed 03bcc319cf Fixed call to ibex_open.
2000-03-26  NotZed  <NotZed@HelixCode.com>

        * lookup.c (main): Fixed call to ibex_open.

        * mkindex.c (main): Fixed call to ibex_open.

        * file.c (ibex_open): Changed to accept flags and mode equivalent
        to open(2).

svn path=/trunk/; revision=2202
2000-03-28 00:39:36 +00:00
Dan Winship 9eec5a12db add pop3 provider
svn path=/trunk/; revision=2201
2000-03-27 23:39:43 +00:00
NotZed 767c63615d This test is basically now invalid.
2000-03-27  NotZed  <NotZed@HelixCode.com>

        * tests/test9.c (main): This test is basically now invalid.

        * tests/test11.c (main): Fix for async search api.  Probably works.
        Removed camel-mbox-*.h headers, should be private.

svn path=/trunk/; revision=2200
2000-03-27 22:48:24 +00:00
NotZed 3ec585e1b5 Unref the output_stream when done, close doesn't do it. (_append_message):
2000-03-27  NotZed  <NotZed@HelixCode.com>

        * providers/mbox/camel-mbox-folder.c (_append_message): Unref the
        output_stream when done, close doesn't do it.
        (_append_message): Clear all uid's from the appending messages, so
        they are reassigned proper unique id's.

        * gmime-utils.c (get_header_array_from_stream): Actually free the
        header, it is copied elsewhere.

2000-03-26  NotZed  <NotZed@HelixCode.com>

        * providers/mbox/camel-mbox-utils.c (camel_mbox_write_xev): Added
        folder parameter to function.  Fixed callers.
        (index_message): Index a message as it is assigned a unique id.

        * camel-mime-part.c (my_set_content_id): Make sure we malloc and
        copy the content_id, otherwise *poof*

2000-03-25  NotZed  <NotZed@HelixCode.com>

        * camel-medium.c (_finalize): Another leak, unref the content if
        finished with it.

        * camel-recipient.c (camel_recipient_table_free): Plug another
        memory leak - actually free the recipient table.

        * camel-mime-message.c (_finalize): Plugged a memory leak with the
        flags table.

        * gmime-utils.c (_store_header_pair_from_string): A simpler, more
        debuggable and functionally identical header extraction function.

2000-03-24  NotZed  <NotZed@HelixCode.com>

        * gmime-content-field.c (gmime_content_field_set_parameter):
        Remove the hash table entry before freeing its key and data.

svn path=/trunk/; revision=2199
2000-03-27 22:46:13 +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
Michael Meeks 22fbcb44c5 Prune redundant files.
svn path=/trunk/; revision=2197
2000-03-27 21:46:00 +00:00
Dan Winship abd054f424 keep separate input and output streams so the output doesn't end up being
* providers/pop3/camel-pop3-store.c: keep separate input and
	output streams so the output doesn't end up being buffered.

	* providers/pop3/camel-pop3-folder.c (get_message_by_number):
	finish implementing this.

	* providers/Makefile.am (SUBDIRS): Add pop3.

svn path=/trunk/; revision=2196
2000-03-27 21:37:49 +00:00
Michael Meeks 7b379b8f3b fix nastiness with mime dispositions ( at least for now )
svn path=/trunk/; revision=2195
2000-03-27 21:33:34 +00:00