summary refs log tree commit diff stats
path: root/src/common/outbound.c
AgeCommit message (Collapse)Author
2013-08-10Merge branch 'pluginreload'TingPing
2013-08-10Only replace variables in connect commandsTingPing
2013-08-04Add reload command for plugins and add to guiTingPing
2013-07-30Fix kickbanning opped usersTingPing
2013-07-12Update docs linksTingPing
2013-07-02Fix opening empty channel when url has trailing slashTingPing
2013-06-28Fixed a few null pointer derefs caused by dummy code that somehow IDiogo Sousa
forgot about.
2013-06-28A few messages missing regarding server-time.Diogo Sousa
2013-06-28server-time for all numerical messages.Diogo Sousa
2013-06-28server-time supported in most named messages.Diogo Sousa
2013-06-28First step towards message tags extension supportDiogo Sousa
(see http://ircv3.atheme.org/specification/message-tags-3.2). In particular this commit implements a (very) dummy implementation sketch of the server-time extension (see http://ircv3.atheme.org/specification/message-tags-3.2 and #499).
2013-06-08Renamed tbuf to buf in create_mask() to avoid confusion.Diogo Sousa
2013-06-08Fixed possible overflow in create_mask().Diogo Sousa
2013-06-07Add QUIET commandTingPing
2013-06-06Save chanopt after any changesTingPing
2013-06-05update help message for /menuTingPing
2013-06-04Improve error message from /load -eTingPing
2013-05-25Don't send previous session's passwordTingPing
closes #616
2013-05-23Passing a password to the /server command was ignored because the login methodDiogo Sousa
was not set.
2013-05-19Add variables for user credentials in connect commandsBerke Viktor
2013-04-30remove incorrect notice help infoTingPing
2013-04-28Remove away announceTingPing
2013-04-27Get rid of bundled beepBerke Viktor
2013-04-14Load connect commands from config dirBerke Viktor
2013-04-14Use bundled beep file for beep alertsBerke Viktor
2013-04-06split cmd_msg toomisdre
2013-04-06'splitted' is'nt a wordmisdre
2013-04-05split long message on action and noticemisdre
2013-04-03add %u to userlist popups for accountTingPing
2013-04-01Disable Unix path detection mechanismBerke Viktor
2013-03-27Only check for key if there is a channelTingPing
2013-03-17Default ignore type to ALLTingPing
2013-03-17All unignoring nicks just like ignoreTingPing
2013-03-11Merge pull request #439 from TingPing/urlkeyTingPing
Add channel key support to urls
2013-03-04Use key on new serversTingPing
2013-03-04Add key support to urls like mircTingPing
2013-03-04fix query -nofocusTingPing
2013-02-24focus the channel if it's already open (issue #406)misdre
2013-01-19Correct almost all compiler warning issuesRichardHitt
2013-01-10Fix crash by detecting NULL channel in url_join_only() and just returning.RichardHitt
2013-01-09Make source cleah with cppcheck, except for mpc and saslRichardHitt
2012-12-23fix incorrect FSF addressDan Mashal
2012-11-10Eliminate some more warnings and hide less warnings in VSBerke Viktor
2012-11-05Remove spacing, it wouldn't work anywayBerke Viktor
2012-11-03Add export config stubBerke Viktor
2012-10-30Nah, even more rebrandingBerke Viktor
2012-10-28More polishing for the About dialogBerke Viktor
2012-10-24A lot more rebrandingBerke Viktor
2012-10-22Variable cleanup for the restBerke Viktor
2012-10-22Variable cleanup for irc_*Berke Viktor
n> GtkWidget *chanlist_min_spin; /* minusers GtkSpinButton */ GtkWidget *chanlist_refresh; /* buttons */ GtkWidget *chanlist_join; GtkWidget *chanlist_savelist; GtkWidget *chanlist_search; GSList *chanlist_data_stored_rows; /* stored list so it can be resorted */ GSList *chanlist_pending_rows; gint chanlist_tag; gint chanlist_flash_tag; gboolean chanlist_match_wants_channel; /* match in channel name */ gboolean chanlist_match_wants_topic; /* match in topic */ #ifndef WIN32 regex_t chanlist_match_regex; /* compiled regular expression here */ unsigned int have_regex; #endif guint chanlist_users_found_count; /* users total for all channels */ guint chanlist_users_shown_count; /* users total for displayed channels */ guint chanlist_channels_found_count; /* channel total for /LIST operation */ guint chanlist_channels_shown_count; /* total number of displayed channels */ int chanlist_maxusers; int chanlist_minusers; int chanlist_minusers_downloaded; /* used by LIST IRC command */ int chanlist_search_type; /* 0=simple 1=pattern/wildcard 2=regexp */ gboolean chanlist_caption_is_stale; }; /* this struct is persistant even when delinking/relinking */ typedef struct restore_gui { /* banlist stuff */ GtkWidget *banlist_window; GtkWidget *banlist_treeview; GtkWidget *banlist_butRefresh; void *tab; /* (chan *) */ /* information stored when this tab isn't front-most */ void *user_model; /* for filling the GtkTreeView */ void *buffer; /* xtext_Buffer */ char *input_text; /* input text buffer (while not-front tab) */ char *topic_text; /* topic GtkEntry buffer */ char *key_text; char *limit_text; gfloat old_ul_value; /* old userlist value (for adj) */ gfloat lag_value; /* lag-o-meter */ char *lag_text; /* lag-o-meter text */ char *lag_tip; /* lag-o-meter tooltip */ gfloat queue_value; /* outbound queue meter */ char *queue_text; /* outbound queue text */ char *queue_tip; /* outbound queue tooltip */ short flag_wid_state[NUM_FLAG_WIDS]; unsigned int c_graph:1; /* connecting graph, is there one? */ } restore_gui; typedef struct session_gui { GtkWidget *xtext, *vscrollbar, *window, /* toplevel */ *topic_entry, *note_book, *main_table, *user_tree, /* GtkTreeView */ *user_box, /* userlist box */ *button_box_parent, *button_box, /* userlist buttons' box */ *dialogbutton_box, *topicbutton_box, *meter_box, /* all the meters inside this */ *lagometer, *laginfo, *throttlemeter, *throttleinfo, *topic_bar, *hpane_left, *hpane_right, *vpane_left, *vpane_right, *menu, *bar, /* connecting progress bar */ *nick_box, /* contains label to the left of input_box */ *nick_label, *op_xpm, /* icon to the left of nickname */ *namelistinfo, /* label above userlist */ *input_box, *flag_wid[NUM_FLAG_WIDS], /* channelmode buttons */ *limit_entry, /* +l */ *key_entry; /* +k */ #define MENU_ID_NUM 12 GtkWidget *menu_item[MENU_ID_NUM+1]; /* some items we may change state of */ void *chanview; /* chanview.h */ int bartag; /*connecting progressbar timeout */ int pane_left_size; /*last position of the pane*/ int pane_right_size; guint16 is_tab; /* is tab or toplevel? */ guint16 ul_hidden; /* userlist hidden? */ } session_gui; extern GdkPixmap *channelwin_pix; extern GdkPixmap *dialogwin_pix; #ifdef USE_GTKSPELL char *SPELL_ENTRY_GET_TEXT (GtkWidget *entry); #define SPELL_ENTRY_SET_TEXT(e,txt) gtk_text_buffer_set_text (gtk_text_view_get_buffer(GTK_TEXT_VIEW(e)),txt,-1); #define SPELL_ENTRY_SET_EDITABLE(e,v) gtk_text_view_set_editable(GTK_TEXT_VIEW(e), v) int SPELL_ENTRY_GET_POS (GtkWidget *entry); void SPELL_ENTRY_SET_POS (GtkWidget *entry, int pos); void SPELL_ENTRY_INSERT (GtkWidget *entry, const char *text, int len, int *pos); #else #define SPELL_ENTRY_GET_TEXT(e) (GTK_ENTRY(e)->text) #define SPELL_ENTRY_SET_TEXT(e,txt) gtk_entry_set_text(GTK_ENTRY(e),txt) #define SPELL_ENTRY_SET_EDITABLE(e,v) gtk_editable_set_editable(GTK_EDITABLE(e),v) #define SPELL_ENTRY_GET_POS(e) gtk_editable_get_position(GTK_EDITABLE(e)) #define SPELL_ENTRY_SET_POS(e,p) gtk_editable_set_position(GTK_EDITABLE(e),p); #define SPELL_ENTRY_INSERT(e,t,l,p) gtk_editable_insert_text(GTK_EDITABLE(e),t,l,p) #endif