Shivaram Lingamneni
35128bfc23
use new aligned atomic types everywhere
See 69448b13a1 / #1969 ; the compiler can now ensure that a uint64
intended for atomic access is always aligned to a 64-bit boundary.
Convert atomic operations on uint32s and pointers as well.
1年前
Shivaram Lingamneni
69448b13a1
fix #1969
On a 32-bit architecture, 64-bit atomic loads and stores must be aligned to a
64-bit boundary. Since the (mysql.MySQL) struct is directly included in the
Server struct, it is impossible to guarantee this via the standard technique
of putting the 64-bit value at the beginning of the struct definition
(since the point at which it is included in the parent struct may cross a
64-bit boundary).
This optimization is probably pointless anyway, adding an additional
indirection won't make a difference.
2年前
Shivaram Lingamneni
c87dead39b
remove history.ReverseCorrespondents in favor of generics
2年前
Shivaram Lingamneni
2df5fb1956
use genericized slice-reversing function
2年前
Shivaram Lingamneni
ad8c97c9bb
CHATHISTORY with nonexistent msgid should send empty batch
It was sending MESSAGE_ERROR, which was inappropriate. Send an empty batch
for now (this is at parity with the in-memory implementation).
2年前
Shivaram Lingamneni
3ec5ffa340
Revert "fix #1676"
This reverts commit 5bbee02fe6 .
2年前
Shivaram Lingamneni
5bbee02fe6
fix #1676
Fix various pagination issues with CHATHISTORY; also undo #491
(msgid munging).
2年前
Shivaram Lingamneni
23c7218bf1
first pass at renaming Oragono to Ergo
3年前
Shivaram Lingamneni
5eed48c077
fix #1622
Allow users to set max MySQL connections and connection lifetime;
set a sane default for max connections if it's not present.
3年前
Shivaram Lingamneni
0d05ab4ff4
fix #1615
Remove the CHATHISTORY * and znc.in/playback *self targets,
clean up associated database code, add new mechanisms to play
all missed DMs.
3年前
Shivaram Lingamneni
2e3e4f72ba
fix inverted error check in deleteCorrespondents
3年前
Shivaram Lingamneni
18b6e2f1cd
implement CHATHISTORY TARGETS
3年前
Shivaram Lingamneni
4052cd12fe
fix #1592
Implements the new `CHATHISTORY LISTCORRESPONDENTS` API.
3年前
Shivaram Lingamneni
dc456bd6a4
refactor schema versions to be ints, not strings
3年前
Alex Jaspersen
3468a8cb8a
Add support for Unix domain sockets.
This adds a new configuration option, socket-path, instead of using
host.
4年前
Shivaram Lingamneni
66561771e6
Revert "Add support for Unix domain sockets"
4年前
Alex Jaspersen
475ec9fb24
Add support for Unix domain sockets.
4年前
Shivaram Lingamneni
67f35e5c8a
fix #858 and #383
4年前
Shivaram Lingamneni
d967129446
fix #833
4年前
Shivaram Lingamneni
98a7b45d96
add mysql timeouts
4年前
Shivaram Lingamneni
8123e3c08f
improve nick and channel length validation
4年前
Shivaram Lingamneni
fab0630180
time.Unix still requires normalization to UTC
4年前
Shivaram Lingamneni
8f4c14c783
miscellaneous review fixes
4年前
Shivaram Lingamneni
33dac4c0ba
initial persistent history implementation
4年前