Commit Graph

280 Commits

Author SHA1 Message Date
Chris Michael 8ddb6daf86 user weight & align macros
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-30 13:02:48 -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 af8eae9b68 add fields to Grid structure for supporting mouse_over link support
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 15:22:07 -05:00
Chris Michael 80bd55ae60 add utility functions used for url/link support
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 15:21:42 -05:00
Chris Michael 88a26b2184 add function prototypes for link detection
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 15:21:23 -05:00
Chris Michael d195876627 set window urgent on missed messages
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 11:02:58 -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 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 d07544a8ff set the network to be used for the channel when sending text
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-19 15:08:24 -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 7f1371c61b add support for Sending text to channels
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-19 15:07:48 -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 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 09d0c202d5 add support for IDENTIFY for various network types
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 14:04:52 -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 ae8efe5b28 add channel callback hooks for private messages and channel users list
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 12:23:05 -05:00
Chris Michael 928fd054c4 trap channel_names code and raise callback
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 11:53:47 -05:00
Chris Michael 241eccf988 add channel_name to callbacks
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 11:53: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 dc10a57c36 add support for TOPIC_TIME message and mark further callbacks that
need implementing

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 11:32:36 -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 b63ed66841 add support for Topic_Time message
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 11:31:49 -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 723626a71c fix issue with parsing channel JOIN messages where /r/n was not being
stripped

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 10:43:39 -05:00
Chris Michael 01f5519b99 when creating a new channel, default the channel password to NULL
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 10:43:20 -05:00
Chris Michael da817f631c add hooks for user quit, part, and join
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 15:27:36 -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 57b625f9fe don't use the Quit callback for users leaving a channel
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 14:10:13 -05:00
Chris Michael 10fa6dc126 don't set channel name in list when we change password
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 14:06:30 -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 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 3be16072d7 cleanup compiler warnings
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 12:50:04 -05:00
Chris Michael 011d50928c we still want to update channel count if we only have one channel
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 12:48:17 -05:00
Chris Michael 6dda84e4ff if we fail to create a Channel tab after joining, then part the channel
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 12:38:41 -05:00
Chris Michael 73f2fa029d restore Default tab behaviour
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 12:34:47 -05:00
Chris Michael b88c9fc0df don't remove the Default tab during development
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 12:29:12 -05:00
Chris Michael c8e19fa467 move structure definition of Color to header file
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 12:20:14 -05:00
Chris Michael f78cbaf9e2 add Colors tab to options list
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 12:19:52 -05:00
Chris Michael 3503960a91 add options_colors to build order
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 12:19:35 -05:00
Chris Michael 88f4abdfc1 add start on a colors options tab
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-17 12:19:21 -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 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 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 4079b92440 add call to function for joining channel
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 14:12:44 -05:00
Chris Michael e22d59cd08 add functions to join or part a channel
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 14:12:18 -05:00
Chris Michael 507d748313 fix copy/paste error
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 13:37:54 -05:00
Chris Michael 90626cf98e add support for channel passwords in config dialog
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 13:34:02 -05:00
Chris Michael 25684561ed add support for channel passwords in config
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 13:33:49 -05:00
Chris Michael 51a2fda7f0 remove critical debug message about partial prefix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 13:01:23 -05:00
Chris Michael b1b828123b remove whitespace
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 12:53:33 -05:00
Chris Michael fa1fb4b135 Properly remove the default channel and update channel count when we
get connected

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 12:51:02 -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 5cbbb502dc adjust minimum size of window
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 11:12:26 -05:00
Chris Michael 76fe641ef0 after we create channels for the configured networks, destroy the
default channel

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 10:47:54 -05:00
Chris Michael f9593aea16 fix getting irc hostname
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-16 10:21:32 -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
Andy Williams ece1313bc1 Don't write a string into an unknown length of buffer.
Change contract of _server_name_get to take the const char and return a newly allocated string
2014-12-14 19:23:40 +00: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 5b06da057e comment out debug messages
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-12 15:08:20 -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 f063c61121 Add ability to resolv server actual name (from IP address). This is
going to be used so we can send messages to specific channels, but the
messages come in with the actual server name (ie: not irc.freenode.net
but the Actual name), so we need to resolv the IP address from
ecore_con into a real server name.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-11 14:12:42 -05:00
Chris Michael ef33c33479 fix compile error about missing attribute field
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-11 10:58:58 -05:00
Chris Michael d9bc981bfa add utility functions for supporting double-width
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-09 15:34:21 -05:00
Chris Michael 0f1eb8c49a add 'colors' files to build order
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-09 15:33:07 -05:00
Chris Michael 363345c26b fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-08 10:28:51 -05:00
Vincent Torri ae6d4d6a55 Windows: fix compilation of the binary
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-08 10:28:14 -05:00
Vincent Torri cfa71f1b55 Windows: first part : compilation of the library
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-08 10:27:35 -05:00
Vincent Torri dd3d10f7b2 autotools: fix copy/paste
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-08 10:27:01 -05:00
Vincent Torri 433227fa92 autotools: use proper layout for configure.ac, reorganise a bit .am and .pc files
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-08 10:26:41 -05:00
Vincent Torri 7e4d2fb36c autotools: remove dlopen check (unused) and -lm in .pc
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-08 10:24:59 -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 bc848afcdc Implement scrollbar saving based on Terminology scrollback using LZ4
compression

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-05 15:04:16 -05:00
Chris Michael 7746ec04bd add lz4 compression code for scrollback
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-05 14:42:59 -05:00
Chris Michael 36fcc3cb21 add lx4 compression to Makefile
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-05 14:42:46 -05:00
Chris Michael 8b457455ec Add grid_save files to build order
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-03 15:44:41 -05:00
Chris Michael 8604c79ab5 Fix compilation errors
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-03 15:44:41 -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 287d80370e Start on scrollback compression code (grid_save).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-03 15:44:41 -05:00
Andy Williams 11ffa432eb Fix the way we send usernames - should address issues with password warnings from servers 2014-12-02 22:04:30 -06:00
Chris Michael d2451bbb9a replace hard-coded "express" name with PACKAGE_NAME
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 16:39:41 -05:00
Chris Michael c1f6d6e7ad disable opacity slider if translucent gets turned off
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 15:27:54 -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
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 573bf99ef4 disable creating test channel
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 12:49:06 -05:00
Chris Michael 9e4c78eb47 add hooks to save missing network config values
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 12:38:43 -05:00
Chris Michael 82ac30d8cb add support for setting window opacity
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 12:28:24 -05:00
Chris Michael 3101a2f410 add support for setting window opacity in General options
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 12:28:07 -05:00
Chris Michael 15c47412f8 add support for setting window opacity in config
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 12:27:55 -05:00
Chris Michael 4ba8df80e8 hook callbacks to save config when nickname or username is changed
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-01 11:35:48 -05:00
Chris Michael 35eb26c5f6 don't crash if user nickname is not set
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-01 11:35:27 -05:00
Chris Michael 86d7b94706 Use WEIGHT_SET and ALIGN_SET macros
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-01 11:21:12 -05:00
Chris Michael 99aee29f57 add macro for ALIGN_SET
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-01 11:21:03 -05:00