Commit Graph

873 Commits

Author SHA1 Message Date
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
kevin
e63abddb5d Merge branch 'master' of gitea.larke.org:kevin/libcw 2024-03-09 18:18:09 -05:00
kevin
5de1851c66 cwVectOps.h : Added 'scale_add()' 2024-03-09 15:13:54 -05:00
kevin
2d0c59a8fa cwIoPresetSelApp.cpp,cwPresetSel.h/cpp,ui.cfg,cwFlowDecl.h : Added 'Allow All' for uniform prob. preset selection. Add 'loc location' flag to UI. 2024-03-09 15:12:56 -05:00
kevin
63faf6a6d2 cwFlow.cpp : comment out interpolation value print statement. 2024-03-09 15:10:46 -05:00
kevin
77695db9ad cwIo.cpp : Add 'enableFl' to each IO sub-system. 2024-03-07 11:44:48 -05:00
kevin
72701c79af Merge branch 'master' of gitea.larke.org:kevin/libcw 2024-03-06 09:27:38 -05:00
kevin
e5b74f3a40 cwScoreFollower.h/cpp, cwSfTrack.h : Updates to comments. No functional changes. 2024-03-06 09:27:31 -05:00
kevin
fbd057bd9a cwScoreFollowTest.cpp : Output directory now is taken from MIDI input filename. 2024-03-03 16:37:19 -05:00
kevin
68b92212c2 cwNbMpScQueue.h/cpp : Added use of 'cleanBlkN' and 'cleanProcN'.
Updates to test function.
2024-03-03 16:35:23 -05:00
kevin
a052f2623c Merge branch 'master' of gitea.larke.org:kevin/libcw 2024-02-25 16:20:28 -05:00
kevin
f0d87b903e cwNbMpScQueue.h/cpp,Makefile : Initial commit 2024-02-25 16:19:59 -05:00
kevin
1b8c9f9b6c cwIoPresetSelApp.cpp : Remove extra sleep time from main loop, because cwWebSock now blocks inside io::exec(). 2024-02-24 15:42:31 -05:00
kevin
4954e2dabb Merge branch 'master' of gitea.larke.org:kevin/libcw 2024-02-24 13:57:59 -05:00
kevin
9634574548 cwWebSock.cpp : Updated to use custom event loop plugin and thereby correctly block in exec(). 2024-02-24 13:57:47 -05:00
kevin
0c5e6d52b3 cwTime : Updated elapsedMicros(). 2024-02-24 13:55:44 -05:00
kevin
c065005ec9 Merge branch 'master' of gitea.larke.org:kevin/libcw 2024-02-23 15:28:31 -05:00
kevin
31d32e0b7c Merge branch 'master' of gitea.larke.org:kevin/libcw 2024-02-21 07:51:39 -05:00
kevin
68e36aad6b cwIo : Added MIDI file device interface. 2024-02-21 07:50:52 -05:00
kevin
e3ff4828b0 cwMidiDevice,cwMidiFileDev : Added midi::file_dev.msg_count() and midi::device.loadMsgPacket(). 2024-02-21 07:49:28 -05:00
kevin
8177ff71fc cwMidiDevice.cpp : Updated comments. 2024-02-21 07:47:09 -05:00
kevin
e8e6915990 cwGutimReg.h/cpp : Added test(). 2024-02-21 07:46:51 -05:00