DMDScript - DMDScript 1.13
- Walter Bright (2/2) Jan 26 2007 Updated to work with DMD 1.003
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (9/12) Feb 10 2007 This has the same issues as before:
- Dan (6/6) Feb 10 2007 Heh.
- Dan (14/14) Feb 11 2007 Update:
- Justin C Calvarese (7/22) Feb 13 2007 I assume your referring to this project:
- Dan (12/12) Feb 14 2007 jcc,
- jcc7 (11/25) Feb 14 2007 Oh, I think I ran across the same thing the other day. It seems to work ...
- Carlos Santander (5/22) Feb 14 2007 I think I solved some of those things in Walnut. Check its (old and aban...
- Dan (3/3) Feb 14 2007 Okay Carlos, I'll check it out.
- Dan (3/3) Feb 16 2007 I tried to sleuth down the source for walnut, but it's not visible onlin...
- Lars Ivar Igesund (8/13) Feb 16 2007 You should get to the subversion repository using the below
- Walter Bright (3/5) Apr 18 2007 I don't recall removing any such posts, though there could have been
Updated to work with DMD 1.003 www.digitalmars.com/dscript/changelog.html
Jan 26 2007
Walter Bright wrote:Updated to work with DMD 1.003 www.digitalmars.com/dscript/changelog.htmlThis has the same issues as before: - dglobal.d asserts on any other Unix - value.d fails unless ASM supported - sieve.html code only works with IE - Makefile for GDC / Mac is missing But the same patches still work OK, for making DMDScript more portable. --anders
Feb 10 2007
Heh. Walter removed my post mentioning that I'd prettyprinted DMDScript, arranged it into folders, and had activex half working? It'll be on the web elsewhere once I finish getting activex working. That's all I can say. I'll be sure to keep you guys informed.
Feb 10 2007
Update: I've currently got: - a non-functional ActiveXObject() in DScript; - a functional ActiveXObject() in D; I derived the functional ActiveXObject from the one provided in Core32, and ported it over to the MinGW work done by Stewart Gordon (which had a bug with ITypeInfo btw) Now I have to: - Put the two together to bind ActiveXObject in DScript to actual COM - Write the Put/Get/Call routines for the ActiveXObject so they don't require special methods (ex: ie.set("Visible",toVariant(true)); ) It's now 1pm here, if I'm lucky I'll have it done before bedtime. *crosses fingers* Sincerely, Dan
Feb 11 2007
Dan wrote:Update: I've currently got: - a non-functional ActiveXObject() in DScript; - a functional ActiveXObject() in D;Sounds great!I derived the functional ActiveXObject from the one provided in Core32, and ported it over to the MinGW work done by Stewart Gordon (which had a bug with ITypeInfo btw)I assume your referring to this project: http://www.prowiki.org/wiki4d/wiki.cgi?WindowsAPI What was the error? Did you tell Stewart about it?Now I have to: - Put the two together to bind ActiveXObject in DScript to actual COM - Write the Put/Get/Call routines for the ActiveXObject so they don't require special methods (ex: ie.set("Visible",toVariant(true)); ) It's now 1pm here, if I'm lucky I'll have it done before bedtime. *crosses fingers*-- jcc7
Feb 13 2007
jcc, Yes, that's the project. No I didn't tell him. The error was that some of his objbase.d functions expected ITypeInfo**'s, instead of just ITypeInfo*'s. I just ran into two of them; and found it worked with just ITypeInfo*'s (actually ran) I have put the two parts together, and now have an ActiveXObject within the DScript engine. When I hard code ie.set("Visible",toVariant(true)); etc, it works. The remaining issue now is to bind the working ActiveXObject to Dscript. That will involve some heavy modification of loadMembers() etc. jcc, I just realized that nothing on dsource.org is licensed. It just claims to be "Open Source Development". Any idea where I could get licensing information (to cover myself?)
Feb 14 2007
== Quote from Dan (murpsoft hotmail.com)'s articlejcc, Yes, that's the project. No I didn't tell him. The error was that some of his objbase.d functions expected ITypeInfo**'s, instead of just ITypeInfo*'s. I just ran into two of them; and found it worked with just ITypeInfo*'s (actually ran)Oh, I think I ran across the same thing the other day. It seems to work when I used a cast.I have put the two parts together, and now have an ActiveXObject within the DScript engine. When I hard code ie.set("Visible",toVariant(true)); etc, it works.That's great!The remaining issue now is to bind the working ActiveXObject to Dscript. That will involve some heavy modification of loadMembers() etc. jcc, I just realized that nothing on dsource.org is licensed. It just claims to be "Open Source Development". Any idea where I could > getlicensing information(to cover myself?)Is "Placed into public domain" good enough for your purposes? I think the header of each file has the same public domain notice: http://www.dsource.org/projects/bindings/browser/trunk/win32/w32api.d I think they picked the MinGW headers as a basis because they are public domain and the intention is to have the D port be public domain, too. jcc7
Feb 14 2007
Dan escribió:jcc, Yes, that's the project. No I didn't tell him. The error was that some of his objbase.d functions expected ITypeInfo**'s, instead of just ITypeInfo*'s. I just ran into two of them; and found it worked with just ITypeInfo*'s (actually ran) I have put the two parts together, and now have an ActiveXObject within the DScript engine. When I hard code ie.set("Visible",toVariant(true)); etc, it works. The remaining issue now is to bind the working ActiveXObject to Dscript. That will involve some heavy modification of loadMembers() etc.I think I solved some of those things in Walnut. Check its (old and abandoned) source at DSource.jcc, I just realized that nothing on dsource.org is licensed. It just claims to be "Open Source Development". Any idea where I could get licensing information (to cover myself?)-- Carlos Santander Bernal
Feb 14 2007
Okay Carlos, I'll check it out. Glad to know I don't have to bury the work because of licensing. : ) I'm gonna be off for the rest of the day. I'm sick with the flu.
Feb 14 2007
I tried to sleuth down the source for walnut, but it's not visible online to either google or dsource.org/ that I could find. If someone could direct me to the location, I'd appreciate it. Thanks, Dan.
Feb 16 2007
Dan wrote:I tried to sleuth down the source for walnut, but it's not visible online to either google or dsource.org/ that I could find. If someone could direct me to the location, I'd appreciate it. Thanks, Dan.You should get to the subversion repository using the below svn co http://svn.dsource.org/projects/walnut walnut -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Feb 16 2007
Okay, from what I've read, the stuff that was part of walnut was related to Core32 and MinGW (sp?) I borrowed code from jcc7 and carlos already as public domain. I created a DScript native object, the ActiveXObject, and attached the com functionality from the borrowed code. I've since modified toVariant to make it implicit. It's now done when you set, setByRef or call anything. I'm now going to try to expose the names of the ActiveXObject set/get/call "properties/methods" to DScript, and then work on being able to call them.
Feb 17 2007
I now have it listing off the COM members within DScript. It properly handles constructor and prototype, and lists all the values as undefined. I've been trying to get it to properly do gets through Dobject's Value* Get(char[] member){} So far it's not working. Dan gets no banana. Walter: Attachments make posting fail. Sorry about the earlier comment. : p
Feb 17 2007
In case anyone missed it, I've released source as "Walnut": http://dsource.org/projects/walnut/ It's not perfect, but I think it's an improvement.
Feb 25 2007
Dan wrote:Walter removed my post mentioning that I'd prettyprinted DMDScript, arranged it into folders, and had activex half working?I don't recall removing any such posts, though there could have been some sort of error in the newsgroup software. Are you sure one was posted?
Apr 18 2007