Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Define POSIX macro to have strdup | Michael Vetter | 2020-06-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | | https://github.com/profanity-im/profanity/commit/98c38dc6d6d29333c63f80327774f094610d8602 sets C99 as standard. strdup() is not part of C99. For now set `-D_POSIX_C_SOURCE=200809L` macro to have strdup() in C99. Using `gnu99` instead would be another option. We should take more care to use glib functions whenever possible. Regards https://github.com/profanity-im/profanity/issues/1357 | ||||
* | inp_readline() Correct slashguard feature | Michael Vetter | 2020-04-21 | 1 | -4/+6 |
| | | | | Protect against invalid reads by checking the length. | ||||
* | Make _inp_edited() more robust | Dmitry Podgorny | 2020-04-19 | 1 | -1/+8 |
| | |||||
* | Add slashguard feature | Michael Vetter | 2020-03-18 | 1 | -0/+7 |
| | | | | | New command `/slashguard` tries to protect against typing ` /quit` by not allowing a slash in the first 4 characters. | ||||
* | Add vim modeline | Michael Vetter | 2019-11-13 | 1 | -0/+1 |
| | |||||
* | Fix add_history usage in down arrow handler | Michael Vetter | 2019-11-05 | 1 | -4/+1 |
| | | | | | | | | | | | | | | [Programming with GNU History](http://www.math.utah.edu/docs/info/hist_2.html) mentions using_history(). Chet, maintainer of readline told me about it. (Thanks Chet!) Seems like we need to call this so that the history offset is at the right end of the list. I assume it's called in the linehandler automatically. Fix https://github.com/profanity-im/profanity/issues/200 | ||||
* | Store current input line in history | Michael Vetter | 2019-11-05 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regards https://github.com/profanity-im/profanity/issues/200 This doesn't work yet. And I have no idea why. Weird behaviour: - start profanity - type 'ASDF' - ctrl+arrow down -> text vanishes (like intended) - arrow up -> nothing happens (intended is that the last history item [ASDF] appears) - type 'ABC' - press enter - arrow up -> ABC appears - enter - type 'UUU' - ctrl+arrow down - type 'ZZZ' - enter - arrow up - ZZZ appears - arrow up - UUU appears So in the latter case we added to history and deleted from the input line and then immediately entered new text and pressed enter, to add this to the history too. When we do this the not sent text succesfully was stored in history. | ||||
* | Bind key to switch to next active window | Michael Vetter | 2019-09-30 | 1 | -0/+14 |
| | | | | | | alt-a brings one to the next window with unread messages. Regards https://github.com/profanity-im/profanity/issues/1114 | ||||
* | Define keybindings to switch to up to 20 windows | Michael Vetter | 2019-09-30 | 1 | -0/+100 |
| | | | | | | | | | | alt-2 brings one ot the window. irssi supports alt + 1234567890qwertyuio to easily switch to 20 windows instead of just ten. Hardcode this too. Regards https://github.com/profanity-im/profanity/issues/1114 | ||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Add prof_win_close (#1017) | twardziejszy | 2019-01-10 | 1 | -0/+11 |
| | |||||
* | WIP add self prefs for statusbar | James Booth | 2018-03-10 | 1 | -2/+2 |
| | |||||
* | Clear autocompletes on line edits | James Booth | 2018-02-09 | 1 | -3/+19 |
| | |||||
* | Update copyright | James Booth | 2018-01-21 | 1 | -1/+1 |
| | |||||
* | Allow previous autocompletion with shift tab | James Booth | 2017-04-01 | 1 | -2/+49 |
| | |||||
* | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 |
| | |||||
* | Allow vertical positioning of all windows | James Booth | 2016-09-23 | 1 | -10/+4 |
| | |||||
* | Add /inputwin top|bottom command | James Booth | 2016-09-19 | 1 | -1/+8 |
| | | | | closes #853 | ||||
* | Move all filepath handling to files.c | James Booth | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | Move xgd functions | James Booth | 2016-07-24 | 1 | -1/+2 |
| | |||||
* | Tidy headers | James Booth | 2016-07-24 | 1 | -7/+7 |
| | |||||
* | Moved roster_list.c | James Booth | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | Moved muc.c | James Booth | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | Moved chat_state.c | James Booth | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | Moved chat state handling code to chat_state.c | James Booth | 2016-07-24 | 1 | -2/+3 |
| | |||||
* | Update GPL link in headers | James Booth | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | Rename command sources | James Booth | 2016-05-22 | 1 | -1/+1 |
| | |||||
* | Add cmd_autocomplete.c | James Booth | 2016-05-20 | 1 | -3/+3 |
| | |||||
* | Reorder headers in inputwin.c | James Booth | 2016-05-11 | 1 | -1/+1 |
| | | | | Fixes unknown type name '_fpos64_t' error on Cygwin | ||||
* | Implement XEP-0363: HTTP File Upload | Dominik Heidler | 2016-04-26 | 1 | -0/+3 |
| | |||||
* | Removed #AX_PREFIX_CONFIG_H | James Booth | 2016-03-31 | 1 | -3/+3 |
| | |||||
* | 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 | -3/+3 |
|/ | |||||
* | Added sys/select.h header includes | James Booth | 2016-01-19 | 1 | -0/+1 |
| | |||||
* | Use MB_CUR_MAX when calculating cursor position | James Booth | 2015-12-19 | 1 | -1/+1 |
| | |||||
* | Read ~/.config/profanity/inputrc | James Booth | 2015-12-06 | 1 | -0/+7 |
| | |||||
* | Renamed readline handlers | James Booth | 2015-12-06 | 1 | -93/+93 |
| | |||||
* | Added readline function definitions | James Booth | 2015-12-06 | 1 | -1/+24 |
| | |||||
* | readline: set rl_outstream to /dev/null | James Booth | 2015-12-01 | 1 | -0/+5 |
| | |||||
* | Disable readline completion | James Booth | 2015-11-29 | 1 | -0/+3 |
| | |||||
* | Clear Readline undo list when autocompleting command history | James Booth | 2015-11-09 | 1 | -2/+2 |
| | | | | fixes #667 | ||||
* | Renamed ui_switch_win -> ui_focus_win | James Booth | 2015-11-02 | 1 | -3/+3 |
| | |||||
* | Removed ui_ paging functions | James Booth | 2015-11-01 | 1 | -4/+8 |
| | |||||
* | Removed inp_win_clear() | James Booth | 2015-11-01 | 1 | -9/+0 |
| | |||||
* | Removed ui_events module | James Booth | 2015-10-27 | 1 | -1/+0 |
| | |||||
* | Removed ui_ev_focus_win | James Booth | 2015-10-27 | 1 | -3/+3 |
| | |||||
* | Get rid of compiler warning concerning NULL pointer | Michael Vetter | 2015-10-26 | 1 | -1/+1 |
| | | | | Casting the into correct type. | ||||
* | Applied coding style to src/ui/ | James Booth | 2015-10-25 | 1 | -2/+2 |
| | |||||
* | Fixed resize during password and tls commands | James Booth | 2015-10-06 | 1 | -0/+2 |
| |