1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
Commit Graph

160 Commits

Author SHA1 Message Date
James Booth
86dc29d8e8 Removed functions from window.c 2014-12-22 00:01:43 +00:00
James Booth
d5dee1632d Moved unread to window subtypes 2014-12-21 23:14:01 +00:00
James Booth
eef7f9cfd4 Show nick for title 2014-12-21 22:39:00 +00:00
James Booth
0c1bbb63c0 Added win_get_title 2014-12-21 22:01:56 +00:00
James Booth
9a322a028f Use class instead of base pointer 2014-12-21 19:40:15 +00:00
James Booth
79d4cbe967 Fixed /occupants hide 2014-12-20 22:44:01 +00:00
James Booth
ea267e2017 Refactored all window recipients and types
Tests need fixing
2014-12-20 00:52:35 +00:00
James Booth
0146e62576 Refactoring window types, removing recipient and from references - wip 2014-12-18 23:57:19 +00:00
James Booth
0e7e931589 Added rosterwin.c 2014-12-16 22:14:15 +00:00
James Booth
8f6167b45e Refactor layout creation 2014-12-16 20:53:23 +00:00
James Booth
630fef015d Added new window and layout types 2014-12-16 01:39:47 +00:00
James Booth
070547a7ff Added window specific creation functions 2014-12-15 00:28:28 +00:00
James Booth
8e46b9e75b Added win create functions for chat and private chat 2014-12-10 22:34:33 +00:00
James Booth
c8ae55a88c Removed unused argument from _wins_show_history 2014-12-10 21:49:21 +00:00
James Booth
742748b05c Renamed chat_resource -> resource 2014-12-10 21:17:31 +00:00
James Booth
706f31422d Moved chat resource to WIN_CHAT type 2014-12-10 01:44:32 +00:00
James Booth
12d0d22ab3 Moved otr properties to WIN_CHAT type 2014-12-10 01:33:46 +00:00
James Booth
7b44ac97cc Added form to WIN_MUC_CONFIG type 2014-12-10 01:14:11 +00:00
James Booth
0ce924465f Added union for window types 2014-12-10 00:54:46 +00:00
James Booth
1a8c805319 Added /resource command 2014-12-02 20:50:21 +00:00
James Booth
e70cbd1b61 Colour /me messages correctly
fixes #457
2014-11-30 22:50:02 +00:00
James Booth
74d9937573 Changed type to enum for presence colour attributes 2014-11-16 23:37:07 +00:00
James Booth
ed4391ec8a Replaced colours with theme_item_t 2014-11-16 20:40:19 +00:00
James Booth
90dd1de91a Fixed indentation bug 2014-11-16 16:27:11 +00:00
James Booth
cd855d3740 Added /time off 2014-11-16 01:28:41 +00:00
James Booth
8c027a56f9 Implemented /time preference 2014-11-16 01:11:00 +00:00
James Booth
1479a5e134 Added /roster size and /occupants size settings 2014-11-15 23:47:27 +00:00
James Booth
3a778cc974 Added seperate values for roster and occupants win sizes 2014-11-15 22:59:13 +00:00
James Booth
3642797146 Changed subwin width to percentage 2014-11-15 22:26:43 +00:00
James Booth
7e360dc35a Fixed printing utf8 chats to roster, changed boothj5 theme 2014-11-11 00:54:10 +00:00
James Booth
497b07c1c3 Added /roster show|hide command, only show roster on connect success 2014-11-10 23:23:02 +00:00
James Booth
5d59d17642 Refactor subwin sizing and disabled wrapping 2014-11-10 22:47:53 +00:00
James Booth
eed8f6c76d Added subwin to console 2014-11-10 00:06:13 +00:00
James Booth
46583839df Added /wrap user preference for enabling/disabling word wrapping 2014-11-09 23:29:25 +00:00
James Booth
70501f5dbf Wordwrap, handle words bigger than line space 2014-11-09 23:05:53 +00:00
James Booth
fbda2b4170 Fixed history messages to work with wrapping 2014-11-09 00:36:25 +00:00
James Booth
bcfbc9f7b3 Added time to xmlconsole, handle newlines in messages 2014-11-08 22:35:47 +00:00
James Booth
da376b26d6 Simple word wrap 2014-11-08 21:16:16 +00:00
James Booth
ecef8f7956 Print one word at a time 2014-11-08 21:03:28 +00:00
James Booth
0bde9a6121 Use message theme setting for regular chat 2014-11-07 20:54:55 +00:00
James Booth
c4412fe823 Fixed various memory leaks 2014-11-01 01:48:36 +00:00
James Booth
ce7cb3f40f Added occupants UI preference 2014-10-09 22:02:39 +01:00
James Booth
cbe14d6e4e Implemented /occupants show 2014-10-09 21:42:09 +01:00
James Booth
73262221f5 Implemented /occupants hide 2014-10-09 21:27:16 +01:00
James Booth
ef62104d63 Added larger occupants pad size 2014-10-08 00:34:26 +01:00
James Booth
b8ba9b038c Added scroll support to occupant list 2014-10-07 21:12:19 +01:00
James Booth
639796384a Handle occupant list resize 2014-10-07 17:06:02 +01:00
James Booth
0c24b53bfa Added room occupants panel 2014-10-07 16:37:14 +01:00
James Booth
60e0d5ef7b Store real jid with occupants 2014-10-01 13:27:01 +01:00
James Booth
c90f4a37a3 Added /room <affiliation> command 2014-10-01 00:46:58 +01:00
James Booth
7ec0dd0b83 Show occupants affiliation and role with /info in rooms 2014-09-30 21:58:18 +01:00
James Booth
0365e88b7b wip - Store roles and affiliations with occupants 2014-09-30 19:46:35 +01:00
James Booth
4f7feedb65 Changed rooms to use Occupant type instead of PContact 2014-09-30 00:16:01 +01:00
James Booth
a288c200d7 Unreference date time 2014-09-24 00:52:32 +01:00
James Booth
60a18c3c8d Cache capabilities to file 2014-09-22 01:36:45 +01:00
James Booth
2fb9989123 Added jid->hash lookup for capabilities 2014-09-20 23:50:19 +01:00
James Booth
eba3a7cb30 Implemented /room config submit for saving room configuration 2014-09-10 23:05:35 +01:00
James Booth
273cddd661 Merge remote-tracking branch 'pasis/memleak' 2014-09-09 20:57:28 +01:00
Dmitry Podgorny
b6faeaaa76 Fixed memory leaks 2014-09-09 22:07:28 +03:00
James Booth
f9737251a6 Added license exemption for OpenSSL to source headers 2014-08-24 20:57:39 +01:00
James Booth
db9028d9c3 Added win_save_println 2014-07-21 00:11:38 +01:00
James Booth
f4fa0bc2dd Added win_save_newline 2014-07-20 23:57:31 +01:00
James Booth
bb0fe16b4d Made win_print static 2014-07-20 23:35:48 +01:00
James Booth
b125fa0feb Return address of buffer entry 2014-07-19 17:14:04 +01:00
James Booth
2a435cd3de Removed horizontal paging 2014-07-18 22:28:49 +01:00
James Booth
a4edc12d80 Removed flag != 0's 2014-07-16 22:56:58 +01:00
James Booth
20c11adddc Used constants for print flags 2014-07-16 22:41:02 +01:00
James Booth
a607b29d4a Replaced NO_EOL_DATE with bitwise or 2014-07-16 22:20:23 +01:00
James Booth
ddb6eee18d Use constants for flags 2014-07-16 22:12:20 +01:00
James Booth
2cbe7e4ccb Whitespace formatting 2014-07-16 22:03:46 +01:00
Immae
945d655910 Implemented the buffer for windows resizing 2014-06-29 15:04:23 +02:00
Immae
6a9e19303e Added buffer handling. Buffer are initialized, pushed, and freed. No use is made of them so far
Signed-off-by: James Booth <boothj5@gmail.com>
2014-06-23 21:05:46 +01:00
Immae
66ad23b35b having wprintw go through win_save_(v)print.
Signed-off-by: James Booth <boothj5@gmail.com>
2014-06-23 21:05:43 +01:00
Immae
5e841febd0 Added horizontal scroll for resized windows
Signed-off-by: James Booth <boothj5@gmail.com>
2014-06-23 20:23:07 +01:00
James Booth
8ae6d359d7 Moved info display code to window.c 2014-06-03 21:14:21 +01:00
James Booth
d6e92f62dc Fixed cppcheck warnings 2014-04-26 00:36:36 +01:00
James Booth
ef776e52ca Tidied xmlconsole 2014-04-15 23:45:17 +01:00
James Booth
404dde2810 Renamed refresh functions to update_virtual 2014-04-01 21:52:04 +01:00
James Booth
3fdd9944ab Do not scroll to end in message window when paging 2014-03-31 21:44:34 +01:00
James Booth
26726b207a Updated copyright 2014-03-09 01:18:19 +00:00
James Booth
0f0cd4cdab Use wnoutrefresh, pnoutrefresh and doupdate
Issue #298
2014-02-02 23:58:01 +00:00
James Booth
12666b41e6 Refactored handle_presence_error, removed no longer used functions 2014-01-30 22:20:57 +00:00
James Booth
4e97c1e460 Merge branch 'master' into otr 2014-01-12 01:25:35 +00:00
James Booth
03086c0384 Added /otr theirfp with hardcoded fingerprint 2014-01-11 19:10:00 +00:00
James Booth
b5469e2e06 Added [OTR] and (trusted/untrusted) to titlebar for OTR sessions 2014-01-11 18:24:44 +00:00
James Booth
9daefe170d Require '/otr start' from both parties before encryption used both ways 2014-01-11 17:03:01 +00:00
James Booth
98b1b96e59 Fixed win_handle_error_message 2014-01-08 22:20:05 +00:00
James Booth
4cc4461c0f Removed handle error message function from ProfWin 2014-01-08 20:27:18 +00:00
James Booth
d99f1536ec Removed print message function from ProfWin 2014-01-08 20:11:53 +00:00
James Booth
2d534fb278 Added win_page_off 2013-10-07 00:59:17 +01:00
James Booth
9bea1ce830 Moved win_show_status function to window module 2013-10-06 23:52:50 +01:00
James Booth
c6c0a94bb0 Removed generic functions from ProfWin 2013-10-06 23:22:46 +01:00
James Booth
47c96ed4e7 ProfWin->print_incoming_message added 2013-10-06 19:11:51 +01:00
James Booth
a527beabd3 Added show_char and attrs to ProfWin->print_line 2013-10-06 18:00:22 +01:00
James Booth
fc8982e761 Added muc_window 2013-10-06 17:46:22 +01:00
James Booth
3cc080b06a Remove implicit refresh from ProfWin->print_line 2013-10-06 02:17:45 +01:00
James Booth
6441e06279 OO style for ProfWin type 2013-10-06 02:02:05 +01:00
James Booth
33fc43d5e2 Added win_refresh function 2013-10-06 01:30:53 +01:00
James Booth
9c1809a50e Refactored error message handling 2013-10-06 01:28:25 +01:00
James Booth
bca379844d Free windows on exit 2013-08-26 17:47:29 +01:00