Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Close windows on connection loss not general disc. | Michael Vetter | 2019-05-27 | 2 | -1/+1 | |
| | | | | | | | | | | Call `ui_close_all_wins();` only if we disconnect on purpose not when connection is lost. Otherwise users might miss messages. This partly reverts 6ac73db876c83c7068c4795b19c09ea59eb18a40. Regards https://github.com/profanity-im/profanity/issues/1083 | |||||
* | Merge pull request #1092 from frnky/remove_mblen | Michael Vetter | 2019-05-23 | 1 | -5/+2 | |
|\ | | | | | Don't call mblen() to not depend on locale | |||||
| * | 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). | |||||
* | | Merge pull request #1102 from paulfariello/fix/malformed-omemo-message | Michael Vetter | 2019-05-23 | 1 | -4/+8 | |
|\ \ | |/ |/| | Correctly handle malformed OMEMO messages | |||||
| * | Correctly handle malformed OMEMO messages | Paul Fariello | 2019-05-23 | 1 | -4/+8 | |
|/ | | | | Fix #1101 | |||||
* | Merge pull request #1098 from optmzr/fix-omemo-gen-message | Michael Vetter | 2019-05-22 | 1 | -0/+1 | |
|\ | | | | | | | | | Force UI update before generating OMEMO crypto materials The message wouldn't show up before the generation of OMEMO crypto materials started. | |||||
| * | Force UI update before generating OMEMO crypto materials | William Wennerström | 2019-05-21 | 1 | -0/+1 | |
| | | ||||||
* | | Create seperate function for disconnect cleanup | Michael Vetter | 2019-05-19 | 5 | -30/+115 | |
| | | | | | | | | | | Duplicate code in client_events.c and server_events.c. Let's have events/common.c and a function containing that code. | |||||
* | | Merge pull request #1091 from frnky/fix_tests_on_32bit | Michael Vetter | 2019-05-17 | 5 | -25/+25 | |
|\ \ | |/ |/| | Fix unit tests on 32-bit architectures | |||||
| * | Use mock_type() for casting mock() | Frank Zschockelt | 2019-05-08 | 4 | -13/+13 | |
| | | ||||||
| * | Use mock_ptr_type() to silence compiler warnings | Frank Zschockelt | 2019-05-08 | 4 | -12/+12 | |
|/ | | | | | | Unit tests on 32-bit architectures were failing due to "cast to pointer from integer of different size" warnings. mock_ptr_type silences those by first casting to uintptr_t. | |||||
* | Fix ifdef guard (should have been OMEMO) | Michael Vetter | 2019-05-06 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #1090 from jubalh/fix/connection-loss-1089 | Michael Vetter | 2019-05-06 | 1 | -0/+5 | |
|\ | | | | | Reset things on connection loss | |||||
| * | Reset things on connection loss | Michael Vetter | 2019-05-06 | 1 | -0/+5 | |
| | | | | | | | | | | Remove the windows, clear tls certs, clean omemo. Regards https://github.com/profanity-im/profanity/issues/1089 | |||||
* | | Merge pull request #1084 from jubalh/occupants-char | Michael Vetter | 2019-05-03 | 9 | -3/+94 | |
|\ \ | |/ |/| | Add occupants char | |||||
| * | Add occupants char | Michael Vetter | 2019-05-02 | 9 | -3/+94 | |
| | | | | | | | | | | | | | | `/occupants char` now sets a character that is displayed before the nick in MUCs. Similar like `/roster char` is displaying a char for the roster. Regards #690 | |||||
* | | Update travis URL | Michael Vetter | 2019-05-03 | 1 | -1/+1 | |
| | | ||||||
* | | Update profanity repo URL | Michael Vetter | 2019-05-03 | 6 | -9/+9 | |
| | | | | | | | | Move from github.com/boothj5/* to github.com/profanity-im/* | |||||
* | | Update tests with new URL | Michael Vetter | 2019-05-03 | 7 | -40/+40 | |
| | | | | | | | | https://github.com/profanity-im/profanity/issues/1085 | |||||
* | | Update profanity URL in entity capabilities stanza | Michael Vetter | 2019-05-03 | 1 | -1/+1 | |
| | | | | | | | | Regards https://github.com/profanity-im/profanity/issues/1085 | |||||
* | | Update profanity URL in /tiny example | Michael Vetter | 2019-05-03 | 1 | -1/+1 | |
| | | | | | | | | Regards https://github.com/profanity-im/profanity/issues/1085 | |||||
* | | Check for new profanity version using new URL | Michael Vetter | 2019-05-03 | 2 | -2/+2 | |
| | | | | | | | | Regards https://github.com/profanity-im/profanity/issues/1085 | |||||
* | | Update profanity URL in spec file | Michael Vetter | 2019-05-03 | 1 | -1/+1 | |
| | | | | | | | | Regards https://github.com/profanity-im/profanity/issues/1085 | |||||
* | | Update profanity URL in manpage | Michael Vetter | 2019-05-03 | 1 | -3/+3 | |
| | | | | | | | | Regards https://github.com/profanity-im/profanity/issues/1085 | |||||
* | | Replace profanity URL in README | Michael Vetter | 2019-05-03 | 1 | -3/+3 | |
|/ | | | | Regards https://github.com/profanity-im/profanity/issues/1085 | |||||
* | OMEMO: Initialize result in omemo_automatic_start | Michael Vetter | 2019-04-29 | 1 | -1/+1 | |
| | | | | | | | | | This is actually not needed because result will always be set. hartmann had problems building profanity on OpenBSD and he proposed this patch. Let's use it to make the compiler happy there. | |||||
* | Merge pull request #1080 from jubalh/omemo-no-device-id | Michael Vetter | 2019-04-24 | 1 | -1/+5 | |
|\ | | | | | OMEMO: Check if ID is present before using it | |||||
| * | OMEMO: Check if ID is present before using it | Michael Vetter | 2019-04-24 | 1 | -1/+5 | |
|/ | | | | Fixes https://github.com/boothj5/profanity/issues/1079 | |||||
* | Merge pull request #1078 from jubalh/statusbarnu | Michael Vetter | 2019-04-24 | 1 | -1/+1 | |
|\ | | | | | Fix statusbar number in theme | |||||
| * | Fix statusbar number in theme | Michael Vetter | 2019-04-24 | 1 | -1/+1 | |
|/ | | | | There is a typo here. So this actually never worked ;-) | |||||
* | Add occupants.wrap to theme template | Michael Vetter | 2019-04-24 | 1 | -0/+1 | |
| | ||||||
* | Fix formatting for privileges on | Michael Vetter | 2019-04-24 | 1 | -0/+4 | |
| | | | | | `/privileges on` lists `Moderator`, `Visitor` etc. Formatting was wrong here. Printing privilige followed by nickaname in the same line. | |||||
* | Occupantswin: handle newline correctly | Michael Vetter | 2019-04-24 | 1 | -6/+6 | |
| | ||||||
* | Add occupants wrap to help | Michael Vetter | 2019-04-24 | 1 | -2/+4 | |
| | ||||||
* | Fix occupants header char message | Michael Vetter | 2019-04-24 | 1 | -2/+2 | |
| | ||||||
* | Add occupants wrap option | Michael Vetter | 2019-04-24 | 7 | -2/+33 | |
| | | | | | | | Wrapping for the occupants panel like already exists for the roster panel. See `/occupants wrap on`. Regards https://github.com/boothj5/profanity/issues/690 | |||||
* | Merge pull request #1076 from kaffeekanne/update-copyright-years | Michael Vetter | 2019-04-24 | 3 | -4/+4 | |
|\ | | | | | Update copyright years | |||||
| * | Update copyright years | kaffeekanne | 2019-04-24 | 3 | -4/+4 | |
|/ | ||||||
* | Add occupantswin_occupants_all() stub to unittest | Michael Vetter | 2019-04-23 | 1 | -0/+1 | |
| | ||||||
* | Put occupants update into own function | Michael Vetter | 2019-04-23 | 3 | -34/+21 | |
| | ||||||
* | Add occupants header char | Michael Vetter | 2019-04-23 | 9 | -6/+155 | |
| | | | | | | | | `/occupants header char` now sets a character that is displayed before the role (moderator, visitor..) in a room. Similar to `/roster header char` is displaying a char for the roster. Regards https://github.com/boothj5/profanity/issues/690 | |||||
* | Merge pull request #1073 from kaffeekanne/fix-indention-time-config | Michael Vetter | 2019-04-23 | 1 | -2/+2 | |
|\ | | | | | Fix indentation time confing | |||||
| * | Fix indentation for time config | kaffeekanne | 2019-04-23 | 1 | -2/+2 | |
|/ | ||||||
* | Adjust jid for occupants indent | Michael Vetter | 2019-04-20 | 1 | -3/+11 | |
| | | | | Indent the jid one more space than nick. | |||||
* | Add occupants indent autocompletion | Michael Vetter | 2019-04-20 | 1 | -0/+1 | |
| | ||||||
* | Add occupants.indent to theme_template | Michael Vetter | 2019-04-20 | 1 | -0/+1 | |
| | ||||||
* | Allow setting occupants indent outside of MUC | Michael Vetter | 2019-04-20 | 2 | -34/+31 | |
| | | | | And when not connected. | |||||
* | Add /occupants indent command | Michael Vetter | 2019-04-18 | 7 | -3/+80 | |
| | | | | | | | | Roster has a `/roster contact indent` option. Now we have the same for occupants. So contacts in roster and in MUC can have configurable indentation. Regards https://github.com/boothj5/profanity/issues/690 | |||||
* | Fix typo in /help roster | Michael Vetter | 2019-04-18 | 1 | -1/+1 | |
| | ||||||
* | Add library versioning to libprofanity | Michael Vetter | 2019-04-18 | 1 | -1/+1 | |
| | | | | Fixes https://github.com/boothj5/profanity/issues/973 |