Commit Graph

243 Enmetoj

Author SHA1 Message Date
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
pisarzk@gmail.com ac7a745bf9 Add message count to notifications
Added unread message count to window title and also in notification.
Made one notification for each conversation, with new messages, the
count is simply being updated.
2013-07-30 20:54:22 +02:00
barrett 5e26a038dc Updated TODO in CayaPreferences. 2013-04-06 19:59:46 +00:00
barrett 007af3d89a Patch from Maciej Janiszewski which adds support for hiding offline contacts, message notifications and caya can now set the window title to unread state, all functions can be disabled from settings as well. Thanks\! 2013-04-06 19:47:04 +00:00
barrett 53c5c02d66 Set better proportions between the send and receive views of the ChatWindow. Made the window split more thin. 2013-01-04 17:37:53 +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 14fee07aeb A lot of style fixes, fixed a lot of warnings in RunView and Theme classes. 2012-10-18 20:59:15 +00:00
barrett 9cf1222142 Fixed a bug of the RosterListView menu. 2012-10-01 12:29:15 +00:00
barrett 8a27f1f3db Added the 'Start Conversation' menu to the RosterListView. Disabled the menus referring to unimplemented features. 2012-09-28 21:19:24 +00:00
barrett 133d3be911 Solved a double free. 2012-09-28 20:55:40 +00:00
barrett 5df2084053 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
barrett 92f2ee4547 Improved the behaviour to don't get focus when a message is received or the user is typing, from that rev the chat window will appear on the screen without leaving the focus of your current application. But there are two exeptions...when a window is created the first time or the user open it from the contacts list it will get focus. Other little fixes, changed variable names and style. 2012-06-07 16:46:07 +00:00
barrett d661379bc4 Fixed style and a warning, removed unuseful source file. 2012-05-29 00:44:02 +00:00
barrett 8ec3b19976 Added missing SearchBarTextcontrol class 2012-05-15 19:34:23 +00:00
barrett 088a1bb5f5 Fixed a AIM plugin build error introduced in recent revs. 2012-05-15 19:28:56 +00:00
barrett 2ed795031f Fixed another memory leak. 2012-05-15 17:31:31 +00:00
barrett 7540f60d24 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
barrett 710a3c6526 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
barrett de33c1be80 Added code to show protocol's icon in the chat window. 2012-05-01 22:42:09 +00:00
barrett 493fed2f80 Setted the Person icon from haiku artwork as default contact icon. 2012-05-01 21:09:56 +00:00
barrett 9df2b09f45 Added a little bitmap at the left of the avatar in the contact list, that show the icon of the contact's protocol. Added a needed little method in the ContactLinker to get the contact protocol's bitmap as well. 2012-05-01 19:48:15 +00:00
barrett 9f4470c334 Modified the Replicant preferences string to notify that it's working only under gcc4hybrid atm, a development release will follow. 2012-03-24 23:54:58 +00:00
barrett 7318f6f28b Modified the CayaPreferencesData class to become a BFlattenable, this remove the limit of having a fixed-size buffer for string settings. 2012-03-24 14:56:00 +00:00
barrett b96ea4c6bf Fixed a bad behaviour showing and locating the chat windows. 2012-03-19 20:43:18 +00:00
barrett 2f142c0d67 Added replicant preferences view. 2012-03-13 22:57:04 +00:00
barrett 0696ce92db Updated replicant menu icons. 2012-03-12 01:41:46 +00:00
barrett 19869c3970 Fixed code style, fixed a regression that caused a bad position when the chat window is created. 2012-03-12 00:40:37 +00:00
barrett 730e9d3d49 Added a simple WIP ContactInfoWindow that will be improved while we add new informations available in the ContactLiker, actually it's useful to get the contact id/email. 2012-03-11 15:11:29 +00:00
barrett b80c9b2b11 Modified the preferences to select if the chat window should be auto raised when a message is received or when a user is typing, or both. This fix the issue #555. 2012-03-09 00:35:02 +00:00
barrett 8516381043 Enabled notifications using the BNotification API, including enable/disable settings. The plugins that support it are XMPP and MSN. Added another tab in the preferences window named Replicant and moved the replicant settings here. 2012-03-08 22:55:13 +00:00
barrett 2f417339f4 Added the code to lock the window looper before to update the avatar. 2012-03-08 01:17:32 +00:00
barrett 3f2f2783ff The personal message of a contact is now show in the chat window, added also the needed code in Server.cpp to update the windows. Solved a bug with the contact avatar that was causing Caya to crash. 2012-03-08 00:47:00 +00:00
barrett c22310f510 Modified ContactLinker : moved some inline methods from class declaration, added Get* methods for contact status and status message. Added code in the ChatWindow to show the current avatar of the user. Modified the Server to allow a plugin set the status message when sending a IM_CONTACT_INFO notification to the server, as before it's already possible to do it using a IM_STATUS_SET message. 2012-03-07 19:22:09 +00:00
barrett 8d04f539c2 Added code that allow the deskbar replicant to be disabled/enabled from the preferences 2012-03-04 02:27:16 +00:00
barrett cf7646fb00 Modified preferences dialog, better look for Replicant settings, added a new tab for Chat Window settings 2012-03-02 02:23:21 +00:00
barrett f51f924b89 Fixed replicant issue, it's working as well, but only under a gcc4 Haiku atm. Modified disposition of the main gui widgets, now they are placed better. 2012-02-28 00:46:15 +00:00
barrett 9c43174dce AIM : Removed _declspec and removed a unuseful parameter, both were causing warnings. Replaced List<> a std::list wrapper, with BObjectList and removed the _TR macro in ProtocolSettings that is apparently not doing anything. 2012-02-25 20:33:28 +00:00
barrett 68e42252d6 Fixed a little build issue and a warning 2012-02-25 02:46:55 +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
plfiorini 98dd89fb55 Update copyright year. 2011-12-03 22:38:03 +00:00
plfiorini 2fabcc4fe8 Updated copyright notice. 2011-02-14 22:44:57 +00:00
plfiorini c0a63c8f26 Layout API changes. Tested on Haiku r39074, I really don't know what is the first revision with this changes. 2010-10-24 06:27:09 +00:00
plfiorini f8304f0c27 Added IM_CONTACT_GONE message, for contacts leaving the chat. 2010-10-24 06:26:01 +00:00
plfiorini 6ef31b44f1 Check protocol add-ons API version 2010-07-10 19:28:29 +00:00
plfiorini 082f2ad34e Added libdownload from xeD. 2010-07-10 13:37:58 +00:00
plfiorini 30470d4816 Exclude information notifications. 2010-07-03 08:40:04 +00:00
plfiorini fada1ba067 * Changes to notification code for my not yet merged Haiku patch (BNotification API changes).
* Exclude notification code for the moment, until the patch is merged.
2010-07-03 07:55:23 +00:00
plfiorini afe167b86b Bitmap as const argument. 2010-06-22 19:02:42 +00:00
plfiorini 1cd3ad8d26 Ops forgot one typo. 2010-05-30 22:02:50 +00:00
plfiorini ea78353c09 I'd rather prefer "Contact is typing..." than "Buddy is typing...". 2010-05-30 22:00:40 +00:00
plfiorini b172d6fb20 Fix typo, it's Incoming not Incomming. 2010-05-30 22:00:09 +00:00
plfiorini 183a682585 Handles detailed IM_ERROR messages. 2010-05-30 20:50:26 +00:00
plfiorini 5ddeef6e7b * Handle IM_NOTIFICATION.
* Shows notifications when contacts go online or offline. Unfortunately XMPP plugins will send presence notifications when the roster is populate so presence notification is shown for every online contact when the roster list view is populated the first time.
2010-05-30 18:56:24 +00:00
plfiorini d503077fac Implemented IM_PROGRESS, closes #479. 2010-05-30 12:17:32 +00:00
plfiorini f560943e6f Handle IM_OWN_AVATAR_SET.
There's only one little problem that will probably be solved after Alpha1: if you have multiple accounts, all of them will set the avatar icon and the user will see just the last icon set.
2010-05-30 08:51:19 +00:00
plfiorini 95657d52ba * More NULL checks for ContactLinkers.
* When you edit an account in the preferences dialog, this is not readded to the list anymore and so its login is not triggered another time.
2010-05-30 04:28:04 +00:00
urnenfeld 17fdd9b0ca Align Status in chat window
Clean the status when a message is received
2010-05-28 23:05:57 +00:00
urnenfeld 3a8af7c9f9 Forwarding messages to ChatWindow
Added stringview as status feedback
2010-05-28 22:38:16 +00:00
plfiorini ff80897441 Set name only if it's a non-empty string and handle IM_EXTENDED_CONTACT_INFO in order to use full name if the contact still don't have a name. 2010-05-28 21:31:53 +00:00
plfiorini 0fb4c94b82 Default avatar icon must be notified to observer. 2010-05-28 17:21:48 +00:00
plfiorini 12852eb377 Fix crash when msn plugin is not installed.
When the protocol looper is set we get its CayaProtocolAddOn and retrieve the protocol add-on's icon that is used as the default icon for the contact.
2010-05-28 17:20:02 +00:00
plfiorini af48b464ef Hide implementation details. 2010-05-28 17:11:16 +00:00
plfiorini d03a6fb884 Install headers for external protocols. 2010-05-28 01:08:18 +00:00
barrett a43602fb37 added basic functions to the plugin, contact list, chatting, nudges. 2010-05-25 03:19:09 +00:00
urnenfeld f45da3af40 Store preferences in a File 2010-05-22 14:18:11 +00:00
urnenfeld 8e956baea7 Remove ignored typedef warning for GCC4 2010-05-22 14:17:02 +00:00
plfiorini 88c5eedc9b Some style violations fixed. 2010-05-20 21:31:55 +00:00
plfiorini 4edae0a786 Caya icon! 2010-05-20 19:15:43 +00:00
urnenfeld 52b169b0ba Implement 'Ignore Emoticons' feature in preferences 2010-05-20 18:37:01 +00:00
plfiorini b314c7abd8 * Rewrote BitmapView's MinSize(), MaxSize() and PreferredSize() methods.
* Added BitmapView::Bitmap() method.
* BitmapView::SetBitmap() now doesn't resize the view anymore.
* BitmapView has now a minimum size of 32x32.
* Draw bitmap on BitmapView using B_FILTER_BITMAP_BILINEAR.
* StatusView sets now explicit max and preferred size to 50x50 for the avatar icon view and doesn't resize the bitmap explicitely.
* Small style violation fixes.
2010-05-20 18:11:32 +00:00
plfiorini 4412809657 Fix some style violations. 2010-05-19 22:28:26 +00:00
urnenfeld c67f1936c0 * Use all area provided in the window 2010-05-19 22:06:25 +00:00
plfiorini cc898075d2 Fixed what mankind will remember as the 'Massive Breakage due to "blind svn merge"'. 2010-05-19 21:36:36 +00:00
plfiorini 2ee14f4c14 * Some style violation fixes.
* Code aligned to recent multiprotocol branch changes.
* Fixed crash when Server filters IM_STATUS_SET messages and ContactLinker is NULL.
2010-05-19 20:37:26 +00:00
urnenfeld 533117dc61 * Fix GCC4 build 2010-05-19 18:49:41 +00:00
urnenfeld 818c28d43d * Add Behavior tab in Preferences with options in ticket #476
* Implement enabled ones
* Add canditate preferences
* Implement singleton-like preferences class CayaPreferences. These are working but they are not stored in file at closing
2010-05-19 18:05:30 +00:00
plfiorini 8d1c0d1a9d Merging r148, r154, r155 with trunk. 2010-05-19 17:11:22 +00:00
plfiorini 97ae80798d Fixed build with gcc2. 2010-05-16 21:19:35 +00:00
plfiorini 4bdc37a60e Merged multiprotocol branch with trunk. 2010-05-16 21:02:50 +00:00
plfiorini 8d6d06dbfe Adding AIM protocol from Alexander Botero-Lowry, but it needs polishing. 2010-05-12 20:42:46 +00:00
plfiorini 7d4a7d1c24 Use status icons instead of simple circles. 2010-05-12 18:59:17 +00:00
plfiorini 2f6f458fe0 About dialog. 2010-05-12 18:57:19 +00:00
plfiorini 8d7033efbb Adding more menus... 2010-05-12 18:15:21 +00:00
plfiorini b1ddb3c032 Use B_FILTER_BITMAP_BILINEAR. 2010-05-10 22:42:54 +00:00
plfiorini dd8d0d1f5a Gcc4 build fixes. 2010-05-10 21:54:28 +00:00
plfiorini affca15f8b Added utility functions to get account paths. 2010-05-09 09:38:30 +00:00
plfiorini 3127e2b049 Renamed caya.rdef to Caya.rdef. 2010-05-09 08:25:28 +00:00
plfiorini 2e8cd94f8c * Now using a grid layout.
* Implemented the "wrench" menu (it needs an icon).
2010-05-09 08:23:53 +00:00
plfiorini bcc5118ba4 Added AccountDialog and AccountView, previously the code was in PreferencesAccounts.cpp. 2010-05-09 06:27:48 +00:00
plfiorini 454762c7eb Preferences dialog is progressing... 2010-05-08 19:35:28 +00:00
plfiorini 4b01bd22bb Moved RescaleBitmap() utility function to BitmapUtils.{cpp,h}. 2010-05-08 16:21:36 +00:00
plfiorini b1388d17e8 * Moved KeyMap.h to libsupport.
* Added missing Singleton.cpp.
* Fixed List.
2010-05-08 00:23:36 +00:00
plfiorini 0bf4b59922 Usual SVN tree (branches, tags, trunk). 2010-05-07 09:47:10 +00:00