Commit Graph

26 Commits

Author SHA1 Message Date
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
RichardHitt 7374637d34 Some problems in banlist.c are fixed 2014-06-17 17:16:45 -07:00
TingPing d1de138cb1 Sensitize banlist buttons if half-op
For #647
2013-10-25 09:28:09 -04:00
TingPing d941af5a6f Don't open banlist in empty channel tab 2013-10-13 12:54:14 -04:00
TingPing ae04663aa9 First round of using GTK accessor functions
This is the first step to build with GSEAL_ENABLE
setup.c uses a deprecated fontchooser,
chanview-tabs.c didn't like the conversion, and
I am waiting to do some work on xtext.c before
converting it.
2013-09-20 17:24:39 -04:00
Diogo Sousa 4886cc8258 Don't use G_VALUE_INIT since it was introduced in glib 2.30, and our minimum
requirement is glib 2.28. This was giving a compilation error in FreeBSD 9.1,
since it uses glib 2.28.
2013-07-02 01:54:11 +01:00
TingPing c45cc78548 Add copy option to right click in banlist
Closes #626
2013-06-04 12:25:12 -03:00
Berke Viktor 9c49254abd Only include top level includes from GTK+, GLib and GDK-PixBuf 2013-04-02 20:39:37 -07:00
TingPing 920839cf1c fix strptime on bsd 2013-04-02 08:06:38 -03:00
TingPing d8eec06473 Missing include
#492
2013-04-02 07:50:08 -03:00
TingPing 9594ec8913 use proper table size 2013-04-01 03:54:42 -03:00
TingPing 22cf9cb005 Last one 2013-03-31 22:38:52 -03:00
TingPing cf3a7a6a49 Add missing include 2013-03-31 22:18:44 -03:00
RichardHitt 835f662349 Fix datesort problem after new column in banlist 2013-03-24 12:07:42 -07:00
TingPing 3dacb89ea1 Whitespace 2013-03-24 04:23:17 -04:00
TingPing ba55e90465 Translate type column entries too 2013-03-24 05:14:15 -03:00
TingPing 8b7ddbee59 Add type column to banlist 2013-03-24 03:39:04 -04:00
TingPing 7863bc71f8 Translate banlist checkboxes
Closes #465
2013-03-24 04:20:39 -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
Dan Mashal b04377825f fix incorrect FSF address 2012-12-23 11:36:54 -08:00
Berke Viktor 1a75c8e1be A lot more rebranding 2012-10-24 21:33:02 +02:00
Berke Viktor e57659e63f Some more rebranding 2012-07-12 17:49:26 +02:00
Berke Viktor 132ef6cb50 initial patches for linux compatibility 2011-12-11 17:34:02 +01:00
berkeviktor@aol.com 7061c055f1 remove odd ifdef 2011-07-27 23:13:07 +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