Commit Graph

1588 Commits (master)

Author SHA1 Message Date
TingPing 10246f121a Fix unsafe string handling in configs
Also fixes 2 leaks
9 years ago
TingPing 025152ee53 Fix unused warning 9 years ago
TingPing 58e871696b Fix typo 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 2b94011fdc Removed some commented-out code. 9 years ago
Arnavion 2da5308fd2 Fixed leak of filename string. 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
Arnavion b7afcc3632 Don't leak filename_fs on errors. 9 years ago
Arnavion 5152040c17 Always use 64-bit filesize and file offsets in DCC.
Based on LRN's commit for replacing stat with GFileInfo

Fixes #382
9 years ago
Arnavion 985ea610e6 Store timer hook's timeout as milliseconds. 9 years ago
Arnavion 8062bce835 Fix some obvious type warnings. 9 years ago
TingPing e38f00775f configure: Add option to run clang static analysis 9 years ago
TingPing 05a6097dc6 Fix copying timestamp with server-time and indent nicks off 9 years ago
TingPing 85557f2416 Fix duplicate timestamps on selection
Fixes #1226
9 years ago
tomek 0019af675a Fix compilation on Windows 9 years ago
TingPing f03023297b Fix handling --cfgdir
Fixes #1225
9 years ago
TingPing c92b247878 Fix building against openssl 0.9.8
Closes #1221
9 years ago
TingPing c0769397d5 Fix possible crash in SASL Blowfish mech 9 years ago
TingPing c9b63f7f9b ssl: Validate hostnames
Closes #524
9 years ago
TingPing ebaaf466bf ssl: Use more secure options
This disables ssl 2/3
9 years ago
TingPing 4b6215051f ssl: Don't use global openssl context
Fixes #789
9 years ago
Campbell Barton f83d78dd28 Warning cleanup
- ignoring const
- declarations after statements
- some C files didnt include own headers (risking them getting out of sync)

Closes #1064
9 years ago
TingPing 3c89de48a8 Remove old config migration
Fixes #1194
9 years ago
RichardHitt 6653582f0a Fix textbox not scrolling to to bottom on resize
Set buf->scrollbar_down conditionally when vertically resizing text window
If resize to enlarge appears to go to last line, set buf->scrollbar_down to be sure.

Fixes #1151
Closes #1171
9 years ago
TingPing abaed2bda4 Fix parsing of MONITOR responses
Fixes #1157
9 years ago
TingPing ce4e129849 Take two at fixing out of source builds 9 years ago
TingPing ecd1aa226a Fix attempting to toggle visibility when tray disabled 9 years ago
TingPing 760d18b6e7 Fix missing header
And just use g_snprintf() while at it..
9 years ago
TingPing f389257403 Increase max len of chiper names
For example ECDHE-ECRSA-AES256-GCM-SHA384
9 years ago
TingPing 84df81f336 Replace some unsafe usage of strncpy
Ensure everything is null terminated
9 years ago
Arnavion a9a6cbda4e win32: Fixed build break due to 7a4a024 9 years ago
TingPing 7a4a0243bd Fix out of source builds
Fixes #1018
9 years ago
Arnavion e209e55e59 Use PlaySoundW to play sounds on Windows.
Fixes #1133
9 years ago
Arnavion ad2300f236 Correctly open URLs with non-ASCII characters on Windows.
Fixes #1023
9 years ago
TingPing 80bdd9ce11 Detect utf8 urls
They might not be valid, but like many things they are still used
9 years ago
TingPing 5f99d34c3b Fix opening utf8 urls on OSX
- Escape hostnames with punycode
- Use proper encoding when launching open
9 years ago
TingPing 2aa3eb8cfb Escape values set via pluginpref
Fixes #790
9 years ago
LightningW d1b9118056 Fix DOMAIN and EMAIL patterns.
Closes #1107
9 years ago
Farow fd95c729d5 xtext: Add word and line selection modes
Similar to a GtkTextView if you double click you enter word selection mode
and if you triple click you enter line selection mode.
Allowing you to drag and select more than a single character.

Closes #1108
9 years ago
TingPing d1c40196e3 Fix using negative index 9 years ago
TingPing 9716185edf Use glib to get portable mode dir
This should fix any non-ascii paths
9 years ago
Arnavion a38892ff3b Use GFile API in gtkutil_check_file instead of stat/access.
The latter functions expect codepage-encoded filenames on Windows but GLib's API returns filesystem-encoded paths, which on Windows are UTF-8. GLib API should be used to deal with GLib API results.

Also fixed leaks in two of the callers of gtkutil_check_file()

Fixes #968
9 years ago
TingPing a854234c1f Fix warning 9 years ago
Arnavion 7c2c8b1403 Fixed expand_homedir to handle paths like "~user" correctly. 9 years ago
TingPing c2ecb4c68c Fix various crashes with pluginpref 9 years ago
siniStar7boy ea9dafcd43 Add GeeksIRC and IRC4Fun to network list
Closes #1057
Closes #1058
9 years ago
RichardHitt 7a7b9c682d Fix apostrophe related spell check issues 9 years ago
RichardHitt 0d3706e2ee Fix possible crash in spell check
Closes #1048
9 years ago
TingPing 121cb8b88d Fix formatting warnings
Found by #1059
9 years ago
Campbell Barton 93caf4c7b4 Use GNUC format attribute on print functions
Closes #1059
9 years ago
TingPing f1e853c1cb Disable tray support on Elementary
They followed Ubuntu in breaking any gtk trays..
9 years ago
laurinkus 3de79bca10 Update server list
Closes #1013
9 years ago
TingPing c3c6b46230 Clean up includes for gettext
It is always enabled.
9 years ago
TingPing 47b4b0da8a Remove unused defines 9 years ago
TingPing 45526205ab Remove broken debug code 9 years ago
TingPing 3342af4185 Make plugin-timer translatable 9 years ago
RichardHitt 7374637d34 Some problems in banlist.c are fixed 9 years ago
Berke Viktor 73c914cca9 Enable logging by default 9 years ago
TingPing 77d9d421fb Partial fix for out of source builds
Patch from LRN

Perl's makefile needs fixed and the relative include
of config.h needs removed from hexchat.h

Mentioned in #1018
9 years ago
TingPing 59f3a65911 Fix sending notify list to correct networks
Fixes #1015
9 years ago
TingPing 9181ea068a Fix dcc dir warning showing when not auto-accept 9 years ago
TingPing 3cd8556c54 Use GDir instead of dirent 9 years ago
TingPing 9c981cfc6b Fix warning 9 years ago
TingPing 11e3ecc739 Stop hardcoding plugin extensions everywhere 9 years ago
TingPing 5849a0588e Use glib to parse and launch commands for util_exec
Fixes #958
9 years ago
TingPing b8c02f71d9 win32: Use config.h instead of config-win32.h 9 years ago
TingPing 806b98dfc2 Update server list
Removed any server that could not be connected to atm

Closes #666
9 years ago
TingPing 518669de80 Remove random ifndef WIN32
I never found a reason for it existing, but it also never affected much anyway.
9 years ago
TingPing 8538dd1a49 win32: Don't auto-generate version.txt 9 years ago
TingPing a918ec2236 Fix scrolling the chanview on Unix
Fixes #948
9 years ago
TingPing 8578a9d52d Always use GModule for plugin support
Also cleans up some dead code
9 years ago
TingPing 6187b35fa6 Remove dead network 9 years ago
TingPing 9344373e0b Sensitize open dialog button in friends list when selected
Fixes #1001
9 years ago
Lee Watson 3d1d9e1716 Add SeionIRC to serverlist
Closes #982
9 years ago
Yoeri Beumer e18a086ccf Add StormBit to network list
Closes #873
9 years ago
RichardHitt 5706550cc1 Rework gtk_xtext_selection_draw(), simplify calls to _selection_render()
Fixes #992.
9 years ago
TingPing e13e0f4314 win32: Fix exiting fullscreen to a maximized window 9 years ago
Berke Viktor 31843017d4 Make lawyers happy 9 years ago
TingPing 637c153de3 Use newer format for default keybindings
This uses the proper bindings on OS X
9 years ago
TingPing 0f6434986f osx: Properly handle quitting 9 years ago
TingPing f43b7524e0 osx: Properly use app menu
Mentioned in #994
9 years ago
TingPing 4320d88b90 Fix crash with invalid dnd to userlist 9 years ago
TingPing 30de7a1377 Update default settings
- Enable server-time
- Disable tree dots
9 years ago
TingPing 011514e1ad Enable drag and drop on Windows
The issues around it no longer seem to exist in current GTK
9 years ago
RichardHitt 6fb8cf40e1 Fixes #959. In xtext.c:find_x() return offset to hidden text if appropriate. 9 years ago
TingPing 015cecf724 Fix drag and drop 9 years ago
TingPing 904493b24f Show notifications for private actions
Fixes #990
9 years ago
TingPing 95f9ca917e Default completion to last spoke 9 years ago
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
9 years ago
Derp Derpingston 7435572282 Properly support notices to prefix'd users on a channel
Instead of hardcoding this behavior for @, +, and %, fetch the list of
mode prefixes from the server's state and look for one of those instead.

Closes #977
9 years ago
Derp Derpingston 17671ec694 Fixed truncation of the reason when receiving a KILL message.
The KILL handler thought the message started one word later than it did, and
would cut off the first word.  This change starts the reason in the correct
place, and shaves off a leading : if one is present.

Closes #977
Closes #774
9 years ago
cortexcorepl 187c04f7e2 Add missing NULL check in cmd_lastlog
Closes #961
9 years ago
TheTechman 5af678d2b9 Default Techman's World IRC to SASL
Closes #963
9 years ago
TingPing 1265eee9e5 Fix spell check on OSX 9 years ago
Riamse e5f7441bae Fix sorting problem when using tabs
Fixes #949
9 years ago
Riamse 6ef41f7d4f Fix logging incorrect timestamp with server-time
Fixes #972
9 years ago
TingPing fea144dd19 Add option to bounce dock icon on OSX 9 years ago
TingPing fea528c39d Don't ignore command key in keybindings on OSX 9 years ago
TingPing 9599c29c46 Use filesize format based on OS
Adds gui_filesize_iec option on Unix

Closes #966
9 years ago
TingPing fe71af15a7 Fix warning 9 years ago
Berke Viktor b049757302 Replace deprecated GetVersionEx calls with version helpers
Only compiles with 8.1 SDK but runs everywhere

Closes #957
9 years ago
Arnavion 5fee31b1f0 Use the right API to get the path to Roaming AppData and Downloads directories, and actually convert it to utf-8 instead of using it directly. 9 years ago
Arnavion e4413e0178 Don't convert the result of g_get_user_name / g_get_real_name from locale to utf-8 on Windows. They return utf-8 already. 9 years ago
Arnavion dc27640265 Use utf-8 variant of strftime to format log file paths.
strftime assumes the format string is in locale encoding, which mangles log file paths that are in utf-8.

Fixes #767
Fixes #945
9 years ago
TingPing 41c209bf45 Reset all nick entry errors in servlist when fixed 9 years ago
TingPing 8bdde3a2df Fix warnings like usual 9 years ago
TingPing c8b3eef351 Improve displaying errors in servlist 9 years ago
TingPing 5f297950a2 Fix issues removing autojoin channels
- Makes remove case insensitive
- Fixes crashing when channel not found
9 years ago
RichardHitt ccf49aa48d Fix #928. Fix memory leak, mea culpa. 9 years ago
RichardHitt b66edd372e Fixes #928 again. In scrollback replay, skip every line that starts 0x0d. 9 years ago
TingPing 8a0f2b1d21 Use glib to format filesize in dccgui 9 years ago
TingPing 660b860ddd Fix whitespace... 9 years ago
TingPing f27b2e82fa Add Xertion to network list
Closes #939
9 years ago
TingPing b41bd594b0 Add account to Join event
Also reorganizes some logic. The account will usually be NULL unless
extended-join capability enabled.

Closes #934
9 years ago
RichardHitt 0f828dd74f Add marker-line functionality for scrollback, instant seek.
Fixes #662.
9 years ago
RichardHitt 4ca9672a92 Fix scrollback_load to deal with e.g. the output of /HELP
Fixes #928.
9 years ago
RichardHitt 1a3bfdce75 Improve handling scrollback when gui_tab_server==FALSE
Fixes #925.
9 years ago
RichardHitt 46e449f110 Correctly scroll down autojoined channels
Fixes #58
9 years ago
RichardHitt 0487daf865 Fix three miscellaneous bugs in gtk_xtext_get_word()
* Use utf8 functions for moving within string
	* Fix memory leak
	* Fix non-indent select problem
9 years ago
Arnavion 99ee7b6ef8 win32: Quote paths when invoking glib-compile-resources.exe
Also escape the trailing backslash in DataDir since otherwise it escapes the double-quote after it.
9 years ago
Arnavion 4cc764256c win32: Powershell.exe absolutely needs "-File" when running scripts or else it parses arguments with spaces as separate parameters. 9 years ago
TingPing d374f3ffe6 Disable hiding characters in the input 9 years ago
TingPing 664da30ee4 Partial revert of 5f732128
Still some scrolling issues remain, much work is to be
done to properly fix it.
9 years ago
Ken Spencer fd0eeddcc9 Add ElectroCode
Closes #910
9 years ago
a Code Lizard b52650de5d Added Anthrochat and Furnet to server list
Closes #900
9 years ago
TingPing e6e5659b11 Minor redesign to text events window
This makes it more consistent with the other settings windows

- Use editable cell for entry
- Use pane to resize both treeviews
- Make preview fixed size and on bottom
- Enable search for event name
9 years ago
TingPing dd128ce534 Remove migration code for xchat 1 colors 9 years ago
TingPing 8f6a596057 Properly handle shift tab in keyboard shortcuts 9 years ago
TingPing 85aff53a88 Use more user friendly label for keys in keyboard shortcuts 9 years ago
TingPing 40e8ca9f6e Hide tray balloon option on OSX 9 years ago
TingPing d3b4771103 Fix warning.. 9 years ago
TingPing 22b5affbe6 Use GRegex for channel list search
This adds support for Windows
9 years ago
TingPing b245f2f79e Tweak column sizing in channel list 9 years ago
TingPing f35ae03a66 Build with GTK_DISABLE_DEPRECATED 9 years ago
TingPing 725aed43ff Redesign keyboard shortcuts window
- Convert GtkCLists to GtkTreeViews
- Save keybindings in GtkAccelerator format
- Store keybindings in a GSList
9 years ago
TingPing 655b524ee6 Cleanup the preferences window
Simplifies some code and removes many widgets
9 years ago
TingPing b17c0276de Fix some leaks 9 years ago
TingPing ba399eb7f9 Remove unused function 9 years ago
TingPing 6d815ac688 Fix warning 9 years ago
TingPing 93d0341f9c Show help as tooltips in editlists 9 years ago
TingPing 2f847428aa Fix hiding unsupported channel modes in topicbar 9 years ago
TingPing 02275dff51 Fix some warnings in editlist 9 years ago
TingPing 34cf164aa2 Use a single marshal file for entire project 9 years ago
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
9 years ago