Commit Graph

32 Commits

Author SHA1 Message Date
Srivardhan Hebbar b34928d029 express: Changed help cmd implementation.
Summary:
I've changed the way of implementation itself. Check and let me know.
Actually, the callback for away can handle for many commands. The name of the callback should be changed. But thought, will get feedback from you about the implementation, and if this is fine then change the name to suitable and add all the commands.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: devilhorns

Differential Revision: https://phab.enlightenment.org/D2519
2015-05-18 09:31:38 -04:00
Srivardhan Hebbar 5e10671c9c express: Added Admin and Away commands.
Summary:
Added Admin and away commands. Also cleanedup commands.c file

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: devilhorns

Differential Revision: https://phab.enlightenment.org/D2497
2015-05-12 08:47:41 -04:00
Andy Williams 474ce07250 colors: Add support for irc color codes
Removed the old color pallette and replace with an iRC compatible one.
This can be updated in the future to provide the colors from the theme.
We could also add specific elements to the pallette so we don't
have to re-use defines that are used by the IRC color codes.
2015-05-11 23:13:27 +01:00
Chris Michael 96e670f85e express: Add EINA_UNUSED for unused function paramater
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-11 10:20:57 -04:00
Srivardhan Hebbar 62ae35980b express: Added Status tab to display status messages.
Summary:
Just like in other IRC clients all the status messages now gets
displayed in the status tab. Checked x-chat and in the same way all the
messages gets displayed in the express also now.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: devilhorns

Differential Revision: https://phab.enlightenment.org/D2478
2015-05-11 10:04:01 -04:00
Chris Michael 6fdc9ca8d1 express: Format for 80 columns
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-04 18:55:10 -04:00
Simon Lees da71967e4c Add Color: Initial Commits to support colors for various items.
Summary:
This is as much for a comment on architecture etc as anything else, I spend most of my life as a C++ programmer rather then a C programmer so please pick me up on any mistakes.

There is a screenshot at https://www.enlightenment.org/ss/display.php?image=e-553b74f32cc007.85260218.jpg

Add Color: Better document items in struct
Add Color: add a simple row_color_create function
Add Color: Add a Color_Row variable to the Grid struct
Add Color: Initial working color support

For now nicks are in a different color, there is lots of tidy up work to do here as well as picking better colors and allowing finer grain color setting further up the chain, this will come soon

Add Color: Remove the color override stuff
Add Color: Define and set colors for each roll

Reviewers: devilhorns

Subscribers: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D2429
2015-05-04 18:47:59 -04:00
Simon Lees c99d082a92 Fix: Part, Quit and Nick Rename messages, nick needs eina_stringshare
Summary:
As these nicks are compared in eina lists against the channels nick
lists these strings need to be eina stringsared to work correctly.

Reviewers: devilhorns

Differential Revision: https://phab.enlightenment.org/D2433
2015-04-28 09:19:30 -04:00
Chris Michael 4ea006427c express: Implement support for users changing nicknames
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-03 14:31:44 -05:00
Chris Michael 7675357bdd express: Hook into callback for user changing nickname
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-03 14:10:43 -05:00
Chris Michael fae267cd01 express: Support servers which auto-join channels when connecting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-03 13:05:51 -05:00
Chris Michael 48663bc45d express: Fix printing of user left message and add printing of user
quit message

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-20 12:21:10 -05:00
Chris Michael 39b74a1c00 strip '\r\n' from user names
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-12 13:45:32 -05:00
Chris Michael d318ec5926 don't segfault when freeing users
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-11 11:30:19 -05:00
Chris Michael 4008027e4f use channel 'active', not channel focus when writing to a channel
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-11 09:55:01 -05:00
Chris Michael d0765d9189 handle parsing irc NAMES command
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-30 14:54:35 -05:00
Chris Michael fc9b8551e3 show/hide userlist when we get channel users from network
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-30 13:03:52 -05:00
Chris Michael 09823824d3 remove blank line
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 14:36:38 -05:00
Chris Michael 60e38fda84 add callback hook for server notices
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 14:24:53 -05:00
Chris Michael 3938af1641 add callbacks for channel names and private messages
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 12:23:28 -05:00
Chris Michael 9da7e96167 Fix printing of topic time
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 11:53:08 -05:00
Chris Michael 6225e686bc add support for TOPIC_TIME message
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 11:32:18 -05:00
Chris Michael 5b41eb77e3 implement callback for channel join messages
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 10:44:07 -05:00
Chris Michael 8a6554a10f setup proper hook for user_quit callback.
Implement user part & join callbacks

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 15:26:47 -05:00
Chris Michael dafbb86da9 enable some more debugging for Andy
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 13:09:47 -05:00
Chris Michael f61a78eb61 add support for channel topic displaying
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 15:35:44 -05:00
Chris Michael 2a85cde33d modify calls to channel_text_append function and add a source/user
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 14:26:58 -05:00
Chris Michael 5b06da057e comment out debug messages
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-12 15:08:20 -05:00
Chris Michael 5ccfbc70e8 add ability to send messages to the proper channels
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-11 14:14:34 -05:00
Chris Michael b2c045a1d8 Start processing network callbacks (this is prep for showing txt).
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:32:08 +00:00
Chris Michael a00740b30e Actually create/destroy Channel tabs when a server gets connected/disconnected.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 14:40:03 +00:00
Chris Michael edbddea696 Add callbacks file
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 12:04:02 +00:00