Skip to content

Commit d799319

Browse files
committed
chore: Happy new year.
1 parent 053ad4b commit d799319

96 files changed

Lines changed: 163 additions & 170 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
pkg-config &&
3232
git clone --depth=1 --recursive https://github.com/TokTok/c-toxcore &&
3333
cd c-toxcore &&
34-
cmake . -B_build -DBOOTSTRAP_DAEMON=OFF &&
34+
cmake . -B_build -DBOOTSTRAP_DAEMON=OFF -DEXPERIMENTAL_API=ON &&
3535
cd _build &&
3636
make -j4 &&
3737
sudo make install
3838

3939
- name: Build toxic
40-
run: USER_CFLAGS=-Werror make -j4
40+
run: USER_CFLAGS=-Werror make -j4 ENABLE_TOX_EXPERIMENTAL=1
4141

4242
build-static:
4343
runs-on: ubuntu-latest

.restyled.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
restylers:
33
- astyle:
44
arguments: ["--options=astylerc"]
5+
exclude:
6+
- "src/osx_*"
57
- clang-format:
68
image: restyled/restyler-clang-format:v16.0.6
79
include:
810
- "**/*.cc"
911
- "**/*.hh"
12+
- "src/osx_*"
1013
- prettier

BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ COPTS = [
2020
"-DAUDIO",
2121
"-DVIDEO",
2222
"-DPYTHON",
23+
"-DTOX_EXPERIMENTAL",
2324
],
2425
"//conditions:default": [],
2526
})

src/api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* api.c
22
*
33
* Copyright (C) 2017 Jakob Kreuze <jakob@memeware.net>
4-
* Copyright (C) 2017-2024 Toxic All Rights Reserved.
4+
* Copyright (C) 2017-2026 Toxic All Rights Reserved.
55
*
66
* This file is part of Toxic. Toxic is free software licensed
77
* under the GNU General Public License 3.0.

src/api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* api.h
22
*
33
* Copyright (C) 2017 Jakob Kreuze <jakob@memeware.net>
4-
* Copyright (C) 2017-2024 Toxic All Rights Reserved.
4+
* Copyright (C) 2017-2026 Toxic All Rights Reserved.
55
*
66
* This file is part of Toxic. Toxic is free software licensed
77
* under the GNU General Public License 3.0.

src/audio_call.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* audio_call.c
22
*
3-
* Copyright (C) 2014-2024 Toxic All Rights Reserved.
3+
* Copyright (C) 2014-2026 Toxic All Rights Reserved.
44
*
55
* This file is part of Toxic. Toxic is free software licensed
66
* under the GNU General Public License 3.0.

src/audio_call.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* audio_call.h
22
*
3-
* Copyright (C) 2014-2024 Toxic All Rights Reserved.
3+
* Copyright (C) 2014-2026 Toxic All Rights Reserved.
44
*
55
* This file is part of Toxic. Toxic is free software licensed
66
* under the GNU General Public License 3.0.

src/audio_device.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* audio_device.c
22
*
33
*
4-
* Copyright (C) 2024 Toxic All Rights Reserved.
4+
* Copyright (C) 2026 Toxic All Rights Reserved.
55
*
66
* This file is part of Toxic.
77
*
@@ -200,7 +200,7 @@ void get_al_device_names(void)
200200

201201
if (stringed_device_list != NULL) {
202202
audio_state->default_al_device_name[type] = alcGetString(NULL,
203-
type == input ? ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER : ALC_DEFAULT_DEVICE_SPECIFIER);
203+
type == input ? ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER : ALC_DEFAULT_DEVICE_SPECIFIER);
204204

205205
for (; *stringed_device_list != '\0'
206206
&& audio_state->num_al_devices[type] < MAX_OPENAL_DEVICES; ++audio_state->num_al_devices[type]) {
@@ -341,7 +341,7 @@ static DeviceError open_al_device(DeviceType type, FrameInfo frame_info)
341341
{
342342
audio_state->al_device[type] = type == input
343343
? alcCaptureOpenDevice(audio_state->current_al_device_name[type],
344-
frame_info.sample_rate, sound_mode(frame_info.stereo), frame_info.samples_per_frame * 2)
344+
frame_info.sample_rate, sound_mode(frame_info.stereo), frame_info.samples_per_frame * 2)
345345
: alcOpenDevice(audio_state->current_al_device_name[type]);
346346

347347
if (audio_state->al_device[type] == NULL) {

src/audio_device.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* audio_device.h
22
*
33
*
4-
* Copyright (C) 2024 Toxic All Rights Reserved.
4+
* Copyright (C) 2026 Toxic All Rights Reserved.
55
*
66
* This file is part of Toxic.
77
*

src/autocomplete.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* autocomplete.c
22
*
3-
* Copyright (C) 2014-2024 Toxic All Rights Reserved.
3+
* Copyright (C) 2014-2026 Toxic All Rights Reserved.
44
*
55
* This file is part of Toxic. Toxic is free software licensed
66
* under the GNU General Public License 3.0.

0 commit comments

Comments
 (0)