summaryrefslogtreecommitdiff
path: root/src/modules/m_nationalchars.cpp
AgeCommit message (Collapse)Author
2016-02-22Merge insp20Attila Molnar
2016-01-06Nuke m_watchAttila Molnar
2015-06-14Fix various issues with the nationalchars module.Peter Powell
- Strip the directory name in the default casemapping value. - Error out if the casemapping value contains a space. - Error out if the locale file failed to load. - Fix relative file path when building on Windows. - Install nationalchars files on Windows.
2015-05-17Fix incorrect iterator use leading to prematurely exiting loops when ↵Attila Molnar
quitting users while looping the local user list
2014-10-27Merge insp20Attila Molnar
2014-10-13m_nationalchars Ask m_spanningtree to rebuild its hashmaps when the ↵Attila Molnar
national_case_insensitive_map changes Issue #923
2014-10-13m_nationalchars Rebuild the hash map in m_watch when the ↵Attila Molnar
national_case_insensitive_map changes Issue #923
2014-10-13m_nationalchars Rebuild core hashmaps when the national_case_insensitive_map ↵Attila Molnar
changes Issue #923
2014-07-19Access local user list via new UserManager::GetLocalUsers() and make ↵Attila Molnar
local_users private
2014-07-19Move and rename typedef LocalUserList to UserManager::LocalListAttila Molnar
2014-06-14Kill needless #includes in source filesAttila Molnar
2014-01-31Remove some dead codeAttila Molnar
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-12Add <path> keys for all of the compile-time paths.Peter Powell
Also, make all paths in the config relative to their associated directory. This reverts a change in 2.0 which turned out to be a terrible idea, especially for system-wide installations.
2013-08-04Automatically attach modules to eventsattilamolnar
2013-08-04Change modules to use the MODNAME constant when logging.Peter Powell
The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them.
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-05-19Fix spacing in calls to LogManager::Log.Peter Powell
2013-05-18Remove the size argument from IsChannel and IsNick.Peter Powell
There was only one case (which was probably an error) where these methods were not set to their ServerLimits value.
2013-05-15Tidy up keywords on module methods.Peter Powell
- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
2013-04-12Add LOG_ prefix to the log level enum values.Peter Powell
2013-04-11Convert ISUPPORT to use a map instead of a string.Peter Powell
2013-04-01Whitespace and empty destructor removal, minor coding style changesattilamolnar
2013-04-01Change IsNickHandler()/IsIdentHandler()/IsChannelHandler() to use C++ ↵attilamolnar
strings as arguments instead of C strings
2012-12-02Dynamically determine the size of the eventlist[] passed to Attach()attilamolnar
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
2012-12-02Attach to events and register services in init()attilamolnar
2012-11-29Add a typedef for LocalUserListattilamolnar
2012-11-12Remove usage of the deprecated ConfigReaderattilamolnar
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2011-07-19Allow use of absolute paths with m_nationalcharsJackmcbarn
2010-01-17Change more modules to VF_OPTCOMMON and assert identical charsets in ↵danieldg
m_nationalchars git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12277 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-03Match USERINPUT/USEROUTPUT identifiersdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12004 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Split LocalUser and RemoteUserdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11940 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-18Remove VF_SERVICEPROVIDER, prevent heap allocation of ConfigReaderdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11904 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Remove dummy API_VERSION from Version constructordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26Remove InspIRCd* parameters and fieldsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-22Describe module purpose in /MODULES outputdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-24OnRehash changes: split to multiple hooks to clarify use and prevent ↵danieldg
explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-20Fix a bad malloc (why the hell is it malloc???) in m_nationalcharsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11240 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15Update all wiki links to point to the new wiki. This was done automatically ↵psychon
with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-24Fix svn:keywords on m_nationalchars.cppdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11146 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-11Patch by Phoenixpeavey
* adds line 8 for additional UTF-8 ranges * adds cjk-utf8 locale * fixes check 3.2 and adds check 3.3 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11082 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08Grr fucking windows grrrr fuckity fuckitybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11059 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-23Remove unneccessary safety loopbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10993 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-23Adapt this to syntax guidelines for inspircd, and fix a bug where users whos ↵brain
nicks are currently a uid will be quit if this module unloads git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10992 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-23Fix m_nationalchars using a copy and paste of my unsafe copy and paste ↵brain
algorithm, that will lock up if the string to replace contains the string to search for. Finally make this function a core utility function and remove the copies from 3 modules m_alias m_nationalchars and m_sqlauth git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10990 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Update copyright date.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10982 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Fix a small warning (char being used as array subscript) by just using int ↵w00t
instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10981 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Fixes bug #655: National characters support, patch written mostly by ↵w00t
Phoenix, bits of core support by myself. This means that nicknames using *non ASCII* are now supported when configured, and more importantly, that /msg lowercasenick will go to a person with UPPERCASENICK in foreign character sets. The locale setting MUST be the same network-wide. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10980 e03df62e-2008-0410-955e-edbf42e46eb7