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
Jonathan Moore Liles
14b8507fcb
NSM: Don't wait for replies from dumb clients!
12 years ago
Jonathan Moore Liles
299193dc60
NSM: Further clarify nsmd debugging output regarding client death.
12 years ago
Jonathan Moore Liles
acb38aca99
NSM: Clarify client X died message.
12 years ago
Jonathan Moore Liles
2c646deebf
NSM: Oops. Add "optional-gui" server capability.
12 years ago
Jonathan Moore Liles
37b881b638
NSM: Add unknown message handler.
12 years ago
Jonathan Moore Liles
0c5a46422a
nsmd: Permit trailing slash in session root.
12 years ago
Jonathan Moore Liles
3b25772788
session-manager: Silence compiler warning.
12 years ago
Jonathan Moore Liles
553db45e8b
NSM: Fix uninitialized value error with client labels.
13 years ago
Jonathan Moore Liles
f279f49b1e
NSM: Don't accept an open command while one is still pending.
13 years ago
Jonathan Moore Liles
272e87cbf8
NSM: Don't clear the 'stopped' status of dumb clients upon save.
13 years ago