[mochikit] Re: MochiKit 1.4 released

2008-10-24 Thread Per Cederberg

Ok, I think it is fixed now. New version is available on the download
page. I have not bumped the version number, since it is just a
packaging issue.

The root cause seems to be the following Zip handling bug in Python:

http://bugs.python.org/issue3394

Due to this fix, I've also been forced to reluctantly inaugurate a
brand new svn branch for 1.4. Please add any regression fixes to 1.4
there (and drop a mail on the list).

Thanks,

/Per

On Fri, Oct 24, 2008 at 8:51 AM, Per Cederberg <[EMAIL PROTECTED]> wrote:
> Yes, I noted the same thing yesterday. Seems to be an issue with
> permissions for all generated files. I'm building this on Linux and
> the input files seem to have correct permissions on my machine. But
> after packing and unpacking something weird happens.
>
> I'll look into this. Seems to be an issue with zipfile.ZipFile and in
> particular the writestr function in Python. Perhaps somebody else
> knows what is going on there?
>
> Cheers,
>
> /Per
>
> On Fri, Oct 24, 2008 at 8:23 AM, Amit Mendapara
> <[EMAIL PROTECTED]> wrote:
>>
>> Hello Per,
>>
>> Several files in the downloadable zip package have permission
>> issues (on Linux). Please make sure that it's packaged properly
>> with correct access permissions.
>>
>> - Amit Mendapara
>>
>> On Oct 21, 3:32 pm, "Per Cederberg" <[EMAIL PROTECTED]> wrote:
>>> MochiKit 1.4 has now been released and is available on the web site:
>>>
>>>http://mochikit.com/download.html
>>>
>>> The full change history from version 1.3.1 is rather lengthy, but you
>>> can find it on our web site:
>>>
>>>http://mochikit.com/doc/html/MochiKit/index.html#version-history
>>>
>>> As far as I know, there should be no backwards-incompatible API
>>> changes between 1.3.1 and 1.4. If you happen to find one, please let
>>> us know through this mailing list so that we can update the docs
>>> and/or fix the issues.
>>>
>>> Finally, many thanks to everyone who contributed code, documentation,
>>> bug reports, ideas and everything else during this long development
>>> cycle. Looking forward to hear from you all during the 1.5
>>> development.
>>>
>>> Cheers,
>>>
>>> /Per
>> >>
>>
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~--~~~~--~~--~--~---



[mochikit] Re: MochiKit 1.4 released

2008-10-24 Thread Per Cederberg

Yes, I noted the same thing yesterday. Seems to be an issue with
permissions for all generated files. I'm building this on Linux and
the input files seem to have correct permissions on my machine. But
after packing and unpacking something weird happens.

I'll look into this. Seems to be an issue with zipfile.ZipFile and in
particular the writestr function in Python. Perhaps somebody else
knows what is going on there?

Cheers,

/Per

On Fri, Oct 24, 2008 at 8:23 AM, Amit Mendapara
<[EMAIL PROTECTED]> wrote:
>
> Hello Per,
>
> Several files in the downloadable zip package have permission
> issues (on Linux). Please make sure that it's packaged properly
> with correct access permissions.
>
> - Amit Mendapara
>
> On Oct 21, 3:32 pm, "Per Cederberg" <[EMAIL PROTECTED]> wrote:
>> MochiKit 1.4 has now been released and is available on the web site:
>>
>>http://mochikit.com/download.html
>>
>> The full change history from version 1.3.1 is rather lengthy, but you
>> can find it on our web site:
>>
>>http://mochikit.com/doc/html/MochiKit/index.html#version-history
>>
>> As far as I know, there should be no backwards-incompatible API
>> changes between 1.3.1 and 1.4. If you happen to find one, please let
>> us know through this mailing list so that we can update the docs
>> and/or fix the issues.
>>
>> Finally, many thanks to everyone who contributed code, documentation,
>> bug reports, ideas and everything else during this long development
>> cycle. Looking forward to hear from you all during the 1.5
>> development.
>>
>> Cheers,
>>
>> /Per
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~--~~~~--~~--~--~---



[mochikit] Re: MochiKit 1.4 released

2008-10-24 Thread Fred Drake

On Fri, Oct 24, 2008 at 4:10 AM, Per Cederberg <[EMAIL PROTECTED]> wrote:
> Ok, I think it is fixed now. New version is available on the download
> page. I have not bumped the version number, since it is just a
> packaging issue.

One thing we've learned in the Zope community is that packaging bugs
are bugs to.  Creating a different release really deserves a new
version number.  I know those integers can be expensive, but I think
not alarmingly so.  :-)

Seriously, thanks for the work you're doing getting the release out.
That's definitely appreciated.


  -Fred

-- 
Fred L. Drake, Jr.
"Chaos is the score upon which reality is written." --Henry Miller

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~--~~~~--~~--~--~---



[mochikit] traversing an array.

2008-10-24 Thread SanderElias

Hi All,

I was away from JS for quite a while. A new project has landed, and I
need to get back on track again.
Now I found myself dong this:

var o = document.getElementsByTagName('input');
every(o,function(e){addValidFunc(e);return true})

this functions as expected, but I figured there must be a more elegant
way off doing this. I'm feeling very dense that I could not figure it
out by myself. I guess I need to fight my mental block ;)

regards
Sander Elias
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~--~~~~--~~--~--~---



[mochikit] Re: traversing an array.

2008-10-24 Thread Arnar Birgisson

Hi Sander,

On Fri, Oct 24, 2008 at 16:17, SanderElias <[EMAIL PROTECTED]> wrote:
> Now I found myself dong this:
>
>var o = document.getElementsByTagName('input');
>every(o,function(e){addValidFunc(e);return true})
>
> this functions as expected, but I figured there must be a more elegant
> way off doing this. I'm feeling very dense that I could not figure it
> out by myself. I guess I need to fight my mental block ;)

Since you are explicitly returning "true" for each element, there's no
need to use "every". You can use forEach instead:

var o = document.getElementsByTagName('input');
forEach(o, addValidFunc);

If you care for using the Selector library you can replace the first line with

var o = $$('input');

cheers,
Arnar

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~--~~~~--~~--~--~---



[mochikit] Re: traversing an array.

2008-10-24 Thread SanderElias

Hi Arnar!

See, I knew there was an better alternative!
Tested and works like a charm. Gee, I think I need a good night off
sleep!

Thanks a lot!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~--~~~~--~~--~--~---