Commit Graph

1061 Commits

Author SHA1 Message Date
kevin
9f56f26ff7 Merge branch 'master' of https://gitea.larke.org/klarke/libcw 2020-04-08 20:08:31 -04:00
kevin
0138d690a1 cwObject.cpp : Fixed int64 printf specifiers. 2020-04-08 20:08:11 -04:00
kevin.larke
4d5dadf0b9 cwAudioDeviceAlsa.cpp : Added pre-proc guard around SND_PCM_STATE_PRIVATE1. 2020-04-08 20:04:14 -04:00
kevin.larke
1fe3e6d841 cwEuCon.h/cpp : Added an application thread. 2020-04-07 17:40:08 -04:00
kevin.larke
c6ccaefcdb cwUI.h/cpp, cwUiTest.cpp : Separated the UI component into three parts ui, ws, srv. 2020-04-07 16:24:34 -04:00
kevin.larke
38aab880a0 cwSocket.cpp : Simplified the way the count of sockets is maintained. 2020-04-07 16:22:43 -04:00
kevin.larke
b6d716e8ff cwUi.h/cpp, cwUiTest.cpp, html/uiTest : Initial working version of cwUI. 2020-04-06 19:17:04 -04:00
kevin.larke
d3d4c7c6f9 cwFile.cpp : Changed fnToStr() to properly close() the source file handle. 2020-04-06 19:16:09 -04:00
kevin.larke
bfe9d9ebfc cwObject.h/cpp : Added newPairObject(), typeid: kCStringTId, changed list_ele() to child_ele() 2020-04-06 19:15:03 -04:00
kevin.larke
7d7a36fe03 Makefile.am : Reformatted 2020-04-06 19:13:33 -04:00
kevin.larke
0b2f8091d0 Merge branch 'master' of gitea.larke.org:klarke/libcw 2020-04-04 17:28:01 -04:00
kevin.larke
5fdab1080d README.md : Added Raspberry Pi build notes. 2020-04-04 17:27:45 -04:00
kevin
86c641c4ab Minor changes for Raspberry Pi Build. 2020-04-04 20:53:20 +00:00
kevin.larke
c266475c99 cwEuCon.cpp : Fixed bug where multiple handshake-0's could be sent. 2020-04-04 09:28:32 -04:00
kevin.larke
3a840015cf cwEuCon.h/cpp : Allow the Fader service port to be set from the program arguments (even though it should be read from DNS-SD). 2020-04-03 17:42:07 -04:00
kevin.larke
def9f601c0 README.md : updates 2020-04-03 16:41:11 -04:00
kevin.larke
f2bfc13419 cwEucon.h/cpp : Initial updates to support fader bank array server. 2020-04-03 10:36:10 -04:00
kevin.larke
6d623c3a2a cwEuCon.cpp : Fixed extra bytes in RESPONSE_4_B. 2020-04-02 14:41:23 -04:00
kevin.larke
4ef49b84d4 cwSocket.cpp : Fixed comments and error messages. 2020-04-02 14:40:49 -04:00
kevin.larke
46fc9721ca README.md : Updates 2020-04-02 14:40:26 -04:00
kevin.larke
bc3c683e41 cwSocket.h/cpp : Changed name of cbId_t to cbOpId_t 2020-04-01 10:46:31 -04:00
kevin.larke
14ee0765db cwEuCon.cpp : Updated status messages. 2020-03-31 14:34:13 -04:00
kevin.larke
2372f153b3 cwUi : Initial UI creation from resource file. 2020-03-31 13:10:45 -04:00
kevin.larke
80cd776337 html/websockSrvTest.hmtl : Updated to get URL from DOM and send to particular or all connected endpoints. 2020-03-31 12:56:00 -04:00
kevin.larke
93b1af1a42 cwSocket.h/cpp : Update test() to get server parameters from a specific NIC device. 2020-03-31 12:54:20 -04:00
kevin.larke
e0f1e6b948 cwWebSock.h/cpp : Added 'sessionId' to send() (and msg_t) to allow a message to be sent to a specific endpoint. 2020-03-31 12:53:14 -04:00
kevin.larke
10b2a36970 cwObject.h/cpp,cwObjectTemplate.h : Initial implementation of newObject(). Added flags to find(). 2020-03-31 12:51:17 -04:00
kevin.larke
98c9150809 cwFile.cpp : Fixed bug in _fnToBuf(). 2020-03-31 12:49:24 -04:00
kevin.larke
0a293ba910 cwCommon.h Added kLabelNotFouncRC and kDuplicateRC, 2020-03-31 12:47:37 -04:00
kevin.larke
9d1170b1eb cwUi.h/cpp : Added shell for functions createFromFile(), createFromText(). 2020-03-25 11:35:37 -04:00
kevin.larke
e4328c950b cwObject.h/cpp : Added unlink() and non const find(),par_value(),list_ele(). 2020-03-25 11:34:28 -04:00
kevin.larke
1a11282915 cwUi : Create message changed 'value' field to 'children'. 2020-03-24 08:53:42 -04:00
kevin.larke
938e8c284d cwObject*,cwText* : Added object_t.to_string() function 2020-03-24 08:53:00 -04:00
kevin.larke
7b2ebd5580 Changes to support autotools build.
Changed #define cwLINUX to OS_LINUX.
2020-03-24 08:51:51 -04:00
kpl
29e34cbeca main.cpp : Updated 'sockMgrTest' usage string. 2020-03-23 16:48:43 -04:00
kpl
3c9d4282cd cwDnsSd, dns_sd/ : Updates to integrate Arduino version with Linux version. 2020-03-23 16:48:17 -04:00
kpl
8c685cb517 cwTcpSocket.cpp : Changed select_receive() to use p->fdH when available. 2020-03-23 16:46:04 -04:00
kpl
d0eccbd6be cwEuCon.cpp : Handshake protocol no longer waits for a heart-beat before sending second handshake msg (i.e. 0xc ...) 2020-03-23 15:58:13 -04:00
kpl
8ca40945e4 cwEuCon.cpp : Change to match with Arduino DNS-SD client. 2020-03-23 15:50:25 -04:00
kpl
8b112b39fe cwIo* : Updates to include 'decl' files in header and initial sketch of interface. 2020-03-23 13:14:42 -04:00
kpl
8f88355f36 main.cpp : Updates to include uiTest() and more variadic template experiments. 2020-03-23 10:52:04 -04:00
kpl
1a437951ce README.md : updates 2020-03-23 10:51:29 -04:00
kpl
dcc1a5f291 .gitignore : updates 2020-03-23 10:51:18 -04:00
kpl
78b351b753 cwUi* : Initial implementation. 2020-03-23 10:50:10 -04:00
kpl
545f8b808f cwNumericConvert.h : Added string_to_number<boo>() 2020-03-23 10:43:38 -04:00
kpl
bcb6b37df4 cwText.h/cpp : Added nextNonWhiteChar() functions and toText() functions. 2020-03-23 10:42:16 -04:00
kpl
5cda838a93 Added 'decls' include files to hold public declarations for audio,midi,serial,socket, and websock modules.
Other minor changes to prepare for integration into cwIo.
In cwMidi* replaced 'byte_t' with 'uint8_t'.
In cwAudioDevice* removed redundant 'device' prefix from function names.
2020-03-23 10:41:28 -04:00
kpl
11f6d38330 cwSocket.cpp : Sockets are now automatically closed when poll() detects HUP or NVAL conditions. 2020-03-18 19:54:01 -04:00
kpl
33aca956da cwThread.cpp : Threads are no longer created in detached state
because it no longer solves the problems of internal memory leaks when the thread is closed.
Instead we use pthread_join() when the thread is closed.
2020-03-18 19:05:48 -04:00
kpl
414bce83e5 cwSocket.cpp : Children sockets are no unlinked from their parent when they are disconnected. 2020-03-18 19:04:33 -04:00