惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threatpost
博客园 - 叶小钗
T
The Blog of Author Tim Ferriss
Recent Announcements
Recent Announcements
D
DataBreaches.Net
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
罗磊的独立博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
N
Netflix TechBlog - Medium
Microsoft Azure Blog
Microsoft Azure Blog
Microsoft Security Blog
Microsoft Security Blog
B
Blog
U
Unit 42
有赞技术团队
有赞技术团队
博客园 - 聂微东
GbyAI
GbyAI
宝玉的分享
宝玉的分享
F
Full Disclosure
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
MyScale Blog
MyScale Blog
Jina AI
Jina AI
Martin Fowler
Martin Fowler
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
D
Docker
P
Proofpoint News Feed
A
About on SuperTechFans
I
InfoQ
博客园 - 【当耐特】
C
Check Point Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog
T
Threat Research - Cisco Blogs
Y
Y Combinator Blog
Project Zero
Project Zero
WordPress大学
WordPress大学
小众软件
小众软件
AWS News Blog
AWS News Blog
博客园 - 司徒正美
T
The Exploit Database - CXSecurity.com
L
LINUX DO - 热门话题
I
Intezer
Engineering at Meta
Engineering at Meta
C
CXSECURITY Database RSS Feed - CXSecurity.com
J
Java Code Geeks
T
Tenable Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Last Week in AI
Last Week in AI
C
CERT Recently Published Vulnerability Notes

Virtual Reality

Implementing WebXR in WebKit for WPE A New Way to Browse: Eye Tracking Comes to Wolvic! Flexbox Cats (a.k.a fixing images in flexbox) Closing the gap (in flexbox 😇) Automatizing the Grid BlinkOn 3 I'm attending BlinkOn3 Grids everywhere! Adventures in the Grid Improving the editing code in WebKit http://publicsuffix.org support coming to libsoup ReSiStance 0.9.2 released ReSiStance 0.8 with Google Reader support WebKitGtk+ HTTP cache ready! ReSiStance 0.5 released ReSiStance with WebKitGtk inside Vive la ReSiStance! Tinymail 1.0 released The Postman always rings twice Some Modest sir? Sure, with Sugar please Moblin support for Tinymail Dear GMail IMAP server developers Another One Bites the Dust Modest with BODYSTRUCTURE support Speed, speed, speed !!! The beauty of git GCDS day #3 (a.k.a. GUADEC day #2) GCDS day #2 (a.k.a. GUADEC day #1) Igalia' new office party Modest @ FreeNode Modest Reloaded Back from GUADEC Get in touch Modest released! JHBuild and SVN problem Our little babies Igalia in the news Be Modest my friend Our dreams came true I want my GConf notifications Faster is better They're coming, don't let them go Dancing with mailboxes Drag and drop with sorted tree models (2) Drag and drop with sorted tree models Not so tiny ChangeLog Turn a GtkMenuBar into a GtkMenu Not so tiny(mail) Ekiga builds 😀 The 3.60 happiness movement GNOME 2.16 is dead. Long live GNOME 2.18 Lightweight apps Bye bye, Pluto Back to home/work/sound The real (virtual?) telepathy Mozilla Thunderbird 1 Evolution 0 What is a galago? Very special numbers Again with some DBUS stuff
Gedit hacking; porting gedit to use D-BUS
svillar · 2006-01-27 · via Virtual Reality

Iago had a talk with Paolo Borelli this afternoon while I was rebuilding some Gnome 2.14 components. This is a little extract of the talk:

<pbor> there are other hacks that can be done though  :)
<iago> I hope so
<iago>  :)
<iago> sergio told me
<iago> something about dbus
<pbor> yeah
<iago> that would be interesting
<pbor> we would like to try to use dbus instead of bacon-message-connection
<pbor> something like evince and epiphany do
<iago> cool
<sergio> eo
<iago> is that a high priority task?
<sergio> I lost connection  :(
<pbor> enforcing just one instance of gedit using dbus and the second time gedit is launched use dbus to pass the list of args to the running

So, while pbor was away (he had to pick somebody I began taking a look at the D-BUS tutorial and the evince source. The D-BUS tutorial can be found here

I finally talked with Paolo for a time, nice guy this Paolo

<pbor> sergio: yup... pretty much what we talked about the last time
<pbor> sergio: I know little about dbus to be honest, but it should be the usual deal
<pbor> sergio: register a connection (or whatever it is called in the dbus jargon) at startup...
<sergio> pbor: I know a little too, but I want to learn
<pbor> other instances check if the connection is there and if it's there they send a message through the bus
<pbor> usual rpc stuff
<sergio> yes
<pbor> the arguments passed to the following instances should be marshalled through the bus
<sergio> so you want dbus to share the gedit parameters of the first instance of the program with the other instances?
<pbor> no
<pbor> I mean
<pbor> first time gedit is launched it starts up the connection
<pbor> if then I run `gedit foo.c` on the command line
<pbor> gedit should connect through dbus to the running instance
<pbor> and pass it the argument 'foo.c'
<pbor> along with the command 'open'
<pbor> or something like that
<sergio> ok I understand
<pbor> it would be really neat if this could be wrapped up in a class/gobject
<pbor> but I am not sure if it is possible
<sergio> neither do I
<sergio> I'll take a look deeply
<pbor> great
<pbor> take the time you need
<pbor> I am not sure it's worth switching for 2.14, bacon-message-connection works well enough for now
<sergio> ok
<pbor> long term it makes sense to use dbus