Commit Graph

427 Commits

Author SHA1 Message Date
Chris Michael c61dd7f81a Revert "colors: Add support for irc color codes"
This reverts commit 474ce07250.

Reverting this as it completely broke scrolling of channel text
2015-07-22 13:46:45 -04:00
Chris Michael 272720d30d express: Remove dead line
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-22 11:37:08 -04:00
Chris Michael 3fc1ec5609 express: Remove need for extra int variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-22 08:30:36 -04:00
Chris Michael 63a011f9e2 express: Fix inconsistencies while debugging broken scrolling
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-06-28 13:49:38 -04:00
Chris Michael 4aabf71564 express: Fix conditional tests
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-06-28 13:48:40 -04:00
Chris Michael 0d96e29494 express: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-06-28 13:48:18 -04:00
Srivardhan Hebbar a5d4187e65 express: Adding command handlings for whowas, whois and who commands.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: devilhorns

Differential Revision: https://phab.enlightenment.org/D2572
2015-06-01 09:49:50 -04:00
Chris Michael c107441d67 express: Correctly handle empty lines while selecting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-18 14:07:33 -04:00
Chris Michael e74402262e fix minor formatting issue
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-18 09:32:02 -04:00
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 e0499cee00 express: Fix possible double-free of Row_Color (Fixes T2404)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-11 10:01:42 -04:00
Chris Michael c483e14ad0 express: Fix T2398 (channel messages not being displayed in channel)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-06 09:11:28 -04:00
Chris Michael cf41f6d06a express: Format for 80 columns
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-04 18:58:54 -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
Chris Michael 29200c9c1f express: Move row_color_simple_create function prototype
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-04 18:53:01 -04:00
Chris Michael 6490eacd29 express: Fix minor formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-04 18:50:33 -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
Chris Michael 285d632e90 express: Fix T2371 where focus would switch to channel entry when name changed
Summary: This fixes Some of the focus issues, however there are a
bunch more that I just discovered ... with no Simple way to address
them.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-28 14:17:21 -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
Srivardhan Hebbar 8efe3c92e7 express: Adding join and quit commands.
Summary:
Hey, Join command is working fine.. But there is problem with the quit. It quits all the channels which are connected. Need some suggestion.

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

Reviewers: devilhorns

Reviewed By: devilhorns

Differential Revision: https://phab.enlightenment.org/D2406
2015-04-28 09:18:15 -04:00
Chris Michael 3694a56087 express: Ignore case of commands when comparing
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-16 11:00:34 -04:00
Chris Michael 27d84340d3 express: Rename command function to prefix with _cmd
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-16 10:59:06 -04:00
Srivardhan Hebbar bc86fdcdb5 express: Added help command handling.
Summary:
I've not added help for all the commands. Let me know how the way it is. In the _handle_txt function, I was thinking of handling all the commands. Then, for each command a function to handle that command. What do you think about it?

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

Reviewers: devilhorns

Differential Revision: https://phab.enlightenment.org/D2316
2015-04-16 10:56:37 -04:00
Chris Michael 718f1153b4 express: Reduce calls to edje_object_part_swallow. Don't need them here.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-13 20:22:36 -04:00
Chris Michael 916c9bfa67 express: Don't need to call the second show program here
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-13 20:22:15 -04:00
Chris Michael cd06d81420 express: Check getenv(LOGNAME) for user name first before using getlogin()
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-13 10:02:14 -04:00
Chris Michael 4f79bcfa79 express: Make sure we actually have text to send from the entry before trying to send to channel
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-13 09:52:13 -04:00
Chris Michael e849212f34 express: Remove debug line
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-13 09:15:00 -04:00
Chris Michael eb44199864 express: Highlight current active channel when adding to treeview
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-13 09:14:22 -04:00
Chris Michael 23ca94c072 express: Fix issue of dynamic switching between tabs & treeview
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-13 08:59:30 -04:00
Chris Michael ec4d2dde21 express: Minor formatting fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-13 08:30:33 -04:00
Chris Michael b52ec72319 express: Increase resolution of bg_shine
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-13 08:28:41 -04:00
Andy Williams 258756572c express: respect scale for minimum size 2015-04-12 23:55:18 +01:00
Chris Michael eec4dd91bf express: Start work on dynamic switching between tabs & treeview
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-12 18:26:51 -04:00
Chris Michael 9195f3fcbf express: Slightly increase space between tabregion and channel grid
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-12 18:24:11 -04:00
Chris Michael e34cf6ddfe express: Modify theme so that grid does Not draw over tab region when we switch between treeview & tabs
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-12 18:19:29 -04:00
Chris Michael bb2545ccf7 express: Disable Video config option for now as we have nothing in there
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-12 11:28:29 -04:00
Chris Michael ae059b6ad6 express: Make userlist align to bottom of tabregion
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-12 11:26:06 -04:00
Chris Michael 9efa17c431 express: Don't create treeview if we are using tabs
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-12 11:03:45 -04:00
Chris Michael 6c8b9faa1e express: Fix default treeview state to not take up space when invisible
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-12 11:02:07 -04:00
Chris Michael 1e30ca9298 express: Listen for Tab/Treeview radio change and update config
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-12 11:00:44 -04:00
Chris Michael 260519c1c6 express: Add initial support for treeview
NB: Not entirely complete yet, but sort of functional ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-11 21:11:21 -04:00
Chris Michael f2b697a508 express: Modify default theme to handle treeview and move user list
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-11 21:10:48 -04:00
Chris Michael 6d16d808b5 express: Only update tabbar, tabcount, etc when tabs are enabled
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-10 10:58:07 -04:00
Chris Michael a6eda968fe express: Re-enable Treeview option
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-10 10:57:46 -04:00
Chris Michael 8c98baf110 express: Move userlist to right of window
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-10 10:57:21 -04:00