[omniORB] New things in omni3_develop branch
Duncan Grisby
dgrisby@uk.research.att.com
Wed, 30 Aug 2000 17:14:12 +0100
I have checked a few small things in to the omni3_develop branch which
people might find useful. They'll appear in tomorrow's FTP snapshots
too.
The first is a new OMNIORB_PRINCIPAL environment variable which sets
the principal field of IIOP requests. This means that you can talk to
the ORBit servers in Gnome, which use the field as an authentication
mechanism. If you do "xprop -root GNOME_SESSION_CORBA_COOKIE" within a
Gnome session, you'll see the unpleasant string which you need to put
in the environment variable. Make sure you use suitable quoting for
your shell. I have no idea what this will allow you to do, but it was
an easy hack...
The other things are changes to omniidl, which only affect people
writing back-ends:
- The repository id things I threatened last week. Operations and
attributes now have repository ids. The idlast.Attribute node has
a new declarators() function which returns the attribute
declarators. Pragmas and comments which used to be attached to the
Attribute node are now attached to the individual Declarator
objects.
- A new omniidl.idlutil.relativeScope() function which figures out a
minimal scoped name for one scoped name relative to another.
- A new -i command line argument which drops into the Python
interactive loop after running the front-end (and any back-ends
specified). This means you can interactively poke around in the
parse tree.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --