This commit is contained in:
Leonardo committed 2019-08-02 01:03:28 -03:00
1 parent e470021d13
commit 01d0b42e1a
3 files changed
+33 -29

No files matched your search

+18 -8
View File
@@ -1,22 +1,32 @@
# RELEASE.MAJOR.MINOR
1.6.0
Added ./ext/intervalheap.h
Added ./ext/multimap.h
Added ./ext/multiset.h
Added to_string function to most collections
Added the cmc prefix to the enum entry_state used by hashtables and to the enum heap_type used by the heap
Fixed return type on some functions from ./cmc/hashset.h and ./cmc/treeset.h
Fixed hashtables integer overflow when the capacity is divided by the load factor
Changed timer.h struct name from timer_t to cmc_timer to prevent name collisions on linux
1.5.3
Tests completely reorganized and now with full code coverage
Some fixes where there was a missing return statement
Expanded utl/assert.h
Expanded ./utl/assert.h
1.5.2
Added utl/test.h
Added utl/assert.h
Added tests/list.c - UnitTest for LIST
Small fixes on utl/foreach.h, utl/test.h and redone utl/timer.h
Removed utl/log.h functions that were unnecessary
Added ./utl/test.h
Added ./utl/assert.h
Added ./tests/list.c - UnitTest for LIST
Small fixes on ./utl/foreach.h, ./utl/test.h and redone ./utl/timer.h
Removed ./utl/log.h functions that were unnecessary
Added the CMC namespace to CONCATC and CONCATH at macro_collections.h
1.5.1
New queue benchmark
Added sac/queue.h
Added utl/timer.h
Added ./sac/queue.h
Added ./utl/timer.h
Fixing descriptions and other minor fixes
1.5.0
+2 -11
View File
@@ -3,7 +3,7 @@
Generate Simple Data Structures of any type in C for you to use in your projects.
![License](https://img.shields.io/badge/License-MIT-blue.svg)
![Version](https://img.shields.io/badge/Version-v1.5.3-orange.svg)
![Version](https://img.shields.io/badge/Version-v1.6.0-orange.svg)
[![Build](https://travis-ci.org/LeoVen/C-Macro-Collections.svg?branch=master)](https://travis-ci.org/LeoVen/C-Macro-Collections)
[![codecov](https://codecov.io/gh/LeoVen/C-Macro-Collections/branch/master/graph/badge.svg)](https://codecov.io/gh/LeoVen/C-Macro-Collections)
@@ -88,16 +88,7 @@ The following table shows how each collection is implemented and how well they d
## How to use
To generate the collection, all you need to do is to include the necessary header files. You can include the containers you want to use individually or you can include the master header, `macro_collections.h`, that comes with all collections and other functionalities like the `FOR_EACH` macro.
There are four C standard headers that all collections use:
* `<stdbool.h>`
* `<stdio.h>`
* `<stdlib.h>`
* `<string.h>`
With the last one being used only by array based containers. These headers are already included by default.
To generate the collection, all you need to do is to include the necessary header files. You can include the containers you want to use individually or you can include the master header, `macro_collections.h`, that comes with the entire C-Macro-Collections library.
### Macros
+13 -10
View File
@@ -1,29 +1,32 @@
TODO
/ - In Progress
X - Finished
~ - Needs to be reviewed
[/] - In Progress
[X] - Finished
[~] - Needs to be reviewed
[/] Documentation
[X] Remove PUBLIC and PRIVATE
[ ] Extra Collections
[~] Add MultiSet
[X] Add MultiSet
[X] Add MultiMap
[X] Add IntervalHeap
[ ] Add TreeHashMap
[ ] Add functions
[ ] update {hashmap, treemap, multimap}
[/] to_string {all}
[ ] iter_move {all} (iterators)
[ ] iter_move_to {all} (iterators)
[ ] iter_advance {all} (iterators)
[ ] iter_rewind {all} (iterators)
[ ] iter_go_to {all} (iterators)
[ ] from_array {all}
[ ] to_array {all}
[ ] compare {all}
[ ] equals {all}
[ ] resize {dynamic arrays and circular buffers}
[ ] dispose {all}
[ ] copy {all}
[ ] copy_of {all}
[ ] save {all} (serialization)
[ ] load {all} (serialization)
[ ] read {all} (serialization)
[ ] write {all} (serialization)
[ ] Range IO
[ ] Sequences
[ ] seq_push_front
@@ -60,9 +63,9 @@ X - Finished
[ ] Stack
[ ] TreeMap
[ ] TreeSet
[~] Utility
[X] Utility
[X] assert.h
[X] foreach.h
[X] log.h
[~] test.h
[X] test.h
[X] timer.h