Commit Graph

1061 Commits

Author SHA1 Message Date
kevin
638d3e8494 cwText.h/cpp : Added firstMatchChar(char*,int,char) form of first char. match function. 2024-11-17 14:51:55 -05:00
kevin
1ed6202885 cwTime.h/cpp : Added fracSecondsToSpec() 2024-11-08 11:09:43 -05:00
kevin
c68f741ccf README.md : Updates. 2024-10-19 12:38:18 -04:00
kevin
930982028d cwFlowNet.cpp : Fixed bug where poly nets UI elements were not released.
Added and set ui_var_t.has_source_fl.
2024-10-19 12:38:05 -04:00
kevin
11489d89b4 cwIo.h : Improved comment. 2024-10-19 12:36:38 -04:00
kevin
7cc27cb8dd cwUI.h/cpp : Added elementChildCount/UuId() and elementPhysChildCount/UuId().
emptyParent() now deletes child elements.
Added  _remove_ele_from_hash_table() to fix bug where destroyed elements were not removed from hash table.
2024-10-19 12:36:12 -04:00
kevin
6e56bec206 README.md : Updates. 2024-10-14 14:24:36 -04:00
kevin
ffda85b4ad cwMpScNbQueue.h : Added notes to cwMpScNbQueue.h. 2024-10-14 14:24:14 -04:00
kevin
44e39cd429 cwFlowProc.cpp,proc_dict.cfg : Updates to audio_meter to implement UI callbacks. 2024-10-14 14:23:31 -04:00
kevin
e0aeb258cd cwIoFlowCtl.h/cpp: Added _ui_callback() to pass variable values from the flow network to the UI.
Also added set_variable_user_id().
2024-10-14 14:22:51 -04:00
kevin
bad1d3953d cwFlow.h/cpp : Added user_callback_t args to create() and set_variable_user_id().
Also added _make_flow_to_ui_callback() to exec_cycle() to implement flow callbacks to the UI.
2024-10-14 14:20:13 -04:00
kevin
805451d4d3 cwFlowTypes.h/cpp : Added var_send_to_ui().
This included the addition of ui_var_head/stub/tail and ui_callback to flow_t
and the ui_var and ui_var_link to variable_t.
2024-10-14 14:18:45 -04:00
kevin
5ad56fe66c cwFlowNet.h/cpp : Added set_variable_user_id(). 2024-10-14 14:16:14 -04:00
kevin
ee990fd628 cwFlowDecl.h: Added 'user_id' field to ui_var_t. Added ui_callback_t. 2024-10-14 14:15:21 -04:00
kevin
c9519d745c cwIoFlowCtl.h/cpp : Added program_ui_net() and set/get_variable_value(). 2024-10-12 15:30:20 -04:00
kevin
e5bff5cd9c cwFlow.h/cpp: Added ui_net(), _create_class_ui_desc() and set/get_variable_value() in terms of ui_var_t. 2024-10-12 15:29:39 -04:00
kevin
72bd9f189a cwFlowNet.h/cpp : Added create_net_ui_desc(). Added set/get_variable_value() based on ui_var_t. 2024-10-12 15:27:33 -04:00
kevin
57c154ca2c cwFlowProc.cpp : Replaced references to proc_t.proc_array to proc_t.procA., 2024-10-12 15:26:19 -04:00
kevin
83267b1016 cwIo.h/cpp : Added uiSetTitle(), uiCreateHList() and second version of uiGetBlob(). Changed name of uiCreateList() to uiCreateVList(). 2024-10-12 15:25:03 -04:00
kevin
8c4ba8a9f7 cwFlowDecl.h : Added all ui_* types. 2024-10-12 15:23:06 -04:00
kevin
ab9feebc7a cwFlowTypes.h/cpp:
1. Added ui_net to network_t.
2. Added ui to class_desc_t.
3. Changed name of proc_t.proc_array to procA.
4. Added var_channel_count().
2024-10-12 15:22:17 -04:00
kevin
0dab461a6e cwUi.h/cpp :
1. Renamed createList() to createHList(). Added createVList().
2. Added setTitle().
2024-10-12 15:18:05 -04:00
kevin
c60142a6c1 cwWebSock.cpp : Removed unnecessary '\n' from cwLogInfo() calls. 2024-10-12 13:45:24 -04:00
kevin
64d5886392 cwIoFlowCtl.h/cpp : Added program_is_initialized(). 2024-09-21 17:18:46 -04:00
kevin
4f2174c82d cwIo.h/cpp, cwUi.h/cpp : Added emptyParent(). 2024-09-21 17:18:12 -04:00
kevin
def7727d23 README.md : Updates. 2024-09-20 18:16:37 -04:00
kevin
1b450d0a85 cwIoFlowCtl.h/cpp :
1. Implemented program_preset_count() and program_preset_label().
2. Implemented program_initialize().
2024-09-20 18:16:28 -04:00
kevin
db75ddb3d0 cwFlowProc.cpp : Updated calls to network_create() to take a null preset_label. 2024-09-20 18:15:39 -04:00
kevin
95f790c670 cwFlow.h/cpp, cwFlowTypes.h :
1. Implemented preset_count() and preset_label().
2. Added presetA[] and presetN to flow_t.
2. Broke out initialize() from create().
3. Initialize now takes the index of a top-level preset to be applied when network is instantiated.
2024-09-20 18:15:03 -04:00
kevin
9038b2b6eb cwFlowNet.h/cpp:
1. Network create now takes a 'preset_label'.
2. The preset is applied to each proc after the 'arg:{}' statement is processed.
3. The preset is applied again at the completion of the network instantiation.
2024-09-20 18:11:30 -04:00
kevin
bc98a92f0a cwAudioDeviceAlsa.cpp : Removed trailing white space from the device description string. 2024-09-19 15:06:56 -04:00
kevin
05d0c316f4 cwText.h/cpp : Added removeTrailingWhitespace() 2024-09-19 15:06:27 -04:00
kevin
49b4a1430f cwFlow,cwFlowNet,cwFlowTypes,cwFlowProc : 'poly' processor can now handle heterogeneous arrays of networks. 2024-09-17 16:33:26 -04:00
kevin
f98dd37e49 Changed all references to 'subnet' to 'user_def_proc' or UDP. 2024-09-16 13:43:52 -04:00
kevin
089e10e363 cwFlowNet.cpp,cwFlowProc.cpp,proc_dict.cfg : Implement 'poly' parallel execution. 2024-09-16 10:43:02 -04:00
kevin
b0ecdefa39 Merge branch 'poly' of gitea.larke.org:kevin/libcw into poly 2024-09-16 08:19:21 -04:00
kevin
3f9458afb2 cwFlowTypes.h,cwFlowProc.cpp,proc_dict.cfg : Add 'parallel' param to 'poly' proc. 2024-09-16 08:19:09 -04:00
kevin
e1ebbeac6c cwFlowNet.h/cpp : Remove the feature which allowed a poly network to execute
in 'proc-order' rather than 'net-order'.  Networks can now only execute in
network order.
2024-09-16 08:18:05 -04:00
kevin
e9f1843ac5 cwThreadMach.h/cpp : cw::thread_tasks initial implementation. 2024-09-15 14:55:51 -04:00
kevin
9a555e2c42 cwThread.h now depends on cwTest.h 2024-09-15 14:54:25 -04:00
kevin
6fcc1fa0ec cwThread.cpp : Fixed but with cycle count limit and added tests to threadTest(). 2024-09-15 14:53:18 -04:00
kevin
10b5e88b0e cwThread.h/cpp : Added cycle count limit to 'unpause'. 2024-09-13 17:21:21 -04:00
kevin
07b736daae Merge branch 'poly' of gitea.larke.org:kevin/libcw into poly 2024-09-13 15:33:06 -04:00
kevin
1e2942eed9 README.md: Updates 2024-09-13 15:32:38 -04:00
kevin
af49ef42cb cwFlowNet.cpp,cwFlowTypes.h : Added network_t.poly_proc_idxA[] to prepare for parallel poly's 2024-09-13 15:32:25 -04:00
kevin
1223b55f2b cwThread.cpp : The thread now blocks on a condition variable rather than using a time sleep when in pause mode. 2024-09-13 15:14:28 -04:00
kevin
9199aa81e0 cwMutex.h : Update comments. 2024-09-13 15:10:14 -04:00
kevin
e98db94c92 cwTime.cpp : Fix advanceMicros() and advanceMs() 2024-09-13 15:09:56 -04:00
kevin
e0063a078f README.md, flow/subnet_dict.cfg : Updates 2024-09-13 10:35:04 -04:00
kevin
c55f7d34ec 1. caw program parameters are now in snake_case rather than camelCase.
2. Column headers are now printed for caw 'log' output.
3. The websocket LLL_NOTICE logs may now be turned off using the 'extraLogsFl'.
4. Changed the 'Number' processor to work with the 'feedback' example.
5. README.md updates.
2024-09-12 17:18:42 -04:00