Diff
Differences From Artifact [cdf7ab2169]:
- File pluginconf.py — part of check-in [730e6dc9f1] at 2016-11-09 15:15:06 on branch trunk — Strip carriage return from plugin meta block, which causes field reading to fail on Windows. And use `empty_pixbuf` as fallback for uikit.pixbuf() in case the content isn't valid base64 still. (user: mario, size: 17928) [annotate] [blame] [check-ins using]
To Artifact [cb1a943cc7]:
- File pluginconf.py — part of check-in [0d662ebc39] at 2016-11-13 22:38:37 on branch trunk — Filter "status: obsolete" plugins. (user: mario, size: 18009) [annotate] [blame] [check-ins using]
419 420 421 422 423 424 425 426 427 428 429 430 431 432 | 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 | + + | # exclude installed & same-version plugins) def valid(self, newpl): id = newpl.get("$name", "__invalid") have_ver = self.have.get(id, {}).get("version", "0") if id.find("__") == 0: pass elif newpl.get("api") not in ("python", "streamtuner2"): pass elif newpl.get("status") not in ("obsolete", "broken"): pass elif have_ver >= newpl.get("version", "0.0"): pass else: return True # Split trivial "pkg, mod >= 1, uikit < 4.0" list |