Commit Graph

746 Commits (master)

Author SHA1 Message Date
RichardHitt 9664b1b7e3 Fix select regression.
Fix selection when part of the selected text is above/below a border.
Also, fix problems uncovered by static analysis.

Fixes #1261.
8 years ago
TingPing afd2135393 Fix possible overflow
gtk_entry_get_text_length() returns len in utf8
chars not in bytes
8 years ago
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
8 years ago
RichardHitt f7bea16e37 xtext: Fix poor performance with nick indent enabled
This fixes xtext re-rendering multiple times when the
indent width is not sufficient

Fixes #1364
Closes #1367
8 years ago
Arnavion 29321c8660 Fixed pango attributes not being applied in some cases.
gtk_entry_get_text_length returns the number of utf-8 characters in the GtkEntry, not the number of bytes in its text.
8 years ago
Arnavion 0b40146b85 Disable pango attributes on sexy entry while it contains preedit text.
Fixes #1360
8 years ago
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
8 years ago
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
8 years ago
TingPing dc69f24ae5 Use correct type for colors 8 years ago
Arnavion 97bf0de016 Make Preferences option in plugin tray menu available on all platforms. 8 years ago
Arnavion b6c4cfa2a3 Fixed undefined behavior causing hover highlights on the plugin tray menu not working.
Fixes #602
8 years ago
Arnavion e42da22716 Revert "xtext: Unselect old selection on button press" - breaks clicking URLs to open them.
This reverts commit 8ca96d7ea3.
8 years ago
TingPing 0a8248578f Remove compiled date from about
Distros like Debian depend on repeated builds
having the same results which this breaks.

Since this provides no real value just
remove it.
8 years ago
RichardHitt 8ca96d7ea3 xtext: Unselect old selection on button press
Fixes #943
Closes #1293
8 years ago
TingPing b6877ccf5c win32: Use WinSparkle for handling updates
Fixes #1282
8 years ago
TingPing 7063406d6c Remove input_balloon_time setting
This setting doesn't work on most platforms
including some notification daemons on linux.

Where it does work I think it is bad behavior
to default overriding their defaults anyway.

It's most valuable use was likely win32
tray balloons which no longer exist.
8 years ago
Arnavion 9858784eb6 Better project files.
- Output directly to rel\ instead of to bin\ and then copying files over.
- Deduped Win32 vs x64 configs
- Moved some common properties to hexchat.props
- All build intermediates (except htm's intermediates) are no longer emitted in the source directory
8 years ago
TingPing ac54a2ed45 Allow reordering some dialogs with dnd
This sadly can't work everywhere since they all
have entirely different ways of saving the data..

Related to #1288
8 years ago
TingPing 75c022c49f Implement OSX notification backend 8 years ago
TingPing f4f27e438b Implement windows 8.1+ notifications
This splits notifications up into multiple backends
currently only libnotify on unix and win8 toasts.

The win8 backend was originally written by @leeter
though heavily modified.
8 years ago
TingPing afee9fd42b Only send utf8 string in Key Press event
Fixes #869
8 years ago
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
8 years ago
TingPing 85fd6f525e Add default keybinding for shift+tab (Previous tab complete) 8 years ago
Arnavion d1897c1602 Remove "System default" encoding. The default for new servers is UTF-8. 9 years ago
Arnavion 5569205d15 Add CP1252 as an available server encoding for Windows-1252 and ISO-8859-1 networks. 9 years ago
Arnavion ee17ec6b4f Removed legacy "IRC" encoding. 9 years ago
TingPing aab243592f Workaround crash when timestamp format is blank
Somebody else can fix the numerous assumptions elsewhere
9 years ago
TingPing 9bd7405502 Remove last remnants of GtkClists
These were removed a while ago
9 years ago
TingPing 2a28289314 Don't return 0 in place of NULL 9 years ago
TingPing c5016e390f Show correct number of channels/dialogs when closing server tab 9 years ago
TingPing 63bb87fc93 Don't select join #hexchat by default in join dialog
Have to go even one step further removed so users don't
accidentally join
9 years ago
TingPing 1fa4a000e7 Fix some unused warnings 9 years ago
TingPing 6ef7298870 Remove unnecessary use of void* 9 years ago
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)
9 years ago
TingPing 9cb73f839f Remove MSProxy support
It's not enabled anywhere, certainly not maintained
9 years ago
TingPing 95febd978c Fix building as c89 9 years ago
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
9 years ago
TingPing aeb5d15871 More consistently include config.h 9 years ago
TingPing 46061f4f3c Remove some unnecessary if statements 9 years ago
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
9 years ago
TingPing 10246f121a Fix unsafe string handling in configs
Also fixes 2 leaks
9 years ago
TingPing 025152ee53 Fix unused warning 9 years ago
TingPing 0ba8b922a2 Fix tab completing with no completion char 9 years ago
TingPing b296839538 Respect servers chantypes and nickprefixes when tab completing
Closes #441
9 years ago
TingPing 5fb21a04ad Use gboolean for bools 9 years ago
TingPing fda692d250 Fix various unsafe string handling in fkeys
Also removes the 2048 input byte limit
And fixes utf8 completion chars in some cases
9 years ago
Arnavion 99a1fff590 Removed unused hexchat_filename_*_utf8 macros. 9 years ago
Arnavion 65c8494698 Removed some unnecessary casts. 9 years ago
Arnavion c1831cb19d Minor tidying up 9 years ago
Arnavion 65da34f19e Removed some unnecessary null-checks for calls to g_free and g_strfreev 9 years ago