Re: [dev] UNO, URP, IIOP, etc.
Dmitri Hrapof wrote: Hello! I'm trying to write Common Lisp language binding for UNO (in order to make OO scriptable with a real programming language :) So I have some questions about different ways to do it (most attractive option first): 1. Is IIOP bridge working? Where can I find examples/docs about IIOP bridge? Is it possible from, say, Calc to call methods on objects in remote Python/C++/Java/Common Lisp process? No. As others already pointed out, there is no IIOP bridge for UNO (although there used to be some historic, dysfunctional code around that should be more than dead by now). 2. URP spec at http://udk.openoffice.org/common/man/spec/urp.html is rather terse IMHO, on the verge of being incomplete. Is there some more docs somewhere other than TCL urp implementation? :) More specifically, how Request message is formed? Where do I put method name, object reference, parameters etc.? Could somebody be so kind as to show me the first message connecting remote process should send to OO? The urp.html spec should be complete. Let me know what is missing, to get that fixed. The description of request messages includes: The flag bytes are followed by the function ID, either a 16-bit or an 8-bit unsigned integer. [...] If the NEWOID flag is set, then the OID follows. [...] The message header is finished then. The message body contains the input values of any in and in-out parameters from 〈x1 t1, …, xk tk〉, in that order. If anything is unclear, feel free to ask here. -Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] UNO, URP, IIOP, etc.
Hi Dimitri, Am Sonntag 06 Mai 2007 10:49 schrieb Dmitri Hrapof: Hello! I'm trying to write Common Lisp language binding for UNO (in order to make OO scriptable with a real programming language :) So I have some questions about different ways to do it (most attractive option first): 1. Is IIOP bridge working? Where can I find examples/docs about IIOP bridge? Is it possible from, say, Calc to call methods on objects in remote Python/C++/Java/Common Lisp process? From what I can remember you should not use iiop, it is not supported/developped in the future. 2. URP spec at http://udk.openoffice.org/common/man/spec/urp.html is rather terse IMHO, on the verge of being incomplete. Is there some more docs somewhere other than TCL urp implementation? :) I did not find very much documentation about that when I implemented TCL urp. There is some concept documentation which I did not find right now, it should be somewhere in the udk project. Most of the stuff I have found out in putting debugging statements into pyuno implementation and looking at the results when running some examples or by looking in the implementation of the server side. Nevertheless if you need more details on how to understand the TCL urp implementation you can contact me directly, I will try to help you as much as I can. More specifically, how Request message is formed? Where do I put method name, object reference, parameters etc.? Could somebody be so kind as to show me the first message connecting remote process should send to OO? 3. Is there some C-style UNO library I can load into my Lisp process and call through C foreign functions interface? It such library exists, is it able to call OO remotely? I would say not directly, what you can have is the C++ implementation library, but that on the other hand means you have to load a very big part of ooo too. Sincerely yours, Dmitri - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] UNO, URP, IIOP, etc.
It would be pretty interesting to see your discussion in the public, because I tried to write a language wrapper for Smalltalk in the past (but only via OLE) and I did not finished it. Therefore I'm really interested in this area. Marten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] UNO, URP, IIOP, etc.
Am Sonntag 06 Mai 2007 15:29 schrieb Marten Feldtmann: It would be pretty interesting to see your discussion in the public, no problem from my side. because I tried to write a language wrapper for Smalltalk in the past (but only via OLE) and I did not finished it. Therefore I'm really interested in this area. Marten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] just as info: I have started a year ago a C-implementation of the functionality I have implemented in Tcl which is independent of any ooo code (advantage: you have a relativly small library without the overhead of an ooo client which has a lot of code you don't need for most cases in a language wrapper). The idea was to use swig interfaces based on that library for other languages to provide easy access with a small number of interface functions. The basic interface is using only strings for all types, the conversions could then be done with some library functions or in these languages itself. Not having enough time for it, it was never finished. If there are more people interested in a basic interface I could open that project again and finish it or finish it together with others. The implementation was very close to the TCL code, because so I could use the C-implementation of a lot of the TCL functionality without having to write too much code myself and it makes it easier to keep the TCL implementation and the C-implementation synchronous. I was also thinking about using the C-implementation for TCL too when it was finished. The TCL code is BSD licensed, so there is no problem in using parts of it. So please let me know if there is some interest in that implementation and if yes, who would like to spend also some time on the project, as I am currently working on an other open source project for TCL and don't have too much time for the urp project. Arnulf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]