Commit Graph

427 Commits

Author SHA1 Message Date
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 cd7703fd1c add support for setting window opacity
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-02 12:29:35 -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 c0d26427ff add .gitignore file
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-01 11:38:30 -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
Chris Michael 414c8ec675 express: Trap for channel size being to small so we can enforce a
minimum window size that makes sense.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-01 10:47:57 -05:00
Chris Michael 2dbbdaf0a3 express: Create dummy tab for testing
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-01 10:41:28 -05:00
Chris Michael b2c045a1d8 Start processing network callbacks (this is prep for showing txt).
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-20 17:32:08 +00:00
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