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: Robert R. <rra...@ya...> - 2001-01-07 21:58:45
|
On 1/7/2001, 9:04:05 AM EST, Sebastian wrote about "[Dynapi-Dev] syntax error in dynimage.js?": > After changing line 115 (in dynimage.js) from: > DynImage.timerId=setTimeout(DynImage+'.loadercheck()',25); > ...to: > DynImage.timerId=setTimeout('DynImage.loadercheck()',25); > everything seems to work fine (BTW, that's the syntax already used in > line 99). > Can somebody please check back on this? I believe you are right since DynImage doesn't have a toString that returns "DynImage", which may be causing the first line to fail. Since "DynImage.loadercheck()" is valid, that should be how it is written in the setTimeout. -- // Robert Rainwater |
From: Robert R. <rra...@ya...> - 2001-01-07 20:22:58
|
As far as I can tell in the latest snapshot the getComponent is not used by DragEvents. After a quick search, I do not see anywhere in the latest from CVS where getComponent is used anymore. -- // Robert Rainwater On 1/7/2001, 3:11:52 PM EST, Raymond wrote about "[Dynapi-Dev] bug in latest dynlayer.js from cvs": > FYI, the removal of the getComponent methods is also causing the delete/add > DragEvents to throw an error, since they use these methods. > ----- Original Message ----- > From: "Cameron Hart" <cam...@ya...> > To: <dyn...@li...> > Sent: Sunday, January 07, 2001 4:40 AM > Subject: [Dynapi-Dev] bug in latest dynlayer.js from cvs >> Hi, I've come across a bug in the latest dynlayer.js >> creation code. I don't know what's causing the problem >> as yet. It's happening in ie5 on pc. >> >> Sometimes when I create layers, I get the following >> error: >> >> Line: 222 >> Char: 3 >> Error: 'this.elm.style' is not an object >> >> It's being caused by assignElement being called from >> assignChildren with elm being undefined. >> >> I haven't managed to track the problem any further >> than that at the moment. >> >> Cheers, >> >> Cameron. >> >> >> --- Pascal Bestebroer <pa...@dy...> wrote: >> > see f.a.q. at >> > >> http://www.dynamic-core.net/core/files/faq.dynapi2.html >> > it >> > includes the info needed. >> > >> > Pascal Bestebroer >> > pa...@dy... >> > http://www.dynamic-core.net >> > >> > > -----Oorspronkelijk bericht----- >> > > Van: dyn...@li... >> > > >> > >> [mailto:dyn...@li...]Namens >> > Eytan Heidingsfeld >> > > Verzonden: zondag 7 januari 2001 10:25 >> > > Aan: dyn...@li... >> > > Onderwerp: Re: [Dynapi-Dev] CVS List >> > > >> > > >> > > I'm sorry to bother again about this subject but >> > how do I get into the CVS >> > > >> > > >> > > _______________________________________________ >> > > Dynapi-Dev mailing list >> > > Dyn...@li... >> > > >> > >> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev >> > > >> > >> > >> > _______________________________________________ >> > Dynapi-Dev mailing list >> > Dyn...@li... >> > >> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev >> > >> > >> >> >> __________________________________________________ >> Do You Yahoo!? >> Yahoo! Photos - Share your holiday photos online! >> http://photos.yahoo.com/ >> >> _______________________________________________ >> Dynapi-Dev mailing list >> Dyn...@li... >> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev >> > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
From: Raymond S. <dst...@or...> - 2001-01-07 20:13:37
|
FYI, the removal of the getComponent methods is also causing the delete/add DragEvents to throw an error, since they use these methods. ----- Original Message ----- From: "Cameron Hart" <cam...@ya...> To: <dyn...@li...> Sent: Sunday, January 07, 2001 4:40 AM Subject: [Dynapi-Dev] bug in latest dynlayer.js from cvs > Hi, I've come across a bug in the latest dynlayer.js > creation code. I don't know what's causing the problem > as yet. It's happening in ie5 on pc. > > Sometimes when I create layers, I get the following > error: > > Line: 222 > Char: 3 > Error: 'this.elm.style' is not an object > > It's being caused by assignElement being called from > assignChildren with elm being undefined. > > I haven't managed to track the problem any further > than that at the moment. > > Cheers, > > Cameron. > > > --- Pascal Bestebroer <pa...@dy...> wrote: > > see f.a.q. at > > > http://www.dynamic-core.net/core/files/faq.dynapi2.html > > it > > includes the info needed. > > > > Pascal Bestebroer > > pa...@dy... > > http://www.dynamic-core.net > > > > > -----Oorspronkelijk bericht----- > > > Van: dyn...@li... > > > > > > [mailto:dyn...@li...]Namens > > Eytan Heidingsfeld > > > Verzonden: zondag 7 januari 2001 10:25 > > > Aan: dyn...@li... > > > Onderwerp: Re: [Dynapi-Dev] CVS List > > > > > > > > > I'm sorry to bother again about this subject but > > how do I get into the CVS > > > > > > > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > > > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > > > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Photos - Share your holiday photos online! > http://photos.yahoo.com/ > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > |
From: Sebastian B. <se...@be...> - 2001-01-07 14:02:18
|
Hi. I'm quite new to DynAPI, so maybe I'm wrong and my code is buggy... but I've found some strange behaviour in dynimage.js (latest CVS version) running in Netscape 4.76 Linux (the problem seems not to exist in IE or Netscape under Windoze?!): ------------ JavaScript Error: file:///path/to//dynapi/js/lib/dynapi/gui/dynimage.js, line 130: syntax error. .loadercheck()entListener(DynImage.listener); { ^ ------------ After changing line 115 (in dynimage.js) from: DynImage.timerId=setTimeout(DynImage+'.loadercheck()',25); ...to: DynImage.timerId=setTimeout('DynImage.loadercheck()',25); everything seems to work fine (BTW, that's the syntax already used in line 99). Can somebody please check back on this? -- Sebastian Beigel http://beigel.de |
From: <cam...@ya...> - 2001-01-07 12:40:01
|
Hi, I've come across a bug in the latest dynlayer.js creation code. I don't know what's causing the problem as yet. It's happening in ie5 on pc. Sometimes when I create layers, I get the following error: Line: 222 Char: 3 Error: 'this.elm.style' is not an object It's being caused by assignElement being called from assignChildren with elm being undefined. I haven't managed to track the problem any further than that at the moment. Cheers, Cameron. --- Pascal Bestebroer <pa...@dy...> wrote: > see f.a.q. at > http://www.dynamic-core.net/core/files/faq.dynapi2.html > it > includes the info needed. > > Pascal Bestebroer > pa...@dy... > http://www.dynamic-core.net > > > -----Oorspronkelijk bericht----- > > Van: dyn...@li... > > > [mailto:dyn...@li...]Namens > Eytan Heidingsfeld > > Verzonden: zondag 7 januari 2001 10:25 > > Aan: dyn...@li... > > Onderwerp: Re: [Dynapi-Dev] CVS List > > > > > > I'm sorry to bother again about this subject but > how do I get into the CVS > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ |
From: Pascal B. <pa...@dy...> - 2001-01-07 10:37:11
|
see f.a.q. at http://www.dynamic-core.net/core/files/faq.dynapi2.html it includes the info needed. Pascal Bestebroer pa...@dy... http://www.dynamic-core.net > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Eytan Heidingsfeld > Verzonden: zondag 7 januari 2001 10:25 > Aan: dyn...@li... > Onderwerp: Re: [Dynapi-Dev] CVS List > > > I'm sorry to bother again about this subject but how do I get into the CVS > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > |
From: Eytan H. <ey...@tr...> - 2001-01-07 09:29:27
|
I'm sorry to bother again about this subject but how do I get into the CVS |
From: Eytan H. <ey...@tr...> - 2001-01-07 09:22:00
|
Hi, Since rambling has seemed to be approved I will continue... Like I have stated many times (hence the term RAMBLING) I believe that = the DYNAPI is not built well in the OOD point of view. Hence I offered = and started developing a new way to use the API. My work has been put = off a bit because of my real job but is coming along slowly. The idea is = kind of the idea behind all programing languages that can be compiled on = different platforms (Java, C and now Delphi) is that the actual code is = OOD. Everything is theoretical. The only difference in platforms is the = calling of OS methods. That's what I started developing. First, you have = to develop a good base. Then what you would do is perfect the DynLayer, = that's it! All the actual design of the code would be OOD and the actual = calls to the OS would be the calls to the DynLayer. Then building an IDE = will also be easier since because the language would be structured = better. I will countinue rambling and in the words of the greats=20 "Ramble On" - Led Zeppelin. =20 8an |
From: <no...@so...> - 2001-01-07 00:17:21
|
Bug #127763, was updated on 2001-Jan-06 15:16 Here is a current snapshot of the bug. Project: DynAPI 2 Category: None Status: Closed Resolution: Invalid Bug Group: None Priority: 5 Submitted by: digitalstrider Assigned to : nobody Summary: Recent Dynlayer causing problems Details: Newest Dynlayer.js is causing method conflicts with scrollpane and other dynamic widgets. I'm perusing it now. DS Follow-Ups: Date: 2001-Jan-06 16:17 By: rainwater Comment: Issued resolved in a later bug post. PS: Please add further comments to the same bug and do not create a new one so that the bug can easily be tracked. ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=127763&group_id=5757 |
From: <no...@so...> - 2001-01-07 00:15:52
|
Bug #127764, was updated on 2001-Jan-06 15:55 Here is a current snapshot of the bug. Project: DynAPI 2 Category: None Status: Closed Resolution: None Bug Group: None Priority: 5 Submitted by: nobody Assigned to : nobody Summary: More on Dynlayer change bug Details: Caused by removal of getComponent method which is used by dragevent in the set and disable methods. Affects any widget that uses this api (dragevent). Cheers Follow-Ups: Date: 2001-Jan-06 16:16 By: rainwater Comment: The getComponent is no longer in dragevent. Using the standard method of creating widgets should not cause a problem. ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=127764&group_id=5757 |
From: <no...@so...> - 2001-01-07 00:11:04
|
Bug #127765, was updated on 2001-Jan-06 16:01 Here is a current snapshot of the bug. Project: DynAPI 2 Category: Core API Status: Closed Resolution: Fixed Bug Group: None Priority: 5 Submitted by: nobody Assigned to : rainwater Summary: Reference Keyevents. Details: This line is needed in Dynapi to activate Keyevents. Insert after line 69. if (DynAPI.document.captureKeyEvents) DynAPI.document.captureKeyEvents() Cheers, Digital Strider Follow-Ups: Date: 2001-Jan-06 16:11 By: rainwater Comment: This was just put into CVS and the line was already added. ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=127765&group_id=5757 |
From: <no...@so...> - 2001-01-07 00:01:02
|
Bug #127765, was updated on 2001-Jan-06 16:01 Here is a current snapshot of the bug. Project: DynAPI 2 Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Submitted by: nobody Assigned to : nobody Summary: Reference Keyevents. Details: This line is needed in Dynapi to activate Keyevents. Insert after line 69. if (DynAPI.document.captureKeyEvents) DynAPI.document.captureKeyEvents() Cheers, Digital Strider For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=127765&group_id=5757 |
From: <no...@so...> - 2001-01-06 23:54:56
|
Bug #127764, was updated on 2001-Jan-06 15:55 Here is a current snapshot of the bug. Project: DynAPI 2 Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Submitted by: nobody Assigned to : nobody Summary: More on Dynlayer change bug Details: Caused by removal of getComponent method which is used by dragevent in the set and disable methods. Affects any widget that uses this api (dragevent). Cheers For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=127764&group_id=5757 |
From: <no...@so...> - 2001-01-06 23:16:18
|
Bug #127763, was updated on 2001-Jan-06 15:16 Here is a current snapshot of the bug. Project: DynAPI 2 Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Submitted by: digitalstrider Assigned to : nobody Summary: Recent Dynlayer causing problems Details: Newest Dynlayer.js is causing method conflicts with scrollpane and other dynamic widgets. I'm perusing it now. DS For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=127763&group_id=5757 |
From: Robert R. <rra...@ya...> - 2001-01-06 22:56:04
|
I've updated the Sourceforge Bug and Patch options to send all updates to the dynapi-dev list. Therefore, I propose all new bugs and patches be created on the Sourceforge site in the appropriate section. This way the list will be notified and be able to discuss these. This will allow us to be able to better track the bugs and patches. The volume on the lists makes it difficult, but if they are posted on the Sourceforge site, the release process will be easier. -- // Robert Rainwater |
From: Robert R. <rra...@ya...> - 2001-01-06 21:45:36
|
I updated CVS with the setHTML noevt. I also fixed the setURL in the loadpanel, only I use this.url = url instead of .tempURL=url. From what I saw, the this.url is the one that is called on the create event (ie o.setURL(o.url)). -- // Robert Rainwater On 1/6/2001, 8:52:57 AM EST, Cameron wrote about "[Dynapi-Dev] loadpanel fix, dynapi suggestion.": > This is a small fix for loadpanel. The problem occured > if you did the following: > lp = new LoadPanel(); > lp.setURL('html.html'); > DynAPI.document.addChild(lp); > setURL doesn't check if the LoadPanel has been created > yet. This is my suggested fix: > LoadPanel.prototype.setURL = function(url) { > if (!url) return; > if (!this.created) { > this.tempURL=url; > } > else { > LoadPanel.queue.add(url,this); > } > }; > Also, I'd like to suggest adding a no event parameter > to setHTML: > DynLayer.prototype.setHTML=function(html,noevt) { > this.html=html?html:''; > if (this.css==null) return; > if (noevt!=false) this.invokeEvent("beforeload"); > this.elm.innerHTML=html; > if (is.ns4) { > this.doc.open(); > this.doc.write(html); > this.doc.close(); > for (var i in this.doc.images) > this.doc.images[i].lyrobj=this; > } > else if (is.ns5) { > while (this.elm.hasChildNodes()) > this.elm.removeChild(this.elm.firstChild); > var r=this.elm.ownerDocument.createRange(); > r.selectNodeContents(this.elm); > r.collapse(true); > var df=r.createContextualFragment(html); > this.elm.appendChild(df); > for (var i in this.doc.images) > this.doc.images[i].lyrobj=this.elm; > } > else { > for (var i in this.elm.all.tags("img")) { > this.elm.all.tags("img")[i].lyrobj=this; > } > } > if (noevt!=false) this.invokeEvent("load"); > }; > I'd greatly appreciate if these updates made it into > the CVS! > Cheers, > Cameron. > __________________________________________________ > Do You Yahoo!? > Yahoo! Photos - Share your holiday photos online! > http://photos.yahoo.com/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
From: Pascal B. <pa...@dy...> - 2001-01-06 18:33:39
|
please read the f.a.q. at http://www.dynamic-core.net/core/files/faq.dynapi2.html Pascal Bestebroer pa...@dy... http://www.dynamic-core.net > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Stefano Vargiu > Verzonden: zaterdag 6 januari 2001 17:24 > Aan: dyn...@li... > Onderwerp: [Dynapi-Dev] sourceforge or richardinfo snapshot?!? > > > Hi all, > I'm new to this mailing list. I really would like to contribute > creating new > widgets, but > first of all I need to understand: please, help me! I know other people > already ask that, > but is really important for me (and I think for other people as well) to > know which is the > MORE UPDATED VERSION of DYNAPI!! > In http://dynapi.sourceforge.net/snapshot/dynapi.zip there is the > snapshot > without widgets. > In http://www.richardinfo.com there is a zip file with the base code of > DynAPI + a lot of > widgets. > There is only one problem: the common files to the snapshot file and the > richardinfo file > are different: all the files (not just some) in the directories api/ ext/ > gui/ util/ are not the same in the two zip files. > At the end: I can take all the widgets (coreExt, coreFx, ....) in the > richardinfo zip file, but > for the common directories which is the version more updated? > Richardinfo or > sourceforge snapshot? > > Stefano > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > |
From: Stefano V. <vst...@ho...> - 2001-01-06 17:24:20
|
Hi all, I'm new to this mailing list. I really would like to contribute creating new widgets, but first of all I need to understand: please, help me! I know other people already ask that, but is really important for me (and I think for other people as well) to know which is the MORE UPDATED VERSION of DYNAPI!! In http://dynapi.sourceforge.net/snapshot/dynapi.zip there is the snapshot without widgets. In http://www.richardinfo.com there is a zip file with the base code of DynAPI + a lot of widgets. There is only one problem: the common files to the snapshot file and the richardinfo file are different: all the files (not just some) in the directories api/ ext/ gui/ util/ are not the same in the two zip files. At the end: I can take all the widgets (coreExt, coreFx, ....) in the richardinfo zip file, but for the common directories which is the version more updated? Richardinfo or sourceforge snapshot? Stefano _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. |
From: Robert R. <rra...@ya...> - 2001-01-06 16:49:04
|
I've created a cvs mailing list (dynapi-cvs) that will post changes/updates made to CVS automatically. You can sign up for the list at the sourceforge site or you can view the web-based archive at http://www.mail-archive.com/dyn...@li.../. This should make it easier for everyone to see the changes that have been made to CVS. Also, in the snapshot you will find a changeLog file with similar information about the changes to CVS. -- // Robert Rainwater |
From: <cam...@ya...> - 2001-01-06 13:52:49
|
This is a small fix for loadpanel. The problem occured if you did the following: lp = new LoadPanel(); lp.setURL('html.html'); DynAPI.document.addChild(lp); setURL doesn't check if the LoadPanel has been created yet. This is my suggested fix: LoadPanel.prototype.setURL = function(url) { if (!url) return; if (!this.created) { this.tempURL=url; } else { LoadPanel.queue.add(url,this); } }; Also, I'd like to suggest adding a no event parameter to setHTML: DynLayer.prototype.setHTML=function(html,noevt) { this.html=html?html:''; if (this.css==null) return; if (noevt!=false) this.invokeEvent("beforeload"); this.elm.innerHTML=html; if (is.ns4) { this.doc.open(); this.doc.write(html); this.doc.close(); for (var i in this.doc.images) this.doc.images[i].lyrobj=this; } else if (is.ns5) { while (this.elm.hasChildNodes()) this.elm.removeChild(this.elm.firstChild); var r=this.elm.ownerDocument.createRange(); r.selectNodeContents(this.elm); r.collapse(true); var df=r.createContextualFragment(html); this.elm.appendChild(df); for (var i in this.doc.images) this.doc.images[i].lyrobj=this.elm; } else { for (var i in this.elm.all.tags("img")) { this.elm.all.tags("img")[i].lyrobj=this; } } if (noevt!=false) this.invokeEvent("load"); }; I'd greatly appreciate if these updates made it into the CVS! Cheers, Cameron. __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ |
From: Pascal B. <pa...@dy...> - 2001-01-06 09:01:41
|
when you remove that line, and include files with a .js the join later on causes the files to be named dynapi/api/layer/js.js Pascal Bestebroer pa...@dy... http://www.dynamic-core.net -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Michael Pemberton Verzonden: zaterdag 6 januari 2001 1:46 Aan: dyn...@li... Onderwerp: Re: [Dynapi-Dev] DynAPI.include() Those changes are not needed. If a non library file is entered, there is no problem. It just gets split and then rejoined later. srcArray = src.split('.'); --> if (srcArray[srcArray.length-1] == 'js') array.length -= 1; if (!path) var path=DynAPI.librarypath; Adding this additional line allows for removal of the '.js' extension if it has been included. Also, there is no point in testing for an array length of > 3. This allows for any of the following to work: DynAPI.include('afroapi.ext.keyevents','../../js') DynAPI.include('afroapi/ext/keyevents','../../js') DynAPI.include('js/afroapi/ext/keyevents','../../') DynAPI.include('js.afroapi.ext.keyevents','../../') This allows for further breaking down your directories to make them easier to understand. Pascal Bestebroer wrote: minor modification: include : function(src,path) srcArray=src.split('.') if (srcArray.length>3) srcArray.length-=1 if (!path) var path=DynAPI.librarypath var pckg=srcArray[0] var grp=srcArray[1] var file=srcArray[2] if (file=='*') if (DynAPI.packages[pckg]) group=DynAPI.packages[pckg].libs[grp] if (group) for (var i in group) document.write('<script language="Javascript1.2" src="'+path+pckg+'/'+grp+'/'+group[i]+'.js"><\/script>') else alert('include()\n\nThe following package could not be loaded:\n'+src+'\n\nmake sure you specified the correct path.') } else if (path[path.length-1] != "/") path += "/" document.write('<script language="Javascript1.2" src="'+path+srcArray.join('/')+'.js"><\/script>') } } else document.write('<script language="Javascript1.2" src="'+path+'/'+src+'"><\/script>') } } makes sure that other files (not in packages, etc) can also be correctly.included when specifying a path.. Also when a .js extension IS supplied this code will take care of it.Other point is that the DynAPI.addLibrary() calls should NOT specify a the js extension to make it work correctly.cya, Pascal Bestebroer pa...@dy... http://www.dynamic-core.net -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Michael Pemberton Verzonden: vrijdag 5 januari 2001 15:26 Aan: dyn...@li... Onderwerp: Re: [Dynapi-Dev] DynAPI.include() I was looking at a way of making the DynAPI.include method more simple. Here's what I came up with: include : function(src,path) srcArray = src.split('.'); if (!path) var path=DynAPI.librarypath; var pckg=srcArray[0]; var grp=srcArray[1]; var file=srcArray[2]; if (file=='*') if (DynAPI.packages[pckg]) group=DynAPI.packages[pckg][grp]; if (group) for (var i in group) document.write('<script language="Javascript1.2" src="'+path+pckg+'/'+grp+'/'+group[i]+'.js"><\/script>'); else alert('include()\n\nThe following package could not be loaded:\n'+src+'\n\nmake sure you specified the correct path.'); } else if (path[path.length-1] != "/") path += "/"; document.write('<script language="Javascript1.2" src="'+path+srcArray.join('/')+'.js"><\/script>'); }; } This way, there is no more searching for '.' over and over again. Also, you can now refer to individual files (even you own external files) using '.' instead of '/'. This way, it fits the library syntax. Hope this is of some use. Robert Rainwater wrote: I've updated my current version to do this for a while, but just haven't put it in CVS. I will update CVS soon so that the include will work that way. Robert ----- Original Message ----- From: "Michael Bürge" <mb...@st...> To: <dyn...@li...> Sent: Tuesday, January 02, 2001 6:58 PM Subject: [Dynapi-Dev] DynAPI.include() > hi there. > > this is my first post to this list, and i would like to use the opportunity to thank you for the great work you're all doing. i just started dealing with > the dynapi after having spent a _lot_ of time putting together something similar on my own (i now finally gave up, mainly because it's just way too much > work keeping everything up to date). > > now to the real issue of this post: > > the following is an excerpt from part 1 one of the tutorials written by Pascal, describing the include() function: > > * DynAPI.include('myownfile.js','location/path') > Include your own file not located in the [dynapi base path] location > * DynAPI.include('myownfile.js','./') > Include your own file located at the current file location. > > i like these features, so i tried to use them bu it didn't work. looking at the code i realised that they weren't implemented at all. i don't know if > somebody did already implement them, but both the current distro and the current CVS-version do not contain them. > so here's my version: > > include : function(src,path) > if(src.substring(src.length-3)!=".js") src+=".js"; > if (!path) var path=DynAPI.librarypath; > else > if (path=="./") path = ""; > else if (path[path.length-1] != "/") path += "/"; > document.write('<script language="Javascript1.2" src="'+ path + src + '"></script>'); > return; > } > ....some more stuff.... > } > > hope this is usefull, and sorry if i missed the version containing those features. (BTW: is was pretty hard for me to find out where to get the current > files, so a few hints on the project-webpage would save a great deal of time to people interested in looking at the current work going on) > > that all for now. > greets. > michael buerge > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-dev _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-dev _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
From: Michael P. <mp...@ph...> - 2001-01-06 00:43:15
|
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> Those changes are not needed. If a non library file is entered, there is no problem. It just gets split and then rejoined later. <p><tt> srcArray = src.split('.');</tt> <br><tt>--> if (srcArray[srcArray.length-1] == 'js') array.length -= 1;</tt> <br><tt> if (!path) var path=DynAPI.librarypath;</tt> <p>Adding this additional line allows for removal of the '.js' extension if it has been included. <p>Also, there is no point in testing for an array length of > 3. This allows for any of the following to work: <p><tt>DynAPI.include('afroapi.ext.keyevents','../../js')</tt> <br><tt>DynAPI.include('afroapi/ext/keyevents','../../js')</tt> <br><tt>DynAPI.include('js/afroapi/ext/keyevents','../../')</tt> <br><tt>DynAPI.include('js.afroapi.ext.keyevents','../../')</tt> <p>This allows for further breaking down your directories to make them easier to understand. <br> <p>Pascal Bestebroer wrote: <blockquote TYPE=CITE> <span class=530091120-05012001><font face="Arial"><font color="#0000FF"><font size=-1>minor modification:</font></font></font></span><span class=530091120-05012001></span><font face="Arial"><font color="#0000FF"><font size=-1> include : function(src,path) {</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> srcArray=src.split('.')</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> if (srcArray.length>3) srcArray.length-=1</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> if (!path) {</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> var path=DynAPI.librarypath</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> var pckg=srcArray[0]</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> var grp=srcArray[1]</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> var file=srcArray[2]</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> if (file=='*') {</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> if (DynAPI.packages[pckg]) group=DynAPI.packages[pckg].libs[grp]</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> if (group) for (var i in group) document.write('<script language="Javascript1.2" src="'+path+pckg+'/'+grp+'/'+group[i]+'.js"><\/script>')</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> else alert('include()\n\nThe following package could not be loaded:\n'+src+'\n\nmake sure you specified the correct path.')</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> } else {</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> if (path[path.length-1] != "/") path += "/"</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> document.write('<script language="Javascript1.2" src="'+path+srcArray.join('/')+'.js"><\/script>')</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> }</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> } else {</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> document.write('<script language="Javascript1.2" src="'+path+'/'+src+'"><\/script>')</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> }</font></font></font> <br><font face="Arial"><font color="#0000FF"><font size=-1> }</font></font></font> <span class=530091120-05012001><font face="Arial"><font color="#0000FF"><font size=-1>makes sure that other files (not in packages, etc) can also be correctly.included when specifying a path.. Also when a .js extension IS supplied this code will take care of it.</font></font></font></span><span class=530091120-05012001><font face="Arial"><font color="#0000FF"><font size=-1>Other point is that the DynAPI.addLibrary() calls should NOT specify a the js extension to make it work correctly.</font></font></font></span><span class=530091120-05012001></span><span class=530091120-05012001><font face="Arial"><font color="#0000FF"><font size=-1>cya,</font></font></font></span> <font size=-1>Pascal Bestebroer</font> <br><font size=-1>pa...@dy...</font> <br><font size=-1><a href="http://www.dynamic-core.net/" target="_blank">http://www.dynamic-core.net</a></font> <blockquote style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"> <div class="OutlookMessageHeader" dir="ltr"><font face="Tahoma"><font size=-1>-----Oorspronkelijk bericht-----</font></font> <br><font face="Tahoma"><font size=-1><b>Van:</b> dyn...@li... [<A HREF="mailto:dyn...@li...">mailto:dyn...@li...</A>]<b>Namens </b>Michael Pemberton</font></font> <br><font face="Tahoma"><font size=-1><b>Verzonden:</b> vrijdag 5 januari 2001 15:26</font></font> <br><font face="Tahoma"><font size=-1><b>Aan:</b> dyn...@li...</font></font> <br><font face="Tahoma"><font size=-1><b>Onderwerp:</b> Re: [Dynapi-Dev] DynAPI.include()</font></font> <br> </div> I was looking at a way of making the DynAPI.include method more simple. Here's what I came up with: <p><tt>include : function(src,path) {</tt> <br><tt> srcArray = src.split('.');</tt> <br><tt> if (!path) var path=DynAPI.librarypath;</tt> <br><tt> var pckg=srcArray[0];</tt> <br><tt> var grp=srcArray[1];</tt> <br><tt> var file=srcArray[2];</tt> <br><tt> if (file=='*') {</tt> <br><tt> if (DynAPI.packages[pckg]) group=DynAPI.packages[pckg][grp];</tt> <br><tt> if (group) for (var i in group) document.write('<script language="Javascript1.2" src="'+path+pckg+'/'+grp+'/'+group[i]+'.js"><\/script>');</tt> <br><tt> else alert('include()\n\nThe following package could not be loaded:\n'+src+'\n\nmake sure you specified the correct path.');</tt> <br><tt> } else {</tt> <br><tt> if (path[path.length-1] != "/") path += "/";</tt> <br><tt> document.write('<script language="Javascript1.2" src="'+path+srcArray.join('/')+'.js"><\/script>');</tt> <br><tt> };</tt> <br><tt>}</tt> <p>This way, there is no more searching for '.' over and over again. <br>Also, you can now refer to individual files (even you own external files) using '.' instead of '/'. This way, it fits the library syntax. Hope this is of some use. <p>Robert Rainwater wrote: <blockquote TYPE="CITE">I've updated my current version to do this for a while, but just haven't put <br>it in CVS. I will update CVS soon so that the include will work that way. <p>Robert <br>----- Original Message ----- <br>From: "Michael Bürge" <mb...@st...> <br>To: <dyn...@li...> <br>Sent: Tuesday, January 02, 2001 6:58 PM <br>Subject: [Dynapi-Dev] DynAPI.include() <p>> hi there. <br>> <br>> this is my first post to this list, and i would like to use the <br>opportunity to thank you for the great work you're all doing. i just started <br>dealing with <br>> the dynapi after having spent a _lot_ of time putting together something <br>similar on my own (i now finally gave up, mainly because it's just way too <br>much <br>> work keeping everything up to date). <br>> <br>> now to the real issue of this post: <br>> <br>> the following is an excerpt from part 1 one of the tutorials written by <br>Pascal, describing the include() function: <br>> <br>> * DynAPI.include('myownfile.js','location/path') <br>> Include your own file not located in the [dynapi base path] location <br>> * DynAPI.include('myownfile.js','./') <br>> Include your own file located at the current file location. <br>> <br>> i like these features, so i tried to use them bu it didn't work. looking <br>at the code i realised that they weren't implemented at all. i don't know if <br>> somebody did already implement them, but both the current distro and the <br>current CVS-version do not contain them. <br>> so here's my version: <br>> <br>> include : function(src,path) { <br>> if(src.substring(src.length-3)!=".js") src+=".js"; <br>> if (!path) var path=DynAPI.librarypath; <br>> else { <br>> if (path=="./") path = ""; <br>> else if (path[path.length-1] != "/") path += "/"; <br>> document.write('<script language="Javascript1.2" src="'+ path + src <br>+ '"></script>'); <br>> return; <br>> } <br>> ....some more stuff.... <br>> } <br>> <br>> hope this is usefull, and sorry if i missed the version containing those <br>features. (BTW: is was pretty hard for me to find out where to get the <br>current <br>> files, so a few hints on the project-webpage would save a great deal of <br>time to people interested in looking at the current work going on) <br>> <br>> that all for now. <br>> greets. <br>> michael buerge <br>> <br>> <br>> _______________________________________________ <br>> Dynapi-Dev mailing list <br>> Dyn...@li... <br>> <a href="http://lists.sourceforge.net/mailman/listinfo/dynapi-dev">http://lists.sourceforge.net/mailman/listinfo/dynapi-dev</a> <p>_______________________________________________ <br>Dynapi-Dev mailing list <br>Dyn...@li... <br><a href="http://lists.sourceforge.net/mailman/listinfo/dynapi-dev">http://lists.sourceforge.net/mailman/listinfo/dynapi-dev</a></blockquote> _______________________________________________ Dynapi-Dev mailing list Dyn...@li... <A HREF="http://lists.sourceforge.net/mailman/listinfo/dynapi-dev">http://lists.sourceforge.net/mailman/listinfo/dynapi-dev</A></blockquote> </blockquote> </html> |
From: Pascal B. <pa...@dy...> - 2001-01-05 20:17:03
|
could you point out the changes you made? (I've seen some eventPhase mentioning, but not sure if that's all :) thanks, Pascal Bestebroer pa...@dy... http://www.dynamic-core.net > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Nicola Marzolla > Verzonden: dinsdag 2 januari 2001 23:55 > Aan: dyn...@li... > Onderwerp: [Dynapi-Dev] fixed ns 6 events > > > I just uploaded a patch for ns 6 events please test it > > thank you > > Y > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > |
From: Pascal B. <pa...@dy...> - 2001-01-05 20:09:00
|
minor modification: include : function(src,path) srcArray=src.split('.') if (srcArray.length>3) srcArray.length-=1 if (!path) { var path=DynAPI.librarypath var pckg=srcArray[0] var grp=srcArray[1] var file=srcArray[2] if (file=='*') if (DynAPI.packages[pckg]) group=DynAPI.packages[pckg].libs[grp] if (group) for (var i in group) document.write('<script language="Javascript1.2" src="'+path+pckg+'/'+grp+'/'+group[i]+'.js"><\/script>') else alert('include()\n\nThe following package could not be loaded:\n'+src+'\n\nmake sure you specified the correct path.') } else if (path[path.length-1] != "/") path += "/" document.write('<script language="Javascript1.2" src="'+path+srcArray.join('/')+'.js"><\/script>') } } else { document.write('<script language="Javascript1.2" src="'+path+'/'+src+'"><\/script>') } } makes sure that other files (not in packages, etc) can also be correctly.included when specifying a path.. Also when a .js extension IS supplied this code will take care of it. Other point is that the DynAPI.addLibrary() calls should NOT specify a the .js extension to make it work correctly. cya, Pascal Bestebroer pa...@dy... http://www.dynamic-core.net -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Michael Pemberton Verzonden: vrijdag 5 januari 2001 15:26 Aan: dyn...@li... Onderwerp: Re: [Dynapi-Dev] DynAPI.include() I was looking at a way of making the DynAPI.include method more simple. Here's what I came up with: include : function(src,path) srcArray = src.split('.'); if (!path) var path=DynAPI.librarypath; var pckg=srcArray[0]; var grp=srcArray[1]; var file=srcArray[2]; if (file=='*') if (DynAPI.packages[pckg]) group=DynAPI.packages[pckg][grp]; if (group) for (var i in group) document.write('<script language="Javascript1.2" src="'+path+pckg+'/'+grp+'/'+group[i]+'.js"><\/script>'); else alert('include()\n\nThe following package could not be loaded:\n'+src+'\n\nmake sure you specified the correct path.'); } else if (path[path.length-1] != "/") path += "/"; document.write('<script language="Javascript1.2" src="'+path+srcArray.join('/')+'.js"><\/script>'); }; } This way, there is no more searching for '.' over and over again. Also, you can now refer to individual files (even you own external files) using '.' instead of '/'. This way, it fits the library syntax. Hope this is of some use. Robert Rainwater wrote: I've updated my current version to do this for a while, but just haven't put it in CVS. I will update CVS soon so that the include will work that way. Robert ----- Original Message ----- From: "Michael Bürge" <mb...@st...> To: <dyn...@li...> Sent: Tuesday, January 02, 2001 6:58 PM Subject: [Dynapi-Dev] DynAPI.include() > hi there. > > this is my first post to this list, and i would like to use the opportunity to thank you for the great work you're all doing. i just started dealing with > the dynapi after having spent a _lot_ of time putting together something similar on my own (i now finally gave up, mainly because it's just way too much > work keeping everything up to date). > > now to the real issue of this post: > > the following is an excerpt from part 1 one of the tutorials written by Pascal, describing the include() function: > > * DynAPI.include('myownfile.js','location/path') > Include your own file not located in the [dynapi base path] location > * DynAPI.include('myownfile.js','./') > Include your own file located at the current file location. > > i like these features, so i tried to use them bu it didn't work. looking at the code i realised that they weren't implemented at all. i don't know if > somebody did already implement them, but both the current distro and the current CVS-version do not contain them. > so here's my version: > > include : function(src,path) > if(src.substring(src.length-3)!=".js") src+=".js"; > if (!path) var path=DynAPI.librarypath; > else > if (path=="./") path = ""; > else if (path[path.length-1] != "/") path += "/"; > document.write('<script language="Javascript1.2" src="'+ path + src + '"></script>'); > return; > } > ....some more stuff.... > } > > hope this is usefull, and sorry if i missed the version containing those features. (BTW: is was pretty hard for me to find out where to get the current > files, so a few hints on the project-webpage would save a great deal of time to people interested in looking at the current work going on) > > that all for now. > greets. > michael buerge > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-dev _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
From: Scott A. L. <sc...@sc...> - 2001-01-05 18:02:54
|
> If setHTML could be passed a second > parameter to tell it not to invoke events (like > setSize) then this wouldn't be a problem. That should be easy enough to implement. Shouldn't every method that invokes DynAPI events should have this optional parameter? -- scott andrew lepera ----------------------------------- web stuff: www.scottandrew.com music stuff: www.walkingbirds.com |