Commit Graph

36 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 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 0d96e29494 express: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-06-28 13:48:18 -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
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 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 48dad68374 express: Make url links use elm_layout so we can handle tooltips
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-30 16:10:09 -04:00
Srivardhan Hebbar e273df30d0 express: Made gravatar configurable.
Summary: Added option to enable/disable gravatar feature. Also reverted the eina_file_mkstemp changes, because, it doesn't work the way it is supposed to work. It doesn't return a random file. Raised a bug for it: https://phab.enlightenment.org/T2203

Reviewers: devilhorns

Reviewed By: devilhorns

Differential Revision: https://phab.enlightenment.org/D2141
2015-03-17 09:48:30 -04:00
Chris Michael 6c92c8f1d8 express: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-09 10:50:43 -04:00
Srivardhan Hebbar 4d74e09ff0 express: Adding Gravatar functionality.
Summary:
Gravatar is working fine. I will add option to on and off Gravatar in another patch. Now gravatar is enabled always.

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

Reviewers: devilhorns

Differential Revision: https://phab.enlightenment.org/D2106
2015-03-09 10:47:41 -04:00
Srivardhan Hebbar 59a1570e66 express: Adding mouse over functionality.
Summary: Adding mouse over functionality in the express.

Reviewers: devilhorns

Differential Revision: https://phab.enlightenment.org/D2058
2015-02-27 09:29:10 -05:00
Chris Michael 12a6a7f47b add teamwork support for Mike :)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-12 16:50:44 -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 c945e4b200 remove define from grid file
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-12 09:28:40 -05:00
Chris Michael b21034e3e6 remove dead assignment
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-11 15:50:07 -05:00
Chris Michael 2862649ae6 support column for usename and column(s) for text
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-11 13:02:17 -05:00
Chris Michael 3a06887852 Patch from Vincent to cleanup warnings on windows
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-06 13:05:35 -05:00
Chris Michael 872bbcc596 replace 'casestartswith' function with eina_str_has_prefix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-04 13:53:33 -05:00
Chris Michael e64e058934 add support for highlighting urls on mouse over.
add support for launching urls.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 15:22:35 -05:00
Chris Michael 1c030bb1aa fix appending new text to proper position after grid has been resized
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 15:47:55 -05:00
Chris Michael 7fd14b1b07 handle horizontal tabs in the grid
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 14:26:03 -05:00
Chris Michael fdd0788581 remove dead comment
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 10:17:25 -05:00
Chris Michael bea867665f clear grid on scroll
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 10:16:27 -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 692f58c421 start on grid cell allocation so we can get to displaying text ;)
NB: unfinished yet

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-05 16:04:27 -05:00
Chris Michael f8d4573fa1 Move grid structure to header file, add function calls to register a
grid for saving.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-03 15:44:41 -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 e8a015db81 add function to set the grid window so we can do smart callbacks for
selection

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 13:31:41 -05:00
Chris Michael b9a63f145d Big giant "rework" commit to redo the UI code (faster, easier to
manage).

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 11:11:32 +00:00
Chris Michael ec853e9a25 Add code to grid for catching key down and mouse events
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-04 14:47:44 +00:00
Chris Michael 0e79b5ce2c Add function for getting grid name and save grid name during _grid_add
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-04 11:30:28 +00:00
Chris Michael b752cea680 Add function to init grid default colors.
Update textgrid cells in _smart_apply.
Add focus_in & focus_out callbacks to for cursor object.
Add function to set initial grid config.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-12-27 20:44:46 +00:00
Chris Michael 7e4def95e9 Add textgrid object
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-12-27 20:44:46 +00:00