Commit Graph

54 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 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
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 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 cf41f6d06a express: Format for 80 columns
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-04 18:58:54 -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
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 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 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 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 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 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 fb4d13bd98 express: Fix sizing of userlist and also fix scrollbars showing up
when not needed

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-03 14:10:07 -05:00
Chris Michael 86e612da39 express: Add function(s) to find a user in a channel
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-20 12:20:45 -05:00
Chris Michael 3bd87f8739 express: Store channel opcount in each channel separately
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-20 11:30:08 -05:00
Chris Michael 6c195d3e38 express: Add a user count label to channel userlist to show total
number of users

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-20 11:22:39 -05:00
Chris Michael 7c191eef05 sort operators in userlist by available 'data'. we cannot sort by if
they have an icon or not because the 'icon' does not actually get set
until the item is realized.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-13 16:00:44 -05:00
Chris Michael b7088bb4fa first semi-usefull nickname completion
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-12 15:25:21 -05:00
Chris Michael df53d4f855 remove unused nicklen variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-12 14:48:25 -05:00
Chris Michael 46e57ef464 print list of possible tab-completion nicknames to grid
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-12 14:46:31 -05:00
Chris Michael dff57e7052 make grid use the network-defined maximum nickname length
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-12 14:08:06 -05:00
Chris Michael 3d3820a912 start work on 'Tab' nick completion in entry widget
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-12 14:02:24 -05:00
Chris Michael 4ca49cebcd hook into entry changed signal so we can start work on nickname
completion

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-11 15:55:47 -05:00
Chris Michael 1104b6a136 fix channel entry focus issues when activating channels
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-11 14:04:25 -05:00
Chris Michael aead1f5b32 set channel entry focus according to active state
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-11 13:09:20 -05:00
Chris Michael ba27f70af4 add function to update channel tab color on missed messages
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-11 11:11:03 -05:00
Chris Michael 2981ba11f9 add support for tabs to channels
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-11 09:50:01 -05:00
Chris Michael 5ec1496c53 Fix eo and elm warnings about widget not being parent
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-07 11:48:15 -05:00
Chris Michael e7e7eef7b9 implement hiding of channel list if grid is clicked
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-06 11:50:30 -05:00
Chris Michael 5135603dcc sort channel user list by op and alphabetical
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-06 11:02:19 -05:00
Chris Michael f07b950679 add function so we can append users to the channel's user list
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-30 14:54:15 -05:00
Chris Michael 34d50e5ecb add start of userlist code
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-30 13:03:35 -05:00
Chris Michael 1d4a315083 write text to channel when message is sent by the user
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 10:50:30 -05:00
Chris Michael b05756d466 send text to the channel when Enter is pressed
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-19 15:08:09 -05:00
Chris Michael 2c8ed6a5b0 hook into entry activated callback so we can start sending text to
channels

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-19 14:01:35 -05:00
Chris Michael bb477ea448 for now, entry will be always visible
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-19 13:52:32 -05:00
Chris Michael d8acc7216a start work on an entry for channel input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 16:33:17 -05:00
Chris Michael 1ba6075b85 add FIXME note
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 14:36:49 -05:00
Chris Michael af99dea79c fix up channel count and missed channel count to work properly
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 13:49:15 -05:00
Chris Michael 00bc2f0754 modify text append function to accept a nick parameter also
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 14:26:18 -05:00
Chris Michael e021e73e9b remove debug printing of channel text
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 11:14:01 -05:00
Chris Michael eb055ef1bf start on appending text to the grid (version 2) ;)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-12 15:09:42 -05:00
Chris Michael f1ab6b82e2 use an eina_binbuf to store channel text (the theory is that we will
write the text to the actual grid in an idler maybe)...

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-11 14:48:01 -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 0db9795f21 Fix resizing of grid and window.
Fix issue of size_hint_change causing grid to get larger

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 15:10:54 -05:00
Chris Michael e87014fab2 cleanup channel objects on delete
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 13:48:43 -05:00