1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
|
2000-05-01 NotZed <NotZed@HelixCode.com>
* pixmaps.h: Added envelope-deleted state.
* folder-browser-factory.c: Setup callback for actual delete op.
(control_activate): Setup a tool menu item to expnge deleted
messages.
* mail-ops.c (delete_msg): Toggle the delete flag on a message.
(expunge_folder): New function to expunge deleted messages from
the current folder.
* folder-browser.c (folder_browser_gui_init): A hackish little
quick-search entry.
(search_activate): Perform a quick-search on the folder subject
only.
(folder_browser_gui_init): Add an option meny to the search line.
(create_option_menu): Build the option menu from a table.
(search_set): Build a search from another string whent he option
menu or text item is changed. 5 search options are defined so
far.
* message-list.c (get_message_info): If there is an active search,
then get the data from that ... use this instead of
_get_message_info().
(ml_row_count): If we have an active search, get the info from its
result.
(select_msg): Changed to use get_message_info, so searches work.
(ml_value_at): And same here.
(message_list_init_renderers): Added a 3rd state to message_status
= deleted.
(ml_value_at): Show the message state as deleted, if it is marked
for deletion.
(folder_changed): When the folder changes, update the display.
(message_list_set_folder): Connect to the folder_changed event
here.
(message_changed): Callback to update the display when the message
changes.
(select_msg): And connect to the message_changed signal so we know
when it cahgnes.
* mail-display.c: Include missing errno.h.
2000-04-30 Dan Winship <danw@helixcode.com>
* session.c (session_providers_init): This is no longer necessary.
* mail-ops.c (fetch_mail): Remove kludge to load remote provider,
as camel can do it by itself now.
2000-04-29 Dan Winship <danw@helixcode.com>
* mail-display.c (on_link_clicked): Handle clicks on "cid" URLs by
popping up a "Save Attachment" dialog.
* mail-format.c (get_cid): if the part has a Content-Disposition
with a filename specified, record (a sanitized version of) that on
the wrapper when creating the cid reference, so the "save
attachment" code can use it later.
(handle_mystery): fix a bug in the cid generation here.
2000-04-29 Dan Winship <danw@helixcode.com>
* mail-format.c (lookup_handler, etc): Improve the builtin vs
bonobo selection code.
(handle_mystery): Include name and Content-Description in the
"mystery data" info, when available
(handle_unknown_type): Call mail_identify_mime_part before
giving up.
(handle_undisplayable): Split out of handle_unknown_type now
that handle_unknown_type can try alternate viewers.
(handle_via_bonobo): Fall back to handle_undisplayable if the
bonobo control fails.
* mail-identify.c (mail_identify_mime_part): New function to
attempt to identify a MIME part that we can't identify based on
Content-Type alone.
* mail-display.c (on_url_requested): redo the mystery data icon
display stuff less kludgily.
2000-04-28 Dan Winship <danw@helixcode.com>
* mail-format.c (write_recipients_to_stream, write_headers,
mail_generate_reply): Update (minimally) for Camel recipient
changes.
2000-04-28 Ettore Perazzoli <ettore@helixcode.com>
* main.c (init_bonobo): Don't call `init_corba()' and don't get
any args.
(init_corba) [!USING_OAF]: Fix args.
2000-04-27 Ettore Perazzoli <ettore@helixcode.com>
* folder-browser-factory.c: New macro `CONTROL_FACTORY_ID', which
is #defined to a different value according to whether we are
`USING_OAF' or not.
(folder_browser_factory_init): Use `CONTROL_FACTORY_ID'.
* test-mail.c
(init_corba): New helper function, implemented differently
according to `USING_OAF'.
(main): Use `init_corba()'.
* main.c
(init_corba): New helper function, implemented differently
according to `USING_OAF'.
(init_bonobo): Use `init_corba()'.
* Makefile.am: Install OAF stuff if `USING_OAF'. Add
`-I$(datadir)/idl' to the `orbit-idl' command-line so that we can
use Bonobo IDL files installed under our prefix as well. Also,
use `$(ORBIT_IDL)' instead of hardcoded `orbit-idl'.
* evolution-mail.oafinfo: New file.
2000-04-27 Dan Winship <danw@helixcode.com>
* mail-format.c: Move text_to_html to e-util.
* mail-ops.c (send_to_url): New routine. Thin wrapper for
e_msg_composer_new_from_url.
* mail-display.c (on_link_clicked): print a warning for news or
nntp URLs (which we'll deal with some day), and call send_to_url
for mailto URLs.
* mail-format.c (text_to_html): Improve URL conversion code.
Recognize https, recognize "www\..*" without a prefixed "http://".
Properly escape &, <, >, etc in URL strings. Don't be fooled by
"mailto:", "http://", etc with no following data.
2000-04-26 Dan Winship <danw@helixcode.com>
* mail-format.c (text_to_html): Reorganize a bit and add a new
flag, TEXT_TO_HTML_CONVERT_URLS to recognize and wrap URLs
in text.
* mail-display.c (mail_html_new): Add link_clicked signal handler.
(on_link_clicked): Use gnome_url_show to launch a browser.
* mail-format.c: update for CamelStream changes. Update for
CamelMimeBodyPart -> CamelMimePart
2000-04-25 Dan Winship <danw@helixcode.com>
* 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.
* 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.
(setup_function_table): pass unknown text subtypes to
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.
(reply_body): Make this deal better with multiparts.
* 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.
* mail-format.c (text_to_html): add a convert_space_hack flag,
which turns N spaces into N-1 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.)
2000-04-23 Dan Winship <danw@helixcode.com>
* 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.
2000-04-22 Dan Winship <danw@helixcode.com>
* mail-display.c (on_url_requested): Change cid expectations to
match current camel reality.
* main.c (main): call glade_gnome_init, for composer.
* 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.
2000-04-21 Dan Winship <danw@helixcode.com>
* 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.
* 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.
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.
(ml_row_count): Oops, remove some debug i put there.
2000-04-20 Dan Winship <danw@helixcode.com>
* mail-display.c: update for bonobo change, and remove a
now-unused variable.
2000-04-17 Chris Toshok <toshok@helixcode.com>
* 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.
* message-list.c (message_list_init_renderers): no more
e_cell_set_editable. this info always comes from the model.
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.
2000-04-14 Chris Toshok <toshok@helixcode.com>
* folder-browser-factory.c (control_activate): use
gnome_app_fill_toolbar_with_data, so we get the beautiful gnome
toolbar.
2000-04-14 Dan Winship <danw@helixcode.com>
* folder-browser-factory.c (development_warning): Fix up the
warning message a bit.
(folder_browser_factory): Make the warning bypassable.
2000-04-12 Miguel de Icaza <miguel@gnu.org>
* main.c (main): Call e_cursors_init.
2000-04-10 Dan Winship <danw@helixcode.com>
* 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.
* mail-ops.c: Add some #includes for the non-HAVE_MKSTEMP case
2000-04-09 Matt Loper <matt@helixcode.com>
* folder-browser.c (folder_browser_new): set folder_browser->uri
to NULL, so that we know when to free it.
2000-04-07 Miguel de Icaza <miguel@gnu.org>
* message-list.c (states_pixmaps): Add more beautiful art from
Miggue, the Diego Rivera of the next millenium.
(message_list_init_header): Use the beautiful art.
* pixmaps: Miguel rediscovers the "transparent" concept.
2000-04-07 Matt Loper <matt@helixcode.com>
* folder-browser.c (folder_browser_destroy): Unref the shell
interface that we have a handle to.
* folder-browser-factory.c (control_destroy_cb): New function;
destroys a folder-browser when its control is destroyed.
(folder_browser_factory): Hook up to the above.
2000-04-07 Dan Winship <danw@helixcode.com>
* mail-ops.c: new file, for toolbar/menu callbacks
(fetch_mail): fetch mail. Doesn't do mbox locking. Many kludges.
* folder-browser-factory.c (control_activate): use new fetch_mail
function as the callback for the "New mail" icon. Rename check_cb
to random_cb.
* Makefile.am: don't build test-sources since the version in
CVS doesn't do much and once I've fixed it it won't be a separate
program. Add mail-ops.[ch].
2000-04-06 Miguel de Icaza <miguel@gnu.org>
* message-list.c: Stick pixmaps here.
* mail-display.c (embeddable_destroy_cb): Replaced C++ comments
with C comments.
* message-list.c (load_internal_images): New function, loads images.
(message_list_init_renderers): Load images, fix previous attempt
at loading images.
* Makefile.am (dist-hook): Added distribution of pixmaps.
* pixmaps: New directory, used to hold the XPMs we ship with.
* pixmaps/envelope-closed.xpm, pixmaps/envelope-open.xpm: Tigert's
envelopes incorporated.
2000-03-31 Miguel de Icaza <miguel@gnu.org>
* message-list.c (ml_value_at): Fix miss-used variable.
2000-04-01 Michael Meeks <michael@helixcode.com>
* folder-browser.c (folder_browser_properties_init): update to
new property (folder_browser_property_changed): kill.
(get_prop, set_prop): do the donkey work + make properly RW.
2000-03-31 Dan Winship <danw@helixcode.com>
* folder-browser-factory.c (folder_browser_set_shell):
* folder-browser.c (folder_browser_new):
* message-list.c (on_row_selection_cmd, select_msg,
message_list_init, message_list_set_folder):
remove debugging printf()s that no longer seem useful
2000-03-29 Dan Winship <danw@helixcode.com>
* folder-browser-factory.c (control_activate): build a toolbar.
(control_deactivate): and hide it.
2000-03-27 Chris Toshok <toshok@helixcode.com>
* mail-display.c: quiet warnings when building in ../po
2000-03-26 Miguel de Icaza <miguel@gnu.org>
* folder-browser-factory.c (folder_browser_set_shell): Memory leak
fix.
2000-03-25 Dan Winship <danw@helixcode.com>
* message-list.c (select_msg, ml_value_at): update for summary
changes. Hey, neat, it really does make it more efficient.
2000-03-22 Christopher James Lahey <clahey@helixcode.com>
* .cvsignore: Updated .cvsignore.
2000-03-21 Matt Loper <matt@helixcode.com>
* mail-display.c: Minor cleanup & commenting.
* folder-browser-factory.c: Minor cleanup & warning elimination.
2000-03-21 bertrand <bertrand@helixcode.com>
* message-list.c (ml_value_at): display message size
2000-03-20 Christopher James Lahey <clahey@helixcode.com>
* message-list.c: Properly ref & sink the table and header models.
2000-03-14 Dan Winship <danw@helixcode.com>
* mail-sources.c: First cut at a mail source selection wizard.
Basically a rigged demo at this point. Doesn't use camel to get
its information, and is not yet complete or integrated with the
mail component. Did I mention that the code is ugly?
2000-03-13 bertrand <bertrand@helixcode.com>
* folder-browser-factory.c (folder_browser_set_shell):
for testing and demonstration purpose, immediately
register a fake service.
2000-03-12 bertrand <bertrand@helixcode.com>
* folder-browser-factory.c (folder_browser_factory_init):
name change.
(control_activate_cb): when the control is activated,
it merges its own UI with the remote UIHandler.
(control_add_menu): sample menu merging.
(folder_browser_factory): connect the control "activate" signal.
* evolution-mail.gnorba:
name changes
* folder-browser.h: added a reference to an
Evolution::Shell object.
* folder-browser-factory.c (folder_browser_set_shell):
(folder_browser_control_add_service_repository_interface):
(folder_browser_factory): the folder-browser control now
implements the Evolution/ServiceRepository interface.
2000-03-07 bertrand <bertrand@helixcode.com>
* folder-browser-factory.c (development_warning):
added a warning so that the user knows that this
version may crash his mails.
2000-03-05 bertrand <bertrand@helixcode.com>
* message-list.h: include a referrence to the parent
folder browser.
* message-list.c (ml_value_at): use the message summary
from the
* html-stream.c (html_stream_close): when the stream
is closed, set the html stream to NULL
(html_stream_write): don't write anything if the
html handle does not exist.
(html_stream_reset): implemented. close the current
html handle and begins a new html parser.
* session.c (session_store_new): use static exception
here.
2000-03-05 Christopher James Lahey <clahey@helixcode.com>
* message-list.c: Added a prototype message listing.
2000-03-04 Christopher James Lahey <clahey@helixcode.com>
* message-list.c: Set up the column headers properly.
* folder-browser.c: Show the folder_browser widget.
2000-03-04 Christopher James Lahey <clahey@helixcode.com>
* message-list.c: Define ml_duplicate_value and ml_free_value
correctly.
2000-03-04 Christopher James Lahey <clahey@helixcode.com>
* message-list.c: Use g_int_compare and g_str_compare as we should
be instead of g_int_equal and g_str_equal.
2000-03-04 bertrand <bertrand@helixcode.com>
* test-mail.c (main): replace the bonobo-active/gtk-main
by bonobo-main.
Include Gnorba headers.
(main): don't call the container creation routine
before we entered the main loop. Use idle for that.
2000-03-04 Christopher James Lahey <clahey@helixcode.com>
* message-list.c: Change this to use the ETable widget itself
instead of building it from all the parts.
2000-03-03 Christopher James Lahey <clahey@helixcode.com>
* message-list.c: Ref the table columns since we unref them at the
end.
2000-03-01 Ettore Perazzoli <ettore@helixcode.com>
* Makefile.am (INCLUDES): Add `$(top_srcdir)'. Also, the
`top_srcdir' includes must come first everything else to avoid
including installed headers instead of our fresh ones.
2000-02-28 NotZed <NotZed@HelixCode.com>
* Makefile.am (evolution_mail_LDADD): Fixed references to eutil.
2000-02-24 Christopher James Lahey <clahey@helixcode.com>
* message-list.c: Changed to match new e_table_simple interface.
2000-02-24 Dan Winship <danw@helixcode.com>
* message-list.c (message_list_set_folder): update for CamelFolder
changes
2000-02-24 Christopher James Lahey <clahey@helixcode.com>
* message-list.c: Changed this to not use the "x" and "y"
arguments to e-table-item.
2000-02-23 Matt Loper <matt@helixcode.com>
* message-list.c (message_list_set_folder): Check 'desc'riptions
of exceptions.
2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org>
* message-list.c (message_list_set_folder):
fix to show a sample correct implementation.
2000-02-21 Matt Loper <matt@helixcode.com>
* Makefile.am: added -lunicode to evolution_mail_LDADD.
2000-02-21 Dan Winship <danw@helixcode.com>
* session.c (session_store_new): Pass a CamelAuthCallback
(evolution_auth_callback) to camel_session_new.
2000-02-21 Dan Winship <danw@helixcode.com>
* session.c (session_store_new): Update session_store_new to
deal with the fact that camel_session_get_store takes a
CamelException now. Doesn't actually do anything with the
exception yet, because nothing else does yet either.
2000-02-19 Matt Loper <matt@helixcode.com>
* .cvsignore: added test-mail.
2000-02-14 Miguel de Icaza <miguel@gnu.org>
* folder-browser.c (folder_browser_load_folder): New routine,
loads a camel folder.
(folder_browser_set_uri): redo.
* session.c: new file. Implements SessionStores to keep track of
a Session/Store tuple.
2000-02-13 Matt Loper <matt@helixcode.com>
* html-stream.c (html_stream_new): Second param of gtk_html_begin
should be "", not NULL.
(html_stream_new): gtk_html_parse() is deprecated, so the call was
removed.
* html-stream.h: HTMLStreamClass's parent changed to
CamelStreamClass, not CamelStream.
2000-02-11 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Add the e-text directory to the includes list.
* message-list.c: Change the call to e_cell_text_new, since
there's an added argument.
2000-02-09 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added libetext as libetable depends on it.
2000-02-08 Iain Holmes <ih@csd.abdn.ac.uk>
* Makefile.am: Changed the order of the compilation so the CORBA stuff
was made before it was needed.
2000-01-19 Miguel de Icaza <miguel@gnu.org>
* Started work on the mail display engine.
* html-stream.c, html-stream.h: New files, they are CamelStreams
used to write to the GtkHTML widget.
|