about summary refs log tree commit diff stats
path: root/Makefile.am
Commit message (Expand)AuthorAgeFilesLines
* db: add database unit test stubMichael Vetter2020-04-061-0/+1
* Start SQLite db moduleMichael Vetter2020-04-061-1/+3
* xep-0084: add test stub fileMichael Vetter2019-12-181-0/+1
* Start implementing XEP-0084Michael Vetter2019-12-181-0/+1
* Adjust tray configure switch to also include clipboardMichael Vetter2019-10-291-0/+2
* Add color files to unittest sourcesMichael Vetter2019-08-231-0/+1
* Add 256 colors supportAurelien Aptel2019-08-231-0/+1
* Add prof_message_t to wrap all message attributesPaul Fariello2019-06-201-0/+1
* Create seperate function for disconnect cleanupMichael Vetter2019-05-191-0/+2
* Update profanity repo URLMichael Vetter2019-05-031-2/+2
* Add library versioning to libprofanityMichael Vetter2019-04-181-1/+1
* Add required OMEMO stub for unit-testPaul Fariello2019-04-101-0/+4
* Add signal store backend and OMEMO start commandPaul Fariello2019-04-101-1/+2
* Add devicelist subscriptionPaul Fariello2019-04-101-1/+2
* Add crypto backend for signal-protocolPaul Fariello2019-04-081-1/+2
* Link against libsignal-protocol-cPaul Fariello2019-04-081-0/+8
* autotools: fix `make dist` commandDmitry Podgorny2019-03-041-2/+15
* autotools: make VPATH builds workDmitry Podgorny2018-10-311-3/+5
* tests: remove cflag -w and fix warningsDmitry Podgorny2018-10-311-1/+0
* Merge pull request #991 from paulfariello/feature/xep-0050Michael Vetter2018-09-271-1/+1
|\
| * Rename mucconf wins into conf winsPaul Fariello2018-09-051-1/+1
* | Remove p_sha1 source filesMichael Vetter2018-09-051-2/+0
|/
* Disable functional testsMichael Vetter2018-08-301-9/+15
* Include CHANGELOG and README.md in packageJames Booth2017-02-071-1/+1
* Add stub_ui.h to Makefile.amJames Booth2016-10-021-1/+1
* Allow vertical positioning of all windowsJames Booth2016-09-231-0/+1
* Release 0.5.0James Booth2016-09-151-1/+1
* Use hashtables for plugin disco featuresJames Booth2016-08-171-0/+1
* Add config/files.cJames Booth2016-07-241-0/+2
* Moved window_list.cJames Booth2016-07-241-2/+2
* Moved tray.cJames Booth2016-07-241-2/+2
* Moved roster_list.cJames Booth2016-07-241-2/+2
* Moved resource.cJames Booth2016-07-241-2/+2
* Moved muc.cJames Booth2016-07-241-2/+2
* Moved jid.cJames Booth2016-07-241-2/+2
* Moved contact.cJames Booth2016-07-241-2/+2
* Moved chat_state.cJames Booth2016-07-241-2/+2
* Moved chat_session.cJames Booth2016-07-241-4/+4
* Free plugins commands on quitJames Booth2016-07-041-0/+1
* Move /statuses options to /presence commandJames Booth2016-05-311-1/+1
* Rename command sourcesJames Booth2016-05-221-6/+6
* Add cmd_autocomplete.cJames Booth2016-05-201-0/+2
* Add session.cJames Booth2016-05-051-0/+1
* Renamed connection.c -> session.cJames Booth2016-05-051-2/+2
* Add /blocked commandJames Booth2016-05-011-0/+1
* Plugins: Added prof_disco_add_feature()James Booth2016-04-301-0/+2
* Implement XEP-0363: HTTP File UploadDominik Heidler2016-04-261-0/+3
* Merge remote-tracking branch 'Dav1d23/master'James Booth2016-04-111-2/+8
|\
| * fix testsDavid2016-03-131-0/+1
| * Merge branch 'tray_icon' into HEADDavid2016-03-121-2/+7
| |\
s="o">.path.exists(colorscheme + '.py') def is_scheme(x): return isclass(x) and issubclass(x, ColorScheme) # create ~/.ranger/colorschemes/__init__.py if it doesn't exist if os.path.exists(ranger.relpath_conf('colorschemes')): initpy = ranger.relpath_conf('colorschemes', '__init__.py') if not os.path.exists(initpy): open(initpy, 'a').close() if exists(ranger.relpath_conf('colorschemes', scheme_name)): scheme_supermodule = 'colorschemes' elif exists(ranger.relpath('colorschemes', scheme_name)): scheme_supermodule = 'ranger.colorschemes' else: scheme_supermodule = None # found no matching file. if scheme_supermodule is None: print("ERROR: colorscheme not found, fall back to builtin scheme") if ranger.arg.debug: raise Exception("Cannot locate colorscheme!") settings.colorscheme = ColorScheme() else: scheme_module = getattr(__import__(scheme_supermodule, globals(), locals(), [scheme_name], 0), scheme_name) assert ismodule(scheme_module) if hasattr(scheme_module, 'Scheme') \ and is_scheme(scheme_module.Scheme): settings.colorscheme = scheme_module.Scheme() else: for name, var in scheme_module.__dict__.items(): if var != ColorScheme and is_scheme(var): settings.colorscheme = var() break else: raise Exception("The module contains no " \ "valid colorscheme!") try: import apps except ImportError: from ranger.defaults import apps settings.apps = apps try: import keys except ImportError: from ranger.defaults import keys settings.keys = keys SettingsAware.settings = settings def check_option_types(opt): import inspect for name, typ in ALLOWED_SETTINGS.items(): optvalue = getattr(opt, name) if inspect.isfunction(typ): assert typ(optvalue), \ "The option `" + name + "' has an incorrect type!" else: assert isinstance(optvalue, typ), \ "The option `" + name + "' has an incorrect type!"\ " Got " + str(type(optvalue)) + ", expected " + str(typ) + "!" return True