Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move code from jid_random_resource() into own function | Michael Vetter | 2019-10-16 | 1 | -0/+20 |
| | | | | | Move the code that creates a random string into it's own function +get_random_string(). | ||||
* | Check errors in is_dir() is_regular_file() | Michael Vetter | 2019-10-04 | 1 | -2/+10 |
| | | | | | | | In case of error print the error. And return right value. Improvement based on @pasis advice in https://github.com/profanity-im/profanity/pull/1036 Applying in preparation to merge that PR. | ||||
* | Add myself to copyright | Michael Vetter | 2019-06-17 | 1 | -0/+1 |
| | | | | Like discussed with James. | ||||
* | Don't call mblen() to not depend on locale | Frank Zschockelt | 2019-05-22 | 1 | -5/+2 |
| | | | | | | | | | | mblen will fail with return code -1 if the locale used by the unit tests isn't available on the machine. This will lead to an off by one error in some tests where the needle is at the end of the haystack. Since prof_occurrences expect null-terminated strings, the character after the needle can simply be found by incrementing the address of the found needle with strlen(needle). | ||||
* | Check for new profanity version using new URL | Michael Vetter | 2019-05-03 | 1 | -1/+1 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1085 | ||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1011 from jubalh/sha1 | Michael Vetter | 2018-09-19 | 1 | -17/+0 |
|\ | | | | | Get rid of p_sha1 dependency | ||||
| * | Move p_sha1_hash() to stanza.c | Michael Vetter | 2018-09-06 | 1 | -16/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Use libstrophe sha1 functions | Michael Vetter | 2018-09-05 | 1 | -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 | ||||
* | | Fix extended plugin handling PR | Philip Flohr | 2018-09-06 | 1 | -10/+4 |
| | | | | | | | | Fixes problems found in PR #999 | ||||
* | | use gio functions for file copy | Philip Flohr | 2018-09-06 | 1 | -20/+15 |
|/ | |||||
* | Move ID generation to xmpp folder | Michael Vetter | 2018-08-30 | 1 | -22/+0 |
| | | | | | | | | | | | 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 counter | Michael Vetter | 2018-08-14 | 1 | -11/+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 | ||||
* | Update copyright | James Booth | 2018-01-21 | 1 | -1/+1 |
| | |||||
* | Set locale in unit tests | James Booth | 2017-04-29 | 1 | -2/+2 |
| | | | | issue #901 | ||||
* | Use g_utf8_find_ functions for prof_occurrences | James Booth | 2017-04-28 | 1 | -4/+11 |
| | | | | issue #901 | ||||
* | Update Glib dependency to 2.40 | James Booth | 2017-03-25 | 1 | -48/+0 |
| | |||||
* | Allow installing plugins from directory | James Booth | 2017-02-05 | 1 | -0/+42 |
| | |||||
* | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 |
| | |||||
* | Fix multibyte chars in prof_occurrences | James Booth | 2017-01-26 | 1 | -8/+14 |
| | | | | issue #901 | ||||
* | Move window functions to window_list.c | James Booth | 2016-07-24 | 1 | -73/+0 |
| | |||||
* | Move resource conversions | James Booth | 2016-07-24 | 1 | -70/+1 |
| | |||||
* | Add config/files.c | James Booth | 2016-07-24 | 1 | -38/+0 |
| | |||||
* | Tidy headers | James Booth | 2016-07-24 | 1 | -3/+1 |
| | |||||
* | Update GPL link in headers | James Booth | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | Add /plugins install command | James Booth | 2016-07-12 | 1 | -0/+26 |
| | |||||
* | Reorder headers in common.c | James Booth | 2016-05-11 | 1 | -1/+1 |
| | | | | Fixes unknown type name '_fpos64_t' error on Cygwin | ||||
* | Added whole word matches for room mention | James Booth | 2016-04-07 | 1 | -49/+18 |
| | |||||
* | Added prof_strstr function | James Booth | 2016-04-03 | 1 | -12/+60 |
| | |||||
* | Removed #AX_PREFIX_CONFIG_H | James Booth | 2016-03-31 | 1 | -7/+7 |
| | |||||
* | Fixed PLATFORM_CYGWIN references | James Booth | 2016-03-10 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into plugins-c | James Booth | 2016-02-14 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: src/main.c src/ui/console.c | ||||
| * | Updated copyright | James Booth | 2016-02-14 | 1 | -1/+1 |
| | | |||||
* | | Added C plugin code from plugins branch | James Booth | 2016-02-14 | 1 | -4/+10 |
|/ | |||||
* | Added sys/select.h header includes | James Booth | 2016-01-19 | 1 | -0/+1 |
| | |||||
* | Applied coding style to src/ | James Booth | 2015-10-26 | 1 | -17/+17 |
| | |||||
* | Create is_notify_enabled function | Michael Vetter | 2015-10-12 | 1 | -0/+18 |
| | | | | | The same code was used on two different occasions. I put it into a function. | ||||
* | Split PGP incoming and outgoing message handling | James Booth | 2015-08-30 | 1 | -0/+6 |
| | |||||
* | Fixed OTR decryption check | James Booth | 2015-08-27 | 1 | -1/+1 |
| | |||||
* | Added str_contains_str to common | James Booth | 2015-08-26 | 1 | -0/+6 |
| | |||||
* | I removed ncurses header dependencies, removed unused code | James Booth | 2015-06-15 | 1 | -12/+0 |
| | |||||
* | Added more connect tests | James Booth | 2015-05-24 | 1 | -1/+8 |
| | |||||
* | Use null check convention in common.c | James Booth | 2015-05-04 | 1 | -10/+10 |
| | |||||
* | Moved _strtoi to common, strtoi_range | James Booth | 2015-03-16 | 1 | -0/+27 |
| | |||||
* | Merge branch 'master' into readline | James Booth | 2015-02-11 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: src/tools/history.c src/tools/history.h | ||||
| * | Updated copyright | James Booth | 2015-02-10 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into readline | James Booth | 2015-02-10 | 1 | -2/+12 |
|\| | | | | | | | | | Conflicts: src/ui/inputwin.c | ||||
| * | Copy list when sorting windows for /wins | James Booth | 2015-02-10 | 1 | -2/+12 |
| | | |||||
* | | Merge branch 'master' into readline | James Booth | 2015-02-08 | 1 | -0/+22 |
|\| | |||||
| * | Moved quote stripper to common, added tests | James Booth | 2015-02-08 | 1 | -0/+22 |
| | |