-
Notifications
You must be signed in to change notification settings - Fork 511
Comparing changes
Open a pull request
base repository: solvespace/solvespace
base: 97c8cb7d710a
head repository: solvespace/solvespace
compare: b284e807857d
- 17 commits
- 38 files changed
- 2 contributors
Commits on Aug 20, 2019
-
Convert many loops to range-for or std algorithms. NFC.
Also add comments about indexing and when we don't use range-for.
Configuration menu - View commit details
-
Copy full SHA for 86f20cc - Browse repository at this point
Copy the full SHA 86f20ccView commit details -
Provide cbegin(), cend() in containers. NFC.
Allows forcing const iteration.
Configuration menu - View commit details
-
Copy full SHA for b5f36a4 - Browse repository at this point
Copy the full SHA b5f36a4View commit details -
Add and use IdList::IsEmpty. NFC.
Removes consuming code from the implementation details, easing swap of the underlying container, etc.
Configuration menu - View commit details
-
Copy full SHA for 5ada4db - Browse repository at this point
Copy the full SHA 5ada4dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c941ae - Browse repository at this point
Copy the full SHA 0c941aeView commit details -
Add and use LowerBound methods in IdList. NFC.
Clearer and less error-prone to use standard-supplied algorithms.
Configuration menu - View commit details
-
Copy full SHA for 3340392 - Browse repository at this point
Copy the full SHA 3340392View commit details -
Offloads most of the work onto standard algorithms to make it more self-evidently correct.
Configuration menu - View commit details
-
Copy full SHA for 60fdac1 - Browse repository at this point
Copy the full SHA 60fdac1View commit details -
Reduce scopes and placate clang-tidy. NFC.
Pointing out one potential issue with an assert.
Configuration menu - View commit details
-
Copy full SHA for 3ea077b - Browse repository at this point
Copy the full SHA 3ea077bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bb6a34 - Browse repository at this point
Copy the full SHA 0bb6a34View commit details -
Add and use List<T>::IsEmpty, range-for, etc. NFC.
Changes resemble those already made to IdList.
Configuration menu - View commit details
-
Copy full SHA for 1b97a00 - Browse repository at this point
Copy the full SHA 1b97a00View commit details -
Replace qsort with std::sort and lambda. NFC.
Removes static variable usage, permits hiding of the underlying pointer (std::sort uses iterators intead), type safety, etc.
Configuration menu - View commit details
-
Copy full SHA for 482f0e8 - Browse repository at this point
Copy the full SHA 482f0e8View commit details -
Improve implementation hiding in IdList/List. NFC.
Allows distancing users from the internal "elem" member. Add Get() and operator[]. Replace direct references to elem. Make elem and elemsAllocated private in IdList/List.
Configuration menu - View commit details
-
Copy full SHA for 0bfbbe2 - Browse repository at this point
Copy the full SHA 0bfbbe2View commit details -
Add IdList::AllocForOneMore() based on List. NFC.
Also modifies a sizeof call.
Configuration menu - View commit details
-
Copy full SHA for 9fd09dd - Browse repository at this point
Copy the full SHA 9fd09ddView commit details -
std::swap is an idiomatic way to do a move.
Configuration menu - View commit details
-
Copy full SHA for b9d035c - Browse repository at this point
Copy the full SHA b9d035cView commit details -
Was getting segfaults near here with another patch since removed from the branch. Moving these assignments after the memfree means they still have useful data when debugging a crash in memfree.
Configuration menu - View commit details
-
Copy full SHA for 610e35f - Browse repository at this point
Copy the full SHA 610e35fView commit details -
Counterpart of First(). standard library calls this "back()".
Configuration menu - View commit details
-
Copy full SHA for dd738dd - Browse repository at this point
Copy the full SHA dd738ddView commit details -
Fix a manual manipulation of List::n. NFC.
This broke encapsulation and thus caused problems for any deeper changes to List.
Configuration menu - View commit details
-
Copy full SHA for 533ca61 - Browse repository at this point
Copy the full SHA 533ca61View commit details -
Configuration menu - View commit details
-
Copy full SHA for b284e80 - Browse repository at this point
Copy the full SHA b284e80View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 97c8cb7d710a...b284e807857d