Nils
0e041ffa31
Provide full semantic versioning to nsmd.cpp
4 years ago
Nils
47e30cc6b3
Add documentation, manpages, update all executable to have --help commandline parameters
4 years ago
Nils
6380c79cc6
always send the executable name to the client first, later followed by the announced name. This is standard behaviour that was implicitely expected by legacy-gui. issue #41
4 years ago
Nils
ded564b863
comment on client/new and executable name vs reported name. no functional code changes
4 years ago
Nils
41de126bf5
Fix more corner-cases regarding labels
4 years ago
Nils
f3b7daf557
Check status for null as well, just to be super strict
4 years ago
Nils
e04c02429d
Don't send label when it is NULL. Ha, we nearly did the same mistake like we fixed earlier
4 years ago
Nils
f59790200c
Update changelog for client sending when detached
4 years ago
Nils
c8fd40bace
Detach label storing from the presense of a GUI. Send label with client list when a gui announces to already running session
4 years ago
Nils
15fe4b61af
resend option-gui capability when connecting to a running nsmd with loaded session
4 years ago
Nils
ec40e6d67b
Fix client status bug that lead to code never executed and a GUI attached later to a headless nsmd never receiving client information and session name
4 years ago
Nils
171fb98c01
initial status is NULL, not empty string
4 years ago
Nils
b14a4466f9
fix further memory leaks from recent code additions
4 years ago
Nils
4e35662ab8
Replace dynamic function with one-time generation. Also fixes memory leak
4 years ago
Nils
98290ce057
Use prefix ++ operator for non-primitive type to avoid keeping a copy of the previous value around
4 years ago
Nils
a6679f9c7e
Remove variable scope by one level
4 years ago
Nils
a99663759e
performance, CWE 398: Assign addr value in the initialization list
4 years ago
Nils
24c28f5ef6
initialize missing Client member variables
4 years ago
Nils
c8adbd8edf
Add client_id collision check with follow-up regeneration
4 years ago
Nils
4eebf079e1
Improve console log messages by using actual client names, especially when clients hang and wait. Enable client developers to figure out if it is their client that is wrong or not
4 years ago
Nils
ed085c775a
Add --version to nsmd command line parameters. Reformat help string according to POSIX, include all available options, write descriptions of options
4 years ago
Nils
0919aff9ab
manually merge --load-session patch by Rik Berkelder
4 years ago
Nils
9c35646749
Better variable name
4 years ago
Nils
f1375939e3
Optimise session startup time with failed-launch clients
4 years ago
diovudau
b1c7cfeb3b
Missing program launch ( #26 )
* Add client name in PID messages. More comments
* Inform user of failed launch via label.\n\nIf a program is not installed but saved in the session or if permission to execute is false nsmd now informs the GUI through a client label that the launch in fact failed. Previously it just went into the 'stopped' status which can indicate a normal exit or a program crash. With this solution no API or GUI change is needed. Also add comments and explanations.
* Check for NULL
* adjust to code style
* Whitespace around parameter
Co-authored-by: Nils <>
4 years ago
Nils
38bbb999fe
Use less alarming words when a client quits
4 years ago
Nils
99bdd127a0
Add comments to gui_announce and more. No functional code changes
4 years ago
Nils
41d535f535
proper terminal symbol for listing sessions
4 years ago
houston
d4b9c69b84
fix operation reply to last treated client instead to reply to sender
4 years ago
falkTX
fd813166d5
Fix build warning on 32bit systems
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
Nils
7a2728ba95
raise NSM_API_VERSION_MINOR from 0 to 1
4 years ago
falkTX
67844d6ed2
Fix all compiler warnings
Kinda..
I dont know how to fix asprintf, so we ignore that for now.
It is not our original codebase anyway
Fixes #8
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
Nils
3814780563
Change license to GPLv3 but do _not_ claim copyright for unaltered files
5 years ago
Nils
e431cd55ae
Convert to meson
5 years ago
Nils
902ddab8ee
cpp and hpp file extensions instead of rarely used upper case ones
5 years ago
Nils
596db80257
Make nonlib smaller by removing files that were only for sequencer, timeline and mixer
5 years ago
Nils
9a7c4f9dc7
rename capital C of nsmd extension to the more standard .cpp
5 years ago
Nils
aa940df662
Add message /nsm/gui/session/root to ask for the absolute path of the NSM directory
5 years ago
Jonathan Moore Liles
1daf0f6150
Replace deprecated scanf %a modifier with %m.
8 years ago
martin
f572e331ee
Unblock SIGCHLD for launched processes
9 years ago
Jonathan Moore Liles
1ef382fbbe
NSM: Fix mem/fd leaks
Closes : #187
9 years ago
Jonathan Moore Liles
fad4f7938c
NSM: Don't wait on clients that have died while executing a command.
11 years ago
Jonathan Moore Liles
f2bc2b5c9b
NTK: Don't keep unneeded clients in session when switching.
12 years ago
Jonathan Moore Liles
8b5f5a76aa
NSM: Command all unneeded 'switch' capable clients to exit when switching sessions.
Closes #60 .
12 years ago
Jonathan Moore Liles
a3c1e806a9
NSM: Disallow adding clients by path name.
12 years ago
Jonathan Moore Liles
ae633840fb
NSM: Add status message log display to GUI.
12 years ago
Jonathan Moore Liles
4ef20c0f71
NSM: Give clients a 5 second period in which to announce themselves--otherwise assume they are dumb clients.
12 years ago
Jonathan Moore Liles
bb26718834
NSM: Wait up to 60 seconds for all clients to close.
12 years ago
Jonathan Moore Liles
5c6e9f8d37
NSM: Don't return false error message from duplicate function.
Closes #34
12 years ago
Jonathan Moore Liles
4103cd016b
NSM: Clean up session selection behavior.
12 years ago