summary refs log tree commit diff stats
path: root/win32
AgeCommit message (Collapse)Author
2012-12-25add changelog to installerTingPing
closes #255
2012-12-17remove hextray from installerTingPing
2012-11-20Update spelling dicts to extract to localappdataTingPing
closes #241
2012-11-12Remove Lua from depsBerke Viktor
2012-11-12Get rid of the buggy, unmaintained and unused Lua and Tcl interfacesBerke Viktor
2012-11-12Add Perl build notes and installersBerke Viktor
2012-11-12Prepare solution for Perl 5.16 VC buildBerke Viktor
2012-11-12Move HexChat L10n to share\locale where it should've been in the first placeBerke Viktor
2012-11-11Enable updatesBerke Viktor
2012-11-11Fix GTK-VS installersBerke Viktor
2012-11-11Hide 4996 warnings in all projects and fix license copyBerke Viktor
2012-11-10Exclude SASL plugin from buildBerke Viktor
2012-11-09Rename deps filesBerke Viktor
2012-11-09Fix project dependenciesBerke Viktor
2012-11-06Disable some stupid warnings without the WDKBerke Viktor
2012-11-06Move GTK+ to a separate repoBerke Viktor
2012-11-05Add build notes to 1st level depsBerke Viktor
2012-11-05win-iconv version bumpBerke Viktor
2012-11-04Move build files out of the source tree, make grep usage much easierBerke Viktor
2012-11-04Fix tabulationBerke Viktor
2012-11-03Installer migrator functions for xchat.conf -> hexchat.confBerke Viktor
2012-11-03Varname consolidation for the rest of pixmapsBerke Viktor
2012-11-03Relocate hexchat.png and hexchat.ico and some more varname cleanupBerke Viktor
2012-11-03Relocate version.txt, leave a copy in old place for a while for upgrades to workBerke Viktor
2012-11-03Rainbow user list colors and more senseful variable namesBerke Viktor
2012-11-02added support for op+3 iconsTingPing
2012-10-30Eliminate even more warnings and bump warning level to 3Berke Viktor
Shouldn't need to go any higher, level 4+ gives insane warnings
2012-10-30Revert "Proof-of-concept compat mode for XChat"Berke Viktor
This reverts commit ad16a2bfee7e51e8acfbc6acd7cf22e438ec60d2.
2012-10-30Proof-of-concept compat mode for XChatBerke Viktor
2012-10-29Make HexTray filename consistent with the restBerke Viktor
2012-10-27Don't forget to build make-te before commonBerke Viktor
2012-10-26Fixes after file movesBerke Viktor
2012-10-26Fix doc URLs for Start Menu iconsBerke Viktor
2012-10-25Get rid of the SASL pluginBerke Viktor
2012-10-22Add Windows version check to installer against overly frustrated Win2000 usersBerke Viktor
2012-10-22Change readme icon and add changelog icon as wellBerke Viktor
2012-10-22Add README for people who still can't use GoogleBerke Viktor
2012-10-21Keep the installer component lists sortedBerke Viktor
2012-10-21Rename WinSys on the code levelBerke Viktor
2012-10-21Move warning level to property sheetBerke Viktor
2012-10-20Update bundled ISO 3166 codesBerke Viktor
2012-10-18Update win32 dirent.h implementation and use header instead of static libraryBerke Viktor
2012-10-13Accept license agreement by defaultBerke Viktor
2012-10-13Provide builtin defauls for treeview iconsBerke Viktor
2012-10-06Update NSS-WDK patch for NSS 3.13.6Berke Viktor
2012-10-05Install SASL plugin by defaultBerke Viktor
2012-10-04Add libwimp and libpixmap makefiles, don't work yet thoughBerke Viktor
2012-10-04Add project for generating text eventsBerke Viktor
2012-10-04Generate a new upgrade code for vs2012 platform toolset so that both can be ↵Berke Viktor
installed simultaneously
2012-10-04No registry keys for WDKPTBerke Viktor
class="p">)->buffer, 0); return FALSE; } static int rawlog_savebutton (GtkWidget * wid, server *serv) { gtkutil_file_req (_("Save As..."), rawlog_save, serv, NULL, NULL, FRF_WRITE); return FALSE; } static void rawlog_key_cb (GtkWidget * wid, GdkEventKey * key, gpointer userdata) { /* Copy rawlog selection to clipboard when Ctrl+Shift+C is pressed, * but make sure not to copy twice, i.e. when auto-copy is enabled. */ if (!prefs.hex_text_autocopy_text && (key->keyval == GDK_c || key->keyval == GDK_C) && key->state & STATE_SHIFT && key->state & STATE_CTRL) { gtk_xtext_copy_selection (userdata); } /* close_rawlog is given to mg_create_generic_tab as * close_callback, it should take care of the rest. */ else if (key->keyval == GDK_Escape) { gtk_widget_destroy (wid); } } void open_rawlog (struct server *serv) { GtkWidget *hbox, *vscrollbar, *vbox; char tbuf[256]; if (serv->gui->rawlog_window) { mg_bring_tofront (serv->gui->rawlog_window); return; } snprintf (tbuf, sizeof tbuf, _(DISPLAY_NAME": Raw Log (%s)"), serv->servername); serv->gui->rawlog_window = mg_create_generic_tab ("RawLog", tbuf, FALSE, TRUE, close_rawlog, serv, 640, 320, &vbox, serv); hbox = gtk_hbox_new (FALSE, 2); gtk_container_add (GTK_CONTAINER (vbox), hbox); gtk_container_set_border_width (GTK_CONTAINER (hbox), 4); gtk_widget_show (hbox); serv->gui->rawlog_textlist = gtk_xtext_new (colors, 0); gtk_xtext_set_tint (GTK_XTEXT (serv->gui->rawlog_textlist), prefs.hex_text_tint_red, prefs.hex_text_tint_green, prefs.hex_text_tint_blue); gtk_xtext_set_background (GTK_XTEXT (serv->gui->rawlog_textlist), channelwin_pix, prefs.hex_text_transparent); gtk_container_add (GTK_CONTAINER (hbox), serv->gui->rawlog_textlist); gtk_xtext_set_font (GTK_XTEXT (serv->gui->rawlog_textlist), prefs.hex_text_font); GTK_XTEXT (serv->gui->rawlog_textlist)->ignore_hidden = 1; gtk_widget_show (serv->gui->rawlog_textlist); vscrollbar = gtk_vscrollbar_new (GTK_XTEXT (serv->gui->rawlog_textlist)->adj); gtk_box_pack_start (GTK_BOX (hbox), vscrollbar, FALSE, FALSE, 0); show_and_unfocus (vscrollbar); hbox = gtk_hbutton_box_new (); gtk_button_box_set_layout (GTK_BUTTON_BOX (hbox), GTK_BUTTONBOX_SPREAD); gtk_box_pack_end (GTK_BOX (vbox), hbox, 0, 0, 0); gtk_widget_show (hbox); gtkutil_button (hbox, GTK_STOCK_CLEAR, NULL, rawlog_clearbutton, serv, _("Clear Raw Log")); gtkutil_button (hbox, GTK_STOCK_SAVE_AS, NULL, rawlog_savebutton, serv, _("Save As...")); /* Copy selection to clipboard when Ctrl+Shift+C is pressed AND text auto-copy is disabled */ g_signal_connect (G_OBJECT (serv->gui->rawlog_window), "key_press_event", G_CALLBACK (rawlog_key_cb), serv->gui->rawlog_textlist); gtk_widget_show (serv->gui->rawlog_window); } void fe_add_rawlog (server *serv, char *text, int len, int outbound) { char *new_text; if (!serv->gui->rawlog_window) return; new_text = malloc (len + 7); len = sprintf (new_text, "\0033>>\017 %s", text); if (outbound) { new_text[1] = '4'; new_text[2] = '<'; new_text[3] = '<'; } gtk_xtext_append (GTK_XTEXT (serv->gui->rawlog_textlist)->buffer, new_text, len); free (new_text); }