[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] [TLATOR] Status report
From: |
Samium Gromoff |
Subject: |
[Gnu-arch-users] [TLATOR] Status report |
Date: |
Tue, 09 Dec 2003 12:48:54 +0300 |
User-agent: |
Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI) |
Whew.
Ok, so tlator`s approaching to the state when about everything
lost in prevous two major rewrites is back.
Now i feel that i`ve made a good effort in simplifying adding
features (read tree-based dialogs) into tlator.
And the appearance itself becomes more general: note the
"browse" button on the bar which appears when you click on
browseable objects -- namely revisions, srctrees and
various undos/inventories/changes.
About stuff which makes it possible:
Over time i`ve split the tlator functionality on three parts:
1. libnspace -- a generic namespace/type/method/action/object system
- namespaces have type tables
- types have generic methods and specific actions
- methods may have either no impementation, a generic one or a
type-specific one
- every object (NSPACE_TREE_NODE) references a type
- convenient tree walking (tree_for_each, tree_for_childs,
tree_for_lead)
- generic table handling (table_def, table_for_each)
2. libnsui -- a generic namespace visualisation mechanism
provides facilities for convenient visualisation of namespaces,
and also a place where the generic convenience stuff hides:
- one component per namespace viewing session
- the component action bar (the buttons on the below) is just
a set of actions defined for the selected object`s type.
3. libnspace -- a realisation of an arch gui using libnsui
that`s where the dialogs/tla wrappers/logic hide.
features:
- dding namespaces/types is fairly simple:
It`s a matter of defining the type, and editing the
namespace description file, which gets compiled into
a large .c file which basically fills the tables.
Also you need to provide methods which you have
choosed to have type-specific implementation.
- fairly good effort have been put into function namespace
cleanlines issue: almost everything is prefixed with
either nspace_, nsui_ or tlator_.
i may have forgotten something, but otherwise its a fairly
complete tlator architecture overview.
regards, Samium Gromoff
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnu-arch-users] [TLATOR] Status report,
Samium Gromoff <=