Commit Graph

944 Commits

Author SHA1 Message Date
kevin
e2a307c2ac cwIoPresetSelApp.cpp : Changes to reflect new cwDspTypes. 2024-04-26 17:09:45 -04:00
kevin
fc8b806d97 cwFlowProc.h/cpp : Added 'sample_hold','number','timer','counter'. 2024-04-26 17:09:10 -04:00
kevin
b4529aeb3f cwFlow.h.cpp : test() now takes a command line argument to select a particular test case.
'multi???Preset???Fl' in network cfg. are now optional.
2024-04-26 17:05:48 -04:00
kevin
bdcb26ac72 cwFlowTypes.h : Changes to account for changed dsp::types.
Added is_connected_to_source_proc(), var_is_source() and is_source_var().
2024-04-26 17:04:03 -04:00
kevin
a0b4e9c120 cwDspTypes.h,cwDspTransforms.h/cpp : Removed the 'real_t' and replaced it with more specific types which identify how the type is being used (e.g. coeff_t, ftime_t). 2024-04-26 17:00:58 -04:00
kevin
a7a38fa9f4 cwObject.h/cpp : cwObject now detects and properly encodes floats and unsigned integers that are specified with the 'f' and 'u' suffix. 2024-04-26 16:59:40 -04:00
kevin
e42dd71b09 cwLex.h/cpp : test() now returns an rc_t. Added test for use of floating point suffix 'f'. 2024-04-26 16:58:01 -04:00
kevin
78ca1b3e35 README.md : Updates 2024-04-22 16:02:53 -04:00
kevin
1b649124a6 cwFlow*,cwPresetSel.cpp: Many changes to implement 'poly' networks.
cwFlowNet.h/cpp : Initial commit.
2024-04-22 16:02:40 -04:00
kevin
1c373f8d03 cwObject.cpp : All non-quoted-string string are now considered identifiers in objectFromString(). 2024-04-22 15:57:59 -04:00
kevin
a3012db165 cwText.h/cpp : Added first/lastMatchChar() for non-const strings. 2024-04-22 15:56:11 -04:00
kevin
66c1f08c16 Merge branch 'dev' of gitea.larke.org:kevin/libcw into dev 2024-04-06 16:08:07 -04:00
kevin
e49df496e6 cwFlow* : Added MIDI input and output devices to 'flow' framework. 2024-04-06 16:07:46 -04:00
kevin
c4d518db47 cwIo.h,cpp : Updates to include cwMidiDevice input device buffer.
Added hardwareReport().
Updates to account for change to midi::cbFunc_t.
2024-04-06 16:06:17 -04:00
kevin
374d3ad8a8 cwMidiDeviceTest.cpp,cwMidiFileDev.cpp,cwMidiParser.cpp : Updates to account for change of MIDI callback signature in cwMidiDecls.h. 2024-04-06 16:04:42 -04:00
kevin
3526b2c807 cwMidiAlsa.cpp : Ports that do not qualify based on READ/WRITE attributes are now dropped.
Ports without names are now given the default name '<None>'.
2024-04-06 16:02:52 -04:00
kevin
a6f518ed54 cwMidiDevice.h/cpp,cwMidiDecls.h : Added getBuffer(),clearBuffer(),maxBufferMsgCount() to cwMidiDevice.
Changed the MIDI device callback function to move the user arg outside of the 'packet_t'.
Added midi::ch_msg_t
2024-04-06 15:44:43 -04:00
kevin
7d3be5ebc6 cwIoPresetSelApp.cpp, ui.cfg : Add 'RT' and 'Hw' reports buttons. 2024-04-06 15:41:59 -04:00
kevin
97da536504 cwIoPresetSelApp.cpp : beg_loc,end_loc is now applied to midi player from meta.cfg on file load. 2024-03-30 18:01:08 -04:00
kevin
d5f75f961c Added 'timeOutMs' arg. to all calls to ui::ws::exec(). 2024-03-28 19:48:46 -04:00
kevin
98ed33d2cc cwUi.h/cpp : Add queueBlkCnt and queueBlkByteCnt to websock based API's.
Removed websockTimeOutMs from UI cfg. and replace it as an argument to ui::ws::exec().
2024-03-28 19:47:29 -04:00
kevin
60e6c2f772 cwWebSock.h/cpp : Optimize exec() to decrease cwIoPresetSelApp GUI startup time.
Added _timed_exec_0/1/2()
2024-03-28 19:45:40 -04:00
kevin
475cf5e541 cwNbMpScQueue.h/c : Fixed bug where the tail was not correctly updated in advance().
Added peek_reset().
2024-03-28 19:43:40 -04:00
kevin
73b433feae cwPresetSel.cpp : Fix problem where there were two version of delete_fragment() - one of which allowed a memory leak. 2024-03-27 20:19:06 -04:00
kevin
89a4b83c45 cwUi.cpp :
1. Add one to hashA[] to prevent a hash index of 0xffff from going past the end of the array.
2. Fix bug where hash table buckets were not released.
2024-03-25 22:17:40 -04:00
kevin
43c5be958a cwFileSys.cpp : Fixed failure to free expanded path on path not existing in isFile(),isDir(),isLink(). 2024-03-25 22:14:42 -04:00
kevin
6b2a3db3f0 Merge branch 'dev' of gitea.larke.org:kevin/libcw into dev 2024-03-25 14:32:21 -04:00
kevin
488648a967 cwWebSock.cpp : Added report(). 2024-03-25 14:31:03 -04:00
kevin
230f3841d7 cwIo.cpp: Added call to uiRealTimeReport() in call to io::realTimeReport(). 2024-03-25 14:30:47 -04:00
kevin
55aed815e1 cwUi.h/cpp : Added ui::ws::realTimeReport(). 2024-03-25 14:29:58 -04:00
kevin
c9281603de cwNbMpScQueue.h/cpp: Added count(). 2024-03-25 14:29:25 -04:00
kevin
5f3f986db6 Merge branch 'master' into dev 2024-03-25 13:45:59 -04:00
kevin
693c87d598 cwWebSock.cpp : Now uses cwNbMpScQueue to cache outgoing messages. 2024-03-25 13:32:46 -04:00
kevin
99871c5bef cwNbMpScQueue.h/cpp :
1. Added peek().
2. blockL is now made from individual allocated blocks to ease memory alignment.
3. node_t and blob length is now padded out to a multiple of 8 bytes to guarantee memory alignment.
4. advance() now returns the next blob.
2024-03-25 13:31:58 -04:00
kevin
1c678700b7 cwMidiAlsa.cpp : Fixed _cmMpAllocStruct() to correctly report failure on send_seq_subscribe_port(). 2024-03-25 11:45:42 -04:00
kevin
68bcf7306c cwWebSock.cpp : Changed initialization of _event_loop_ops_custom() to avoid warnings. 2024-03-25 11:44:37 -04:00
kevin
521a513ba3 cwSfScore.cpp : Removed incorrect assert in _calc_score_tempo(). 2024-03-25 11:43:26 -04:00
kevin
ec418f1d28 cwCommonImpl.h : Changed cwAssert() param named 'cond' to 'C' to fix warning. 2024-03-25 11:42:22 -04:00
kevin
0979b097ba Merge branch 'master' of gitea.larke.org:kevin/libcw 2024-03-25 11:00:12 -04:00
kevin
ad5efbaa77 cwMidiDevice.h : Changed file guards to cwMidiDevice_h from cwMidiPort_h. 2024-03-25 10:59:55 -04:00
kevin
542ceafe8a cwDataSets.cpp : test() Write 5 rather than 0 images for each batch to an SVG. 2024-03-25 10:58:43 -04:00
kevin
9a4fed6d64 cwMidiFile.cpp : calcNoteDurations() turn off warning and write comments in 'missing note-off for note-on' case. 2024-03-25 10:57:54 -04:00
kevin
70b147007e cwPresetSel.cpp : Rewrote _validate_preset_id() to clarify logic. 2024-03-25 10:56:32 -04:00
kevin
b354b29581 cwCsv.cpp : Mark [[fallthrough]] in 'case kBeforeField'. 2024-03-25 10:54:02 -04:00
kevin
a2aa26754b cwVariant.cpp : Fix bad initialization in _variantDescArray[] sentinel. 2024-03-25 10:53:25 -04:00
kevin
e04c293856 cwUiTest.cpp : Fix missing break in 'case kFloatId'. 2024-03-25 10:52:08 -04:00
kevin
8ed15267a5 Fix signed/unsigned warnings with explicit casts. 2024-03-25 10:50:11 -04:00
kevin
36826a3b66 Replace use of {0} with {}, or replace partial initialization cases with complete initialization. 2024-03-25 10:46:45 -04:00
kevin
9fd9043a2d cwIo.cpp : Set p->sockN and p->serialN to 0 when socket or serial sub-systems are disabled. 2024-03-22 13:01:08 -04:00
kevin
6f2444b8d7 cwNbMpScQueue.h/cpp : Verified with -fsanitize thread added comments. 2024-03-11 19:21:03 -04:00