Re: [Evolution-hackers] Bonobo activation fails... gconf/schema related?

2005-09-01 Thread Jules Colding
On Thu, 2005-09-01 at 13:02 +0200, Jules Colding wrote: On Thu, 2005-09-01 at 12:04 +0200, Jules Colding wrote: OK, top-posting but... this has me completely baffled: and still does, cause now it won't start again :-( Killing bonobo-activation-server helps, but I can't see why as it should

Re: [Evolution-hackers] [Camale] When is the store finalize() called?

2005-09-13 Thread Jules Colding
On Tue, 2005-09-13 at 03:15 -0600, Susarla Parthasarathi wrote: Thats a known issue. A little complicated to fix. But is surely fixable. Is it in Bugzilla? -- jules ___ Evolution-hackers mailing list Evolution-hackers@gnome.org

Re: [Evolution-hackers] [Camel] Folder names

2005-09-13 Thread Jules Colding
On Tue, 2005-09-13 at 14:06 +0200, Jules Colding wrote: Hi, Are folder names absolute path names in unix convention starting from the top folder, e.g.: /Inbox/evolution ?? My problem is that two folders might have identical paths if the above is correct. I can't e.g. see any reason why

Re: [Evolution-hackers] [Camel] How can I get a reference to the store class from another class?

2005-09-14 Thread Jules Colding
On Tue, 2005-09-13 at 22:15 +0800, Not Zed wrote: Something like: CAMEL_SERVICE_CLASS(parent_class)-connect(service, ex); from within the transport connect() method? yup. you could do it. Should be no problem. Guess its a clean way to do it. Partha, what are you

Re: [Evolution-hackers] [Camel] When is the store finalize() called?

2005-09-14 Thread Jules Colding
, 2005-09-13 at 12:00 +0200, Jules Colding wrote: On Tue, 2005-09-13 at 17:24 +0800, Not Zed wrote: No. Sync could be called at any time. I wasn't aware it was a known issue either, stores certainly used to be finalised at one point. Is this an issue that will be fixed

Re: [Evolution-hackers] [Camel] Folder names

2005-09-15 Thread Jules Colding
On Wed, 2005-09-14 at 18:10 +0800, Not Zed wrote: It certainly would. Does any upper-level component do any string manipulation with the full name? My idea is to put the entryid at the end of the full name and separate the full name readable part from the entryid part with '\0'. Something

[Evolution-hackers] [Camel] connect() invokation order

2005-09-15 Thread Jules Colding
Hi, Am I correct in assuming that the CamelStore connect() is always invoked before the CamelTransport connect() due to the retrieval of the folder hierarchy? Thanks, jules ___ Evolution-hackers mailing list Evolution-hackers@gnome.org

Re: [Evolution-hackers] [Camel] Folder names

2005-09-16 Thread Jules Colding
On Fri, 2005-09-16 at 11:36 +0800, Not Zed wrote: I just got another idea. Is trailing whitespace ever removed from a name being it full or not? I could then add one or more trailing ' 's to any name to make it unique among other folders with identical display name. Like this: fi_a

[Evolution-hackers] FYI: WebDAV product plans at MS

2005-09-16 Thread Jules Colding
Hi, This is only a heads-up. Please forgive me if this is noise... Anyway, WebDAV is eventually going away. Not soon by any stretch of imagination, but the plans has been made public: http://blogs.technet.com/exchange/archive/2005/09/15/410941.aspx Best regards, jules

[Evolution-hackers] Link error in evolution-data-server/servers/groupwise

2005-10-03 Thread Jules Colding
Hi, CVS (gnome-2-12 branch) gives: # SNIP make all-recursive make[1]: Entering directory `/home/andersca/work/src/evolution-data-server' Making all in libdb make[2]: Entering directory `/home/andersca/work/src/evolution-data-server/libdb' Making all in dist

Re: [Evolution-hackers] [Camel] How can I get a reference to the store class from another class?

2005-10-10 Thread Jules Colding
On Tue, 2005-09-13 at 22:15 +0800, Not Zed wrote: On Tue, 2005-09-13 at 04:31 -0600, Susarla Parthasarathi wrote: On Tue, 2005-09-13 at 10:26 +, Jules Colding wrote: On Tue, 2005-09-13 at 04:08 -0600, Susarla Parthasarathi wrote: On Tue, 2005-09-13 at 09:56 +, Jules Colding

[Evolution-hackers] [CAMEL] CamelStore create_folder() name constraints...

2005-10-17 Thread Jules Colding
Hi, Is the folder_name argument guaranteed to be a unique name in the context of the parent folder? An example: parent_name is Save/Evolution. folder_name is doc. Is it guaranteed that no sub-folder with the name doc exists in Save/Evolution when the function is invoked? Is it guaranteed that

Re: [Evolution-hackers] [CAMEL] CamelStore create_folder() name constraints...

2005-10-17 Thread Jules Colding
On Mon, 2005-10-17 at 16:24 +0530, Parthasarathi Susarla wrote: On Mon, 2005-10-17 at 12:13 +0200, Jules Colding wrote: Is it guaranteed that no sub-folder with the name doc exists in Save/Evolution when the function is invoked? Yes. OK, good. Is it guaranteed that the create_folder

[Evolution-hackers] [CAMEL] CamelFolder *_getv() - What should it do?

2005-10-17 Thread Jules Colding
Hi, I can see several providers implementing a *_getv() method. It seems that it just provides a descriptive name of the folder in question. Is that correct? Thanks, jules ___ Evolution-hackers mailing list Evolution-hackers@gnome.org

Re: [Evolution-hackers] [CAMEL] CamelFolder *_getv() - What should it do?

2005-10-17 Thread Jules Colding
On Mon, 2005-10-17 at 16:48 +0530, Parthasarathi Susarla wrote: On Mon, 2005-10-17 at 13:04 +0200, Jules Colding wrote: Hi, I can see several providers implementing a *_getv() method. It seems that it just provides a descriptive name of the folder in question. Is that correct? It does

Re: [Evolution-hackers] [CAMEL] CamelStore create_folder() name constraints...

2005-10-18 Thread Jules Colding
On Tue, 2005-10-18 at 11:13 +0530, Parthasarathi Susarla wrote: On Mon, 2005-10-17 at 12:02 -0400, Jeffrey Stedfast wrote: On Mon, 2005-10-17 at 16:24 +0530, Parthasarathi Susarla wrote: On Mon, 2005-10-17 at 12:13 +0200, Jules Colding wrote: Is it guaranteed that no sub-folder

Re: [Evolution-hackers] [Camel/Exchange] What do I do with un-deletable folders?

2005-10-31 Thread Jules Colding
On Mon, 2005-10-31 at 14:13 +0100, Jules Colding wrote: Does Camel have a flag or something that I can use to mark those message stores as un-deletable folders or should I just ignore attempts to delete/modify them? Never mind... I just noticed CAMEL_FOLDER_SYSTEM. -- jules

[Evolution-hackers] [CAMEL] CamelFolderInfo clarification please...

2005-11-01 Thread Jules Colding
Hi, I think that I know how to interpret CamelFolderInfo but I would really appreciate to have my understanding confirmed in the context of get_folder_info(). CamelFolderInfo is declared as: typedef struct _CamelFolderInfo { struct _CamelFolderInfo *next; struct

[Evolution-hackers] CAMEL_FOLDER_HIDDEN?

2005-11-01 Thread Jules Colding
Hi, I can see a CAMEL_FOLDER_VISIBLE but no HIDDEN. Is there a way to mark a folder invisible?? Thanks, jules ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers

Re: [Evolution-hackers] CAMEL_FOLDER_HIDDEN?

2005-11-02 Thread Jules Colding
On Wed, 2005-11-02 at 09:18 +0800, Not Zed wrote: No. CAMEL_FOLDER_VISIBLE is a count of the number of visible messages in the folder, it has nothing to do with folder flags. OK, thanks jules On Tue, 2005-11-01 at 13:35 +0100, Jules Colding wrote: Hi, I can see

Re: [Evolution-hackers] [CAMEL] CamelStore create_folder() name constraints...

2005-11-02 Thread Jules Colding
On Wed, 2005-11-02 at 09:17 +0800, Not Zed wrote: So sibling folders with identical names might very well exist in any folder? I can not create any such folder with Evolution 2.2.x so it is up to the Camel provider to enforce any such constraint I guess?? Umm thats not what you asked.

Re: [Evolution-hackers] [CAMEL] Can a CamelFolder do without a CamelFolderSummary?

2005-11-10 Thread Jules Colding
On Thu, 2005-11-10 at 12:25 +0100, Jules Colding wrote: Hi, Is the folder-summary member required to be non-NULL? I am seeing segvs all over the place, after having done my folder implementation, which I suspect is because of access to the folder-summary member which, being NULL, can't

Re: [Evolution-hackers] [CAMEL] CamelFolder *_getv() - What should it do?

2005-11-14 Thread Jules Colding
Hi, On Mon, 2005-10-17 at 16:48 +0530, Parthasarathi Susarla wrote: On Mon, 2005-10-17 at 13:04 +0200, Jules Colding wrote: Hi, I can see several providers implementing a *_getv() method. It seems that it just provides a descriptive name of the folder in question. Is that correct

[Evolution-hackers] When do I update the Camel.FolderSummary?

2005-11-15 Thread Jules Colding
Hi, Reading the comments in the code, it seems that I should only update the folder summary when explicitly told so by Evolution invoking the camel_folder_refresh_info() method or, obviously, when I know something changed server-side. Is that correct? Thanks, jules

Re: [Evolution-hackers] When do I update the Camel.FolderSummary?

2005-11-15 Thread Jules Colding
On Tue, 2005-11-15 at 16:36 +0530, Parthasarathi Susarla wrote: On Tue, 2005-11-15 at 11:45 +0100, Jules Colding wrote: Hi, Reading the comments in the code, it seems that I should only update the folder summary when explicitly told so by Evolution invoking

[Evolution-hackers] Camel.FolderSummary - dazed and confused

2005-11-15 Thread Jules Colding
Hi, I am having a hard time reading the source for documentation on how I should build my folder summaries. The class is very big and the source is not easy to followed. I would be very grateful if someone in the know could describe the whole FolderSummary thing for me. Thanks a lot in

[Evolution-hackers] Are SMTP header field names case sensitive?

2005-11-21 Thread Jules Colding
Hi, RFC 2822 (or RFC 822 for that matter) doesn't explicitly states whether SMTP header field names are case sensitive or not. I would think not but could someone please confirm this? Thanks, jules ___ Evolution-hackers mailing list

Re: [Evolution-hackers] Are SMTP header field names case sensitive?

2005-11-22 Thread Jules Colding
On Mon, 2005-11-21 at 11:00 -0500, Jeffrey Stedfast wrote: They're not SMTP header fields, they are Message header fields :) But no, they are not case-sensitive. OK, thanks. That clears it up. -- jules Jeff On Mon, 2005-11-21 at 10:48 +0100, Jules Colding wrote: Hi, RFC 2822

[Evolution-hackers] I am confused about CamelMessageInfoBase.message_id

2005-11-25 Thread Jules Colding
Hi, How do I populate this field? I can see in camel-nntp-utils.c:l196 that it is a strdup() of the Message-ID message header filed, but CamelSummaryMessageID is only 8 bytes big, so how can it fit in there? This can't be right, so I am certain that I am missing something in a really stupid and

[Evolution-hackers] Re: [Apologies] Can camel-mime-utils.[ch] be made public please?

2005-11-28 Thread Jules Colding
On Mon, 2005-11-28 at 13:59 +0100, Jules Colding wrote: Hi, camel-mime-utils.[ch] contains a *lot* of extremely useful utility functions for Camel providers but those functions are inaccessible for provider backends being developed outside the main tree. Other utility functions

Re: [Evolution-hackers] camel_header_unfold()

2005-11-28 Thread Jules Colding
On Mon, 2005-11-28 at 15:10 +0100, Jules Colding wrote: *dst = *rfc822_header; if (!dst) break; That should be: *dst = *rfc822_header; if ('\0' == *dst) break; -- jules

Re: [Evolution-hackers] I am confused about CamelMessageInfoBase.message_id

2005-11-29 Thread Jules Colding
Jeff On Fri, 2005-11-25 at 13:38 +0100, Jules Colding wrote: Hi, How do I populate this field? I can see in camel-nntp-utils.c:l196 that it is a strdup() of the Message-ID message header filed, but CamelSummaryMessageID is only 8 bytes big, so how can it fit in there? This can't

Re: [Evolution-hackers] What do I do about missing data in the message summary?

2005-11-29 Thread Jules Colding
On Tue, 2005-11-29 at 03:04 +0530, Parthasarathi Susarla wrote: On Mon, 2005-11-28 at 10:20 -0500, Jeffrey Stedfast wrote: actually, that's not true. date_sent is gotten from the MIME message headers (Date: header, fwiw). But isnt that the Date received or the date created and not the

Re: [Evolution-hackers] camel_header_unfold()

2005-11-29 Thread Jules Colding
On Mon, 2005-11-28 at 12:12 -0500, Jeffrey Stedfast wrote: I see what you are thinking, but by the time this code is run on any input, the \r has already been stripped and you cannot, by definition, have \n\n in a header (it terminates the header block so we don't have to worry about that).

Re: [Evolution-hackers] camel_header_unfold()

2005-11-30 Thread Jules Colding
On Tue, 2005-11-29 at 10:25 -0500, Jeffrey Stedfast wrote: Might be nitpicking, but RFC 2822 says: The process of moving from this folded multiple-line representation of a header field to its single line representation is called unfolding. Unfolding is accomplished by simply

[Evolution-hackers] Weird late relase of CamelContentType* in camel-folder-summary.c

2005-12-02 Thread Jules Colding
Hi, The ct valiable (of type CamelContentType*) in the camel-folder-summary.c function message_info_new_from_header(), is not released until line 1628, but the last time it is used is in a big if statement at line 1614. Why can't it be released at line 1618? Is it mysteriously being used

Re: [Evolution-hackers] CamelMessageInfoBase.from/to/cc

2005-12-05 Thread Jules Colding
On Mon, 2005-12-05 at 19:46 +0530, Parthasarathi Susarla wrote: On Mon, 2005-12-05 at 14:14 +0100, Jules Colding wrote: Hi, Must the from, to and cc members be valid email addresses? I am trying to make my CamelMessageInfoBase-building function be as tolerant as possible towards

[Evolution-hackers] Should I unref a CamelMesageInfoBase?

2005-12-07 Thread Jules Colding
Hi, Must I unref a reference to a message info when retrieved by camel_folder_summary_uid()? This function increases the refcount before returning it. I can see from gw_update_summary() in the GroupWise provider that it never unrefs the reference. Is that wrong? Thanks, jules

[Evolution-hackers] [Fwd: Weird late relase of CamelContentType* in camel-folder-summary.c]

2005-12-09 Thread Jules Colding
Hi, Forwarded as my original reply is gone... # snip ## The ct valiable (of type CamelContentType*) in the camel-folder-summary.c function message_info_new_from_header(), is not released until line 1628, but the last time it is used is in a big if statement at line 1614.

[Evolution-hackers] Weird logic in Camel Groupwise provider...

2005-12-10 Thread Jules Colding
Hi, The GW provider has this code snippet in camel-groupwise-folder.c:gw_update_cache(): # snip ### mi = (CamelGroupwiseMessageInfo *)camel_folder_summary_uid (folder-summary, id); if (mi) { exists = TRUE;

Re: [Evolution-hackers] Possible bug in GW Camel provider

2005-12-14 Thread Jules Colding
Hi Partha, On Tue, 2005-12-13 at 18:40 +0530, Parthasarathi Susarla wrote: On Tue, 2005-12-13 at 13:36 +0100, Jules Colding wrote: [snip] Problems seems to arise if exists is TRUE. Issue 1) pstrings, such as mi-info.from, are being overwritten without being released. Issue 2) mi

[Evolution-hackers] http://go-evolution.org/ - Offline copy?

2005-12-15 Thread Jules Colding
Hi, There is a wealth of information on the evo wiki, but is there any easy way to save a local copy for offline viewing? Thanks, jules ___ Evolution-hackers mailing list Evolution-hackers@gnome.org

Re: [Evolution-hackers] http://go-evolution.org/ - Offline copy?

2005-12-15 Thread Jules Colding
On Thu, 2005-12-15 at 13:03 -0500, Lee Revell wrote: On Thu, 2005-12-15 at 12:41 +0100, Jules Colding wrote: Hi, There is a wealth of information on the evo wiki, but is there any easy way to save a local copy for offline viewing? wget No. I tried that a few weeks ago, but nothing

Re: [Evolution-hackers] http://go-evolution.org/ - Offline copy?

2005-12-16 Thread Jules Colding
On Thu, 2005-12-15 at 14:32 -0500, Saikat Guha wrote: On Thu, 2005-12-15 at 13:03 -0500, Lee Revell wrote: On Thu, 2005-12-15 at 12:41 +0100, Jules Colding wrote: Hi, There is a wealth of information on the evo wiki, but is there any easy way to save a local copy for offline

[Evolution-hackers] CamelMimeMessage - Should I set all or a subset of the headers?

2005-12-19 Thread Jules Colding
Hi, I can not figure out if I should manually extract as many message header fields from the remote server or if just a few of them (which?) are needed to create a good CamelMimeMessage... I think that I need to set as many as possible, but could someone please confirm this? Thanks, jules

[Evolution-hackers] [CAMEL] Can't get Evolution to detect UTF-8 message body

2006-01-04 Thread Jules Colding
Hi, I get the following message source when I build a CamelMimeMessage from Exchange 5.5: ### snip From [EMAIL PROTECTED] Tue Jan 3 09:38:42 2006 Date: Tue, 03 Jan 2006 09:38:42 +0001 Subject: Most certainly UTF-8 Message-Id: [EMAIL PROTECTED] From: Jules Colding [EMAIL

Re: [Evolution-hackers] [CAMEL] Can't get Evolution to detect UTF-8 message body

2006-01-04 Thread Jules Colding
On Wed, 2006-01-04 at 13:14 +0100, Jules Colding wrote: I get the following message source when I build a CamelMimeMessage from Exchange 5.5: ### snip From [EMAIL PROTECTED] Tue Jan 3 09:38:42 2006 ^ That character is not in the message source. -- jules

[Evolution-hackers] CamelStore.get_folder() with no folder name

2006-01-04 Thread Jules Colding
Hi, I am seeing that get_folder() is being invoked with the empty string as folder name as in: my_provider_store-get_folder(some_store, , 0, ex); What am I expected to return here? Thanks, jules ___ Evolution-hackers mailing list

[Evolution-hackers] How do I make the transport capability of my Camel provider public?

2006-01-16 Thread Jules Colding
Hi, I am doing the usual brutus_provider.object_types[CAMEL_PROVIDER_STORE] = camel_brutus_store_get_type() ; brutus_provider.object_types[CAMEL_PROVIDER_TRANSPORT] = camel_brutus_transport_get_type(); registration of the provider, but it does not seem to be accepted by

[Evolution-hackers] Camel.Store - create_folder() confusion

2006-02-13 Thread Jules Colding
Hi, I am slightly confused about the parent_name and folder_name arguments to create_store(). Is parent_name a leading substring of folder_name? I mean: parent_name = /foo/bar/folder folder_name = /foo/bar/folder/new_folder/yet_another_folder Can folder_name contain non-existing parents and

[Evolution-hackers] camel_store_get_folder_info() memory handling

2006-02-15 Thread Jules Colding
Hi, Please correct me if I am wrong, but I have suddenly become in doubt about who owns the memory returned by camel_store_get_folder_info(). camel_store_get_folder_info() returns a CamelFolderInfo* so the memory pointed returned by my provider implementation of get_folder_info() must be freed

Re: [Evolution-hackers] camel_store_get_folder_info() memory handling

2006-02-16 Thread Jules Colding
. Hope that helps, It does. Thanks a lot :-) jules Jeff On Wed, 2006-02-15 at 14:21 +0100, Jules Colding wrote: Hi, Please correct me if I am wrong, but I have suddenly become in doubt about who owns the memory returned by camel_store_get_folder_info

[Evolution-hackers] camel_store_delete_folder() - possible segv errors...

2006-02-16 Thread Jules Colding
Hi, I am seeing up-source Camel code accessing and using memory previously freed. The scenario is: 1) My provider implementation of delete_folder() is invoked. 2) The code goes something like this: brutus_delete_folder(CamelStore *store, const char *folder_name,

[Evolution-hackers] Exchange: Project update for evolution-brutus (FC4 RPMs available)

2006-02-23 Thread Jules Colding
Hi, This is a short status report on the evolution-brutus (e-b for short) plugin for Evolution 2.4. It has progressed a lot (again) since the last status update. What is e-b? e-b is a plugin to Evolution 2.4 which provides access to Extended MAPI and therefore to all Exchange

[Evolution-hackers] camel_folder_transfer_messages_to(): Provider assumptions?

2006-02-28 Thread Jules Colding
Hi, Can I assume anything regarding the source and dest folders below? void camel_folder_transfer_messages_to(CamelFolder *source, GPtrArray *uids, CamelFolder *dest, GPtrArray

Re: [Evolution-hackers] camel_folder_transfer_messages_to(): Provider assumptions?

2006-02-28 Thread Jules Colding
, It does. Thanks for the clarification, jules partha On Tue, 2006-02-28 at 11:08 +0100, Jules Colding wrote: Hi, Can I assume anything regarding the source and dest folders below? void camel_folder_transfer_messages_to(CamelFolder *source

Re: [Evolution-hackers] Camel.Store or Camel.Folder sync()

2006-02-28 Thread Jules Colding
On Wed, 2006-03-01 at 11:19 +0530, Parthasarathi Susarla wrote: On Tue, 2006-02-28 at 15:21 +0100, Jules Colding wrote: Hi, Both methods seem to be designed to do the same wrt deleted messages - namely to expunge them if the option is set. Where should I put the expunge

[Evolution-hackers] CamelMessageInfoBase level dirty flag somewhere?

2006-03-02 Thread Jules Colding
Hi, I am implementing camel_folder_sync(). It would be really nice to know, when loping over the message summaries, if a summary has changed since it was loaded. Imagine that the CAMEL_MESSAGE_FLAGGED flag has been set by the user in CamelMessageInfoBase.flags. Is there any way for my provider

[Evolution-hackers] When do I set the read flag?

2006-03-02 Thread Jules Colding
Hi, A mail will be non-highlighted after about 1 or 2 seconds when clicked upon if it hasn't been opened before. How do I detect this change in the CamelMessageInfoBase flags? I would like to delay the setting of the READ flag on the remote mail until it happens visually for the user instead at

Re: [Evolution-hackers] CamelMessageInfoBase level dirty flag somewhere?

2006-03-03 Thread Jules Colding
CamelMessageInfo and then diff those flags from the CamelMessageInfoBase.flags. OK, thanks a lot. -- jules Jeff On Thu, 2006-03-02 at 11:13 +0100, Jules Colding wrote: Hi, I am implementing camel_folder_sync(). It would be really nice to know, when loping over the message summaries

Re: [Evolution-hackers] Can we *PLEASE* get the go-evolution.org DNS restored?

2006-03-29 Thread Jules Colding
On Wed, 2006-03-29 at 09:54 +0200, guenther wrote: On Tue, 2006-03-28 at 09:27 +0200, Jules Colding wrote: On Mon, 2006-03-27 at 23:33 +0200, guenther wrote: 'nuff said. Let me repeat it anyway: Can we *PLEASE* get the go-evolution.org DNS restored? I have a reasonably resent

[Evolution-hackers] Encoding content in MIME part?

2006-03-31 Thread Jules Colding
Hi, Should I base64 encode the content of a MIME part when building a multi-part MIME message or should I just use the raw data? Thanks, jules ___ Evolution-hackers mailing list Evolution-hackers@gnome.org

[Evolution-hackers] New calendar backend - How do I make it appear?

2006-04-10 Thread Jules Colding
Hi, I am writing a calendar backend for Brutus. I am (to the best of my knowledge) following the wiki to the letter: http://go-evolution.org/EDS_Architecture#Calendar_backends The problem is that my calendar backend don't show up when trying to create a new calendar in the Evolution 2.4 UI. I

Re: [Evolution-hackers] New calendar backend - How do I make it appear?

2006-04-10 Thread Jules Colding
On Mon, 2006-04-10 at 15:41 +0200, Jules Colding wrote: PS: Full source (look in brutus/idl/products/evolution/2.4) here: Corrected link: http://www.omesc.com/content/downloads/brutus-snapshot.tar.bz2 -- jules ___ Evolution-hackers mailing

[Evolution-hackers] How do I use e_passwords_ask_password() without segvs?

2006-04-26 Thread Jules Colding
Hi, I am trying to invoke e_passwords_ask_password() from a standalone application as well as from my Calendar backend. Both attempts fails miserably with a segv. The segv is in gtk_icon_set_render_icon() and I have no idea of why this happens. The standalone test code that calls

Re: [Evolution-hackers] How do I use e_passwords_ask_password() without segvs?

2006-04-26 Thread Jules Colding
On Wed, 2006-04-26 at 11:46 +0100, Ross Burton wrote: On Wed, 2006-04-26 at 12:27 +0200, Jules Colding wrote: I am trying to invoke e_passwords_ask_password() from a standalone application as well as from my Calendar backend. Both attempts fails miserably with a segv. The segv

[Evolution-hackers] How do I query a password from a calendar backend?

2006-04-26 Thread Jules Colding
Hi, I am having difficulties using e_passwords_ask_password() from with my calendar backend. I am trying to query the password from within the open_sync() method. I have tried wrapping the e_passwords_ask_password() in gdk_threads_enter()/gdk_threads_leave() but that will only result in

Re: [Evolution-hackers] emacs ChangeLog macro

2006-05-02 Thread Jules Colding
On Mon, 2006-05-01 at 10:56 -0400, Jeffrey Stedfast wrote: I've noticed a lot of inconsistantly formatted ChangeLog entries so I'm sending out this email so the hackers can all add it to their .emacs file (since I'm guessing they don't have it?). C-x 4 a should do the same. -- jules

[Evolution-hackers] Camel password - Remembered?

2006-05-03 Thread Jules Colding
Hi, How do I figure out if the user has chosen to check the Remember password check box when queried by Camel for a password? Thanks, jules ___ Evolution-hackers mailing list Evolution-hackers@gnome.org

Re: [Evolution-hackers] Camel password - Remembered?

2006-05-04 Thread Jules Colding
On Wed, 2006-05-03 at 12:30 -0400, Jeffrey Stedfast wrote: There's no way for a camel provider to know this... This is all handled in the front-end. OK, thanks. jules Jeff On Wed, 2006-05-03 at 14:15 +0200, Jules Colding wrote: Hi, How do I figure out if the user has chosen

Re: [Evolution-hackers] How do I query a password from a calendar backend?

2006-05-04 Thread Jules Colding
Hi Chenthill, On Thu, 2006-05-04 at 22:16 +0530, Chenthill wrote: Hi jules, It is not a good idea to prompt password from the backend. Probably you could write a plugin in evolution for creating the specific calendar and check if you need authentication before setting the auth property.

[Evolution-hackers] When do open_sync() gets called from a calendar backend?

2006-05-05 Thread Jules Colding
Hi, I am a bit mystified, due to my lack of intellectual resources, about the behavior of my calendar backend. I have created the gconf source for the calendar and are trying to get Evolution to call open_sync() on it, but that never happens. Instead I am seeing set_mode_sync() and

Re: [Evolution-hackers] When do open_sync() gets called from a calendar backend?

2006-05-08 Thread Jules Colding
that e_cal_open() is being called, not e_cal_open_async(). My calendar inherits from ECalBackendSync so isn't that as it should be? Well, I'll better spread a few printf()'s in e_cal_open() to see where it fails. Thanks, jules thanks, Chenthill. On Fri, 2006-05-05 at 14:05 +0200, Jules

[Evolution-hackers] CAL_STATIC_CAPABILITY_* documentation?

2006-05-09 Thread Jules Colding
Hi, Does any documentation as to the precise meaning of the capabilities exists? Some of these aren't entirely obvious. Here is my take on the definitions: * CAL_STATIC_CAPABILITY_NO_ALARM_REPEAT No repeating alarms. How is this related to the backend? Isn't it the Evolution front-end that do

Re: [Evolution-hackers] CAL_STATIC_CAPABILITY_* documentation?

2006-05-09 Thread Jules Colding
On Tue, 2006-05-09 at 14:30 +0200, Jules Colding wrote: * CAL_STATIC_CAPABILITY_NO_AUDIO_ALARMS No audio alarms. Again, how is this related to the backend? Hmm... cut'n paste from a HTML page. These horizontal lines

Re: [Evolution-hackers] CAL_STATIC_CAPABILITY_* documentation?

2006-05-09 Thread Jules Colding
On Tue, 2006-05-09 at 14:32 +0200, Jules Colding wrote: On Tue, 2006-05-09 at 14:30 +0200, Jules Colding wrote: * CAL_STATIC_CAPABILITY_NO_AUDIO_ALARMS No audio alarms. Again, how is this related to the backend

Re: [Evolution-hackers] CAL_STATIC_CAPABILITY_* documentation?

2006-05-10 Thread Jules Colding
Hi Harry, Thanks a lot for these explanations. Most helpful :-) Does any one know about the remaining ones below? Thanks, jules On Tue, 2006-05-09 at 20:59 +0800, Harry Lu wrote: * CAL_STATIC_CAPABILITY_NO_CONV_TO_ASSIGN_TASK What is this? Convert from what? *

[Evolution-hackers] Calendar backend - ECalComponent properties

2006-05-18 Thread Jules Colding
Hi, How do I set properties on an ECalComponent to the effect that the following check boxes are checked: 1) All day event 2) Show time as busy I can't see any methods in e-cal-component.h to that effect... Thanks a lot, jules ___

[Evolution-hackers] What 'role' should a resource-type cutype have?

2006-06-08 Thread Jules Colding
Hi, I can't decide upon the ICAL role that a ECalComponentAttendee should have if cutype is a resource. I am currently doing: attendee-cutype = ICAL_CUTYPE_RESOURCE; attendee-role = ICAL_ROLE_NONPARTICIPANT; // what else? Is that the best thing to do? - Thoughts? Thanks,

Re: [Evolution-hackers] What 'role' should a resource-type cutype have?

2006-06-16 Thread Jules Colding
On Fri, 2006-06-16 at 11:46 +0530, Chenthill wrote: Hi Jules, On Thu, 2006-06-08 at 13:15 +0200, Jules Colding wrote: Hi, I can't decide upon the ICAL role that a ECalComponentAttendee should have if cutype is a resource. I am currently doing: attendee-cutype

[Evolution-hackers] Events diplayed as tasks?

2006-06-16 Thread Jules Colding
Hi, I have a functioning calendar backend that supports events as well as tasks. The events are displayed in the calendar as expected, but they are also appearing as tasks in the summary list. Why?? I haven't even populated the task cache yet, so everything displayed in the task list is really

[Evolution-hackers] Calendar backend: RepositoryOffline V. OfflineUnavailable

2006-06-26 Thread Jules Colding
Hi, What exactly is the difference between those two return values? Thanks, jules ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers

[Evolution-hackers] GroupWise calendar backend: Small logic overdesign

2006-06-27 Thread Jules Colding
Hi, Just a quick note In e_cal_backend_groupwise_create_object() we find: ### if (priv-mode == CAL_MODE_LOCAL) { in_offline(cbgw); return GNOME_Evolution_Calendar_RepositoryOffline; } ### About 16 lines later we see:

[Evolution-hackers] Memory leak in GW/file calendar backends?

2006-06-27 Thread Jules Colding
Hi, In e_cal_backend_groupwise_create_object() we find that *calobj is being assigned a value without being g_free()'ed first. Does caller hold a copy of *calobj or is this a memory leak? The same logic applies to the file backend. Best regards, jules

Re: [Evolution-hackers] Multiple calendars

2006-07-11 Thread Jules Colding
Hi Scott, On Fri, 2006-07-07 at 16:27 -0700, Scott Herscher wrote: Hey all. I'm struggling to understand something that I think should be obvious. I'll try a shot at an explanation below despite my very limited knowledge... I'm writing a new e-cal backend, and it connects to a server that

Re: [Evolution-hackers] Multiple calendars

2006-07-11 Thread Jules Colding
. Just hide something that identifies the particular calendar within the e-source uri. HTH, jules Thanks, Scott - Original Message - From: Jules Colding [EMAIL PROTECTED] To: Scott Herscher [EMAIL PROTECTED] Cc: evolution-hackers@gnome.org Sent: Monday, July 10, 2006 2:36:26 AM

Re: [Evolution-hackers] Recurrence woes

2006-08-02 Thread Jules Colding
On Tue, 2006-08-01 at 15:57 -0700, Scott Herscher wrote: Hey all. I'm pretty close to getting recurrent events working (I think), but Evolution doesn't seem to want to behave. Maybe this is something trivial like your get_static_capabilities() implementation not returning the right

[Evolution-hackers] Camel: Recommended way to reload folder summary?

2006-08-10 Thread Jules Colding
Hi, This is rather unusual, but I need a good way of reloading the folder summary from file for a CamelFolder. Any recommended utility function(s) to do that? Or should I just unref the summary and then use camel_folder_summary_load()? Thanks, jules

Re: [Evolution-hackers] Camel unreferencing question

2006-08-25 Thread Jules Colding
On Fri, 2006-08-25 at 12:10 +0200, Philip Van Hoof wrote: Camel hackers, It's not clear from the gtk-doc API documentation* whether or not you must unreference a store after getting it using camel_session_get_store *) http://pvanhoof.be/files/libcamel-api/html/CamelSession.html The source

[Evolution-hackers] Recurrence ID?

2006-10-13 Thread Jules Colding
Hi, What is the format of the recurrence ID (const char *rid) as used in get_object(), remove_object() and other related calendar methods? Thanks, jules ___ Evolution-hackers mailing list Evolution-hackers@gnome.org

Re: [Evolution-hackers] OWA with SessionGuard [OT]

2006-10-17 Thread Jules Colding
On Tue, 2006-10-17 at 13:58 +0200, Philip Van Hoof wrote: On Tue, 2006-10-17 at 12:33 +0200, Jules Colding wrote: I'm interested in extracting the Camel-only parts of a Camel provider for distribution in tinymail (which is LGPL). OK, just bear in mind that Brutus is GPL

Re: [Evolution-hackers] Recurrence ID?

2006-10-18 Thread Jules Colding
On Tue, 2006-10-17 at 22:34 +0530, chenthill wrote: Hi Jules, The format of the recurrence id (datetime value) is the same as that is specified in rfc 2445. OK, thanks! jules thanks, Chenthill. On Fri, 2006-10-13 at 14:49 +0200, Jules Colding wrote: Hi, What is the format

Re: [Evolution-hackers] [PATCH] Adding execversion to evolution-shell.pc

2006-11-02 Thread Jules Colding
on bugzilla.gnome.org (first choice) or at least on evolution-patches. Will do too ;-) Best regards, jules - Harish On Tue, 2006-10-31 at 14:47 +0100, Jules Colding wrote: Hi, Would anyone object to the following patch? It makes it a lot easier to detect the Evolution version. I

Re: [Evolution-hackers] what's the function of RECURRENCE-ID

2006-11-15 Thread Jules Colding
On Wed, 2006-11-15 at 10:39 +0800, yanglin wrote: Hi, The rfc2445 has the definition of RECURRENCE-ID, and the libical provides the interface: icalcomponent_get_recurrenceid ( ). The rid can be used in the function e_cal_get_object ( ) to specify the rid of the icalcomponent. But the

Re: [Evolution-hackers] what's the f unction of RECURRENCE-ID

2006-11-15 Thread Jules Colding
On Wed, 2006-11-15 at 18:55 +0800, yanglin wrote: Yes, I got it. When an instance of an repeating event needs to be modified instead of the whole set of the events, the RECURRENCE-ID is useful. In other word, To reschedule an event to a set of explicit dates/times but not replace the

[Evolution-hackers] CamelStreamMem == CamelStream ?

2006-11-16 Thread Jules Colding
Hi, I'm looking for an easy way to transfer the content of a CamelStreamMem to a CamelStream without having a duplicate of the content around. Does anyone know a non-hackish(*) way to do that? What I want to accomplish is to read a structure from memory into a CamelStreamMem and then store it in

[Evolution-hackers] Why a bitfield in CamelOfflineFolder?

2006-11-30 Thread Jules Colding
Hi, Is this really necessary? struct _CamelOfflineFolder { CamelFolder parent_object; unsigned int sync_offline:1; }; Wouldn't it be much better/simpler/cleaner simply to do: struct _CamelOfflineFolder { CamelFolder parent_object; gboolean sync_offline; };

[Evolution-hackers] How do I detect changes in the sync_offline checkbox?

2006-11-30 Thread Jules Colding
Hi, Is there a standard way to detect whenever a user checks or un-checks the Copy folder content locally for offline operation check box(*) short of creating a thread to check periodically? A call-bak function or something like that? Thanks, jules (*) For a CamelOfflineFolder instance

Re: [Evolution-hackers] Why a bitfield in CamelOfflineFolder?

2006-11-30 Thread Jules Colding
On Thu, 2006-11-30 at 10:02 +, Ross Burton wrote: On Thu, 2006-11-30 at 09:43 +0100, Jules Colding wrote: Is this really necessary? struct _CamelOfflineFolder { CamelFolder parent_object; unsigned int sync_offline:1; }; Wouldn't it be much better/simpler

Re: [Evolution-hackers] Why a bitfield in CamelOfflineFolder?

2006-11-30 Thread Jules Colding
On Thu, 2006-11-30 at 10:23 +, Ross Burton wrote: On Thu, 2006-11-30 at 11:07 +0100, Jules Colding wrote: Sorry, I must be dim-witted here, but I don't understand your answer. The present definition of CamelOfflineFolder has: unsigned int sync_offline:1

  1   2   >