[mochikit] Re: Issue with MochiKit.DOM on Safari and OmniWeb

2005-12-19 Thread Giulio Cesare Solaroli
the DOM sub-tree and copy each element on its own, or is better/simpler to use the toHTML to read and document.write to write the whole subtree altogether? Thanks again, Giulio Cesare Solaroli

[mochikit] node.toDOM(ctx)

2006-01-11 Thread Giulio Cesare Solaroli
handling? If no special handling is required, is it any better to register every class with registerDOMConverter, or can I simply define the toDOM function? Thank for your attention. Best regards, Giulio Cesare Solaroli

[mochikit] How to debug a Maximum call stack size exceeded

2006-07-04 Thread Giulio Cesare Solaroli
would like to ask if any of you has any idea on the best way to debug this issue, as I have no idea where to start other than filling the whole code with logging statements (and I don't pretend this to be a great idea). Thanks for your attention. Best regards, Giulio Cesare Solaroli

[mochikit] Re: How to debug a Maximum call stack size exceeded

2006-07-05 Thread Giulio Cesare Solaroli
this down is to just use alerts or logging until you find it. -bob On Jul 4, 2006, at 4:36 PM, Giulio Cesare Solaroli wrote: Hi Bob, after posting the message I have given Drosera a try, but the only visible result, is that it takes much longer to reach the error condition, but no more

[mochikit] Re: How to debug a Maximum call stack size exceeded

2006-07-05 Thread Giulio Cesare Solaroli
Hi Beau, thank for your suggestion, but I have already changed that parameter, but for other reason. The scope of that parameter is to avoid any script to block the whole browser (due to excessive resource usage, and thus extended execution time); my current problem instead is in stack depth,

[mochikit] Set data type

2006-07-10 Thread Giulio Cesare Solaroli
Hi, which is the best way to implement a set data type with JavaScript? I have done some search, but could not find anything interesting. Best regards, Giulio Cesare Solaroli --~--~-~--~~~---~--~~ You received this message because you are subscribed

[mochikit] Re: Set data type

2006-07-10 Thread Giulio Cesare Solaroli
On 7/10/06, Bob Ippolito [EMAIL PROTECTED] wrote: On Jul 10, 2006, at 2:05 PM, Giulio Cesare Solaroli wrote: which is the best way to implement a set data type with JavaScript? I have done some search, but could not find anything interesting. It depends on what it's a set of. You'll either

[mochikit] Re: Set data type

2006-07-10 Thread Giulio Cesare Solaroli
should use something suited to their application that can be reasonably implemented (by a hash function, unique string id, etc.). -bob On Jul 10, 2006, at 2:32 PM, Giulio Cesare Solaroli wrote: Hi Bob, I am trying to use an Array (because I would like to avoid each object

[mochikit] MochiKit.Signal and Notification Center API

2006-07-24 Thread Giulio Cesare Solaroli
semantic has not been implemented that I am missing? If no special complains are raised, I would like to try to extend the Signal module in order to accept a null src parameter in the connect method. Any comment is really welcome. Thanks for your attention. Best regards, Giulio Cesare Solaroli

[mochikit] Re: MochiKit.Signal and Notification Center API

2006-07-26 Thread Giulio Cesare Solaroli
. Giulio Cesare Solaroli On 7/26/06, Bob Ippolito [EMAIL PROTECTED] wrote: On Jul 25, 2006, at 6:12 PM, Peter Mularien wrote: Trey Stout wrote: Well my most simplistic need for it is having JS pagination widgets at the top and bottom of a table. Both of them send a NEW_PAGE signal

[mochikit] Re: Signal connecting to multiple elements

2006-08-02 Thread Giulio Cesare Solaroli
Hi all, to help managing this kind of situation, I am writing a NotificationCenter object. I have posted the source a few days ago on this list; it is still really a draft, but if anybody find it useful, it should be possible to improve it vastly. Giulio Cesare Solaroli On 8/2/06, Beau

[mochikit] Re: MochiKit.Signal and Notification Center API

2006-08-02 Thread Giulio Cesare Solaroli
I have just create the new ticket: http://trac.mochikit.com/ticket/155 Any comment is really welcome. Best regards, Giulio Cesare Solaroli On 8/2/06, Beau Hartshorne [EMAIL PROTECTED] wrote: On 24-Jul-06, at 3:09 PM, Giulio Cesare Solaroli wrote: I have start using the MochiKit.Signal

[mochikit] Re: Mochikit RPC

2006-08-31 Thread Giulio Cesare Solaroli
If your backend is Java, you could try to look at DWR (http://getahead.ltd.uk/dwr/). I am using it with MochiKit, and enjoing it very much. Giulio Cesare On 8/31/06, Lalo Martins [EMAIL PROTECTED] wrote: On Thu, 31 Aug 2006 08:41:57 +0200, Yaakov Nemoy wrote: I'm meeting with my boss

[mochikit] Minor documentation error in Signal.rst

2006-09-15 Thread Giulio Cesare Solaroli
an exception. Best regards, Giulio Cesare Solaroli --~--~-~--~~~---~--~~ 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

[mochikit] Re: Puzzled by some MochiKit.Async.Deferred behaviour

2007-01-20 Thread Giulio Cesare Solaroli
are fine. The end of runBranch_1 should be:: deferred.callback(); return deferred; deferred.callback() doesn't have a meaningful return value. -bob On 1/20/07, Giulio Cesare Solaroli [EMAIL PROTECTED] wrote: I forgot to attach the test file, and to cc the list. Giulio Cesare

[mochikit] Generator vs Deferred

2007-06-27 Thread Giulio Cesare Solaroli
Hello everybody, a colleague has just pointed me to this post on Javascript threading: http://www.neilmix.com/2007/02/07/threading-in-javascript-17/ I have to admit that I did not read the whole articole very careful, but I had the impression that the suggested solution, even if using different

[mochikit] Re: Generator vs Deferred

2007-06-28 Thread Giulio Cesare Solaroli
Cesare Solaroli [EMAIL PROTECTED] wrote: a colleague has just pointed me to this post on Javascript threading: http://www.neilmix.com/2007/02/07/threading-in-javascript-17/ Interesting, kinda like Stackless Python but for javascript :) I have to admit that I did not read the whole articole very

[mochikit] Re: Generator vs Deferred

2007-06-28 Thread Giulio Cesare Solaroli
Hello Arnar, On 6/28/07, Arnar Birgisson [EMAIL PROTECTED] wrote: Hi Giulio, On 6/28/07, Giulio Cesare Solaroli [EMAIL PROTECTED] wrote: I was hoping I could avoid the extra effort of warping my mind around another challenging paradigm, but I was hoping wrong. :-) Well.. unless you have

[mochikit] LoggingPane on iPhone

2007-08-04 Thread Giulio Cesare Solaroli
Hello, I would like to know if anybody has improved the LoggingPane to be suitable for the iPhone (at the moment I am stuck to the SVN version 1249 of MochiKit, but I can easily upgrade). The current version does work, but it has some displayed issues, and it is not easy to see all the logs. I

[mochikit] Deferred.addCallbackMethod

2007-08-22 Thread Giulio Cesare Solaroli
Hello, using the excellent MochiKit.Async module, I find myself writing the following code over and over: dererred.addCallback(MochiKit.Base.method(anObject, 'aMethod'), aParam, ...); It look like it would be nice to add a 'addCallbackMethod' to the Deferred class in order to be able to write

[mochikit] Re: map, connect and this

2007-08-24 Thread Giulio Cesare Solaroli
Hello Shiva, try to modify your function like this: map(bind(function(elem) { connect(elem, 'onclick', this, 'onItemClick'); }, this), getElementsByTagAndClassName(tr, ddRow, newTable) ); Giulio Cesare On 8/24/07, Shiva KM [EMAIL PROTECTED] wrote: Hi all, I'm using MochiKit

[mochikit] Re: Signal All

2007-11-15 Thread Giulio Cesare Solaroli
Hello, I have implemented a NotificationCenter class similar to the one available on the MacOSX foundation library (rooted back in the NeXT NSFoundation library). The NotificationCenter allows loosely binding between notifying objects and listeners, and it is included in the open source crypto

[mochikit] MochiKit.Visual vs MochiKit.Deferred

2008-06-28 Thread Giulio Cesare Solaroli
Hello, I have just started using the new MochiKit.Visual module only very recently, and I con not find any suggestion on what I should do to execute some of my own code when an animation is terminated. I would feel very compelling to be able to wrap a whole animation queue into a deferred

[mochikit] questioning MochiKit.Signal dependency on MochiKit.Style

2008-10-27 Thread Giulio Cesare Solaroli
Hello, I was taking a closer look at MochiKit.Signal in order to find a way to include some added options illustrated here: http://trac.mochikit.com/ticket/155 Looking at the code, I saw the declared dependency of MochiKit.Signal from MochiKit.Style; the reason for this dependency is to include

[mochikit] Re: Signal All

2008-11-05 Thread Giulio Cesare Solaroli
into the repository, I will be pleased to update the documentation too. Any feedback is welcome. Best regards, Giulio Cesare On Wed, Nov 21, 2007 at 11:32 AM, Giulio Cesare Solaroli [EMAIL PROTECTED] wrote: Here you are: http://clipperz.googlecode.com/svn/trunk/src/js/Clipperz/NotificationCenter.js

[mochikit] Re: Signal All

2008-11-05 Thread Giulio Cesare Solaroli
Hello Per, On Wed, Nov 5, 2008 at 3:04 PM, Per Cederberg [EMAIL PROTECTED] wrote: I don't think I understand the use case where this type of thing would come to use. Could you please provide a scenario? Is it useful in libraries? Or widgets? Or webapps? It has happened to me to require

[mochikit] Question about SimpleTest

2009-02-25 Thread Giulio Cesare Solaroli
Hello, I have a question about SimpleTest, and I dare to post it here as MochiKit is the only tool that I know of using it. We are using SimpleTest for testing our own project, but we have now grown a little bit too much in order to keep stuff under control. In order to keep everything in

[mochikit] Re: Question about SimpleTest

2009-02-25 Thread Giulio Cesare Solaroli
Hello Per, On Wed, Feb 25, 2009 at 7:54 PM, Per Cederberg cederb...@gmail.com wrote: Interesting that you're using SimpleTest! It is on my not-so-secret agenda for 1.5 to merge that into MochiKit.Test and create a public API for JS testing. Interesting; but SimpleTest is quite fine for my

[mochikit] Re: Question about SimpleTest

2009-03-31 Thread Giulio Cesare Solaroli
, /Per On Mon, Mar 30, 2009 at 2:39 PM, Giulio Cesare Solaroli giulio.ces...@gmail.com wrote: Hello Per, I have been able to hack the SimpleTest.TestRunner code in order to be recursive, that is I can now have a TestRunner load other TestRunners and not just SimpleTests as in the current

[mochikit] Error running tests with Opera 10

2009-07-11 Thread Giulio Cesare Solaroli
Hello, I was having some issues running Clipperz test suite with Opera 10. Looking closer at the failed tests, I have find out that Opera 10 is returning a messed up name and description for Exceptions. This problem is triggered also running the default MochiKit tests; in MochiKit.Async test

[mochikit] Re: Error running tests with Opera 10

2009-07-11 Thread Giulio Cesare Solaroli
Hello Per, I agree with you about trying to avoid work-arounds; but I haven't found any way to report a 'simple' Javascript issue to Opera itself. I have investigated if the problem is caused by a different toString() implementation, but I don't think so, as the extra stack info is appended to

[mochikit] Re: Defered.setFinal

2009-07-25 Thread Giulio Cesare Solaroli
Hello all, On Tue, Feb 10, 2009 at 6:48 PM, Bob Ippolitob...@redivi.com wrote: Finalizing a Deferred should ensure that no further callback/errbacks are registered and it should attach a default error handler (success should be no-op). The most common problem I've seen with Deferreds is