Commit Graph
100 Commits
Author SHA1 Message Date
Leonardo adfa5abbc0 Update README.md 2020-05-06 20:44:08 -03:00
Leonardo 2cacbc5348 Updating hashmultiset iterator API 2020-05-06 20:43:59 -03:00
Leonardo fdfb81d08c Updating hashmultimap iterator API 2020-05-06 14:55:44 -03:00
Leonardo 254bb3eacc Renamed multiset to hashmultiset 2020-05-05 18:13:17 -03:00
Leonardo c41ce371d3 Renamed multimap to hashmultimap 2020-05-05 18:00:56 -03:00
Leonardo 9962981047 Added initial bitset documentation 2020-05-05 17:42:06 -03:00
Leonardo b35281b8dc Renaming bidimap to hashbidimap 2020-05-04 23:02:57 -03:00
Leonardo c58f3df50a More added to bitset 2020-05-04 18:19:18 -03:00
Leonardo 963056c42d Update README.md 2020-05-02 01:14:33 -03:00
Leonardo fb0674b0c7 Update core.h 2020-05-02 00:32:40 -03:00
Leonardo 7ad2462254 Adding bitset checkpoint 2020-05-01 15:52:37 -03:00
Leonardo 53f6202709 Updating documentation 2020-04-30 23:39:09 -03:00
Leonardo 0702b7f51b Update hashmap tests and its iterator API 2020-04-29 22:40:07 -03:00
Leonardo 9ade952392 Fixing hashtables and added hashmap init and release 2020-04-29 20:08:42 -03:00
Leonardo 5d68dcc538 Fixing imports in tests 2020-04-29 00:39:20 -03:00
Leonardo 3c0ce0a623 Update deque tests and its iterator API 2020-04-28 22:52:01 -03:00
Leonardo 27ac934ab6 Added new functions to deque and changed iterator functions
New functions: init, init_custom, release
Added DequeIter unit tests
2020-04-27 20:19:47 -03:00
Leonardo db6f12d3e8 Update documentation 2020-04-23 00:11:16 -03:00
Leonardo Vencovsky 3d9abc66a7 Formatting some files 2020-04-23 00:03:57 -03:00
Leonardo Vencovsky af5abff115 Adding more deque tests and valgrind option to tests makefile
Also added a nice header for the main unit test
2020-04-23 00:03:17 -03:00
Leonardo Vencovsky 64201cb630 Fixing memory leaks and indexes out of bounds 2020-04-22 18:38:05 -03:00
Leonardo 6d4b8618bf Fixing autogen.py for linux 2020-04-22 15:34:51 -03:00
Leonardo fe78937150 Replaced unnecessary node struct from intervalheap to a buffer of array[2] 2020-04-22 11:51:05 -03:00
Leonardo 5af021ec0a Fixing some things with intervalheap and added more tests 2020-04-22 10:08:06 -03:00
Leonardo 2e48a033a0 Refactoring: renaming 'element' to 'value' 2020-04-21 01:38:26 -03:00
Leonardo 980fb6d432 Fixing test.h, fixing warnings and deque tests 2020-04-20 01:15:51 -03:00
Leonardo 181a8999a7 Update deque tests 2020-04-19 13:08:38 -03:00
Leonardo 05883903c9 Update documentation and quick fix to test.h 2020-04-18 00:05:20 -03:00
Leonardo 656c0e3b3a Added cmc_assert_total, cmc_assert_failed, better-looking unit test and other things
Started using functions from futils.h in unit test
Renamed unit tests
2020-04-17 16:29:52 -03:00
Leonardo 6f1fb7554e Update documentation 2020-04-17 01:33:49 -03:00
Leonardo 2a7aa8e4cb Added ./cor headers to macro_collections.h for completeness and added formatting 2020-04-17 01:03:13 -03:00
Leonardo 831037df42 Added cmc_flags_to_str 2020-04-16 21:45:58 -03:00
Leonardo 277139656e Fixing missing flag for treemap and treeset 2020-04-16 20:29:49 -03:00
Leonardo e1c736ab46 Adding futils.h to macro_collections.h 2020-04-16 02:10:20 -03:00
Leonardo 952292462a Update documentation 2020-04-16 02:08:42 -03:00
Leonardo 14845d9b23 Adding missing 'static inline' to futils functions 2020-04-15 20:18:35 -03:00
Leonardo cd8260a879 Update futils.h 2020-04-15 19:50:32 -03:00
Leonardo 5cf8904c58 Added futils.h with utility functions for Functions Table 2020-04-15 19:19:09 -03:00
Leonardo 75f2756611 Changed foreach include guard to CMC_FOREACH_H 2020-04-15 14:48:30 -03:00
Leonardo eb13fcad01 Simplified name for functions table ftab_key to fkey and ftab_val to fval 2020-04-14 23:18:56 -03:00
Leonardo 5e13c7ba91 Update travis and fixing tests 2020-04-13 13:10:04 -03:00
Leonardo 7701364f13 Merging tests codecov with main 2020-04-13 12:13:41 -03:00
Leonardo 1dd0f25ff8 Added script that automatically generates code for code coverage 2020-04-12 21:11:37 -03:00
Leonardo 8e73cde6ae Fast-forward codecov 2020-04-11 14:14:34 -03:00
Leonardo 67590790c4 Documentation for foreach.h, test.h, timer.h and other changes
Change in timer.h. Now cmc_timer_stop will calculate the result so goodbye cmc_timer_calc
2020-04-10 22:21:47 -03:00
Leonardo aa214d179e Some changes do log.h and adding its documentation 2020-04-09 22:04:19 -03:00
Leonardo da6f5ea05c Fixing logo 2020-04-09 13:45:15 -03:00
Leonardo 480b99b384 Update documentation 2020-04-09 01:05:04 -03:00
Leonardo 56326b2dd9 Updating tests for bidimap 2020-04-08 19:35:34 -03:00
Leonardo 07668aba75 v1.8.0 2020-04-01 16:28:13 -03:00
Leonardo e37cf42c12 Updating documentation 2020-04-01 00:23:58 -03:00
Leonardo 4c16cae56d Added callbacks to treemap and treeset 2020-03-31 15:41:27 -03:00
Leonardo ee1174d1b5 Added flags to queue, sortedlist and stack 2020-03-29 19:13:39 -03:00
Leonardo 0d665c46d0 Updating tests 2020-03-29 17:44:33 -03:00
Leonardo 2c732dbadf Added callbacks to multimap and multiset, removed enabled flag and more
The enabled flag from the previous commit was removed because it seemed pointless
PFX##_customize functions were changed, now callbacks can be NULL but not allloc_node
Added more code to callback test
Added some missing functions and changed some others
Added more TODO comments of missing code checks or possible improvements
Added more callback guards for set functions
2020-03-28 17:54:31 -03:00
Leonardo fcb8f3a005 Added enabled flag to cmc_callbacks 2020-03-21 23:39:51 -03:00
Leonardo 1e861383e7 Reviewing and writing comments in ./utl/ and adding more color to unit tests 2020-03-20 16:51:23 -03:00
Leonardo 701a24f47c Added callbacks to linkedlist and list 2020-03-20 15:18:12 -03:00
Leonardo 5b8f64b421 Added callbacks to heap and intervaheap, and reworked some min and max functions 2020-03-19 21:46:48 -03:00
Leonardo cf5ceb9c48 Added callbacks to deque, hashmap and hashset, and fixed some other missing things 2020-03-19 17:58:56 -03:00
Leonardo 062c03091c The documentation has been changed to mdbook
Check it out: https://rust-lang.github.io/mdBook/index.html
2020-03-19 00:14:45 -03:00
Leonardo 4e96d3aba0 Huge changes to bidimap and added callbacks to it
Callbacks lost their 'on_' prefix
Bidimap was simply not working properly. Many of its functions have been reworked:
- _update_key_by_val is now _update_key
- _update_val_by_key is now _update_val
- Removed _update_key and _update_val because they just weren't what a bidimap really is about
2020-03-18 16:36:05 -03:00
Leonardo 0089abc84a Added cor folder and cmc_callbacks is now common to all collections
Now every file includes core.h and hashtable-based collections include hashtable.h

The definition of cmc_heap_order has been kept inside heap.h because it is the only collection to use it
2020-03-17 16:10:12 -03:00
Leonardo d7f44e0dbe Added logo to documentation backup and updated TODO 2020-03-16 20:16:28 -03:00
Leonardo d4f30e3693 Added print function and renamed 'data' to 'value' in linkedlist 2020-03-16 19:55:47 -03:00
Leonardo 9999275ad0 Added flags to treeset and quickfix to treemap unit test 2020-03-16 19:53:02 -03:00
Leonardo 2391729541 Added flags to treemap 2020-03-16 14:30:41 -03:00
Leonardo ffb03890df Added flags to stack 2020-03-15 16:42:34 -03:00
Leonardo b3fa566725 Added flags to sortedlist 2020-03-14 17:39:33 -03:00
Leonardo db2de0b855 Added flags to queue 2020-03-13 14:29:29 -03:00
Leonardo f82fb45242 Added flags to multiset and fixing some more 2020-03-13 11:56:32 -03:00
Leonardo 101b839801 Fixing equals functions of list and intervalheap 2020-03-12 14:05:30 -03:00
Leonardo 0c8e12ce30 Renaming some ERROR flags to INVALID 2020-03-12 11:58:02 -03:00
Leonardo efcf831cb5 Update README and TODO 2020-03-12 11:53:48 -03:00
Leonardo 8f64d4bca2 Changed documentation backup folder and added generated documentation to docs/
This change is a preparation to migrate the documentation from the gh-pages branch to the docs/ folder in the master branch (once dev is merged)
2020-03-11 21:16:37 -03:00
Leonardo 01b8bee8b1 Added missing flags and tests 2020-03-11 15:10:52 -03:00
Leonardo f3192b731b Saving updated documentation 2020-03-11 01:20:25 -03:00
Leonardo 863a3a2d8d Added flags to multimap 2020-03-10 16:48:45 -03:00
Leonardo dea981c154 Adding flags to list and renaming OUT_OF_RANGE flag to RANGE 2020-03-09 15:47:32 -03:00
Leonardo 157aea6055 Added flags to linkedlist and renamed some functions 2020-03-05 13:49:36 -03:00
Leonardo 8bd297f4a3 Added flags to intervalheap 2020-03-04 14:25:44 -03:00
Leonardo e4bb9fde74 Adding flags to heap and print functions to collections that already have flags 2020-03-03 17:04:19 -03:00
Leonardo ecc0b51e4b Removing CMC_FOR_EACH and CMC_FOR_EACH_REV and small fix to multiset 2020-03-02 22:50:07 -03:00
Leonardo f020df12f6 Update README and TODO 2020-03-01 12:23:19 -03:00
Leonardo 6e49fb8174 Added flags to hashset 2020-02-29 21:15:04 -03:00
Leonardo 4b7678a621 Added flags to hashmap and added some hotfixes 2020-02-28 17:29:55 -03:00
Leonardo 5794760ceb Added flags to deque 2020-02-26 13:06:12 -03:00
Leonardo 9e206635be Added flags to bidimap 2020-02-26 13:01:35 -03:00
Leonardo 5ed65668e0 Adding functions table to treemap and treeset and some fixes to to_string 2020-02-11 15:58:39 -03:00
Leonardo 7efc0e26e0 Adding functions table to sortedlist and stack, and some fixes to queue 2020-02-10 22:47:54 -03:00
Leonardo aa7c5f775a Adding functions table to queue 2020-02-09 22:32:47 -03:00
Leonardo 147e622580 Adding functions table to multimap and multiset 2020-02-08 00:01:46 -03:00
Leonardo 683decfa64 Adding functions table to linkedlist and list and some minor fixes from previous commit 2020-02-06 17:13:24 -03:00
Leonardo 64c3a99922 Adding functions table to heap and intervalheap 2020-02-06 16:12:06 -03:00
Leonardo fa49fddd8f Adding functions table to hashset and fixing root makefile 2020-02-06 14:10:12 -03:00
Leonardo 7dd6218017 Adding functions table to hashmap and some fixes in bidimap and queue 2020-02-06 01:04:25 -03:00
Leonardo 13f63cea23 Trying to fix readme table (colors were not being set) 2020-02-05 15:17:03 -03:00
Leonardo 4c54567eec Update README.md 2020-01-31 23:27:33 -03:00
Leonardo 9344440f41 Fast forward changes (read desc)
Freezing tests outside of ./tests/main
Formatting all files in ./src and ./tests except for ./tests/codecov
Created makefile for automated code formatting using clang-format
Now bidimap and deque operate with Functions Tables
2020-01-30 18:20:35 -03:00
Leonardo b2bef4e3cc Fast forward changes 2020-01-29 23:58:56 -03:00