hamei wrote:
porter wrote:
Serious question: Is anybody interested in playing with an implementation of SOMObjects on IRIX?
SOM is a wonder but Porter .... it's a huge undertaking and Irix is the best of the crappy Unix desktops, so maybe you are barking up the wrong tree ?
I've got a reasonable implementation of sc, som, somtc, somir, somd, somdd, regimpl, somdserv going. It's OpenDoc and WorkPlaceShell that are taking the time
. I'll package what I've done up (source code package) so people can have a play.
As some proof...
Code:
bash-2.05b$ uname -a
IRIX indy 6.5 10070055 IP22
bash-2.05b$ ldd ./somdd
libsomd.so.2 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomd.so.2
libsomdcomm.so.0 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomdcomm.so.0
librhbcdr.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/librhbcdr.so.1
libsomu.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomu.so.1
libsomir.so.2 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomir.so.2
libsomestrm.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomestrm.so.1
libsomtc.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomtc.so.1
libsomref.so.70 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomref.so.70
libsom.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsom.so.1
librhbmtut.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/librhbmtut.so.1
libpthread.so => /usr/lib32/libpthread.so
libc.so.1 => /usr/lib32/libc.so.1
libsomcorba.so.0 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomcorba.so.0
libsomany.so.0 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomany.so.0
libsomabs1.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomabs1.so.1
libsomnmf.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomnmf.so.1
libsomos.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomos.so.1
libsomu2.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomu2.so.1
bash-2.05b$ ./irdump ::Repository
An instance of Repository at address 1000f110
InterfaceDef "::Repository"
id: ::Repository
9 modifiers:
file = repostry.idl
line = 22
releaseorder = lookup_id,lookup_modifier,release_cache,saveIR,_get_subrepositorylist,_set_subrepositorylist,queryException
callstyle = idl
majorversion = 2
minorversion = 1
filestem = repostry
dllname = somir.dll
metaclass = M_Repository
contains 7 items:
TypeDef "::Repository::RepositoryDescription"
id: ::Repository::RepositoryDescription
2 modifiers:
file = repostry.idl
line = 24
type: TypeCodeNew (/*constant*/ tk_struct, "RepositoryDescription", "name", TypeCodeNew (/*constant*/ tk_string, (long)0), "id", TypeCodeNew (/*constant*/ tk_string, (long)0), "defined_in", TypeCodeNew (/*constant*/ tk_string, (long)0), NULL)
TypeDef "::Repository::irOpenErrorCodes"
id: ::Repository::irOpenErrorCodes
2 modifiers:
file = repostry.idl
line = 29
type: TypeCodeNew (/*constant*/ tk_enum, "irOpenErrorCodes", "NOACCESS", "BADMAGICNUMBER", "MISSINGVERSIONINFO", "IOERROR", "VERSIONMISMATCH", "NOWRITEACCESS", "INDEXINCONSISTENT", "INDEXNOTPRESENT", NULL)
ExceptionDef "::Repository::irOpenError"
id: ::Repository::irOpenError
2 modifiers:
file = repostry.idl
line = 30
type: TypeCodeNew (/*constant*/ tk_struct, "irOpenError", "errorCode", TypeCodeNew (/*constant*/ tk_enum, "irOpenErrorCodes", "NOACCESS", "BADMAGICNUMBER", "MISSINGVERSIONINFO", "IOERROR", "VERSIONMISMATCH", "NOWRITEACCESS", "INDEXINCONSISTENT", "INDEXNOTPRESENT", NULL), "fileName", TypeCodeNew (/*constant*/ tk_string, (long)0), NULL)
OperationDef "::Repository::lookup_id"
id: ::Repository::lookup_id
1 modifiers:
line = 31
mode: NORMAL
result: TypeCodeNew (/*constant*/ tk_objref, "::Contained")
contains 1 item:
ParameterDef "::Repository::lookup_id::search_id"
id: ::Repository::lookup_id::search_id
1 modifiers:
line = 31
mode: IN
type: TypeCodeNew (/*constant*/ tk_string, (long)0)
OperationDef "::Repository::lookup_modifier"
id: ::Repository::lookup_modifier
1 modifiers:
line = 32
mode: NORMAL
result: TypeCodeNew (/*constant*/ tk_string, (long)0)
contains 2 items:
ParameterDef "::Repository::lookup_modifier::name"
id: ::Repository::lookup_modifier::name
1 modifiers:
line = 32
mode: IN
type: TypeCodeNew (/*constant*/ tk_string, (long)0)
ParameterDef "::Repository::lookup_modifier::modifier"
id: ::Repository::lookup_modifier::modifier
1 modifiers:
line = 32
mode: IN
type: TypeCodeNew (/*constant*/ tk_string, (long)0)
OperationDef "::Repository::release_cache"
id: ::Repository::release_cache
1 modifiers:
line = 33
mode: NORMAL
result: TypeCodeNew (/*constant*/ tk_void)
OperationDef "::Repository::queryException"
id: ::Repository::queryException
1 modifiers:
line = 34
mode: NORMAL
result: TypeCodeNew (/*constant*/ tk_boolean)
bash-2.05b$ ldd ./docshell
libodshell.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libodshell.so.1
libodutils.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libodutils.so.1
libsom.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsom.so.1
libc.so.1 => /usr/lib32/libc.so.1
libodui.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libodui.so.1
libodlayout.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libodlayout.so.1
libodpubutl.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libodpubutl.so.1
liboddatax.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/liboddatax.so.1
libodstorag.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libodstorag.so.1
libodcore.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libodcore.so.1
libodsomuc.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libodsomuc.so.1
libsomem.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomem.so.1
libX11.so.1 => /usr/lib32/libX11.so.1
libXt.so => /usr/lib32/libXt.so
libodimagng.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libodimagng.so.1
libpthread.so => /usr/lib32/libpthread.so
librhbxtutl.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/librhbxtutl.so.1
libXmu.so => /usr/lib32/libXmu.so
libXext.so => /usr/lib32/libXext.so
libodbindng.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libodbindng.so.1
libsomu.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomu.so.1
libsomref.so.70 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libsomref.so.70
libgen.so => /usr/lib32/libgen.so delay-load
libodregsty.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libodregsty.so.1
libodcm.so.1 => /usr/people/porter/develop/products/mips-sgi-irix6.5/default/lib/libodcm.so.1