Commit Graph

113 Commits

Author SHA1 Message Date
TingPing ebe1f824a7 Fix mnemonic collision
Alt+a is used for mark away in the menus and also
highlight all in the search box, change the latter to
alt+h.

Fixes #1008
https://bugzilla.redhat.com/show_bug.cgi?id=1173082
2015-05-27 13:42:59 -04:00
TingPing 7363bc03f2 Remove r from mode buttons
No network can agree on what mode r actually
means so we can't have nice things.

Closes #1287
2015-04-21 16:07:12 -04:00
TingPing 78e51a4f3f Fix mode button text being cut off
This no longer restricts their width and uses
monospace fonts so they are still the same
width.

Closes #1356
Fixes #1354
2015-04-21 15:35:15 -04:00
TingPing 60fa7efbc8 Fix logging hostname of queries
- Move query topic setting from frontend (where its too late)
- Respect chanopts for logging hostname
- Open query logfile *after* chanopts loaded
2015-02-01 01:47:50 -05:00
TingPing c5016e390f Show correct number of channels/dialogs when closing server tab 2014-12-31 10:50:13 -05:00
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 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
md_5 74ff67acd3 Create configuration option to control middle click tab close.
Some might argue that this shouldn't be able to be configured as it is "common" behaviour
in other programs such as web browsers, but for me it is an annoyance because for 15
years this has not been the behaviour of X-Chat.
Quite simply, this creates a configuration option for 537fb856, as unobtrusively as
possible, under the channel switcher preferences tab.

Closes #1232
2014-12-10 15:09:04 -05:00
Arnavion 99a1fff590 Removed unused hexchat_filename_*_utf8 macros. 2014-12-08 21:30:02 -08:00
Arnavion c1831cb19d Minor tidying up 2014-12-08 21:24:59 -08:00
Arnavion 8062bce835 Fix some obvious type warnings. 2014-12-04 04:06:38 -08:00
TingPing ecd1aa226a Fix attempting to toggle visibility when tray disabled 2014-09-21 03:37:03 -04:00
TingPing f43b7524e0 osx: Properly use app menu
Mentioned in #994
2014-05-27 02:58:44 -04:00
TingPing 011514e1ad Enable drag and drop on Windows
The issues around it no longer seem to exist in current GTK
2014-05-23 18:47:27 -04:00
TingPing 015cecf724 Fix drag and drop 2014-05-21 10:18:37 -04:00
TingPing fea144dd19 Add option to bounce dock icon on OSX 2014-05-11 04:50:35 -04:00
TingPing 664da30ee4 Partial revert of 5f732128
Still some scrolling issues remain, much work is to be
done to properly fix it.
2014-03-15 12:12:38 -04:00
TingPing 2f847428aa Fix hiding unsupported channel modes in topicbar 2014-02-07 04:04:59 -05:00
TingPing 5f7321280e Use a standard GtkScrolledWindow with xtext
Used in maingui, fkeys, text events, rawlog

This also implements the set_scroll_adjustments signal in xtext
2014-02-06 20:17:07 -05:00
TingPing ce09cb4a91 Update most deprecated gtk functions 2014-01-18 14:47:17 -05:00
TingPing fa1eb92a7b Update most deprecated gdk 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 aae6633c28 Don't select tab while closing with middle-click
Also fix unused warning and ignore shift right click
2014-01-08 09:03:50 -05:00
TingPing 537fb85696 Bind middle-click to close tab
Closes #832
2014-01-02 18:03:32 -05:00
TingPing e8d4f3f848 Properly set away and fullscreen menu items 2013-10-27 13:24:15 -04:00
TingPing 44ad5703ea Work around for /away being called multiple times
This will have to be solved eventually in menu.c so you can change their
status without emitting the signals.
2013-10-08 20:00:07 -04:00
TingPing aafbb6374b Round 2.5 of gtk accessor functions
Some leftovers in chanview-tabs and maingui
2013-10-06 22:17:45 -04:00
TingPing 301e5d260d More improvements to libsexy
- Add option for showing attributes in input
- Improve attribute parsing
- Fix detecting iso-codes on unix
- Improve getting default langs from $LANG
- Fix warnings
2013-10-03 16:23:46 -04:00
TingPing da680f1066 Use spell entry for topicbar
Closes #150
2013-10-03 16:23:46 -04:00
TingPing 67a488033b libsexy: Don't mark nicks spelled incorrect 2013-10-03 16:23:46 -04:00
TingPing eb93130cd3 Remove gtkspell support 2013-10-03 16:23:46 -04:00
TingPing 7ba2f1f17f Topic bar improvements
- Don't show on server tab
- Don't show unavailable modes
- Remove less used modes and add more common ones
- Use proper case for buttons
2013-10-03 05:01:15 -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 f23bda9e46 Remove useless defines
- HEXCHAT
- USE_DB
- SCROLL_HACK
- MOTION_MONITOR
- ITALIC
- COLOR_HILIGHT
2013-09-26 22:34:40 -04:00
TingPing 7bc3317eeb Don't open most windows at mouse position 2013-09-25 02:09:47 -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 f6ba274134 Add fullscreen to to view menu 2013-09-19 17:52:17 -04:00
TingPing b67953c70c Searchbar: Don't show error on empty string 2013-09-16 21:48:04 -04:00
TingPing 1a67e245ac Fix searchbar loading highlight all pref on start 2013-09-16 21:31:05 -04:00
TingPing bc8eaf6588 Replace search window with a searchbar 2013-09-15 02:55:18 -04:00
TingPing b0b8f40791 Replace search window with a searchbar 2013-09-15 02:51:35 -04:00
Farow 4f77f046d0 Channel url and cursor fix
- Allow colons in channel urls
- Only add the channel part in the context menu
- Fix cursor not changing between separator and url
2013-08-13 04:19:14 +03:00
Farow b8894a468d Update channel key input
- allow up to 23 characters
- make the input bigger
2013-08-10 22:55:17 +03:00
Diogo Sousa 9ef1d1db96 Now WORD_HOST6 is handled the same way as WORD_HOST. 2013-06-18 23:30:38 +01:00
TingPing 7ef8d0d443 More autojoin wording tweaks 2013-06-13 20:53:55 -04:00
TingPing 0e420fbee8 Save chanopt after any changes 2013-06-06 19:16:50 -04:00
TingPing cf505b850b Add chanopt for stripping colors 2013-06-06 17:47:01 -04:00
TingPing fd762303b0 Add autoconnect option to menu of networks 2013-06-06 16:49:57 -04:00
TingPing 04d282fae3 Fix crash when quickly attaching/detaching tabs 2013-05-11 23:07:42 -03:00