Tue, 08 Apr 2025 23:20:52 -0500
IRCv3: Fix privmsg going to the status window before registration is complete
This got broken when some of this code was reorganized.
Testing Done:
Ran `ninja scan-build` and verified the error was gone. Also connected to libera and verified that I didn't get a conversation with the server's name anymore.
Reviewed at https://reviews.imfreedom.org/r/3963/
|
42335
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | [constants] |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
2 | macosx_sdk = '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk' |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | macosx_minver = '10.13' |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | common_args = ['--sysroot=' + macosx_sdk, '-mmacosx-version-min=' + macosx_minver, '-F' + macosx_sdk / 'System/Library/Frameworks'] |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | homebrew_prefix = '/usr/local' |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
6 | |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | icu4c_pc = homebrew_prefix / 'opt/icu4c/lib/pkgconfig' |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | libsoup3_pc = homebrew_prefix / 'opt/libsoup@3/lib/pkgconfig' |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
9 | libxml2_pc = homebrew_prefix / 'opt/libxml2/lib/pkgconfig' |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
10 | python3_pc = homebrew_prefix / 'opt/python@3/lib/pkgconfig' |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
11 | |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
12 | [built-in options] |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
13 | c_args = common_args |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
14 | c_link_args = common_args |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
15 | cpp_args = common_args |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
16 | cpp_link_args = common_args |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
17 | objc_args = common_args |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
18 | objc_link_args = common_args |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
19 | objcpp_args = common_args |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
20 | objcpp_link_args = common_args |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
21 | |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
22 | pkg_config_path = [icu4c_pc, libsoup3_pc, libxml2_pc, python3_pc] |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
23 | |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
24 | [project options] |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
25 | introspection = false |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
26 | |
|
42632
3d8ff8c57dd3
Disable birb docs on macOS
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42481
diff
changeset
|
27 | [birb:project options] |
|
3d8ff8c57dd3
Disable birb docs on macOS
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42481
diff
changeset
|
28 | doc = false |
|
42843
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
29 | introspection = false |
|
42632
3d8ff8c57dd3
Disable birb docs on macOS
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42481
diff
changeset
|
30 | |
|
42335
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
31 | [gplugin:project options] |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
32 | doc = false |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
33 | introspection = false |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
34 | lua = false |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
35 | python3 = false |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
36 | vapi = false |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
37 | |
|
42843
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
38 | [hasl] |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
39 | doc = false |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
40 | introspection = false |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
41 | |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
42 | [ibis] |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
43 | doc = false |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
44 | introspection = false |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
45 | |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
46 | [myna] |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
47 | doc = false |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
48 | introspection = false |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
49 | |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
50 | [xeme] |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
51 | doc = false |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
52 | introspection = false |
|
6f1c0b343bc4
Update the homebrew.ini native file
Gary Kramlich <grim@reaperworld.com>
parents:
42632
diff
changeset
|
53 | |
|
42335
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
54 | [binaries] |
|
51df4b5bdba2
Add a native-file for building against stock homebrew on macOS
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
55 | xgettext = homebrew_prefix / 'opt/gettext/bin/xgettext' |