Commit Graph

2297 Commits

Author SHA1 Message Date
Nedko Arnaudov ec711f4925 Move lash icons
Eventually patchage and lash icons will get merged
Until then, lets keep them at same place.
2009-07-20 04:23:51 +03:00
Nedko Arnaudov 7ae75d02aa Build gladish 2009-07-20 03:29:45 +03:00
Nedko Arnaudov 2f8b34f091 Merge commit 'patchage/ladish'
Conflicts:
	.gitignore
2009-07-20 01:42:59 +03:00
Nedko Arnaudov 14970afe8a Move to subdir (surrender before ladish gate) 2009-07-20 01:36:58 +03:00
Nedko Arnaudov 23defd631c Fix boost signals (portability) 2009-07-20 01:33:49 +03:00
Nedko Arnaudov f03cc60ad2 Use define for dbus name/path 2009-07-13 02:34:32 +03:00
Nedko Arnaudov 87bea07447 Install D-Bus service file 2009-07-13 02:18:06 +03:00
Nedko Arnaudov 983c28234b Small fixes for compat liblash
* library versioning is required by liblash apps
 * liblash needs to be compiled with DEBUG_OUTPUT_TERMINAL
   because it needs to use printf() and not lash_log()
2009-07-13 01:55:41 +03:00
Nedko Arnaudov 5d7f71d453 Fix defines and git version fetch 2009-07-13 01:44:43 +03:00
Nedko Arnaudov 3b5d8a0549 Remove the obsolete list.h 2009-07-13 01:14:51 +03:00
Nedko Arnaudov 6a0355ab05 Remove more autohell traces 2009-07-13 01:12:11 +03:00
Nedko Arnaudov 1e63ba92bb Remove autohell traces 2009-07-13 01:08:55 +03:00
Nedko Arnaudov 2825eb5abb Adjust AUTHORS 2009-07-13 01:00:18 +03:00
Nedko Arnaudov 177197f8ca tabs->spaces 2009-07-13 00:15:44 +03:00
Nedko Arnaudov 416f43a612 waf buildable compat liblash 2009-07-12 23:56:05 +03:00
Nedko Arnaudov d364193985 waf buildable daemon 2009-07-12 22:56:19 +03:00
Nedko Arnaudov d1d3807512 add waf configure checks and summary print 2009-07-12 17:33:52 +03:00
Nedko Arnaudov 5a5b69e233 Basic wscript 2009-07-12 15:11:14 +03:00
Nedko Arnaudov 5877daffe0 Improve directory layout 2009-07-12 15:05:55 +03:00
Nedko Arnaudov 9175804c2f Remove obsolete files 2009-07-12 14:51:23 +03:00
Nedko Arnaudov 37bae0048f Big cleanup (remove libjack dependency) 2009-07-12 14:43:42 +03:00
Nedko Arnaudov 280edc81ea Big cleanup (remove gtk dependency) 2009-07-12 14:32:48 +03:00
Nedko Arnaudov 62df09f73f Big cleanup (remove alsa)
Also removed:
 * clients (they use old api)
 * docs (obsolete)
 * dtd (new project format will evolve)
2009-07-12 14:25:08 +03:00
Nedko Arnaudov 64ada636f8 Add log dump 2009-05-26 05:34:24 +03:00
Nedko Arnaudov fcdb8c0ac9 Remove use of JACK_CLIENT_PID_OVERRIDE hack
If shell script launcher is used by child,
We require that it will reuse the process.
This is already true for ardour2 launcher script.
2009-05-26 03:27:11 +03:00
Nedko Arnaudov b433cb0570 support for liblash-less clients 2009-05-24 22:19:57 +03:00
Nedko Arnaudov 0d7d4cead9 Improve lashd_jackdbus_mgr_bind_client() readability
* use _ptr suffix
 * we have different client structs, so client -> jack_client_ptr
2009-05-24 12:08:05 +03:00
Nedko Arnaudov 514394feed Ignore JACK clients without pid (internal clients) 2009-05-24 11:56:39 +03:00
Nedko Arnaudov 5693cdadbf Fix printf-like format call 2009-05-24 11:34:18 +03:00
Nedko Arnaudov 5d4938eece procfs helper functions
We need these so we can create lash clients for liblash-less jack clients
2009-05-24 01:47:40 +03:00
Nedko Arnaudov de300f563b Fix more warnings
main.c: In function 'term_handler':
main.c:54: warning: implicit declaration of function 'strsignal'

client.c: In function 'client_parse_xml':
client.c:248: warning: implicit declaration of function 'strcmp'

dbus_service.c: In function 'lashd_client_disconnect_handler':
dbus_service.c:107: warning: implicit declaration of function 'strcmp'
2009-05-24 01:13:14 +03:00
Nedko Arnaudov b03d2ae41f Fix warnings
dbus_service.c: In function 'lash_dbus_service_connect_handler':
dbus_service.c:98: warning: implicit declaration of function 'lash_strset'

project.c: In function 'project_unload':
project.c:1131: warning: unused variable 'next2'
project.c:1131: warning: unused variable 'node2'

save_button.c:21:1: error: "_GNU_SOURCE" redefined
<command-line>: error: this is the location of the previous definition

main.c:21:1: error: "_GNU_SOURCE" redefined
<command-line>: error: this is the location of the previous definition

synth.c:8:1: error: "_GNU_SOURCE" redefined
<command-line>: error: this is the location of the previous definition

interface.c:25:1: error: "_GNU_SOURCE" redefined
<command-line>: error: this is the location of the previous definition

lash.c:21:1: error: "_GNU_SOURCE" redefined
<command-line>: error: this is the location of the previous definition
2009-05-24 01:02:02 +03:00
Nedko Arnaudov 5073dea9d9 Improve code readibility: client_t -> struct lash_client
We have clients of different kinds, jack, alsa and lash.
2009-05-24 00:13:55 +03:00
Nedko Arnaudov a39033b695 Fix one more warning
server.c: In function 'server_add_client':
server.c:503: warning: assignment makes pointer from integer without a cast
2009-05-24 00:05:29 +03:00
Nedko Arnaudov 8f696e9e55 Fix warnings
server.c: In function `server_create_new_project_name':
server.c:331: warning: incompatible implicit declaration of built-in function `strlen'
server.c:337: warning: incompatible implicit declaration of built-in function `strcpy'
2009-05-23 23:59:15 +03:00
Nedko Arnaudov 8ba7d03f0e Improve handling of jack server state
* Don't try to get graph if JACK server is stopped
 * Get unknown clients when JACK server start is detected
 * Clear graph when JACK server stop is detected
2009-05-23 23:13:32 +03:00
Nedko Arnaudov ff6d49873a Fix help string of configure options 2009-05-23 20:01:30 +03:00
Nedko Arnaudov 68c8b61d7a gitignore file to hide files generated by autohell 2009-05-23 19:23:54 +03:00
Nedko Arnaudov a809352efa Fix build without alsa support 2009-05-23 19:15:15 +03:00
Juuso Alasuutari 1a73a4929a Use client flag LASH_Restored to tell the client whether it's being restored.
The flag is set by lashd when a restoring client makes first contact. This
commit ends the short-lived appearance of the long-as-f*** environment
variable LASH_CLIENT_IS_BEING_RESTORED.
(Added value: lash_client_is_being_restored() actually works now!)
2009-02-21 05:54:33 +02:00
Juuso Alasuutari 2ecc25bf3c lashd: Fix theoretical possibility for overflow in loader. 2009-02-19 23:26:47 +02:00
Juuso Alasuutari e2dcb5ab1d liblash: Fix idiotic bug from previous commit. 2009-02-19 00:08:02 +02:00
Juuso Alasuutari c9260db74a Add working lash_client_is_being_restored() to the new client API.
This function allows the client to query whether it was started by lashd
for the purpose of restoring it as part of a project. It does so by checking
if the env var named LASH_CLIENT_IS_BEING_RESTORED is set to the client's PID.
2009-02-18 23:48:00 +02:00
Juuso Alasuutari c46917bba1 lash: Add missing includes to client_interface_new.h. 2009-02-18 23:43:08 +02:00
Juuso Alasuutari 2e5c403d0e liblash: Remove remaining references to the LASH_CLIENT_AUTOLAUNCH_ID env var. 2009-02-18 23:23:19 +02:00
Juuso Alasuutari e71e4cac4c liblash: Add lash_client_is_being_restored() stub. 2009-02-18 22:49:46 +02:00
Juuso Alasuutari f74034d7c8 clients/shell: Print 'LASH Shell' instead of 'LASH Control' for program name. 2009-02-18 17:07:01 +02:00
Juuso Alasuutari 45c5c24c9c clients/shell: Switch to the new controller API.
So far only the basic stuff works, save for LASH_Client_Remove commands
for which support hasn't been implemented in lashd yet. Also, the internal
logic of lash_shell needs a closer look.
2009-02-18 17:02:40 +02:00
Juuso Alasuutari 943fa4fb21 lashd: Make Progress signal sending behavior more consistent.
- When a task commences always send Progress signal with value 0.
	- When a task finishes always send Progress signal with value 100.
	- Never send Progress signal of 0 or 100 during a task's lifetime.

In the past these signals weren't behaving consistently for Save and Load tasks.
Also, a Progress signal with value 0 signified both the beginning and end of a
task, leaving it up to the controller application to decipher which is which.
This is now fixed and apps can rely on 0 meaning 'go' and 100 meaning 'done'.
2009-02-18 16:31:22 +02:00
Juuso Alasuutari 6e564d8eaf lashd: When failing to create unique client name fall back to using an empty string. 2009-02-12 00:21:02 +02:00