Commit Graph

156 Commits

Author SHA1 Message Date
TingPing afd2135393 Fix possible overflow
gtk_entry_get_text_length() returns len in utf8
chars not in bytes
2015-06-04 04:02:33 -04:00
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.
2015-02-04 20:24:53 -05:00
TingPing aab243592f Workaround crash when timestamp format is blank
Somebody else can fix the numerous assumptions elsewhere
2015-01-13 04:14:32 -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 9cb73f839f Remove MSProxy support
It's not enabled anywhere, certainly not maintained
2014-12-28 13:28:19 -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
TingPing 9181ea068a Fix dcc dir warning showing when not auto-accept 2014-06-04 20:55:34 -04:00
Berke Viktor 0dccf692d4 Add global option to suppress nick change events
Might as well add a per-channel option, too but for me that seems a bit unnecessary.
Closes #971
2014-05-12 05:01:24 -04:00
TingPing fea144dd19 Add option to bounce dock icon on OSX 2014-05-11 04:50:35 -04:00
TingPing 40e8ca9f6e Hide tray balloon option on OSX 2014-02-15 12:34:46 -05:00
TingPing 655b524ee6 Cleanup the preferences window
Simplifies some code and removes many widgets
2014-02-14 16:17:08 -05:00
TingPing ce09cb4a91 Update most deprecated gtk functions 2014-01-18 14:47:17 -05:00
TingPing a817072e6f Add Turkish language to preferences
Users of uk, vi, and wa languages will have to manually change their
lang on Windows after this.
2014-01-11 18:34:30 -05:00
TingPing afb6685593 Merge pull request #842 from ManiacTwister/setup-fix
Fixed setup window title offsets
2013-12-25 08:31:13 -08:00
ManiacTwister 2bbb2ac7db Fixed setup window title offsets 2013-11-18 03:37:11 +01:00
TingPing af248ce2c1 Fix invalid timestamps crashing on Windows 2013-11-02 21:07:03 -04:00
TingPing 9afd169362 Round 4 of gtk accessor functions: setup.c 2013-10-29 00:54:12 -04:00
Denis M. 0b228246ba Better understandable option for the input box's color rendering 2013-10-12 03:03:09 +02:00
TingPing 0a0bb57b2a Remove left over ifdef for spellcheck 2013-10-09 21:40:22 -04:00
TingPing 0c3220c469 Add preference to change tabs on scroll
Also revert e52905f50c
2013-10-08 18:16:10 -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 f6dd61cb02 Update to gtkspell3's iso code lookup
This no longer requires libxml
so now there is no reason for this to be optional
2013-10-03 16:23:46 -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 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 59b19bac70 Update tooltip for sound alerts without libcanberra 2013-09-14 12:46:38 -04:00
TingPing bf269d2e03 Of course mimetype doesn't work on Windows.. 2013-08-31 15:38:29 -04:00
TingPing 755932c3bc Use mimetypes for audio and images 2013-08-31 15:31:22 -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 f113008c7f Don't grey out log fliename in preferences
It can still be useful when global logging is disabled
2013-07-10 15:39:45 -04:00
TingPing 7f50ee6fd2 Increase upper limit for max DCC speed in preferences
For #672
2013-07-07 15:15:50 -04:00
Diogo Sousa dcdb11a78b Added preferences options to enable the server-time extension when available.
(Internationalization messages missing.)
2013-06-28 16:15:15 +01:00
TingPing 0689b54827 Add irc_ban_type to preferences 2013-06-09 16:51:57 -03:00
TingPing b569943059 Specify what for completion amount 2013-06-09 16:01:00 -03:00
TingPing a591c875ae Add completion_amount to prefs
... and remove completion_auto which is confusing to say the least.
2013-06-09 15:48:42 -03:00
Diogo Sousa 4402ea34de Fixed mistake in last commit. 2013-05-24 16:46:35 +01:00
Diogo Sousa faa53a5335 Spell check dictionaries were not being updated when changed. 2013-05-24 00:01:25 +01:00
Berke Viktor 8655c4b007 Reorganize Preferences 2013-05-19 20:43:21 +02:00
TingPing 4c307f6ac9 Add auto-reconnect to preferences 2013-05-12 04:08:01 -04:00
TingPing 860ef759f5 Have gui_input_icon depend on gui_input_nick in prefs 2013-05-07 23:28:59 -03:00
TingPing b4c885861d Remove away announce 2013-04-28 17:19:26 -04:00
Berke Viktor 700d699f5b Cosmetics 2013-04-28 15:30:08 +03:00
Berke Viktor 87413e9d3c Add hints about the beep file 2013-04-28 05:31:45 +02:00
Berke Viktor dbe6deab45 Rename Sound to Sounds and reorder Chatting pages 2013-04-28 04:57:01 +02:00
Berke Viktor a3ba8d575e Store just the filename if the sound file comes from the default sound dir
And get rid of some hardcoding while we're at it
2013-04-28 04:12:00 +02:00
Berke Viktor 5bb284267b Remove dead code for sound_command 2013-04-28 01:57:00 +02:00
Berke Viktor 6001ceff9f Get rid of bundled beep 2013-04-27 23:00:18 +02:00