Commit Graph
70 Commits
Author SHA1 Message Date
RichardHitt b4496216db Fix urlgrabber right click selection. 2013-06-18 14:53:18 -07:00
RichardHitt b690098941 Merge pull request #622 from orium/null-ptr-favchan-fix
Fixed null pointer deref when we try to autojoin a channel
2013-05-24 14:07:14 -07:00
RichardHitt e3fd501057 Do save_config() on Channel List window min, max changes
#570
2013-05-01 12:47:53 -07:00
RichardHitt 7403dfa9aa Do save_config() on Search-window checkbox change
#570
2013-05-01 12:25:29 -07:00
RichardHitt b08d9cfb56 Fix warning about g_type_init() in dbus/example.c 2013-05-01 12:12:05 -07:00
RichardHitt 4ad9a69aeb Early on, call g_type_init() unless deprecated 2013-04-24 14:33:05 -07:00
RichardHitt ee200b97aa Fix left-click of URL/HOST by tidying what we pass to fe_open_url() 2013-04-24 13:18:34 -07:00
RichardHitt fc659a67f0 Merge pull request #561 from RichardHitt/no-depr-decl
Add '#define GLIB_DISABLE_DEPRECATION_WARNINGS' to fix fkeys.c warnings
2013-04-24 12:27:53 -07:00
RichardHitt eef74ed263 Add '#define GLIB_DISABLE_DEPRECATION_WARNINGS' to fix fkeys.c warnings 2013-04-23 12:46:32 -07:00
RichardHitt facf0ab9c4 Add '(void)' to fix perl.c unused-value warning message 2013-04-23 12:09:05 -07:00
RichardHitt ba1dfabf11 Fix Ubuntu build warnings by using gcc flag -Wno-unused-result 2013-04-22 11:22:04 -07:00
RichardHitt e17a9c6503 In do_an_re() put WORD_CHANNEL before WORD_HOST. fixes #440 2013-04-19 12:41:49 -07:00
RichardHitt a5eb7784c6 Fix broken logic in mg_word_clicked(). fixes #522 2013-04-15 12:05:53 -07:00
RichardHitt 6b86940b7b Allow nick starting with digit despite rfc 2812 violation 2013-04-06 11:51:22 -07:00
RichardHitt 20ecd106d2 Merge pull request #485 from RichardHitt/urlgrab
Don't clobber data, just adjust url endpoint
2013-03-31 12:22:08 -07:00
RichardHitt 3fee94473b Don't clobber data, just adjust url endpoint 2013-03-31 12:14:52 -07:00
RichardHitt f317076cb2 Merge pull request #479 from RichardHitt/urlgrab
Strip all \r and \n, not just a single \r.
2013-03-29 13:16:32 -07:00
RichardHitt 503968c1fd Strip all \r and \n, not just a single \r. 2013-03-29 13:11:17 -07:00
RichardHitt a41924d79e Switch struct defns, to fix a seeming compiler bug 2013-03-25 16:16:51 -07:00
RichardHitt a6042f38b4 Merge pull request #472 from RichardHitt/master
Delete two banlist_info members, unused
2013-03-24 21:09:33 -07:00
RichardHitt 835f662349 Fix datesort problem after new column in banlist 2013-03-24 12:07:42 -07:00
RichardHitt b693c58e9f Merge pull request #467 from TingPing/bancol
Add type column to banlist
2013-03-24 01:31:04 -07:00
RichardHitt f7923f2a02 Truncate text if too long. Closes Issue #463 2013-03-23 13:08:49 -07: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
RichardHitt c9540df92d Get rid of testing line. 2013-03-17 15:33:50 -07:00
RichardHitt ecdcc99280 ESC key will destroy the windows mentioned at issue 211.
This change implements generic routine gtkutil_destroy_on_esc ()
and adds invocations of it in the requisite window-handling places.
2013-03-17 15:11:23 -07:00
RichardHitt 6dc437c364 Change the is_del() macro to not regard ATTR_BOLD nor ATTR_RESET as delimiters.
Remove old iffed-out version of is_del() as well, as a cleanup step; that change
was for not regarding left and right parens as delimiters.  With this change,
mousing over a nickname will underline it even if it contains embedded formatting
data; it used to work with all formatting data but bold and reset; now it
works for all.
2013-03-03 11:43:24 -08:00
RichardHitt 3b23642e2c Merge pull request #407 from RichardHitt/master
Fix bug in url.c at re_host().
2013-02-13 15:05:11 -08:00
RichardHitt 8e3d039199 Fix bug in url.c at re_host().
Unlike the other re_foo() functions it was not checking immediately
and returning if host_ret had already been filled in.  This would
causes a memory leak since the previous GRegex would be lost.
2013-02-13 12:52:49 -08:00
RichardHitt 4e0daf047e Correct almost all compiler warning issues 2013-01-19 12:33:16 -08:00
RichardHitt e43bc2ccc2 Remove #include <malloc.h>, causes a #error in freebsd build 2013-01-16 15:42:28 -08:00
RichardHitt 82026be00a Merge branch 'master' into pull350 2013-01-16 15:39:55 -08:00
RichardHitt 7bc0e017f6 Oops. didn't get the DOMAIN slight change last time. Here it is now. 2013-01-15 13:26:11 -08:00
RichardHitt bb617ccacd Prev called anything a URL! Reverted but slight DOMAIN change. 2013-01-15 13:19:29 -08:00
RichardHitt d5fbea3411 Fix DOMAIN and TLD per rfc 1738, thanks Arnavion 2013-01-15 01:23:37 -08:00
RichardHitt be2d100d2d Parse url according to rfc 1738: add separate define for TLD. 2013-01-14 12:33:08 -08:00
RichardHitt 07b69fd2f8 Oops, Windows doesn't offer strndup(). Use g_strndup(). 2013-01-11 16:12:52 -08:00
RichardHitt 6c7346cdbe Correct nick recognition in mainurl.c as well. Closes #372. 2013-01-11 02:38:11 -08:00
RichardHitt 487ac0a011 Correct nick recognition. Closes 372. 2013-01-11 01:39:21 -08:00
RichardHitt bf673072e8 Merge branch 'master' into pull350 2013-01-10 02:14:02 -08:00
RichardHitt 475eb9fcaa Fix crash by detecting NULL channel in url_join_only() and just returning. 2013-01-10 00:13:25 -08:00
RichardHitt 672dbf75d6 Oops, fixed error in util.c 2013-01-09 14:53:19 -08:00
RichardHitt 6beef589e3 Make source cleah with cppcheck, except for mpc and sasl 2013-01-09 14:37:57 -08:00
RichardHitt efdfa50f1e Fix Issue 350 in checksum.c by changing struct stat64 to struct stat 2013-01-09 00:15:08 -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 0ecbeb7152 Merge pull request #337 from TingPing/tray
add even more tray icon changes
2013-01-04 17:43:35 -08:00
RichardHitt 4bf2fbe092 Ywes, nicks can be as short as one character long! 2013-01-03 14:24:04 -08:00
RichardHitt 44d920592d For NICK0 use NICKSPE, not NICKDIG 2013-01-03 14:13:20 -08:00
RichardHitt 7099f43a12 Don't strip # from a WORD_CHANNEL 2013-01-03 11:32:45 -08:00
RichardHitt f4c2c08ccb Also allow URLs of of the form \.[a-z]+\/ 2013-01-02 23:47:58 -08:00
RichardHitt 270a31535c I forgot to add case WORD_PATH to do_an_url()'s switch statement 2013-01-02 15:03:16 -08:00
RichardHitt 0e6add7dd6 Fix FSF address to be Franklin Street 2013-01-02 14:58:26 -08:00
RichardHitt 4af624627e overhauling of URL detection, including channel, nick, etc 'words' 2013-01-02 14:50:26 -08:00
RichardHitt 3e85c2e820 Merge pull request #326 from TingPing/minimize
fix restoring previously maximized window from tray
2012-12-20 12:16:48 -08:00
RichardHitt df9a05cba5 Put hexchat png in icons/hicolor/48x48/apps 2012-12-16 18:05:37 -08:00
RichardHitt 925b45e8f0 Install hicolor svg; move the files Makefile.am to their subdirectories 2012-12-16 17:29:08 -08:00
RichardHitt c956b913b3 Merge pull request #296 from TingPing/tray
Tray improvements
2012-12-03 15:54:51 -08:00
RichardHitt 6e5a48daed Merge pull request #297 from TingPing/util
allow plugingui to open as tab
2012-12-03 13:29:35 -08:00
RichardHitt 813691f1ec Fix warning 2012-12-03 13:00:11 -08:00
RichardHitt 5fdcdedd9e Merge pull request #298 from TingPing/vertical
Save pane height and restore on start
2012-12-02 20:08:40 -08:00
RichardHitt 2eba723ee7 Merge pull request #286 from TingPing/tray2
Workarounds for plugin-tray menu on Windows
2012-11-20 18:29:10 -08:00
RichardHitt 9ada5c7974 Merge pull request #285 from TingPing/checksum
Fix checksum plugin when completed dir is set
2012-11-20 11:53:18 -08:00
RichardHitt 5f60820eba Fix "Fix URL detection". First-character test in linux should be for
equal, rather than not-equal.  If first character is a slash return
WORD_PATH.
2012-10-08 12:20:11 -07:00
RichardHitt 62903cd171 Fix memory leak related to url grabbing 2012-10-01 12:53:25 -07:00
RichardHitt ed034bf80a Enhance LASTLOG to use gtk_xtext_search_textentry() 2012-08-28 19:10:03 -07:00
Richard Hitt 8752861b7e Remember last search pattern during sessions 2012-07-27 11:37:14 +02: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
Richard Hitt 4f73128e9b Fix coloring the bottom of the chat area (Richard Hitt) 2012-06-03 11:58:37 +02:00
Richart Hitt e012c9e5a7 Eliminate multiple inclusions (Richard Hitt) 2012-06-02 02:25:30 +02:00