/srv/irclogs.ubuntu.com/2011/11/24/#ayatana.txt

kamstrupmhr3: that crash you pointed out in the tree-index branch is nasty...08:25
mhr3kamstrup, which one?08:26
mhr3clear or the other one?08:26
kamstrupthe priv->reader_* being unset one08:26
mhr3ah08:26
kamstrupthe only way I can find to fix it is to include the reader fields in a gobject property08:26
mhr3yea, i immediately didn't like the constructor after seeing the magic after g_object_new08:26
kamstrupand I don't want 3 props because that'll introduce all sorts of odd corner casesw08:27
kamstrupso ideally one prop08:27
mhr3right, so make a construct (write only) gobject property and use set_data on it08:27
kamstrupbut I don't want to have a public struct to hold that data either08:27
kamstrupsetdata() - how'd you mean?08:28
kamstrupI was thinking just a construct only prop, that we hide in GI08:28
mhr3standard g_object_set_data08:28
kamstrupset with what data?08:28
kamstrup:-)08:28
mhr3and use it to hide the three props08:28
mhr3or well... pass along08:29
kamstrupsorry, I don't how that can work08:29
mhr3ok, here we go08:29
kamstrupwe can't call set_data() until after we have the object instantiated and construct() called08:29
mhr3..index_new { var dummy = object_new(G_TYPE_OBJECT); dummy.set_data("reader-...", ...); ...; var index = object_new(TYPE_TREE_INDEX, "dummy", dummy, ...);  }08:30
mhr3i could have used enter :)08:31
kamstrupah - you want to call set_data() on the *model* :-)08:31
mhr3no, no, just some dummy08:31
mhr3but model could work as well, actually08:31
kamstrupah08:31
kamstrupI'd just go with a gpointer[3]...08:32
mhr3also a way08:32
kamstrupugly no matter what :-)08:32
mhr3right :)08:32
mhr3kamstrup, but making it a real prop would ease subclassing08:33
kamstrupmhr3: yeah, that's a good point08:34
kamstrupmhr3: since I have a DeeScanIndex lined up already08:34
mhr3and HashIndex has the same problem i guess08:34
kamstrupindeed08:34
mhr3kamstrup, btw i think the *_reader methods will need (skip) annotation, they won't be usable from python nor vala08:50
kamstrupI think I already tested them working in Python08:51
mhr3no way08:51
mhr3how did you pass the column in?08:51
kamstrupmhr3: but I think I'll refactor that part anyway08:51
kamstrupmhr3: just 0 I believe08:52
kamstrupprobably working by chance because it's 32 bit...08:52
=== MacSlow is now known as MacSlow|lunch
=== nuthinking_ is now known as nuthinking
=== yofel_ is now known as yofel
davidcallekamstrup, mhr3 ping13:56
mhr3hey davidcalle13:57
davidcallemhr3, when is libunity API supposed to break?13:57
mhr3when we're done with all the changes, we dont want multiple breaks13:58
davidcalleOk13:59
=== MacSlow|lunch is now known as MacSlow
kamstrupdavidcalle: yeah, stuff is slowly starting to trickle into bzr as we speak14:22
kamstrupbut as mhr3 said we aim for *one* break early in the cycle14:23
kamstrupand it'll only be a small break, so I don't expect any major refactoring needed14:23
mhr3hmmm14:23
mhr3:)14:23
davidcallekamstrup, mhr3, I'm ok with refactoring as long as it means features :)14:24
kamstrupdavidcalle: there will be features, faster methods, and an API designed to minimize the number of potential client side bugs14:25
mhr3kamstrup, while we're at that do you any way to do the filtering/sorting of results from multiple scopes14:25
kamstrupso I hope you'll love it :-)14:25
mhr3kamstrup, davidcalle can explain, although i think you've talked about it14:26
kamstrupmhr3: njpatel did all that, and I never really looked at it :-)14:26
davidcallekamstrup, I'm sure I will.14:27
davidcallekamstrup, I'm looking for a way to sort results from multiple scopes. I was thinking of something like mutliple scopes talking to the same dee model, and dee doing the sorting.14:28
davidcalleUse case being : someone wants to add a scope to the file lens (like a new datasource for games) and want the results to integrate nicely the existing game results.14:29
Andy80hi all14:30
davidcallethe application lens*14:30
kamstrupdavidcalle: right - there are a few subtleties here14:30
kamstrupdavidcalle: I think it is very important that the results view don't "jump around" as slower results trickle in14:30
kamstrupof course, the one doing the merging could be clever enough to avoid that14:31
davidcallekamstrup, I used to think the same thing, but I'm not so sure.14:31
kamstruphehe, I am :-)14:32
kamstrupok, there may be lenses that are special in this regard14:32
kamstrupbut lenses like files and apps can not have that behaviour imho14:32
davidcallekamstrup, I mean, either we have non-sorted results from multiple sources, either we have slow results from multiple sources.14:33
kamstrupfx a "Quake3 game servers lens" that lists servers sorted according to some clever combination of latency and #users ... :-)14:33
kamstrupSo I guess the problems start when you want to merge results from a scope into an already populated category in the lens14:34
davidcallekamstrup, indeed. With scopes with different latency. I have stuff appearing at top or bottom in an unreliable way.14:40
davidcallebtw, there is a bug I need to file: In a category : results from scope A appear, results from scope B appear, results from scope A jump after results from B.14:44
davidcalleBut I believe it's related, somehow, to the way Unity loads icons. If I disable online thumbnail fetching for scope A, it doesn't happen.14:45
Andy80anyone of you can tell me which one is the right XChat branch in Launchpad? There are many... I've prepared a very small fix and I don't know which one to branch from and which one to push into... I tried yesterday but probably I pushed to the wrong one and I got a lot of diff errors. Please note that my "fix" is only related to Ubuntu and must not be included in the upstream version of it. Thanks15:04
Andy80and another question: which one is the preferred "mono" font to use in Ubuntu: "Ubuntu Mono" or "Monospace" ? thanks15:16
davidcalleAndy80, Ubuntu Mono is now default in Gnome Terminal.15:32
Andy80davidcalle: my intention was modifing XChat to have the same font as default, to maintain the same UI experience, and I already modified the proper file... but now I've found another branch that already has "Monospace 9" as default font.... so I don't know what to do exactly :)15:36
davidcalleAndy80, you could ask Sladen in #ubuntu-design , he is the one dealing with the Ubuntu font integration.15:39
Andy80davidcalle: ok, I ask him, thank you :)15:40
davidcalleAndy80, yw :)15:40
=== davidcalle_ is now known as davidcalle
APIdbarth, one question, is lamalex on holidays?17:15
APIbtw, hi17:15
API;)17:15
gemaAPI: Thanksgiving in the US, I'd say lamalex is probably off today :)17:53
APIgema, well also asking because I was looking lamalex some days ago17:56
APIbut it is true that today is a bad day17:56
APIto look after him ;)17:56
APIgema, thanks, I forgot that USA turkey-related party ;)17:57
gemaAPI: yep, almost time for turkey here in the uk too!17:57
gemaAPI: where are you from out of curiosity?17:59
APIgema, Spain, I didn't know about that uk Thanksgiving, I thought that it was just USA and Canada celebration18:05
gemaAPI: I meant Christmas , we don't do thanksgiving, I am also from Spain, encantada :D18:05
APIgema, ah ok18:06
=== JanC_ is now known as JanC
=== seiflotfy is now known as HuNannyYumYum
=== HuNannyYumYum is now known as seiflotfy

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!