about summary refs log tree commit diff stats
path: root/src/ui/core.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix PGPJohn Hernandez2023-03-311-8/+6
| | | | Fix of PGP and potentially other encryption methods by calling correct function that would initiate them in case if someone writes.
* Fix race condition on resizePaul Fertser2022-04-011-3/+1
| | | | | | | | | | | The current code is inherently racy: if screen update takes considerable time (e.g. when working over network) and a user performed a series of resizes the final event might get ignored and the display will be left in inconsistent state. Fix the race by unsetting the flag first so if the next WINCH signal is received while display is resizing it'll be processed on the next iteration.
* Format code correctlyMichael Vetter2021-10-051-1/+0
|
* Change ui_win_has_attention() logicMichael Vetter2021-05-311-3/+5
|
* Attention flag - Implemented Alt+mDebXWoody2021-05-291-0/+12
|
* Have separate settings for intypeMichael Vetter2021-05-081-7/+11
| | | | | | | | | | Old: `/intype on|of` Typing information is printed in console and titlebar. New: `/intype titlebar|console on|off` Typing information can be configured in more detail. Regards https://github.com/profanity-im/profanity/issues/1516
* Update ui_ask_password to support confirmationThorben Günther2021-03-111-2/+6
| | | | | Just prints a different string to console. Useful for changing passwords or account registration.
* Draw wintitle using fputs and fprintf instead of /bin/echo.Akce2021-02-281-25/+8
|
* Declare counter var inside loopMichael Vetter2020-11-091-2/+1
| | | | We require c99/gnu99 anyways.
* Basic support for building on NetBSD.nia2020-09-041-0/+2
| | | | | | - Add NetBSD as a recognized platform without -ldl. - Allow building with NetBSD libcurses instead of ncurses. - Portability to NetBSD sh - use POSIX '=' instead of '=='.
* Dont hilight console once all messages have been readMichael Vetter2020-07-091-0/+1
| | | | | | | | | | | | | | | | If we receive a message we get: << room message: eagle@conference.anoxinon.me (win 2) Same for private chats and regular chats. And several other kinds of notifications. If we only receive notifications from a chat window it would be nice to also clear the hilight on the console window since we already catched up by reading the actual message in the chat window. Probably not the best description :-) I hope you get it.. Regards https://github.com/profanity-im/profanity/issues/1399
* Apply coding styleMichael Vetter2020-07-071-174/+173
|
* Revert "Apply coding style"Michael Vetter2020-07-071-183/+184
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-184/+183
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Remove prefs_free_string()Michael Vetter2020-07-021-2/+2
| | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef
* ui_room_join() dont get nick twiceMichael Vetter2020-04-201-1/+0
|
* Allow utf8 symbols as omemo/pgp/otr indicator charMichael Vetter2020-02-201-34/+34
| | | | Fix https://github.com/profanity-im/profanity/issues/1264
* Change theme handlingMichael Vetter2020-01-291-1/+1
| | | | | | | | | | | | | | | | So far when loading a theme it also overwrote the preferences the user set. Lengthy discussion can be found at https://github.com/profanity-im/profanity/issues/1077 Now we use `/theme load themename` to load the [colours] part of a themem only. `/theme full-load themename` will load the complete theme including preferences set in there. Regards https://github.com/profanity-im/profanity/issues/1077
* separator: Enable for MUC and PRIVWIN tooMichael Vetter2019-12-131-9/+26
| | | | Fix https://github.com/profanity-im/profanity/issues/1238
* Initial work on last-read-position featureMichael Vetter2019-12-131-0/+8
| | | | | | | | Print dashes on the position we last left off in a chat window. So far the number of dashes is hardcoded, and the feature only works in chat windows. Regards https://github.com/profanity-im/profanity/issues/1238
* Dont print error message if a valid setting function is calledMichael Vetter2019-12-121-1/+0
| | | | | | | | This is because the actual command that parses itself (cmd_logging) returns false if it didn't get the expected parameters. Handing the printing however is done by another function. This function is added to the Command struct as setting_function. So if this is set, and the actual command returns false. We should just call the setting_function and not print the error message. Fix https://github.com/profanity-im/profanity/issues/1237
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Reduce scope of num in ui_print_system_msg_from_recipient()Michael Vetter2019-07-221-3/+1
|
* Add OMEMO policyPaul Fariello2019-04-171-1/+1
| | | | | | | | | | | | There is 3 policy: - manual: OMEMO session are only started manually - automatic: OMEMO session are only started if they have been started manually before - always: OMEMO session are always started unless they have been ended manually before Closes #1040 and fixes #1052
* Fix use after free bugDavid Baer2019-03-221-5/+5
|
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Rename mucconf wins into conf winsPaul Fariello2018-09-051-10/+10
| | | | Configuration windows are now being used by both muc and cmd.
* Use jid prefs in statusbarJames Booth2018-03-101-2/+2
|
* WIP add self prefs for statusbarJames Booth2018-03-101-10/+6
|
* Add preferences for tab displayJames Booth2018-03-091-10/+14
|
* Show name in statusbar tabs WIPJames Booth2018-03-081-9/+11
|
* Add time to status barJames Booth2018-03-071-1/+2
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Check roster contact before displayng typing notificationJames Booth2017-01-231-2/+6
| | | | fixes #896
* Allow clearing account resourceJames Booth2016-11-221-5/+1
| | | | issue #880
* Remove unused functionsJames Booth2016-10-161-18/+0
|
* Remove ui_current_print_formatted_lineJames Booth2016-10-161-13/+0
|
* Remove ui_current_print_lineJames Booth2016-10-161-14/+1
|
* Add win_appendJames Booth2016-10-151-2/+2
|
* Add win_appendlnJames Booth2016-10-151-3/+2
|
* Add win_printJames Booth2016-10-151-35/+35
|
* Remove ui_current_error_lineJames Booth2016-10-151-7/+0
|
* Remove ui_win_error_lineJames Booth2016-10-151-6/+0
|
* Use win_printf_line instead of win_printlnJames Booth2016-10-151-3/+3
|
* Use win_printf_line where appropriateJames Booth2016-10-151-23/+23
|
* Add ch arg to win_printf_lineJames Booth2016-10-151-12/+12
|
* Add win_printf_lineJames Booth2016-10-141-9/+9
|
* Always use string format in win_printfJames Booth2016-10-121-7/+7
|
* Remove win_print, use win_printf insteadJames Booth2016-10-111-15/+15
|