aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Big cleanup of camel-stream-*, got rid of 3 classes, improved the interfaces,NotZed2000-04-2634-1923/+935
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and fixed at least one problem (end of stream never happening in certain cases). Things that can fail now have a way of saying they failed too. So much for taking ANZAC day off to get drunk! 2000-04-26 NotZed <NotZed@HelixCode.com> * camel-seekable-substream.c (stream_seek): Changed to have absolute seek semantics, not relative to the bounds. * camel-seekable-stream.c (reset): When we reset, seek to the start of the bound, if there is one. (stream_tell): Make tell virtual. * camel-stream-filter.c (do_available): Removed. * camel-stream-buffer.c: Remove leading _'s from static functions. (stream_read): Renamed from read(). Fancy that conflicting! (my boo!) Others too. * providers/pop3/camel-pop3-folder.c (get_message_by_number): Changed to stream_mem interface. * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): Fixed for streamfs interface changes, and implement a failure case. (_append_message): Changed for fs stream interface change. * camel-multipart.c (print_part): Iterate rahter than callback. I hate glists's interface (hence, move this to write_to_stream). (write_to_stream): Return an error (yuck, this is a royal PITA to do with the stream write interface). * camel-mime-message.c: Removed leading _ from static names. * camel-mime-part.h: construct_from_parser() now returns an error code. * camel-mime-part-utils.c (camel_mime_part_construct_content_from_parser): Changed to use a camel-data-wrapper instead of a camel-simple-data-wrapper (no change needed elsewhere?). (simple_data_wrapper_construct_from_parser): Fixes for stream-mem interface changes. * camel-simple-data-wrapper.[ch], camel-simple-data-wrapper-stream.[ch], camel-stream-data-wrapper.[ch], removed. Fixed including of these files. * camel-mime-part.c (camel_mime_part_set_text): Remove the use of the camel-simple-data-wrapper-stream, just use a mem stream. (write_to_stream): Renamed from my_* (construct_from_stream): Return an error on error. * camel-stream-mem.c (camel_stream_mem_new*): Remove mode parameter. * camel-stream-mem.h (enum CamelStreamMemMode): Removed. It wasn't used at all. * camel-data-wrapper.h: Add camel_data_wrapper_new() to create these. (write_to_stream, construct_from_stream): Return an error indicator for success. Fixed all methods to match (ICK). * Makefile.am (libcamel_la_SOURCES): Remove camel-simple-data-wrapper.c, camel-simple-data-wrapper-stream.c, camel-stream-data-wrapper.c. Obsoleted by code re-use! * camel-data-wrapper.c (construct_from_stream): Change the default implementation to just set the output stream == construction stream. Well, this lets me get rid of both simple-data-wrapper and stream-data-wrapper (unused anyway), and simple-data-wrapper-stream in one hit. CamelDataWrapper is now also a concrete class. (write_to_stream): Use camel_stream_write_to_stream() to calculate/return values (and save code). Include <errno.h> for obvious reasons. * camel-stream.c (eos): Provide a default implementation of .eos(). (camel_stream_write_to_stream): Make it return an error code on error. (camel_stream_printf): Changed to return the number of bytes written/error. (camel_stream_available): Removed. * camel-stream-fs.h (enum CamelStreamFsMode): Removed. Changed to use unix modes and so forth (wasn't used for anything but new file creation and didn't work well either). * camel-stream-fs.c: Removed leading _'s for names. And removed some virtual method 'documentation'. (destroy): Dont try and close a closed/error fd. Only report error if close returns -1. Moved all the code to finalise(), and killed this function. (init_with_fd): Properly setup the seek offset, if it is a valid and seekable file descriptor. (init_with_fd_and_bounds): Use off_t for bounds, set bounds on the seekable stream. (init_with_name): Return error codes. (init_with_name_and_bounds): Ditto. (camel_stream_fs_new_with_name): REturn NULL object if it failed. (camel_stream_fs_new_with_name_and_bounds): Return NULL object on failure. Changed with_name* api's to take unix open style args and flags. (read): The bounded stream bounds checking seemed off, simplified code a bit. (write): Implement bounds checking for writing, the comment was wrong, it could make sense to bound writing. Cleaned up a little. (available): Gone. (eos): Removed. Use CamelStream's implementation now. (close): Reset the fd to -1, provide a warning for bad usage. (seek): Cleaned up. Changed the behaviour a little, the returned offset is the absolute position in the file, even in bounded streams. (seek): Seek from end mirrors lseek() behaviour (reverse seeking). 2000-04-25 NotZed <NotZed@HelixCode.com> * camel-stream-fs.h (struct _CamelStreamFs): Moved bounds and eof indicator to other parent classes. * camel-stream.c (camel_stream_printf): New utility function. Obvious use. * camel-stream-mem.c: Removed leading _'s from static func's. (camel_stream_mem_new_with_byte_array): Fixed for api changes, set the owner for the byte array to us. : Removed A bunch of gtk doc stuff for static (implementation) functions. (available): Removed. (write): Fixed the write implementation so that seek() works on a seekable memory stream, as expected. Seeking past the end of the buffer has unix semantics (filling with 0). (available): Removed. (write): Implement seekable stream bounded stream. (read): Implement seekable stream bounded stream. (close): Dont free the stream_mem if we're not the owner. (seek): Allow to seek beyond the end of memory area, implement bounds checking. (seek): Set errno on bad policy. * camel-stream-mem.h (struct _CamelStreamMem): Changed position to off_t. (new_with_buffer): Changed len to be a size_t. (set_buffer, set_byte_array): New interface functions. (struct _CamelStreamMem): Removed position, it is stored in the superclass. * camel-stream.h: Removed some of the seemingly random whitespace. Removed the available method (its not impelemented/useful enough). * camel-seekable-substream.c (init_with_seekable_stream_and_bounds): Remove the data_available stuff, it hasn't been properly implemented/finished, and may never work (unfortunately *sigh). (reemit_parent_signal): Removed part of the above change. (set_bounds): Removed (moved to seekable-stream). : Fixed up some of the generally unreadable indenting (sorry, wrapping at 80 characters with camels_really_long_function_names() just_doesnt_work_very_well_does_it(). (available): Removed. (stream_seek): Fixup for object changes. Make sure we return -1 if the parent stream can't seek. * camel-seekable-stream.c (ccamel_seekable_stream_set_bounds): New function to bound any seekable stream. : Removed _'s. (camel_seekable_stream_class_init): Implement an init function, to setup the stream bounds to unbound. * camel-seekable-stream.h (CamelSeekableStreamClass): New virtual method set_bounds for seekable streams. (CAMEL_STREAM_UNBOUND): New define for no bound. * camel-seekable-substream.h (struct _CamelSeekableSubstream): Removed sup_bound and inf_bound, moved to CamelSeekableStream (and renamed, and changed to off_t's). (new_with_seekable_stream_and_bounds): Use off_t as the bounds. (CamelSeekableSubstreamClass): Uh, why was the intialiser virtual? Removed. * camel-seekable-stream.[ch] (CamelSeekableStreamClass): Changed seek to accept an off_t as the offset. (struct _CamelSeekableStream): Renamed cur_pos to position and changed it to an off_t type. (enum CamelStreamSeekPolicy): Set to match the SEEK_* constants from lseek(). (get_current_position): Renamed to tell(). * camel-stream-buffer.h: Commented out set_vbuf - never implemented. svn path=/trunk/; revision=2624
* Use camel_mime_part_set_text() to set the text rather than messing withNotZed2000-04-263-9/+15
| | | | | | | | | | | | | 2000-04-26 NotZed <NotZed@HelixCode.com> * e-msg-composer.c (build_message): Use camel_mime_part_set_text() to set the text rather than messing with data wrappers. * e-msg-composer-attachment-bar.c (attach_to_multipart): Change for new camel-stream interfaces. (attach_to_multipart): Also set base64 encoding by default. svn path=/trunk/; revision=2623
* Eeek, remove "while(1);" debug code - FedericoFederico Mena Quintero2000-04-261-3/+0
| | | | svn path=/trunk/; revision=2622
* only return TRUE if the parent is at eos AND the buffer has been exhaustedDan Winship2000-04-262-1/+4
| | | | | | | * camel-stream-buffer.c (_eos): only return TRUE if the parent is at eos AND the buffer has been exhausted svn path=/trunk/; revision=2621
* New module-wide variables for the PAS and PCS factories. (setup_pcs):Federico Mena Quintero2000-04-262-21/+98
| | | | | | | | | | | | | | | | | | | | 2000-04-25 Federico Mena Quintero <federico@helixcode.com> * wombat.c (cal_factory pas_book_factory): New module-wide variables for the PAS and PCS factories. (setup_pcs): Connect to the "last_calendar_gone" signal of the calendar factory. (last_calendar_gone_cb): Queue a termination job. (queue_termination): Function to queue a termination job. We have to use a timeout to reduce the probability of running into GOAD's race condition with factories. (termination_handler): Check that the PCS and the PAS have zero backends. If so, exit the main loop. (setup_vfs): Use EXIT_FAILURE instead of 1. (init_bonobo): Likewise. (main): Destroy the factories and exit Wombat. Wheee! svn path=/trunk/; revision=2620
* Renamed from backend_destroy_cb. Now we use it for the "last_client_gone"Federico Mena Quintero2000-04-265-10/+82
| | | | | | | | | | | | | | | | | | | | | 2000-04-25 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-factory.c (backend_last_client_gone_cb): Renamed from backend_destroy_cb. Now we use it for the "last_client_gone" signal from the backend. Also, unref the backend to destroy it. (add_backend): Connect to the "last_client_gone" signal of the backend. (cal_factory_get_n_backends): New function to query the number of running backends. * pcs/cal-backend.c (cal_backend_class_init): Register the new "last_client_gone" signal. It is emitted when the last Cal client goes away. It is used to notify the factory when a backend may be safely destroyed. (cal_destroy_cb): Emit the "last_client_gone" signal when the last client disconnects from the backend. svn path=/trunk/; revision=2619
* add a convert_space_hack flag, which turns N spaces into N-1 &nbsp;s and aDan Winship2000-04-262-28/+138
| | | | | | | | | | | | | * mail-format.c (text_to_html): add a convert_space_hack flag, which turns N spaces into N-1 &nbsp;s and a space. (handle_text_plain): Check for "format=flowed" in the Content-Type. (handle_text_plain_flowed): Spinoff of handle_text_plain to deal with RFC 2646 flowed text. (All the examples I can find of it are generated by Eudora, but it's a pretty cool idea that ought to be used more widely.) svn path=/trunk/; revision=2618
* compare iCalObjects by their UIDs instead of by their pointers.Seth Alves2000-04-263-2/+9
| | | | | | | * gui/e-day-view.c (e_day_view_find_event_from_ico): compare iCalObjects by their UIDs instead of by their pointers. svn path=/trunk/; revision=2617
* Now that we're not limited to a single GtkHTML for the display, there's noDan Winship2000-04-263-270/+191
| | | | | | | | | | | | | | | | | * mail-format.c, mail-display.c: Now that we're not limited to a single GtkHTML for the display, there's no reason to embed Bonobo objects for unrecognized content-types in GtkHTML rather than embedded them into the vbox directly. So do that. Meanwhile, fix up the handler-selection code so that we can declare which built-in handlers are more desirable than external handlers and which are less. (Of course, eventually we'll want this to be customizable.) Add some cleverness to handle_multipart_alternative as well so it doesn't accept an alternative which we can display generically over one we can display specifically. svn path=/trunk/; revision=2616
* don't save on destroy.Seth Alves2000-04-262-3/+6
| | | | | | * pcs/cal-backend.c (cal_backend_destroy): don't save on destroy. svn path=/trunk/; revision=2615
* The Joy of Broken Makefiles Part #3.Ettore Perazzoli2000-04-263-4/+11
| | | | svn path=/trunk/; revision=2614
* hook for widget destroy -- used to unref the CalClient so wombat knows weSeth Alves2000-04-263-11/+37
| | | | | | | | * gui/gnome-cal.c (gnome_calendar_destroy): hook for widget destroy -- used to unref the CalClient so wombat knows we are gone. (gnome_calendar_class_init): added a class init for this widget. svn path=/trunk/; revision=2613
* (reply_body): Make this deal better with multiparts.Dan Winship2000-04-262-40/+30
| | | | svn path=/trunk/; revision=2612
* (setup_function_table): pass unknown text subtypes toDan Winship2000-04-262-3/+34
| | | | | | | | | | | handle_text_plain. (handle_multipart_appledouble): new handler. Just ignores the first (application/applefile) part and tries to display the second part. Since the second part is usually application/octet-stream, this doesn't work very well still usually. svn path=/trunk/; revision=2611
* The Joy of Broken Makefiles Part #3.Ettore Perazzoli2000-04-264-4/+11
| | | | svn path=/trunk/; revision=2610
* The Joy of Broken Makefiles Part #2.Ettore Perazzoli2000-04-262-17/+16
| | | | svn path=/trunk/; revision=2609
* Updated Norwegian translation.Kjartan Maraas2000-04-262-76/+96
| | | | | | | | 2000-04-25 Kjartan Maraas <kmaraas@online.no> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=2608
* Fix compile with builddir != srcdir.Ettore Perazzoli2000-04-263-2/+6
| | | | svn path=/trunk/; revision=2607
* Fix compilation by using `$(GTKHTML_CFLAGS)' instead of `-IEttore Perazzoli2000-04-262-1/+5
| | | | | | $(GTKHTML_CFLAGS)'. svn path=/trunk/; revision=2606
* allow for null icoSeth Alves2000-04-264-3/+9
| | | | | | | | * gui/e-day-view.c (e_day_view_update_event): allow for null ico * gui/e-week-view.c (e_week_view_update_event): allow for null ico svn path=/trunk/; revision=2605
* fix menu problem in composer windowRadek Doulik2000-04-262-7/+10
| | | | | | | | | | | | * fix menu problem in composer window 2000-04-25 Radek Doulik <rodo@helixcode.com> * e-msg-composer.c (create_editor): use uih here (e_msg_composer_construct): create menubar/toolbar before creating editor control svn path=/trunk/; revision=2604
* fix some incorrect macro usage that resulted in bogus castsDan Winship2000-04-252-4/+9
| | | | | | | * camel-mime-message.c: fix some incorrect macro usage that resulted in bogus casts svn path=/trunk/; revision=2603
* Fix some bugs that crept into reply generation. This needs a lot more workDan Winship2000-04-252-5/+21
| | | | | | | | * mail-format.c (reply_body): Fix some bugs that crept into reply generation. This needs a lot more work to deal correctly with complicated bodies. svn path=/trunk/; revision=2602
* Redo large chunks of this. The mail display now consists of a vbox in aDan Winship2000-04-255-638/+747
| | | | | | | | | | | | | | | | | | * mail-display.c, mail-format.c: Redo large chunks of this. The mail display now consists of a vbox in a scrolled window, in which we put multiple GtkHTML objects. This means broken HTML in one part can't corrupt other parts. The headers now scroll with the body. Unrecognized attachments look prettier, but still don't do anything, and will probably be changed later. We can also now display nested message/rfc822 parts and multipart/alternatives with multipart subparts. Oh, and text/{richtext,enriched}, since we had all these ancient sample messages that use it and the lack of support annoyed me. :) Bonobo embeddables are broken right now, but I don't think that's my fault. svn path=/trunk/; revision=2601
* ja.po: Update from Japanese GNOME Users Group(translation@gnome.gr.jp).Yukihiro Nakai2000-04-251-77/+93
| | | | svn path=/trunk/; revision=2600
* include -I$(datadir)/idl in orbit-idl arguments so that you can haveDan Winship2000-04-253-2/+13
| | | | | | | | | | | | * shell/Makefile.am: include -I$(datadir)/idl in orbit-idl arguments so that you can have bonobo installed in the same prefix as evolution, when that isn't the same prefix is gnome-libs, which a lot of people seem to be doing. (CLEANFILES): add EVOLUTION_CORBA_GENERATED * README: Note this svn path=/trunk/; revision=2599
* Fixed a warning.Christopher James Lahey2000-04-255-4/+8
| | | | | | | | | | 2000-04-25 Christopher James Lahey <clahey@helixcode.com> * e-table-size-test.c: Fixed a warning. * e-table-item.c: Removed the unnecessary gnome_canvas_update_bbox. svn path=/trunk/; revision=2598
* The path to the test calendar changed when we moved stuff around. UsersFederico Mena Quintero2000-04-252-5/+38
| | | | | | | | | | | | | | 2000-04-24 Federico Mena Quintero <federico@helixcode.com> * cal-client/client-test.c (main): The path to the test calendar changed when we moved stuff around. Users will have to tweak this for their CVS setup, anyways. (create_client): Create or load the calendar as appropriate. (client_destroy_cb): Exit the main loop if both clients are gone. (main): Connect to the "destroy" signal of the clients so that we can terminate the test program. svn path=/trunk/; revision=2597
* convert from a time_t to an icaldurationtype.Seth Alves2000-04-252-0/+24
| | | | | | | * src/libical/icaltypes.c (icaldurationtype_from_timet): convert from a time_t to an icaldurationtype. svn path=/trunk/; revision=2589
* allow for null CN (parse_person): allow for null sent_bySeth Alves2000-04-259-28/+373
| | | | | | | | | | | | * pcs/icalendar.c (parse_person): allow for null CN (parse_person): allow for null sent_by * pcs/Makefile.am: build icalendar-test * pcs/icalendar-test.c: a test which loads an ical file and converts it to our internal format, and then saves it back out. svn path=/trunk/; revision=2588
* fix a cut-and-pasto.Dan Winship2000-04-252-1/+4
| | | | | | | * camel-mime-part-utils.c (simple_data_wrapper_construct_from_parser): fix a cut-and-pasto. svn path=/trunk/; revision=2587
* ref (and sink) the message stream if we're going to unref it later.Dan Winship2000-04-252-0/+7
| | | | | | | | | * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): ref (and sink) the message stream if we're going to unref it later. Otherwise it could get destroyed while there are still substreams attached to it. This needs a cleaner solution. svn path=/trunk/; revision=2586
* remove data-wrapper-repository.h include(s)Dan Winship2000-04-252-2/+4
| | | | | | * camel.h: remove data-wrapper-repository.h include(s) svn path=/trunk/; revision=2585
* finished first stab at iCalObject to icalcomponent conversion.Seth Alves2000-04-252-6/+294
| | | | svn path=/trunk/; revision=2584
* added new source files and pixmaps, and removed old source files, whichDamon Chaplin2000-04-2425-290/+5365
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-24 Damon Chaplin <damon@helixcode.com> * gui/Makefile.am: added new source files and pixmaps, and removed old source files, which can be deleted. * gui/e-week-view-titles-item.[hc]: * gui/e-week-view-main-item.[hc]: * gui/e-week-view-event-item.[hc]: * gui/e-week-view.[hc]: new files implementing the week/month views. * gui/yearview.xpm: * gui/monthview.xpm: * gui/weekview.xpm: * gui/workweekview.xpm: * gui/dayview.xpm: new pixmaps for the toolbar buttons. These aren't intended to be the final pixmaps. * gui/calendar-commands.c: added radio buttons to the toolbar to switch between the calendar views, and moved the am_pm_flag here so we can get rid of view-utils.c. * gui/gnome-cal.[hc]: made it a subclass of GtkVBox, rearranged the widgets into 2 notebooks, and added the selection_start_time and selection_end_time fields. * gui/goto.c: updated to use new selection time range. * gui/quick-view.c: added '#include <gtk/gtkwindow.h>' so it compiles. * gui/e-day-view.[hc]: changed the interface to support the new selection time range, got rid of a few debugging messages and changed a few bits. svn path=/trunk/; revision=2583
* Made some functions syncronous that didn't need to be asyncronous.Christopher James Lahey2000-04-242-19/+10
| | | | | | | | | 2000-04-24 Christopher James Lahey <clahey@helixcode.com> * idl/folder.idl: Made some functions syncronous that didn't need to be asyncronous. svn path=/trunk/; revision=2582
* Made the tooltip show up in the correct place and configuration when usingChristopher James Lahey2000-04-2414-64/+441
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Added tr to ALL_LINGUASFatih Demir2000-04-242-1/+5
| | | | svn path=/trunk/; revision=2580
* Big fixes for the last commit which broke the message creation entirely.Michael Zucci2000-04-248-48/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Plus an address decoder/formatter, etc. * camel-mime-message.c (construct_from_parser): Allow MESSAGE_END _or_ EOF as valid termination conditions. * providers/mbox/camel-mbox-summary.c (message_struct_new): Decode and then re-encode the addresses, so they are consistently formatted. * camel-mime-utils.c (header_decode_mailbox): Store the address in a _header_address. And try to get a comment-stored name if there is one. (header_decode_address): Actually return an address. (header_to_decode): Renamed to header_address_decode() (header_mailbox_decode): New function to get a single mailbox. (header_mime_decode): Return the major/minor value, as appropriate. (header_address_new, and friends): Whole bunch of utility functions for working with the address thingies. (header_decode_domain): Free the string header, and dont expand '.' into ' . '. (camel_mime_part_construct_content_from_parser): Oops, this was totally screwed up, try creating the right cotnent on the right object. svn path=/trunk/; revision=2579
* Fixed for method movements.NotZed2000-04-245-5/+17
| | | | | | | | | | | | | | 2000-04-24 NotZed <NotZed@HelixCode.com> * tests/test13.c (main): Fixed for method movements. * tests/test3.c (main): Removed from build, data-wrapper-repository removed. * tests/test2.c (main): Changed to use construct_from_stream. * tests/test1.c (main): Chagned to use construct_from_stream. svn path=/trunk/; revision=2578
* No longer call data_wrapper_repository_init.NotZed2000-04-2420-1132/+441
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-24 NotZed <NotZed@HelixCode.com> * camel.c (camel_init): No longer call data_wrapper_repository_init. * camel-medium.c (write_to_stream): Moved (back) to camel-mime-part. (add_header): (set_header): (remove_header): (get_header): Make all these abstract, and spit warnings if called. I guess it could manage the list, but well, it doesn't. * camel-medium.h (struct _CamelMedium): Dont store headers here, the implementor is the only one who knows their format. (CamelMediumClass): Changed header values to be void *'s. They need not be strings? * camel-simple-data-wrapper.c (construct_from_stream): And we're back. Set the output stream. (construct_from_parser): Moved to camel-mime-part-utils. * camel-mime-part-utils.c (camel_mime_part_construct_content_from_parser): Create the contents of multipart and simple messages. * camel-multipart.c (construct_from_parser): Moved to camel-mime-part-utils. (separate_part): Removed. * camel-mime-part.c (construct_from_stream): Back again! This now switches over to using a mime parser for any mime parts, only. (my_write_to_stream): Write our headers and so forth here. (add_header): Add header directly, parent class is abstract. (remove_header): Ditto. (set_header): Ditto. * camel-data-wrapper.c (camel_data_wrapper_construct_from_stream): Remade abstract. (camel_data_wrapper_construct_from_parser): Moved to camel_mime_part. * camel-data-wrapper.h: Put back construct_from_stream. * camel-mime-part.h: Put construct_from_parser in here, the data-wrapper shouldn't know about mime. Ok, so now to undo half of the last hours changes ... duh. 2a51,93 * providers/pop3/camel-pop3-folder.c (get_message_by_number): Use construct_from_stream instead of set_input_stream(). * camel-simple-data-wrapper-stream.c (camel_simple_data_wrapper_stream_construct): REmoved the destroy callback code. (wrapper_destroy_cb): Removed. * camel-simple-data-wrapper.h: Add prototype for _construct() method. * camel.c: Include unicode.h to kill a warning. * camel-data-wrapper.h (CameldataWrapperClass): Removed construct_from_stream virtual method. Removed get/set input stream. * data-wrapper-repository.[ch]: Removed&from build. Obsoleted? The justification as is follows: It is mixing storage protocol/format with message architecture. It really just doesn't serve any purpose, as each medium implementor will have to have its own type->handler mapping, and the only current implementor, mimepart has a very simple structure and no need for this. * camel-medium.c (write_to_stream): Moved here from most of the stuff in camel-mime-part. Well, the MEDIUM is the one that knows what the headers are, and the content is, let it write it out. * camel-mime-part-utils.c (camel_mime_part_construct_content): Copied from camel-mime-part.c, removed handling of message followon state (moved to camel-mime-message). (camel_mime_part_construct_content_from_parser): Renamed from construct_content. (camel_mime_part_construct_headers_from_stream): (camel_mime_part_construct_content_from_stream): (camel_mime_part_store_stream_in_buffer): Removed. Replaced by the new construct from parser stuff. * camel-mime-message.c (construct_from_parser): Do construct_from_parser for mime-message. (_write_to_stream): Set the mime-version header for medium to write out, rather than writing it out ourselves. 4a96,102 (construct_from_stream): Removed. (camel_data_wrapper_construct_from_stream): Changed to a helper function, creates a mime_parser, and constructs from that. (set_input_stream): Removed. (camel_data_wrapper_set_input_stream): Removed. (get_input_stream): Removed. (camel_data_wrapper_get_input_stream): Removed. 11a110,111 (_get_message_by_uid): Use construct_from_stream() instead of creating our own parser. 16a117,131 (camel_mime_part_construct_content): Removed to camel-mime-part-utils.c (my_get_output_stream): Removed. The streeam is in the data-wrapper. (my_get_content_object): Removed. The content object is stored in the medium. If none is there, the object wasn't created properly. (my_write_content_to_stream): Removed. The content object is the one that knows how to write itself out!!!!!!!! (my_write_to_stream): Remove the base header writing stuff - has been moved to camel-medium, where it belongs. This can just be used to check for mandatory headers. (my_construct_from_stream): Removed. (my_set_input_stream): What the hell, i'll remove this too. Nobody seems to understand how it differs from create from stream, and they both seem to serve the same purpose ... 19a135,136 (construct_from_stream): Removed! Job taken over by construct_from_parser. 24a142 (set_input_stream): REmoved. Replaced by construct_from_parser. svn path=/trunk/; revision=2577
* oops, silly me.Matthew Loper2000-04-242-3/+1
| | | | svn path=/trunk/; revision=2576
* + * widgets/Makefile.am: Added e-paned directory.Matthew Loper2000-04-2416-20/+438
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + + * 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
* reorder the list of dependency libraries such that, starting fromDan Winship2000-04-241-10/+23
| | | | | | | | scratch, you can build them in the order given in the file. Emphasize the warning about location of bonobo install. Add a warning about sysconfdir. svn path=/trunk/; revision=2574
* Of course, it just crashes ...NotZed2000-04-243-5/+10
| | | | | | | | | | | | 2000-04-23 NotZed <NotZed@HelixCode.com> * tests/test10.c: Removed some unecessary includes. From Ali Abdin <aliabdin@aucegypt.edu> (create_sample_mime_message): Changed for date api change. * tests/Makefile.am (noinst_PROGRAMS): Put test10 back. svn path=/trunk/; revision=2573
* Calculate the width of the table from the width of all the columns, andIain Holmes2000-04-243-4/+28
| | | | | | | | | | 2000-04-23 Iain Holmes <ih@csd.abdn.ac.uk> * e-table-item.c (eti_bounds): Calculate the width of the table from the width of all the columns, and update the eti->width field as appropiate. (eti_update): Update the bbox. svn path=/trunk/; revision=2572
* add an extra lib of docklets. These checks are braindamaged though, theyGeorge Lebl2000-04-242-0/+11
| | | | | | | | | | | Sun Apr 23 12:15:14 2000 George Lebl <jirka@5z.com> * gnome.m4: add an extra lib of docklets. These checks are braindamaged though, they don't fail and thus gnome-core for example compiles without gnomecc. There need to be separate .m4 files or checks svn path=/trunk/; revision=2564
* fix some obvious minor bugs noted by -Wall.Dan Winship2000-04-242-2/+7
| | | | | | | * camel-mime-utils.c (header_to_decode, header_mime_decode): fix some obvious minor bugs noted by -Wall. svn path=/trunk/; revision=2563
* rename "send" to "send_msg", to avoid name clash with the tcp function.Dan Winship2000-04-245-5/+90
| | | | | | | | | | | | | | * folder-browser-factory.c: rename "send" to "send_msg", to avoid name clash with the tcp function. Connect the "forward" button. * mail-ops.c: rename "send" to "send_msg", to avoid name clash with the tcp function. Add forward_msg function. * mail-format.c (mail_generate_forward): support function for forward_msg. Pretty much a big kludge right now, pending the attachment/attachment-bar changes. svn path=/trunk/; revision=2562
* build libcomposer static and don't install it.Dan Winship2000-04-243-10/+33
| | | | | | | | | * Makefile.am: build libcomposer static and don't install it. * e-msg-composer-attachment-bar.c (attach_to_multipart): This was only half-implemented. Finish it, mostly. svn path=/trunk/; revision=2561
* Whole swag of changes. Still lots of cleanup remaining ...NotZed2000-04-2315-211/+765
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-23 NotZed <NotZed@HelixCode.com> * camel-data-wrapper.c (set_mime_type_field): Ref the content_field when we get it? * camel-mime-parser.c (camel_mime_parser_unstep): New function. Cause a subsequent call to mime_parser_step() to return the same state over again. * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): Initial test code using the mime parser to construct the message. * camel-mime-part.c (construct_from_parser): part constructor. (camel_mime_part_construct_content): Basically a simpler replacement for the datawrapper repository. (camel_mime_part_init): Set the default type to text/plain. * camel-simple-data-wrapper.c (construct_from_parser): Initial implementation of a content constructor. * camel-multipart.c (construct_from_parser): Multipart construction routine. (camel_multipart_init): Set the default multipart type to multipart/mixed. Duh, no subtype is not allowed anyway. 2000-04-22 NotZed <NotZed@HelixCode.com> * camel-mime-message.h (struct _CamelMimeMessage): Removed send_date, and received_date, and replaced it with a time_t 'date' (this is what the header is called), and date_offset to store the GMT offset of the date. * camel-mime-message.c (camel_mime_message_set_from): Update raw header as we go. (_set_from): Removed. (_get_from): Removed. (camel_mime_message_get_from): Moved implementation here. (camel_mime_message_get_subject): Move implementation here. (_get_subject): Nuked. (camel_mime_message_set_subject): Handle utf-8 input, and also update raw header when changed. (_set_subject): Removed. (_set_received_date): Removed. (camel_mime_message_set_received_date): Removed. (_get_received_date): Removed. (camel_mime_message_get_received_date): Removed. (_get_sent_date): Removed. (camel_mime_message_get_sent_date): Removed. (camel_mime_message_get_date): New function to get the date as a time_t/offset. (camel_mime_message_set_date): Set the date as a time_t/offset. (camel_mime_message_get_date_string): Get the date as a string. (camel_mime_message_init): Initialise the current date as 'CMAEL_MESSAGE_DATE_CURRENT'. (_set_reply_to): Removed. (camel_mime_message_set_reply_to): Moved implementation here. This is still broken, reply-to can have multiple addresses. (_get_reply_to): Removed. (_set_field): Removed, no longer used anywhere. (_get_field): Also removed. (_init_header_name_table): Add the Date header. (process_header): Also handle snooping of Date header here. * camel-stream-filter.c (finalise): Unref the source stream on finalise, and also call the parent class (oops). * camel-mime-parser.c (camel_mime_parser_state): New function to get the current parser state. (camel_mime_parser_stream): Allow you to get the stream back from the mime_parser. (camel_mime_parser_fd): Alternative to allow you to get the fd back from the mime_parser. (folder_scan_init_with_stream): Properly ref/unref the stream. (folder_scan_close): Properly unref the stream/close the fd on exit. (folder_scan_init_with_fd): Close the old fd if there is one. * camel-data-wrapper.c (camel_data_wrapper_construct_from_parser): New method, construct a data wrapper from an initialised parser. (construct_from_parser): Empty implementation. * providers/mbox/camel-mbox-summary.c (message_struct_new): Convert subject line to unicode, before storing in the summary. (strdup_trim): Removed, no longer needed. * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): Ref the folder after setting it in the new message. * camel-mime-part.c (my_set_content_object): Have the headers follow the content-type change here too. (my_write_to_stream): Dont write content-type here, automatically stored in the headers ... (my_write_to_stream): Use header_disposition_format() to format the content-disposition header. (my_write_to_stream): Removed old code, all headers are now stored in the camel-medium level, always. Need to do the same with camel-mime-message i suppose ... (my_write_to_stream): Write the content using the parent class, not some weird function. (camel_mime_part_class_init): Dont override get_output_stream. (camel_mime_part_encoding_from_string): Bleh, make it case-insensitive. * camel-mime-utils.c (header_content_type_is): Handle empty types. (header_encode_string): Start of an implementation of the rfc2047 encoder. It does iso-8859-1, and us-ascii, and utf-8 (others get tricky *sigh*) (rfc2047_encode_word): Convert a single word/string into rfc2047 encoding. (quoted_encode): Different quoted-printable encoding for rfc2047 encoding of headers. * gmime-content-field.c (gmime_content_field_write_to_stream): Use header_content_type_format() to format it. svn path=/trunk/; revision=2560
* New tests/fixed tests.Michael Zucci2000-04-234-2/+135
| | | | svn path=/trunk/; revision=2559
* Change cid expectations to match current camel reality.Dan Winship2000-04-232-5/+5
| | | | | | | * mail-display.c (on_url_requested): Change cid expectations to match current camel reality. svn path=/trunk/; revision=2558
* Updated Swedish translationAndreas Hydén2000-04-232-54/+65
| | | | svn path=/trunk/; revision=2557
* call glade_gnome_init, for composer.Dan Winship2000-04-232-0/+6
| | | | | | * main.c (main): call glade_gnome_init, for composer. svn path=/trunk/; revision=2556
* #include "mail-format.h"Dan Winship2000-04-231-0/+1
| | | | svn path=/trunk/; revision=2555
* move msg_composer_cb and msg_composer_send_cb to mail-ops. Attach send,Dan Winship2000-04-236-56/+328
| | | | | | | | | | | | | | | | | * folder-browser-factory.c: move msg_composer_cb and msg_composer_send_cb to mail-ops. Attach send, reply, and "reply to all" buttons. * mail-ops.c (composer_send_cb, send): moved from folder-browser-factory.c. (reply_to_sender, reply_to_all): new functions to do replies. * mail-format.c (text_to_html): Add an "add_pre" flag, to make it wrap the output in <pre></pre>. (mail_generate_reply): New function to create a composer and build a reply in it. svn path=/trunk/; revision=2554
* clean, document, etc. (camel_multipart_init): pick a prettier defaultDan Winship2000-04-233-273/+365
| | | | | | | | * camel-multipart.[ch]: clean, document, etc. (camel_multipart_init): pick a prettier default boundary. Still need to deal with the larger problem svn path=/trunk/; revision=2553
* new function to make the composer record additional headers it shouldDan Winship2000-04-233-1/+56
| | | | | | | | | * e-msg-composer.c (e_msg_composer_add_header): new function to make the composer record additional headers it should output. (In-Reply-To), etc. (build_message): output them svn path=/trunk/; revision=2552
* Ref the folder after setting it in the new message.NotZed2000-04-2214-577/+655
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-22 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-folder.c (_get_message_by_uid): Ref the folder after setting it in the new message. * camel-mime-part.c (my_set_content_object): Have the headers follow the content-type change here too. (my_write_to_stream): Dont write content-type here, automatically stored in the headers ... (my_write_to_stream): Use header_disposition_format() to format the content-disposition header. (my_write_to_stream): Removed old code, all headers are now stored in the camel-medium level, always. Need to do the same with camel-mime-message i suppose ... * camel-mime-utils.c (header_content_type_is): Handle empty types. * gmime-content-field.c (gmime_content_field_write_to_stream): Use header_content_type_format() to format it. 2000-04-21 NotZed <NotZed@HelixCode.com> * camel-mime-utils.h: Add prototype for header_param_list_free. * camel-recipient.c: New function to remove all the types of a recipient list. I think this whole object needs a major review. * camel-mime-message.c (camel_mime_message_class_init): Removed parse_header_pair override, override add_header instead. (_parse_header_pair): Renamed to add_header. (remove_header): Add this method, to make sure we keep upto date with removed headers too. (_set_field): If given a NULL value, clear it out. (_set_recipient_list_from_string): Constify. (set_header): Override set_header from camel_medium. (process_header): Local function to handle set/add/remove of each header we know about. * camel-mime-part.c (camel_mime_part_class_init): Removed parse_header_pair setup. (my_parse_header_pair): Moved into add_header(), removed. (my_set_disposition): Allow a NULL disposition to clear it. (my_set_content_id): Allow NULL content id to clear it. (remove_header): Track removed headers. (my_set_description): Allow NULL description to clear it. (my_set_content_MD5): Make sure we copy the md5 value, and allow a NULL value to reset it. (my_set_filename): Copy the filename. (my_set_header_lines): Removed. Nothing uses it, it doesn't actually serve any purpose. (camel_mime_part_set_header_lines): Ditto. (my_get_header_lines): Ditto. (camel_mime_part_get_header_lines): Ditto. (camel_mime_part_class_init): Remove *_header_lines setup. (camel_mime_part_init): Remove header_lines init. (my_finalize): Remove header_lines finalise. (my_write_to_stream): Write the headers here. This is just WRONG, camel_medium should be doing this. (my_get_output_stream): Kill a warning. (camel_mime_part_encoding_to_string): Ditto. (camel_mime_part_set_description): Unvirtualiase, use add_header() to do the processing. (my_set_description): Removed. (set_disposition): Renamed from my_set_disposition. (camel_mime_part_get_description): Get the descriptionf rom the get_header method. (my_get_description): Removed. (my_set_filename): Removed. (camel_mime_part_get_filename): Get the parameter from the disposition. (camel_mime_part_encoding_from_string): Handle NULL string. (camel_mime_part_init): Remove reference to filename. (my_finalize): Dont free filename. * camel-mime-part.h (CamelMimePartClass): Removed parse_header_pair() method, it doesn't add anything that add_header() can't be used for. (CamelMimePartClass): Remove *_header_lines methods. (struct _CamelMimePart): Remove header_lines list. (struct _CamelMimePart): Removed filename attribute. * camel-medium.c (camel_medium_init): Init headers to null, not a hashtable. (add_header): Append the headers as a list. (remove_header): Remove headers as a list. (get_header): Likewise for lookup. (free_header): Removed, no longer needed. (finalize): Free headers using header_raw_clear(). (camel_medium_set_header): New function, to reset and override all values of a header with a new value. * camel-medium.h (struct _CamelMedium): Changed to use a header_raw struct rather than a hash table, to store headers (many headers can occur multiple times). * camel-mime-utils.c (header_raw_find_next): New function, allows you to find multi-valued header fields. (header_disposition_format): New function to format/create content-disposition header string. (header_param_list_format_append): Function to format parameter lists into a GString. (header_content_type_format): Function to format content-type into a usable format. (header_set_param): allow NULL value to remove the parameter. (decode_token): Renamed from header_decode_token. (header_decode_token): New interface for external use. (quoted_decode): Made static to kill annoying warnings. (g_strdup_len): Killed, replaced with calls to g_strndup(). (rfc2047_decode_word): Made static to kill warnings. (decode_coded_string): Terminated. (g_string_append_len): Made static to kill warnings. (header_decode_text): Made static to kill warnings. (header_decode_text): Constify. (rfc2047_decode_word): Constify. (header_param): Constify. (header_content_type_new): Copy the type/subtype strings. (header_param_list_decode): Made static. (header_param_list_format_append): Made static. (quoted_decode): Constify. (g_string_append_len): Constify. (header_token_decode): New function to decode a single token. * providers/mbox/camel-mbox-summary.c (header_write): Append a trailing \n when writing headers. (strdup_trim): Killed a warning. (camel_mbox_summary_set_uid): Make sure the next uid is at least 1 higher than any existing one. (header_evolution_decode): Use header_token_decode to get the token. * camel-mime-parser.c (folder_scan_header): Strip the trailing \n of the end of all header lines. svn path=/trunk/; revision=2551
* start on code to do the opposite of icalendar.c (convert from iCalObjectsSeth Alves2000-04-228-6/+759
| | | | | | | * pcs/icalendar-save.c: start on code to do the opposite of icalendar.c (convert from iCalObjects to libical's icalcomponents). svn path=/trunk/; revision=2550
* Connect "Exit" menu item finally.Dan Winship2000-04-222-1/+22
| | | | | | * e-msg-composer.c (exit_cb): Connect "Exit" menu item finally. svn path=/trunk/; revision=2549
* new functionsDan Winship2000-04-227-9/+99
| | | | | | | | | | | | | * e-msg-composer.c (e_msg_composer_set_headers): (e_msg_composer_set_body_text): new functions * e-msg-composer-hdrs.c: const poisoning (e_msg_composer_hdrs_set_subject): (e_msg_composer_hdrs_get_subject): new functions * e-msg-composer-address-entry.c: const poisoning svn path=/trunk/; revision=2548
* Removed.NotZed2000-04-227-1531/+9
| | | | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-utils.[ch]: Removed. * providers/mbox/camel-mbox-parser.[ch]: Removed. Removed references to it. svn path=/trunk/; revision=2547
* ignore test-urlSeth Alves2000-04-211-0/+1
| | | | svn path=/trunk/; revision=2546
* moved "About Calendar" into the View menu so it shows up.Seth Alves2000-04-212-1/+6
| | | | | | | * gui/calendar-commands.c (calendar_control_activate): moved "About Calendar" into the View menu so it shows up. svn path=/trunk/; revision=2545
* *** empty log message ***Seth Alves2000-04-212-1/+3
| | | | svn path=/trunk/; revision=2544
* Added Lithuanian stringsPablo Saratxaga2000-04-211-0/+2
| | | | svn path=/trunk/; revision=2543
* deal with cid: URLs. (find_cid): helper routine for above. (This could beDan Winship2000-04-213-21/+144
| | | | | | | | | | * mail-display.c (on_url_requested): deal with cid: URLs. (find_cid): helper routine for above. (This could be much better.) (mail_display_init): connect url_requested signal * mail-format.c (handle_multipart_related): Make this work. svn path=/trunk/; revision=2542
* ref the message we display, since we're going to unref it when we removeDan Winship2000-04-212-0/+8
| | | | | | | | | * mail-display.c (mail_display_set_message): ref the message we display, since we're going to unref it when we remove it. Fixes a bug that showed up with the new camel code, but it's not obvious if it's due to a bug or a feature in the new code. svn path=/trunk/; revision=2541
* use libunicode iconv functions rather than libc ones (since libc might notDan Winship2000-04-213-8/+25
| | | | | | | | | | * camel-mime-utils.c (rfc2047_decode_word): use libunicode iconv functions rather than libc ones (since libc might not have them). (header_decode_date): add autoconfiscation on timezone code * camel.c (camel_init): call unicode_init () svn path=/trunk/; revision=2540
* new function: callback for listener's object updated signal.Seth Alves2000-04-212-14/+29
| | | | | | | | | | | | | | | | * gui/gnome-cal.c (gnome_calendar_changed_cb): new function: callback for listener's object updated signal. (gnome_calendar_object_removed_cb): new function: callback for listener's object removed signal. (gnome_calendar_new): hook up listener's "obj_updated" and "obj_removed" signals so if evolution is running twice, they will both see changes right away. (gnome_calendar_object_changed): don't call update_all, since it will be called by the listener. (gnome_calendar_remove_object): don't call update_all (gnome_calendar_add_object): don't call update_all svn path=/trunk/; revision=2539
* callback for obj_updated or obj_removed. (gnome_calendar_new): hook upSeth Alves2000-04-212-13/+32
| | | | | | | | | * gui/gnome-cal.c (gnome_calendar_changed_cb): callback for obj_updated or obj_removed. (gnome_calendar_new): hook up gnome_calendar_changed_cb so if evolution is running twice, they will both see changes right away. svn path=/trunk/; revision=2538
* create fullday's gcs even if pixmap_bell has already been created. thisSeth Alves2000-04-212-1/+45
| | | | | | | | * gui/gncal-full-day.c (child_realize): create fullday's gcs even if pixmap_bell has already been created. this was causing crashes if the calendar was run twice. svn path=/trunk/; revision=2537
* Trim leading/trailing spaces off the raw headers.NotZed2000-04-212-3/+22
| | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-summary.c (message_struct_new): Trim leading/trailing spaces off the raw headers. svn path=/trunk/; revision=2536
* Oops, remove some debug i put there.NotZed2000-04-212-4/+1
| | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * message-list.c: (ml_row_count): Oops, remove some debug i put there. svn path=/trunk/; revision=2535
* Removed a bunch of crappy unrequired headers.NotZed2000-04-213-7/+8
| | | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * filter-driver.c: Removed a bunch of crappy unrequired headers. * Makefile.am (filter_driver_LDADD): Added libibex back again. svn path=/trunk/; revision=2534
* Merged from NEW_PARSER branch.Michael Zucci2000-04-211-11/+11
| | | | svn path=/trunk/; revision=2533
* Fixed some headers.NotZed2000-04-212-14/+21
| | | | | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * tests/test11.c: Fixed some headers. * tests/Makefile.am (noinst_PROGRAMS): Removed test9. (noinst_PROGRAMS): Removed test12, temporarirly (nntp not being built). svn path=/trunk/; revision=2532
* MERGE NEW_PARSER branch into HEAD, fixed conflicts.NotZed2000-04-2142-2664/+7068
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * MERGE NEW_PARSER branch into HEAD, fixed conflicts. * gmime-content-field.c (_print_parameter): Duh, removed again (@@#$@ cvs merge). * camel-mime-utils.c (header_content_type_is): Constify. (header_content_type_unref): Killed a couple warnings. * camel-folder.c (_init): Removed more log crap. * providers/Makefile.am (SUBDIRS): Removed nntp, pending fixes for summary changes. * providers/mbox/camel-mbox-folder.c (_get_message_by_number): Fixed for new summary interface. Added a warning for using this broken api. (_get_message_by_uid): Fixed for message new with session vanishing. svn path=/trunk/; revision=2531
* Add libibex.la to link.NotZed2000-04-214-24/+33
| | | | | | | | | | | | | | | | | | 2000-04-20 NotZed <NotZed@HelixCode.com> * Makefile.am (evolution_mail_LDADD): Add libibex.la to link. * message-list.h: Removed folder summary. * message-list.c: Dont include folder-summary anymore. (select_msg): Changed to use folder, not summary in summary_get_message_info(). God this code is grotty. (ml_value_at): Ditto. (ml_value_at): Changed to use new interface. Hmm, this returns a static variable, that seems wrong. (message_list_set_folder): Remove folder summary. svn path=/trunk/; revision=2530
* Use "e-minicard" as the log domain.Federico Mena Quintero2000-04-2169-270/+685
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-18 Federico Mena Quintero <federico@helixcode.com> * gui/minicard/Makefile.am (INCLUDES): Use "e-minicard" as the log domain. * gui/component/Makefile.am (INCLUDES): Use "evolution-addressbook" as the log domain. * backend/pas/Makefile.am: Build libpas.a, not a shared library. Do not install any header files. (INCLUDES): Remove spurious include paths. * backend/pas/*.[ch]: Fix includes. * backend/ebook/Makefile.am: Do not install the test programs. Fixed some include weirdness. * backend/ebook/*.[ch]: Fix includes. * contact-editor/Makefile.am (INCLUDES): Set the log domain to "contact-editor". (INCLUDES): Fix. * contact-editor/*.[ch]: Fix includes. * gui/minicard/*.[ch]: Fix includes. svn path=/trunk/; revision=2529
* new functions to get and set the contents of the HTML editor viaDan Winship2000-04-212-4/+84
| | | | | | | | | * e-msg-composer.c (get_editor_text, set_editor_text): new functions to get and set the contents of the HTML editor via Bonobo::PersistStream. (build_message): use get_editor_text. This works again. svn path=/trunk/; revision=2527
* ssshhhhSeth Alves2000-04-211-0/+3
| | | | svn path=/trunk/; revision=2526
* update for bonobo change, and remove a now-unused variable.Dan Winship2000-04-212-43/+7
| | | | | | | * mail-display.c: update for bonobo change, and remove a now-unused variable. svn path=/trunk/; revision=2525
* update for bonobo changesDan Winship2000-04-211-2/+2
| | | | svn path=/trunk/; revision=2524
* Updated the Turkish translation for evolutionFatih Demir2000-04-202-0/+583
| | | | svn path=/trunk/; revision=2523
* ja.po: Initial Japanese translation from Akira Tagoh.Yukihiro Nakai2000-04-204-1/+588
| | | | svn path=/trunk/; revision=2522
* This file does not belong in CVS.Peter Williams2000-04-201-376/+0
| | | | svn path=/trunk/; revision=2521
* This is a subtype of CamelSeekableStream, not CamelStream.Dan Winship2000-04-202-1/+5
| | | | | | | | * camel-simple-data-wrapper-stream.c (camel_simple_data_wrapper_stream_get_type): This is a subtype of CamelSeekableStream, not CamelStream. svn path=/trunk/; revision=2520
* clean up a lot. (eos): When testing for end-of-stream, reset the parentDan Winship2000-04-203-304/+204
| | | | | | | | | | * camel-seekable-substream.c: clean up a lot. (eos): When testing for end-of-stream, reset the parent position before testing if it is at end-of-stream, since either (a) it may have been seek'ed to eos by someone else, or (b) we may have been seek'ed away from eos and it hasn't been synced yet. svn path=/trunk/; revision=2519
* oops. fix prototype in both placesDan Winship2000-04-201-2/+2
| | | | svn path=/trunk/; revision=2513
* changed the order around a bit to avoid a Gtk-CRITICAL crashSeth Alves2000-04-202-5/+12
| | | | | | | * gui/eventedit.c (ee_rp_init_rule): changed the order around a bit to avoid a Gtk-CRITICAL crash svn path=/trunk/; revision=2512
* Updated Danish filePablo Saratxaga2000-04-202-39/+108
| | | | svn path=/trunk/; revision=2511
* const poison. (Belatedly goes with my change of 2000-02-23.)Dan Winship2000-04-203-8/+18
| | | | | | | | | * camel-medium.[ch] (camel_medium_add_header): const poison. (Belatedly goes with my change of 2000-02-23.) (camel_medium_init): Use g_strcase_{hash,equal} on the header array. svn path=/trunk/; revision=2510
* fixed code to populate the todo clistSeth Alves2000-04-206-42/+47
| | | | | | | | | | | | | | | * gui/gncal-todo.c (gncal_todo_update): fixed code to populate the todo clist * cal-client/cal-client.c (cal_client_get_uids): don't check type again CALOBJ_TYPE_ANY since it will always match. (cal_client_get_uids): same (re: CALOBJ_TYPE_ANY) * pcs/cal-backend.c (build_uids_list): same (re: CALOBJ_TYPE_ANY) * pcs/cal.c (Cal_get_uids): same (re: CALOBJ_TYPE_ANY) svn path=/trunk/; revision=2509
* Updated Swedish translationAndreas Hydén2000-04-202-54/+123
| | | | svn path=/trunk/; revision=2508
* don't call save from here because in all cases the caller of remove_objectSeth Alves2000-04-202-1/+4
| | | | | | | * pcs/cal-backend.c (remove_object): don't call save from here because in all cases the caller of remove_object calls save svn path=/trunk/; revision=2507
* calls gnome_calendar_open instead of checking on disk and calling load orSeth Alves2000-04-205-52/+92
| | | | | | | | | | | | * gui/calendar-commands.c (calendar_set_uri): calls gnome_calendar_open instead of checking on disk and calling load or create. * gui/gnome-cal.c (gnome_calendar_open): collapsed gnome_calendar_load and gnome_calendar_create into this function. added new type GnomeCalendarOpenMode which has the value CALENDAR_OPEN or CALENDAR_OPEN_OR_CREATE. svn path=/trunk/; revision=2506
* More detail on exactly what versions of what libraries are needed.Dan Winship2000-04-192-12/+41
| | | | | | | * README: More detail on exactly what versions of what libraries are needed. svn path=/trunk/; revision=2505
* fixed to use cal_client_update_object -- editing and dragging events worksSeth Alves2000-04-191-6/+5
| | | | | | | * gui/gnome-cal.c (gnome_calendar_object_changed): fixed to use cal_client_update_object -- editing and dragging events works again svn path=/trunk/; revision=2504
* Was damaged by "fr"?Valek Frob2000-04-191-1/+1
| | | | svn path=/trunk/; revision=2503
* build libtool libraries instead of just .aSeth Alves2000-04-193-11/+12
| | | | svn path=/trunk/; revision=2502
* set calendar's uri with a property bagSeth Alves2000-04-199-48/+179
| | | | | | | | | | | | | | | * e-shell-view.c (get_view): set calendar's uri with a property bag * gui/evolution-calendar-control.c (calendar_properties_init): create a property bag for this control (set_prop): callback for property sets (get_prop): callback for proprety gets * gui/calendar-commands.c (calendar_set_uri): new function, called when the "calendar_uri" property is set on the calendar- control's property bag. svn path=/trunk/; revision=2501
* Fixes the gnome-config check for gpilot.Eskil Heyn Olsen2000-04-192-1/+2
| | | | svn path=/trunk/; revision=2495
* Changed the error string for gnome-pilotEskil Heyn Olsen2000-04-192-1/+5
| | | | svn path=/trunk/; revision=2494
* 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
* New idl file. Still unused.Christopher James Lahey2000-04-192-0/+105
| | | | | | | | 2000-04-19 Christopher James Lahey <clahey@helixcode.com> * idl/folder.idl: New idl file. Still unused. svn path=/trunk/; revision=2492
* Fix include path.Federico Mena Quintero2000-04-192-3/+6
| | | | | | | | 2000-04-18 Federico Mena Quintero <federico@helixcode.com> * cal-util/Makefile.am (INCLUDES): Fix include path. svn path=/trunk/; revision=2491
* do better reference counting of streams so they actually go away when theyDan Winship2000-04-193-3/+13
| | | | | | | | | * camel-mime-part.c (my_set_input_stream): * camel-data-wrapper.c (set_input_stream, set_output_stream): do better reference counting of streams so they actually go away when they should. svn path=/trunk/; revision=2490
* Added Danish strings to desktop/menu filePablo Saratxaga2000-04-195-0/+10
| | | | svn path=/trunk/; revision=2489
* added some stuff to cvs ignore files, build .la instead of just .aSeth Alves2000-04-198-22/+97
| | | | | | in src/libical/Makefile.am svn path=/trunk/; revision=2488
* kill camel-logDan Winship2000-04-1958-919/+99
| | | | svn path=/trunk/; revision=2487
* added 2nd arg to g_return_val_if_fail so this buildsSeth Alves2000-04-191-2/+2
| | | | svn path=/trunk/; revision=2486
* import of libical-0.16Seth Alves2000-04-1968-1355/+8265
| | | | svn path=/trunk/; revision=2484
* Clean, polish, document. Most of the gtk-doc comments added toDan Winship2000-04-197-448/+488
| | | | | | | | | | * camel-data-wrapper.[ch]: * camel-simple-data-wrapper.[ch]: * camel-medium.[ch]: Clean, polish, document. Most of the gtk-doc comments added to camel-data-wrapper.c note serious problems that need to be fixed. svn path=/trunk/; revision=2483
* more translations (still very incomplete)Vincent Renardias2000-04-183-9/+12
| | | | | | * more translations (still very incomplete) svn path=/trunk/; revision=2482
* initial setup.Vincent Renardias2000-04-182-1/+566
| | | | | | * initial setup. svn path=/trunk/; revision=2481
* Updated Norwegian translation.Kjartan Maraas2000-04-182-24/+93
| | | | | | | | 2000-04-18 Kjartan Maraas <kmaraas@online.no> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=2480
* Remove the "session" field from CamelMimeMessage. Nothing uses it, aboutDan Winship2000-04-1815-21/+32
| | | | | | | | | | | | * camel-mime-message.[ch]: Remove the "session" field from CamelMimeMessage. Nothing uses it, about half of the existing calls to camel_mime_message_new_with_session pass NULL, and there's no obvious reason for it to be there. * others: Use camel_mime_message_new instead of camel_mime_message_new_with_session svn path=/trunk/; revision=2479
* Require gnome-xml 1.8.7 (or later, but not 2.0). xmlParseMemory's behaviorDan Winship2000-04-182-0/+16
| | | | | | | | * configure.in (xmlpatch): Require gnome-xml 1.8.7 (or later, but not 2.0). xmlParseMemory's behavior in 1.8.7 is incompatible with its behavior in 1.8.6 and earlier. svn path=/trunk/; revision=2478
* Set the exception if no provider is found.Dan Winship2000-04-182-1/+8
| | | | | | | * camel-session.c (get_store_for_protocol_with_url): Set the exception if no provider is found. svn path=/trunk/; revision=2477
* Started ChangeLog here - FedericoFederico Mena Quintero2000-04-181-0/+3
| | | | svn path=/trunk/; revision=2476
* We have a new "last_calendar_gone" signal that Wombat can use to terminateFederico Mena Quintero2000-04-184-3/+40
| | | | | | | | | | | | | | | | | | 2000-04-16 Federico Mena Quintero <federico@helixcode.com> * pcs/cal-factory.h (CalFactoryClass): We have a new "last_calendar_gone" signal that Wombat can use to terminate itself properly. * pcs/cal-factory.c (cal_factory_class_init): Register the "last_calendar_gone" signal. (backend_destroy_cb): Emit the "last_calendar_gone" signal instead of killing the factory. * pcs/Makefile.am: Added $(CORBA_GENERATED) to BUILT_SOURCES. (INCLUDES): Make the log domain be "wombat-pcs". svn path=/trunk/; revision=2475
* Add code to encode and decode %-escapes in URLs, and do some additionalDan Winship2000-04-182-21/+120
| | | | | | | | | | 2000-04-17 Dan Winship <danw@helixcode.com> * camel-url.c: Add code to encode and decode %-escapes in URLs, and do some additional correctness-checking on URL syntax. From Tiago Antào with modifications by me. svn path=/trunk/; revision=2474
* New program to test CamelURLDan Winship2000-04-183-0/+42
| | | | | | * tests/test-url.c: New program to test CamelURL svn path=/trunk/; revision=2473
* *** empty log message ***Seth Alves2000-04-181-1/+8
| | | | svn path=/trunk/; revision=2472
* removed implicit save, since we don't want to save as we load from disk.Seth Alves2000-04-181-1/+2
| | | | | | | | | * pcs/cal-backend.c (add_object): removed implicit save, since we don't want to save as we load from disk. (cal_backend_update_object): added a call to save, since it isn't done by add_object now. svn path=/trunk/; revision=2471
* new function, actually calls select_msg. (on_row_selection_cmd): registerChris Toshok2000-04-173-5/+33
| | | | | | | | | | | | | | * message-list.c (on_row_selection_idle): new function, actually calls select_msg. (on_row_selection_cmd): register an idle instead of calling select_msg directly. this fixes the lag before the row is selected - selection is instantaneous now, with message loading happening afterward. * message-list.h: add row_to_select and an idle_id to the message list to make the select_msg call happen in an idle func. svn path=/trunk/; revision=2470
* no more e_cell_set_editable. this info always comes from the model.Chris Toshok2000-04-172-3/+5
| | | | | | | * message-list.c (message_list_init_renderers): no more e_cell_set_editable. this info always comes from the model. svn path=/trunk/; revision=2469
* add table-size-testChris Toshok2000-04-1714-56/+573
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (noinst_PROGRAMS): add table-size-test * .cvsignore: add table-size-test. * e-cell-text.c (ect_ecent): use e_table_model_is_cell_editable instead of E_CELL_EDITABLE. * e-cell-toggle.c (etog_event): same. * e-cell.c (e_cell_init): don't call e_cell_set_editable. that info comes from the model. (e_cell_set_editable): removed function. * e-cell.h: remove the E_CELL_EDITABLE flag. that should be retrieved from the model. also, remove the prototype for e_cell_set_editable. * e-table-size-test.c: new file, for a stress test of sorts, of a large, uneditable e-table. svn path=/trunk/; revision=2468
* Updated - FedericoFederico Mena Quintero2000-04-171-4/+0
| | | | svn path=/trunk/; revision=2467
* No longer needed - FedericoFederico Mena Quintero2000-04-171-55/+0
| | | | svn path=/trunk/; revision=2466
* #include <tree.h>. people never learn.Mathieu Lacage2000-04-171-1/+1
| | | | svn path=/trunk/; revision=2465
* Added orginizational unit, nickname, and internet free-busy fields.Christopher James Lahey2000-04-179-6/+218
| | | | | | | | | | | | | | | | 2000-04-16 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/backend/ebook/test-card.c, addressbook/backend/pas/pas-backend-file.c, addressbook/contact-editor/e-contact-editor.c: Added orginizational unit, nickname, and internet free-busy fields. * addressbook/contact-editor/contact-editor.glade: Renamed some incorrectly named fields. svn path=/trunk/; revision=2464
* Propagate mouse wheel events upwards.Anders Carlsson2000-04-175-26/+42
| | | | | | | | | | | | 2000-04-16 Anders Carlsson <andersca@gnu.org> * e-table-item.c (eti_event): Propagate mouse wheel events upwards. * e-table.c (et_real_construct): Use a GtkScrolledWindow here instead of a GtkScrollbar, since it makes mouse wheel scrolling much easier. svn path=/trunk/; revision=2463
* Removed spurious calendar directories from the include path. AddedFederico Mena Quintero2000-04-173-14/+38
| | | | | | | | | | | | | | | | | | 2000-04-16 Federico Mena Quintero <federico@helixcode.com> * Makefile.am (INCLUDES): Removed spurious calendar directories from the include path. Added "wombat" log domain for glib. (wombat_LDADD): Link libpcs.a instead of the old shared library. * wombat.c: cal-factory.h is an internal include file. * wombat.c (setup_pcs): We should NOT share a CORBA_environment across all functions! Use our own CORBA_environment. (init_bonobo): Use our own CORBA_environment. Free the exception after initializing GOAD, and present some error messages if necessary. (Should g_message()s for exceptional situations be marked for translation?). svn path=/trunk/; revision=2462
* Renamed library from libcalutil to libcal-util, to be consistent withFederico Mena Quintero2000-04-1733-308/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-16 Federico Mena Quintero <federico@helixcode.com> * cal-util/Makefile.am: Renamed library from libcalutil to libcal-util, to be consistent with libcal-client. Install header files in $(includedir)/evolution/cal-util. (INCLUDES): Add "cal-util" log domain for glib. (libcal_clientincludedir): The header files are now installed in $(includedir)/evolution/cal-client. * cal-util/cal-util.h: Fix includes. * cal-client/client-test.c: Fix includes. * pcs/Makefile.am: Create libpcs.a, not a shared library, because it is for internal use by Wombat only. The header files should not be installed, either. Removed all the old Tlacuache stuff. * gui/Makefile.am (EXTRA_DIST): We no longer distribute gncal.desktop. (evolution_calendar_INCLUDES): Add "calendar-gui" for the glib log domain. * gui/*.[ch]: Fix cal-util and cal-client includes. * pcs/Makefile.am (INCLUDES): Added "pcs" log domain for glib. * pcs/*.[ch]: Fix cal-util includes. svn path=/trunk/; revision=2461
* Shut up CVSAnders Carlsson2000-04-171-0/+7
| | | | svn path=/trunk/; revision=2460
* added buttons to test moving/reordering groups.Damon Chaplin2000-04-167-1866/+154
| | | | | | | | | | | | | | | | | | | 2000-04-16 Damon Chaplin <damon@helixcode.com> * test-shortcut-bar.c: added buttons to test moving/reordering groups. * e-shortcut-bar.c (e_shortcut_bar_on_drag_end): new function to free the dragged name & URL when the drag is finished. * e-group-bar.c (e_group_bar_get_increment): fixed bug when distance was 0. Should just return 0. (e_group_bar_set_current_group_num): added animate option and finished. (e_group_bar_unmap): called e_group_bar_stop_all_animation(). (e_group_bar_reorder_group): finished. * e-icon-bar-text-item.[hc]: removed, since we now use EText. svn path=/trunk/; revision=2459
* Added orginization and role fields.Christopher James Lahey2000-04-1615-185/+445
| | | | | | | | | | | | | | | | | | | | | | | 2000-04-16 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/backend/ebook/test-card.c, addressbook/backend/pas/pas-backend-file.c, addressbook/gui/minicard/e-minicard.c: Added orginization and role fields. * addressbook/contact-editor/contact-editor.glade, addressbook/contact-editor/e-contact-editor-strings.h: Renamed some incorrectly named fields. * addressbook/contact-editor/e-contact-editor.c: Added orginization and role fields as well as hooking up the birth date field. * addressbook/gui/minicard/e-minicard-view.c: Added a missing include. svn path=/trunk/; revision=2458
* + * C/evo_book_0.1.sgml: new file (doc sgml)Aaron Weber2000-04-164-0/+910
| | | | | | | + + * C/ : New directory for doc sgml & graphics svn path=/trunk/; revision=2457
* Add realize. (e_canvas_realize): Set the back pixmap to NULL to reduceAnders Carlsson2000-04-163-8/+33
| | | | | | | | | 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
* + * addressbook/gui/component/addressbook.cMatthew Loper2000-04-165-7/+109
| | | | | | | | | | | | | | | | + (search_entry_activated): New function. Gets called when the quick + search entry is called on to perform a search. + (make_quick_search_widget): New function; returns a "quick search" + widget. + (control_activate): During the construction of the toolbar, a + "quick search" widget is included. + + * e-table.c (et_xml_to_header): sanity-check our parameters. + (et_grouping_xml_to_sort_info): same. + (et_real_construct): Bail if we couldn't get the children we + wanted. svn path=/trunk/; revision=2455
* Updated russian translation.Valek Frob2000-04-162-50/+108
| | | | svn path=/trunk/; revision=2454
* Do not use the parent thingie, because it might be like anything. AndMiguel de Icaza2000-04-152-1/+5
| | | | | | | | | | 2000-04-15 Miguel de Icaza <miguel@gnu.org> * e-group-bar.c (e_group_bar_realize): Do not use the parent thingie, because it might be like anything. And anything can be like any visual, and we dont like want any visual here. svn path=/trunk/; revision=2453
* Apply some loving action when it comes to visuals and colormaps. Yes, weMiguel de Icaza2000-04-151-2/+11
| | | | | | | | | | | | | | | | | | | | 2000-04-15 Miguel de Icaza <miguel@gnu.org> * e-shortcut-bar.c (e_shortcut_bar_add_group): Apply some loving action when it comes to visuals and colormaps. Yes, we got one of those machines --again--. Sigh. This is what you get when you have been away from the Indy. The whole thing is breaking left and right. Hopefully, Gtk 1.4 fixes all of this, by always running in the slowest visual it can find. 2000-04-11 Larry Ewing <lewing@helixcode.com> * e-icon-bar.c (flatten_alpha): update for new gdk-pixbuf. svn path=/trunk/; revision=2452
* Add our own ChangeLogMiguel de Icaza2000-04-151-0/+119
| | | | svn path=/trunk/; revision=2451
* *** empty log message ***Miguel de Icaza2000-04-151-100/+0
| | | | svn path=/trunk/; revision=2450
* Updated Danish filePablo Saratxaga2000-04-151-25/+7
| | | | svn path=/trunk/; revision=2449
* add nntpChris Toshok2000-04-152-1/+5
| | | | | | * providers/Makefile.am (SUBDIRS): add nntp svn path=/trunk/; revision=2448
* Fix switch statement.Christopher James Lahey2000-04-152-3/+7
| | | | | | | | 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * providers/mbox/camel-mbox-folder.c: Fix switch statement. svn path=/trunk/; revision=2447
* add test12Chris Toshok2000-04-154-1/+76
| | | | | | | | | | * tests/.cvsignore: add test12 * tests/test12.c (main): add test for nntp stuff. * tests/Makefile.am (noinst_PROGRAMS): same. svn path=/trunk/; revision=2446
* always return TRUE for now. we need to check the server response to makeChris Toshok2000-04-153-48/+172
| | | | | | | | | | | | | | | | | * providers/nntp/camel-nntp-folder.c (_exists): always return TRUE for now. we need to check the server response to make sure the group exists. (_get_message_by_uid): make sure to account for the \n we add to the string after every line. * providers/nntp/camel-nntp-utils.c (get_XOVER_headers): function to get the headers using the XOVER command. (get_HEAD_headers): function to get the headers using the HEAD command on each message. slooooooow. (camel_nntp_get_headers): make this function use either XOVER or HEAD versions depending on whether or not the server extension is present. svn path=/trunk/; revision=2445
* Added a note field.Christopher James Lahey2000-04-1510-26/+86
| | | | | | | | | | | | | | | | | | | 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
* Added a row height cache.Christopher James Lahey2000-04-155-4/+128
| | | | | | | | 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * e-table-item.c, e-table-item.h: Added a row height cache. svn path=/trunk/; revision=2443
* Make `e_table_construct()' work by passing the correct size argumentEttore Perazzoli2000-04-153-2/+7
| | | | | | to `xmlParseMemory()'. svn path=/trunk/; revision=2442
* Fix compilation with builddir != srcdir (again).Ettore Perazzoli2000-04-1511-11/+46
| | | | svn path=/trunk/; revision=2441
* remove test-formatterDan Winship2000-04-152-92/+0
| | | | svn path=/trunk/; revision=2440
* packed their bags and moved to ../mail/Dan Winship2000-04-152-1168/+0
| | | | svn path=/trunk/; revision=2439
* Moved from camel/camel-formatter, and changed slightly. (More to come.)Dan Winship2000-04-158-239/+893
| | | | | | | | | | | | | | 2000-04-14 Dan Winship <danw@helixcode.com> * mail-format.[ch]: Moved from camel/camel-formatter, and changed slightly. (More to come.) * html-stream.[ch]: No longer necessary. mail-format uses GtkHTMLStreamHandles directly. * mail-display.[ch]: update for new message formatting code. svn path=/trunk/; revision=2438
* 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
* This didn't belong in Camel. Move to mail/Dan Winship2000-04-153-3/+7
| | | | | | | | | | | 2000-04-14 Dan Winship <danw@helixcode.com> * camel-formatter.[ch]: This didn't belong in Camel. Move to mail/ * Makefile.am, camel-types.h: remove references to camel-formatter. svn path=/trunk/; revision=2436
* 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
* [This was accidentally not committed with its ChangeLog entry somehow...]Dan Winship2000-04-151-3/+14
| | | | | | | * camel-provider.h: Clarify what provider.protocol, provider.name, and provider.description should be. svn path=/trunk/; revision=2434
* add XXX so i can find this hardcoded string later.Chris Toshok2000-04-151-0/+1
| | | | svn path=/trunk/; revision=2433
* okay. working now.Chris Toshok2000-04-153-16/+77
| | | | svn path=/trunk/; revision=2432
* Switch the parent object to be a GtkTable. (et_real_construct): applyMiguel de Icaza2000-04-155-24/+65
| | | | | | | | | | | 2000-04-14 Miguel de Icaza <miguel@gnu.org> * e-table.c, e-table.h: Switch the parent object to be a GtkTable. (et_real_construct): apply massaging and some loving action to make the thing behave as a GtkTable. (e_table_init): More love. svn path=/trunk/; revision=2431
* initial import of nntp store.Chris Toshok2000-04-1511-0/+2014
| | | | svn path=/trunk/; revision=2430
* don't ldap_simple_bind_s if the ldap_open failed, and fix warnings.Chris Toshok2000-04-152-44/+63
| | | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-ldap.c (pas_backend_ldap_ensure_connected): don't ldap_simple_bind_s if the ldap_open failed, and fix warnings. (pas_backend_ldap_build_all_cards_list): don't do search if the ensure_connected failed, and fix warnings. (pas_backend_ldap_search): same. (poll_ldap): fix warnings. (pas_backend_ldap_process_get_book_view): same. (pas_backend_ldap_get_vcard): same. (pas_backend_ldap_load_uri): same. svn path=/trunk/; revision=2429
* quiet configure in the case where it can't find ldap libs.Chris Toshok2000-04-152-3/+8
| | | | | | | * configure.in: quiet configure in the case where it can't find ldap libs. svn path=/trunk/; revision=2428
* use gnome_app_fill_toolbar_with_data, so we get the beautiful gnomeChris Toshok2000-04-152-36/+36
| | | | | | | | * folder-browser-factory.c (control_activate): use gnome_app_fill_toolbar_with_data, so we get the beautiful gnome toolbar. svn path=/trunk/; revision=2427
* use BONOBO_VFS_GNOME_LIBS instead of BONOBO_HTML_GNOME_LIBS. fixesChris Toshok2000-04-152-1/+6
| | | | | | | * Makefile.am (wombat_LDADD): use BONOBO_VFS_GNOME_LIBS instead of BONOBO_HTML_GNOME_LIBS. fixes freebsd's problem running wombat. svn path=/trunk/; revision=2426
* Fix up the warning message a bit. (folder_browser_factory): Make theDan Winship2000-04-142-9/+16
| | | | | | | | * folder-browser-factory.c (development_warning): Fix up the warning message a bit. (folder_browser_factory): Make the warning bypassable. svn path=/trunk/; revision=2425
* Added russian translation.Valek Frob2000-04-141-0/+2
| | | | svn path=/trunk/; revision=2424
* Must pass "object" for the kind to goad_server_register(); "server" isFederico Mena Quintero2000-04-144-38/+56
| | | | | | | | | | | | | | | | 2000-04-14 Federico Mena Quintero <federico@helixcode.com> * wombat.c (setup_pcs): Must pass "object" for the kind to goad_server_register(); "server" is meaningless. (setup_pcs): Do not free the CORBA environment more than once. Also, fix error messages. * wombat.gnorba: The GOAD ID is "evolution:calendar-factory", not "evolution:calendar-server". * ChangeLog: Started the ChangeLog for Wombat. svn path=/trunk/; revision=2423
* Check for 0 length fields when building the outgoing ECard.Christopher James Lahey2000-04-133-76/+117
| | | | | | | | | 2000-04-13 Christopher James Lahey <clahey@helixcode.com> * addressbook/contact-editor/e-contact-editor.c (extract_info): Check for 0 length fields when building the outgoing ECard. svn path=/trunk/; revision=2422
* Give correct warnings.Christopher James Lahey2000-04-133-6/+13
| | | | | | | | | | | 2000-04-13 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/pas/pas-book-view.c: Give correct warnings. * addressbook/backend/ebook/e-card.c (e_card_set_arg): g_strdup url and title. svn path=/trunk/; revision=2421
* reflect the title attribute in the contact editor. (extract_info): same.Chris Toshok2000-04-133-0/+30
| | | | | | | | * addressbook/contact-editor/e-contact-editor.c (fill_in_info): reflect the title attribute in the contact editor. (extract_info): same. svn path=/trunk/; revision=2420
* add the title attribute.Chris Toshok2000-04-132-0/+3
| | | | | | * addressbook/backend/pas/pas-backend-ldap.c: add the title attribute. svn path=/trunk/; revision=2419
* add a title.Chris Toshok2000-04-135-0/+23
| | | | | | | | | * addressbook/gui/minicard/test-reflow.c: add a title. * addressbook/gui/minicard/e-minicard.c (remodel): add support for the title attribute. svn path=/trunk/; revision=2418
* save out the title to the vcard.Chris Toshok2000-04-132-1/+7
| | | | | | | * addressbook/backend/ebook/e-card.c (e_card_get_vcard): save out the title to the vcard. svn path=/trunk/; revision=2417
* add title field foo to the test.Chris Toshok2000-04-134-2/+43
| | | | | | | | | | | * addressbook/backend/ebook/test-card.c: add title field foo to the test. * addressbook/backend/ebook/e-card.c: reflect the title field. * addressbook/backend/ebook/e-card.h: un-#if 0 the title field. svn path=/trunk/; revision=2416
* make sure to g_source_remove the idle id.Chris Toshok2000-04-132-0/+3
| | | | | | | * addressbook/backend/pas/pas-backend-ldap.c (view_destroy): make sure to g_source_remove the idle id. svn path=/trunk/; revision=2415
* new function that polls ldap for more search responses.Chris Toshok2000-04-132-73/+106
| | | | | | | | | * addressbook/backend/pas/pas-backend-ldap.c (poll_ldap): new function that polls ldap for more search responses. (pas_backend_ldap_search): use the async search interface and register an idle call to poll for the responses. svn path=/trunk/; revision=2414
* Remove test for source. We will fix this later.Miguel de Icaza2000-04-133-31/+30
| | | | | | | | | 2000-04-12 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c (ethi_drag_motion): Remove test for source. We will fix this later. svn path=/trunk/; revision=2413
* rework this function to use a table mapping search field names to vcardChris Toshok2000-04-133-65/+150
| | | | | | | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (entry_compare): rework this function to use a table mapping search field names to vcard properties and extra information (such as whether or not the property is a list.) * addressbook/backend/pas/pas-backend-ldap.c (construct_email_list): new function, to build the ECardList for email addresses. (construct_phone_list): new function, to build the ECardList for phone numbers. (pas_backend_ldap_search): use a table mapping ldap attributes to ecard properties, and use the special list construction functions if the property calls for it. general cleanup. added a comment about not calling ber_free if there was a decoding error. svn path=/trunk/; revision=2411
* Updated Danish filePablo Saratxaga2000-04-132-180/+76
| | | | svn path=/trunk/; revision=2410
* Debug function to dump the whole index to stdout.NotZed2000-04-125-31/+82
| | | | | | | | | | | | | | | | | | | | | | | | 2000-04-12 NotZed <NotZed@HelixCode.com> * find.c (ibex_dump_all): Debug function to dump the whole index to stdout. * words.c (get_ibex_file): Use g_strdup(), not strdup(). 2000-04-11 NotZed <NotZed@HelixCode.com> * file.c (write_word): Always write out all words we have (even if its 0 ... the file expects it). No longer check for removed files. (store_word): Check for removed files here, and only add to the ordered tree if we have references left to this word. (ibex_write): First insert into the tree, to determine the wordcount to be saved in the output file, and then write that. (ibex_open): Remove some debug. * words.c (ibex_index_buffer): Always set 'unread', if it is a valid pointer (dont rely on caller to initialise it). svn path=/trunk/; revision=2409
* + * art/Makefile.am: Add tigert's contact-dlg-related images.Matthew Loper2000-04-1210-14/+54
| | | | | | | | | | | | | | | | + + * addressbook/contact-editor/e-contact-editor.c (_add_images): Add + tigert's images. + + * addressbook/contact-editor/Makefile.am: add EVOLUTION_IMAGES. + + * camel-folder-pt-proxy.c (_folder_open_cb): Print warning message + for broken function. + (_folder_close_cb): Same. + + * filter-arg.c (filter_arg_edit_value): Return a value. svn path=/trunk/; revision=2408
* Kids, it's candy day. new icons. /tigertTuomas Kuosmanen2000-04-127-0/+7
| | | | svn path=/trunk/; revision=2407
* delay the setting of the ldap variable until we've ensured we wereChris Toshok2000-04-122-11/+43
| | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-ldap.c (pas_backend_ldap_build_all_cards_list): delay the setting of the ldap variable until we've ensured we were connected. Also, set the search limit to LDAP_MAX_SEARCH_RESPONSES (we'll eventually want a user setting here i assume.) (pas_backend_ldap_search): same here, and also send back lists of CARDS_PER_VIEW_NOTIFICATION length in each pas_book_view_notify_add call. also, don't call ber_free if there was a decoding error, since the ldap library frees it for us. svn path=/trunk/; revision=2406
* Reset resize_guide here.Miguel de Icaza2000-04-123-10/+10
| | | | | | | | 2000-04-12 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c (ethi_end_resize): Reset resize_guide here. svn path=/trunk/; revision=2405
* Fix the embarassing cursor bug.Miguel de Icaza2000-04-127-3/+22
| | | | | | Fix the embarassing cursor bug. svn path=/trunk/; revision=2404
* Properly use AC_ARG_WITHMiguel de Icaza2000-04-122-5/+21
| | | | | | | | 2000-04-11 Miguel de Icaza <miguel@gnu.org> * configure.in (have_pthread): Properly use AC_ARG_WITH svn path=/trunk/; revision=2403
* add HAVE_LDAP here.Chris Toshok2000-04-121-0/+1
| | | | svn path=/trunk/; revision=2402
* add LDAP_LIBS here.Chris Toshok2000-04-126-86/+538
| | | | | | | | | | | | | | | | | | * wombat/Makefile.am (wombat_LDADD): add LDAP_LIBS here. * configure.in: check for -lldap and -llber and if both are present include ldap support in the pas/wombat. * addressbook/backend/pas/Makefile.am (libpas_la_SOURCES): include pas-backend.ldap.c if ENABLE_LDAP. * addressbook/backend/pas/pas-backend-ldap.c: get searching working (converting between the sexp and ldap stuff.) * wombat/wombat.c (setup_pas): register the ldap pas backend if HAVE_LDAP is defined. svn path=/trunk/; revision=2401
* Changed AC_DEFUN to AC_DEFINE.Christopher James Lahey2000-04-123-3/+10
| | | | | | | | | | 2000-04-11 Christopher James Lahey <clahey@helixcode.com> * configure.in: Changed AC_DEFUN to AC_DEFINE. * acconfig.h: Added HAVE_TIMEZONE and HAVE_TM_GMTOFF. svn path=/trunk/; revision=2400
* use HAVE_TIMEZONE to switch between linux's timezone variable and *bsd'sChris Toshok2000-04-123-4/+32
| | | | | | | | * pcs/icalendar.c (icaltime_to_timet): use HAVE_TIMEZONE to switch between linux's timezone variable and *bsd's method of getting the gmt offset. svn path=/trunk/; revision=2399
* check for timezone as a variable (as it is in linux, but not in freebsd orChris Toshok2000-04-122-0/+30
| | | | | | | * configure.in: check for timezone as a variable (as it is in linux, but not in freebsd or netbsd.) svn path=/trunk/; revision=2398
* you need the latest gdk-pixbuf to build evolution now.Larry Ewing2000-04-124-122/+110
| | | | | | | | | | | | | | | you need the latest gdk-pixbuf to build evolution now. 2000-04-11 Larry Ewing <lewing@helixcode.com> * widgets/e-table/e-cell-toggle.c (etog_draw): update for new gdk-pixbuf. Added a disabled chuck of code to do alpha blending on pixmaps. * widgets/shortcut-bar/e-icon-bar.c (flatten_alpha): update for new gdk-pixbuf. svn path=/trunk/; revision=2397
* Moved some logic a bit. Minor changes.Christopher James Lahey2000-04-123-16/+6
| | | | | | | | 2000-04-11 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Moved some logic a bit. Minor changes. svn path=/trunk/; revision=2396
* free the esexp_result. (entry_compare): we want comparison functions toChris Toshok2000-04-122-1/+5
| | | | | | | | * addressbook/backend/pas/pas-backend-file.c (vcard_matches_search): free the esexp_result. (entry_compare): we want comparison functions to take 2 args. svn path=/trunk/; revision=2395
* e-text.c: Recalc bounds when changing the width/clip_widthiholmes2000-04-123-7/+59
| | | | | | | | forward clicks on the tooltip to the pareent item tooltip obeys parents line_wrap and max_lines e_text_point returns 0 when pointer is on the item svn path=/trunk/; revision=2394
* new function for searching all email addresses of a contact.Chris Toshok2000-04-122-7/+95
| | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (compare_email): new function for searching all email addresses of a contact. (compare_phone): new function for searching all phone numbers of a contact. (compare_address): new function for searching all addresses of a contact (unimplemented as yet). (entry_compare): add support for searching the list items "email", "phone" and "address". svn path=/trunk/; revision=2393
* new function, taking code from func_contains to get string properties.Chris Toshok2000-04-112-12/+105
| | | | | | | | | | | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (get_e_card_prop): new function, taking code from func_contains to get string properties. (entry_compare): new function generic, taking strstr-like function as a parameter. (func_contains): rewrite function to use entry_compare. (is_helper): new helper function to map strcmp to a strstr-like function. (func_is): new function, implementing "is" for searches. (endswith_helper): new function. (func_endswith) new function, implementing "endswith" for searches. (beginswith_helper): new function. (func_beginswith): new function, implementing "beginswith" for searches. svn path=/trunk/; revision=2392
* Add filesMiguel de Icaza2000-04-114-0/+84
| | | | svn path=/trunk/; revision=2391
* Add group indent width here. (is_pointer_on_division): Use the groupMiguel de Icaza2000-04-119-62/+251
| | | | | | | | | | | | | | | | | | | | | | | 2000-04-11 Miguel de Icaza <miguel@helixcode.com> * e-table-header-item.c (ethi_add_destroy_marker): Add group indent width here. (is_pointer_on_division): Use the group indent here, so the resize pointer is shown at the correct time. (TOLERANCE): Bump it up to 3 (draw_button): Do not paint an arrow if there is an icon present, and not enough space to paint. 2000-04-10 Miguel de Icaza <miguel@helixcode.com> * e-table-header-item.c (make_shapped_window_from_xpm): New routine, creates a shapped mask window from an xpm buffer. (ethi_add_drop_marker): New version, uses shaped windows instead of canvas items to signal the drop location. (ethi_maybe_start_drag): Disable dragging if there is only one column left. svn path=/trunk/; revision=2390
* This was setting E_REFLOW(view)->items to NULL too soon. Fixed now.Christopher James Lahey2000-04-113-6/+9
| | | | | | | | | 2000-04-11 Christopher James Lahey <clahey@helixcode.com> * addressbook/gui/minicard/e-minicard-view.c: This was setting E_REFLOW(view)->items to NULL too soon. Fixed now. svn path=/trunk/; revision=2389
* remove spew. (pas_backend_file_process_create_card): move the sync to theChris Toshok2000-04-112-14/+22
| | | | | | | | | | | | * addressbook/backend/pas/pas-backend-file.c (pas_backend_file_search): remove spew. (pas_backend_file_process_create_card): move the sync to the earliest possible point after the db operation. (pas_backend_file_process_remove_card): same. (pas_backend_file_process_modify_card): same, and call pas_book_respond_modify, not pas_book_respond_remove, here. svn path=/trunk/; revision=2388
* new function. (delete_contact_cb): wire up button to callChris Toshok2000-04-114-9/+34
| | | | | | | | | | | | | * addressbook/gui/component/addressbook.c (card_deleted_cb): new function. (delete_contact_cb): wire up button to call e_minicard_view_remove_selection. * addressbook/gui/minicard/e-minicard-view.c (e_minicard_view_remove_selection): fix warning, and stick "view" in the name. svn path=/trunk/; revision=2387
* Changed some incorrect gtk_object_refs and gtk_object_unrefs intoChristopher James Lahey2000-04-1111-5/+88
| | | | | | | | | | | | | | | | | | | | | | 2000-04-10 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-book-view.c, addressbook/backend/ebook/e-book.c: Changed some incorrect gtk_object_refs and gtk_object_unrefs into bonobo_object_refs and bonobo_object_unrefs. * addressbook/backend/pas/pas-card-cursor.c: Changed a gtk_object_destroy to a gtk_object_unref. * addressbook/gui/minicard/e-minicard-view.c, addressbook/gui/minicard/e-minicard-view.h: Set a list pointer to NULL after freeing its contents. Added e_minicard_view_remove_selection function. * addressbook/gui/minicard/e-reflow.c: Set a list pointer to NULL after freeing its contents. svn path=/trunk/; revision=2386
* Drop frozen count support from here. (ethi_start_drag): ditto.Miguel de Icaza2000-04-1112-45/+17
| | | | | | | | | | | | 2000-04-10 Miguel de Icaza <miguel@gnu.org> * e-table-header-item.c (ethi_drag_motion): Drop frozen count support from here. (ethi_start_drag): ditto. * e-table-header.h: Kill frozen_count. svn path=/trunk/; revision=2385
* implement braindead dialog to input the query string for the view.Chris Toshok2000-04-114-9/+55
| | | | | | | | | | | | | * addressbook/gui/component/addressbook.c (find_contact_cb): implement braindead dialog to input the query string for the view. also, change all callbacks to get the EMinicardView instead of the EBook. * addressbook/gui/minicard/e-minicard-view.c (e_minicard_view_get_arg): add missing break. svn path=/trunk/; revision=2384
* Added a "query" argument to the e-minicard-view. Documented all theChristopher James Lahey2000-04-115-44/+95
| | | | | | | | | | | 2000-04-10 Christopher James Lahey <clahey@helixcode.com> * addressbook/gui/minicard/e-minicard-view.c, addressbook/gui/minicard/e-minicard-view.h: Added a "query" argument to the e-minicard-view. Documented all the arguments to the e-minicard-view. svn path=/trunk/; revision=2383
* change the empty search string ("") to the valid (contains "full_name"Chris Toshok2000-04-116-81/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * addressbook/gui/minicard/e-minicard-view.c (get_view): change the empty search string ("") to the valid (contains "full_name" ""). * wombat/Makefile.am (wombat_LDADD): reorder so libeutil.la comes after libpas (since it uses the sexp stuff now.) * addressbook/backend/pas/Makefile.am (INCLUDES): add -I$(top_srcdir)/addressbook/backend/ebook * addressbook/backend/pas/pas-backend-file.c (view_destroy): free the search context and unref the sexp. (string_to_dbt): save the zero byte of strings, so we don't have to g_strndup everywhere. (func_contains): new function, implementing the (contains) search function. (vcard_matches_search): generic predicate to tell whether or not a vcard entry matches the current book view. (pas_backend_file_search): rip some of this code out of get_book_view (the portion building the list of cards) and make it use the e-sexp stuff. (pas_backend_file_process_create_card): use vcard_matches_search to only notify if the card will appear in the view. (pas_backend_file_process_remove_card): use vcard_matches_search to only notify if the card will be removed from the view. (pas_backend_file_process_modify_card): use vcard_matches_search to notify if the modified card was added, removed, or changed in the view. svn path=/trunk/; revision=2382
* Update to support --disable-threads correctly.Miguel de Icaza2000-04-112-2/+11
| | | | | | | | | 2000-04-10 Miguel de Icaza <miguel@gnu.org> * configure.in (GNOME_PRINT_CFLAGS): Update to support --disable-threads correctly. svn path=/trunk/; revision=2381
* Updated Norwegian translation.Kjartan Maraas2000-04-112-42/+29
| | | | | | | | 2000-04-10 Kjartan Maraas <kmaraas@online.no> * no.po: Updated Norwegian translation. svn path=/trunk/; revision=2380
* *** empty log message ***Seth Alves2000-04-111-0/+5
| | | | svn path=/trunk/; revision=2379
* create and save an actual vcalendar instead of a list of vcal objects.Seth Alves2000-04-111-40/+56
| | | | | | | * pcs/cal-backend.c (save_to_vcal): create and save an actual vcalendar instead of a list of vcal objects. svn path=/trunk/; revision=2378
* Added proper keyboard focus handling.Christopher James Lahey2000-04-113-2/+30
| | | | | | | | 2000-04-10 Christopher James Lahey <clahey@helixcode.com> * e-canvas.c: Added proper keyboard focus handling. svn path=/trunk/; revision=2377
* fix various bugs in APOP code (still untested) and some of the errorDan Winship2000-04-112-22/+33
| | | | | | | * 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
* use view != NULL instead of checking db_error when we callChris Toshok2000-04-112-1/+7
| | | | | | | | * 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
* check for mkstempDan Winship2000-04-112-0/+5
| | | | | | * configure.in: check for mkstemp svn path=/trunk/; revision=2374
* Fix a bug introduced in the gnome-pilot-config to "gnome-config gpilot"Dan Winship2000-04-112-3/+13
| | | | | | | | * 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
* Clarify what provider.protocol, provider.name, and provider.descriptionDan Winship2000-04-115-9/+34
| | | | | | | | | | | | | * 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
* moved srcdir directories to the top so we search headers in the evolutionDamon Chaplin2000-04-112-3/+11
| | | | | | | | | | | | 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
* added AC_PROG_MAKE_SET.Damon Chaplin2000-04-112-0/+5
| | | | | | | | 2000-04-10 Damon Chaplin <damon@helixcode.com> * configure.in: added AC_PROG_MAKE_SET. svn path=/trunk/; revision=2363
* removed libical stuff since it has its own configure.in.Damon Chaplin2000-04-112-4/+5
| | | | | | | | | 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
* Add some #includes for the non-HAVE_MKSTEMP caseDan Winship2000-04-102-0/+7
| | | | | | * mail-ops.c: Add some #includes for the non-HAVE_MKSTEMP case svn path=/trunk/; revision=2361
* Fixed a bug where I was sending the wrong information to some callbacks.Christopher James Lahey2000-04-1017-298/+662
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* use camel_movemail when fetching mail from an mbox store. This leavesDan Winship2000-04-102-14/+84
| | | | | | | | | | * 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
* implement get_message_by_number for the mail fetch code.Dan Winship2000-04-102-2/+29
| | | | | | | * 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
* o Reformatted providers/smtp/camel-smtp-transport.c to fit the standardEDT 2000 Jeffrey Stedfast2000-04-102-387/+357
| | | | | | | 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
* New file with new function to dot-lock an mbox file and copy it to a safeDan Winship2000-04-105-0/+305
| | | | | | | * 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
* nat told me to do itSeth Alves2000-04-101-2/+2
| | | | svn path=/trunk/; revision=2354
* + * addressbook/gui/component/addressbook.c (control_activate): MakeMatthew Loper2000-04-104-4/+12
| | | | | | | | | + "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
* catch cal_loaded signal on the cal client. (gnome_calendar_load_cb):Seth Alves2000-04-105-41/+155
| | | | | | | | | | | | | | | | | | | * 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
* + * addressbook/Makefile.am: Compile contact-editor, _then_ gui,Matthew Loper2000-04-107-21/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + 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
* + * addressbook/gui/component/addressbook.c (addressbook_factory):Matthew Loper2000-04-097-17/+51
| | | | | | | | | | | | | | | + 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
* Made the contact editor load from an ECard.Christopher James Lahey2000-04-0913-118/+457
| | | | | | | | | | | | | | | | | 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
* Fixed a small typo.Christopher James Lahey2000-04-092-1/+6
| | | | | | | | | 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
* Separated some functions into an xml bit and a generic bit.Christopher James Lahey2000-04-093-120/+123
| | | | | | | | | 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
* pixmap_DATA should have been images_DATA (after pixmapdir was renamed toDan Winship2000-04-092-3/+7
| | | | | | | * art/Makefile.am: pixmap_DATA should have been images_DATA (after pixmapdir was renamed to imagesdir) svn path=/trunk/; revision=2345
* CVS move mistake. Fixed the correct changes in the correct places.Christopher James Lahey2000-04-0936-2658/+1176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* pixmap_DATA isn't defined so don't use it as a variable.Christopher James Lahey2000-04-0936-173/+1677
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* actually record the pid returned by fork(). Noticed by clahey.Dan Winship2000-04-092-1/+5
| | | | | | | * providers/sendmail/camel-sendmail-transport.c (_send_internal): actually record the pid returned by fork(). Noticed by clahey. svn path=/trunk/; revision=2342
* #include <sys/param.h> for MAXHOSTNAMELEN. (This is a stopgap: some of theDan Winship2000-04-092-0/+7
| | | | | | | | * 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
* new function: friendly wrapper for cal_client_create_calendarSeth Alves2000-04-097-72/+104
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* add SYSTEM_MAIL_DIRDan Winship2000-04-093-1/+17
| | | | | | * configure.in, acconfig.h: add SYSTEM_MAIL_DIR svn path=/trunk/; revision=2338