Commit Graph

2444 Commits

Author SHA1 Message Date
Diogo Sousa d9d05e83ba Restructured a fair bit of cfgfiles.c. Besides making the code cleaner this allows
for better error handling (in fact the error message of check_prefs_dir () whould
make hexchat abort).
2013-05-13 01:58:08 +01:00
Richard Hitt 631664645d Add "#define GLIB_DISABLE_DEPRECATION_WARNINGS" to eliminate a warning message 2013-05-12 17:25:43 -07:00
Diogo Sousa 61ed0829bd Forget to put an empty line after a function definition 2013-05-12 23:33:44 +01:00
Diogo Sousa f023de0faf Removed unnecessary call to check_prefs_dir() in load_config().
This function is called in save_config(), where it is actually needed.
2013-05-12 23:25:36 +01:00
Diogo Sousa 7238853f0f Factored locale related code in main() to a new function. 2013-05-12 23:15:23 +01:00
Diogo Sousa 6a8cad6f94 Now hexchat doesn't abnormally terminal when started as root.
This fixes #589/#504.
2013-05-12 16:37:38 +01:00
Berke Viktor 2c15270be1 Remember selected tab 2013-05-12 16:59:21 +02:00
Berke Viktor c044bdfe32 Fix warning 2013-05-12 16:38:31 +02:00
Berke Viktor aac7079562 Add code for migrating existing configs 2013-05-12 16:38:21 +02:00
Berke Viktor cadcfc553c Cosmetics 2013-05-12 16:37:32 +02:00
Berke Viktor 5df669a329 Make the order consistent for load and save 2013-05-12 16:02:26 +02:00
TingPing 4c307f6ac9 Add auto-reconnect to preferences 2013-05-12 04:08:01 -04:00
TingPing 37aa38617e Merge pull request #588 from Repentinus/patch-2
Fixed misleading comments identifying the colours
2013-05-12 00:00:08 -07:00
Heiki Ojasild 07acb6f7b6 Fixed misleading comments identifying the colours
Replaced incorrect numbers (16 to 31) for mIRC colours with the correct ones (0 to 15).
2013-05-12 05:50:52 +00:00
Berke Viktor 9c96528a98 Remove unused variable 2013-05-12 06:19:42 +02:00
Berke Viktor 9327a5c71f Reduce GLib requirement 2013-05-12 06:16:26 +02:00
Berke Viktor 171dbcdedf Remove dead GLib code 2013-05-12 05:58:16 +02:00
Berke Viktor de819e12bf g_slist_copy_deep() requires GLib 2.34 2013-05-12 05:55:14 +02:00
Berke Viktor 198dc9eb43 Fix favorite channels except in inbound.c 2013-05-12 05:44:32 +02:00
TingPing 04d282fae3 Fix crash when quickly attaching/detaching tabs 2013-05-11 23:07:42 -03:00
Berke Viktor bb86771425 Add explanation as well 2013-05-11 20:47:39 +02:00
Berke Viktor 791e0fc11f Make login type more intuitive and disable unused /NS 2013-05-11 20:42:29 +02:00
Berke Viktor 0badd9b874 Remove dead code 2013-05-11 20:09:07 +02:00
Berke Viktor af03fa3c7c Fix connect commands 2013-05-11 20:06:22 +02:00
Berke Viktor 4d30512e05 Fix layout when resized 2013-05-11 16:30:45 +02:00
Berke Viktor d5e8fa47f0 Allocate all extra vertical space to the treeviews 2013-05-11 16:21:38 +02:00
Berke Viktor 85c7e07351 Set up window sizes correctly 2013-05-11 15:58:52 +02:00
Berke Viktor fde85c79df Reorganize the network editor 2013-05-11 15:22:28 +02:00
Berke Viktor 712eb5428e GtkComboBoxText requires GTK+ 2.24, dump code for older versions 2013-05-11 13:06:25 +02:00
Berke Viktor 5c663adf35 Reorganize a bit and fix spacing 2013-05-11 12:56:26 +02:00
Berke Viktor 68fa033483 Re-enable resize 2013-05-11 11:54:42 +02:00
TingPing b33f70571e fix error 2013-05-11 09:31:56 -04:00
TingPing cdc2bb0216 serverlistgui cleanup 2013-05-11 09:20:03 -04:00
TingPing 250d9b565c Merge pull request #582 from Repentinus/patch-1
Support for away tracking regardless of channel size
2013-05-11 02:10:42 -07:00
TingPing 6e7c0395e1 Merge pull request #585 from rahatarmanahmed/master
Added help text to sysinfo
2013-05-10 21:38:10 -07:00
Rahat Ahmed be35154376 Added help text for sysinfo plugin. 2013-05-10 23:32:29 -05:00
Berke Viktor de2fdc093a Cosmetics 2013-05-11 04:19:18 +02:00
Berke Viktor 3679dfe93e Make logmask consistent with scrollback mask 2013-05-11 04:18:44 +02:00
Berke Viktor 2e1425451d Remove some redundancy 2013-05-11 03:13:50 +02:00
Berke Viktor 0e1da0d33d Also disable labels, not just entries 2013-05-11 03:02:31 +02:00
Berke Viktor 7b0b86c9f7 Nuke nickserv password field and some cosmetics 2013-05-11 02:40:08 +02:00
Berke Viktor a98b95923b Get rid of this unnecessary buffer 2013-05-11 02:00:32 +02:00
Berke Viktor cf3d1ebb8b Skeleton for tabbed ui 2013-05-11 01:20:53 +02:00
Berke Viktor 5db1541f95 Reorganize the network list 2013-05-11 00:49:04 +02:00
Berke Viktor 873a3ef047 Replace various network options with universal login method option 2013-05-10 23:52:47 +02:00
TingPing beb3ab506d Import hexchat automatically when calling /py exec 2013-05-09 23:45:04 -03:00
TingPing 494364d437 Fix returning gtkwin_ptr from python api 2013-05-09 22:55:06 -03:00
Repentinus 2f1f2c6a85 Added support for marking nicks that are away in different colour when away_size_max = 0, but tracking enabled. 2013-05-09 23:04:46 +00:00
Heiki Ojasild 66853d9715 Add option to support away tracking regardless of channel size
As there is option to disable away tracking, it would make sense to treat channel size limit of 0 as infinity for away tracking purposes. These changes attempt to implement this.
2013-05-09 21:11:58 +00:00
Diogo Sousa cf59ad2c76 Now process_numeric() passes the right session context to text_emit() when an
numeric event occurs regarding a nick with a open dialog.

Since this session context is potentially passed to plugins this can change the
behavior of plugins, but I think this is the intended semantics
(http://docs.hexchat.org/en/latest/script_python.html#context-theory).

Another consequence is that event messages will be displayed in the query dialog
of the nick in question (if a query dialog is open, of course), which I think is
sensible. (The initial intention of this patch was actually to report the
"No such nick" message in the query dialog when sending a message to a user that
has quit.)
2013-05-09 20:32:05 +01:00