Commit Graph

2796 Commits

Author SHA1 Message Date
abdfcfcfe2 updated the crlf filter:
encoder: allocate more memory (3 * len instead of 2 * len)

decoder: prevent p from pointing beyond the end of the buffer

svn path=/trunk/; revision=3561
2000-06-14 05:10:57 +00:00
477a592e59 Took out the filter code ( we already filter in
* providers/pop3/camel-pop3-folder.c (get_message_by_uid): Took out the
	filter code ( we already filter in camel_pop3_command_get_additional_data)

svn path=/trunk/; revision=3560
2000-06-14 05:10:56 +00:00
e4b07cd9d1 Updated: a separator is now a char* rather than a single char because IMAP
2000-06-14  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-folder.c (init): Updated: a separator is now a char* rather than
	a single char because IMAP can have a string for a directory separator.
	Also, since IMAP does not begin with a directory separator, there is a new
	argument (path_begins_with_sep) which decides if a directory should begin
	with a directory separator.

	* providers/imap/camel-imap-store.c (imap_create): Since, on connect,
	Camel tries to create INBOX (which already exists on every IMAP provider)
	we can return TRUE when the folder name is "INBOX".

	* providers/vee/camel-vee-folder.c (vee_init): Updated.

	* providers/imap/camel-imap-folder.c (camel_imap_folder_new): Updated.

	* providers/mbox/camel-mbox-store.c (get_folder): Updated.

	* providers/mbox/camel-mbox-folder.c (mbox_init): Updated.

	* providers/pop3/camel-pop3-folder.c (camel_pop3_folder_new): Updated.

svn path=/trunk/; revision=3559
2000-06-14 05:10:55 +00:00
9f197c605b Renamed from camel_mbox_summary_expunge. Takes a gboolean saying whether
* providers/mbox/camel-mbox-summary.c (camel_mbox_summary_sync):
	Renamed from camel_mbox_summary_expunge. Takes a gboolean saying
	whether to expunge or just sync the mbox file. Change some
	g_errors to g_warning so we don't abort. Make the quick
	X-Evolution updating code lseek around correctly. Update the
	mbox mtime in the summary file even in the quick case.

	* providers/mbox/camel-mbox-summary.h: make
	CAMEL_MESSAGE_FOLDER_NOXEV not conflict with
	CAMEL_MESSAGE_FOLDER_FLAGGED defined in camel-mime-message.h

	* providers/mbox/camel-mbox-folder.c (mbox_close): call
	camel_mbox_summary_sync to save flag state if not expunging.
	(mbox_expunge): Update for camel_mbox_summary_expunge rename.

svn path=/trunk/; revision=3558
2000-06-14 05:10:54 +00:00
a18691c17e IMAP will now allow you to login, and on some IMAP providers it will actually allow you to get mail - however there are some things that might need to be rewritten in Camel to allow all IMAP providers to work
right now, it wants to open /INBOX which isn't always the same as INBOX
Camel won't seem to allow me to just have it open "INBOX" if I specify '/' as the separator
*sigh*

svn path=/trunk/; revision=3557
2000-06-14 05:10:53 +00:00
73358f50a1 finish switch back to vcal
svn path=/trunk/; revision=3556
2000-06-14 04:19:29 +00:00
a304d83907 switch back to vcal for debugging
svn path=/trunk/; revision=3555
2000-06-14 03:55:31 +00:00
9a70480434 fixed it so that source always pointed to a value
svn path=/trunk/; revision=3554
2000-06-14 03:22:14 +00:00
eaa86c334a New macro. Checks whether Bonobo uses OAF and defines `BONOBO_USES_OAF' if
2000-06-13  Martin Baulig  <baulig@suse.de>

	* gnome-bonobo-check.am (AM_BONOBO_USES_OAF): New macro.
	Checks whether Bonobo uses OAF and defines `BONOBO_USES_OAF'
	if appropriate. Also provides `BONOBO_USES_OAF' automake
	conditional.

svn path=/trunk/; revision=3553
2000-06-13 15:09:48 +00:00
6b9eb3dbe7 Clip the contained text.
2000-06-13  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c: Clip the contained text.

	* e-table-group-container.c: Did a first pass at grouped
	printing.  This works, but there's no fancy boxes or headers
	around the groups.

	* e-table-item.c: Added will_fit function and added quantize
	function to _height.

svn path=/trunk/; revision=3552
2000-06-13 14:39:13 +00:00
c9bdd525e4 Changed the needed e_marshal functions.
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
2000-06-13 14:37:28 +00:00
799153001f put back the libxml check that was erroneously removed in rev 1.94
svn path=/trunk/; revision=3550
2000-06-13 14:31:02 +00:00
0b37692c53 Added gnome-gettext.m4'. (gnome_aclocal_DATA): Added gnome-gettext.m4'.
2000-06-13  Martin Baulig  <baulig@suse.de>

	* Makefile.am (EXTRA_DIST): Added `gnome-gettext.m4'.
	(gnome_aclocal_DATA): Added `gnome-gettext.m4'.

svn path=/trunk/; revision=3549
2000-06-13 10:28:37 +00:00
add5576d31 Updated russian translation.
svn path=/trunk/; revision=3548
2000-06-13 08:10:29 +00:00
e7deedccda Added the array of objects and the hash table of UID->array index.
2000-06-13  Federico Mena Quintero  <federico@helixcode.com>

	* gui/calendar-model.c (CalendarModelPrivate): Added the array of
	objects and the hash table of UID->array index.
	(calendar_model_row_count): Return the length directly from the
	array instead of asking the Wombat.
	(calendar_model_value_at): Implemented.
	(calendar_model_new): Create an empty model.  We provide a new
	setter function now.
	(calendar_model_construct): Removed function.
	(calendar_model_set_cal_client): New function to set the calendar
	client and object type at any time.  This lets us reuse a calendar
	model object.

	* cal-util/calobj.h (iCalObjectField): Just report whether the
	object has alarms; not every single alarm.

svn path=/trunk/; revision=3547
2000-06-13 07:38:47 +00:00
7ba831860d Build a libeshell.a' library in shell/' so that we don't need to
link to the shell's object files directly from the components
anymore.  (That was really gross.)

svn path=/trunk/; revision=3546
2000-06-13 04:53:48 +00:00
cc240fcffe Got rid of sources_max_row and identities_max_row as they are not really
2000-06-12  Jeffrey Stedfast  <fejj@helixcode.com>

	* mail-config.c: Got rid of sources_max_row and identities_max_row
	as they are not really needed (just use clist->rows)
	(on_cmdSourcesEdit_clicked): Modified to make 'source'
	point to the data being edited.
	(on_cmdSourcesAdd_clicked): Adds a new clist item and selects it so the
	editor knows where to stick the data when it's done.

svn path=/trunk/; revision=3545
2000-06-13 01:54:29 +00:00
9de25e88aa Removed the freeze/thaw stuff for the model. As Chris wisely pointed out,
2000-06-12  Federico Mena Quintero  <federico@helixcode.com>

	* e-table-model.[ch]: Removed the freeze/thaw stuff for the model.
	As Chris wisely pointed out, having freeze/thaw on the model makes
	its state inconsistent from the perspective of the views.

	* e-table-sorted-variable.c: Do not check for a frozen model.
	* e-table-subset.c: Likewise.
	* e-table-subset-variable.c: Likewise.

	* e-table-example-1.c: Removed the ETableModel thaw handler.
	* e-table-example-2.c: Likewise.
	* e-table-simple.c: Likewise.
	* e-table-size-test.c: Likewise.
	* test-check.c: Likewise.
	* test-cols.c: Likewise.
	* test-table.c: Likewise.

svn path=/trunk/; revision=3543
2000-06-13 00:41:47 +00:00
40adaa82b3 Removed the ETableModel thaw handler.
2000-06-12  Federico Mena Quintero  <federico@helixcode.com>

	* message-list.c: Removed the ETableModel thaw handler.

svn path=/trunk/; revision=3542
2000-06-13 00:40:38 +00:00
e329fdd35e Removed the ETableModel thaw handler. Likewise.
2000-06-12  Federico Mena Quintero  <federico@helixcode.com>

	* contact-editor/e-contact-editor-categories.c: Removed the
	ETableModel thaw handler.
	* gui/component/e-cardlist-model.c: Likewise.

svn path=/trunk/; revision=3541
2000-06-13 00:40:11 +00:00
c0748cf4f1 implemented a temp hack for the imap fetch by uid code
(works something like the POP code, should be fixed to work like we originally planned)

svn path=/trunk/; revision=3540
2000-06-13 00:27:30 +00:00
6c12613258 Control does horizontal scrolling...
svn path=/trunk/; revision=3539
2000-06-12 23:33:27 +00:00
ee7f4d32f9 pop provider now uses the crlf filter
svn path=/trunk/; revision=3538
2000-06-12 23:20:16 +00:00
9d229d236a Removed the camel-mime-filter-smtp.h entry from Makefile.am - oops!
svn path=/trunk/; revision=3537
2000-06-12 22:34:28 +00:00
d6291ddc1f Deprecated.
2000-06-12  Jeffrey Stedfast  <fejj@helixcode.com>

	* camel-mime-filter-smtp.c: Deprecated.

	* providers/smtp/camel-smtp-transport.c (smtp_data): Updated to use
	camel-mime-filter-crlf with my 'dot' extension in place of
	camel-mime-filter-smtp

	* camel-mime-part.c (write_to_stream): Updated to reflect changes
	made to camel-mime-filter-crlf.c

	* camel-mime-filter-crlf.c (filter): Modified to be able to
	encode/decode dots ("\n.\n"<->"\n..\n"). Also fixed the decoder
	so that it should no longer get caught in an infinite loop.

svn path=/trunk/; revision=3536
2000-06-12 22:32:54 +00:00
94eda6b11d don't pass a second (incorrect) -rpath in addition to the (correct) one
* providers/*/Makefile.am: don't pass a second (incorrect) -rpath
	in addition to the (correct) one automatically provided by
	automake.

svn path=/trunk/; revision=3535
2000-06-12 20:59:32 +00:00
3fbf507949 If a paragraph starts with TABs, indent the whole paragraph to that tab
* e-msg-composer.c (format_text): If a paragraph starts with TABs,
	indent the whole paragraph to that tab level.

svn path=/trunk/; revision=3534
2000-06-12 20:40:16 +00:00
c845d685bb Make the message composer use a EScrollFrame for the attachment bar
and make the quit message I18N aware.

svn path=/trunk/; revision=3533
2000-06-12 20:29:39 +00:00
860fb187ff Return the result of folder_browser_load_folder. (get_prop, set_prop,
* folder-browser.c (folder_browser_set_uri): Return the result of
	folder_browser_load_folder.
	(get_prop, set_prop, folder_browser_properties_init): Remove. No
	longer needed.

	* folder-browser-factory.c (folder_browser_factory_new_control):
	Add a "uri" argument, return NULL if setting it fails.
	(folder_browser_factory_new_control): Remove property bag stuff.
	(folder_browser_factory_init, folder_browser_factory): Remove
	this, since we're using the component factory now.

	* component-factory.c (create_view): Update for
	folder_browser_factory_new_control change and return NOTFOUND as
	appropriate.

	* main.c (main): Don't call folder_browser_factory_init.

svn path=/trunk/; revision=3532
2000-06-12 19:29:17 +00:00
0931d27d61 Fix the subject generation so we don't get "Re: Re:". This is working
* mail-format.c (mail_generate_reply): Fix the subject generation
	so we don't get "Re:  Re:". This is working around something that
	may later be declared a misfeature in Camel.

svn path=/trunk/; revision=3531
2000-06-12 18:55:20 +00:00
870e780ce2 Don't break on non-breaking spaces, don't keep non-breaking spaces that
* e-msg-composer.c (format_text): Don't break on non-breaking
	spaces, don't keep non-breaking spaces that fall after a line
	wrap, and translate non-breaking spaces to regular ones after
	wrapping.

svn path=/trunk/; revision=3530
2000-06-12 18:41:59 +00:00
9573b501a8 New filter to do CRLF<->LF conversion. (Currently only tested in the
* camel-mime-filter-crlf.c: New filter to do CRLF<->LF conversion.
	(Currently only tested in the LF->CRLF direction.)

	* camel-mime-part.c (write_to_stream): if content-type is text,
	and it's QP or B64 encoded, pass through the CRLF filter before
	the other filter to satisfy the "canonical encoding" rules in the
	MIME spec.

svn path=/trunk/; revision=3529
2000-06-12 16:49:59 +00:00
038f94bb30 include gnome-dialog.h (PARENT_TYPE): GNOME_TYPE_DIALOG replaced with
2000-06-12  Michael Meeks  <michael@helixcode.com>

	* e-shell-folder-selection-dialog.c: include gnome-dialog.h
	(PARENT_TYPE): GNOME_TYPE_DIALOG replaced with gnome_dialog_get_type.

svn path=/trunk/; revision=3528
2000-06-12 15:34:17 +00:00
0889a3a50e Fix a build problem (e-table now depends on the `misc' widgets, so we
need to build the `misc' directory first) and install a `.desktop'
file and an icon file.  (For now, the icon file is a copy of
`evolution-inbox.png'.)

svn path=/trunk/; revision=3527
2000-06-12 00:41:06 +00:00
c6b6c24c8c Add support for mouse wheel scrolling in EScrollFrame.
2000-06-11  Anders Carlsson  <andersca@gnu.org>

	* e-scroll-frame.c (e_scroll_frame_button_press): Add support
	for mouse wheel scrolling in EScrollFrame.

svn path=/trunk/; revision=3526
2000-06-11 19:32:45 +00:00
7db458c0d7 Updated russian translation.
svn path=/trunk/; revision=3525
2000-06-11 14:59:02 +00:00
40edd6c9de ja.po: Update from Japanese GNOME Users Group(translation@gnome.gr.jp).
svn path=/trunk/; revision=3524
2000-06-11 12:37:42 +00:00
e196175c69 Updated the Turkish translation.
svn path=/trunk/; revision=3523
2000-06-11 10:17:49 +00:00
ab8f482b21 supply the pixbufs here.
2000-06-10  Chris Toshok  <toshok@helixcode.com>

	* e-tree-example-1.c (create_tree): supply the pixbufs here.

	* e-cell-tree.h: change pixbuf names to open_pixbuf/closed_pixbuf.

	* e-cell-tree.c (e_cell_tree_construct): take open/closed pixbuf
	parameters, and don't #include the .xpm files directly here.
	(e_cell_tree_new): same.
	(ect_draw): use the pixbufs from the ECellTree.

svn path=/trunk/; revision=3522
2000-06-11 05:07:13 +00:00
57067e5c76 Fixed the widget reparenting.
2000-06-11  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/e-select-names.c: Fixed the widget reparenting.

svn path=/trunk/; revision=3521
2000-06-11 04:57:47 +00:00
07707b81af offset events before passing them to our subcell view.
2000-06-10  Chris Toshok  <toshok@helixcode.com>

	* e-cell-tree.c (ect_event): offset events before passing them to
	our subcell view.

svn path=/trunk/; revision=3520
2000-06-11 04:44:27 +00:00
aac3f2c8b6 change things so we focus the cell and select the row, and also dispatch
2000-06-10  Chris Toshok  <toshok@helixcode.com>

	* e-table-item.c (eti_event): change things so we focus the cell
	and select the row, and also dispatch the event to that row/cell.
	This fixes the problem with the tree where you had to click twice
	to activate the tree controls.

	* Makefile.am (libetable_a_SOURCES): remove e-tree-gnode.* and add
	e-tree-simple.*
	(icons): add tree-expanded.xpm and tree-unexpanded.xpm

	* e-cell-tree.c (ect_enter_edit): defer to subcell's view.
	(ect_leave_edit): defer to subcell's view.
	(visible_depth_of_node): visual depth, taking into account that
	the root node of the model might not be displayed.
	(offset_of_node): return the offset used to shift the subcell
	over.
	(ect_draw): don't draw vertical lines if we're the leftmode node
	(a visual root node).  also, don't shift x2 by the subcell offset,
	so we get ellipses like we're supposed to.
	(ect_event): remove GDK_BUTTON_RELEASE from the list of events
	that we care about.

	* e-tree-example-1.c: lots of changes, a more dynamic UI so we can
	test tree model api stuff.

	* e-tree-gnode.c, e-tree-gnode.c: removed files, since their guts
	have been rolled into e-tree-model.c

	* e-tree-model.c, e-tree-model.h: substantially changed.  too much
	to really describe here.  this should really be considered the
	first revision of these files :)

	* e-tree-simple.c, e-tree-simple.h: analogous to e-table-simple, a
	subclass that allows the use of function pointers.

svn path=/trunk/; revision=3519
2000-06-11 04:20:56 +00:00
835ec00d01 Added glade files.
2000-06-11  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/Makefile.am: Added glade files.

	* gui/component/addressbook.c: Added a test of the Select Names
	functionality.

	* gui/component/e-addressbook-model.c: Made this class_init
	function a bit cleaner.

	* gui/component/e-select-names.c: Tested this and fixed some
	obvious errors.

	* gui/component/select-names.glade: The main window shouldn't be
	visible by default.

svn path=/trunk/; revision=3518
2000-06-11 04:12:28 +00:00
86e45230bd Small syntactic changes.
2000-06-11  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-model.c: Small syntactic changes.

	* e-table.c: Moved the table header into the scrolled view.

svn path=/trunk/; revision=3517
2000-06-11 04:08:59 +00:00
0d21b8caa7 Forgot ChangeLog for my latest commit.
svn path=/trunk/; revision=3516
2000-06-10 22:50:55 +00:00
695591dd93 Make ETable use EScrollFrame instead of GtkScrolledWindow.
svn path=/trunk/; revision=3515
2000-06-10 22:48:14 +00:00
8139fd12a7 Renamed a bunch of functions for better readability.
2000-06-10  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/e-cardlist-model.c: Renamed a bunch of functions
	for better readability.

	* gui/component/e-select-names.c, gui/component/e-select-names.h:
	This should be a working dialog now.

	* gui/component/select-names.glade: Changed the name & creation
	function of the ETable here.

svn path=/trunk/; revision=3514
2000-06-10 22:35:06 +00:00
d8756e6c59 Glade files for Select Names dialog.
2000-06-10  Christopher James Lahey  <clahey@helixcode.com>

	* gui/component/select-names.glade,
	gui/component/select-names.glade.h: Glade files for Select Names
	dialog.

svn path=/trunk/; revision=3513
2000-06-10 21:55:28 +00:00
9d775d14eb Do e_card_simple_sync and extract_info more often.
2000-06-10  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor.c: Do e_card_simple_sync and
	extract_info more often.

	* gui/component/addressbook.c: Added table printing code.

svn path=/trunk/; revision=3512
2000-06-10 21:17:12 +00:00
c57de49bb5 Added $(GNOME_PRINT_LIBS) to all of the LDADDs.
2000-06-10  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added $(GNOME_PRINT_LIBS) to all of the LDADDs.

	* e-cell-text.c: Added printing of text cells.

	* e-cell.c, e-cell.h: Added print and print_height methods.

	* e-table-field-chooser.glade: Added a minimum size.

	* e-table-group-container.c: Fixed a rectangle sizing bug.

	* e-table-group-leaf.c: Implemented get_printable.

	* e-table-group.c, e-table-group.h: Added a get_printable method
	to return an EPrintable.

	* e-table-item.c, e-table-item.h: Added a get_printable function
	to return an EPrintable.

	* e-table.c, e-table.h: Added a get_printable function to return
	an EPrintable.

svn path=/trunk/; revision=3511
2000-06-10 21:16:45 +00:00