]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
9 years agom_services_account Replace dynamic_cast with static_cast as we know the object is...
Attila Molnar [Sun, 18 Jan 2015 09:44:02 +0000 (10:44 +0100)]
m_services_account Replace dynamic_cast with static_cast as we know the object is a User

9 years agom_spanningtree Only unserialize() METADATA if the object type matches ExtensionItem...
Attila Molnar [Sun, 18 Jan 2015 09:42:39 +0000 (10:42 +0100)]
m_spanningtree Only unserialize() METADATA if the object type matches ExtensionItem::type

9 years agoSpecify which Extensible subclass an ExtensionItem is valid for
Attila Molnar [Sun, 18 Jan 2015 09:40:33 +0000 (10:40 +0100)]
Specify which Extensible subclass an ExtensionItem is valid for

9 years agoVerify that the chan in chanlist is in fact the same object as us in Channel::CheckDe...
Attila Molnar [Fri, 16 Jan 2015 10:01:50 +0000 (11:01 +0100)]
Verify that the chan in chanlist is in fact the same object as us in Channel::CheckDestroy() before proceeding

9 years agoGracefully handle multiple Channel::CheckDestroy() calls on the same object
Attila Molnar [Fri, 16 Jan 2015 09:58:28 +0000 (10:58 +0100)]
Gracefully handle multiple Channel::CheckDestroy() calls on the same object

Don't add the channel to the cull list more than once

9 years agocmode_k Fix oversight in substr() conversion
Attila Molnar [Wed, 14 Jan 2015 11:07:20 +0000 (12:07 +0100)]
cmode_k Fix oversight in substr() conversion

While at it, introduce a named constant for maximum key length

9 years agoMerge branch 'master+stfjoinforward'
Attila Molnar [Wed, 14 Jan 2015 11:00:57 +0000 (12:00 +0100)]
Merge branch 'master+stfjoinforward'

9 years agoFix issues with some numerics introduced in the WriteNumeric() conversion and elsewhere
Attila Molnar [Sun, 11 Jan 2015 13:35:21 +0000 (14:35 +0100)]
Fix issues with some numerics introduced in the WriteNumeric() conversion and elsewhere

9 years agoStore iovec array on the stack instead of heap allocating it for the lifetime of...
Attila Molnar [Sat, 10 Jan 2015 14:43:00 +0000 (15:43 +0100)]
Store iovec array on the stack instead of heap allocating it for the lifetime of writev() in StreamSocket::DoWrite()

9 years agoRemove pointless fd == INT_MAX check from StreamSocket::DoWrite()
Attila Molnar [Sat, 10 Jan 2015 14:39:02 +0000 (15:39 +0100)]
Remove pointless fd == INT_MAX check from StreamSocket::DoWrite()

9 years agoRemove some unnecessary NULL checks
Attila Molnar [Sat, 10 Jan 2015 14:36:13 +0000 (15:36 +0100)]
Remove some unnecessary NULL checks

9 years agoReduce std::string::substr() usage
Attila Molnar [Sat, 10 Jan 2015 14:16:03 +0000 (15:16 +0100)]
Reduce std::string::substr() usage

substr() returns a new string while erase() and assign() modify the existing one

9 years agoRemove the unused OnGlobalOper hook
Attila Molnar [Sat, 10 Jan 2015 13:30:41 +0000 (14:30 +0100)]
Remove the unused OnGlobalOper hook

9 years agom_spanningtree Increase maximum generated FJOIN line size to 510
Attila Molnar [Fri, 9 Jan 2015 14:21:10 +0000 (15:21 +0100)]
m_spanningtree Increase maximum generated FJOIN line size to 510

9 years agom_spanningtree Forward FJOINs with correct TS, modes and userlist
Attila Molnar [Fri, 9 Jan 2015 14:18:09 +0000 (15:18 +0100)]
m_spanningtree Forward FJOINs with correct TS, modes and userlist

9 years agom_spanningtree Change name and scope of commait in FJOIN handler
Attila Molnar [Fri, 9 Jan 2015 13:59:00 +0000 (14:59 +0100)]
m_spanningtree Change name and scope of commait in FJOIN handler

9 years agom_spanningtree Add overload for add() and has_room(), giving more flexibility to...
Attila Molnar [Fri, 9 Jan 2015 13:56:28 +0000 (14:56 +0100)]
m_spanningtree Add overload for add() and has_room(), giving more flexibility to subclasses of CommandFJoin::Builder

9 years agom_spanningtree Add CmdBuilder::push_raw() overload for ranges
Attila Molnar [Fri, 9 Jan 2015 13:52:16 +0000 (14:52 +0100)]
m_spanningtree Add CmdBuilder::push_raw() overload for ranges

9 years agom_spanningtree Add source server parameter to CommandFJOIN::Builder constructor
Attila Molnar [Fri, 9 Jan 2015 13:50:21 +0000 (14:50 +0100)]
m_spanningtree Add source server parameter to CommandFJOIN::Builder constructor

Default it to this server

9 years agoMerge pull request #959 from Alef-Burzmali/master+fixcloaking
Attila Molnar [Sat, 3 Jan 2015 15:22:08 +0000 (16:22 +0100)]
Merge pull request #959 from Alef-Burzmali/master+fixcloaking

Fix a regression in m_cloaking

9 years agocmd_invite Send RPL_AWAY after RPL_INVITING if the target user is away
Attila Molnar [Sat, 3 Jan 2015 15:06:53 +0000 (16:06 +0100)]
cmd_invite Send RPL_AWAY after RPL_INVITING if the target user is away

This is consistent with other server implementations and the RFC

9 years agoFix a regression in m_cloaking
Thomas Fargeix [Mon, 29 Dec 2014 22:47:21 +0000 (23:47 +0100)]
Fix a regression in m_cloaking

5c7db14a5 made the cloak use hex-encoded hashes instead
of the binary output.

9 years agoMerge branch 'master+listmode'
Attila Molnar [Fri, 19 Dec 2014 14:29:21 +0000 (15:29 +0100)]
Merge branch 'master+listmode'

9 years agoMerge branch 'master+flatmap'
Attila Molnar [Fri, 19 Dec 2014 14:24:02 +0000 (15:24 +0100)]
Merge branch 'master+flatmap'

9 years agoMerge branch 'master+serverlimits'
Attila Molnar [Thu, 18 Dec 2014 22:40:15 +0000 (23:40 +0100)]
Merge branch 'master+serverlimits'

9 years agoMerge pull request #953 from SaberUK/master+configure-oversights
Attila Molnar [Thu, 18 Dec 2014 22:33:20 +0000 (23:33 +0100)]
Merge pull request #953 from SaberUK/master+configure-oversights

Fix some oversights from #895.

9 years agoFix some oversights from #895.
Peter Powell [Thu, 18 Dec 2014 16:01:10 +0000 (16:01 +0000)]
Fix some oversights from #895.

- Always write the configure cache file as it is needed for updating
  the makefile when --update is called.
- List the modules which have been enabled in the "configuration
  complete" message.
- Silence some harmless warnings about installing PEM files which
  don't exist.

9 years agoDrop setter is empty check when displaying listmodes
Attila Molnar [Tue, 16 Dec 2014 15:45:06 +0000 (16:45 +0100)]
Drop setter is empty check when displaying listmodes

The setter cannot be empty unless the nick of a client is empty which is not possible

9 years agoDisplay listmodes in the order in which they are in the container instead of reverse...
Attila Molnar [Tue, 16 Dec 2014 15:44:00 +0000 (16:44 +0100)]
Display listmodes in the order in which they are in the container instead of reverse iterating

9 years agoChange listmode storage type to vector
Attila Molnar [Tue, 16 Dec 2014 15:42:35 +0000 (16:42 +0100)]
Change listmode storage type to vector

9 years agoChange type of some associative containers to their flat versions, including Extensib...
Attila Molnar [Mon, 15 Dec 2014 16:48:52 +0000 (17:48 +0100)]
Change type of some associative containers to their flat versions, including Extensible storage

9 years agoAdd flat_[multi]{map,set} containers
Attila Molnar [Mon, 15 Dec 2014 16:36:20 +0000 (17:36 +0100)]
Add flat_[multi]{map,set} containers

9 years agoAdd typedef ModeParser::ModeWatcherMap, remove ModeWatchIter
Attila Molnar [Mon, 15 Dec 2014 16:14:09 +0000 (17:14 +0100)]
Add typedef ModeParser::ModeWatcherMap, remove ModeWatchIter

9 years agoAdd typedef PrivSet for OperInfo::AllowedOperCommands and AllowedPrivs
Attila Molnar [Mon, 15 Dec 2014 16:09:48 +0000 (17:09 +0100)]
Add typedef PrivSet for OperInfo::AllowedOperCommands and AllowedPrivs

9 years agoMerge branch 'master+callerid' into master+flatmap
Attila Molnar [Mon, 15 Dec 2014 16:02:26 +0000 (17:02 +0100)]
Merge branch 'master+callerid' into master+flatmap

9 years agom_callerid Change CallerIdDataSet (wholistsme) to be a vector
Attila Molnar [Wed, 10 Dec 2014 15:57:18 +0000 (16:57 +0100)]
m_callerid Change CallerIdDataSet (wholistsme) to be a vector

9 years agom_callerid Add typedefs for containers in callerid_data
Attila Molnar [Wed, 10 Dec 2014 15:56:00 +0000 (16:56 +0100)]
m_callerid Add typedefs for containers in callerid_data

9 years agom_callerid Simplify code interacting with containers
Attila Molnar [Wed, 10 Dec 2014 15:50:12 +0000 (16:50 +0100)]
m_callerid Simplify code interacting with containers

9 years agoPass the empty tag to Limits when constructing a ServerConfig, remove default ServerL...
Attila Molnar [Tue, 9 Dec 2014 11:36:24 +0000 (12:36 +0100)]
Pass the empty tag to Limits when constructing a ServerConfig, remove default ServerLimits constructor

9 years agoAdd ServerLimits constructor that reads limits from a ConfigTag and use it
Attila Molnar [Tue, 9 Dec 2014 11:35:31 +0000 (12:35 +0100)]
Add ServerLimits constructor that reads limits from a ConfigTag and use it

9 years agoInitialize ServerConfig::EmptyTag using the init list
Attila Molnar [Tue, 9 Dec 2014 11:30:21 +0000 (12:30 +0100)]
Initialize ServerConfig::EmptyTag using the init list

9 years agoMerge branch 'master+timeout'
Attila Molnar [Mon, 8 Dec 2014 21:10:02 +0000 (22:10 +0100)]
Merge branch 'master+timeout'

9 years agoLink m_ldap against libldap_r
Adam [Sun, 7 Dec 2014 20:47:00 +0000 (15:47 -0500)]
Link m_ldap against libldap_r

9 years agoMerge pull request #941 from SaberUK/master+test-build
Attila Molnar [Sun, 7 Dec 2014 22:49:03 +0000 (23:49 +0100)]
Merge pull request #941 from SaberUK/master+test-build

Add support for extra modules and custom compilers to test-build.

9 years agoAdd support for extra modules and custom compilers to test-build.
Peter Powell [Wed, 22 Oct 2014 12:30:32 +0000 (13:30 +0100)]
Add support for extra modules and custom compilers to test-build.

9 years agoMerge pull request #895 from SaberUK/master+configure-misc-cleanup
Attila Molnar [Sun, 7 Dec 2014 22:39:55 +0000 (23:39 +0100)]
Merge pull request #895 from SaberUK/master+configure-misc-cleanup

Various improvements to the build system.

9 years agoFix builds on OpenBSD spamming the console with warnings.
Peter Powell [Wed, 1 Oct 2014 18:52:34 +0000 (19:52 +0100)]
Fix builds on OpenBSD spamming the console with warnings.

9 years agoFix warnings in m_ssl_openssl about the use of `long long` on C++03.
Peter Powell [Wed, 1 Oct 2014 18:52:30 +0000 (19:52 +0100)]
Fix warnings in m_ssl_openssl about the use of `long long` on C++03.

9 years agoMove common code to make::common from make::utilities.
Peter Powell [Wed, 1 Oct 2014 18:52:29 +0000 (19:52 +0100)]
Move common code to make::common from make::utilities.

The other code in that file will be removed very soon so it has
been left alone to avoid merge conflicts.

This will help prevent insp20 merge conflicts in the future.

9 years agoImplement support for distribution specific version labels.
Peter Powell [Wed, 1 Oct 2014 18:52:28 +0000 (19:52 +0100)]
Implement support for distribution specific version labels.

This will help us determine whether a version has been packaged by
a downstream distribution who quite often make arbitrary changes
which are a pain to provide support for.

Debian, we're looking at you.

9 years agoImprove build system compiler detection.
Peter Powell [Wed, 1 Oct 2014 18:52:27 +0000 (19:52 +0100)]
Improve build system compiler detection.

- Check the CXX environment variable inside find_compiler instead
  of doing it separately.
- Use a test file instead of checking for version output. This
  ensures we are using a working compiler.
- Pipe the output through run_test which makes debugging problems
  considerably easier.
- Detect Xcode versions of Clang properly by returning the LLVM
  version number instead of the Xcode one.

9 years agoImprove configure cache file handling.
Peter Powell [Wed, 1 Oct 2014 18:52:26 +0000 (19:52 +0100)]
Improve configure cache file handling.

- Add a version number to the configure cache file.
- Disable configure cache file in non-interactive mode.
- Rename configure cache file to .configure.cache to avoid 2.0 files.
- Use run_test to produce the "reading .configure.cache" message.

9 years agoMiscellaneous improvements to configure.
Peter Powell [Wed, 1 Oct 2014 18:52:25 +0000 (19:52 +0100)]
Miscellaneous improvements to configure.

- Clean up various minor sections of the code.
- Remove OpenSSL and GnuTLS detection plumbing.
  - This will soon be the job of modulemanager.
  - This did not work in non-interactive mode unlike --enable-extras.
- Rework runas user handling.
  - Add the --gid configure option.
  - Accept either an id or a name in --gid and --uid.
- Rework the question flow in interactive mode.
  - User is no longer asked detailed questions unless they want them.
  - Socket engine questions have been removed.
- Automatically enable non-interactive mode if STDIN or STDOUT are not
  a tty.

9 years agoAdd Perl module for console related code.
Peter Powell [Wed, 1 Oct 2014 18:52:23 +0000 (19:52 +0100)]
Add Perl module for console related code.

- Move prompt_* methods to this module.
- Add methods for printing errors and warnings easily.
- Add colour code helpers and switch all code to use them.

10 years agom_flashpolicyd, m_httpd Store sockets in a intrusive list
Attila Molnar [Mon, 3 Nov 2014 14:43:49 +0000 (15:43 +0100)]
m_flashpolicyd, m_httpd Store sockets in a intrusive list

10 years agom_flashpolicyd, m_httpd Handle timeouts using the Timer system
Attila Molnar [Mon, 3 Nov 2014 14:42:08 +0000 (15:42 +0100)]
m_flashpolicyd, m_httpd Handle timeouts using the Timer system

10 years agom_httpd Clean up HttpServerSocket constructor
Attila Molnar [Mon, 3 Nov 2014 14:36:10 +0000 (15:36 +0100)]
m_httpd Clean up HttpServerSocket constructor

10 years agom_httpd Remove unused container
Attila Molnar [Mon, 3 Nov 2014 14:34:58 +0000 (15:34 +0100)]
m_httpd Remove unused container

10 years agom_httpd Always timeout connections, set default timeout to 10 seconds
Attila Molnar [Mon, 3 Nov 2014 14:34:20 +0000 (15:34 +0100)]
m_httpd Always timeout connections, set default timeout to 10 seconds

10 years agoAdd stdalgo::isin() and use it to simplify code
Attila Molnar [Sat, 1 Nov 2014 17:21:30 +0000 (18:21 +0100)]
Add stdalgo::isin() and use it to simplify code

10 years agoAdd stdalgo::erase() and use it to simplify code
Attila Molnar [Sat, 1 Nov 2014 17:17:04 +0000 (18:17 +0100)]
Add stdalgo::erase() and use it to simplify code

10 years agoRemove if (!this) check from ConfigTag::readString()
Attila Molnar [Mon, 27 Oct 2014 14:30:02 +0000 (15:30 +0100)]
Remove if (!this) check from ConfigTag::readString()

10 years agoMerge insp20
Attila Molnar [Mon, 27 Oct 2014 14:26:20 +0000 (15:26 +0100)]
Merge insp20

10 years agom_ssl_openssl Store a pointer to the OpenSSLIOHook object in SSL objects
Attila Molnar [Mon, 27 Oct 2014 13:40:02 +0000 (14:40 +0100)]
m_ssl_openssl Store a pointer to the OpenSSLIOHook object in SSL objects

10 years agoRelease v2.0.18
Attila Molnar [Sun, 26 Oct 2014 17:05:40 +0000 (18:05 +0100)]
Release v2.0.18

10 years agoRemove some dead code found by Coverity
Attila Molnar [Sun, 26 Oct 2014 17:01:24 +0000 (18:01 +0100)]
Remove some dead code found by Coverity

10 years agoMerge pull request #944 from SaberUK/insp20+gnutls-rnd
Attila Molnar [Sat, 25 Oct 2014 01:58:49 +0000 (03:58 +0200)]
Merge pull request #944 from SaberUK/insp20+gnutls-rnd

[2.0] Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.

10 years agoUse gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.
Peter Powell [Mon, 25 Aug 2014 12:04:17 +0000 (13:04 +0100)]
Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.

This is a modified version of 690c372. Fixes #905.

10 years agoMerge pull request #940 from SaberUK/insp20+fix-makefile
Attila Molnar [Fri, 24 Oct 2014 23:16:02 +0000 (01:16 +0200)]
Merge pull request #940 from SaberUK/insp20+fix-makefile

[2.0] Fix some small bugs in the makefile template.

10 years agoUse clang++ on FreeBSD 10 instead of g++.
Peter Powell [Tue, 21 Oct 2014 21:05:51 +0000 (22:05 +0100)]
Use clang++ on FreeBSD 10 instead of g++.

10 years agoFix some small bugs in the makefile template.
Peter Powell [Tue, 21 Oct 2014 08:37:50 +0000 (09:37 +0100)]
Fix some small bugs in the makefile template.

- GCC in C++ mode should be called g++ not gcc.
- ICC in C++ mode should be called icpc not icc.

10 years agom_delaymsg Add option to disallow NOTICEs too
Attila Molnar [Thu, 23 Oct 2014 15:59:44 +0000 (17:59 +0200)]
m_delaymsg Add option to disallow NOTICEs too

10 years agoFix m_banredirect causing bans added for hosts being rewritten as nicks
Adam [Mon, 20 Oct 2014 19:14:54 +0000 (15:14 -0400)]
Fix m_banredirect causing bans added for hosts being rewritten as nicks

10 years agoFail AAAA DNS queries if inet_ntop() fails
Attila Molnar [Wed, 22 Oct 2014 17:27:32 +0000 (19:27 +0200)]
Fail AAAA DNS queries if inet_ntop() fails

10 years agoCheck the return value of getnameinfo() on Windows in insp_inet_ntop() and return...
Attila Molnar [Wed, 22 Oct 2014 17:21:04 +0000 (19:21 +0200)]
Check the return value of getnameinfo() on Windows in insp_inet_ntop() and return NULL if it fails

10 years agoSet the parameter of -b to the banmask actually removed
Attila Molnar [Tue, 21 Oct 2014 22:25:05 +0000 (00:25 +0200)]
Set the parameter of -b to the banmask actually removed

This is needed because of the case insensitive match

10 years agom_ssl_openssl Add compile time option that allows disabling renegotiations
Attila Molnar [Fri, 17 Oct 2014 16:46:47 +0000 (18:46 +0200)]
m_ssl_openssl Add compile time option that allows disabling renegotiations

10 years agom_ssl_openssl Add compile time option to enable ECDH
Attila Molnar [Wed, 15 Oct 2014 16:27:20 +0000 (18:27 +0200)]
m_ssl_openssl Add compile time option to enable ECDH

10 years agom_ssl_gnutls Add compile time option for allowing sha256 certificate fingerprints
Attila Molnar [Mon, 20 Oct 2014 18:48:23 +0000 (20:48 +0200)]
m_ssl_gnutls Add compile time option for allowing sha256 certificate fingerprints

10 years agoUpdate <nationalchars> tag documentation
Attila Molnar [Mon, 20 Oct 2014 18:42:17 +0000 (20:42 +0200)]
Update <nationalchars> tag documentation

10 years agoFix watch away numerics, #937
Adam [Sat, 18 Oct 2014 18:28:50 +0000 (14:28 -0400)]
Fix watch away numerics, #937

10 years agom_delayjoin Only send JOIN on mode change if the mode being changed is a prefix mode
Attila Molnar [Fri, 17 Oct 2014 13:40:01 +0000 (15:40 +0200)]
m_delayjoin Only send JOIN on mode change if the mode being changed is a prefix mode

10 years agoInitialize all fields of issl_session on module load in SSL modules
Attila Molnar [Thu, 16 Oct 2014 19:18:29 +0000 (21:18 +0200)]
Initialize all fields of issl_session on module load in SSL modules

10 years agoAdd interface to SSL modules that allows other modules to obtain the raw SSL session...
Attila Molnar [Thu, 16 Oct 2014 19:15:31 +0000 (21:15 +0200)]
Add interface to SSL modules that allows other modules to obtain the raw SSL session of a socket

10 years agom_ssl_gnutls Refcount GnuTLS objects, free them when they are no longer in use instea...
Attila Molnar [Thu, 16 Oct 2014 19:07:25 +0000 (21:07 +0200)]
m_ssl_gnutls Refcount GnuTLS objects, free them when they are no longer in use instead of at /rehash ssl time

10 years agom_ssl_openssl Fix debug message
Attila Molnar [Wed, 15 Oct 2014 18:16:05 +0000 (20:16 +0200)]
m_ssl_openssl Fix debug message

10 years agom_ssl_openssl Reset data_to_write for new sessions
Attila Molnar [Wed, 15 Oct 2014 18:13:00 +0000 (20:13 +0200)]
m_ssl_openssl Reset data_to_write for new sessions

10 years agom_ssl_openssl Free the ssl_cert object as soon as the session is closed instead of...
Attila Molnar [Wed, 15 Oct 2014 18:10:04 +0000 (20:10 +0200)]
m_ssl_openssl Free the ssl_cert object as soon as the session is closed instead of waiting for the next VerifyCertificate() or new connection

10 years agom_ssl_openssl Remove bogus errno assignment from CloseSession()
Attila Molnar [Wed, 15 Oct 2014 18:07:55 +0000 (20:07 +0200)]
m_ssl_openssl Remove bogus errno assignment from CloseSession()

10 years agoMerge pull request #935 from SaberUK/insp20+fix-crlf
Attila Molnar [Wed, 15 Oct 2014 17:55:17 +0000 (19:55 +0200)]
Merge pull request #935 from SaberUK/insp20+fix-crlf

Add a workaround for compiling modules with Windows line endings.

10 years agom_ssl_openssl Return an error from the IOHook read and write functions if the handsha...
Attila Molnar [Tue, 14 Oct 2014 15:52:41 +0000 (17:52 +0200)]
m_ssl_openssl Return an error from the IOHook read and write functions if the handshake returns 0

The meaning of a 0 return value quoted from the manual:
The TLS/SSL handshake was not successful but was shut down controlled and by the specifications of the TLS/SSL protocol.

10 years agom_ssl_openssl Add user-friendly config options for setting a few OpenSSL context...
Attila Molnar [Tue, 14 Oct 2014 15:40:13 +0000 (17:40 +0200)]
m_ssl_openssl Add user-friendly config options for setting a few OpenSSL context options

10 years agoAdd a workaround for compiling modules with Windows line endings.
Peter Powell [Mon, 13 Oct 2014 20:44:13 +0000 (21:44 +0100)]
Add a workaround for compiling modules with Windows line endings.

10 years agom_nationalchars Ask m_spanningtree to rebuild its hashmaps when the national_case_ins...
Attila Molnar [Mon, 13 Oct 2014 19:18:12 +0000 (21:18 +0200)]
m_nationalchars Ask m_spanningtree to rebuild its hashmaps when the national_case_insensitive_map changes

Issue #923

10 years agom_spanningtree Rebuild serverlist and sidlist when receiving a specific Request
Attila Molnar [Mon, 13 Oct 2014 19:16:51 +0000 (21:16 +0200)]
m_spanningtree Rebuild serverlist and sidlist when receiving a specific Request

Issue #923

10 years agom_nationalchars Rebuild the hash map in m_watch when the national_case_insensitive_ma...
Attila Molnar [Mon, 13 Oct 2014 19:12:55 +0000 (21:12 +0200)]
m_nationalchars Rebuild the hash map in m_watch when the national_case_insensitive_map changes

Issue #923

10 years agom_nationalchars Rebuild core hashmaps when the national_case_insensitive_map changes
Attila Molnar [Mon, 13 Oct 2014 19:11:14 +0000 (21:11 +0200)]
m_nationalchars Rebuild core hashmaps when the national_case_insensitive_map changes

Issue #923

10 years agoMerge pull request #934 from SaberUK/insp20+fix-various-issues
Attila Molnar [Mon, 13 Oct 2014 18:37:38 +0000 (20:37 +0200)]
Merge pull request #934 from SaberUK/insp20+fix-various-issues

Fix various issues detected by Coverity.

10 years agoKill some logically dead code detected by Coverity.
Peter Powell [Sun, 12 Oct 2014 17:38:23 +0000 (18:38 +0100)]
Kill some logically dead code detected by Coverity.

- m_watch: wl has already been confirmed to not be NULL on L161.

10 years agoReplace dodgy use of const char* and memcpy with std::string.
Peter Powell [Mon, 20 May 2013 19:15:50 +0000 (20:15 +0100)]
Replace dodgy use of const char* and memcpy with std::string.

This was backported from commit e01df63 in master.