Commit Graph

91 Enmetoj

Author SHA1 Message Date
Jaidyn Ann 930c500988 (libinterface) Better-looking and functioning MenuButton 2021-08-02 12:12:54 -05:00
Jaidyn Ann 150fd736e1 (libinterface) Add SetText() to UrlTextView 2021-08-01 17:04:52 -05:00
Jaidyn Ann 5dcf59a7e9 (libinterface/runview) Split RunView's URL highlighting into seperate class 2021-08-01 06:56:07 -05:00
Jaidyn Ann ebc9d4041f Remove unused NotifyingTextView class 2021-07-29 22:47:30 -05:00
Jaidyn Ann 89ff195c8d Set room topic/name through conversation view
If the user has permission to change a room's subject or name, they can
now edit the text views displaying them (toward the top of the window).
When enter is pressed, the changes will be sent to the protocol.

To do this, a BTextView subclass was added to libinterface
(splitting somewhat from SendTextView)― EnterTextView sends a message
containing the text to the given target when the user hits enter sans
modifiers.
2021-07-29 22:00:01 -05:00
Jaidyn Ann 758bbb072a (libinterface) Add 'square' scaling option to BitmapView
When toggled, this option disallows the scaled-to view rect being
uneven.
2021-07-27 20:48:03 -05:00
Jaidyn Ann 0a0b29d349 (librunview) Fix use of B_REGULAR_FACE if not default 2021-07-25 11:37:17 -05:00
Jaidyn Ann 33ad4d8acf More scalable ToolButton
Replaces libinterface's ToolButton, a custom button that can display
a pop-up menu on click (along with a custom image). It didn't scale well
with different themes and font-sizes compared to BButtons― which
ToolButton is supposed to look like to begin with.

A BButton-derived class is used instead, so these buttons look more
in-place among other buttons.
2021-07-23 23:43:42 -05:00
Jaidyn Ann 9245dc7135 Auto-scroll ConversationView, fix RunView append 2021-07-21 12:10:20 -05:00
Jaidyn Ann c6f907101a (librunview) Remove URL hovering
It's less stable than I'd anticipated, and needs more workshopping. I'll
keep it in another branch (and git history) for later use.
2021-07-16 15:41:35 -05:00
Jaidyn Ann e07ee29d13 (librunview) Fix hover-over for multiple links 2021-07-15 14:59:51 -05:00
Jaidyn Ann b7c7ad6064 (librunview) URL hover-over/visited colouring 2021-07-15 13:01:21 -05:00
Jaidyn Ann 67ea3cd760 (librunview) Add right-click menu 2021-07-14 22:13:59 -05:00
Jaidyn Ann 9c2ab6ed0a (librunview) Selecting URLs 2021-07-14 20:28:52 -05:00
Jaidyn Ann bc55617f81 (librunview) URL highlighting 2021-07-14 15:13:36 -05:00
Jaidyn Ann e760818007 (librunview) Init new RenderView/RunView
Base-level replacement of the Vision-derived text RunView― a couple
important features supported by the replacee haven't been implemented yet,
including:
	* Right-click menu
	* URL-highlighting/selection
	* Emote support
2021-07-14 15:12:04 -05:00
Jaidyn Ann f6a006dddc librunview/libsupport x86_gcc2 fixes 2021-06-30 14:25:58 -05:00
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