You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(75) |
Nov
(252) |
Dec
(418) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(659) |
Feb
(1039) |
Mar
(870) |
Apr
(235) |
May
(329) |
Jun
(251) |
Jul
(123) |
Aug
(119) |
Sep
(67) |
Oct
(194) |
Nov
(535) |
Dec
(133) |
2002 |
Jan
(122) |
Feb
(24) |
Mar
(29) |
Apr
(28) |
May
(16) |
Jun
(20) |
Jul
(11) |
Aug
(12) |
Sep
(13) |
Oct
(14) |
Nov
(23) |
Dec
(19) |
2003 |
Jan
(28) |
Feb
(170) |
Mar
(288) |
Apr
(211) |
May
(126) |
Jun
(166) |
Jul
(131) |
Aug
(102) |
Sep
(211) |
Oct
(301) |
Nov
(22) |
Dec
(6) |
2004 |
Jan
(14) |
Feb
(16) |
Mar
(7) |
Apr
|
May
(8) |
Jun
(25) |
Jul
(21) |
Aug
(2) |
Sep
(7) |
Oct
|
Nov
(2) |
Dec
(1) |
2005 |
Jan
(4) |
Feb
(2) |
Mar
(14) |
Apr
(24) |
May
(3) |
Jun
(7) |
Jul
(30) |
Aug
(5) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
(1) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
From: Kevin <ke...@ke...> - 2003-04-10 05:04:44
|
See below: "Raymond Irving" <xw...@ya...> wrote: > Hi Kevin, > > Thanks for the fix. You can find it in cvs. > > One oher thing... Have you ever tried setting left:0px > and top:0px inside to style sheet with ns4 and the new > setClass() function? Does it position the layer to > 0,0? > > On my windows system in ns4 it does not position the > layer to 0,0. If we can forget server side generation of pages and any mention of 'inline' and you are trying to absolute or relative position a DynLayer at 0,0 - I may be able to offer some ideas. First off, body margins can't be made less than the default in NS4 using <style>..</style> unless you override in the body tag. <body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0> This will give a clean sheet/canvas in IE and NS4 to start using <style>...</style> tags. Rendering at 0,0 is possible with no other body elements though my preference is to use an inserted relative container and start building the widget with absolute positioned children from 0,0 if required. I have fixed the speedtest.dynlayer-setclass-basic.html example and shown how I thought my design for relative positioning, object id and class styles would work. Though I am finding it more difficult on a larger scale examples. There is a problem which I have fixed in dynlayer_ns4.js as getContentWidth and getContentHeight were not returning the correct clip width and height of the DynLayer. Could someone help with IE and DOM versions? I hope the example makes things clear. The problem is after page load when ._assignElement() is called and the DynLayer has no .w or .h because object id and class style sheets were used for the first 10 of 200 yellow boxes. Note the first yellow box has html=0 or null and setSize() is not called so that DynLayer appears OK? - Kevin > -- > Raymond Irving > > --- Kevin <ke...@ke...> wrote: > > Hello, > > > > Attached patch.for: dynlayer_ns4.js: getOuterHTML() > > > > - > > Kevin > > > > > > > ATTACHMENT part 2 application/x-zip-compressed > name=dynapi3x-patch2.zip > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://tax.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Raymond I. <xw...@ya...> - 2003-04-10 05:01:37
|
What problems are you experiencing in Safari? The overflow:hidden property is used to prevent the broser from showing the scrollbars if the content of the layer is larger that the layer's selected size. -- Raymond Irving --- Benoit Marchant <mar...@ma...> wrote: > Hi there, > > Was there a concrete reason to set p._cssOverflow =' > overflow:hidden;'; > It causing issues with Safari. Could we turn that > to be '' instead if > that default would be ok too ? > Otherwise I'll have to add a test in dynlayer_dom.js > to overwrite it > for Safari only. > > Thanks > > Benoit __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
From: Benoit M. <mar...@ma...> - 2003-04-10 01:40:14
|
Hi there, Was there a concrete reason to set p._cssOverflow =' overflow:hidden;'; It causing issues with Safari. Could we turn that to be '' instead if that default would be ok too ? Otherwise I'll have to add a test in dynlayer_dom.js to overwrite it for Safari only. Thanks Benoit |
From: Raymond I. <xw...@ya...> - 2003-04-08 13:11:41
|
Well, the truth is IOElement should be used with web pages that returns a notification to it's parent: var io; var dynapi = parent.dynapi; if(dynapi) io = parent.IOElement.notify(this); else alert('Error: Missing or invalid DynAPI library'); Even thought IOElement can be used to display web pages, it's main use is for dynamic communications. The best widget to use for loading ordinary web pages is the LoadPanel widget. Here is the fix for the display bug in ioelement.js: change line 347 from: else this._clearScope(); to: else if(this._hidden) this._clearScope(); -- Raymond Irving --- Ramesh Pallikara <ra...@in...> wrote: > hi, > > i am trying to load a simple page using IOElement. > The url gets loaded > initially but then disappears after a few seconds. > Also the loaded page does not > I've pasted my code below. I'm doing this inside the > <head> tag. > Any solutions for this ??? > > <script language="Javascript"> > > var d = dynapi.document.addChild(new > DynLayer(null,50,50,600,400,'white')); > my_io = new IOElement(); > my_io.setSize(600,400); > > dynapi.onLoad(init); > function init() > { > d.addChild(hidden_io); > my_io.get("demo.dragover.html"); > } > </script> > > thanx > ramesh pallikara > > -- > QOTD: > "I've always wanted to work in the Federal Mint. > And then go on > strike. To make less money." > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of > bandwidth! > No other company gives more support or power for > your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
From: Ramesh P. <ra...@in...> - 2003-04-08 12:15:47
|
hi, i am trying to load a simple page using IOElement. The url gets loaded initially but then disappears after a few seconds. Also the loaded page does not I've pasted my code below. I'm doing this inside the <head> tag. Any solutions for this ??? <script language="Javascript"> var d = dynapi.document.addChild(new DynLayer(null,50,50,600,400,'white')); my_io = new IOElement(); my_io.setSize(600,400); dynapi.onLoad(init); function init() { d.addChild(hidden_io); my_io.get("demo.dragover.html"); } </script> thanx ramesh pallikara -- QOTD: "I've always wanted to work in the Federal Mint. And then go on strike. To make less money." |
From: Raymond I. <xw...@ya...> - 2003-04-08 03:09:43
|
Hi Kevin, Thanks for the fix. You can find it in cvs. One oher thing... Have you ever tried setting left:0px and top:0px inside to style sheet with ns4 and the new setClass() function? Does it position the layer to 0,0? On my windows system in ns4 it does not position the layer to 0,0. -- Raymond Irving --- Kevin <ke...@ke...> wrote: > Hello, > > Attached patch.for: dynlayer_ns4.js: getOuterHTML() > > - > Kevin > > > ATTACHMENT part 2 application/x-zip-compressed name=dynapi3x-patch2.zip __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
From: Doug M. <do...@cr...> - 2003-04-07 23:40:03
|
see below: > Currently I am dubugging a problem with the graphics object. > It seems that the vml shape triggers mouse events.. > unfortunatly the mouse fil in IE faile miserably.. > the line: (82) > var tt=target.type; > throws an error of "Failed" when you run the mouse over the shape you have > drawn with the vml object. I would like to not have to detect vml objects an reject mouse events on them, this would suck. But so far I am quite lost.. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003 |
From: Doug M. <do...@cr...> - 2003-04-07 23:35:44
|
Currently I am dubugging a problem with the graphics object. It seems that the vml shape triggers mouse events.. unfortunatly the mouse fil in IE faile miserably.. the line: (82) var tt=target.type; throws an error of "Failed" when you run the mouse over the shape you have drawn with the vml object. ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: "Dynapi-Dev" <Dyn...@li...> Sent: Monday, April 07, 2003 4:23 PM Subject: Re: [Dynapi-Dev] DynLayers elements not destroyed. > > Please see below: > > --- Doug Melvin <do...@cr...> wrote: > > Ns 4 most certainly does have a memory management > > bug (or bugs actually) > > I distincly recall several months dedicated to a > > work around. > > The result was we implemented a recyled layer array. > > In Ns when we try to deleet a DynLayer, > > We simply removed it from it's parent, hid it and > > placed it in the recycled > > array. > > When creating aDynLayer in Ns 4 we first checked to > > see if there where any > > DynLayer to recycle, > > if so, we used one of those instead of creating anew > > one. > > > > From DynLayer.specificCreate (DynAPI 2.6) > > var recycled = this.parent.doc.recycled; > > if (this.created) > > recycled = []; > > if (recycled && recycled.length > 0) { > > this.elm = recycled[recycled.length-1]; > > recycled.length--; > > } else { > > this.elm = new Layer(this.w, this.parent.elm); > > this.elm.captureEvents(Event.LOAD); > > this.elm.onLoad = function() {}; > > }; > > > > From DynLayer.specificRemove (DynAPI 2.6) > > if (!this.wasBuiltInline) { > > if (!this.parent.doc.recycled) > > this.parent.doc.recycled = []; > > > > > this.parent.doc.recycled[this.parent.doc.recycled.length] > > = this.elm; > > }; > > this.wasBuiltInline = false; > > this.elm.viisibility = 'hide'; > > Wow! The question now is who will implement this > feature into the dynlayer_ns4.js file? > > -- > Raymond Irving > > > ----- Original Message ----- > > From: "Kevin" <ke...@ke...> > > To: "Dynapi-Dev" <Dyn...@li...> > > Sent: Monday, April 07, 2003 3:20 PM > > Subject: Re: [Dynapi-Dev] DynLayers elements not > > destroyed. > > > > > > > See below: > > > > > > "Raymond Irving" <xw...@ya...> wrote: > > > > > > > See below: > > > > > > > > --- Kevin <ke...@ke...> wrote: > > > > > Hello, > > > > > > > > > > If elements are removed and then some more are > > added > > > > > we may have a memory leak. Using Mozilla and > > > > > example: > > > > > dynapi.api.dynlayer-destroy.html > > > > > the elements aren't removed when the Destroy > > all > > > > > link is > > > > > clicked. > > > > > > > > > > Suggested fix > > > > > dynlayer_base.js:p._remove > > > > > > > > > > -this.elm.innerHTML = ""; > > > > > -this.elm.outerHTML = ""; > > > > > +//this.elm.innerHTML = ""; > > > > > +//this.elm.outerHTML = ""; > > > > > +var p=this.parent.elm; > > > > > +if(p) p.removeChild(this.elm); > > > > > > > > > > This seems to work fine in IE too.. > > > > > > > > I've added the above as well. > > > > > > > > > NS4 has a recycled array in > > > > > dynlayer_ns4.js:p._remove > > > > > but I don't see the space reused. Do we have > > growing > > > > > memory here and perhaps the Layer should be > > deleted > > > > > rather than hidden? > > > > > > > > Well, IMO if they're stored inside a recycle > > array > > > > then they should be reused. Any ideas on how we > > should > > > > do this? > > > > > > No ideas as we do, new Layer() or delete and not > > an OS > > > specific malloc or free. NS4 may have memory > > management > > > bugs as Doug says. Who implemented the recycled > > array? > > > Perhaps it was an NS4 bug work around, as doing a > > delete > > > on a Layer was proven to be bad news? > > > > > > - > > > Kevin > > > > > > > -- > > > > Raymond Irving > > > > > > > > > - > > > > > Kevin. > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.net email is sponsored by: ValueWeb: > > > > > Dedicated Hosting for just $79/mo with 500 GB > > of > > > > > bandwidth! > > > > > No other company gives more support or power > > for > > > > > your dedicated server > > > > > > > > > > > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > > > > > > _______________________________________________ > > > > > Dynapi-Dev mailing list > > > > > Dyn...@li... > > > > > > > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > Yahoo! Tax Center - File online, calculators, > > forms, and more > > > > http://tax.yahoo.com > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: ValueWeb: > > > > Dedicated Hosting for just $79/mo with 500 GB of > > bandwidth! > > > > No other company gives more support or power for > > your dedicated server > > > > > > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > > > _______________________________________________ > > > > Dynapi-Dev mailing list > > > > Dyn...@li... > > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: ValueWeb: > > > Dedicated Hosting for just $79/mo with 500 GB of > > bandwidth! > > > No other company gives more support or power for > > your dedicated server > > > > > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system > > (http://www.grisoft.com). > > Version: 6.0.463 / Virus Database: 262 - Release > > Date: 3/17/2003 > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of > > bandwidth! > > No other company gives more support or power for > > your dedicated server > > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://tax.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003 |
From: Raymond I. <xw...@ya...> - 2003-04-07 23:23:59
|
Please see below: --- Doug Melvin <do...@cr...> wrote: > Ns 4 most certainly does have a memory management > bug (or bugs actually) > I distincly recall several months dedicated to a > work around. > The result was we implemented a recyled layer array. > In Ns when we try to deleet a DynLayer, > We simply removed it from it's parent, hid it and > placed it in the recycled > array. > When creating aDynLayer in Ns 4 we first checked to > see if there where any > DynLayer to recycle, > if so, we used one of those instead of creating anew > one. > > From DynLayer.specificCreate (DynAPI 2.6) > var recycled = this.parent.doc.recycled; > if (this.created) > recycled = []; > if (recycled && recycled.length > 0) { > this.elm = recycled[recycled.length-1]; > recycled.length--; > } else { > this.elm = new Layer(this.w, this.parent.elm); > this.elm.captureEvents(Event.LOAD); > this.elm.onLoad = function() {}; > }; > > From DynLayer.specificRemove (DynAPI 2.6) > if (!this.wasBuiltInline) { > if (!this.parent.doc.recycled) > this.parent.doc.recycled = []; > > this.parent.doc.recycled[this.parent.doc.recycled.length] > = this.elm; > }; > this.wasBuiltInline = false; > this.elm.viisibility = 'hide'; Wow! The question now is who will implement this feature into the dynlayer_ns4.js file? -- Raymond Irving > ----- Original Message ----- > From: "Kevin" <ke...@ke...> > To: "Dynapi-Dev" <Dyn...@li...> > Sent: Monday, April 07, 2003 3:20 PM > Subject: Re: [Dynapi-Dev] DynLayers elements not > destroyed. > > > > See below: > > > > "Raymond Irving" <xw...@ya...> wrote: > > > > > See below: > > > > > > --- Kevin <ke...@ke...> wrote: > > > > Hello, > > > > > > > > If elements are removed and then some more are > added > > > > we may have a memory leak. Using Mozilla and > > > > example: > > > > dynapi.api.dynlayer-destroy.html > > > > the elements aren't removed when the Destroy > all > > > > link is > > > > clicked. > > > > > > > > Suggested fix > > > > dynlayer_base.js:p._remove > > > > > > > > -this.elm.innerHTML = ""; > > > > -this.elm.outerHTML = ""; > > > > +//this.elm.innerHTML = ""; > > > > +//this.elm.outerHTML = ""; > > > > +var p=this.parent.elm; > > > > +if(p) p.removeChild(this.elm); > > > > > > > > This seems to work fine in IE too.. > > > > > > I've added the above as well. > > > > > > > NS4 has a recycled array in > > > > dynlayer_ns4.js:p._remove > > > > but I don't see the space reused. Do we have > growing > > > > memory here and perhaps the Layer should be > deleted > > > > rather than hidden? > > > > > > Well, IMO if they're stored inside a recycle > array > > > then they should be reused. Any ideas on how we > should > > > do this? > > > > No ideas as we do, new Layer() or delete and not > an OS > > specific malloc or free. NS4 may have memory > management > > bugs as Doug says. Who implemented the recycled > array? > > Perhaps it was an NS4 bug work around, as doing a > delete > > on a Layer was proven to be bad news? > > > > - > > Kevin > > > > > -- > > > Raymond Irving > > > > > > > - > > > > Kevin. > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: ValueWeb: > > > > Dedicated Hosting for just $79/mo with 500 GB > of > > > > bandwidth! > > > > No other company gives more support or power > for > > > > your dedicated server > > > > > > > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > > > > _______________________________________________ > > > > Dynapi-Dev mailing list > > > > Dyn...@li... > > > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > __________________________________________________ > > > Do you Yahoo!? > > > Yahoo! Tax Center - File online, calculators, > forms, and more > > > http://tax.yahoo.com > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: ValueWeb: > > > Dedicated Hosting for just $79/mo with 500 GB of > bandwidth! > > > No other company gives more support or power for > your dedicated server > > > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of > bandwidth! > > No other company gives more support or power for > your dedicated server > > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system > (http://www.grisoft.com). > Version: 6.0.463 / Virus Database: 262 - Release > Date: 3/17/2003 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of > bandwidth! > No other company gives more support or power for > your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
From: Doug M. <do...@cr...> - 2003-04-07 23:06:12
|
Ns 4 most certainly does have a memory management bug (or bugs actually) I distincly recall several months dedicated to a work around. The result was we implemented a recyled layer array. In Ns when we try to deleet a DynLayer, We simply removed it from it's parent, hid it and placed it in the recycled array. When creating aDynLayer in Ns 4 we first checked to see if there where any DynLayer to recycle, if so, we used one of those instead of creating anew one. From DynLayer.specificCreate (DynAPI 2.6) var recycled = this.parent.doc.recycled; if (this.created) recycled = []; if (recycled && recycled.length > 0) { this.elm = recycled[recycled.length-1]; recycled.length--; } else { this.elm = new Layer(this.w, this.parent.elm); this.elm.captureEvents(Event.LOAD); this.elm.onLoad = function() {}; }; From DynLayer.specificRemove (DynAPI 2.6) if (!this.wasBuiltInline) { if (!this.parent.doc.recycled) this.parent.doc.recycled = []; this.parent.doc.recycled[this.parent.doc.recycled.length] = this.elm; }; this.wasBuiltInline = false; this.elm.viisibility = 'hide'; ----- Original Message ----- From: "Kevin" <ke...@ke...> To: "Dynapi-Dev" <Dyn...@li...> Sent: Monday, April 07, 2003 3:20 PM Subject: Re: [Dynapi-Dev] DynLayers elements not destroyed. > See below: > > "Raymond Irving" <xw...@ya...> wrote: > > > See below: > > > > --- Kevin <ke...@ke...> wrote: > > > Hello, > > > > > > If elements are removed and then some more are added > > > we may have a memory leak. Using Mozilla and > > > example: > > > dynapi.api.dynlayer-destroy.html > > > the elements aren't removed when the Destroy all > > > link is > > > clicked. > > > > > > Suggested fix > > > dynlayer_base.js:p._remove > > > > > > -this.elm.innerHTML = ""; > > > -this.elm.outerHTML = ""; > > > +//this.elm.innerHTML = ""; > > > +//this.elm.outerHTML = ""; > > > +var p=this.parent.elm; > > > +if(p) p.removeChild(this.elm); > > > > > > This seems to work fine in IE too.. > > > > I've added the above as well. > > > > > NS4 has a recycled array in > > > dynlayer_ns4.js:p._remove > > > but I don't see the space reused. Do we have growing > > > memory here and perhaps the Layer should be deleted > > > rather than hidden? > > > > Well, IMO if they're stored inside a recycle array > > then they should be reused. Any ideas on how we should > > do this? > > No ideas as we do, new Layer() or delete and not an OS > specific malloc or free. NS4 may have memory management > bugs as Doug says. Who implemented the recycled array? > Perhaps it was an NS4 bug work around, as doing a delete > on a Layer was proven to be bad news? > > - > Kevin > > > -- > > Raymond Irving > > > > > - > > > Kevin. > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: ValueWeb: > > > Dedicated Hosting for just $79/mo with 500 GB of > > > bandwidth! > > > No other company gives more support or power for > > > your dedicated server > > > > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Tax Center - File online, calculators, forms, and more > > http://tax.yahoo.com > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003 |
From: Kevin <ke...@ke...> - 2003-04-07 22:18:58
|
See below: "Raymond Irving" <xw...@ya...> wrote: > See below: > > --- Kevin <ke...@ke...> wrote: > > Hello, > > > > If elements are removed and then some more are added > > we may have a memory leak. Using Mozilla and > > example: > > dynapi.api.dynlayer-destroy.html > > the elements aren't removed when the Destroy all > > link is > > clicked. > > > > Suggested fix > > dynlayer_base.js:p._remove > > > > -this.elm.innerHTML = ""; > > -this.elm.outerHTML = ""; > > +//this.elm.innerHTML = ""; > > +//this.elm.outerHTML = ""; > > +var p=this.parent.elm; > > +if(p) p.removeChild(this.elm); > > > > This seems to work fine in IE too.. > > I've added the above as well. > > > NS4 has a recycled array in > > dynlayer_ns4.js:p._remove > > but I don't see the space reused. Do we have growing > > memory here and perhaps the Layer should be deleted > > rather than hidden? > > Well, IMO if they're stored inside a recycle array > then they should be reused. Any ideas on how we should > do this? No ideas as we do, new Layer() or delete and not an OS specific malloc or free. NS4 may have memory management bugs as Doug says. Who implemented the recycled array? Perhaps it was an NS4 bug work around, as doing a delete on a Layer was proven to be bad news? - Kevin > -- > Raymond Irving > > > - > > Kevin. > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of > > bandwidth! > > No other company gives more support or power for > > your dedicated server > > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://tax.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Kevin <ke...@ke...> - 2003-04-07 21:00:35
|
Hello, Attached patch.for: dynlayer_ns4.js: getOuterHTML() - Kevin |
From: Benoit M. <mar...@ma...> - 2003-04-07 17:12:53
|
It's coming soon. I have a bit of API tweaking to do, but it will soon be available in cvs. Benoit On Monday, April 7, 2003, at 07:39 AM, Ramesh Pallikara wrote: > hi, > > Is there a way to add a dragArea with dimensions relative to the layer > it is set to. ???? > Something like a dragarea, say a thin band defined at the top of a > layer which gets resized when the layer is resized. > > currently the DragEvent.setDragArea(a,area1) methods takes > absolute parameters which kinda becomes irrelevant when the layer size > changes. > > any ideas on going about this ???? > > thanx, > ramesh pallikara > > -- > QOTD: > "I've always wanted to work in the Federal Mint. And then go on > strike. To make less money." > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for > just $79/mo with 500 GB of bandwidth! No other company gives more > support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > |
From: Ramesh P. <ra...@in...> - 2003-04-07 14:28:07
|
hi, Is there a way to add a dragArea with dimensions relative to the layer it is set to. ???? Something like a dragarea, say a thin band defined at the top of a layer which gets resized when the layer is resized. currently the DragEvent.setDragArea(a,area1) methods takes absolute parameters which kinda becomes irrelevant when the layer size changes. any ideas on going about this ???? thanx, ramesh pallikara -- QOTD: "I've always wanted to work in the Federal Mint. And then go on strike. To make less money." |
From: Doug M. <do...@cr...> - 2003-04-07 03:00:26
|
How did we recycle in NS 4? While the memory leak was never completly fixed in NS 4, we did manage to minimize it somewhat.. Keep in mind that the content of a layer in NS 4 is also retained in memory. Simply calling setHTML() repeatedly on a layer in NS 4 will cause a memory leak. I never did find a solution for this. The best I was able to do was reduce the amount of content that was being set each time. > See below: > > --- Kevin <ke...@ke...> wrote: > > Hello, > > > > If elements are removed and then some more are added > > we may have a memory leak. Using Mozilla and > > example: > > dynapi.api.dynlayer-destroy.html > > the elements aren't removed when the Destroy all > > link is > > clicked. > > > > Suggested fix > > dynlayer_base.js:p._remove > > > > -this.elm.innerHTML = ""; > > -this.elm.outerHTML = ""; > > +//this.elm.innerHTML = ""; > > +//this.elm.outerHTML = ""; > > +var p=this.parent.elm; > > +if(p) p.removeChild(this.elm); > > > > This seems to work fine in IE too.. > > I've added the above as well. > > > NS4 has a recycled array in > > dynlayer_ns4.js:p._remove > > but I don't see the space reused. Do we have growing > > memory here and perhaps the Layer should be deleted > > rather than hidden? > > Well, IMO if they're stored inside a recycle array > then they should be reused. Any ideas on how we should > do this? > > -- > Raymond Irving > > > - > > Kevin. > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of > > bandwidth! > > No other company gives more support or power for > > your dedicated server > > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://tax.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003 |
From: SourceForge.net <no...@so...> - 2003-04-06 20:00:11
|
Patches item #716335, was opened at 2003-04-06 20:15 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305757&aid=716335&group_id=5757 Category: DynAPI 3 API Group: None Status: Open Resolution: None Priority: 5 Submitted By: Raymond Irving (xwisdom) Assigned to: Nobody/Anonymous (nobody) Summary: Additions/Patches for Util & API core files Initial Comment: [*] Update Examples [-] Fix DynLayers elements not being destroyed when _remove() is called. [-] Fix DynLayer not setting visible/textselectable when using dictionary object [+] Add StringBuffer [-] Fix NS4 blackboard bug when mouse events are assigned [*] Modify generateBlueprint(type) to support style sheets. > Generate Style Sheets from blueprints by using lyr.generateBlueprint('css'); [+] Add setClass(c,noInlineStyle) to DynLayer [-] Fix NS4 bug in DataSource/IOElement [-] Fix playtAnimation bug in PathAnimation [*] Modify insertChild(c,pos,usebp) to support positions [+] Add setPosition(p) Change are inside CVS ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305757&aid=716335&group_id=5757 |
From: Raymond I. <xw...@ya...> - 2003-04-06 18:49:46
|
See below: --- Kevin <ke...@ke...> wrote: > Hello, > > If elements are removed and then some more are added > we may have a memory leak. Using Mozilla and > example: > dynapi.api.dynlayer-destroy.html > the elements aren't removed when the Destroy all > link is > clicked. > > Suggested fix > dynlayer_base.js:p._remove > > -this.elm.innerHTML = ""; > -this.elm.outerHTML = ""; > +//this.elm.innerHTML = ""; > +//this.elm.outerHTML = ""; > +var p=this.parent.elm; > +if(p) p.removeChild(this.elm); > > This seems to work fine in IE too.. I've added the above as well. > NS4 has a recycled array in > dynlayer_ns4.js:p._remove > but I don't see the space reused. Do we have growing > memory here and perhaps the Layer should be deleted > rather than hidden? Well, IMO if they're stored inside a recycle array then they should be reused. Any ideas on how we should do this? -- Raymond Irving > - > Kevin. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of > bandwidth! > No other company gives more support or power for > your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-04-06 18:38:48
|
Cool. I'll add the patches to the copy that I have. -- Raymond Irving --- Kevin <ke...@ke...> wrote: > Hello, > > I found that false wasn't being set when using the > dictionary > object. > > In dynlayer_base.js: DynLayer() > > -this.visible = (args.visible||true); > +this.visible = (args.visible==false)?false:true; > > -this._textSelectable = (args.textSelectable||true); > +this._textSelectable = > (args.textSelectable==false)?false:true; > > - > Kevin > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of > bandwidth! > No other company gives more support or power for > your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
From: Kevin <ke...@ke...> - 2003-04-06 15:52:47
|
Hello, If elements are removed and then some more are added we may have a memory leak. Using Mozilla and example: dynapi.api.dynlayer-destroy.html the elements aren't removed when the Destroy all link is clicked. Suggested fix dynlayer_base.js:p._remove -this.elm.innerHTML = ""; -this.elm.outerHTML = ""; +//this.elm.innerHTML = ""; +//this.elm.outerHTML = ""; +var p=this.parent.elm; +if(p) p.removeChild(this.elm); This seems to work fine in IE too.. NS4 has a recycled array in dynlayer_ns4.js:p._remove but I don't see the space reused. Do we have growing memory here and perhaps the Layer should be deleted rather than hidden? - Kevin. |
From: Kevin <ke...@ke...> - 2003-04-06 11:53:44
|
Hello, I found that false wasn't being set when using the dictionary object. In dynlayer_base.js: DynLayer() -this.visible = (args.visible||true); +this.visible = (args.visible==false)?false:true; -this._textSelectable = (args.textSelectable||true); +this._textSelectable = (args.textSelectable==false)?false:true; - Kevin |
From: Doug M. <do...@cr...> - 2003-04-06 04:06:15
|
WE really need to re-evaluate our hosting soultion. In my opinion sorceforge suck ass. I have been trying to get my password sent to me for over a fucking = year!! I would really like to be able to log in to CVS, I would really like to = be able to log in to the bugzilla.. So, who has admin rights? does anyone? If so I can just create a new = account and get that account bumped to dev status..=20 Who is the "owner" of dynapi.sourceforge.net? With the latest issues I've had to deal with within my own company it = has become somewhat importent to me to ensure we still have full control over our site.. do we? And back to Sourceforge.. what's up with their user support? (or = lack-thereof?) I have probably submitted 20 or more request to have my password fixed.. = in every way I can find.. including the "send me my passrod" function = right to email direct to sourceforge admin. This is really pissing me off.. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003 |
From: Doug M. <do...@cr...> - 2003-04-06 04:01:41
|
That was some fast work.. The fix works.. do put it in cvs.. ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: <dyn...@li...> Sent: Saturday, April 05, 2003 7:23 PM Subject: Re: [Dynapi-Dev] Bug with anchors. (NS 4x) > Wow! Never tested that one at all. The fixed is > attached. > > Keep up the good work > > -- > Raymond Irving > > --- Doug Melvin <do...@cr...> wrote: > > There is a bug with anchors.. > > When I add a mouse listener toa layer which hss the > > blackboard enabled > > I get the following error > > > > --- > > JavaScript Error: > > file:///E|/code/DynAPI3x/src/api/mouse_ns4.js, line > > 169: > > > > this.doc.images has no properties. > > > > --- > > > > The error occured in Netscape 4.8 > > > > Example code: > > var theLayer = DynAPI.document.addChild(new > > DynLayer(null,200,10,100,100,"blue")); > > theLayer.enableBlackboard(); //comment this out to > > get rid of error > > theLayer.addEventListener({onclick : > > function(evt){alert('ouch! You clicked me!')}}); > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system > > (http://www.grisoft.com). > > Version: 6.0.463 / Virus Database: 262 - Release > > Date: 3/17/2003 > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://tax.yahoo.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003 |
From: Raymond I. <xw...@ya...> - 2003-04-06 03:31:13
|
--- Benoit Marchant <mar...@ma...> wrote: > > function MyClass2(){} > > var p= dynapi.setPrototype('MyClass2','MyClass1'); > > dynapi.overwrite('MyClass2','setSize'); > > p.setSize=function(w,h){ > > this.superSetSize(w,h); > > // will the above superSetSize be DynLayer's or > > MyClass1 setSize function? > The above will call MyClass1.prototype.setSize > > // If it's MyClass1 then how will the MyClass1 > code > > access DynLayer's setSize()? > Because the overwrite method creates > MyClass1.prototype.superSetSize = > DynLayer .prototype.superSetSize I'll have to run some more test on this one. > > Also, how will it work with multiple extensions? > > > It doesn't ! There's the exact same problem with > categories in > Objective-C. If you define the same method (even for > new method that > didn't exists) on a class in 2 different source > files, depending on the > loading mechanism, either the first or the last > would win. > There's no way to determine an order between the > multiple definitions, > and even if there were an order, at best you want to > control which one > wins, but defining any combining of the different > implementations looks > risky to me. > So bottom line we should decide which one wins, and > stick with that. > In the implementation I did, the first one win as I > check if the > superSetSize exists, and if it does, then subsequent > use overwrite > would have no effects. > If we don't check, then the last call win. I guess, > if you provide a > extension it would be called after and you would > expect it to win. > > This overwrite use is meant for overriding method in > subclasses. Now if > you want to re define setSize on DynLayer with your > custom > implementation, and then have all subclasses that > inherit from DynLayer > and override setSize to use your new implementation, > you really have to > assign DynLayer.prototype.setSize = myNewSetSize > > And all should be as expected. But that usage could > be described as a > "hack". The same can be done in the Objective-C > run-time, but I've only > done it once. This usage should be pretty rare, and > therefore you can > do it manually I think. > > Make sense ? Current we are able to support multiple extension that can overwrite a class function multiple times without having to worry about who comes fies or last. If we start allowing users to use overwrite() then they will just use it and expect it to work the same way they can currently do overwrites. We'll have to come up with a solution that supports multiple overwrites of the same class function. -- Raymond Irving > Benoit > __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-04-06 03:23:44
|
Wow! Never tested that one at all. The fixed is attached. Keep up the good work -- Raymond Irving --- Doug Melvin <do...@cr...> wrote: > There is a bug with anchors.. > When I add a mouse listener toa layer which hss the > blackboard enabled > I get the following error > > --- > JavaScript Error: > file:///E|/code/DynAPI3x/src/api/mouse_ns4.js, line > 169: > > this.doc.images has no properties. > > --- > > The error occured in Netscape 4.8 > > Example code: > var theLayer = DynAPI.document.addChild(new > DynLayer(null,200,10,100,100,"blue")); > theLayer.enableBlackboard(); //comment this out to > get rid of error > theLayer.addEventListener({onclick : > function(evt){alert('ouch! You clicked me!')}}); > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system > (http://www.grisoft.com). > Version: 6.0.463 / Virus Database: 262 - Release > Date: 3/17/2003 __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
From: Doug M. <do...@cr...> - 2003-04-06 01:32:29
|
There is a bug with anchors.. When I add a mouse listener toa layer which hss the blackboard enabled I get the following error --- JavaScript Error: file:///E|/code/DynAPI3x/src/api/mouse_ns4.js, line 169: this.doc.images has no properties. --- The error occured in Netscape 4.8 Example code: var theLayer =3D DynAPI.document.addChild(new = DynLayer(null,200,10,100,100,"blue")); theLayer.enableBlackboard(); //comment this out to get rid of error theLayer.addEventListener({onclick : function(evt){alert('ouch! You = clicked me!')}}); --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003 |