Commit Graph

74 Enmetoj

Author SHA1 Message Date
Jaidyn Ann 83e98bd5a8 Remove obselete CayaProtocol::SaveLogs(), add ::Commands()
With the new use of RoomFlags for signifying whether or not a room's
chat should be populated with local logs (ROOM_POPULATE_LOGS),
SaveLogs() is redundant.

A Commands() method was added to the CayaProtocol class returning a
CommandMap, which will be used by Caya when searching for commands.

KeyList::AddList() and List::AddList() were also added to libsupport,
for convenience.
2021-06-15 14:40:28 -05:00
Jaidyn Ann 577cfd1ae0 Show timestamps in RunView, with custom values
This makes it so RunView's built-in timestamps are used― but requires
that a time_t be sent with each newly-appended line. This allows for lines to
be backdated or forward-dated.
2021-06-14 14:42:38 -05:00
Jaidyn Ann 242d29c3a6 Custom rgb_colors for use with RunView
Allows custom colors to be dictated to RunView directly from
CayaRenderView. Some colors that were reliant on hard-coded theme
have been replaced with system colors.
2021-06-08 07:34:10 -05:00
Jaidyn Ann 2d34b4edde Slight RunView reformatting 2021-06-07 13:34:20 -05:00
Jaidyn Ann ad673a63f5 Fix libsupport/KeyMap's KeyAt method 2021-06-01 21:41:49 -05:00
Jaidyn Ann ca2e05915d Tweak preferences layout 2021-05-30 22:04:45 -05:00
Jaidyn Ann 48d0b7bc96 Create Conversation class, use it instead of Contact for chats
This is a commit with it's foot in a lot of places, but:

The Conversation class was created as the abstraction of chats: All
ImMessages that are relevant to a conversation get routed through it,
meta-data on chats is stored in it (even if right now that's basically
limited to the user list and ID).

Server was given more methods to help accessing contacts―
ContactById(BString) and AddContact(Contact*). This better allows
Conversations to add and fetch Contacts as necessary. Right now, all
users in chats are treated as Contacts, so in the future creating an
independent userlist for Server (fUserMap?) would be useful.

Server also now stores all Conversations (fChatMap) and has some
convenience methods like for Contacts: Conversations(),
ConversationById(BString), and AddConversation(Conversation*).

CayaRenderView has been changed to not store user nicks, and will use
the appropriate nick of any arbitrarily-numbered user.

Users also have a map of all Conversations they are a part of
(fChatMap).

The Remove* methods of KeyMap now return the removed item.
2021-05-24 01:47:21 -05:00
Jaidyn Ann df55e1d9f5 Switch from Jam to Make 2021-05-19 16:12:19 -05:00
Jaidyn Ann c6c1bb349a Remove obselete libraries/protocols 2021-05-19 15:48:07 -05:00
Jérôme Duval e2cd276b00 x86_64 build fix 2017-01-30 07:23:52 +01:00
Jérôme Duval 7d341e6f3d remove libmsn from the build 2017-01-30 07:21:56 +01:00
Barrett17 53b2614595 Remove old ifdefs. 2015-07-02 22:11:04 +00:00
Barrett17 7f7c723e3b Remove custom ObjectList header. 2015-07-02 22:07:54 +00:00
Dario Casalinuovo 4c2b3ed86c Fix typo preventing to build under gcc4. 2015-06-28 11:51:46 +00:00
Barrett17 e46082eaaa Remove garbage from libyahoo directory. 2015-06-25 11:27:08 +00:00
Barrett17 23285141b3 Make libgloox to work correctly with gcc2. 2015-06-25 11:26:48 +00:00
Barrett17 2237be9a93 Remove MenuPrivate.h, no idea why it was included in the first place. 2015-06-24 16:27:19 +00:00
Barrett17 8ed06e4de5 IconUtils is now Haiku public API remove it. 2015-06-24 16:23:04 +00:00
Barrett17 ab1f28bad2 Remove libdownload which was preserved in a branch. 2015-06-24 16:17:47 +00:00
Barrett17 f487e366fb Add remaining part of libgloox. 2015-06-24 16:08:12 +00:00
Barrett17 05633562d6 libgloox Haiku buildfixes. 2015-06-24 15:56:20 +00:00
Barrett17 7a11cae117 Update libgloox to 1.0.13 2015-06-24 15:52:32 +00:00
barrett17 007d2bda0a Initial rework of the build system to support the latest Haiku changes. Patch from Adrien Destgues included, Thanks! 2013-10-12 17:59:00 +00:00
Barrett 00440a3ffc Initial gcc2 support, patch from Haikuports, with a little modification by myself. Set the deskbar replicant show as default, and removed the gcc4 notice from preferences. 2013-07-31 22:34:52 +02:00
Barrett 830f1216f5 Merging caya and caya-gpl-protocols 2013-07-29 16:58:19 +02:00
barrett a56a343cd0 Set the ToolButton to show the message when the click is received in any part of the widget. 2013-01-04 16:53:37 +00:00
barrett 6572adb23b Codestyle fixes, patch created by Freemann2430 during GCI2012 2013-01-04 13:52:14 +00:00
barrett 101006a459 Patch from Rene Gollent that add a split in the ChatWindow to resize the send and receive views. Thanks!! 2012-11-28 15:20:17 +00:00
barrett dd5c5cada0 Style fix, fixed RescaleBitmap argument type. 2012-10-19 15:58:55 +00:00
barrett 28efc5dc89 Solved warnings in BitmapUtils. 2012-10-19 15:51:39 +00:00
barrett bd165cf8d6 Removed several warnings, code style fixes too. 2012-10-19 15:23:16 +00:00
barrett 9cb0ef099e Style fixes in librunview, solved a regression, solved some warnings. 2012-10-18 23:16:36 +00:00
barrett fdd6eb021b Another little style fix. 2012-10-18 21:04:45 +00:00
barrett 14fee07aeb A lot of style fixes, fixed a lot of warnings in RunView and Theme classes. 2012-10-18 20:59:15 +00:00
inuyasha f21d11a4fc Removed some warning in runview.cpp 2012-10-17 21:21:11 +00:00
inuyasha 8fbe89332e Code cleanup in runview.cpp (removed some warnings), 2012-10-02 21:54:56 +00:00
inuyasha 37f1324431 Removed several warnings in librunview. 2012-06-09 13:14:33 +00:00
inuyasha 9222e170a2 Removed some warnings. 2012-05-24 18:58:31 +00:00
inuyasha 5e999df7dd Code cleanup (removed some warnings) 2012-05-20 13:43:32 +00:00
inuyasha efeaa89657 Removed some warning messages. 2012-05-18 22:00:51 +00:00
barrett d86051bdfe Removed __declspec from msn and yahoo plugins, updated libmsn to the latest version 2012-02-26 03:35:45 +00:00
barrett 4aff3e3422 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
barrett 7800069ca2 The yahoo protocol is stable enough to be included in the trunk. 2011-04-19 22:41:39 +00:00
barrett 46c1a78e54 a little update for libimcomm that allow to use again aim, naturally until AOL will allow iChat since libimcomm is abandoned and a new upgrade will broke it definitely 2010-10-12 18:36:27 +00:00
barrett 297fd986f8 momoving msn plugin to caya gpl plugins subproject 2010-10-09 03:36:24 +00:00
barrett b6b44c0d8a ÂÂmoving libmsn code from branch to the Caya subproject 2010-09-24 13:48:01 +00:00
plfiorini a651de0f53 Automatic style cleanup with the astyle program. 2010-07-10 13:58:15 +00:00
plfiorini 082f2ad34e Added libdownload from xeD. 2010-07-10 13:37:58 +00:00
plfiorini bf2f726629 Return error code when bitmap changes. 2010-06-15 17:09:31 +00:00
plfiorini 1644625480 Added SHA1 class. 2010-05-30 04:26:11 +00:00