[dev] Re: [cvs] commit: imp/po ...

Jon Parise jon@csh.rit.edu
Mon, 2 Jul 2001 16:03:01 -0400


On Mon, Jul 02, 2001 at 02:08:36PM -0400, Chuck Hagenbuch wrote:

> >     locale/nl/LC_MESSAGES nag.mo 
> 
> General note: .mo files are binary. Make sure you add them with cvs add -kb.

This should now happen automagically.

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member


>From janmailing@gmx.de Date: Mon,  2 Jul 2001 22:26:49 +0200
Return-Path: <janmailing@gmx.de>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 91284 invoked from network); 2 Jul 2001 20:26:48 -0000
Received: from mailout02.sul.t-online.com (HELO mailout02.sul.t-online.de) (194.25.134.17)
  by horde.org with SMTP; 2 Jul 2001 20:26:48 -0000
Received: from fwd07.sul.t-online.de 
	by mailout02.sul.t-online.de with smtp 
	id 15HAHN-0000wn-0A; Mon, 02 Jul 2001 22:26:45 +0200
Received: from linux.wg.de (320034214675-0001@[217.80.111.60]) by fmrl07.sul.t-online.com
	with esmtp id 15HAHM-1tcX1UC; Mon, 2 Jul 2001 22:26:44 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f62KQoR22286
	for <dev@lists.horde.org>; Mon, 2 Jul 2001 22:26:50 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Mon,  2 Jul 2001 22:26:49 +0200
Message-ID: <994105609.3b40d9095d2bc@linux.wg.de>
Date: Mon,  2 Jul 2001 22:26:49 +0200
From: Jan Schneider <janmailing@gmx.de>
To: dev@lists.horde.org
References: <993862483.3b3d235329c59@linux.wg.de> <994097572.3b40b9a4992eb@marina.horde.org>
In-Reply-To: <994097572.3b40b9a4992eb@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] alarms

Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <janmailing@gmx.de>:
> 
> > I'm currently trying to implement alarms into kronolith.
> > Setting alarms into and reading alarms out of events is no problem. But
> > mcal_list_events returns no events at all. 
> 
> You mean mcal_list_alarms()?

Of course! ;-)
 
> > I'm not sure if the bug is in mstore or php. Would anybody who has more
> > knowledge of C than me have a look at mstore_search_alarm in mstore.c and
> 
> > mcal_list_alarms in php_mcal.c?
> 
> mstore_search_alarm was horribly broken in mstore until quite recently. What
> 
> version of mstore do you have?

The latest one from cvs.

Jan.


>From chuck@horde.org Date: Mon,  2 Jul 2001 16:31:22 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 92569 invoked from network); 2 Jul 2001 20:33:05 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 2 Jul 2001 20:33:05 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 0DB7539F4; Mon,  2 Jul 2001 16:31:23 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Mon,  2 Jul 2001 16:31:22 -0400
Message-ID: <994105882.3b40da1abc2b2@marina.horde.org>
Date: Mon,  2 Jul 2001 16:31:22 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <993862483.3b3d235329c59@linux.wg.de> <994097572.3b40b9a4992eb@marina.horde.org> <994105609.3b40d9095d2bc@linux.wg.de>
In-Reply-To: <994105609.3b40d9095d2bc@linux.wg.de>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [dev] alarms

Quoting Jan Schneider <janmailing@gmx.de>:

> The latest one from cvs.

Okay. Can you show how you're using mcal_list_alarms()?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.


>From janmailing@gmx.de Date: Mon,  2 Jul 2001 22:41:08 +0200
Return-Path: <janmailing@gmx.de>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 95720 invoked from network); 2 Jul 2001 20:47:07 -0000
Received: from mailout04.sul.t-online.com (HELO mailout04.sul.t-online.de) (194.25.134.18)
  by horde.org with SMTP; 2 Jul 2001 20:47:07 -0000
Received: from fwd06.sul.t-online.de 
	by mailout04.sul.t-online.de with smtp 
	id 15HAb3-0004Vi-09; Mon, 02 Jul 2001 22:47:05 +0200
Received: from linux.wg.de (320034214675-0001@[217.80.111.60]) by fmrl06.sul.t-online.com
	with esmtp id 15HAap-0PGIZkC; Mon, 2 Jul 2001 22:46:51 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f62Kf8R22347
	for <dev@lists.horde.org>; Mon, 2 Jul 2001 22:41:08 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Mon,  2 Jul 2001 22:41:08 +0200
Message-ID: <994106468.3b40dc641b40d@linux.wg.de>
Date: Mon,  2 Jul 2001 22:41:08 +0200
From: Jan Schneider <janmailing@gmx.de>
To: dev@lists.horde.org
References: <20010630003538.84782.qmail@horde.org> <994097316.3b40b8a444fae@marina.horde.org> <20010702160301.A5938@csh.rit.edu>
In-Reply-To: <20010702160301.A5938@csh.rit.edu>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] Re: [cvs] commit: imp/po ...

Zitat von Jon Parise <jon@csh.rit.edu>:

> On Mon, Jul 02, 2001 at 02:08:36PM -0400, Chuck Hagenbuch wrote:
> 
> > >     locale/nl/LC_MESSAGES nag.mo 
> > 
> > General note: .mo files are binary. Make sure you add them with cvs add
> -kb.
> 
> This should now happen automagically.

I checked this with the first .mo commit and it already had the sticky options 
correctly set.

Jan.


>From janmailing@gmx.de Date: Mon,  2 Jul 2001 22:38:55 +0200
Return-Path: <janmailing@gmx.de>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 95726 invoked from network); 2 Jul 2001 20:47:08 -0000
Received: from mailout00.sul.t-online.com (HELO mailout00.sul.t-online.de) (194.25.134.16)
  by horde.org with SMTP; 2 Jul 2001 20:47:08 -0000
Received: from fwd06.sul.t-online.de 
	by mailout00.sul.t-online.de with smtp 
	id 15HAb3-0007wr-02; Mon, 02 Jul 2001 22:47:05 +0200
Received: from linux.wg.de (320034214675-0001@[217.80.111.60]) by fmrl06.sul.t-online.com
	with esmtp id 15HAaq-0PGIZlC; Mon, 2 Jul 2001 22:46:52 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f62KcuR22339
	for <dev@lists.horde.org>; Mon, 2 Jul 2001 22:38:56 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Mon,  2 Jul 2001 22:38:55 +0200
Message-ID: <994106335.3b40dbdfc626d@linux.wg.de>
Date: Mon,  2 Jul 2001 22:38:55 +0200
From: Jan Schneider <janmailing@gmx.de>
To: dev@lists.horde.org
References: <994070464.3b404fc0efa7d@linux.wg.de> <994103174.3b40cf866078c@marina.horde.org>
In-Reply-To: <994103174.3b40cf866078c@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] select fields in compose

Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <janmailing@gmx.de>:
> > does anybody see a reason why not to use style="width:" instead of size= in
> > the input fields of the compose window?
> As long as it works in all of our current browsers, it's fine with me (to the
> extent that all of our style sheet stuff works in current browsers).

I'm not quite sure, but I think the width style should work with most browsers, 
at least 4+. We can leave the size attribute for browsers that don't.

> > - How to handle if there is more than one recipient and expand returns
> > ambigous results for one ore more of them? Let the user select from every
> > combination? Or insert a select field for every recipient?
> 
> One set of selection widgets (whatever those end up being) for every
> recipient. 
> http://chuck.bitgroup.com/weboutlook-compose.gif is a screenshot of
> weboutlook; 
> I think that's a very reasonable way to do it.
> 
> > - How can we let the user change the recipient manually if expand
> > returns more than one address but not the one that was intended?
> 
> Just include an Other: option in the list.
> 
> > - Similar with the From: field: How to let the user change the sender line
> if 
> > nothing of his identities matches?
> 
> How about having a "Custom:" or "New:" option in the identity menu? (Custom
> is 
> probably better since it doesn't imply saving the identity).
> 
> > A solution for the latter two might be to use javascript and an additional
> 
> > entry in the select list "Enter manually..." that pops up a javascript
> input 
> > dialog where the user can edit or insert the appropriate data manually.
> 
> Ah, okay... like I said. :) Why would you need a seperate window, though?
> It'd 
> just blank the appropriate auto-filled fields for you, right?

You'll need a input and a select field, that means the space that's required 
for the header section takes the double space than now. You can spare this 
extra space if you use a javascript prompt.

Jan.


>From chuck@horde.org Date: Mon,  2 Jul 2001 16:54:23 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 96926 invoked from network); 2 Jul 2001 20:56:06 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 2 Jul 2001 20:56:06 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 2AF4D39F3; Mon,  2 Jul 2001 16:54:24 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Mon,  2 Jul 2001 16:54:23 -0400
Message-ID: <994107263.3b40df7fba4bd@marina.horde.org>
Date: Mon,  2 Jul 2001 16:54:23 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <994070464.3b404fc0efa7d@linux.wg.de> <994103174.3b40cf866078c@marina.horde.org> <994106335.3b40dbdfc626d@linux.wg.de>
In-Reply-To: <994106335.3b40dbdfc626d@linux.wg.de>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [dev] select fields in compose

Quoting Jan Schneider <janmailing@gmx.de>:

> I'm not quite sure, but I think the width style should work with most
> browsers, at least 4+. We can leave the size attribute for browsers that 
> don't.

Well, we can find out.

> You'll need a input and a select field, that means the space that's required 
> for the header section takes the double space than now. You can spare this 
> extra space if you use a javascript prompt.

Why can't the identity list be next to the from: input field?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.


>From chuck@horde.org Date: Mon,  2 Jul 2001 16:55:03 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 97108 invoked from network); 2 Jul 2001 20:56:46 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 2 Jul 2001 20:56:46 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 0995339F3; Mon,  2 Jul 2001 16:55:04 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Mon,  2 Jul 2001 16:55:03 -0400
Message-ID: <994107303.3b40dfa7e12b3@marina.horde.org>
Date: Mon,  2 Jul 2001 16:55:03 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <20010630003538.84782.qmail@horde.org> <994097316.3b40b8a444fae@marina.horde.org> <20010702160301.A5938@csh.rit.edu> <994106468.3b40dc641b40d@linux.wg.de>
In-Reply-To: <994106468.3b40dc641b40d@linux.wg.de>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [dev] Re: [cvs] commit: imp/po ...

Quoting Jan Schneider <janmailing@gmx.de>:

> I checked this with the first .mo commit and it already had the sticky
> options correctly set.

Okay... checked it when? I fixed a bunch of them earlier...

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.


>From janmailing@gmx.de Date: Mon,  2 Jul 2001 22:47:32 +0200
Return-Path: <janmailing@gmx.de>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 97156 invoked from network); 2 Jul 2001 20:56:48 -0000
Received: from mailout03.sul.t-online.com (HELO mailout03.sul.t-online.de) (194.25.134.81)
  by horde.org with SMTP; 2 Jul 2001 20:56:48 -0000
Received: from fwd07.sul.t-online.de 
	by mailout03.sul.t-online.de with smtp 
	id 15HAkQ-0002kV-05; Mon, 02 Jul 2001 22:56:46 +0200
Received: from linux.wg.de (320034214675-0001@[217.80.111.60]) by fmrl07.sul.t-online.com
	with esmtp id 15HAkO-1EXv5lC; Mon, 2 Jul 2001 22:56:44 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f62KlXR22386
	for <dev@lists.horde.org>; Mon, 2 Jul 2001 22:47:33 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Mon,  2 Jul 2001 22:47:32 +0200
Message-ID: <994106852.3b40dde4bed3d@linux.wg.de>
Date: Mon,  2 Jul 2001 22:47:32 +0200
From: Jan Schneider <janmailing@gmx.de>
To: dev@lists.horde.org
References: <993862483.3b3d235329c59@linux.wg.de> <994097572.3b40b9a4992eb@marina.horde.org> <994105609.3b40d9095d2bc@linux.wg.de> <994105882.3b40da1abc2b2@marina.horde.org>
In-Reply-To: <994105882.3b40da1abc2b2@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] alarms

This is the code from mcal.php:

if (isset($eventData['alarm']) && 
    $eventData['alarm'] == 1 &&
    isset($eventData['alarm_hour']) &&
    isset($eventData['alarm_min'])) {
    mcal_event_set_alarm($this->driver->stream, ($eventData['alarm_hour'] * 60 
+ $eventData['alarm_min']));
}

Of course there are appropriate fields in edit.inc.

In status.php I use $calendar->listAlarms instead of listEvents. This is the 
code:

function listAlarms($startDate, $endDate)
{
    $events = mcal_list_alarms($this->stream, $startDate['year'], $startDate
['month'], $startDate['day'], $endDate['year'], $endDate['month'], $endDate
['day']);
    echo count($events);
    return is_array($events) ? $events : array();
}

Jan.


Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <janmailing@gmx.de>:
> 
> > The latest one from cvs.
> 
> Okay. Can you show how you're using mcal_list_alarms()?
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> Some fallen angels have their good reasons.
> 
> -- 
> Horde Developers mailing list: http://horde.org/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe@lists.horde.org
> 
> 



>From janmailing@gmx.de Date: Mon,  2 Jul 2001 23:03:57 +0200
Return-Path: <janmailing@gmx.de>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 99971 invoked from network); 2 Jul 2001 21:06:56 -0000
Received: from mailout00.sul.t-online.com (HELO mailout00.sul.t-online.de) (194.25.134.16)
  by horde.org with SMTP; 2 Jul 2001 21:06:56 -0000
Received: from fwd02.sul.t-online.de 
	by mailout00.sul.t-online.de with smtp 
	id 15HAuF-0001dK-0F; Mon, 02 Jul 2001 23:06:55 +0200
Received: from linux.wg.de (320034214675-0001@[217.80.111.60]) by fmrl02.sul.t-online.com
	with esmtp id 15HAu3-1t6uOmC; Mon, 2 Jul 2001 23:06:43 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f62L3vR22542
	for <dev@lists.horde.org>; Mon, 2 Jul 2001 23:03:57 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Mon,  2 Jul 2001 23:03:57 +0200
Message-ID: <994107837.3b40e1bd92e1c@linux.wg.de>
Date: Mon,  2 Jul 2001 23:03:57 +0200
From: Jan Schneider <janmailing@gmx.de>
To: dev@lists.horde.org
References: <994070464.3b404fc0efa7d@linux.wg.de> <994103174.3b40cf866078c@marina.horde.org> <994106335.3b40dbdfc626d@linux.wg.de> <994107263.3b40df7fba4bd@marina.horde.org>
In-Reply-To: <994107263.3b40df7fba4bd@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] select fields in compose

> > You'll need a input and a select field, that means the space that's
> required 
> > for the header section takes the double space than now. You can spare this
> > extra space if you use a javascript prompt.
> 
> Why can't the identity list be next to the from: input field?

This may be a solution. The input doesn't have to be very large, because it 
just has a spare function.
The problem is: Let's say we have a select field 400 pixel wide and a input 
field 100 pixel. If a user has identity (or recipients) that take more space 
than 400 pixel, the input field would move to right.
Not very beautiful but perhaps we can live with it?!

Jan.


>From janmailing@gmx.de Date: Mon,  2 Jul 2001 23:05:35 +0200
Return-Path: <janmailing@gmx.de>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 99972 invoked from network); 2 Jul 2001 21:06:56 -0000
Received: from mailout00.sul.t-online.com (HELO mailout00.sul.t-online.de) (194.25.134.16)
  by horde.org with SMTP; 2 Jul 2001 21:06:56 -0000
Received: from fwd02.sul.t-online.de 
	by mailout00.sul.t-online.de with smtp 
	id 15HAuF-0001dK-0H; Mon, 02 Jul 2001 23:06:55 +0200
Received: from linux.wg.de (320034214675-0001@[217.80.111.60]) by fmrl02.sul.t-online.com
	with esmtp id 15HAu4-1t6uOnC; Mon, 2 Jul 2001 23:06:44 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f62L5ZR22551
	for <dev@lists.horde.org>; Mon, 2 Jul 2001 23:05:35 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Mon,  2 Jul 2001 23:05:35 +0200
Message-ID: <994107935.3b40e21f4250c@linux.wg.de>
Date: Mon,  2 Jul 2001 23:05:35 +0200
From: Jan Schneider <janmailing@gmx.de>
To: dev@lists.horde.org
References: <20010630003538.84782.qmail@horde.org> <994097316.3b40b8a444fae@marina.horde.org> <20010702160301.A5938@csh.rit.edu> <994106468.3b40dc641b40d@linux.wg.de> <994107303.3b40dfa7e12b3@marina.horde.org>
In-Reply-To: <994107303.3b40dfa7e12b3@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] Re: [cvs] commit: imp/po ...

Uh, that's too much for my small memory! ;-)
But Jon fixed it already in cvswrappers.

Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <janmailing@gmx.de>:
> 
> > I checked this with the first .mo commit and it already had the sticky
> > options correctly set.
> 
> Okay... checked it when? I fixed a bunch of them earlier...
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> Some fallen angels have their good reasons.
> 
> -- 
> Horde Developers mailing list: http://horde.org/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe@lists.horde.org
> 
> 


::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::


>From chuck@horde.org Date: Mon,  2 Jul 2001 17:05:35 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 356 invoked from network); 2 Jul 2001 21:07:17 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 2 Jul 2001 21:07:17 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 7BCEE39F3; Mon,  2 Jul 2001 17:05:35 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Mon,  2 Jul 2001 17:05:35 -0400
Message-ID: <994107935.3b40e21f3cf10@marina.horde.org>
Date: Mon,  2 Jul 2001 17:05:35 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <993862483.3b3d235329c59@linux.wg.de> <994097572.3b40b9a4992eb@marina.horde.org> <994105609.3b40d9095d2bc@linux.wg.de> <994105882.3b40da1abc2b2@marina.horde.org> <994106852.3b40dde4bed3d@linux.wg.de>
In-Reply-To: <994106852.3b40dde4bed3d@linux.wg.de>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [dev] alarms

Quoting Jan Schneider <janmailing@gmx.de>:

> if (isset($eventData['alarm']) && 
>     $eventData['alarm'] == 1 &&

!empty($eventData['alarm']) gives you the same effect here...

> function listAlarms($startDate, $endDate)
> {
>     $events = mcal_list_alarms($this->stream, $startDate['year'],
> $startDate
> ['month'], $startDate['day'], $endDate['year'], $endDate['month'],
> $endDate
> ['day']);
>     echo count($events);
>     return is_array($events) ? $events : array();
> }

Ah, okay. The documentation for mcal_list_alarms is wrong; it doesn't take a 
start and end date, it just takes one date: mcal_list_alarms(year, month, day, 
hour, min, sec) - and returns a list of active alarms for that date/time.

I've got fixing the mcal docs on my todo list; I wrote a book chapter on the 
darn things so I've got the correct usage for all of them. :)

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.


>From chuck@horde.org Date: Mon,  2 Jul 2001 17:09:01 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 711 invoked from network); 2 Jul 2001 21:10:43 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 2 Jul 2001 21:10:43 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 29A8239F3; Mon,  2 Jul 2001 17:09:01 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Mon,  2 Jul 2001 17:09:01 -0400
Message-ID: <994108141.3b40e2ed08b02@marina.horde.org>
Date: Mon,  2 Jul 2001 17:09:01 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <994070464.3b404fc0efa7d@linux.wg.de> <994103174.3b40cf866078c@marina.horde.org> <994106335.3b40dbdfc626d@linux.wg.de> <994107263.3b40df7fba4bd@marina.horde.org> <994107837.3b40e1bd92e1c@linux.wg.de>
In-Reply-To: <994107837.3b40e1bd92e1c@linux.wg.de>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [dev] select fields in compose

Quoting Jan Schneider <janmailing@gmx.de>:

> This may be a solution. The input doesn't have to be very large, because it 
> just has a spare function.
> The problem is: Let's say we have a select field 400 pixel wide and a input 
> field 100 pixel. If a user has identity (or recipients) that take more space 
> than 400 pixel, the input field would move to right.
> Not very beautiful but perhaps we can live with it?!

Why don't we see what it looks like first. We can always make it prettier later.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.


>From janmailing@gmx.de Date: Mon,  2 Jul 2001 23:51:52 +0200
Return-Path: <janmailing@gmx.de>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 5156 invoked from network); 2 Jul 2001 21:57:08 -0000
Received: from mailout06.sul.t-online.com (HELO mailout06.sul.t-online.de) (194.25.134.19)
  by horde.org with SMTP; 2 Jul 2001 21:57:08 -0000
Received: from fwd03.sul.t-online.de 
	by mailout06.sul.t-online.de with smtp 
	id 15HBgo-0002hG-02; Mon, 02 Jul 2001 23:57:06 +0200
Received: from linux.wg.de (320034214675-0001@[217.80.111.34]) by fmrl03.sul.t-online.com
	with esmtp id 15HBgb-12P1BQC; Mon, 2 Jul 2001 23:56:53 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f62LprR24219
	for <dev@lists.horde.org>; Mon, 2 Jul 2001 23:51:53 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Mon,  2 Jul 2001 23:51:52 +0200
Message-ID: <994110712.3b40ecf8e477d@linux.wg.de>
Date: Mon,  2 Jul 2001 23:51:52 +0200
From: Jan Schneider <janmailing@gmx.de>
To: dev@lists.horde.org
References: <993862483.3b3d235329c59@linux.wg.de> <994097572.3b40b9a4992eb@marina.horde.org> <994105609.3b40d9095d2bc@linux.wg.de> <994105882.3b40da1abc2b2@marina.horde.org> <994106852.3b40dde4bed3d@linux.wg.de> <994107935.3b40e21f3cf10@marina.horde.org>
In-Reply-To: <994107935.3b40e21f3cf10@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] alarms

Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <janmailing@gmx.de>:
> 
> > if (isset($eventData['alarm']) && 
> >     $eventData['alarm'] == 1 &&
> 
> !empty($eventData['alarm']) gives you the same effect here...
> 
> > function listAlarms($startDate, $endDate)
> > {
> >     $events = mcal_list_alarms($this->stream, $startDate['year'],
> > $startDate
> > ['month'], $startDate['day'], $endDate['year'], $endDate['month'],
> > $endDate
> > ['day']);
> >     echo count($events);
> >     return is_array($events) ? $events : array();
> > }
> 
> Ah, okay. The documentation for mcal_list_alarms is wrong; it doesn't take a
> 
> start and end date, it just takes one date: mcal_list_alarms(year, month,
> day, 
> hour, min, sec) - and returns a list of active alarms for that date/time.

Cool, it works! :-))

Jan.


>From janmailing@gmx.de Date: Mon,  2 Jul 2001 23:59:34 +0200
Return-Path: <janmailing@gmx.de>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 5997 invoked from network); 2 Jul 2001 22:07:01 -0000
Received: from mailout03.sul.t-online.com (HELO mailout03.sul.t-online.de) (194.25.134.81)
  by horde.org with SMTP; 2 Jul 2001 22:07:01 -0000
Received: from fwd03.sul.t-online.de 
	by mailout03.sul.t-online.de with smtp 
	id 15HBqN-0007zW-0C; Tue, 03 Jul 2001 00:06:59 +0200
Received: from linux.wg.de (320034214675-0001@[217.80.111.34]) by fmrl03.sul.t-online.com
	with esmtp id 15HBqI-1otfw8C; Tue, 3 Jul 2001 00:06:54 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f62LxZR24234
	for <dev@lists.horde.org>; Mon, 2 Jul 2001 23:59:35 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Mon,  2 Jul 2001 23:59:34 +0200
Message-ID: <994111174.3b40eec6d5d1d@linux.wg.de>
Date: Mon,  2 Jul 2001 23:59:34 +0200
From: Jan Schneider <janmailing@gmx.de>
To: dev@lists.horde.org
References: <994070464.3b404fc0efa7d@linux.wg.de> <994103174.3b40cf866078c@marina.horde.org> <994106335.3b40dbdfc626d@linux.wg.de> <994107263.3b40df7fba4bd@marina.horde.org> <994107837.3b40e1bd92e1c@linux.wg.de> <994108141.3b40e2ed08b02@marina.horde.org>
In-Reply-To: <994108141.3b40e2ed08b02@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] select fields in compose

Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <janmailing@gmx.de>:
> 
> > This may be a solution. The input doesn't have to be very large, because it
> 
> > just has a spare function.
> > The problem is: Let's say we have a select field 400 pixel wide and a input
> 
> > field 100 pixel. If a user has identity (or recipients) that take more
> space 
> > than 400 pixel, the input field would move to right.
> > Not very beautiful but perhaps we can live with it?!
> 
> Why don't we see what it looks like first. We can always make it prettier
> later.

OK. I'll probably commit the identity fields first, to see how it works.

By the way: Hasn't there been a code that prevents lines from wrapping if 
quoted? But as you can see above it doesn't work.

Jan.