Conversation
needed:
Edit: also
|
0204552
to
235ba11
Compare
repository in scripts needs to be updated to |
b6581c5
to
44c6cb0
Compare
44c6cb0
to
dade70a
Compare
Reviewed 4 of 9 files at r2. src/core/core.cpp, line 236 at r2 (raw file):
Add a print statement to show the version of toxcore in use. This will help debug issues with runtime loading of the toxcore (and to verify that the correct toxcore version is being used). Something like: qDebug().nospace() << "Using toxcore version " << tox_version_major() << '.' << tox_version_minor() << '.' << tox_version_patch(); src/core/core.cpp, line 529 at r2 (raw file):
Why not use Comments from Reviewable |
Review status: 4 of 11 files reviewed at latest revision, 2 unresolved discussions. src/core/core.cpp, line 236 at r2 (raw file):
|
I feel like PR makes is such that once qTox has been linked at compile time to a newer version of toxcore, it won't be able to load older versions of toxcore at runtime (since you're actively avoiding compiling stuff for older toxcore instances). The similar problem occurs the other way around. Whilst this is perfectly fine (and optimal for distributions that compile on the target machine), it may pose an issue where pre-packaged versions of qTox are stored in repositories against a toxcore revision that's different to the one it's been compiled for. At least in the case of transitioning from irungetoo/toxcore to TokTok/c-toxcore, would it be possible to make a runtime decision between which revision to load for? Review status: 4 of 11 files reviewed at latest revision, 2 unresolved discussions. src/core/core.cpp, line 236 at r2 (raw file):
|
There's no need to do that. As this point, development moved to c-toxcore, and that's what should be packaged. |
a9a0c54
to
dade70a
Compare
There are conflicts, rebase is needed. |
b3fa756
to
c6a1430
Compare
c69e1a9
to
3305071
Compare
Review status: 18 of 20 files reviewed at latest revision, 4 unresolved discussions. src/core/core.cpp, line 1063 at r9 (raw file): Previously, sudden6 wrote…
Done. src/core/core.cpp, line 1125 at r9 (raw file): Previously, sudden6 wrote…
Done. Comments from Reviewable |
Review status: 18 of 20 files reviewed at latest revision, 4 unresolved discussions. Comments from Reviewable |
Reviewed 1 of 10 files at r4, 1 of 4 files at r5, 1 of 1 files at r10. Comments from Reviewable |
Review status: all files reviewed at latest revision, 16 unresolved discussions. src/core/core.cpp, line 507 at r10 (raw file):
Pointer aligns to the left. src/core/core.cpp, line 507 at r10 (raw file):
See point below on reserved identifiers. src/core/core.cpp, line 528 at r10 (raw file): As per § 17.6.4.3.2:
src/core/core.cpp, line 533 at r10 (raw file):
bool isAction;
isAction = type == TOX_MESSAGE_TYPE_ACTION; can be combined into 1 line. src/core/core.cpp, line 545 at r10 (raw file):
See point above. src/core/core.cpp, line 553 at r10 (raw file):
You fixed pointer alignment above, but not here. Consider fixing this one too. src/core/core.cpp, line 646 at r10 (raw file):
Reference alignment. src/core/core.cpp, line 1086 at r10 (raw file):
Prefer using src/core/core.cpp, line 1133 at r10 (raw file):
Why is the number of peers represented as a unsigned 16-bit number here whereas the src/core/core.cpp, line 1134 at r10 (raw file):
Could this not be refactored into using a std::vector? It seems to be much safer than manipulating multidimensional arrays within unique_ptrs. src/core/core.cpp, line 1139 at r10 (raw file):
Missing braces around if-statement. src/core/core.cpp, line 1245 at r10 (raw file):
Possible spelling mistake. src/core/core.cpp, line 1265 at r10 (raw file):
I think this error message needs to be more descriptive. src/core/core.cpp, line 1319 at r10 (raw file):
Why was the braces removed around this if-statement? Comments from Reviewable |
BREAKING CHANGE: Changed toxcore public API version to 0.1.0
Since ownership is somewhat unclear, we now use shared_ptr to pass these around instead of unique_ptr.
3305071
to
19506d5
Compare
Review status: 16 of 20 files reviewed at latest revision, 14 unresolved discussions. src/core/core.cpp, line 507 at r10 (raw file): Previously, initramfs wrote…
Done. src/core/core.cpp, line 507 at r10 (raw file): Previously, initramfs wrote…
Done. src/core/core.cpp, line 528 at r10 (raw file): Previously, initramfs wrote…
Done. src/core/core.cpp, line 533 at r10 (raw file): Previously, initramfs wrote…
Done. src/core/core.cpp, line 545 at r10 (raw file): Previously, initramfs wrote…
Done. src/core/core.cpp, line 553 at r10 (raw file): Previously, initramfs wrote…
Done. src/core/core.cpp, line 646 at r10 (raw file): Previously, initramfs wrote…
Done. src/core/core.cpp, line 1086 at r10 (raw file): Previously, initramfs wrote…
Done. src/core/core.cpp, line 1133 at r10 (raw file): Previously, initramfs wrote…
Done. src/core/core.cpp, line 1134 at r10 (raw file): Previously, initramfs wrote…
TODO added src/core/core.cpp, line 1139 at r10 (raw file): Previously, initramfs wrote…
Done. src/core/core.cpp, line 1245 at r10 (raw file): Previously, initramfs wrote…
Done. src/core/core.cpp, line 1265 at r10 (raw file): Previously, initramfs wrote…
Done. src/core/core.cpp, line 1319 at r10 (raw file): Previously, initramfs wrote…
Done. Comments from Reviewable |
19506d5
to
28f4853
Compare
Review status: 16 of 20 files reviewed at latest revision, 2 unresolved discussions. src/core/core.cpp, line 1152 at r11 (raw file):
Since you've updated Comments from Reviewable |
Fixed typo and small style improvements.
28f4853
to
4f9cb0b
Compare
Review status: 15 of 20 files reviewed at latest revision, 2 unresolved discussions. src/core/core.cpp, line 1152 at r11 (raw file): Previously, initramfs wrote…
Done. Comments from Reviewable |
Reviewed 1 of 10 files at r4, 3 of 4 files at r11, 2 of 2 files at r12. src/core/core.h, line 215 at r12 (raw file):
The variable names changed in the function definition should be changed here in the declaration too. Or else you have inconsistent variable names. Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion. Comments from Reviewable |
cc package maintainers: @abbat @farseerfc @mpxc @vith @yurivict Heads up: with this qTox depends on c-toxcore, and 1.7 release (due in a week) will contain this change. |
Is there a way to compile qTox with original (iru) toxcore (through #define for example)? I have no motivation to support another (and conflicting) package which brings no new except breaking compatibility. |
@abbat toktok/c-toxcore doesn't break the protocol compatibility with irungentoo/toxcore Additionally toktok/c-toxcore has active development, community and testing. All actively developed clients will make the switch, so I'd drop irungentoo/toxcore from the repo. |
Migration qtox on toktok/c-toxcore
This change is