Commit Graph

44 Commits

Author SHA1 Message Date
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
RichardHitt 4e0daf047e Correct almost all compiler warning issues 2013-01-19 12:33:16 -08:00
TingPing c8419ae43a Merge pull request #359 from RichardHitt/master
Overhaul of URL detection, includes nick, channel, etc
2013-01-08 13:09:33 -08:00
RichardHitt 0213f21a46 Merge pull request #341 from TingPing/lastact
Add last activity keybinding from fedora
2013-01-07 14:20:26 -08:00
RichardHitt 4af624627e overhauling of URL detection, including channel, nick, etc 'words' 2013-01-02 14:50:26 -08:00
TingPing 2e9bf00e0a Merge pull request #336 from TingPing/beep
Don't beep when window is active.
2012-12-25 18:28:07 -08:00
TingPing 446d90d835 update url opening on linux 2012-12-25 04:46:54 -05:00
TingPing b37fe23b99 Add last activity keybinding from fedora 2012-12-25 00:33:57 -05:00
Dan Mashal b04377825f fix incorrect FSF address 2012-12-23 11:36:54 -08:00
TingPing c1ccb244db Don't beep when window is active. 2012-12-12 10:45:14 -05:00
Berke Viktor a04fdc50b6 More rebranding 2012-11-11 15:23:48 +01:00
Berke Viktor 83189aadfe Add icon to message boxes 2012-11-04 22:30:26 +01:00
Berke Viktor e3dae6dbd0 Cosmetics 2012-11-04 21:52:17 +01:00
Berke Viktor 9193754095 Fix missing function 2012-11-04 21:51:43 +01:00
Berke Viktor d706c5ccdc Fix another missing var 2012-11-04 21:50:16 +01:00
Berke Viktor d0b5d53f92 Some more platform unification 2012-11-04 21:40:59 +01:00
Arnavion 5d9264aff6 Initial commit for utf8 everywhere. 2012-11-03 19:04:02 -07:00
Berke Viktor a51a69134b Nah, even more rebranding 2012-10-30 11:35:39 +01:00
Berke Viktor 56973ae365 Eliminate some fe-gtk warnings 2012-10-30 05:42:59 +01:00
Berke Viktor df635db882 Let's see how it works with 2 seconds 2012-10-28 03:13:07 +01:00
Berke Viktor 1a75c8e1be A lot more rebranding 2012-10-24 21:33:02 +02:00
Berke Viktor 302a06e2e1 Fix previous, failed attempt at fixing the default folder for DCC transfers 2012-10-22 17:00:48 +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 a05817c0eb Variable cleanup for away_* 2012-10-22 09:53:28 +02:00
Berke Viktor d0268f1cf8 Supposed fix for opening links on Mac 2012-10-21 01:54:56 +02:00
Berke Viktor 831794e150 Only omit alerts when we're actually away 2012-10-15 13:46:23 +02:00
Berke Viktor b67b223c26 Add option to omit alerts when marked as being away 2012-10-13 12:38:01 +02:00
Berke Viktor dfd4828ad2 Fix opening folders in portable mode 2012-10-13 10:26:32 +02:00
Berke Viktor 59f32ccb3a Fix URL detection 2012-10-07 03:00:52 +02:00
bviktor d754200b42 Merge pull request #68 from RichardHitt/master
Enhance LASTLOG to use gtk_xtext_search_textentry()
2012-09-01 13:29:11 -07:00
Berke Viktor 4f887a1e53 Consolidate color stripping for messages, topic and scrollback 2012-09-01 21:38:00 +02:00
RichardHitt ed034bf80a Enhance LASTLOG to use gtk_xtext_search_textentry() 2012-08-28 19:10:03 -07:00
Richard Hitt 309f1d3562 Fix memory leak in lastlog 2012-07-26 08:58:00 +02:00
Richard Hitt ead7f234e5 Initial support for lastlog -r on win32 (Richard) 2012-07-25 22:14:27 +02:00
Berke Viktor bc651b0222 Add extension filter for file dialogs, specify filters and starting folder for loading plugins 2012-07-21 21:42:48 +02:00
Berke Viktor e7f723539d Some aid for compiler warnings 2012-07-21 14:26:19 +02:00
Berke Viktor c80cb47e5c Update XChat to r1516 2012-07-14 20:46:42 +02:00
Berke Viktor 16d32fdeda Another bunch of rebranding stuff 2012-07-13 18:04:00 +02:00
Berke Viktor 132ef6cb50 initial patches for linux compatibility 2011-12-11 17:34:02 +01:00
Berke Viktor 986d0a1993 supposed fix for xtray, but not working correctly yet 2011-11-28 18:48:13 +01: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