Commit Graph
100 Commits
Author SHA1 Message Date
christoph 2ac36cda83 first (buggy) scheduler unique_ptr rework 2022-07-21 20:35:52 +02:00
christoph 02c75e483d implement slightly changed erase_if 2022-07-21 20:35:32 +02:00
christoph ee0295ce21 add implicit upcasting to unique_ptr 2022-07-21 20:35:21 +02:00
christoph 5164908b52 only implement one iterator class, no inheritance 2022-07-21 20:34:59 +02:00
christoph 566451ef97 switch array namespace in demo 2022-07-21 14:12:58 +02:00
christoph 40a19d32f3 change iterator friends to members 2022-07-21 02:49:05 +02:00
christoph b198e623e4 fix demo 2022-07-21 02:48:57 +02:00
christoph 498990559c add vector demo 2022-07-21 02:44:06 +02:00
christoph ae7294601d adapt to vector 2022-07-21 02:44:01 +02:00
christoph fa7d9d4d19 implement vector 2022-07-21 02:43:41 +02:00
christoph 53cea941f1 delete lists 2022-07-21 02:43:24 +02:00
christoph 48ef1948e4 comment 2022-07-21 02:43:02 +02:00
christoph 81616e0b1b comment 2022-07-20 23:39:47 +02:00
christoph 3ca01e2006 comment 2022-07-20 23:39:41 +02:00
christoph 137d433ec0 lists return 0 instead of -1 when insertion fails 2022-07-20 23:38:54 +02:00
christoph 16bde883be add missing delete[] in allocator 2022-07-20 22:59:33 +02:00
christoph f420d5f677 clean moved objects, destructor 2022-07-20 22:03:39 +02:00
christoph b2dfa72f3b switch to raw ptr, clean moved objects, destructor 2022-07-20 22:03:05 +02:00
christoph 2ed5aba8c3 add support to build with clang 2022-07-20 22:02:49 +02:00
christoph 7a3704072b comments 2022-07-20 22:02:36 +02:00
christoph b9be775518 remove template specializations from unique_ptr 2022-07-20 22:02:11 +02:00
christoph 18c659c4cc implement new list interface (optional) 2022-07-19 23:36:57 +02:00
christoph 241699a9bf switch list to optional return 2022-07-19 23:09:55 +02:00
christoph 78f38f46ef add const reference operators to unique_ptr 2022-07-19 21:59:12 +02:00
christoph fea927380e switch arraylist to unique_ptr 2022-07-19 21:59:00 +02:00
christoph b7070b522a comments 2022-07-19 21:58:50 +02:00
christoph a827e1d809 smartpointer demo 2022-07-19 21:43:10 +02:00
christoph 1519e08072 implement unique_ptr 2022-07-19 21:43:04 +02:00
christoph 5b5ca29246 comments 2022-07-19 21:42:54 +02:00
christoph a9c7b5161d switch mylib to bse namespace 2022-07-19 21:42:46 +02:00
christoph 7d789f5583 comment 2022-07-19 21:42:22 +02:00
christoph 11cd85ca18 removed old obsolete code 2022-07-19 15:01:52 +02:00
christoph 2f47dc8f94 fix list destructors 2022-07-19 14:56:59 +02:00
christoph c319c0b604 remove smarptrdemo impl until i have my own one 2022-07-19 14:51:55 +02:00
christoph 16acf1f21e smartpointer demo for debug 2022-07-19 14:48:07 +02:00
christoph f3e8466456 switch arraylist back to raw pointer 2022-07-19 14:47:59 +02:00
christoph 18c43ae37d implement list destructor 2022-07-19 14:47:49 +02:00
christoph 304458a816 switch order 2022-07-19 14:47:37 +02:00
christoph e6194247cb comments 2022-07-19 14:47:33 +02:00
christoph 84d170cc97 flake 2022-07-19 12:18:56 +02:00
christoph c8b88e2eb6 update flake 2022-07-19 12:17:17 +02:00
christoph 885eecf468 add smartpointer demo for debug 2022-07-19 11:25:56 +02:00
christoph 98eb398156 comment 2022-07-19 04:06:37 +02:00
christoph 2b1db30d1c merge dispatcher into scheduler 2022-07-19 00:28:00 +02:00
christoph f040aa562b update list demos 2022-07-19 00:19:08 +02:00
christoph 99f60383ee comments 2022-07-19 00:15:02 +02:00
christoph d2401820c7 switch demo 2022-07-19 00:02:55 +02:00
christoph b9f633ebb9 update arraylist to smartpointer 2022-07-19 00:02:25 +02:00
christoph 794f4fc7d6 update flake 2022-07-19 00:02:18 +02:00
christoph d7fcd61c11 update iterator for new list interface 2022-07-19 00:02:02 +02:00
christoph 0451af3d9c change iterator in list interface 2022-07-19 00:01:54 +02:00
christoph 348611df26 add swap_n to array 2022-07-19 00:01:40 +02:00
christoph e9b24d06be add lock to keyboard demo 2022-07-19 00:01:24 +02:00
christoph 3d76162d8a array demo 2022-07-18 21:55:36 +02:00
christoph f5a4a66207 implement simple array wrapper 2022-07-18 21:55:24 +02:00
christoph 2e4c0339a3 const iterator + separate iterator from list.h 2022-07-18 21:55:06 +02:00
christoph b9fe5d7d53 updates 2022-07-17 21:41:35 +02:00
christoph 0a7032c992 fix linkedlistiterator 2022-07-17 21:41:23 +02:00
christoph 60b02a078b test ranged based loops in demos 2022-07-17 21:41:12 +02:00
christoph 132eb13431 update for new list interface 2022-07-17 21:02:33 +02:00
christoph d09b862dc3 implement linked list 2022-07-17 21:02:19 +02:00
christoph 671ea46711 update arraylist 2022-07-17 21:02:13 +02:00
christoph 5dd23fc888 update list interface 2022-07-17 21:02:03 +02:00
christoph d87fa5e40a add blank linkedlist impl 2022-07-17 16:04:51 +02:00
christoph 8aa953ed23 adapt arraylist to updated interface 2022-07-17 16:04:37 +02:00
christoph cb928f7b68 simplify list interface and expose iterator/type 2022-07-17 16:04:08 +02:00
christoph 820fff35b5 copy arraylistdemo for linked list 2022-07-17 16:03:40 +02:00
christoph a2b2a311d8 logging 2022-07-17 16:03:35 +02:00
christoph 9ecc520d94 add hidden demos 2022-07-17 16:03:23 +02:00
christoph 6c44da7b5c update 2022-07-17 16:03:17 +02:00
christoph 2ea2de41b6 give up on tree alloc 2022-07-17 16:03:10 +02:00
christoph 38a3bf0aee change kill key to K 2022-07-17 01:38:31 +02:00
christoph 8877b8805e stop pcspk when demo quits 2022-07-17 01:38:21 +02:00
christoph a2a8b4f973 remove debug changes from llalloc 2022-07-17 01:32:23 +02:00
christoph b25ed46c27 update 2022-07-17 01:27:43 +02:00
christoph e7985f4270 synchronize textheavy demos 2022-07-17 01:27:22 +02:00
christoph b158f98639 add semaphore to cgastream 2022-07-17 01:27:13 +02:00
christoph 982843ad84 update 2022-07-17 01:16:47 +02:00
christoph cfb1e2affc kevman logging 2022-07-17 01:16:34 +02:00
christoph 9676c70125 slight arraylist init refactor 2022-07-17 01:16:18 +02:00
christoph 931c9552b7 refactor main menu 2022-07-17 01:16:09 +02:00
christoph 9a0bb01c6d demo update 2022-07-17 01:16:04 +02:00
christoph 566c11eab1 reduce insane output + introduce block queue 2022-07-17 01:14:32 +02:00
christoph b1e3129de8 log when idlethread destroyed 2022-07-17 01:14:08 +02:00
christoph 8a8a918cea disable insane debug output 2022-07-17 01:13:57 +02:00
christoph c746b9518c fix nasty list alloc bug and add spinlock 2022-07-17 01:13:35 +02:00
christoph 1a214e7c65 disable insane debug output 2022-07-17 01:13:22 +02:00
christoph 9d79bc14e3 fix keyevent bug where key releases would be cast 2022-07-17 01:12:55 +02:00
christoph 53c1b82e81 output cleanup + wait for enter 2022-07-16 20:14:59 +02:00
christoph 40d03f83a5 implement first real menu 2022-07-16 20:14:50 +02:00
christoph 223b8af4b4 logging 2022-07-16 20:14:45 +02:00
christoph cd83f85680 unsubscribe listeners in demo threads 2022-07-16 20:14:31 +02:00
christoph 1fd5717209 allow eventlisteners to unsubsscribe 2022-07-16 20:14:05 +02:00
christoph 1575f00717 add serial color output 2022-07-16 20:13:50 +02:00
christoph 75a77a8394 reformat 2022-07-16 20:13:41 +02:00
christoph bf14c58a25 remove old scrollmode reference 2022-07-16 20:12:50 +02:00
christoph 6c6ae51ebb disable optimizations for busy waiting 2022-07-16 20:12:25 +02:00
christoph b454f5d01c adapt to new list interface 2022-07-16 18:24:32 +02:00
christoph f807558781 use arraylist in eventmanager 2022-07-16 18:24:11 +02:00
christoph 5d8316c265 adapt list impl to interface 2022-07-16 18:23:53 +02:00