Commit Graph

41 Commits

Author SHA1 Message Date
TingPing 9f7444baa2 Move userlist sorting to frontend
This Fixes possible crashes when the two
usertrees get out of sync and a double free occurs.

Also now requires restart to change sort orders.

Fixes #1252
Fixes #818 (probably)
2014-12-31 03:56:36 -05:00
TingPing 1b2bee37e4 Remove option to disable ipv6
It has been default for a while, is the only tested option,
and will only get more common.
2014-12-28 22:29:06 -05:00
TingPing 330e31c70f Fix overflow 2014-12-28 12:43:53 -05:00
TingPing cbaa04905f Fix warning 2014-12-28 12:38:19 -05:00
TingPing 95febd978c Fix building as c89 2014-12-28 06:47:23 -05:00
TingPing 83032b1aa3 Use glib for all allocations
- Removes need to check for malloc failure
- Removes need for NULL checks on free
- Adds checks for integer overflows
- Removes some extra memset calls
- Removes chance of mixing libc and glib malloc/free
2014-12-28 06:44:44 -05:00
Arnavion 65da34f19e Removed some unnecessary null-checks for calls to g_free and g_strfreev 2014-12-08 21:24:59 -08:00
TingPing 10d3c15143 Add /getbool command 2014-02-04 20:46:43 -05:00
TingPing 3a7fb4d8e1 osx: Set Menlo as default font
This moves the find_font function to the front ends since it depends on
pango and cairo
2014-02-04 20:45:29 -05:00
Diogo Sousa 9969282c72 Now make_ping_time() in common/util.c returns the time in milliseconds instead
of microseconds.
In fe_set_lag(serv, lag) the lag argument is now in milliseconds as well.

Fixes #758.
2014-01-30 19:23:35 +00:00
TingPing af248ce2c1 Fix invalid timestamps crashing on Windows 2013-11-02 21:07:03 -04:00
Farow bb5d589c79 Open channel list window on /list 2013-10-22 13:35:28 -04:00
Diogo Sousa 5ad9552365 Fix messages with server-time not showing as new activity
Added a parameter to fe_print_text() to say that the message does not represent
new activity. This is used when a log from an old session is loaded. This used
to be implicit whenever the timestamp was non-zero, but with server-time this no
longer makes sense.

Fixes issue #746.
2013-10-09 21:34:02 -04:00
TingPing 22064278df Update fe-text's help message 2013-07-01 14:36:15 -04:00
Christoph J. Thompson 77cad8e716 Don't hardcode "plugins" as the subdirectory for plugins in many
places.

	modified:   config-win32.h
	modified:   configure.ac
	modified:   plugins/checksum/Makefile.am
	modified:   plugins/doat/Makefile.am
	modified:   plugins/fishlim/Makefile.am
	modified:   plugins/perl/Makefile.am
	modified:   plugins/python/Makefile.am
	modified:   plugins/sysinfo/Makefile.am
	modified:   plugins/xdcc/Makefile.am
	modified:   src/common/plugin.c
	modified:   src/fe-text/fe-text.c
2013-04-28 16:42:48 +02:00
TingPing 565a492724 Reverts commit d964af8142 2013-04-27 06:32:30 -04:00
TingPing 43cbe83d61 fix warning in new glib 2013-04-22 18:04:26 -03:00
TingPing d964af8142 Fix root user warning running before g_type_init
closes #504
2013-04-05 10:12:33 -04:00
Berke Viktor ef4aa16730 Apply to fe-text too 2013-04-02 22:37:24 -07:00
TingPing 785455ccc0 fix warning 2013-03-27 04:05:38 -03:00
RichardHitt f5631b2e22 Redesign the Ban List window. Closes Issues #303, #342, #427
This is a combination of 18 commits.
 The first commit's message is:
Here is the initial banlist branch of RichardHitt/hexchat.
Changed files are only src/fe-gtk/{banlist.c,fe-gtk.h}.
This version works and contains my first efforts at selective
sensitization of radio buttons and control buttons.

From this point I intend to undertake a stepwise redesign.

Step 1 will be to make the existing banlist code work for
multiple simultaneous banlist windows (for different channels,
obviously).  It will be a hackathon with the only goal of getting
it working.

Step 2 will be the objectization and alpha-stage tidying-up of
all the terrible looking stuff I will have done in Step 1.

 This is the 2nd commit message:

Here's the post-Step-1 commit.  It works for multiple banlist windows.

Note particularly what I've done to banlist.h.
Note that for many functions in banlist.c the argument is now
a banlist_info *, rather than a session *.
Note in banlist.c the initialization of array modes[] which
contains driving information for the checkboxes.

Of course those checkboxes aren't yet implemented.  Maybe in Step 2
I will change to checkboxes from radio buttons; but definitely I will
change to letting modes[] drive processing.

 This is the 3rd commit message:

Converted to checkboxes.  Much additional work.
Note that the infrastructure for Auto-invite is not yet
present in the hexchat tree.  I'm nearly done with banlist,
I think!

 This is the 4th commit message:

Fleshed out 'invite'.  Tagged masks uniformly, e.g. (b) (e) (I).
General cleanup, nearly at the point of beta quality.

 This is the 5th commit message:

Added fourth mode type: quiet.  Did lots and lots of cleanup.  Beta-ready?

 This is the 6th commit message:

Get the banlist timestamps properly sortable.

 This is the 7th commit message:

Redesign the supports_foo() routines.  Now they're responsible for setting
the flags in ->capable, ->readable, ->writeable.

 This is the 8th commit message:

Deleted a couple of RBH comments.

 This is the 9th commit message:

Now the ESC key will close the banlist window.

 This is the 10th commit message:

Fix the fe-text occurrence of fe_add_ban_list().

 This is the 11th commit message:

Fixed also fe_ban_list_end() and removed fe_is_banwindow().

 This is the 12th commit message:

Use old-style initialization for array of structures modes[]

 This is the 13th commit message:

Oops, incomplete regression of modes[] initialization.  This fixes.

 This is the 14th commit message:

Fixed strptime buy implementing a special version here.
Fixed column width concerns by setting resizable and autosize.

 This is the 15th commit message:

Get rid of testing line.

 This is the 16th commit message:

Changed to gtkutil_destroy_on_esc ()

 This is the 17th commit message:

Remove no-longer-used functnion

 This is the 18th commit message:

Minor cleanups to banlist.c, banlist.h

 Please enter the commit message for your changes. Lines starting
 with '#' will be ignored, and an empty message aborts the commit.

 Author:    RichardHitt <rbh00@netcom.com>
 Committer: Richard Hitt <rbh00@f17.rbh00.pacbell.net>

 Not currently on any branch.
 Changes to be committed:
   (use "git reset HEAD <file>..." to unstage)

	modified:   src/common/fe.h
	modified:   src/common/hexchat.h
	modified:   src/common/inbound.c
	modified:   src/common/modes.c
	modified:   src/common/proto-irc.c
	modified:   src/common/server.c
	modified:   src/fe-gtk/banlist.c
	modified:   src/fe-gtk/banlist.h
	modified:   src/fe-gtk/fe-gtk.c
	modified:   src/fe-gtk/fe-gtk.h
	modified:   src/fe-gtk/maingui.c
	modified:   src/fe-text/fe-text.c
2013-03-20 15:10:30 -07:00
TingPing e8a78b9aa1 Handle EOF in text-fe 2013-03-16 22:57:34 -03:00
TingPing 69e1ed4278 fix fe-text on win32
It still throws out some errors
2013-03-16 22:33:36 -03:00
TingPing 12f0d0b304 fix fe-text 2013-03-16 20:17:21 -03:00
TingPing 606cb09fa5 fix fe-beep issue in fe-text 2013-01-17 18:52:06 -05:00
RichardHitt 6beef589e3 Make source cleah with cppcheck, except for mpc and sasl 2013-01-09 14:37:57 -08:00
Dan Mashal b04377825f fix incorrect FSF address 2012-12-23 11:36:54 -08:00
Berke Viktor d0b5d53f92 Some more platform unification 2012-11-04 21:40:59 +01:00
Berke Viktor 4ec499c241 Eliminate warnings due to missing includes 2012-11-04 04:22:22 +01:00
Arnavion 5d9264aff6 Initial commit for utf8 everywhere. 2012-11-03 19:04:02 -07:00
Berke Viktor fe1d958838 More polishing for the About dialog 2012-10-28 00:05:40 +02:00
Berke Viktor 1a75c8e1be A lot more rebranding 2012-10-24 21:33:02 +02:00
Berke Viktor bbf2ad1793 Fix fe-text compilation - it still segfaults though 2012-10-24 20:41:13 +02:00
Berke Viktor 51ae33cbe8 Variable cleanup for the rest 2012-10-22 15:55:43 +02:00
Berke Viktor 5c49b45a6d Variable cleanup for input_* 2012-10-22 14:18:20 +02:00
Berke Viktor bf27d43052 Variable cleanup for gui_* 2012-10-22 13:49:28 +02:00
Berke Viktor cf78762b69 Some HexChat-Text rebranding work left 2012-10-13 13:05:01 +02:00
Berke Viktor cbd72ff455 Get rid of auto_save, we always want to save 2012-10-13 08:43:57 +02:00
Berke Viktor 16d32fdeda Another bunch of rebranding stuff 2012-07-13 18:04:00 +02:00
berkeviktor@aol.com d03d6e606b add wdk changes to named branch 2011-02-28 18:59:32 +01:00
berkeviktor@aol.com 4a6ceffb98 add xchat r1489 2011-02-24 04:14:30 +01:00