gobject-introspection r396 - in trunk: . docs



Author: johan
Date: Mon Aug 18 14:19:56 2008
New Revision: 396
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=396&view=rev

Log:
2008-08-18  Johan Dahlin  <johan gnome org>

    * docs/global-module-registry.txt: Update



Modified:
   trunk/ChangeLog
   trunk/docs/global-module-registry.txt

Modified: trunk/docs/global-module-registry.txt
==============================================================================
--- trunk/docs/global-module-registry.txt	(original)
+++ trunk/docs/global-module-registry.txt	Mon Aug 18 14:19:56 2008
@@ -15,14 +15,25 @@
 Layout of the on disk tool
 ==========================
 
-Location to should be /var/lib/glib/introspection-registry.db
+Location to should be /var/lib/glib/introspection-registry.xml
+Should be read completely. Not expected to be larger than one page on most
+systems.
+
+Layout in XML:
+
+<root>
+  <registry-path location="/usr/lib/typelibs/1.0/">
+  <registry-path location="$HOME/.typelibs/">
+  <entry namespace="Gtk" 
+         library-location="libgtk-x11-2.0.so.0"
+         typelib-location="gtk.typelib"/>
+</root>
 
-root { 
-  'Gtk': (path, version),
-}
+FIXME: version?
+FIXME: pkg-config name?
 
-The format should be mmap(2):able, changes should only affect new processes. 
-Existing ones should keep on using the old registry. The overhead must be minimal.
+The overhead should be reduced to a minimum, both runtime and memory footprint.
+Thus a binary format that is mmap(2):able is ideal:
 
 gir-registry-tool
 ================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]