Commit Graph

260 Commits

Author SHA1 Message Date
Chris Michael b4099082d9 Add function declarations for server_motd and other messages
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:31:46 +00:00
Chris Michael a8c76761e6 Add begnings of channel_text_append
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:31:26 +00:00
Chris Michael 8df5efe032 Add function declaration for appending text to channels.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:31:01 +00:00
Chris Michael 6080340b9b Add _window_channel_find function.
Centralize window_channel_destroy code to use window_channel_find.
Add callbacks for server & channel messages.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:30:01 +00:00
Chris Michael 238e87cbe5 Add function declaration for finding a channel by name
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:29:46 +00:00
Chris Michael 461ce36642 Cleanup network data processing code.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:28:48 +00:00
Chris Michael 423b34b3e0 Use a buffer to save server data from ecore_con:
NB: Needed due to ecore_con sending partial messages sometimes, so now
we can just accumulate them until the message is complete, then parse
it.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:27:25 +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 8d846d373e Make _selector_destroy a local function (does not need to be exposed).
Centralize window channel creation.
Add function to show options toolbar.
Add functions to create/destroy channels based on network.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 14:38:44 +00:00
Chris Michael 6c5b7deac4 Add function declarations for creating/destroying channels based on
network.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 14:38:17 +00:00
Chris Michael cf4bf9fdce Remove dead line
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 14:04:14 +00:00
Chris Michael 45eae315a1 Create an idler to handle connecting to networks after the window is
shown.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 12:05:08 +00:00
Chris Michael 01d3350980 Add callbacks to build order
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 12:04:49 +00:00
Chris Michael eb4733c6a9 Quiet done network data process
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 12:04:24 +00:00
Chris Michael edbddea696 Add callbacks file
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 12:04:02 +00:00
Chris Michael 7ba0d6d295 Remove dead commented code
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-19 11:38:10 +00: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 83aec7d775 Fix selection of standard fonts on load
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-16 17:24:21 +00:00
Chris Michael 00791b0793 Add an idler after the window is shown.
Connect to configured networks when idle.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-14 15:46:26 +00:00
Chris Michael 83a0f0fa19 Add server name to options frame.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-14 15:46:08 +00:00
Chris Michael b80b35ff0b Add express gui log domain color
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-14 15:45:44 +00:00
Chris Michael 3e706e125c Add callback to free server hash data.
Add callbacks for ecore_con server events.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-14 15:45:01 +00:00
Chris Michael dd47b83e11 Add server file to build order
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-14 15:44:42 +00:00
Chris Michael a25045d33d Add server file to library
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-14 15:44:29 +00:00
Chris Michael ce415c787f Add some more API functions for server.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-14 15:44:08 +00:00
Chris Michael ccd72f1ed1 Make Express_Server structure private.
Add internal functions to send user, nick, etc to server.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-14 15:43:10 +00:00
Chris Michael 96bb4bfe6b Add pkgconfig file for library, and add to build order
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-14 15:42:41 +00:00
Chris Michael 3603f243f7 Only accept numbers on the port entry for server options
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-14 08:51:12 +00:00
Chris Michael 3b04a53b7a Add some comments
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 16:31:10 +00:00
Chris Michael ce5d4f4769 Create a blank, Empty Channel if nothing has been configured yet.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 16:28:28 +00:00
Chris Michael 5ffeea7a4e Create channels based on actual configuration now :)
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 16:24:48 +00:00
Chris Michael f51cf8f4b0 Hook frame delete so we don't leak allocated Font structures.
When we load Fonts, we allocate a Font structure and store it into a
list, so when we delete the Font options, we should be freeing that
memory.

NB: Someone May want to port this to Terminology.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 15:57:57 +00:00
Chris Michael 48523fab64 No need for 'data' in the server add callback.
'base' is unused in options_servers function.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:51:48 +00:00
Chris Michael 54af688de4 Add channel options hook
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:51:21 +00:00
Chris Michael 63cb46bf00 Add channel options to build order
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:51:07 +00:00
Chris Michael 0c5ab80753 Add channel options file
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:50:57 +00:00
Chris Michael 65cb20bd6b Add function declaration for channels option
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:50:41 +00:00
Chris Michael f466aa1838 Use the "changed,user" signal for text entries
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:38:40 +00:00
Chris Michael 86b3ff4735 Add hook for server option.
Adjust hide timer

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:38:14 +00:00
Chris Michael e189efd361 Add server options to build order
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:37:56 +00:00
Chris Michael b0715803b0 Add servers option file
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:37:46 +00:00
Chris Michael dd018af0aa Add function declaration for servers option
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 14:37:30 +00:00
Chris Michael 749772ad9e Reorganize some code
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 13:17:17 +00:00
Chris Michael fe91b5d592 Add additional swallows for the network options tab to contain the
"network options toolbar" and sub-option frames

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 12:55:35 +00:00
Chris Michael 6e726d2e8b Remove unused variable
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 12:55:19 +00:00
Chris Michael 67d9315dc4 Make network option table not expand height.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 12:55:04 +00:00
Chris Michael 558919dc93 When adding/editing a network, just toggle the "network options toolbar"
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 12:46:39 +00:00
Chris Michael 5db484d3be Toggle "network options toolbar" off when we dismiss main options toolbar.
Code cleanup (remove extra static variable).

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 12:45:32 +00:00
Chris Michael b7dd837fb7 Add tools file to build order
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 12:45:03 +00:00
Chris Michael 728675b4b1 Add file for building Network options "toolbar"
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-13 12:44:41 +00:00