Commit Graph

25 Commits

Author SHA1 Message Date
Dan Cross
aacb1000c8 Arrays to vectors.
This is the big push to get rid of the last of the
unadorned dynamic arrays.  Use ptr_vectors for things
like mail conferences etc.

Lots of incidental cleanup along the way.

Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-17 13:11:25 +10:00
Dan Cross
9f4269c74e Clean up menus.c.
In the course of removing calls to realloc(), change
the menu parsing and use logic to use ptr_vector's
directly.

This also fixes some detects menu issues in parsing
and avoids e.g. writing to a bad pointer (or should;
of course it needs testing...).

Finally, free menu state on return from the menu_system
function. There was a comment here to do that, but it
didn't appear to be done.

Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-16 11:00:08 +10:00
Dan Cross
fa014f3a88 Simplify dynamic memory management.
Add utility routines and use them to simplify the
use of dynamically allocated memory.

Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-10 10:25:29 +10:00
Dan Cross
d6826137dd clang-format
Fix a bunch of trivial formatting issues by running
`clang-format`.

Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
2018-10-09 15:48:42 +10:00
Andrew Pamment
1684f8ab39 Switch broadcast to MQTT 2018-06-18 16:52:27 +10:00
Andrew Pamment
760fef49b2 fix a bug with menus 2018-06-12 17:06:49 +10:00
Andrew Pamment
a981864237 fix for new menu chainging and scripts 2018-05-03 08:23:26 +10:00
Andrew Pamment
5b448b7e14 Fix chaining commands 2018-05-01 16:13:55 +10:00
Andrew Pamment
e8640d2230 chaining menu commands 2018-05-01 16:05:01 +10:00
Andrew Pamment
396f5c2bb9 Add a system blog 2018-02-27 18:26:32 +10:00
Andrew Pamment
9390dedc82 Add personal mail scan 2018-02-18 13:51:39 +10:00
Andrew Pamment
d002d681d7 Change AUTOMESSAGE_WRITE to AUTOMESSAGE and add prompt. 2018-02-14 14:36:26 +10:00
Andrew Pamment
02f4679387 Send feedback menu option 2018-02-07 20:38:25 +10:00
Andrew Pamment
686aee7226 Added some additional logging 2018-02-07 17:27:50 +10:00
Andrew Pamment
3f7fc15c44 Nodelist browser 2018-02-06 11:41:55 +10:00
Andrew Pamment
3ec7305cbe Allow pointers to be set, read, unread or at msg no 2018-02-03 11:44:36 +10:00
Andrew Pamment
84a3d271df first attempt at www downlods WIP 2018-01-23 20:57:58 +10:00
Andrew Pamment
85fc0d57cd File area choosers now use lightbars 2018-01-17 16:03:15 +10:00
Andrew Pamment
1aeaee5031 EXPERIMENTAL lightbar area/conference selection 2018-01-17 14:54:04 +10:00
Andrew Pamment
8ddf1e7ddc Fix pausing textfiles 2017-10-26 08:41:05 +10:00
Andrew Pamment
e2fc322fcc Added display ansi and display ansi pause menu commands 2017-10-25 21:25:52 +10:00
Andrew Pamment
237d27fe7a Enable file search 2017-10-19 12:54:20 +10:00
Andrew Pamment
ce65048a98 New experimental full mail scan 2017-10-12 20:24:55 +10:00
Andrew Pamment
a74caa16b2 Initial try at new file scan 2017-09-28 19:11:00 +10:00
Andrew Pamment
ffaca86565 Redo Make file setup.. please standby 2017-09-25 13:27:22 +10:00