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
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
|
2000-10-20 Jeffrey Stedfast <fejj@helixcode.com>
* Makefile.am: Added filter-url.[c,h].
* filter-message-search.c (get_source): New callback to get the
source url of the message being filtered.
(filter_message_search): Now takes a source argument.
* filter-element.c (filter_element_new_type_name): Added code to
handle URL types.
* filter-url.[c,h]: New filter object to handle URLs (ie in the
case of filtering on source url). FIXME: find a way to populate
the source combo box (including mail-config.h breaks the build in
the addressbook - how does including mail-tools.h not break the
build???)
* filtertypes.xml: Added the source filter type and added the
move-to action.
* filter-driver.c (do_move): New callback, a "Copy" action should
just copy the message to another location while a Move should both
copy the message to a new location and delete it from the source
location.
(do_delete): Set the deleted flag on the message info.
(filter_driver_filter_message): Now returns void as we don't care
if it was copied or not in the caller functions. Also check the
CamelMessageInfo being passed in - if the message has been marked
as deleted prior to being filtered, then return immediately as we
don't want to apply filter actions to deleted messages.
2000-10-19 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_filter_folder): Start fetching at
1, not 0.
2000-10-11 Not Zed <NotZed@HelixCode.com>
* filter-driver.c (filter_driver_filter_mbox): Report the
percentage of file complete for the filter.
2000-10-10 Not Zed <NotZed@HelixCode.com>
* filter-driver.c (filter_driver_run): Why on earth does this code
ref all these objects for? This is not right at all.
(filter_driver_run): Changed source type to a string.
(filter_driver_run): REmove the very weird exception copying
stuff - just ref it instead.
(do_score):
(do_colour):
(do_stop):
(do_copy):
(mark_forward):
(do_delete): Removed bogus 'terminated' testing. This is NOT
NEEDED HERE. It is tested after every rule/action, and
termination only makes sense at that point.
(filter_driver_filter_message): new funciton (renamed), filter
only a message.
(filter_driver_filter_mbox): Filter a whole mbox.
(filter_driver_run): If we aren't given an info, create a simple
one based on the message headers.
(filter_driver_filter_message): Renamed from filter_driver_run().
(filter_driver_set_status_func): Set the status callback function.
(filter_driver_set_default_folder): Set the default folder for
filtering.
(report_status): Internal function to report the status of a given
event.
(do_copy): Removed a pointless cache lookup - duh, we do it in
open_folder anyway (infact, we do it in camel too!!).
(filter_driver_filter_message): Removed pointless re-refing of
arguments. Why would anyone think this could be any use at all?
(filter_driver_filter_folder): New function to filter a whole
folder.
* filter-editor.c (rule_add): api fixes.
(rule_edit):
(rule_up):
(rule_down):
(set_sensitive): This didn't take into account the source, now it
does.
(select_source): Fix for api changes. Changed the rather generic
'number' argument to be 'source', and a string.
(filter_editor_construct): Changed the 'number' to 'source', and
set the string appropriately. Added a warning for one case where
the glade file is out of sync.
* score-editor.c (score_editor_construct):
(rule_edit):
(rule_delete):
(rule_up):
(rule_down):
(set_sensitive): api fixes.
* vfolder-editor.c (set_sensitive): Api fixes.
(vfolder_editor_construct):
(rule_edit):
(vfolder_editor_construct):
* rule-context.h (RCNextRuleFunc): Added a source argument.
* rule-context.c (rule_context_next_rule): Added source argument.
(rule_context_find_rule): Added source argument.
(rule_context_get_rank_rule): Added source argument.
(rule_context_get_rank_rule_with_source): Removed.
(save): Fixed for changes to RCNextRuleFunc prototype.
* filter-rule.h: Changed the source to be a string, removed the
filter_source_t type.
* filter-rule.c (filter_rule_set_source): New function to set the
source of a rule. What idiot ran this code through indent?
(filter_rule_find_list): Added a source argument.
(filter_rule_next_list): Added a source argument.
(get_widget): Fixed the wording. You dont remove search parts,
you can only remove the last one. Why you even need to mention
they are search 'criteria' is beyond me. Whoever added the
scrolled window needs to be shot, its the single most awful GUI
feature ever invented (ranks with the close button next to
maximise).
(xml_encode): Save source as a string (if present).
(xml_decode): Likewise for loading & fixed a small memleak.
(filter_rule_finalise): Free source.
2000-10-06 Not Zed <NotZed@HelixCode.com>
* rule-context.c (load): Remove the stupid on-demand cb shit.
(rule_context_load): And here too.
2000-09-27 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_run): Now takes an argument to
specify the log file (or NULL if logging is not to be performed).
2000-09-19 Dan Winship <danw@helixcode.com>
* Makefile.am (gladedir, filterdir): Use $(datadir), not
$(prefix)/share.
2000-09-18 Jeffrey Stedfast <fejj@helixcode.com>
* filtertypes.xml: Modified to use more intuitive naming
* score-rule.c (xml_decode): Make sure the score is within our
range
(get_widget): Changed range to -3 to +3
* filter-score.c (get_widget): Changed range to -3 to +3
(xml_decode): Make sure the score is within our range
* filter-rule.c (get_widget): Rearranged widgets.
* filter-filter.c (get_widget): Rearranged widgets.
* filter-editor.c (filter_editor_construct): Updated to allow for
double-clicking on a rule to edit it.
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* filter-editor.c, filter-filter.c, filter-folder.c,
filter-input.c, filter-message-search.c, filter-option.c,
filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c:
Fixed the #include lines to deal properly with gal.
2000-09-13 Jeffrey Stedfast <fejj@helixcode.com>
* filter-message-search.c (body_contains): Modified to only match
text MIME parts in the message rather than the entire MIME message
(header_contains): Added regex matching
2000-09-12 Dan Winship <danw@helixcode.com>
* rule-context.c (d):
* filter-datespec.c (d): Turn off debugging output.
2000-09-11 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c: We now use a "copied" variable to record
whether a message was marked as copied or not instead of trying to
"guess" by looking at the folders hash table as that won't work at
all anymore.
(do_copy): Renamed as this is more appropriate now that it
actually copies the message rather than marking it for copying
later. Also fixed a logic error which prevented a message from
being dumped into a folder if the fodler had been previously
opened.
2000-09-11 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_run): No longer takes a
self_destruct argument.
2000-09-11 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_run): Don't freeze/thaw the
default inbox here, let the caller freeze/thaw it. Don't destroy
the folders hash table here, it's faster if we wait till the
filter-driver is destroyed.
(filter_driver_finalise): Destroy the folders hash table here
(filter_driver_init): Initialize the folders hash table here
2000-09-11 Jeffrey Stedfast <fejj@helixcode.com>
* filtertypes.xml: Changed "Header" to be "Message header" so it's
not quite as confusing (??)
2000-09-11 Jeffrey Stedfast <fejj@helixcode.com>
* filtertypes.xml: Updated to allow the user to specify arbitrary
headers.
2000-09-09 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_run): Fixed a logic error. Only
mark filtered as TRUE if it was successfully copied to another
folder, this means don't mark true if the default inbox is NULL.
2000-09-09 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_run): Erm, okay I misunderstood
what camel_folder_[un]hook_event() did - we don't even need this
crap in the filter driver so lets take it completely out and let
the caller handle this junk.
2000-09-09 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_run): Updated to not emit the
folder_changed signal when a message is appended to the default
mailbox - lets leave that up to the caller so we don't queue up a
bunch of these emits if the caller is downloading messages for
example.
2000-09-08 Jeffrey Stedfast <fejj@helixcode.com>
* filtertypes.xml: Added scoring xml stuffs
* Makefile.am: added filter-score.[c,h]
* filter-score.[c,h]: New functions to handle the "score" filter
type.
* filter-element.c (filter_element_new_type_name): Added support
for "score" type.
* filter-driver.c (do_score): New ESExp callback for filter
actions to set the score on a message.
* filter-message-search.c (get_score): New ESExp callback for
getting the score tag as an integer value.
2000-09-07 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_run): Now takes a
CamelMessageInfo argument in preparation for handling scoring
2000-09-07 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_run): Modified to return a
boolean value specifying whether or not the message was filtered
into a folder other than the default. The default mailbox can now
also be specified as NULL if the message shouldn't be appended to
it in the case that it's not filtered into some other folder.
2000-09-07 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_run): Rewrote - this shouldn't
need to be an async function
* filter-message-search.c (match_all): Modified to look at the
boolean value being fed to it and just to return that instead of
always returning TRUE
2000-09-07 Lauris Kaplinski <lauris@helixcode.com>
* filter-editor.c, filter-filter.c, filter-folder.c, filter-option.c:
* filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c:
More UTF-8 wrapping
2000-09-06 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_run): Totally rewritten to filter
a single message at a time instead of filtering a folder.
* filter-message-search.c (filter_message_search): New convenience
function for searching a message.
2000-08-24 Lauris Kaplinski <lauris@helixcode.com>
* filter-folder.c: Use e_utf8 wrappers
* filter-input.c: Use e_utf8 wrappers
* filter-rule.c: Use e_utf8 wrappers
2000-08-23 Dan Winship <danw@helixcode.com>
* filter-datespec.c (cal_day_selected): Set seltime.tm_isdst to
-1, not daylight, because the current dst value is not relevant to
the selected date.
2000-08-18 Peter Williams <peterw@helixcode.com>
* filter-driver.c (do_filter_mail): Unlink a new parameter, path_to_unlink,
if it is empty once the mail is filtered. Fixes a race in
mail_tool_filter_contents_into.
* filter-driver.h: Update the prototype.
2000-08-14 Ettore Perazzoli <ettore@helixcode.com>
* vfolder-editor.c (rule_add): Add translation marks and use stock
buttons.
(rule_edit): Likewise.
* score-editor.c (rule_add): Add translation marks and use stock
buttons.
(rule_edit): Likewise.
* rule-context.c (rule_context_add_rule_gui): Add translation
marks and use stock buttons.
* filter-part.c (main): Add translation marks and use
stock buttons.
* filter-folder.c (button_clicked): Add translation marks and use
stock buttons.
* filter-editor.c (rule_add): Add translation marks and use stock
buttons.
(rule_edit): Likewise.
* filter-rule.c (get_widget): Add translation marks.
* filter-filter.c (get_widget): Add translation marks. Add
padding to make it look like the buttons in `filter-rule.c'.
2000-08-17 Peter Williams <peterw@helixcode.com>
Implement filtering on demand.
* rule-context.h: Add a new callback to rule_context_load
that allows the caller to hook on-demand rules into its UI.
* rule-context.c (rule_context_load): Changed to pass the
extra parameters to load().
(load): If the rule is successfully loaded, call the provided
callback so that the UI can be updated.
* filter-editor.c (rule_add): Set the source of the new filter.
(rule_edit): Use the new rule_context_get_rank_rule_with_source()
so that we don't get a bad index into the GtkList.
(rule_delete): Same as above.
(rule_up): Same as above.
(rule_down): Same as above.
(select_source): New function. When the user changes the
dropdown list to select a new source type, repopulate the
list with rules of the appropriate type.
(filter_editor_construct): Code moved from here into
select_source(). Hook up all the elements of the source optionmenu
to callbacks to select_source().
* filter-rule.c (xml_encode): Save the rule's source type.
(xml_decode): Load it. Default to 'incoming' if unspecified.
* filter-rule.h: New enumeration, _filter_source_t, the
specifies the rule's source. Add it to struct _FilterRule.
* filter-driver.c (filter_driver_run): Add a new input,
sourcetype, that specifies which rules to run (only ones
with the same source will be run). struct filter_mail_input_t
changed to accomodate.
(do_filter_mail): Skip rules if they're not the specified source.
If source and dest are the same, don't delete the messages or
copy unnecessarily.
* filter.glade: Make the optionmenu sensitive. Change "Outgoing"
to "On Demand" (outgoing should be added later).
2000-08-15 Peter Williams <peterw@curious-george.helixcode.com>
* vfoldertype.xml, filtertypes.xml: Add entries defining the
date-based message filtering and vfoldering.
* filter-datespec.{c,h}: New files implementing the UI for
date-based filtering and vfoldering -- specifically, choosing
what to compare the message to.
* filter-element,c: Hook up to create a datespec filter if
that's what's called for.
* Makefile.am: Build the new -datespec files.
2000-08-13 Dan Winship <danw@helixcode.com>
* Makefile.am (EXTRA_DIST): remove blank.xpm and check.xpm which
no longer exist. Add filter.glade.
2000-08-12 Dan Winship <danw@helixcode.com>
* filter-driver.c (describe_filter_mail): Use
mail_tool_get_folder_name here too. (Hm... this directory really
shouldn't depend on stuff in mail/, but it already did. We'll have
to sort this out later.)
2000-08-11 Dan Winship <danw@helixcode.com>
* filter-driver.c (do_filter_mail): Remove an '#if 0' that must
have been left in accidentally, so that messages which are copied
to other folders will not also be copied into the Inbox. Also,
#ifdef out the line that printfs the rule, because the rules are
often very large.
2000-08-11 Not Zed <NotZed@HelixCode.com>
* filter-driver.c (do_colour): Use proper accessor function
instead of poking the structure.
2000-08-10 Christopher James Lahey <clahey@helixcode.com>
* filter-driver.c, filter-folder.c, rule-context.c,
vfolder-editor.c: Fixed some warnings.
2000-08-10 Peter Williams <peterw@helixcode.com>
* filter-driver.c (do_filter_mail): Fix the infinite fetchmail.
2000-08-10 Not Zed <NotZed@HelixCode.com>
* filter-driver.c (filter_driver_run): Save the results of
searches till we're done. So we dont have to go strduping strings
agian and again and again and again ... Remove all the unecessary
strdups.
(do_colour): Implement.
(filter_driver_run): Change for append api change.
(free_key): Removed.
2000-08-09 Not Zed <NotZed@HelixCode.com>
* rule-context.c (rule_context_add_rule_gui): Helper function to
add a rule, but present a gui first, asking for confirmation/allow
editing.
(rule_context_add_rule_gui): Keep track of context so it isn't freed under us.
* filter-context.c (filter_context_create_action): Implement,
helper to aid filter generation.
2000-08-08 Peter Williams <peterw@helixcode.com>
* filter-driver.c (close_folder): Fix an accidental GTK unref
of a CamelObject.
2000-08-03 Ettore Perazzoli <ettore@helixcode.com>
* filter-folder.c (button_clicked): Use the base name of the
Evoluton URI for the button's label.
(get_widget): Likewise.
2000-08-03 Peter Williams <peterw@helixcode.com>
* filter-driver.c (op_filter_mail): Conform to the new mail-threads
interface.
2000-08-01 Not Zed <NotZed@HelixCode.com>
* vfolder-editor.c (rule_add): Oops, create a vfolder_rule when we
add a new one.
* rule-context.c (load): If there are no user rules, dont bomb
out.
2000-07-31 Not Zed <NotZed@HelixCode.com>
* filter-input.c (filter_input_set_value): Set value of a simple
type to a new string.
* filter-option.c (filter_option_set_current): New function to set
the current value of an option.
* filter-rule.c (filter_rule_find_list): New function to find a
rule in a list, by name.
(filter_rule_set_name): Let you set the name of a rule.
* rule-context.c (rule_context_find_rule): Find a rule by name.
(rule_context_create_part): Helper to find and clone a part by
name.
* filter-folder.c (button_clicked): Fix warning.
* filter.glade: Add new widgets for vfolder rule editor.
* vfolder-context.c (vfolder_context_init): Changed to use vfolder
rule as the rule type.
* vfolder-rule.c: New class to encode extra information required
for vfolder rules.
2000-07-30 Not Zed <NotZed@HelixCode.com>
** Almost a total rewrite of every file, except for filter-driver
which just had minor updates.
The rule format has changed.
2000-07-24 Dan Winship <danw@helixcode.com>
* filter-driver.c (do_delete, filter_driver_run): Update for
CamelFolder API changes. (delete_message and get_uids don't take
exceptions any more.)
2000-07-21 Peter Williams <peterw@helixcode.com>
* filter-driver.c (cleanup_filter_mail): Use the exception
provided to us by the async manager instead of allocating
our own; use mail_tool_camel_lock_{up,down} around camel
operations.
(filter_driver_run): Make it return void.
2000-07-20 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c: Update to make "async".
2000-07-11 Dan Winship <danw@helixcode.com>
* filter-driver.c: Update for CamelFolder API changes
2000-07-11 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_run): Updated to reflect changes to
camel_folder_append_message ()
2000-07-09 Dan Winship <danw@helixcode.com>
* filter-xml.[ch]: add a "string" type
* filtertype.xml, vfoldertypes.xml: Use type="string" rather than
"folder" for subject/body matching.
* filter-arg-types.c: Update some strings for "text" input. Fix
some warnings (including one that pointed out a real bug).
* filter-arg.c, filter-druid.c, filter-format.c: fix warnings
2000-07-07 Dan Winship <danw@helixcode.com>
* filter-driver.c: Update for camel_folder_search_by_expression
change (GList -> GPtrArray).
* vfoldertypes.xml: sync this to filtertypes.xml (to/cc thing)
2000-07-05 Dan Winship <danw@helixcode.com>
* remove some non-error case debugging messages.
* filtertypes.xml: Fix typos and update the "to-address" rule to
match To or Cc.
* vfoldertypes.xml: Fix typos.
* filter-driver.c (do_delete, do_copy, do_stop,
filter_driver_run): Add uids to the "processed" list only after
succesfully doing something with them. Fixes the problem where
copying a message to a folder that didn't exist would result in it
disapearing.
2000-07-02 Ettore Perazzoli <ettore@helixcode.com>
* filter-driver.c (filter_driver_new): Don't free the ruleset nor
the xmlDoc. This will make us leak [I think], but at least
filters work.
2000-07-02 Dan Winship <danw@helixcode.com>
* filter-driver.c (open_folder): freeze the folder to avoid
multiple folder_changed's
(close_folder): and thaw it.
2000-07-02 Dan Winship <danw@helixcode.com>
* filter-driver.c (filter_driver_new): kill
filter_driver_set_session and filter_driver_set_rules and instead
make filter_driver_new take the rules and a callback function it
can use to turn URIs into folders.
(open_folder): Use the callback function rather than calling camel
directly: some URIs need special handling to turn them into stores
and folders correctly, so let the mailer do that.
2000-07-01 Ettore Perazzoli <ettore@helixcode.com>
* filter-arg-types.c (arg_folder_edit_value): Only allow type
"mail" when selecting a folder for the filter.
2000-07-01 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c: Updated to reflect changes made to
camel-folder.
2000-06-30 Peter Williams <peterw@curious-george.helixcode.com>
* filter-xml.c (filter_load_optionset_file): Check for failure
when loading the filter doc.
* filter-driver.c (filter_driver_set_rules): Ditto.
* filter-editor.c (filter_editor_set_rule_files): Ditto.
2000-06-29 Ettore Perazzoli <ettore@helixcode.com>
* filter-arg-types.c: Replaced `global_shell_interface' with
`global_shell_client'.
(arg_folder_edit_value): Use
`evolution_shell_client_user_select_folder()'.
(create_listener): Removed.
(impl_FolderSelectionListener_selected): Removed, together with
all the ::Listener stuff.
2000-06-29 Arik Devens <arik@helixcode.com>
* vfoldertypes.xml (ruleset type="match"): Changed Cc to CC to be
the same as the other CC rule. None of this works however, cause
the CC code is not hooked up to camel... oh well ;-(
2000-06-29 Arik Devens <arik@helixcode.com>
* vfoldertypes.xml (ruleset type="match"): Added a Cc rule to
vfolders. Works like To except on the Cc of a message ;-)
2000-06-28 Jeffrey Stedfast <fejj@helixcode.com>
* filter-arg-types.c (arg_string_edit_value): Changed "Filter name"
to "Option value" as "Filter name" made no sense in the dialog
(arg_address_edit_value): Same
(arg_folder_edit_value): What do we want to return??
2000-06-27 Ettore Perazzoli <ettore@helixcode.com>
* filter-xml.c (load_desc): Strdup content before assigning the
value. Also, no need to check for NULL when g_strdup()ing as
g_strdup() returns NULL for a NULL arg.
2000-06-27 Ettore Perazzoli <ettore@helixcode.com>
* Makefile.am (INCLUDES): `-I$(top_builddir)/shell' so that it
works with builddir != srcdir. [We need to #include
"Evolution.h".]
2000-06-27 Michael Zucchi <zucchi@zedzone.mmc.com.au>
* Makefile.am (INCLUDES): Add the shell dir for includes (for
corba interfaces).
* filter-arg-types.c (impl_FolderSelectionListener_selected):
Listener for folder query. Sigh.
(create_listener): Create the listener object for the folder
dialogue query. Uses a global for linkage to the shell object,
via the mail component.
(arg_folder_edit_value): Call the folder selection dialogue to
edit the value, rather than a simple text widget.
2000-06-26 Jeffrey Stedfast <fejj@helixcode.com>
* filter-editor.c: Added a #include <gnome-xml/parser.h> as this
was needed (since we used the xml parser...)
(druid_dialogue_clicked): Do we want to use struct filter_option
or do we instead want to use struct filter_optionrule as we had before?
Since the function we pass the data to expects filter_option, I suspect
that that is what we want.
* filter-format.h (filter_description_html_write): Renamed from
description_html_write in order to match function name in
filter-format.c
* filter-druid.c (option_name_changed): Fixed a memory leak (Free'd
a filter description list).
* filter-arg-types.c (arg_folder_edit_values): Free'd GList data in
argin->values.
* filter-driver.c (filter_driver_set_rules): Added code to free an
xmlDoc and some other data.
* filter-arg.h: Add prototypes for filter_arg_write_html() and
filter_arg_write_text();
* filter-arg-types.c: Lets see if we can't get rid of some of these
warnings... (use some casts to make warnings go away)
(arg_address_edit_value): Lets make sure that ad exists before looking
at member data.
2000-06-16 Dan Winship <danw@helixcode.com>
* filter-driver.c (do_delete, filter_driver_run): Update for Camel
flag handling changes.
2000-06-15 Dan Winship <danw@helixcode.com>
* filter-driver.c (open_folder, close_folder): Update for
CamelFolder changes.
2000-06-09 Jacob Berkman <jacob@helixcode.com>
* filter-editor.c (add_or_edit): use stock pixmap buttons
* filter-druid.c (build_druid): remove the border on the notebook,
put the html widget in a scroll frame, and add some padding
2000-06-06 Dan Winship <danw@helixcode.com>
* filter-driver.c (open_folder): Update for folder
existence/creation changes.
2000-06-02 Christopher James Lahey <clahey@helixcode.com>
* filter-driver.c: Free the exception and the priv struct.
2000-06-01 Christopher James Lahey <clahey@helixcode.com>
* filter-arg-types.c (arg_address_edit_value): Search for ad in
arg->values instead of text since it's a list of
filter_arg_adresses. Also, free the old value in the list.
2000-05-30 Not Zed <NotZed@HelixCode.com>
* filtertypes.xml: And here too.
* vfoldertypes.xml: Add body-contains and not-body-contains
types.
2000-05-27 Not Zed <NotZed@HelixCode.com>
* vfoldertypes.xml: New file - lists rules appropriate for
vfolders (no actions, etc).
* Makefile.am (EXTRA_DIST): Add vfoldertypes.xml
* filter-driver.c (filter_driver_expand_option): Made public from
expand_filter_option.
(filter_driver_rule_count): find out how many user rules are
defined.
(filter_driver_rule_get): Get a user rule by index.
2000-05-21 Ettore Perazzoli <ettore@helixcode.com>
* filter-druid.c: Don't pass an empty URL to `gtk_html_begin()'
anymore.
* filter-arg-types.c: Updated for the new GtkHTML API which uses
`GtkHTMLStream *' instead of `GtkHTMLStreamHandle'.
* filter-arg.c: Likewise.
* filter-arg.h: Likewise.
* filter-druid.c: Likewise.
* filter-format.c: Likewise.
* filter-format.h: Likewise.
2000-05-18 Dan Winship <danw@helixcode.com>
* filter-driver.c (filter_driver_run): update for
camel_folder_get_uids change
2000-05-17 NotZed <NotZed@HelixCode.com>
* filter-druid.c: Fix some html formatting.
2000-05-16 NotZed <NotZed@HelixCode.com>
* filter-driver.c (filter_driver_run): Delete all processed
messages. This is probably going to slow it down a bit.
(filter_driver_run): Close folders before destroying them *sigh*.
(open_folder): Actually open the folder. Doh.
* filtertypes.xml: Initial filter rules.
* filter-xml.c (filter_write_optionset): Save the description
also.
(write_description): Routine to save description - only saves 1
node of description.
* filter-arg.c (filter_arg_edit_clicked): Dont free edata here,
let the destroy do it(?)
* filter-editor.c (main): Simple driver program for testing, so i
can fix all this really broken code *sigh*
2000-05-15 NotZed <NotZed@HelixCode.com>
* filter-editor.c (filter_editor_set_rule_files): filename based
interface.
(filter_editor_save_rules): Interface to save the options to a
filename.
* filter-xml.[ch]: Bunch of cleanup.
* filter-xml.c (filter_*_file): New interfaces to read/write files
directly, rather than messing with xmldoc crap.
* Makefile.am: Removed filter-driver test program, now just part
of libfilter.
* filter-driver.c: Made an object, with an api and everything, can
apply a filter to a given mailbox.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* filter-arg.h: Changed tree.h to gnome-xml/tree.h.
* Makefile.am: Added filter-arg-types.h, filter-arg.h,
filter-xml.h, filter-format.h, filter-druid.h, filter-editor.h.
2000-05-02 Matt Loper <matt@helixcode.com>
* Makefile.am: set G_LOG_DOMAIN.
2000-05-01 NotZed <NotZed@HelixCode.com>
* filter-driver.c (main): Fix for api.
2000-04-30 Dan Winship <danw@helixcode.com>
* filter-driver.c (start): Remove no-longer-necessary call to
camel_provider_register_as_module.
2000-04-25 Ettore Perazzoli <ettore@helixcode.com>
* Makefile.am (INCLUDES): Use `$(GTKHTML_CFLAGS)'.
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.
2000-04-18 Dan Winship <danw@helixcode.com>
* filter-driver.c: remove unused camel-log.h include
2000-04-12 Matt Loper <matt@helixcode.com>
* filter-arg.c (filter_arg_edit_value): Return a value.
2000-03-27 NotZed <NotZed@HelixCode.com>
* filter-xml.c (tokenise_xmlfreeprop): Free a prop after
tokenising it.
(find_node_attr): Free the prop after using it.
(load_desc): Ditto. I use free() because xmlFree() is nowhere to
be found.
(filter_load_optionset): Ditto.
* filter-arg-types.c (arg_address_values_add_xml): free() xml
stuff, plugs a leak.
(arg_folder_values_add_xml): Ditto.
2000-03-22 NotZed <NotZed@HelixCode.com>
* filter-driver.c (main): Changed to use async search api.
2000-03-04 NotZed <NotZed@HelixCode.com>
* filter-druid.c (html_write_options): Output 'and' bits between
the rules.
* filter-driver.c (main): Actually implement filtering, at least,
from Inbox. Copy messages to folder (in the same store only, so
far), delete, and stop processing are implemented, and the logic
to handle default processing.
* filter-xml.c (load_optionvalue): Fix up a bug where we lost the
name of the arg (ouch).
* filter-xml.c: Wrapped printf's in debug macros.
2000-03-02 NotZed <NotZed@HelixCode.com>
* filter-druid.c (object_destroy): Disconnect the list signal, so
we dont get spurious emits during destroy.
(arg_changed): Callback to update filter arg asynchronously.
(arg_link_clicked): Edit the value non-modally.
* filter-arg.c (filter_arg_edit_values_1): Changed to use
non-modal interface.
2000-03-01 Ettore Perazzoli <ettore@helixcode.com>
* Makefile.am: New file.
* Makefile: Removed. I wonder why we are using plain Makefiles
instead of automake Makefiles at all.
2000-02-29 NotZed <NotZed@HelixCode.com>
* filter-driver.c (main): Remove gui code, this will be actual
filtering code.
* Makefile: Added filter-editor to the library.
* filter-editor.c (main): Comment out, make it a proper library.
2000-02-28 NotZed <NotZed@HelixCode.com>
* filter-druid.c: Removed unused header.
* Makefile: Removed references to filter-sexp.[ch].
* filter-sexp.[ch]: Removed some unecessary includes. Moved to
e-util. Renamed callers.
2000-02-24 NotZed <NotZed@HelixCode.com>
* filter-xml.c (filter_description_free):
(filter_load_ruleset_free):
(filter_load_optionset_free): Functions for memory management.
* filter-arg.c (filter_arg_copy): Copy the values of one arg into
another.
* filter-editor.c: New widget, a dialogue which uses filter-druid
to present the various editing views.
(druid_dialogue_clicked): On finish, save the user's new filter
definition where it came from.
* filter-druid.c: Changed to just being a notebook with no tabs,
rather than a full druid (no next/prev/etc buttons).
(option_name_changed): Update the option's description as the user
enters it in.
2000-02-22 NotZed <NotZed@HelixCode.com>
* filter-xml.c (filter_clone_optionrule):
(filter_clone_optionrule_free):
(filter_optionrule_new_from_rule): New utility functions for
working with the internal rule format.
* filter-arg.[ch]: Added new callbacks for editing a single value,
and a new editor which shows all items in a list, and allows you
to edit them via the single-edit method. This needs some cleanup
for some unused/unusable virtual methods (edit_values,
write_html?).
* Makefile: Add the druid for build.
* filter-druid.c: A 'druid' widget for editing a single filter
rule.
2000-02-21 Matt Loper <matt@helixcode.com>
* .cvsignore: New file.
2000-02-18 NotZed <NotZed@HelixCode.com>
* blank/check.xpm: Added forgotten files.
* Uh, more changes, lots, its still work in progress.
2000-02-14 NotZed <notzed@helixcode.com>
* Initial import.
|