From: Gerhard Sittig Date: Sun, 13 May 2018 06:59:02 +0000 (+0200) Subject: session: add support to auto detect input format (for init file) X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=d7168e582c71ebcc359b12efed83daa2a6b6f28e;hp=d7168e582c71ebcc359b12efed83daa2a6b6f28e session: add support to auto detect input format (for init file) Extend the Session::load_init_file() method, to have the input format automatically detected in the absence of an -I spec upon startup. This fixes part of bug 1015. Input files specified at the command line when pulseview gets invoked are handled. Files that interactively get loaded while pulseview is running are not handled yet. ---