Ticket #19 (closed defect: fixed)

Opened 3 years ago

Last modified 18 months ago

GfConnections need to be loaded dynamically...

Reported by: grim Owned by: grim
Priority: blocker Milestone: Usable
Component: gflib Version:
Keywords: Cc:

Description

As it stands right now, to use any GfConnection, you need to link against the connection's library at compile time. Ideally, what I'd like to move to, is something like a connection pool, that tracks all of the currently available connections, and can create an instance for you and so on. This way, we can allow applications to just query for a specific connection, or just fallback to one that should always work. Thusly avoiding the mess of relinking, or linking to multiple libraries and so on.

This should all be handled in gflib and the connection libraries will have a bit of api to make this all possible. The connection libraries should install themselves into something like $PREFIX/lib/guifications/connections and the rest will be taken care of in gflib.

I have yet to determine if we should do this via gflib-plugin. But we can decide that when we look at this in more detail.

Change History

Changed 3 years ago by grim

  • due_assign set to 05/01/2006
  • include_gantt set to 1
  • due_close set to 05/31/2006

Changed 3 years ago by grim

gflib plugin has been moved to gflib.

Changed 3 years ago by grim

gf-query-plugins has been created as a frontend to query plugins, like from configure scripts and so on.

Changed 3 years ago by grim

  • type changed from enhancement to defect

Changed 2 years ago by anonymous

  • milestone set to Usable

Changed 2 years ago by grim

A connection pool will be created, that when initialized, queries through the plugin manager looking for plugins that implement connections and adding their connection types to the pool.

We will NOT be adding subdirectories to the plugins directory at this time!

Changed 2 years ago by grim

(In [1709]) Fixed some possible segfaults We now clear the hash tables when refreshing..

refs #19.

Changed 2 years ago by grim

(In [1710]) Adding some more "API"...

refs #19.

Changed 2 years ago by grim

(In [1711]) Add the correct API since me head isn't completely working right now...

Refs #19

Changed 2 years ago by grim

  • priority changed from major to blocker

Changed 2 years ago by grim

(In [1721]) Adding a new interface, GfPluginLoader? for loading plugins.

I still need to move the native plugins to implementing this interface, and determine if GfPlugin? is going to be concrete or not, but we'll see...

refs #19.

Changed 2 years ago by grim

  • owner changed from somebody to grim
  • status changed from new to assigned

This now depends on #39

Changed 18 months ago by grim

  • status changed from assigned to closed
  • resolution set to fixed

This appears to be working for the most part...

Note: See TracTickets for help on using tickets.