ZachBacon
c5d47fc5a8
Add include for winuser.h for mingw compilers.
...
Without the include gcc will complain about WM_TIMECHANGE as undeclared.
2019-12-15 02:09:47 -05:00
Patrick Griffis
dc483b2342
Remove shift+click to close tab binding
...
It is an odd binding that conflicts with typical behavior
where shift click selects multiple items and there is
already the middle click shortcut to close tabs quickly.
Closes #918
2018-03-16 20:33:52 -04:00
Mark Jansen
9b8a7eaa01
win32: Respond to WM_TIMECHANGE by updating the CRT timezone info
...
Closes #2090
Fixes #1851
2018-03-09 13:24:08 -05:00
Chase Patterson
18b741804c
Use localized "HexChat" in window titles
...
Also allow rearranging of "HexChat" in window titles
2017-09-15 19:18:29 -04:00
Chase Patterson
d935197895
Change windows from starting with "Hexchat: " to ending with " - Hexchat"
2017-09-15 19:18:29 -04:00
Patrick Griffis
d99cd18fb9
Improve detection of system tray support
...
Closes #2045
2017-08-31 10:16:03 -04:00
Patrick Griffis
241dd69b08
Further tab color improvements
...
- Combine the three properties into a single one
- Finally fully fix the handling with plugins handling events
TODO: Look into lastact handling of these, seems wrong
2016-11-11 19:27:57 -05:00
Patrick Griffis
539949973c
More fixes for tab color handling with plugins
...
Part 2 of 03767ee0f9826222
So how the colors work should be pretty straight forward:
- A message comes in and is handled, this sets the state flags:
nick_said, msg_said, new_data. These map to tab colors.
- This state is reset under one of these conditions:
- It is commited to the UI when actually printed on unfocused tab
- Event is interupted by a plugin hook
- The tab focus is changed
2016-11-11 01:25:12 -05:00
Patrick Griffis
dc09f2c75d
Remove unused preference
...
I can't really think of a reason this would be needed
and since it doesn't do anything, and didn't since xchat,
might as well remove it.
2016-08-20 23:24:19 -04:00
Patrick Griffis
aabcf6f9f4
Fix crashes when plugins modify UI during Close Context
...
This probably doesn't catch them all but setting tab color
and printing text at least do not crash in the common case.
2016-07-24 21:14:11 -04:00
Patrick Griffis
ac986bb3a4
Fix leak
2016-07-24 21:10:34 -04:00
LemonBoy
0635e91dd6
Don't flush the chanopt_list when saving it
...
Closes #1665
Fixes #1134
2016-03-30 08:11:07 -04:00
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