Chat-O-Matic/application/views
Jaidyn Ann dc3fdd65c8 Store chatlogs in binary and text formats
If chat logs are stored in an endless plain-text file, they're going to be a
pain to parse. If they're stored in a binary file, they're a pain for
the user to `grep` or go through manually, but they're easier to parse.

Why not both?

Logs are now stored with a BMessage (with BStringLists) in the 'logs'
attribute, and the plain-text logs in the file itself.

The attribute will only store 20 messages, but the file itself will be
appended to forever.

The logs directory also changed, from ~/config/settings/Caya/Cache/Logs
to ~/config/settings/Caya/Logs.

Useful functions for reading/writing messages to and from an attribute were
borrowed from BePodder's libfunky. :-)
2021-06-06 12:02:26 -05:00
..
CayaRenderView.cpp Use system colors instead of hardcoded for CayaRenderView 2021-05-30 19:34:07 -05:00
CayaRenderView.h Populate conversations with logs, if any saved 2021-05-24 19:12:42 -05:00
ConversationItem.cpp Write conversation list, put it in main window 2021-05-27 11:15:30 -05:00
ConversationItem.h Write conversation list, put it in main window 2021-05-27 11:15:30 -05:00
ConversationListView.cpp Allow leaving/getting booted from rooms 2021-06-04 16:32:18 -05:00
ConversationListView.h Add Vision-like Window menu, conversation list tweaks 2021-05-30 20:46:53 -05:00
ConversationView.cpp Store chatlogs in binary and text formats 2021-06-06 12:02:26 -05:00
ConversationView.h Show/receive room subjects, show protocol icon in conversation view 2021-06-04 13:57:04 -05:00
NicknameTextControl.cpp Updated the contacts list BMenuItem with a complete redesign of the item, added an experimental version of the Search BTextControl showing a text that disappear when the user click on it, updated the Nickname text control to be a BTextView, other minor updates already WIP like more organization of statuses. 2012-05-15 16:48:53 +00:00
NicknameTextControl.h Updated the contacts list BMenuItem with a complete redesign of the item, added an experimental version of the Search BTextControl showing a text that disappear when the user click on it, updated the Nickname text control to be a BTextView, other minor updates already WIP like more organization of statuses. 2012-05-15 16:48:53 +00:00
ReplicantMenuItem.cpp Some style fixes and updated some copyrights. Removed the experimental code around SearchBarTextControl, and restored it to the previous functionality (i.e. no placeholder, until i finish my BTextControl patch to allow it), added also a 'instant search' like functionality to such class (every time you press a character the list is refreshed). This revision will be probably the next candidate for the Caya's optional package. 2012-09-25 21:45:29 +00:00
ReplicantMenuItem.h Some style fixes and updated some copyrights. Removed the experimental code around SearchBarTextControl, and restored it to the previous functionality (i.e. no placeholder, until i finish my BTextControl patch to allow it), added also a 'instant search' like functionality to such class (every time you press a character the list is refreshed). This revision will be probably the next candidate for the Caya's optional package. 2012-09-25 21:45:29 +00:00
ReplicantStatusView.cpp Switch from Jam to Make 2021-05-19 16:12:19 -05:00
ReplicantStatusView.h Some style fixes and updated some copyrights. Removed the experimental code around SearchBarTextControl, and restored it to the previous functionality (i.e. no placeholder, until i finish my BTextControl patch to allow it), added also a 'instant search' like functionality to such class (every time you press a character the list is refreshed). This revision will be probably the next candidate for the Caya's optional package. 2012-09-25 21:45:29 +00:00
RosterItem.cpp Rename ContactLinker to Contact 2021-05-23 14:39:07 -05:00
RosterItem.h Rename ContactLinker to Contact 2021-05-23 14:39:07 -05:00
RosterListView.cpp Add user-list to the conversation view, menu tweaks 2021-05-31 10:50:43 -05:00
RosterListView.h Rename ContactLinker to Contact 2021-05-23 14:39:07 -05:00
SearchBarTextControl.cpp Solved a double free. 2012-09-28 20:55:40 +00:00
SearchBarTextControl.h Solved a double free. 2012-09-28 20:55:40 +00:00
StatusMenuItem.cpp Resolved a memory leak, removed unuseful commented code, CAYA_EXTENDED_AWAY replaced with CAYA_CUSTOM_STATUS and added CAYA_INVISIBLE. 2012-05-15 17:20:11 +00:00
StatusMenuItem.h Added a new deskbar replicant with related classes and icons, disabled libdownload and curl depencency, fixed some warnings and style violations around the code 2011-12-14 23:36:27 +00:00
StatusView.cpp Correct spacing and sizes of main window views 2021-05-30 12:30:57 -05:00
StatusView.h Some style fixes and updated some copyrights. Removed the experimental code around SearchBarTextControl, and restored it to the previous functionality (i.e. no placeholder, until i finish my BTextControl patch to allow it), added also a 'instant search' like functionality to such class (every time you press a character the list is refreshed). This revision will be probably the next candidate for the Caya's optional package. 2012-09-25 21:45:29 +00:00
UserInfoWindow.cpp Split 'Contact' class into two 2021-05-23 15:10:14 -05:00
UserInfoWindow.h Split 'Contact' class into two 2021-05-23 15:10:14 -05:00
UserItem.cpp Show/receive room subjects, show protocol icon in conversation view 2021-06-04 13:57:04 -05:00
UserItem.h Show/receive room subjects, show protocol icon in conversation view 2021-06-04 13:57:04 -05:00
UserListView.cpp Show moderation items in right-click user menu, by perm 2021-06-06 01:49:11 -05:00
UserListView.h Show moderation items in right-click user menu, by perm 2021-06-06 01:49:11 -05:00
UserPopUp.cpp Split 'Contact' class into two 2021-05-23 15:10:14 -05:00
UserPopUp.h Split 'Contact' class into two 2021-05-23 15:10:14 -05:00