| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
The flag hides errors. But we want unit tests to be correct in order
to reveal errors in the main code.
The patch removes tests_unittests_unittests_CFLAGS which makes autotools
use AM_CFLAGS instead. Therefore, unit tests are built with flags
derived from configure.ac.
|
|\ \
| | |
| | | |
Fix style and warnings - found with `mandoc -T lint`
|
|/ / |
|
| |
| |
| |
| | |
To prepare for next release.
|
|\ \
| | |
| | | |
Add support for xep 0050 ad-hoc commands, without multi-step
|
| | |
| | |
| | |
| | | |
In order to avoid duplication with xep 0133 support in command execution
|
| | | |
|
| | |
| | |
| | |
| | | |
Could be missleading for user.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In accordance with Section 3.2.2.1 of XML Schema Part 2: Datatypes, the
allowable lexical representations for the xs:boolean datatype are the
strings "0" and "false" for the concept 'false' and the strings "1" and
"true" for the concept 'true'; implementations MUST support both styles
of lexical representation.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Configuration windows are now being used by both muc and cmd.
|
| | |
| | |
| | |
| | | |
Also change wins_get_by_string prototype in order to handle const str.
|
| | | |
|
| | |
| | |
| | |
| | | |
Tested with ping from biboumi
|
| | |
| | |
| | |
| | | |
Also handle list result
|
| | |
| | |
| | |
| | | |
Initial commit to test commands API
|
|\ \ \
| | | |
| | | | |
Get rid of p_sha1 dependency
|
| | | |
| | | |
| | | |
| | | | |
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()` 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.
|
| | | |
| | | |
| | | |
| | | | |
And delete from Makefile.am
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | | |
| | | | |
Extended plugin handling
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | | |
Fixes problems found in PR #999
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
therefore installation will fail. -> The unload code is not needed
|
| | | | |
|
|/ / / |
|
|/ / |
|
|\ \
| | |
| | | |
Use uuid in create_unique_id instead of counter
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|