Sunday, 2014-04-27

drobillafalktx: "host should use be" ...00:00
falktxerr, meant using00:00
drobillafalktx: I get this message using the show interface00:00
falktxbe using00:00
drobillafalktx: It seems to create a window, but I don't actually see it00:00
drobillamaybe broken size or something00:00
falktxdid you call show->show() ?00:00
drobillayeah, tiling broken.  if I float it, I get a window that's the right size anyway00:01
drobillalet me implement idle, then it should hopefully work00:01
falktxI don't think the window can be shown if idle is not called00:02
drobillaYeah, that's it.00:06
drobillaNow to figure out how to make this horrid mess actually feasible code...00:06
* falktx takes the chance to implement a custom carla option00:07
drobilla(jack session is making this annoying)00:10
drobillaMaybe I'll implement the most half-assed command line interface possible00:13
drobillaUltimately it would be nice to have that for all versions of jalv, but this will do for now00:14
falktxdon't rush it. there's time after lac00:14
drobillaHard to do with idle anyway, so nevermind00:16
drobilla(no threads)00:16
drobillafalktx: http://dev.drobilla.net/changeset/537700:44
drobillafalktx: jalv.console -s00:44
drobillaI need to add a timedwait to my semaphore wrapper, but can't test on other platforms right now, so usleep kludge...00:45
falktxnice00:49
falktxdrobilla: will any example plugin have this?00:50
drobillafalktx: sampler00:50
drobillaHaven't committed, it doesn't do anything on window close yet00:50
drobillaThink I might just not care00:50
falktxso I guess it inits gtk if needed, correct?00:50
drobillafalktx: yeah.  it just calls it, you can call gtk_init many times00:51
drobillathen idle calls gtk_main_iteration00:51
drobillanot sure what the latter will do in an app that already has glib running00:51
drobillaAlso think I might just not care :)00:51
falktxthere should be a way to detect if gtk is already setup00:51
falktxand then only call iteration if not00:52
falktxbut this would break 2nd instances, so better not do it00:52
drobillaAs far as I can tell there isn't00:54
falktxah, we should only call gtk_main_iteration if ui widget was null00:55
drobillaI could make it only return idle if it's actually been shown via show/hide, but I don' tknow how things will tolerate it returning null for extension_data that should be there00:55
drobillaYou can call gtk_main_iteration recursively anyway, it shouldn't actually cause any problems00:55
falktxI need to try and put this in calf00:56
falktxand want that analyzer in carla :)00:56
falktxdrobilla: can we have a option for ui title?00:56
drobillaI guess.00:57
falktxLV2_OPTIONS_INSTANCE, type atom-string, uri ui:title can work00:57
falktxdrobilla: I'm using a custom option to set the parent Id (not embed, but for modal dialog)00:58
falktxnot sure if you think that's useful00:58
drobillafalktx: What kind of ID?00:59
falktxx11 win Id00:59
falktxit makes plugin UIs always show on top of the host00:59
drobillafalktx: Why not just use ui:parent?00:59
falktxcause I can't embed it01:00
falktxie, show/hide stuff01:00
drobillaso?01:00
drobillaoh, it's a feature.  n/m01:00
falktxI don't need embed, don't use it in carla01:00
falktxI'm fine with it being a custom internal thing in carla. it would get messy with x11 vs other Ids anyway01:01
drobillaIf you expect every UI in existence to implement this interface, you'll be waiting forever, but that's your call01:01
drobillaA generic wrapper/lib that will popup an <anything> UI is (still) the best solution01:02
falktxI'm hoping to patch at least calf and ir.lv2 for this01:02
falktxthose are the problematic ones cause they need instance-data01:02
drobilla99999999999999999999999999999999999999 implementations of pop-up-a-window-and-call-main-interface01:03
drobilla50% of them buggy no doubt01:03
drobillaA stupid idea in a sane interface is at least an improvement, though01:04
drobillaMaybe some day I will add a just_show_a_window_somehow() to suil that works in every case, but not now01:06
falktxdrobilla: if/when you make eg-sampler work with this, let me know01:06
drobillafalktx: r91401:08
drobillafalktx: I don't get it though, what UIs does carla currently support before this?  external-ui only?01:09
falktxthe gtk2 ones were only using bridges01:09
falktxso no ir.lv2 and regular calf01:09
drobilla"bridges" being?01:09
falktxan external gtk2 app01:10
drobillaI don't get why you want to patch hundreds of plugins with the same thing instead of just doing that thing in once place01:11
falktxwhat thing?01:12
drobillapop up a (gtk or whatever) window and drive the loop01:12
falktxcarla backend uses no toolkits right now01:13
falktxand I'd like to keep it that way01:13
drobillaWell, it's loading UIs that use toolkits...01:13
falktxUIs will be bridged if possible, in a separate process01:14
drobillaSame idea basically, just lib instead of process, then you only have to do it once and it will work for any gtk/whatever UI01:15
drobillaI guess if it's only for instance-access tings it's not so terrible...01:16
drobillaDoing the same thing in countless places instead of one is about the most objective "terrible software engineering" smell there is, is all01:16
drobillaIt's the kind of thing that makes me have to deal with an Internet full of "LV2 is shiiiiiiiiiiiiiit"01:17
drobillaI dislike this :)_01:17
drobillaBut whatever, I don't have the energy to care enough01:19
drobillaEvery plugin ever having to implementing this fallback is very definitely the wrong solution though01:19
falktxhopefully new plugins will not use instance-access01:20
falktxor 99% of them01:20
drobillaTrue01:21
*** timbyr has quit IRC02:12
*** timbyr has joined #lv202:14
drobillaAlright, well, that's it for me today.  Maybe I can do some packaging tomorrow02:19
drobillaKinda hasty, but I don't thiiiiiiink this stuff can cause too many problems02:19
drobilla</famousLastWords>02:19
falktxbeaten twice by deprecated stuff in calf... :(03:23
falktxfirst, they need ui:makeResident or else I get weird crashes on dlclose03:24
falktxthen the detection of that was failing03:24
falktxit still had ui:requiredFeature!! arrr sigh03:25
falktxit's supposed to be lv2:requiredFeature damn it03:25
falktxpatch here: http://kxstudio.sourceforge.net/Paste/repo/2uWnY03:44
*** falktx has quit IRC04:50
*** edogawa has joined #lv206:45
*** ricardocrudo has joined #lv212:21
*** ricardocrudo has quit IRC12:56
*** ricardocrudo has joined #lv213:33
*** ricardocrudo has quit IRC13:41
*** bgribble has joined #lv214:43
*** bgribble has quit IRC15:05
drobillalast I tried calf was accepting patches, but I'm not up to date16:31
drobillaAlso still uses event.  I need to think about how to deal with that, since something like Calf isn't about to change URIs, but it's teeeeeeeeeechnically not okay to completely change a port type on the same plugin....16:31
*** bgribble has joined #lv217:15
*** rncbc has joined #lv217:24
*** mlpug has joined #lv218:08
*** edogawa_ has joined #lv218:12
*** edogawa has quit IRC18:15
*** falktx has joined #lv218:43
Anchakorapparently some recent change in lv2 svn broke tal noisemaker lv2: http://codepad.org/5Ot9mvQS19:26
drobillaAnchakor: Unlikely.  Sounds like botched builds to me19:31
drobilla"Package manager?  What's that?"19:31
drobillaIf I had a nickel for every time one of those sorts of people just fucked up their own system and tried to blame some code change on it ;)19:31
*** ricardocrudo has joined #lv219:32
drobillaIf it goes away when lv2 is reverted, then maybe, but if nothing was rebuilt in the first place...19:32
AnchakorI told him to rebuild noisemaker19:33
Anchakorbut considering lv2 is pretty ABI stable, that shouldn't be necessary I think19:35
drobillaI need to review the diff, but the only really significant thing that's changed is atom stuff19:36
drobillaand even there not in an ABI breakey way19:36
drobillaBut if something is broken about LV2 I certainly want to know ASAP19:36
*** mlpug has quit IRC19:38
*** rncbc is now known as rncbc|AFK20:04
*** bgribble has quit IRC20:34
*** ricardocrudo has quit IRC21:22
*** edogawa_ has quit IRC22:03
*** rncbc|AFK is now known as rncbc22:49
*** rncbc has quit IRC22:53

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