aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-03Fix rope_relen to free unneeded nodesropeTucker Evans
During recalculating of length for rope nodes any that do not branch will be removed, e.g. node B: A / \ (B) <subtree 1> / <subtree 2> results in: A / \ <subtree 2> <subtree 1>
2021-01-03Add free function for ropesTucker Evans
Note: Does free entire tree.
2021-01-03Add split function for ropesTucker Evans
Ropes should be rebalanced at the end of this function once rope_rebalance() is implemented.
2021-01-03Add function to recalculate length (weights) of rope nodesTucker Evans
(Probably need a rebalance function to go along with/replace this)
2021-01-03Add debug/print functions for ropeTucker Evans
2020-12-31Add concat function for ropesTucker Evans
2020-12-31Add function to get full length of ropeTucker Evans
2020-12-31Add func to embed a char* (str) into a ropeTucker Evans
2020-12-31Add base for rope structureTucker Evans
2020-09-09Fix printf formatters for debug printdevelopTucker Evans
2020-09-09Fix vector was not increasing its limit when resizedTucker Evans
2020-09-09Fix change reallocarray calls to reallocTucker Evans
The reallocarray calls were returning pointers that produced a segfault when dereferenced, not sure why but realloc seems to fix the issue.
2020-07-07Fix .gitignore was named incorrectlyTucker Evans
2020-07-06Add licenseTucker Evans
All files now under MIT license.
2020-07-06Fix ordering of functions in double ended queue documentationTucker Evans
2020-07-06Fix double ended queue did not print free stringsTucker Evans
Because it is possible for to_string function to generate a new string here and nothing else sees it after printing it is not guaranteed to be freed leading to a memory leak. This does mean that if the string is internal to a struct and expected to be used later then to_string should duplicate said string (as noted in the documentation).
2020-07-06Fix double ended queue removeTucker Evans
Did not return the removed object, could easily lead to a memory leak.
2020-07-06Fix organize functions order in double ended queue src filesTucker Evans
2020-07-04Merge branch 'vector' into developTucker Evans
2020-07-04Add reserve function to vectorsTucker Evans
2020-07-04Fix vector print function now frees string representationsTucker Evans
2020-07-04Add truncate to vectorsTucker Evans
2020-07-04Add remove function for vectorsTucker Evans
Removes element at an index.
2020-07-04Add insert function for vectorsTucker Evans
2020-07-04Fix bounds checking for vector popTucker Evans
Would have failed given a negative index.
2020-07-04Add swap_pop function for vectorsTucker Evans
2020-07-04Add swap function to vectorsTucker Evans
2020-07-04Add set index function for vectorsTucker Evans
2020-07-04Add back function to vectorsTucker Evans
back() returns the element in the last position without removing it.
2020-07-04Fix remove "_back" from pop/push calls in vector docTucker Evans
These were left in some examples after copying from double ended queue documentation.
2020-07-04Add function to get capacity of a vectorTucker Evans
2020-07-04Fix organize function order in vector docs and srcTucker Evans
Functions now ordered roughly to what they do/deal with.
2020-07-04Add anchors for functions in vector documentationTucker Evans
2020-07-04Add copy function for vectorTucker Evans
2020-07-04Add printing functions for vectorsTucker Evans
2020-07-04Adds free & clear functions to vectorsTucker Evans
2020-07-04Add pop to vectorsTucker Evans
2020-07-03Merge branch 'docs' into developTucker Evans
2020-07-03Fix output of debug print for double ended queueTucker Evans
2020-07-02Fix add links to referenced functions in deq docsTucker Evans
2020-07-02Add anchors for each function to documentation of deqTucker Evans
2020-07-02Add index functionality to vectorsTucker Evans
2020-07-02Add push for vectorTucker Evans
2020-07-02Fix double ended queue header file defineTucker Evans
Never changed the check define from `VECTOR_H` when converting to double ended queue, now `DOUBLE_ENDED_QUEUE_H`.
2020-07-01Add resize function for vectorTucker Evans
2020-07-01Add start to vectorTucker Evans
2020-06-21Move double ended queue files to own directoryTucker Evans
2020-06-11Finish initial implementation of double ended queue.Tucker Evans
2020-06-11Add reserve function for double ended queue.Tucker Evans
2020-06-10Add insert function to double ended queue.Tucker Evans