Commit Graph

85 Commits

Author SHA1 Message Date
TingPing ce09cb4a91 Update most deprecated gtk functions 2014-01-18 14:47:17 -05:00
TingPing 7b0acb2b44 Build with gtk-mac-integration
- Use HexChat logo for dock icon
- Use appmenu (not finished)
2014-01-14 22:14:27 -05:00
TingPing 0ff2ade078 fix warning 2013-10-22 14:44:30 -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 eb93130cd3 Remove gtkspell support 2013-10-03 16:23:46 -04:00
TingPing 449553ffb0 Replace xtext's transparency with full window transparency
Xtext's transparency barely worked on windows, didn't work on any modern
linux wm and used fake transparency.
This uses gtk's built in window opacity that works on more systems and
is real transparency.
Text area only transparency may return with a transition to cairo, if it
works on Windows.
2013-09-27 17:40:05 -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
TingPing 4c406bce17 Improve file dialogs
- Fixes #314
- Adds file extensions to sound and image browsing
- Some options no longer default to our config dir
- Always add a shortcut to our config dir
- Remove broken 'last_dir' functionality, gtk already knows recent
2013-08-31 11:39:12 -04:00
TingPing 93cfa353e7 Tweak cli output and fix related warnings 2013-07-27 00:03:16 -04:00
TingPing 4cf61ccedb Fix warning 2013-07-08 16:30:54 -04:00
TingPing 932bfa3482 Don't use popup dialogs for help 2013-07-01 14:28:26 -04:00
TingPing 5de5d6d00b Improve help message 2013-07-01 14:11:24 -04:00
TingPing aab55d8cff Handle extraneous cli args as urls 2013-07-01 13:43:58 -04:00
TingPing 64ba92593e fix merge conflict 2013-06-18 20:40:07 -04:00
Diogo Sousa 02139fbb79 Handle IPv6 addresses correcly in fe_open_url_locale(). 2013-06-19 00:15:47 +01:00
TingPing 52ce55341b Fix Open Data Folder on unix
Mentioned in #646
2013-06-16 16:20:06 -03:00
TingPing 8be56d7003 Don't open libcanberra connection for every event
Closes #645
2013-06-12 10:41:52 -04:00
Berke Viktor 712eb5428e GtkComboBoxText requires GTK+ 2.24, dump code for older versions 2013-05-11 13:06:25 +02:00
TingPing bb878848f7 Use regular canberra not gtk 2013-04-27 20:28:39 -04:00
TingPing 24034b5b8b More cleanup 2013-04-27 20:35:04 -03:00
TingPing e714c7d53f Remove extra omitalerts check 2013-04-27 19:16:34 -03:00
TingPing 78e39bfb1c use libcanberra for beeps 2013-04-27 18:05:05 -04:00
Berke Viktor c6513ea7a2 Use "Instant Message Notification" system sound on Windows, use gdk_beep() on Unix
Note: gdk_beep() is expected to be replaced with libcanberra stuff.
2013-04-27 23:26:26 +02:00
Berke Viktor 6001ceff9f Get rid of bundled beep 2013-04-27 23:00:18 +02:00
TingPing 584dc6a626 typo 2013-04-27 15:52:18 -03:00
TingPing 756080831d fix url opening on osx
oops
2013-04-27 15:47:40 -03:00
TingPing ffce6c5788 Clean up old url handling on unix 2013-04-27 15:30:40 -03:00
TingPing 565a492724 Reverts commit d964af8142 2013-04-27 06:32:30 -04:00
TingPing 2550a94f05 fix omitting custom sounds 2013-04-23 00:45:37 -04:00
Berke Viktor ccc8601624 Move beep to proper place 2013-04-16 11:32:58 +02:00
TingPing f0d0f90e13 no error on beeps 2013-04-15 00:12:06 -03:00
Berke Viktor b7f0f6abc8 Fix tabulation 2013-04-14 12:11:38 +02:00
Berke Viktor ea0479998a Use bundled beep file for beep alerts 2013-04-14 11:56:50 +02:00
TingPing e67371d269 Add option for omitting alerts while focused 2013-04-13 23:03:54 -04:00
Diogo Sousa 36694afe0e Don't send ping's to the server if we are still waiting for a pong.
If the server don't respond in 30s just report the lag as +30s.

This fixes the bug where hexchat reset the lag meter every time a ping
was sent and no pong was received.
2013-04-09 19:14:46 -07:00
TingPing d964af8142 Fix root user warning running before g_type_init
closes #504
2013-04-05 10:12:33 -04:00
TingPing 8b72d53dcc Merge pull request #496 from bviktor/toplevel-includes
Only include top level includes from GTK+, GLib and GDK-PixBuf Closes #486
2013-04-02 22:39:17 -07:00
TingPing 561f3044d6 update --url help string 2013-04-03 01:36:52 -03:00
Berke Viktor 9c49254abd Only include top level includes from GTK+, GLib and GDK-PixBuf 2013-04-02 20:39:37 -07:00
Andreas Rönnquist 8fb4bfb288 Fix error: format not a string literal and no format arguments [-Werror=format-security] 2013-03-31 17:48:47 +02: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 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