Commit Graph

1711 Commits

Author SHA1 Message Date
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
50a2e734db fix various bugs in APOP code (still untested) and some of the error
* providers/pop3/camel-pop3-store.c (pop3_connect): fix various
	bugs in APOP code (still untested) and some of the error cases.

svn path=/trunk/; revision=2376
2000-04-10 19:27:29 +00:00
a4cf778456 use view != NULL instead of checking db_error when we call
* addressbook/backend/pas/pas-backend-file.c
	(pas_backend_file_process_get_book_view): use view != NULL instead
	of checking db_error when we call pas_book_respond_get_book_view)

svn path=/trunk/; revision=2375
2000-04-10 19:18:54 +00:00
22cac10b8f check for mkstemp
* configure.in: check for mkstemp

svn path=/trunk/; revision=2374
2000-04-10 18:44:08 +00:00
f85c096a2c Fix a bug introduced in the gnome-pilot-config to "gnome-config gpilot"
* gnome-pilot.m4 (PILOT_LIBS): Fix a bug introduced in the
	gnome-pilot-config to "gnome-config gpilot" change that caused not
	having pilot-link installed to become a fatal error.

svn path=/trunk/; revision=2366
2000-04-10 18:21:11 +00:00
4d2972e69f Clarify what provider.protocol, provider.name, and provider.description
* camel-provider.h: Clarify what provider.protocol, provider.name,
	and provider.description should be.

	* providers/mbox/camel-mbox-provider.c:
	* providers/pop3/camel-pop3-provider.c:
	* providers/sendmail/camel-sendmail-provider.c:
	* providers/smtp/camel-smtp-provider.c: update protocols, names,
	and descriptions

svn path=/trunk/; revision=2365
2000-04-10 18:01:45 +00:00
fb1e084229 moved srcdir directories to the top so we search headers in the evolution
2000-04-10  Damon Chaplin  <damon@helixcode.com>

        * gui/Makefile.am (INCLUDES): moved srcdir directories to the top so
        we search headers in the evolution tree before installed headers.
        (Otherwise when you do 'make install' lots of files in gui/ get
        rebuilt, since they depend on the installed cal-client.h which has just
        been updated.)

svn path=/trunk/; revision=2364
2000-04-10 17:49:01 +00:00
8eff2b58a4 added AC_PROG_MAKE_SET.
2000-04-10  Damon Chaplin  <damon@helixcode.com>

        * configure.in: added AC_PROG_MAKE_SET.

svn path=/trunk/; revision=2363
2000-04-10 17:46:51 +00:00
76690c5415 removed libical stuff since it has its own configure.in.
2000-04-10  Damon Chaplin  <damon@helixcode.com>

        * configure.in (AC_OUTPUT): removed libical stuff since it has its
        own configure.in.

svn path=/trunk/; revision=2362
2000-04-10 17:46:18 +00:00
e90765d2f6 Add some #includes for the non-HAVE_MKSTEMP case
* mail-ops.c: Add some #includes for the non-HAVE_MKSTEMP case

svn path=/trunk/; revision=2361
2000-04-10 15:49:55 +00:00
99700ad43d Fixed a bug where I was sending the wrong information to some callbacks.
2000-04-10  Christopher James Lahey  <clahey@helixcode.com>

	* addressbook/backend/ebook/e-book-view.c: Fixed a bug where I was
	sending the wrong information to some callbacks.

	* addressbook/backend/ebook/e-card.c,
	addressbook/backend/ebook/e-card.h: Added an e_card_duplicate
	function.  Made ids get stored in vcards.  Made sure to delete the
	url if it exists.

	* addressbook/backend/pas/Makefile.am: Made pas include
	addressbook/backend/ebook/ in the search path.

	* addressbook/backend/pas/pas-backend-file.c: Fixed some bugs and
	made the create card function store the generated id in the card
	being saved.

	* addressbook/backend/pas/pas-book-view.c: Fixed a double free
	bug.

	* addressbook/contact-editor/e-contact-editor.c: Fixed some bugs.
	Made the contact editor actually return a valid card when
	gtk_object_get(editor, "card", ...) is called.

	* addressbook/contact-editor/e-contact-editor.h: Fixed a copy and
	paste error.

	* addressbook/gui/component/addressbook.c: Made this get the card
	properly.

	* addressbook/gui/minicard/Makefile.am: Made this include
	contact-editor directory in the search path and link against
	libecontacteditor so that double clicking can open a dialog.

	* addressbook/gui/minicard/e-minicard.c: Fixed some small bugs.
	Made double clicking open a contact editor dialog if this minicard
	is contained in a minicard view.  (It needs the minicard view to
	get the EBook to save to.

	* wombat/Makefile.am: Link wombat against libebook, since
	pas-backend-file now uses ECard.

svn path=/trunk/; revision=2360
2000-04-10 15:46:25 +00:00
c4f6086c29 use camel_movemail when fetching mail from an mbox store. This leaves
* mail-ops.c (fetch_mail): use camel_movemail when fetching mail
	from an mbox store. This leaves behind temp files for now,
	because CamelMboxFolder::delete is too confused to use, and NotZed
	is rewriting CamelMboxFolder, so I'm not going to bother to try to
	fix it.

svn path=/trunk/; revision=2359
2000-04-10 14:39:15 +00:00
7d8c98fb7d implement get_message_by_number for the mail fetch code.
* providers/mbox/camel-mbox-folder.c (_get_message_by_number):
	implement get_message_by_number for the mail fetch code.

svn path=/trunk/; revision=2358
2000-04-10 14:27:22 +00:00
325ed84013 o Reformatted providers/smtp/camel-smtp-transport.c to fit the standard
Sun Apr  9 21:23:15 EDT 2000  Jeffrey Stedfast  <fejj@stampede.org>
  o Reformatted providers/smtp/camel-smtp-transport.c to fit the standard indent format used by helix code

svn path=/trunk/; revision=2357
2000-04-10 00:47:57 +00:00
fc87a9ba54 New file with new function to dot-lock an mbox file and copy it to a safe
* camel-movemail.c: New file with new function to dot-lock an mbox
	file and copy it to a safe private directory.

svn path=/trunk/; revision=2356
2000-04-09 22:47:42 +00:00
0260b93bff nat told me to do it
svn path=/trunk/; revision=2354
2000-04-09 20:23:39 +00:00
b9630445a0 + * addressbook/gui/component/addressbook.c (control_activate): Make
+	"New Contact" menuitem add a card with new_contact_cb().
+
+	* e-shell-view.c (e_shell_view_setup): Set the default height
+	bigger, to 600, so that everything in the shortcut-bar shows up.

svn path=/trunk/; revision=2353
2000-04-09 19:00:50 +00:00
9496367085 catch cal_loaded signal on the cal client. (gnome_calendar_load_cb):
* gui/gnome-cal.c (gnome_calendar_load): catch cal_loaded signal
        on the cal client.
        (gnome_calendar_load_cb): callback for cal_loaded signal.  moved
        gnome_calendar_update_all from gnome_calendar_load to here.

        * gui/calendar-commands.c: minor cleanups

        * pcs/cal-backend.c (save_to_vcal): copied code from gnome-pim
        to write vcal to a file
        (save): filled it with more gnome-pim code
        (add_object): call save () after changing
        (remove_object): same
        (cal_backend_create): same
        (cal_backend_remove_object): same

svn path=/trunk/; revision=2352
2000-04-09 18:46:25 +00:00
99612fe24c + * addressbook/Makefile.am: Compile contact-editor, _then_ gui,
+	since the gui now depends on the contact editor (shouldn't the
+	contact-editor directory be moved into 'gui'?).
+
+	* addressbook/gui/component/addressbook.c (card_added_cb): New
+	function. Gets called when a card is successfully added via the
+	contact-editor.
+	(new_contact_cb): New function. Gets called when a user clicks the
+	"new contact" button on the toolbar, and creates a contact-editor
+	to edit a new contact entry.
+	(control_activate): Call gnome_app_fill_toolbar_with_data()
+	instead of gnome_app_fill_toolbar(), so that our toolbar can find
+	the right book to add a new card to.
+	(addressbook_factory): On an "activate" signal, send the book up
+	to control_activate_cb.
+
+	* addressbook/gui/component/addressbook-factory.c (init_bonobo):
+	Call glade_gnome_init(), so that our contact-editor (which
+	requires glade) doesn't barf.
+
+	* addressbook/gui/component/Makefile.am: added the contact-editor
+	to our libraries and include files.
+
+	* addressbook/contact-editor/e-contact-editor.c
+	(e_contact_editor_new): Set "card" gtk property to the passed-in
+	card property.

svn path=/trunk/; revision=2351
2000-04-09 18:33:50 +00:00
01bf08bdbc + * addressbook/gui/component/addressbook.c (addressbook_factory):
+	Added gtk_widget_push/pop_colormap/visual, which I assume is
+	necessary for canvas use.
+
+	* folder-browser.c (folder_browser_new): set folder_browser->uri
+	to NULL, so that we know when to free it.
+
+	* e-table-col.c (e_table_col_new_with_pixbuf): ref etc->ecell,
+	like in e_table_col_new, since that same ECell is unref'd in
+	etc_destroy().
+

svn path=/trunk/; revision=2350
2000-04-09 06:47:20 +00:00
75513364f1 Made the contact editor load from an ECard.
2000-04-08  Christopher James Lahey  <clahey@helixcode.com>

	* addressbook/contact-editor/Makefile.am,
	addressbook/contact-editor/e-contact-editor.c,
	addressbook/contact-editor/e-contact-editor.h,
	addressbook/contact-editor/test-editor.c: Made the contact editor
	load from an ECard.

	* addressbook/backend/ebook/e-card.c,
	addressbook/backend/ebook/e-card.h,
	addressbook/gui/minicard/e-minicard.c: Added support for the URL
	field.

svn path=/trunk/; revision=2349
2000-04-09 03:04:47 +00:00
2baf1a7083 Fixed a small typo.
2000-04-08  Christopher James Lahey  <clahey@helixcode.com>

	* addressbook/backend/ebook/e-card.c (e_card_get_vcard): Fixed a
	small typo.

svn path=/trunk/; revision=2347
2000-04-09 01:38:38 +00:00
742e8fab22 Separated some functions into an xml bit and a generic bit.
2000-04-08  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c: Separated some functions into an xml bit and a
	generic bit.

svn path=/trunk/; revision=2346
2000-04-09 01:37:37 +00:00
9f78bda87d pixmap_DATA should have been images_DATA (after pixmapdir was renamed to
* art/Makefile.am: pixmap_DATA should have been images_DATA (after
	pixmapdir was renamed to imagesdir)

svn path=/trunk/; revision=2345
2000-04-09 00:44:21 +00:00
a09c52cdf9 CVS move mistake. Fixed the correct changes in the correct places.
2000-04-08  Christopher James Lahey  <clahey@helixcode.com>

	* addressbook/gui/minicard/.cvsignore,
	addressbook/gui/minicard/Makefile.am,
	addressbook/gui/minicard/e-minicard-view.c,
	addressbook/gui/minicard/e-minicard-view.h,
	addressbook/gui/minicard/e-minicard.c,
	addressbook/gui/minicard/e-minicard.h,
	addressbook/gui/minicard/e-reflow-sorted.c,
	addressbook/gui/minicard/e-reflow-sorted.h,
	addressbook/gui/minicard/e-reflow.c,
	addressbook/gui/minicard/e-reflow.h,
	addressbook/gui/minicard/test-minicard-view.c,
	addressbook/gui/minicard/test-reflow.c,
	widgets/e-minicard/.cvsignore, widgets/e-minicard/Makefile.am,
	widgets/e-minicard/e-minicard-label.c,
	widgets/e-minicard/e-minicard-label.h,
	widgets/e-minicard/e-minicard-view.c,
	widgets/e-minicard/e-minicard-view.h,
	widgets/e-minicard/e-minicard.c, widgets/e-minicard/e-minicard.h,
	widgets/e-minicard/e-reflow-sorted.c,
	widgets/e-minicard/e-reflow-sorted.h,
	widgets/e-minicard/e-reflow.c, widgets/e-minicard/e-reflow.h,
	widgets/e-minicard/test-minicard-label.c,
	widgets/e-minicard/test-minicard-view.c,
	widgets/e-minicard/test-minicard.c,
	widgets/e-minicard/test-reflow.c: CVS move mistake.  Fixed the
	correct changes in the correct places.

svn path=/trunk/; revision=2344
2000-04-08 22:18:26 +00:00
58e7df4e03 pixmap_DATA isn't defined so don't use it as a variable.
2000-04-08  Christopher James Lahey  <clahey@helixcode.com>

	* art/Makefile.am: pixmap_DATA isn't defined so don't use it as a variable.

	* addressbook/gui/component/,
	addressbook/gui/component/.cvsignore, addressbook/gui/Makefile.am,
	addressbook/gui/component/addressbook-factory.c,
	addressbook/gui/component/addressbook.c,
	addressbook/gui/component/addressbook.gnorba,
	addressbook/gui/component/addressbook.h: New directory to proivde
	the component for contact management.  Simply uses an e-minicard-view.

	* addressbook/gui/minicard/e-minicard-view.c,
	addressbook/gui/minicard/e-minicard-view.h: New subclass of
	e-reflow-sorted that takes an EBook and uses it to compute the
	card data to display.

	* addressbook/gui/minicard/e-minicard.c,
	addressbook/gui/minicard/e-minicard.h: This now backends to a
	ECard instead of a ETableModel.

	* addressbook/gui/minicard/e-reflow.c,
	addressbook/gui/minicard/e-reflow.h: This now has a virtualized
	add method.

	* addressbook/gui/minicard/e-reflow-sorted.c,
	addressbook/gui/minicard/e-reflow-sorted.h: New subclass of
	e-reflow that allows the data to be sorted on the fly.

	* addressbook/gui/minicard/test-minicard-view.c: New test to test
	the new minicard view.

	* addressbook/gui/minicard/test-reflow.c: Uses the new ECard
	backend of the e-minicard.

	* addressbook/gui/minicard/.cvsignore,
	addressbook/gui/minicard/Makefile.am: Added new test.  Fixed
	dependencies.  Added new files.

	* addressbook/gui/, addressbook/gui/Makefile.am,
	addressbook/gui/.cvsignore: New directory for addressbook gui
	bits.  Added subdirectories.  Created an initial .cvsignore.

	* addressbook/Makefile.am (SUBDIRS): Removed demo and added gui.

	* addressbook/backend/pas/pas-backend-file.c: Added code to do
	notification on bookviews when changes in the backend are made.

	* addressbook/backend/pas/pas-book-view.c,
	addressbook/backend/pas/pas-book-view.h: Added helper functions to
	notify the view about the addition or modification of a single
	card.  Fixed a mistaken extra free.

	* addressbook/backend/ebook/e-card-list-iterator.h: Fixed
	incorrect parent class.

	* addressbook/backend/ebook/test-client.c: Made this accept an
	optional parameter that specifies the vcard to add.

	* configure.in: Replaced widgets/e-minicard/Makefile and
	addressbook/demo/Makefile with addressbook/gui/minicard/Makefile
	and addressbook/gui/component/Makefile respectively.

	* widgets/Makefile.am: Removed e-minicard since it's being moved
	to addressbook/gui/minicard.

	* widgets/e-text/e-text.c: Fixed the border width around tooltips
	and made the main tooltip area yellow.

From camel/ChangeLog:

2000-04-08  Christopher James Lahey  <clahey@helixcode.com>

	* providers/smtp/.cvsignore: Added a .cvsignore file.

From calendar/ChangeLog:

2000-04-08  Christopher James Lahey  <clahey@helixcode.com>

	* gui/Makefile.am: Removed linking with libetable and libeminicard
	since they weren't being used.

svn path=/trunk/; revision=2343
2000-04-08 22:10:47 +00:00
6beb74f535 actually record the pid returned by fork(). Noticed by clahey.
* providers/sendmail/camel-sendmail-transport.c (_send_internal):
	actually record the pid returned by fork(). Noticed by clahey.

svn path=/trunk/; revision=2342
2000-04-08 21:53:24 +00:00
15fa20706d #include <sys/param.h> for MAXHOSTNAMELEN. (This is a stopgap: some of the
* providers/smtp/camel-smtp-transport.c: #include <sys/param.h>
	for MAXHOSTNAMELEN. (This is a stopgap: some of the uses of
	MAXHOSTNAMELEN are wrong anyway...)

svn path=/trunk/; revision=2340
2000-04-08 20:32:01 +00:00
181e276c46 new function: friendly wrapper for cal_client_create_calendar
* gui/gnome-cal.c (gnome_calendar_create): new function:
        friendly wrapper for cal_client_create_calendar

        * gui/calendar-commands.c (new_calendar): call gnome_calendar_create
        if no filename is provided

        * gui/prop.c (properties): calendar is a frame

        * gui/calendar-commands.c (calendar_control_activate): sort out the
        menus a bit, more of them show up now.

        * gui/Makefile.am: don't build library or test, just the bonobo control

        * gui/gncal-todo.c (simple_todo_editor): calendar is a frame instead
        of a window, now.

        * gui/gnome-cal.c (gnome_calendar_new): same

        * gui/goto.c (goto_dialog): same

svn path=/trunk/; revision=2339
2000-04-08 20:21:31 +00:00
4c1b64ea55 add SYSTEM_MAIL_DIR
* configure.in, acconfig.h: add SYSTEM_MAIL_DIR

svn path=/trunk/; revision=2338
2000-04-08 18:35:20 +00:00
bf8ac9cd55 calendar is a frame instead of a window, now.
* gui/gncal-todo.c (simple_todo_editor): calendar is a frame instead
        of a window, now.

        * gui/gnome-cal.c (gnome_calendar_new): same

        * gui/goto.c (goto_dialog): same

svn path=/trunk/; revision=2337
2000-04-08 15:39:04 +00:00
a16423ef8a Added Galician translation
svn path=/trunk/; revision=2336
2000-04-08 11:59:51 +00:00
e41189606e Add more beautiful art from Miggue, the Diego Rivera of the next
2000-04-07  Miguel de Icaza  <miguel@gnu.org>

	* message-list.c (states_pixmaps): Add more beautiful art from
	Miggue, the Diego Rivera of the next millenium.
	(message_list_init_header): Use the beautiful art.

	* pixmaps: Miguel rediscovers the "transparent" concept.

svn path=/trunk/; revision=2335
2000-04-07 21:58:59 +00:00
59a741e630 o Modified configure.in to create camel/providers/smtp/Makefile
Fri Apr  7 16:56:09 EDT 2000  Jeffrey Stedfast  <fejj@stampede.org>
  o Modified configure.in to create camel/providers/smtp/Makefile

CVS

svn path=/trunk/; revision=2334
2000-04-07 21:46:04 +00:00
59606c2849 + * folder-browser.c (folder_browser_destroy): Unref the shell
+	interface that we have a handle to.
+
+	* folder-browser-factory.c (control_destroy_cb): New function;
+	destroys a folder-browser when its control is destroyed.
+	(folder_browser_factory): Hook up to the above.
+
+	* e-shell-view.c (destroy_folder_view): New function;
+	Bonobo_Unknown_unref's the controls that have the views in them.
+	(esv_destroy): Calls the above for each folder_view in the
+	hashtable.
+	(get_view): unref the ServiceRepository interface of the control
+	when we're done with it.
+

svn path=/trunk/; revision=2333
2000-04-07 21:42:56 +00:00
c893285da7 o fixed numerous bugs in providers/smtp/camel-smtp-transport.c; should now
Fri Apr  7 16:49:42 EDT 2000  Jeffrey Stedfast <fejj@stampede.org>
  o fixed numerous bugs in providers/smtp/camel-smtp-transport.c; should now build correctly
  o readded smtp to providers/Makefile.am

CVS

svn path=/trunk/; revision=2332
2000-04-07 21:40:56 +00:00
1fc95ea1f5 (pop3_connect): Remember the password after asking for it the
first time.

svn path=/trunk/; revision=2331
2000-04-07 20:41:01 +00:00
2b55a1e90c new file, for toolbar/menu callbacks (fetch_mail): fetch mail. Doesn't do
* mail-ops.c: new file, for toolbar/menu callbacks
	(fetch_mail): fetch mail. Doesn't do mbox locking. Many kludges.

	* folder-browser-factory.c (control_activate): use new fetch_mail
	function as the callback for the "New mail" icon. Rename check_cb
	to random_cb.

	* Makefile.am: don't build test-sources since the version in
	CVS doesn't do much and once I've fixed it it won't be a separate
	program. Add mail-ops.[ch].

svn path=/trunk/; revision=2330
2000-04-07 20:07:32 +00:00
5f93b83040 Clarify error messages. (finalize): fix a bug in camel_exception usage
* providers/pop3/camel-pop3-store.c (pop3_connect): Clarify error
	messages.
	(finalize): fix a bug in camel_exception usage

svn path=/trunk/; revision=2329
2000-04-07 19:26:50 +00:00
7806215bdc Made text tooltips appear in place. Iain figured out that to get them to
2000-04-07  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Made text tooltips appear in place.
	Iain figured out that to get them to not appear, we hide the
	tooltip when the mouse leaves the tooltip window, not the canvas
	item (this works because the tooltip window always covers the
	canvas item completely.)

svn path=/trunk/; revision=2328
2000-04-07 19:12:56 +00:00
2eff9b0bd9 + * addressbook/demo/addressbook.c (control_activate_cb): New
+	function. Called when the control is (de)activated.
+	(control_activate): New function; called when the control is
+	activated, and sets up toolbar/menu times.
+	(control_deactivate): New function; removes those toolbar/menu
+	items.
+	(do_nothing_cb): Does nothing :-)
+	(addressbook_factory): Hook up to control_activate_cb().

svn path=/trunk/; revision=2327
2000-04-07 18:15:29 +00:00
0dfe829408 Removed smtp for now, its a long way from building. Removed file that
2000-04-07  NotZed  <NotZed@HelixCode.com>

        * providers/Makefile.am: Removed smtp for now, its a long way from
        building.
        * providers/smtp/Makefile.in: Removed file that shouldn't have been
        checked in.

svn path=/trunk/; revision=2324
2000-04-07 15:22:35 +00:00
bd4af83517 Updated Ukrainian translation
svn path=/trunk/; revision=2323
2000-04-07 15:03:39 +00:00
1c17727799 o Added smtp_helo() request into smtp_connect() (forgott o do this before)
Fri Apr  7 08:01:43 EDT 2000  Jeffrey Stedfast <fejj@stampede.org>
  o Added smtp_helo() request into smtp_connect() (forgott o do this before)
  o Modified smtp_helo() to send EHLO if communicating with an ESMTP server

svn path=/trunk/; revision=2322
2000-04-07 12:51:50 +00:00
1d4dad08a2 wombat is built someplace else now
svn path=/trunk/; revision=2321
2000-04-07 07:59:25 +00:00
e3861a27be correctly (well, untested) implement. (view_destroy): new function.
* addressbook/backend/pas/pas-backend-file.c
	(pas_backend_file_process_get_book_view): correctly (well,
	untested) implement.
	(view_destroy): new function.

svn path=/trunk/; revision=2320
2000-04-07 07:56:38 +00:00
234e168fdc fix Makefile.am
svn path=/trunk/; revision=2319
2000-04-07 05:45:32 +00:00
181481083a i always forget to commit the ChangeLog. Dain Bramage
svn path=/trunk/; revision=2318
2000-04-07 04:24:58 +00:00
a032d78dae o Added smtp/ to providers tree under camel o Added makefiles and source
Thu Apr  6 22:56:44 EDT 2000  Jeffrey Stedfast <fejj@stampede.org>
  o Added smtp/ to providers tree under camel
  o Added makefiles and source for an smtp module (untested as of yet)

svn path=/trunk/; revision=2317
2000-04-07 03:49:48 +00:00
0bdfacc11b + * camel-folder-pt-proxy.c (_get_full_name): Remove exception param
+	from get_full_name() called, since get_full_name() was changed to
+	not have an exception in the last param (see dan's notes below).
+	(_get_name): same.

svn path=/trunk/; revision=2316
2000-04-06 22:26:02 +00:00