[Evolution-hackers] Gnome-PIM and libversit

2002-04-18 Thread Sebastian Rittau

Hi!

I plan to split libversit, which currently resides in the gnome-pim CVS
module, into its own seperate module and make it into a shared library
in the process (using libtool, of course). Currently, the libversit
module in CVS is an alias to gnome-pim/libversit and libversit is built
as static library. So, I want to coordinate the splitting with you,
since Evolution uses libversit as well and I guess Evo's build process
will break if I start to move libversit away and change the build
process.

One solution to prevent the breakage is not to call the new module
libversit, but something different. (Only versit, maybe?) We could then
remove the libversit sources from the gnome-pim module and the alias
from CVS as soon as Evo's build process is changed to use the new
module.

Comments?

 - Sebastian, Gnome-PIM maintainer


___
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers



[Evolution-hackers] ORBit performance tweak

2002-04-18 Thread Chris Toshok

So, when remotely displaying from my sparc to a machine on the same lan
it takes 48 seconds to bring up the first window.  This change to
genrand.c (rolling orbit2's genuid_simple in, and using that when
buf_len is 8 or more) drops it down to 18 seconds.

Displaying locally the time after the patch is 12 seconds from start to
first window, so there's probably still some room for improvement
elsewhere.

Doesn't appear to noticeably change freebsd's startup time (it was ~4-5
seconds before and after the change).

Chris



Index: genrand.c
===
RCS file: /cvs/gnome/ORBit/src/orb/genrand.c,v
retrieving revision 1.2.4.1
diff -u -r1.2.4.1 genrand.c
--- genrand.c   18 Jan 2001 20:16:44 -  1.2.4.1
+++ genrand.c   19 Apr 2002 00:01:05 -
 -29,6 +29,44 
   return TRUE;
 }
 
+static void
+orbit2_xor_buffer (guchar *buffer, int length)
+{
+   static glong   s = 0x6b842128;
+   glong  i, t;
+   GTimeVal   time;
+
+   g_get_current_time (time);
+
+   t = time.tv_sec ^ time.tv_usec;
+
+   for (i = 0; i  length; i++)
+   buffer [i] ^= (guchar) (s ^ (t  i));
+
+   s ^= t;
+}
+
+static gboolean
+orbit2_genrand_simple(guchar *buffer, int buf_len)
+{
+   static guint32 inc = 0;
+   pid_t pid = getpid();
+
+   if (buf_len  8)
+ return;
+
+   memset (buffer, 0, buf_len);
+
+   inc++;
+
+   memcpy (buffer, inc, 4);
+   memcpy (buffer + 4, pid, 4);
+
+   orbit2_xor_buffer (buffer, buf_len);
+
+   return TRUE;
+}
+
 static volatile int received_alarm = 0;
 
 static void
 -105,6 +143,8 
   g_return_if_fail(buf_len);
 
   if(genrand_dev(buffer, buf_len))
+return;
+  else if(orbit2_genrand_simple(buffer, buf_len))
 return;
   else if(genrand_unix(buffer, buf_len))
 return;



[Evolution] How to access IMAP folders not starting with INBOX?

2002-04-18 Thread Kai Großjohann

When I look at the list of IMAP folders, it shows me INBOX (which is
the INBOX folder) and foo (which is the INBOX.foo folder).

But I also have ir.bar folders, which are not shown.  How can I show
them?

(I'm accessing a Cyrus 1.6.x IMAP server.)

kai
-- 
Silence is foo!

___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



Re: [Evolution] contact list problems

2002-04-18 Thread Bobby

I'm using the packages straight outta Red Carpet...the only thing
different is the kernel running at the time of the lock-up i described.

i don't understand what the difference in kernel would be

-b

On Wed, 2002-04-17 at 07:11, Not Zed wrote:
 
 Just curious - has everything been built against the 2.5 kernel or just
 the earlier one.
 
 On Wed, 2002-04-17 at 05:20, Bobby wrote:
  Hi!  
  
  I've been having an odd issue with Evolution's contact list and the
  2.5.x development kernels in linux.  has anyone else had this?
  
  i fire up evo 1.0.3 under a 2.5.8 kernel and when I either click on
  Contacts or start to type in any recipient field on a new message (or
  reply or forward, for that matter), evo locks up and i have to killev
  it.  I'm running 2.4.19-pre2 and evo works just fine.
  
  is this a known issue?  i searched through the list archives but could
  not find any other mention of this issue...
  
  thanks!
  -- 
  c'est tout.
  
  ___
  evolution maillist  -  [EMAIL PROTECTED]
  http://lists.ximian.com/mailman/listinfo/evolution
 
 
 ___
 evolution maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/evolution
 
-- 
c'est tout.



signature.asc
Description: This is a digitally signed message part


[Evolution] Notify for new mail ?

2002-04-18 Thread schlueri

Hi there,

i've tried evolution. It's great but i can't find any option to activate a 
notify if new mail arrived using pop3/smtp not local maildir.

Please help. 

Thanx a lot

Dirk.



___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



Re: [Evolution] Compiling evolution CVS HEAD alongside packagedevolution stable-- mini-HOWTO

2002-04-18 Thread Dan Winship

 Solution:
 Though it took a lot of work to figure this out initially, I did get
 this to work, and it does beautifully.  Thanks to [EMAIL PROTECTED] for
 some help in debugging this.

That's '[EMAIL PROTECTED]'

 The basic idea is to leave everything that
 is managed by a package manger (ie in /usr) alone, and put all of our
 needed libraries and applications for evolution CVS HEAD in /opt/gnome
 (or similar).

I think it's less work overall to just not install gal-dev, gtkhtml-dev,
or evolution from packages, and instead build evolution-1-0-branch in
one prefix (say, /opt/evolution-1-0) and HEAD in another
(/opt/evolution). That way you don't need to recompile all of gnome from
the ground up. You only need gal, gtkhtml, and evolution in each tree,
because both of them can use gtk, gnome-libs, etc, from /usr.

 Do NOT run the evolution head (in /opt/gnome/bin) and the stable
 evolution at the same time.  I also recommend not running them as the
 same user since evolution head may (will?) break your stable evolution
 configuration.  You must use the above export statements to run
 evolution head as well.

There aren't currently any major config incompatibilities. I run them in
separate prefixes as described above and use these .bashrc functions to
switch between them:

function evo10() {
oaf-slay
rm ~/evolution/config/storage-set-view-expanded*
export GNOME_PATH=/opt/evolution-1-0
export PATH=${PATH/evolution/evolution-1-0}
}

function evohead() {
oaf-slay
export GNOME_PATH=/opt/evolution
export PATH=${PATH/evolution-1-0/evolution}
}

The oaf-slay is because you need oafd to be running with the correct
PATH and GNOME_PATH. The 'rm' in the evo10 command is to fix a problem
where otherwise the folder tree isn't visible when switching back to 1.0
after using HEAD.

-- Dan


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



Re: [Evolution] Spell Checking is not active !

2002-04-18 Thread Alessio Bragadini

On Wed, 2002-04-17 at 16:47, Brian wrote:

 Install gnome-spell as well and it will work.

On Debian woody with Ximian GNOME, gnome-spell depends on libltdl0.
However, libltdl0 is not available in either woody or Ximian.

And now?

-- 
Alessio F. Bragadini[EMAIL PROTECTED]
APL Financial Services  http://village.albourne.com
Nicosia, Cyprus phone: +357-22-755750

It is more complicated than you think
-- The Eighth Networking Truth from RFC 1925


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



Re: [Evolution] Spell Checking is not active !

2002-04-18 Thread Rocky Hetherington

On Thu, 2002-04-18 at 14:54, Alessio Bragadini wrote:
 On Wed, 2002-04-17 at 16:47, Brian wrote:
 
  Install gnome-spell as well and it will work.
 
 On Debian woody with Ximian GNOME, gnome-spell depends on libltdl0.
 However, libltdl0 is not available in either woody or Ximian.

I'm running Debian Woody and spell checking is fine.  Try libltdl3.
-- 
Rocky Hetherington
Email | [EMAIL PROTECTED]
Web   | http://www.hetherington.co.uk
News  | news://nntp.hetherington.co.uk


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



[Evolution] message templates

2002-04-18 Thread Dennis Slice

Does anyone have suggestions on setting up templates for creating
certain types of messages or where I could find this info?

I moderate a maillist and would like to quickly bring up a message to
the server with addressing, approval, and all that ready to go. This
activity does NOT take place from my default account.

Thanks, ds

-- 
Dennis E. Slice, Ph.D.
Department of Medical Engineering
Division of Radiologic Sciences
Wake Forest University School of Medicine
Winston-Salem, North Carolina, USA 
27157-1022
Phone: 336-716-4855
Fax: 336-716-2870


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



Re: [Evolution] Compiling evolution CVS HEAD alongside packagedevolution stable-- mini-HOWTO

2002-04-18 Thread James D Strandboge

On Thu, 2002-04-18 at 09:42, Dan Winship wrote:
  Solution:
  Though it took a lot of work to figure this out initially, I did get
  this to work, and it does beautifully.  Thanks to [EMAIL PROTECTED] for
  some help in debugging this.
 
 That's '[EMAIL PROTECTED]'
Yes, I replied to myself with the correction.  Oops!

 
  The basic idea is to leave everything that
  is managed by a package manger (ie in /usr) alone, and put all of our
  needed libraries and applications for evolution CVS HEAD in /opt/gnome
  (or similar).
 
 I think it's less work overall to just not install gal-dev, gtkhtml-dev,
 or evolution from packages, and instead build evolution-1-0-branch in
 one prefix (say, /opt/evolution-1-0) and HEAD in another
 (/opt/evolution). That way you don't need to recompile all of gnome from
 the ground up. You only need gal, gtkhtml, and evolution in each tree,
 because both of them can use gtk, gnome-libs, etc, from /usr.
 
I initially tried something like this, but it didn't work too well. 
evo-1-0 would not start and evo-head was really unusable (I did the
oaf-slay stuff).  I read in a gnome README somewhere that gnome doesn't
handle libraries being in different places too well, so I did it this
way.  Really though, I didn't want to touch evo-1-0 because it has
become such an integral part of my work.  Maybe I was TOO careful!  Like
I said at the top though-- if you like your current environment, don't
bother with this.

  Do NOT run the evolution head (in /opt/gnome/bin) and the stable
  evolution at the same time.  I also recommend not running them as the
  same user since evolution head may (will?) break your stable evolution
  configuration.  You must use the above export statements to run
  evolution head as well.
 
 There aren't currently any major config incompatibilities. I run them in
 separate prefixes as described above and use these .bashrc functions to
 switch between them:
 
 function evo10() {
 oaf-slay
 rm ~/evolution/config/storage-set-view-expanded*
 export GNOME_PATH=/opt/evolution-1-0
 export PATH=${PATH/evolution/evolution-1-0}
 }
 
 function evohead() {
 oaf-slay
 export GNOME_PATH=/opt/evolution
 export PATH=${PATH/evolution-1-0/evolution}
 }
 
 The oaf-slay is because you need oafd to be running with the correct
 PATH and GNOME_PATH. The 'rm' in the evo10 command is to fix a problem
 where otherwise the folder tree isn't visible when switching back to 1.0
 after using HEAD.
 
 -- Dan

This is interesting.  I tried to run evo-head using my same
configuration (backing ~/evolution of course) and it brought me to the
evo setup screens.  Then when I restored from backup and used evo-1-0,
it did the same thing (setup again).  I assumed it changed something in
./.gnome somewhere, which I didn't backup.  It wasn't horribly bad-- my
mail, contacts and all were still there, I just had to reenter my mail
accounts and lost some preferences.  Should I have backed up more than
~/evolution?

Thanks for the feedback!

Jamie

-- 
Email:[EMAIL PROTECTED]
GPG/PGP ID:   26384A3A
Fingerprint:  D9FF DF4A 2D46 A353 A289  E8F5 AA75 DCBE 2638 4A3A



signature.asc
Description: This is a digitally signed message part


[Evolution] Stripping .sig's in replies

2002-04-18 Thread Stuart Luppescu

There was recently a discussion on the RedHat Enigma list about how
``decent'' mail clients automatically strip everything after the ``-- ''
that marks the signature when replying to a message. Evolution kindly
puts the correct marker in, but doesn't seem to strip the .sig in
replies. Or am I missing a switch or something?
-- 
Stuart Luppescu -=- [EMAIL PROTECTED]
University of Chicago -=- CCSR 
$B:MJ8$HCRF`H~$NIc(B -=-Kernel 2.4.18-xfs
I watch television because you don't know what it
 will do if you leave it in the room alone. 
 



signature.asc
Description: This is a digitally signed message part


[Evolution] Calendar prompts for external reminders; how to disable?

2002-04-18 Thread Brad Felmey

The calendar allows setting external programs to run as reminders. It
also pops up a window that has to be approved before the external
program is run.

I have an email gateway to my pager. I set the reminder to kick off
mail -s Security meeting in 10 minutes [EMAIL PROTECTED]. I want the
reminder to shoot off an email to my pager to remind me of meetings,
especially when I'm away from my desk. Evo just sits there and waits for
me to say Okay, I really mean it, go ahead.

I can't find any reference to this prompt, or a way to turn it off. Is
there a way to bypass this brain-dead behavior?
-- 
Brad Felmey


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



Re: [Evolution] Mark all as Read - Query.

2002-04-18 Thread Janus Christensen

On Thu, 2002-04-18 at 05:32, Rob Brown-Bayliss wrote:

 Yeah, for me vFolders are why evolution exists, might not be the real
 reason but think they are the best thing.  I expect to hear of
 Microsoft's new innovative virtual folders for outlook any day now ;o)

MS Lookout has something called Views which allows you to set up
filters on messages and such, but they are rather limited (read:
useless) because they only work on a single folder, not across several
folders.

But, yeah, I guess one shouldn't be surprised if Microsoft steals the
idea. Maybe Ximian should patent the concept?

,-)


H... I had better go off and put on my asbestos suit, just to
safeguard myself from people taking that last comment too seriously.

.-)

OTOH, if MS uses its patents in SMB/CIFS with the express purpose of
denying the Open Source community that functionality, why shouldn't the
Open Source community turn the tables on them? A suitable add-on to the
Evolution license stating something like, Anybody Microsoft is allowed
to use concepts, ideas, etc covered by patent no. ...

-- 
Janus Christensen __
I want something that'll give me the stamina of a young werewolf, the
vision of a shaman, the thoughts of a serial killer and the gentleness
of a hungry vampire bat.  --  Spider Jerusalem, Transmetropolitan




signature.asc
Description: This is a digitally signed message part


Re: [Evolution] Stripping .sig's in replies

2002-04-18 Thread Jeffrey Stedfast

We took it out because users complained that it sometimes stripped part
of some messages (where people put the magic string into the middle of
the message rather than only using it for their signature).

Jeff

On Thu, 2002-04-18 at 12:42, Stuart Luppescu wrote:
 There was recently a discussion on the RedHat Enigma list about how
 ``decent'' mail clients automatically strip everything after the ``-- ''
 that marks the signature when replying to a message. Evolution kindly
 puts the correct marker in, but doesn't seem to strip the .sig in
 replies. Or am I missing a switch or something?
 -- 
 Stuart Luppescu -=- [EMAIL PROTECTED]
 University of Chicago -=- CCSR 
 $B:MJ8$HCRF`H~$NIc(B -=-Kernel 2.4.18-xfs
 I watch television because you don't know what it
  will do if you leave it in the room alone. 
  
-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
[EMAIL PROTECTED]  - www.ximian.com


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



Re: [Evolution] How to access IMAP folders not starting with INBOX?

2002-04-18 Thread Not Zed

You should be able to set the namespace to ir (in the server config),
or perhaps just turn it off entirely (?).

Unfortunately we dont support multiple namespaces as yet however.

On Thu, 2002-04-18 at 19:32, Kai Großjohann wrote:
 When I look at the list of IMAP folders, it shows me INBOX (which is
 the INBOX folder) and foo (which is the INBOX.foo folder).
 
 But I also have ir.bar folders, which are not shown.  How can I show
 them?
 
 (I'm accessing a Cyrus 1.6.x IMAP server.)
 
 kai
 -- 
 Silence is foo!
 
 ___
 evolution maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/evolution


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution



[Evolution] dynamic auto-fetch frequency?

2002-04-18 Thread Ben FrantzDale

Here's an idea. If people like it I'll put it into bugzilla.

Motivation:
My mail volume is irregular. When a mailing list dives into a busy
thread, I can get a message a minute or more. Other times (like at 4AM)
I get a message an hour. When traffic is high I find myself hitting
send/recieve to see if there's new mail.

Solution:
Rather than having one frequency at which to check mail (eg: every 10
minutes), give evolution a lower and upper bound on mail-check
frequency. Once evolution has downloaded mail, calculate the current
message frequency: X messages per minute. Then check mail again in
min(upper_bound,max(C*X, lower_bound)), where C is some constant. This
would mean you'd predict to get C messages on the next check. The
lower_bound would keep you from hammering your mail server and the upper
bound would prevent it from going hours without checking.

Disadvantage:
It would make the dialog to control mail fetching frequency more
complex.

What do you think? Is this crazy or a decent idea?

--Ben





signature.asc
Description: This is a digitally signed message part


Re: [Evolution] Mark all as Read - Query.

2002-04-18 Thread Rob Walker

On Thu, 2002-04-18 at 13:41, Janus Christensen wrote:
 On Thu, 2002-04-18 at 05:32, Rob Brown-Bayliss wrote:
 
  Yeah, for me vFolders are why evolution exists, might not be the real
  reason but think they are the best thing.  I expect to hear of
  Microsoft's new innovative virtual folders for outlook any day now ;o)
 
 MS Lookout has something called Views which allows you to set up
 filters on messages and such, but they are rather limited (read:
 useless) because they only work on a single folder, not across several
 folders.
 
 But, yeah, I guess one shouldn't be surprised if Microsoft steals the
 idea. Maybe Ximian should patent the concept?

Yes!  Yes!  I was going to suggest this when I first found that
Evolution did something that another application didn't do.  

I think that software patents are a very yucky thing, and are being used
in a very bad way.  However, if it is good for the goose, it is good for
the gander, and a I think a good use of software patents would be to
secure the use of technology to open source software.  It is a shame
that they (restriction of the flow of information via legal means, aka
software patents) must be used, but I think they are needed to keep
software available.


 OTOH, if MS uses its patents in SMB/CIFS with the express purpose of
 denying the Open Source community that functionality, why shouldn't the
 Open Source community turn the tables on them? A suitable add-on to the
 Evolution license stating something like, Anybody Microsoft is allowed
 to use concepts, ideas, etc covered by patent no. ...

To paraphrase in the way I feel it, Since the software patent system is
so messed up, we who want to secure software for use by many need to be
more aggressive than everyone else, to secure those rights for many
using whatever legal means we have at our disposal.

I for one would love to see Open Source software patents, with 
licensing being free for other Open Source software, and costly (a free
cross license grant to open source projects comes to mind) for non-Open
Source software.

rob


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution