Monday, 2017-10-23

*** Yruama_Lairba has quit IRC01:39
*** drobilla has quit IRC02:31
*** NickSB2 has quit IRC02:33
*** diqidoq has joined #lv203:47
*** diqidoq_ has quit IRC03:50
*** NickSB has quit IRC04:46
*** NickSB has joined #lv205:03
*** drobilla has joined #lv205:29
*** drobilla has quit IRC05:35
*** rncbc has joined #lv206:00
*** drobilla has joined #lv206:31
*** drobilla has quit IRC06:37
*** drobilla has joined #lv207:33
*** drobilla has quit IRC07:38
*** NickSB2 has joined #lv207:40
*** sigma6 has quit IRC08:46
*** drobilla has joined #lv209:31
*** yann-kaelig has joined #lv209:57
*** sigma6 has joined #lv210:11
*** diqidoq has quit IRC10:22
*** edo_pc has joined #lv211:12
*** arguy has joined #lv211:50
*** artfwo has joined #lv212:06
*** drobilla has quit IRC12:09
*** NickSB2 has quit IRC13:38
*** diqidoq has joined #lv213:45
*** drobilla has joined #lv214:05
*** drobilla has quit IRC14:11
*** dsheeler has quit IRC14:25
*** diqidoq is now known as diqidoq_afk14:31
*** Yruama_Lairba has joined #lv214:44
*** diqidoq_afk is now known as diqidoq14:49
*** ssj71 has joined #lv214:56
*** drobilla has joined #lv215:08
*** drobilla has quit IRC15:13
*** deva has joined #lv215:18
*** ssj71 has quit IRC15:23
*** dsheeler has joined #lv215:38
*** drobilla has joined #lv216:10
*** drobilla has quit IRC16:15
*** sigma6 has quit IRC16:25
*** gabrbedd has joined #lv217:03
*** drobilla has joined #lv217:11
*** drobilla has quit IRC17:16
*** edo_pc_ has joined #lv218:16
*** edo_pc has quit IRC18:19
*** drobilla has joined #lv218:41
*** NickSB__ has joined #lv218:55
*** NickSB has quit IRC18:56
*** diqidoq has quit IRC19:57
*** NickSB2 has joined #lv220:08
*** m4l3z has joined #lv220:23
raphaal1question about lilv: is there a way to check if PluginClass is a subclass of other PluginClass?20:26
drobillaThere's not a convenience function to do specifically that.  Probably the easiest way with the current API would be to walk up from the child with lilv_plugin_class_get_parent_uri and see if you reach it20:34
raphaal1ok20:35
drobillalilv_plugin_is_a would be handy.  oh well20:36
*** deva has quit IRC20:47
raphaal1there's no lilv_plugin_is a, only lilv_port_is_a and lilv_ui_is_a20:56
raphaal1so20:56
raphaal1easiest way is to map plugin uri to int20:56
raphaal1and create something like map<int, list<int>> where key is plugin class, and value subclasses20:57
*** yann-kaelig has quit IRC20:58
drobillaI'd probably just literally write a function that works as I described.  A cache that slow isn't likely to be much better anyway21:19
drobillaThough if you want to build one for this, unordered_map<string, unordered_map<string>> would be much better21:19
drobillaNote that some classes have more than one superclass, though, it's not a strict single-parent hierarchy21:21
drobilla(Probably don't have to care in practice, just saying)21:21
drobillaI could just add such a function if you're not in a rush, but I wouldn't get around to it for a while21:24
rgareusdrobilla: doesn't ingen already do that? IIRC plugin by category is a n-level deep menu21:30
drobillargareus: Sure21:31
drobillargareus: It builds the whole menu, though, so there's no transitive "is this a subclass of some other class" involved there21:32
drobilla(I do have code for that, but not based on lilv.  IIRC Ingen and sord_validate do this)21:33
drobillaIf I ever get around to cleanup up and unifying the guts of s*rd and reshaping lilv to expose them directly, everything can use the same nodes and all the smart can be used wherever...21:34
rgareusdrobilla: btw, I'm using a script to copy relevant files from your lad repos into a single tree for easy use. meanwhile public at  https://github.com/x42/lv2vst21:37
drobillargareus: blech, but fair enough :)21:37
drobillaI should probably just release all the things and do the grand LV2 unification in the dumbest possible way already21:37
rgareusit's practical to have everything (incl pthread) ready for static linking in one dir.21:38
rgareusand rsync it on release21:39
*** rncbc has quit IRC21:40
rgareusi'd very much prefer a nice solution from upstream,  but I understand it's not easy to provide that in a maintainable way21:40
drobillaIt'd make my life easier if anything, though serd and sord wouldn't go in LV221:40
drobilla... and not pthreads, clearly :)21:40
rgareusdrobilla: I've pondered a script that just git pulls all of your repos, then includes dependencies needed for x-platform builds and just rolls a tar.gz21:43
rgareusbut I stopped halfway, opting for the semi-automatic rsync.21:43
drobillargareus: What dependencies?21:43
rgareuspthread for example21:44
rgareusworker thread needs it21:44
rgareusexcept maybe not.. one could use native windows threads I suppose21:44
drobillaI don't even understand the concept of pthread as a dependency21:44
drobillaIsn't that baked into libc?21:45
rgareusno21:45
drobillaand my libs certainly don't require pthreads on windows unless I'm really missing something21:45
rgareuswell, not in mingw's libc at least, cygwin provides pthread21:45
rgareusdrobilla: you're right21:45
drobilla(i.e. unification would be good but this doesn't seem all that generally useful)21:46
drobilla(wouldn't actual widespread support for C11 be nice?)21:47
*** edo_pc_ has quit IRC22:12
*** tytel has joined #lv222:23
*** m4l3z has quit IRC22:23
*** drobilla has quit IRC22:49
*** drobilla has joined #lv223:00
*** dsheeler has quit IRC23:02
*** drobilla` has joined #lv223:20
*** drobilla has quit IRC23:23
*** tytel has quit IRC23:59
*** tytel has joined #lv223:59

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