[Geany-devel] Replacing the control socket with dbus

Yura Siamashka yurand2 at xxxxx
Sat Dec 31 19:37:55 UTC 2011


Will Geany be able to run without dbus after this change?

Best regards,
Yury Siamashka

On 31/12/2011, Arthur Skowronek <arthur.s at redsmile.org> wrote:
> Hi,
> http://memegenerator.net/cache/instances/400x/12/12436/12734680.jpg
> with this little stupid meme I would like to start a discussion about
> replacing the current control socket living "somewhere" in the
> "~/.config/geany" directory space with implementing GApplication from
> recent GLib versions.
> As it looks to me the current tasks of the control socket are:
>  * ensure some basic uniqueness (open files via the geany command
>    in an already running instance)
>  * provide ability to perform basic operations on a running Geany
>    instance like
>      - opening files
>      - go to a certain position in the file.
>      - obtain a list of documents opened in the current instance
> These tasks can be accomplished with GApplication too. On top of that we
> would get rid of:
>  * cluttering the filesystem with sockets
>  * possibility of a dead lock in the doclist command
>  * general freeze while a client is connected to the socket.
> The downside would be that the required version for GLib would be pushed
> to 2.28 and this version is not available on the stable branch for all
> distributions.
> My suggestion therefore is to put this at least on the Todo list and
> replace it with the planned feature to use dbus.
> On top of that I would offer my free time to work on this topic as soon
> as all requirements are met, if appreciated.
> Greetings and a happy new year,
> Arthur S.
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

More information about the Devel mailing list