Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright | Michael Vetter | 2021-01-08 | 1 | -1/+1 |
| | |||||
* | Declare counter var inside loop | Michael Vetter | 2020-11-09 | 1 | -8/+4 |
| | | | | We require c99/gnu99 anyways. | ||||
* | Basic support for building on NetBSD. | nia | 2020-09-04 | 1 | -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 '=='. | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 1 | -55/+55 |
| | |||||
* | Revert "Apply coding style" | Michael Vetter | 2020-07-07 | 1 | -60/+60 |
| | | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems. | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 1 | -60/+60 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1396 | ||||
* | Remove prefs_free_string() | Michael Vetter | 2020-07-02 | 1 | -7/+7 |
| | | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef | ||||
* | Make option to allow hiding windows with no messages in statusbar | Michael Vetter | 2020-05-21 | 1 | -0/+16 |
| | | | | | | | `statusbar.show.read` can be set to false in the config. `/statusbar show|hide read`. Implement https://github.com/profanity-im/profanity/issues/1285 | ||||
* | _destroy_tab() dont set tab to NULL | Michael Vetter | 2020-04-20 | 1 | -1/+0 |
| | | | | | | | Setting the local pointer to NULL has no effect. _destroy_tab() is used for g_hash_table_new_full() so we cant use a ** and set tab to NULL. | ||||
* | Make statusbar tab more resilient | Michael Vetter | 2020-03-09 | 1 | -4/+8 |
| | | | | | | | | If users input strange stuff and we can't create a jid from it even the setting is set to 'user' we still should fallback to the regular identifer. For example with `/msg @name%matrix.domain.org@matrix.org hi`. | ||||
* | Update my Copyright to 2020 | Michael Vetter | 2020-01-03 | 1 | -1/+1 |
| | |||||
* | Call ncurses resize function before move function | Michael Vetter | 2019-12-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | From @xaizek s comment on issue #1235: ``` If the move would cause the window to be off the screen, it is an error and the window is not moved. Resize on the other hand doesn't fail like this according to its documentation. So new size needs to be applied first. ``` Big thanks to @xaizek for taking a look at our code and helping us!! Regards https://github.com/profanity-im/profanity/issues/1235 | ||||
* | Add vim modeline | Michael Vetter | 2019-11-13 | 1 | -0/+1 |
| | |||||
* | Add comment about statusbar.current | Michael Vetter | 2019-09-29 | 1 | -0/+3 |
| | |||||
* | Add coloring of statusbar.current tab in view | Daniel Lublin | 2019-09-24 | 1 | -4/+10 |
| | | | | | | | | | | | | | | This theme color applies to the tab title text of the statusbar tab that is currently shown. The (somewhat confusingly named) `statusbar.active` theme color now applies to all other tabs (before, it applied to all tabs). Coloring of a tab that is highlighted/has new messages is done as before using the `statusbar.new` theme color. The default color is set to `cyan`, and thus causes no visible change for users -- until modified. | ||||
* | Don't crash if source jid doesn't contain the node part | Dmitry Podgorny | 2019-08-26 | 1 | -1/+3 |
| | | | | | | | | Profanity uses the node part of a JID as display name for a tab. If such a JID doesn't contain the node part, Profanity crashes on NULL pointer dereference. In the above case, use barejid which is just a domain. Fixes #1153. | ||||
* | Remove unused assignments | Michael Vetter | 2019-07-22 | 1 | -1/+1 |
| | |||||
* | Fix jump depending on uninit. value in statusbar | Michael Vetter | 2019-07-10 | 1 | -1/+1 |
| | |||||
* | Fix prefs_get_string mem leaks in statusbar | Michael Vetter | 2019-06-19 | 1 | -6/+18 |
| | |||||
* | Add myself to copyright | Michael Vetter | 2019-06-17 | 1 | -0/+1 |
| | | | | Like discussed with James. | ||||
* | statusbar: check if roster exists | Michael Vetter | 2019-06-04 | 1 | -2/+4 |
| | | | | | | | | | | | | We destory the roster in ev_disconnect_cleanup(). Adding a function to test if the roster has been destroyed and testing for it in the statusbar. So now when the connection is lost 'Lost connection' is printed in all open windows. We can then reconnect with `/connect accountname`. Should fix https://github.com/profanity-im/profanity/issues/1083 | ||||
* | statusbar: reduce duplicate code | Michael Vetter | 2019-06-04 | 1 | -32/+9 |
| | | | | | | | | | | status_bar_new() and status_bar_active() are almost identical. Let's use one helper function to not duplicate code. I thought about renaming both functions into one and adding another parameter but didn't come up with a good name for the function that clearly describes what it does. So staying with current names + helper functions. | ||||
* | Determine chat window names beforehand | Michael Vetter | 2019-06-04 | 1 | -13/+44 |
| | | | | | | | | | Save the name for displaying the windows in the statusbar inside the tab object. So far we calculated them repeatedly and this created issues when we lost the connection. Regards https://github.com/profanity-im/profanity/issues/1083 | ||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Rename mucconf wins into conf wins | Paul Fariello | 2018-09-05 | 1 | -1/+1 |
| | | | | Configuration windows are now being used by both muc and cmd. | ||||
* | Add max tab length to statusbar | James Booth | 2018-03-11 | 1 | -30/+46 |
| | |||||
* | Fix utf8 chars in statusbar | James Booth | 2018-03-11 | 1 | -3/+3 |
| | |||||
* | Statusbar render at start of small window | James Booth | 2018-03-10 | 1 | -0/+3 |
| | |||||
* | Dont show extended tabs when max 0 | James Booth | 2018-03-10 | 1 | -0/+3 |
| | |||||
* | Use jid prefs in statusbar | James Booth | 2018-03-10 | 1 | -3/+55 |
| | |||||
* | WIP add self prefs for statusbar | James Booth | 2018-03-10 | 1 | -51/+27 |
| | |||||
* | Show extended tabs | James Booth | 2018-03-10 | 1 | -12/+60 |
| | |||||
* | Refactor statusbar | James Booth | 2018-03-10 | 1 | -92/+109 |
| | |||||
* | Preference to show/hide tab number | James Booth | 2018-03-09 | 1 | -33/+40 |
| | |||||
* | Remove empty tabs | James Booth | 2018-03-09 | 1 | -35/+12 |
| | |||||
* | Add preferences for tab display | James Booth | 2018-03-09 | 1 | -14/+99 |
| | |||||
* | Add max tabs preference for statusbar | James Booth | 2018-03-08 | 1 | -55/+57 |
| | |||||
* | Add prefs for empty tabs and tab names | James Booth | 2018-03-08 | 1 | -11/+14 |
| | |||||
* | Show name in statusbar tabs WIP | James Booth | 2018-03-08 | 1 | -349/+184 |
| | |||||
* | Add message to status bar | James Booth | 2018-03-07 | 1 | -22/+39 |
| | |||||
* | Set background in _status_bar_draw | James Booth | 2018-03-07 | 1 | -2/+3 |
| | |||||
* | Add time to status bar | James Booth | 2018-03-07 | 1 | -4/+49 |
| | |||||
* | Draw empty status bar | James Booth | 2018-03-07 | 1 | -356/+381 |
| | |||||
* | Update copyright | James Booth | 2018-01-21 | 1 | -1/+1 |
| | |||||
* | Add theme option for time in a status bar | Lukasz Marcinowski | 2017-03-22 | 1 | -0/+3 |
| | |||||
* | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 |
| | |||||
* | Allow vertical positioning of all windows | James Booth | 2016-09-23 | 1 | -18/+8 |
| | |||||
* | Add /inputwin top|bottom command | James Booth | 2016-09-19 | 1 | -2/+14 |
| | | | | closes #853 | ||||
* | Store GTimeZone in statusbar | James Booth | 2016-07-25 | 1 | -2/+5 |
| | | | | fixes #785 | ||||
* | Tidy headers | James Booth | 2016-07-24 | 1 | -1/+1 |
| |