about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1011 from jubalh/sha1Michael Vetter2018-09-1910-530/+21
|\ | | | | Get rid of p_sha1 dependency
| * Require libmesode/libstrophe >= 0.9.2Michael Vetter2018-09-131-3/+3
| | | | | | | | The sha1 function `xmpp_sha1_digest()` from libmesode/libstrophe, that we now use instead of `p_sha1_hash() which depended on another third party sha1 lib is only avilable in version >= 0.9.2.
| * Move p_sha1_hash() to stanza.cMichael Vetter2018-09-066-90/+18
| | | | | | | | | | | | | | | | | | | | | | | | Move `p_sha1_hash()` from `common.c` to `xmpp/stanza.c` as it is only used in this file and now depends on libstrophe so xmpp is a better namespace folder. Renaming it as `_stanza_create_sha1_hash()`. And making static since only used here. The function cannot be tested in the unit tests anymore. Once functional tests are working again we should write a test for the sha1 functionality.
| * Remove p_sha1 source filesMichael Vetter2018-09-053-436/+0
| | | | | | | | And delete from Makefile.am
| * Use libstrophe sha1 functionsMichael Vetter2018-09-051-10/+9
| | | | | | | | | | | | | | Using libstrophes sha1 functions in p_sha1_hash() to get rid of the p_sha1.c dependency. Relates to https://github.com/boothj5/profanity/issues/882
* | Merge pull request #1012 from pasis/extended_plugin_handlingMichael Vetter2018-09-068-36/+147
|\ \ | | | | | | Extended plugin handling
| * | configure.ac: add proper check for gio-2.0Dmitry Podgorny2018-09-061-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | PR #999 adds call of g_object_unref() which requires libgobject-2.0. The library is dependency of gio-2.0 and the problem is that current configure.ac simply adds -lgio-2.0 without dependencies. As fix, use pkg-config module.
| * | Fix extended plugin handling PRPhilip Flohr2018-09-063-19/+25
| | | | | | | | | | | | Fixes problems found in PR #999
| * | implemented plugin updatesPhilip Flohr2018-09-063-0/+63
| | |
| * | added the possibility to uninstall a pluginPhilip Flohr2018-09-065-0/+39
| | |
| * | use gio functions for file copyPhilip Flohr2018-09-063-23/+17
| | |
| * | removed unreachable code: if plugin is loaded it is also installed and ↵Philip Flohr2018-09-061-5/+0
| | | | | | | | | | | | therefore installation will fail. -> The unload code is not needed
| * | provide feedback on failure cause if plugin installation failsPhilip Flohr2018-09-063-6/+10
| | |
| * | Fail plugin installation if the target file already existsPhilip Flohr2018-09-061-0/+6
|/ /
* / Fix command 'group' descriptionMichael Vetter2018-09-051-1/+1
|/
* Merge pull request #1010 from jubalh/uuidMichael Vetter2018-08-3012-82/+83
|\ | | | | Use uuid in create_unique_id instead of counter
| * Disable functional testsMichael Vetter2018-08-301-9/+15
| | | | | | | | | | | | | | | | Functional tests were commented out because of: https://github.com/boothj5/profanity/pull/1010 An issue was raised for stabber: https://github.com/boothj5/stabber/issues/5 Once this issue is resolved functional tests should be enabled again.
| * Move ID generation to xmpp folderMichael Vetter2018-08-3011-68/+68
| | | | | | | | | | | | | | | | | | | | | | create_unique_id() was changed to use UUIDs instead of a counter in the last commit. Since now it depends on connection_create_uuid() which is in the xmpp subfolder the function should also be moved there. Renamed it to connection_create_stanza_id() and moved it to src/xmpp/connection.c. Discussion happened in https://github.com/boothj5/profanity/pull/1010
| * Use uuid in create_unique_id instead of counterMichael Vetter2018-08-142-12/+7
|/ | | | | | | | | | | | Message IDs should be unique so they can be used by XEPs like delivery receipts, chat markers, message correction. So far it used a counter so restarting profanity will cause the counter to be 0 again. Let's rather use an UUID since we have such a function in the xmpp/xmpp.h already. Closes https://github.com/boothj5/profanity/issues/998
* fix: Missing pthread includeRafael Sadowski2018-08-131-0/+1
|
* autoconf adjustments for OpenBSDRafael Sadowski2018-08-131-3/+12
| | | | | | | | | | | In OpenBSD we have two readline libs. On the one hand we have an old version in the base OS and on the other hand we have an new one in the ports tree. profanity needs the new one and should pick up the right one. readline from ports tree is prefixed as ereadline. Note: Original patch by Rafael Sadowski. Cleaned up by jubalh with heavy help of pasis.
* Merge pull request #926 from msantos/null-pointer-dereferenceMichael Vetter2018-07-301-6/+8
|\ | | | | server_events: fix potential NULL pointer deref
| * server_events: fix potential NULL pointer derefMichael Santos2017-04-121-6/+8
| |
* | Use correct macroDominik Heidler2018-07-301-2/+2
| | | | | | | | XMPP_FEATURE_PING insted of STANZA_NS_PING
* | Merge pull request #975 from strugee/patch-2Michael Vetter2018-07-281-0/+1
|\ \ | | | | | | Note CVE-2017-5592 in the CHANGELOG
| * | Note CVE-2017-5592 in the CHANGELOGAJ Jordan2017-12-191-0/+1
| | |
* | | Merge pull request #993 from jubalh/specfileincMichael Vetter2018-07-281-1/+1
|\ \ \ | | | | | | | | Set version in spec file to current
| * | | Set version in spec file to currentMichael Vetter2018-04-201-1/+1
| | | | | | | | | | | | | | | | Set to currently used 0.5.1.
* | | | Merge pull request #1007 from jubalh/memcpyMichael Vetter2018-07-281-1/+1
|\ \ \ \ | | | | | | | | | | Fix gcc8 error about strncpy
| * | | | Fix gcc8 error about strncpyMichael Vetter2018-07-061-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With gcc8 we get the following error when stringop-truncation is on: ``` In function ‘_rotate_log_file’, inlined from ‘log_msg.part.2’ at src/log.c:201:17: src/log.c:231:5: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] strncpy(log_file_new, log_file, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/log.c: In function ‘log_msg.part.2’: src/log.c:228:18: note: length computed here size_t len = strlen(log_file); ^~~~~~~~~~~~~~~~ ``` Using memcpy instead of strncpy.
* | | | Merge pull request #974 from strugee/patch-1James Booth2018-04-211-1/+1
|\ \ \ \ | | | | | | | | | | Fix typo
| * | | | Fix typoAJ Jordan2017-12-191-1/+1
| | |/ / | |/| |
* | | | Add room /me functional testsJames Booth2018-04-213-0/+58
| |/ / |/| |
* | | Update themeJames Booth2018-03-241-1/+1
| | |
* | | Update themeJames Booth2018-03-111-2/+2
| | |
* | | Fix theme load max tab lengthJames Booth2018-03-111-1/+1
| | |
* | | Add max tab length to statusbarJames Booth2018-03-119-31/+115
| | |
* | | Fix utf8 chars in statusbarJames Booth2018-03-111-3/+3
| | |
* | | Merge branch 'wider-tabs'James Booth2018-03-1024-480/+904
|\ \ \
| * | | Default tab name to falseJames Booth2018-03-101-1/+0
| | | |
| * | | Add statusbar pref to themesJames Booth2018-03-102-0/+16
| | | |
| * | | Statusbar render at start of small windowJames Booth2018-03-101-0/+3
| | | |
| * | | Dont show extended tabs when max 0James Booth2018-03-101-0/+3
| | | |
| * | | Use jid prefs in statusbarJames Booth2018-03-103-6/+60
| | | |
| * | | WIP add self prefs for statusbarJames Booth2018-03-1010-76/+107
| | | |
| * | | Do not highlight room tab on subject changeJames Booth2018-03-101-11/+0
| | | |
| * | | Tidy windows when closing room configJames Booth2018-03-101-0/+1
| | | |
| * | | Show extended tabsJames Booth2018-03-101-12/+60
| | | |
| * | | Refactor statusbarJames Booth2018-03-101-92/+109
| | | |
| * | | Preference to show/hide tab numberJames Booth2018-03-097-35/+77
| | | |