summaryrefslogtreecommitdiff
path: root/src/misc.cpp
AgeCommit message (Collapse)Author
2023-10-12Use a more human readable datetime format.Sadie Powell
2023-10-11Start migrating to range-based for loops.Sadie Powell
2023-08-06Merge branch 2.0 into 2.1.Sadie Powell
2023-07-11Allow Anope to look up multiple DNS results.Sadie Powell
For fixing bug 1756.
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-01-13Document the sysconf header file.Sadie Powell
2022-01-12Merge branch '2.0' into 2.1.Sadie Powell
2022-01-06Update the copyright headers for 2022.Sadie Powell
2022-01-04Use C++11 header names instead of their deprecated equivalents.Sadie Powell
2022-01-04Replace all uses of push_back with emplace_back.Sadie Powell
2022-01-04Use C++11 default initializers and destructors where possible.Sadie Powell
2022-01-04Use C++11 style class/struct initialisation.Sadie Powell
2021-08-01Merge branch '2.0' into 2.1.Sadie Powell
2021-06-17Fix various spelling issues (#274).Josh Soref
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>.
2021-02-18Merge branch '2.0' into 2.1.Sadie Powell
2021-01-07Update copyright to 2021.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2020-09-28Remove nickserv/getpass and Anope::Decrypt.Sadie Powell
There is no point having these now plain text passwords are deprecated.
2020-09-10Fix -Wclass-memaccess warning:miwob
/anope/src/misc.cpp: In function ‘Anope::string Anope::Resolve(const Anope::string&, int)’: /anope/src/misc.cpp:742:60: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘union sockaddrs’ from an array of ‘struct sockaddr’ [-Wclass-memaccess] memcpy(&addr, addrresult->ai_addr, addrresult->ai_addrlen); ^ In file included from /anope/include/users.h:21, from /anope/include/bots.h:12, from /anope/include/regchannel.h:18, from /anope/include/config.h:16, from /anope/src/misc.cpp:16: /anope/include/sockets.h:27:18: note: ‘union sockaddrs’ declared here union CoreExport sockaddrs ^~~~~~~~~
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-01-17Cleanup some excess whitespaces and tabs, and fix a few typos along the way.Robby
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-07-03#1680: fix Anope::Duration with one year durationsAdam
2016-04-21Optionally strip variable build date from compiled programDominic Hargreaves
To aid build reproducibility, don't include the build date/time if -DREPRODUCIBLE_BUILD is defined. Based on the patch provided by Alexis Bienvenüe in the Debian report. Bug-Debian: https://bugs.debian.org/820152 Patch-Name: reproducible_datetime.diff
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2015-02-03Make module version system workAdam
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-10-05Always show expire time for nicks in /ns info to opers, even if the user is ↵Adam
online Make Anope::strftime show "now" if the time is now Fix typo in nickalias.cpp for the type of the last_seen field, spotted by grawity
2013-09-27Replace this silly random code generation code with something more sane lookingAdam
2013-09-27Translate strftime correctlyAdam
2013-09-27Align info formatters with translated keys?Adam
2013-09-27Translate listformatter properlyAdam
2013-09-27Fix various commands to properly report a given expiry time is invalidAdam
2013-07-01Change extensible keys to require explicitly having a type defined for it. ↵Adam
Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
2013-05-27Initially attach all modules to all events, and detach them as the events ↵Adam
are run if they are not implemented per module
2013-05-26Get rid of the remaining references in the core to specific services. Move ↵Adam
more stuff out of the core to the proper modules.
2013-05-08Make sockaddrs/cidr not throw on invalid ips to give us an easier/cheaper ↵Adam
way to test for a valid IP
2013-05-05That doesn't work either, just don't use references.Adam
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05Rework the config file reader to be much more flexible and move many ↵Adam
configuration directives to the actual modules they are used in.
2013-04-07Optimizations of much of the more commonly used codeAdam
2013-03-02Fix Anope::Duration showing years failingAdam
2013-03-01Fix Windows buildAdam
2013-01-30Made Anope::Duration also show yearsAdam
2013-01-25Made Anope::DoTime default to seconds to fix os_akill etc defaulting ↵Adam
expiries to days
2013-01-09Update copyright to 2013. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2012-12-23Allow os_dns to manage multiple zonesAdam
2012-12-19Add version flags for debug, git, and WindowsAdam
2012-12-15Move DNS handling to a moduleAdam