- Timestamp:
- 03/09/09 13:50:05 (3 years ago)
- bzr:committer:
- Alberto Botti <alberto.botti@gmail.com>
- bzr:file-ids:
rgc/bindings/Makefile.am makefile.am-20090304125849-94t07i1rdeqfbiz4-2
rgc/bindings/Makefile.in makefile.in-20090304125849-94t07i1rdeqfbiz4-3
rgc/bindings/rgcclient.py rgcclient.py-20090309124804-gv0s9bl7irstjw20-1
rgc/bindings/rgcclientmodule.c rgcclientmodule.c-20090304125849-94t07i1rdeqfbiz4-8
rgc/include/client/rgc_remote_object.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fclient%2Frgc_remote_object.h
rgc/include/connection/dbus dbus-20090309124738-7jqwtsoeh0smey9o-1
rgc/include/connection/dbus/Makefile.am makefile.am-20090309124738-7jqwtsoeh0smey9o-2
rgc/include/connection/dbus/Makefile.in makefile.in-20090309124738-7jqwtsoeh0smey9o-3
rgc/include/connection/dbus/rgc_protocol_dbus_server.h rgc_protocol_dbus_se-20090309124738-7jqwtsoeh0smey9o-4
rgc/include/connection/rgc_protocol_server.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2Frgc_protocol_server.h
rgc/include/server/rgc_object.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fserver%2Frgc_object.h
rgc/m4/python.m4 python.m4-20090309124748-wy3rbsc3plbva03d-1
rgc/src/client/Makefile.am 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fclient%2FMakefile.am
rgc/src/client/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fclient%2FMakefile.in
rgc/src/client/rgc_callback.c rgc_callback.c-20090309124812-al9t3gcqn9mvzizb-1
rgc/src/client/rgc_callback.h rgc_callback.h-20090309124812-al9t3gcqn9mvzizb-2
rgc/src/client/rgc_remote_object.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fclient%2Frgc_remote_object.c
rgc/src/common/rgc_utils.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fcommon%2Frgc_utils.c
rgc/src/common/rgc_utils.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fcommon%2Frgc_utils.h
rgc/src/connection/dbus dbus-20090309124819-kmj94w5bsr24cefl-1
rgc/src/connection/dbus/Makefile.am makefile.am-20090309124819-kmj94w5bsr24cefl-2
rgc/src/connection/dbus/Makefile.in makefile.in-20090309124819-kmj94w5bsr24cefl-3
rgc/src/connection/dbus/rgc_protocol_dbus_server.c rgc_protocol_dbus_se-20090309124819-kmj94w5bsr24cefl-4
rgc/src/connection/dbus/rgc_protocol_dbus_server.h rgc_protocol_dbus_se-20090309124819-kmj94w5bsr24cefl-5
rgc/src/connection/rbp/rbp_message_execute_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frbp_message_execute_server.c
rgc/src/connection/rbp/rgc_protocol_rbp_client.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frgc_protocol_rbp_client.c
rgc/src/connection/rbp/rgc_protocol_rbp_common.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frgc_protocol_rbp_common.c
rgc/src/connection/rbp/rgc_protocol_rbp_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frgc_protocol_rbp_server.c
rgc/src/connection/rgc_connection_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_connection_server.c
rgc/src/connection/rgc_connection_server.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_connection_server.h
rgc/src/connection/rgc_protocol_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_protocol_server.c
rgc/src/connection/rgc_protocol_server.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_protocol_server.h
rgc/src/server/rgc_marshal.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_marshal.c
rgc/src/server/rgc_object.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_object.c
rgc/src/server/rgc_object.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_object.h
rgc/src/server/rgc_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_server.c
rgc/test/Makefile.am 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2FMakefile.am
rgc/test/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2FMakefile.in
rgc/test/check_init.c check_init.c-20090204203613-m3ngse0c6gqkaqk9-1
rgc/test/check_query.c check_query.c-20090309124827-7ebnk01c4gfihigv-1
rgc/test/check_remote_obj.c check_remote_obj.c-20090309124832-uxme781mpafyryoo-1
rgc/test/check_shared.c check_shared.c-20090309124835-bfnjifxjgm826kkp-1
rgc/test/check_shared.h check_shared.h-20090309124839-0d19zdvkqnb38w1g-1
rgc/test/client_query.c client_query.c-20090309124843-p05fbd5jg3mrq963-1
rgc/test/object1.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2Fobject1.c
rgc/tools/rgc_genmarshal.py 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftools%2Frgc_genmarshal.py- bzr:merge:
alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb- bzr:revno:
- 78
- bzr:revprop:branch-nick:
- trunk
- bzr:root:
- trunk
- bzr:text-parents:
rgc/bindings/Makefile.am alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/bindings/Makefile.in alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/bindings/rgcclient.py alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/bindings/rgcclientmodule.c alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/include/client/rgc_remote_object.h alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/include/connection/dbus alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/include/connection/dbus/Makefile.am alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/include/connection/dbus/Makefile.in alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/include/connection/dbus/rgc_protocol_dbus_server.h alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/include/connection/rgc_protocol_server.h alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/include/server/rgc_object.h alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/m4/python.m4 alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/src/client/Makefile.am alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/src/client/Makefile.in alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/src/client/rgc_callback.c alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/src/client/rgc_callback.h alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/src/client/rgc_remote_object.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/src/common/rgc_utils.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/src/common/rgc_utils.h alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/src/connection/dbus alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/src/connection/dbus/Makefile.am alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/src/connection/dbus/Makefile.in alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/src/connection/dbus/rgc_protocol_dbus_server.c alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/src/connection/dbus/rgc_protocol_dbus_server.h alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/src/connection/rbp/rbp_message_execute_server.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/src/connection/rbp/rgc_protocol_rbp_client.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/src/connection/rbp/rgc_protocol_rbp_common.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/src/connection/rbp/rgc_protocol_rbp_server.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/src/connection/rgc_connection_server.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/src/connection/rgc_connection_server.h alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/src/connection/rgc_protocol_server.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/src/connection/rgc_protocol_server.h alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/src/server/rgc_marshal.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/src/server/rgc_object.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/src/server/rgc_object.h alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/src/server/rgc_server.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/test/Makefile.am alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/test/Makefile.in alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/test/check_init.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/test/check_query.c alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/test/check_remote_obj.c alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/test/check_shared.c alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/test/check_shared.h alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/test/client_query.c alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
rgc/test/object1.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
rgc/tools/rgc_genmarshal.py alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6- bzr:timestamp:
- 2009-03-09 13:49:35.346999884 +0100
- Location:
- trunk
- Files:
-
- 18 added
- 29 modified
-
. (modified) (5 props)
-
rgc/bindings/Makefile.am (modified) (1 diff)
-
rgc/bindings/Makefile.in (modified) (1 diff)
-
rgc/bindings/rgcclient.py (added)
-
rgc/bindings/rgcclientmodule.c (modified) (3 diffs)
-
rgc/include/client/rgc_remote_object.h (modified) (3 diffs)
-
rgc/include/connection/dbus (added)
-
rgc/include/connection/dbus/Makefile.am (added)
-
rgc/include/connection/dbus/Makefile.in (added)
-
rgc/include/connection/dbus/rgc_protocol_dbus_server.h (added)
-
rgc/include/connection/rgc_protocol_server.h (modified) (1 diff)
-
rgc/include/server/rgc_object.h (modified) (1 diff)
-
rgc/m4/python.m4 (added)
-
rgc/src/client/Makefile.am (modified) (1 diff)
-
rgc/src/client/Makefile.in (modified) (3 diffs)
-
rgc/src/client/rgc_callback.c (added)
-
rgc/src/client/rgc_callback.h (added)
-
rgc/src/client/rgc_remote_object.c (modified) (3 diffs)
-
rgc/src/common/rgc_utils.c (modified) (2 diffs)
-
rgc/src/common/rgc_utils.h (modified) (1 diff)
-
rgc/src/connection/dbus (added)
-
rgc/src/connection/dbus/Makefile.am (added)
-
rgc/src/connection/dbus/Makefile.in (added)
-
rgc/src/connection/dbus/rgc_protocol_dbus_server.c (added)
-
rgc/src/connection/dbus/rgc_protocol_dbus_server.h (added)
-
rgc/src/connection/rbp/rbp_message_execute_server.c (modified) (1 diff)
-
rgc/src/connection/rbp/rgc_protocol_rbp_client.c (modified) (2 diffs)
-
rgc/src/connection/rbp/rgc_protocol_rbp_common.c (modified) (1 diff)
-
rgc/src/connection/rbp/rgc_protocol_rbp_server.c (modified) (3 diffs)
-
rgc/src/connection/rgc_connection_server.c (modified) (10 diffs)
-
rgc/src/connection/rgc_connection_server.h (modified) (1 diff)
-
rgc/src/connection/rgc_protocol_server.c (modified) (3 diffs)
-
rgc/src/connection/rgc_protocol_server.h (modified) (1 diff)
-
rgc/src/server/rgc_marshal.c (modified) (1 diff)
-
rgc/src/server/rgc_object.c (modified) (5 diffs)
-
rgc/src/server/rgc_object.h (modified) (2 diffs)
-
rgc/src/server/rgc_server.c (modified) (2 diffs)
-
rgc/test/Makefile.am (modified) (3 diffs)
-
rgc/test/Makefile.in (modified) (6 diffs)
-
rgc/test/check_init.c (modified) (5 diffs)
-
rgc/test/check_query.c (added)
-
rgc/test/check_remote_obj.c (added)
-
rgc/test/check_shared.c (added)
-
rgc/test/check_shared.h (added)
-
rgc/test/client_query.c (added)
-
rgc/test/object1.c (modified) (1 diff)
-
rgc/tools/rgc_genmarshal.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property bzr:ancestry:v3-trunk0
-
old new 3 3 alberto.botti@gmail.com-20090204203706-s4k8dta7qo2zk9xr 4 4 alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 5 alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb
-
- Property bzr:file-ids
-
old new 1 fm_gui/src/marlin-window-menu.c 255@45ad373b-3914-0410-8193-a61cc481f39f:trunk:fm_gui%2Fsrc%2Fmarlin-window-menu.c2 fm_server/src/main.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:fm_server%2Fsrc%2Fmain.c3 rgc/Makefile.am 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2FMakefile.am4 rgc/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2FMakefile.in5 rgc/aclocal.m4 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Faclocal.m46 rgc/bindings bindings-20090304125849-94t07i1rdeqfbiz4-17 1 rgc/bindings/Makefile.am makefile.am-20090304125849-94t07i1rdeqfbiz4-2 8 2 rgc/bindings/Makefile.in makefile.in-20090304125849-94t07i1rdeqfbiz4-3 9 rgc/bindings/libpy_rgc_client.la libpy_rgc_client.la-20090304125849-94t07i1rdeqfbiz4-4 10 rgc/bindings/python python-20090304125849-94t07i1rdeqfbiz4-5 11 rgc/bindings/rgcclient_protocol.c rgcclient_protocol.c-20090304125849-94t07i1rdeqfbiz4-6 12 rgc/bindings/rgcclient_protocol.h rgcclient_protocol.h-20090304125849-94t07i1rdeqfbiz4-7 3 rgc/bindings/rgcclient.py rgcclient.py-20090309124804-gv0s9bl7irstjw20-1 13 4 rgc/bindings/rgcclientmodule.c rgcclientmodule.c-20090304125849-94t07i1rdeqfbiz4-8 14 rgc/bindings/works works-20090304125849-94t07i1rdeqfbiz4-9 15 rgc/bindings/works/Makefile.am makefile.am-20090304125849-94t07i1rdeqfbiz4-10 16 rgc/bindings/works/rgcclient_protocol.c rgcclient_protocol.c-20090304125849-94t07i1rdeqfbiz4-11 17 rgc/bindings/works/rgcclient_protocol.h rgcclient_protocol.h-20090304125849-94t07i1rdeqfbiz4-12 18 rgc/bindings/works/rgcclientmodule.c rgcclientmodule.c-20090304125849-94t07i1rdeqfbiz4-13 19 rgc/configure 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fconfigure 20 rgc/configure.ac 215@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fconfigure.ac 21 rgc/include/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2FMakefile.in 22 rgc/include/client/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fclient%2FMakefile.in 23 rgc/include/client/rgc_query.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fclient%2Frgc_query.h 24 rgc/include/common/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fcommon%2FMakefile.in 25 rgc/include/connection/Makefile.am 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2FMakefile.am 26 rgc/include/connection/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2FMakefile.in 27 rgc/include/connection/rbp/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2Frbp%2FMakefile.in 5 rgc/include/client/rgc_remote_object.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fclient%2Frgc_remote_object.h 6 rgc/include/connection/dbus dbus-20090309124738-7jqwtsoeh0smey9o-1 7 rgc/include/connection/dbus/Makefile.am makefile.am-20090309124738-7jqwtsoeh0smey9o-2 8 rgc/include/connection/dbus/Makefile.in makefile.in-20090309124738-7jqwtsoeh0smey9o-3 9 rgc/include/connection/dbus/rgc_protocol_dbus_server.h rgc_protocol_dbus_se-20090309124738-7jqwtsoeh0smey9o-4 28 10 rgc/include/connection/rgc_protocol_server.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fconnection%2Frgc_protocol_server.h 29 rgc/include/ rgc_server.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Frgc_server.h30 rgc/ include/server/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fserver%2FMakefile.in31 rgc/src/ Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2FMakefile.in11 rgc/include/server/rgc_object.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Finclude%2Fserver%2Frgc_object.h 12 rgc/m4/python.m4 python.m4-20090309124748-wy3rbsc3plbva03d-1 13 rgc/src/client/Makefile.am 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fclient%2FMakefile.am 32 14 rgc/src/client/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fclient%2FMakefile.in 33 rgc/src/client/rgc_query.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fclient%2Frgc_query.c 34 rgc/src/common/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fcommon%2FMakefile.in 35 rgc/src/connection/Makefile.am 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2FMakefile.am 36 rgc/src/connection/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2FMakefile.in 37 rgc/src/connection/rbp/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2FMakefile.in 38 rgc/src/connection/rbp/rbp_message.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frbp_message.c 15 rgc/src/client/rgc_callback.c rgc_callback.c-20090309124812-al9t3gcqn9mvzizb-1 16 rgc/src/client/rgc_callback.h rgc_callback.h-20090309124812-al9t3gcqn9mvzizb-2 17 rgc/src/client/rgc_remote_object.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fclient%2Frgc_remote_object.c 18 rgc/src/common/rgc_utils.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fcommon%2Frgc_utils.c 19 rgc/src/common/rgc_utils.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fcommon%2Frgc_utils.h 20 rgc/src/connection/dbus dbus-20090309124819-kmj94w5bsr24cefl-1 21 rgc/src/connection/dbus/Makefile.am makefile.am-20090309124819-kmj94w5bsr24cefl-2 22 rgc/src/connection/dbus/Makefile.in makefile.in-20090309124819-kmj94w5bsr24cefl-3 23 rgc/src/connection/dbus/rgc_protocol_dbus_server.c rgc_protocol_dbus_se-20090309124819-kmj94w5bsr24cefl-4 24 rgc/src/connection/dbus/rgc_protocol_dbus_server.h rgc_protocol_dbus_se-20090309124819-kmj94w5bsr24cefl-5 39 25 rgc/src/connection/rbp/rbp_message_execute_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frbp_message_execute_server.c 40 rgc/src/connection/rbp/rbp_message_lowlevel.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frbp_message_lowlevel.c41 26 rgc/src/connection/rbp/rgc_protocol_rbp_client.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frgc_protocol_rbp_client.c 27 rgc/src/connection/rbp/rgc_protocol_rbp_common.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frgc_protocol_rbp_common.c 42 28 rgc/src/connection/rbp/rgc_protocol_rbp_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frbp%2Frgc_protocol_rbp_server.c 43 rgc/src/connection/rgc_connection_client.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_connection_client.c44 29 rgc/src/connection/rgc_connection_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_connection_server.c 45 30 rgc/src/connection/rgc_connection_server.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_connection_server.h 46 31 rgc/src/connection/rgc_protocol_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_protocol_server.c 47 32 rgc/src/connection/rgc_protocol_server.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fconnection%2Frgc_protocol_server.h 48 rgc/src/server/ Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2FMakefile.in33 rgc/src/server/rgc_marshal.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_marshal.c 49 34 rgc/src/server/rgc_object.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_object.c 35 rgc/src/server/rgc_object.h 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_object.h 36 rgc/src/server/rgc_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Fsrc%2Fserver%2Frgc_server.c 50 37 rgc/test/Makefile.am 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2FMakefile.am 51 38 rgc/test/Makefile.in 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2FMakefile.in 52 rgc/test/new_server.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2Fnew_server.c 39 rgc/test/check_init.c check_init.c-20090204203613-m3ngse0c6gqkaqk9-1 40 rgc/test/check_query.c check_query.c-20090309124827-7ebnk01c4gfihigv-1 41 rgc/test/check_remote_obj.c check_remote_obj.c-20090309124832-uxme781mpafyryoo-1 42 rgc/test/check_shared.c check_shared.c-20090309124835-bfnjifxjgm826kkp-1 43 rgc/test/check_shared.h check_shared.h-20090309124839-0d19zdvkqnb38w1g-1 44 rgc/test/client_query.c client_query.c-20090309124843-p05fbd5jg3mrq963-1 45 rgc/test/object1.c 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftest%2Fobject1.c 46 rgc/tools/rgc_genmarshal.py 210@45ad373b-3914-0410-8193-a61cc481f39f:trunk:rgc%2Ftools%2Frgc_genmarshal.py
-
- Property bzr:revision-id:v3-trunk0
-
old new 4 4 76 alberto.botti@gmail.com-20090218123806-qufqpor0got1ukjt 5 5 77 alberto.botti@gmail.com-20090308115426-ejgls1qm379mhy0n 6 78 alberto.botti@gmail.com-20090309124935-5ism9w2uyk4rv609
-
- Property bzr:revision-info
-
old new 1 timestamp: 2009-03-0 8 12:54:26.543999910+01001 timestamp: 2009-03-09 13:49:35.346999884 +0100 2 2 committer: Alberto Botti <alberto.botti@gmail.com> 3 3 properties:
-
- Property bzr:text-parents
-
old new 1 fm_gui/src/marlin-window-menu.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 2 fm_server/src/main.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 3 rgc/Makefile.am alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 4 rgc/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 5 rgc/aclocal.m4 alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 6 rgc/bindings alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 7 rgc/bindings/Makefile.am alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 8 rgc/bindings/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 9 rgc/bindings/libpy_rgc_client.la alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 10 rgc/bindings/python alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 11 rgc/bindings/rgcclient_protocol.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 12 rgc/bindings/rgcclient_protocol.h alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 13 rgc/bindings/rgcclientmodule.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 14 rgc/bindings/works alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 15 rgc/bindings/works/Makefile.am alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 16 rgc/bindings/works/rgcclient_protocol.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 17 rgc/bindings/works/rgcclient_protocol.h alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 18 rgc/bindings/works/rgcclientmodule.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 19 rgc/configure alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 20 rgc/configure.ac alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 21 rgc/include/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 22 rgc/include/client/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 23 rgc/include/client/rgc_query.h alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 24 rgc/include/common/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 25 rgc/include/connection/Makefile.am alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 26 rgc/include/connection/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 27 rgc/include/connection/rbp/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 28 rgc/include/connection/rgc_protocol_server.h alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 29 rgc/include/rgc_server.h alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 30 rgc/include/server/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 31 rgc/src/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 32 rgc/src/client/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 33 rgc/src/client/rgc_query.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 34 rgc/src/common/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 35 rgc/src/connection/Makefile.am alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 36 rgc/src/connection/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 37 rgc/src/connection/rbp/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 38 rgc/src/connection/rbp/rbp_message.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 39 rgc/src/connection/rbp/rbp_message_execute_server.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 40 rgc/src/connection/rbp/rbp_message_lowlevel.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 41 rgc/src/connection/rbp/rgc_protocol_rbp_client.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 42 rgc/src/connection/rbp/rgc_protocol_rbp_server.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 43 rgc/src/connection/rgc_connection_client.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 44 rgc/src/connection/rgc_connection_server.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 45 rgc/src/connection/rgc_connection_server.h alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 46 rgc/src/connection/rgc_protocol_server.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 47 rgc/src/connection/rgc_protocol_server.h alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 48 rgc/src/server/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 49 rgc/src/server/rgc_object.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 50 rgc/test/Makefile.am alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 51 rgc/test/Makefile.in alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 52 rgc/test/new_server.c alberto.botti@gmail.com-20090304130000-1a9z78agyveb0x12 1 rgc/bindings/Makefile.am alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 2 rgc/bindings/Makefile.in alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 3 rgc/bindings/rgcclient.py alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 4 rgc/bindings/rgcclientmodule.c alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 5 rgc/include/client/rgc_remote_object.h alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 6 rgc/include/connection/dbus alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 7 rgc/include/connection/dbus/Makefile.am alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 8 rgc/include/connection/dbus/Makefile.in alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 9 rgc/include/connection/dbus/rgc_protocol_dbus_server.h alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 10 rgc/include/connection/rgc_protocol_server.h alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 11 rgc/include/server/rgc_object.h alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 12 rgc/m4/python.m4 alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 13 rgc/src/client/Makefile.am alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 14 rgc/src/client/Makefile.in alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 15 rgc/src/client/rgc_callback.c alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 16 rgc/src/client/rgc_callback.h alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 17 rgc/src/client/rgc_remote_object.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 18 rgc/src/common/rgc_utils.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 19 rgc/src/common/rgc_utils.h alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 20 rgc/src/connection/dbus alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 21 rgc/src/connection/dbus/Makefile.am alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 22 rgc/src/connection/dbus/Makefile.in alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 23 rgc/src/connection/dbus/rgc_protocol_dbus_server.c alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 24 rgc/src/connection/dbus/rgc_protocol_dbus_server.h alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 25 rgc/src/connection/rbp/rbp_message_execute_server.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 26 rgc/src/connection/rbp/rgc_protocol_rbp_client.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 27 rgc/src/connection/rbp/rgc_protocol_rbp_common.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 28 rgc/src/connection/rbp/rgc_protocol_rbp_server.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 29 rgc/src/connection/rgc_connection_server.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 30 rgc/src/connection/rgc_connection_server.h alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 31 rgc/src/connection/rgc_protocol_server.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 32 rgc/src/connection/rgc_protocol_server.h alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 33 rgc/src/server/rgc_marshal.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 34 rgc/src/server/rgc_object.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 35 rgc/src/server/rgc_object.h alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 36 rgc/src/server/rgc_server.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 37 rgc/test/Makefile.am alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 38 rgc/test/Makefile.in alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 39 rgc/test/check_init.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 40 rgc/test/check_query.c alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 41 rgc/test/check_remote_obj.c alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 42 rgc/test/check_shared.c alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 43 rgc/test/check_shared.h alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 44 rgc/test/client_query.c alberto.botti@gmail.com-20090309124852-c9237byuwhf5xhtb 45 rgc/test/object1.c alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6 46 rgc/tools/rgc_genmarshal.py alberto.botti@gmail.com-20090306143652-vce6aj4qhdsnato6
-
- Property bzr:ancestry:v3-trunk0
-
trunk/rgc/bindings/Makefile.am
r285 r286 15 15 rgcclient_la_SOURCES = \ 16 16 rgcclientmodule.c \ 17 rgcclient module.h\18 rgcclient_protocol. c17 rgcclient_protocol.c \ 18 rgcclient_protocol.h 19 19 20 20 -
trunk/rgc/bindings/Makefile.in
r285 r286 257 257 rgcclient_la_SOURCES = \ 258 258 rgcclientmodule.c \ 259 rgcclient module.h\260 rgcclient_protocol. c259 rgcclient_protocol.c \ 260 rgcclient_protocol.h 261 261 262 262 all: all-am -
trunk/rgc/bindings/rgcclientmodule.c
r285 r286 1 #if 02 3 #include "rgcclient_protocol.h"4 5 extern PyTypeObject rgcclient_RbpClientType;6 7 8 9 DL_EXPORT(void)10 initrgcclient(void)11 {12 PyObject *m, *d;13 14 m = Py_InitModule3 ("rgcclient", RgcMethods, "RGC client Python wrapper");15 d = PyModule_GetDict (m);16 17 // py_rgc_client_register_classes (d);18 19 // py_poppler_add_constants(m, "POPPLER_");20 21 // PyModule_AddObject(m, "pyrgcclient_version", NULL);22 /* Py_BuildValue("iii",23 PYPOPPLER_MAJOR_VERSION,24 PYPOPPLER_MINOR_VERSION,25 PYPOPPLER_MICRO_VERSION));*/26 27 Py_INCREF(&rgcclient_RbpClientType);28 PyModule_AddObject(m, "RbpClient", (PyObject *)&rgcclient_RbpClientType);29 30 if (PyErr_Occurred ()) {31 Py_FatalError ("can't initialise module rgcclient");32 }33 }34 #endif35 36 37 38 1 #include <Python.h> 39 2 #include <structmember.h> … … 79 42 g_print ("Got object PyRgcProtocolRbpClientType %p\n", py_obj); 80 43 81 PyRgcProtocolRbpClient * py_prot = (PyRgcProtocolRbpClient *) py_obj;44 PyRgcProtocolRbpClient *py_prot = (PyRgcProtocolRbpClient *) py_obj; 82 45 83 46 if (!py_prot || !(py_prot->prot)) … … 89 52 } 90 53 54 55 /*static PyObject * 56 rgcclient_server_info (PyObject *self) 57 { 58 59 return Py_BuildValue (""); 60 }*/ 91 61 92 62 -
trunk/rgc/include/client/rgc_remote_object.h
r3 r286 12 12 gpointer user_data); 13 13 14 typedef void (*RgcRemoteObjectNotifyFunc) (RgcRemoteObject *obj, 15 const gchar *name, 16 GValue *value, 17 gpointer user_data); 14 18 15 RgcRemoteObject * 19 20 /*RgcRemoteObject * 16 21 rgc_remote_object_new (const gchar *class_name, 17 22 const gchar *obj_name, … … 30 35 guint property_n, 31 36 gchar **properties, 32 GValueArray *array); 37 GValueArray *array);*/ 33 38 34 39 … … 99 104 guint parameter_n, 100 105 GValueArray *parameters); 106 107 void 108 rgc_remote_object_property_changed_notify (RgcRemoteObject *rgc_obj, 109 const gchar *property_name, 110 RgcRemoteObjectNotifyFunc callback, 111 gpointer user_data); -
trunk/rgc/include/connection/rgc_protocol_server.h
r285 r286 31 31 GValueArray *values); 32 32 33 void (*send_info) (RgcProtocolServer *prot, 33 void (*property_changed) (RgcProtocolServer *prot, 34 const gchar *obj_name, 35 const gchar *property_name, 36 GValue *value); 37 38 void (*send_info) (RgcProtocolServer *prot, 34 39 const gchar *obj_name, 35 40 const gchar *info_type, -
trunk/rgc/include/server/rgc_object.h
r98 r286 12 12 rgc_object_get_name (GObject *obj); 13 13 14 GObject * 15 rgc_object_get_from_name (const gchar *obj_name); 16 14 17 #define G_OBJ_NAME(x) (rgc_object_get_name(G_OBJECT(obj))) -
trunk/rgc/src/client/Makefile.am
r214 r286 12 12 rgc_client_cmd.c\ 13 13 rgc_marshal_cb.c\ 14 rgc_callback.c \ 15 rgc_callback.h \ 14 16 rgc_remote_object.c\ 15 17 rgc_remote_object.h\ -
trunk/rgc/src/client/Makefile.in
r285 r286 54 54 librgc_client_only_la_DEPENDENCIES = 55 55 am_librgc_client_only_la_OBJECTS = rgc_client.lo rgc_client_cmd.lo \ 56 rgc_marshal_cb.lo rgc_ remote_object.lo rgc_remote_signal.lo \57 rgc_ query.lo rgc_info.lo56 rgc_marshal_cb.lo rgc_callback.lo rgc_remote_object.lo \ 57 rgc_remote_signal.lo rgc_query.lo rgc_info.lo 58 58 librgc_client_only_la_OBJECTS = $(am_librgc_client_only_la_OBJECTS) 59 59 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) … … 242 242 rgc_client_cmd.c\ 243 243 rgc_marshal_cb.c\ 244 rgc_callback.c \ 245 rgc_callback.h \ 244 246 rgc_remote_object.c\ 245 247 rgc_remote_object.h\ … … 305 307 -rm -f *.tab.c 306 308 309 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rgc_callback.Plo@am__quote@ 307 310 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rgc_client.Plo@am__quote@ 308 311 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rgc_client_cmd.Plo@am__quote@ -
trunk/rgc/src/client/rgc_remote_object.c
r152 r286 84 84 85 85 86 RgcRemoteObject *86 /*RgcRemoteObject * 87 87 rgc_remote_object_new (const gchar *class_name, 88 88 const gchar *obj_name, … … 144 144 145 145 return rgc_obj; 146 } 146 }*/ 147 147 148 148 … … 347 347 return FALSE; 348 348 } 349 350 351 static void 352 rgc_remote_object_notify_cb (RgcRemoteObject *obj, 353 GValueArray *array, 354 gpointer cb_data, 355 RgcCbMarshal c_marshaller, 356 GCallback callback, 357 gpointer user_data) 358 { 359 RgcRemoteObjectNotifyFunc cb = (RgcRemoteObjectNotifyFunc) cb_data; // ehm... 360 361 const gchar *server_name = g_value_get_string (g_value_array_get_nth (array, 0)); 362 363 (*cb) (obj, server_name, g_value_array_get_nth (array, 1), user_data); 364 } 365 366 367 void 368 rgc_remote_object_property_changed_notify (RgcRemoteObject *rgc_obj, 369 const gchar *property_name, 370 RgcRemoteObjectNotifyFunc callback, 371 gpointer user_data) 372 { 373 rgc_info_append_cb (rgc_obj, "_NOTIFY", rgc_remote_object_notify_cb, callback, NULL, NULL, user_data); 374 } -
trunk/rgc/src/common/rgc_utils.c
r136 r286 2 2 #include <glib-object.h> 3 3 #include <stdlib.h> 4 #include <string.h> 5 #include <ctype.h> 4 6 5 7 inline GValue * … … 134 136 { 135 137 } 138 139 140 #define BYTES_FOR_LINE 16 141 void 142 rgc_dump_binary (gpointer buffer, 143 gsize len) 144 { 145 unsigned char *buf = (unsigned char *) buffer; 146 g_print ("Dump for %p, len %lu\n", buffer, len); 147 guint i = 0; 148 149 char ascii_buf[BYTES_FOR_LINE + 1]; 150 151 memset (ascii_buf, 0, sizeof (ascii_buf)); 152 153 while (i < len) { 154 g_print ("%02x ", buf[i]); 155 156 if (isprint (buf[i])) 157 ascii_buf[i % BYTES_FOR_LINE] = buf[i]; 158 else 159 ascii_buf[i % BYTES_FOR_LINE] = '.'; 160 i++; 161 162 if (i % BYTES_FOR_LINE == 0) { 163 g_print (" %s\n", ascii_buf); 164 memset (ascii_buf, 0, sizeof (ascii_buf)); 165 } 166 } 167 if (i % BYTES_FOR_LINE != 0) { 168 gchar *fill = g_strnfill ((BYTES_FOR_LINE - (i % BYTES_FOR_LINE)) * 3, ' '); 169 g_print ("%s %s", fill, ascii_buf); 170 g_free (fill); 171 g_print ("\n"); 172 } 173 } -
trunk/rgc/src/common/rgc_utils.h
r3 r286 26 26 g_value_create_from_string (gchar *string, 27 27 GType type); 28 29 void 30 rgc_dump_binary (gpointer buffer, 31 gsize len); -
trunk/rgc/src/connection/rbp/rbp_message_execute_server.c
r285 r286 40 40 gpointer data) 41 41 { 42 //g_print(">>> %s\n", rbp_message_to_string (mess));42 g_print(">>> %s\n", rbp_message_to_string (mess)); 43 43 44 44 switch (mess->type) { -
trunk/rgc/src/connection/rbp/rgc_protocol_rbp_client.c
r285 r286 24 24 #include "../rgc_protocol_client.h" 25 25 #include "rbp_message.h" 26 #include "rbp_message_string.h" 26 27 #include "rbp_message_execute_client.h" 27 28 #include "rgc_protocol_rbp_common.h" 29 #include "../../common/rgc_utils.h" 28 30 29 31 … … 350 352 GError *error = NULL; 351 353 354 g_print ("<<< %s\n", rbp_message_to_string (mess)); 355 352 356 GIOStatus status; 353 357 354 358 rbp_message_write (mess, &mem, &size); 359 360 // rgc_dump_binary (mem, size); 355 361 356 362 status = g_io_channel_write_chars (priv->channel, mem, size, &written, &error); -
trunk/rgc/src/connection/rbp/rgc_protocol_rbp_common.c
r283 r286 23 23 gpointer data) 24 24 { 25 //g_print ("input!\n");25 //g_print ("input!\n"); 26 26 GIOStatus status; 27 27 GError *error = NULL; -
trunk/rgc/src/connection/rbp/rgc_protocol_rbp_server.c
r285 r286 83 83 guint parameters_n, 84 84 GValueArray *values); 85 86 static void 87 rgc_protocol_rbp_server_property_changed (RgcProtocolServer *prot, 88 const gchar *obj_name, 89 const gchar *property_name, 90 GValue *value); 85 91 86 92 static void … … 166 172 server_class->stop = rgc_protocol_rbp_server_stop; 167 173 server_class->send_signal = rgc_protocol_rbp_server_send_signal; 174 server_class->property_changed = rgc_protocol_rbp_server_property_changed; 168 175 server_class->send_info = rgc_protocol_rbp_server_send_info; 169 176 server_class->register_object = rgc_protocol_rbp_server_register_object; … … 492 499 493 500 static void 501 rgc_protocol_rbp_server_property_changed (RgcProtocolServer *prot, 502 const gchar *obj_name, 503 const gchar *property_name, 504 GValue *value) 505 { 506 GValueArray *array = g_value_array_new (2); 507 GValue *val1 = g_value_init_string (g_strdup (property_name)); 508 array = g_value_array_append(array, val1); 509 array = g_value_array_append(array, value); 510 511 RbpMessage *mess = (RbpMessage *) rbp_message_info_create (obj_name, "_NOTIFY", 2, array); 512 513 g_debug("server_property_changed... "); 514 515 rgc_protocol_rbp_server_send_message (RGC_PROTOCOL_RBP_SERVER (prot), mess); 516 rbp_message_destroy (mess); 517 } 518 519 520 static void 494 521 rgc_protocol_rbp_server_send_info (RgcProtocolServer *prot, 495 522 const gchar *obj_name, -
trunk/rgc/src/connection/rgc_connection_server.c
r285 r286 20 20 static GList *protocol_list = NULL; 21 21 22 /* FIXME: move these */ 23 extern gchar *_rgc_server_name; 24 extern gchar *_rgc_server_desc; 25 22 26 23 27 gboolean … … 107 111 g_assert (klass); 108 112 109 110 111 while (temp) { 112 prot = RGC_PROTOCOL_SERVER(temp->data); 113 rgc_protocol_server_register_object(prot, obj, obj_name, class_name, requested_name); 114 temp = g_list_next(temp); 113 while (temp) { 114 prot = RGC_PROTOCOL_SERVER (temp->data); 115 rgc_protocol_server_register_object (prot, obj, obj_name, class_name, requested_name); 116 temp = g_list_next (temp); 115 117 } 116 118 } … … 146 148 147 149 148 149 150 void 150 151 rgc_connection_server_send_signal (const gchar *obj_name, … … 157 158 158 159 while (temp) { 159 prot = RGC_PROTOCOL_SERVER (temp->data);160 rgc_protocol_server_send_signal (prot, obj_name, signal_name,160 prot = RGC_PROTOCOL_SERVER (temp->data); 161 rgc_protocol_server_send_signal (prot, obj_name, signal_name, 161 162 n_parameters, values); 162 temp = g_list_next(temp); 163 } 163 temp = temp->next; 164 } 165 } 166 167 168 void 169 rgc_connection_server_property_changed (const gchar *obj_name, 170 const gchar *property_name, 171 GValue *value) 172 { 173 GList *temp = protocol_list; 174 RgcProtocolServer *prot; 175 176 while (temp) { 177 prot = RGC_PROTOCOL_SERVER (temp->data); 178 rgc_protocol_server_property_changed (prot, obj_name, property_name, value); 179 temp = temp->next; 180 } 164 181 } 165 182 … … 178 195 rgc_protocol_server_send_info(prot, obj_name, info_type, 179 196 n_values, values); 180 temp = g_list_next(temp);197 temp = temp->next; 181 198 } 182 199 } … … 233 250 GValueArray *array) 234 251 { 235 GObject *obj = rgc_object_ lookup_by_name(obj_name);252 GObject *obj = rgc_object_get_from_name (obj_name); 236 253 g_return_if_fail(obj); 237 254 g_return_if_fail(G_IS_OBJECT(obj)); … … 266 283 GValueArray *values) 267 284 { 268 GObject *obj = rgc_object_ lookup_by_name (obj_name);269 g_return_if_fail (obj);270 g_return_if_fail (G_IS_OBJECT(obj));285 GObject *obj = rgc_object_get_from_name (obj_name); 286 g_return_if_fail (obj); 287 g_return_if_fail (G_IS_OBJECT (obj)); 271 288 272 289 guint i; 273 290 for (i = 0; i < n_properties; i++) { 274 g_object_set_property (obj, properties[i], g_value_array_get_nth(values, i));275 g_debug ("Set property \"%s\" on object \"%s\"\n", properties[i], obj_name);291 g_object_set_property (obj, properties[i], g_value_array_get_nth (values, i)); 292 g_debug ("Set property \"%s\" on object \"%s\"\n", properties[i], obj_name); 276 293 } 277 294 } … … 283 300 const gchar *about) 284 301 { 285 g_return_if_fail (obj_name);286 g_return_if_fail (query_type);287 g_return_if_fail (about);302 g_return_if_fail (obj_name); 303 g_return_if_fail (query_type); 304 g_return_if_fail (about); 288 305 289 306 if (strcmp(obj_name, "_RGC_INTERNAL") == 0) { … … 292 309 //rgc_info_server_info() // ????????????? 293 310 294 GValue *name = g_value_init_string ("SERVER_NAME!"); 295 GValue *desc = g_value_init_string ("SERVER_DESC!"); 311 GValue *name = g_new0 (GValue, 1); 312 GValue *desc = g_new0 (GValue, 1); 313 name = g_value_init (name, G_TYPE_STRING); 314 desc = g_value_init (desc, G_TYPE_STRING); 315 g_value_set_string (name, _rgc_server_name); 316 g_value_set_string (desc, _rgc_server_desc); 317 296 318 GValueArray *arr = g_value_array_new (2); 297 319 arr = g_value_array_append (arr, name); … … 300 322 rgc_connection_server_send_info ("_RGC_INTERNAL", "QUERY_SERVER_INFO", 301 323 arr->n_values, arr); 324 325 g_value_unset (name); 326 g_value_unset (desc); 302 327 303 328 -
trunk/rgc/src/connection/rgc_connection_server.h
r285 r286 30 30 guint n_parameters, 31 31 GValueArray *values); 32 33 void 34 rgc_connection_server_property_changed (const gchar *obj_name, 35 const gchar *property_name, 36 GValue *value); 32 37 33 38 void -
trunk/rgc/src/connection/rgc_protocol_server.c
r285 r286 52 52 klass->stop = NULL; 53 53 klass->send_signal = NULL; 54 klass->property_changed = NULL; 54 55 klass->register_object = NULL; 55 56 klass->unregister_object = NULL; … … 99 100 { 100 101 RgcProtocolServerClass *klass = RGC_PROTOCOL_SERVER_GET_CLASS (prot); 101 g_return_if_fail (RGC_IS_PROTOCOL_SERVER(prot));102 g_return_if_fail (RGC_IS_PROTOCOL_SERVER (prot)); 102 103 103 104 if (klass->send_signal) … … 105 106 else 106 107 g_warning("class->send_signal undefined!"); 108 } 109 110 111 void 112 rgc_protocol_server_property_changed (RgcProtocolServer *prot, 113 const gchar *obj_name, 114 const gchar *property_name, 115 GValue *value) 116 { 117 RgcProtocolServerClass *klass = RGC_PROTOCOL_SERVER_GET_CLASS (prot); 118 g_return_if_fail (RGC_IS_PROTOCOL_SERVER (prot)); 119 120 if (klass->property_changed) 121 (*klass->property_changed) (prot, obj_name, property_name, value); 122 else 123 g_warning("class->property_changed undefined!"); 107 124 } 108 125 -
trunk/rgc/src/connection/rgc_protocol_server.h
r285 r286 16 16 GValueArray *values); 17 17 18 void 19 rgc_protocol_server_property_changed (RgcProtocolServer *prot, 20 const gchar *obj_name, 21 const gchar *property_name, 22 GValue *value); 18 23 19 24 void -
trunk/rgc/src/server/rgc_marshal.c
r282 r286 2 2 3 3 #include "../../include/server/rgc_marshal.h" 4 #include "../../include/server/rgc_object.h" 4 5 #include "rgc_signal.h" 5 6 #include "rgc_object.h" -
trunk/rgc/src/server/rgc_object.c
r285 r286 108 108 109 109 110 static void 111 rgc_object_notify_cb (GObject *obj, 112 GParamSpec *pspec, 113 gpointer user_data) 114 { 115 const gchar *obj_name = rgc_object_get_name (obj); 116 g_return_if_fail (obj_name); 117 118 g_print ("rgc_object_notify_cb!\n"); 119 120 GValue *val = g_new0 (GValue, 1); 121 g_value_init (val, pspec->value_type); 122 g_object_get_property (obj, pspec->name, val); 123 124 rgc_connection_server_property_changed (obj_name, pspec->name, val); 125 126 g_value_unset (val); 127 } 128 129 110 130 GObject * 111 131 rgc_object_new_from_type (const gchar *obj_name, … … 153 173 154 174 *real_name = proposed_name; 175 176 guint n_properties = 0, i; 177 GParamSpec **pspec = g_object_class_list_properties (G_OBJECT_GET_CLASS (obj), &n_properties); 178 for (i = 0; i < n_properties; i++) { 179 gchar *sig_det = g_strdup_printf ("notify::%s", pspec[i]->name); 180 g_print ("Registering notify callback for %s\n", sig_det); 181 182 // TODO: keep track of id 183 g_signal_connect_after (G_OBJECT (obj), sig_det, G_CALLBACK (rgc_object_notify_cb), NULL); 184 g_free (sig_det); 185 } 186 g_free (pspec); 155 187 156 188 return obj; … … 183 215 g_return_val_if_fail (obj_name, FALSE); 184 216 185 GObject *obj = rgc_object_ lookup_by_name (obj_name);217 GObject *obj = rgc_object_get_from_name (obj_name); 186 218 g_return_val_if_fail (G_IS_OBJECT (obj), FALSE); 187 219 … … 198 230 g_return_val_if_fail (obj_name, FALSE); 199 231 200 GObject *obj = rgc_object_ lookup_by_name (obj_name);232 GObject *obj = rgc_object_get_from_name (obj_name); 201 233 g_return_val_if_fail (G_IS_OBJECT (obj), FALSE); 202 234 … … 209 241 210 242 GObject * 211 rgc_object_ lookup_by_name (const gchar *obj_name)243 rgc_object_get_from_name (const gchar *obj_name) 212 244 { 213 245 g_return_val_if_fail (obj_name, NULL); -
trunk/rgc/src/server/rgc_object.h
r283 r286 26 26 27 27 28 #define g_marshal_value_peek_object(x) rgc_object_ lookup_by_name(g_marshal_value_peek_string(x))28 #define g_marshal_value_peek_object(x) rgc_object_get_from_name(g_marshal_value_peek_string(x)) 29 29 30 30 … … 66 66 67 67 // private 68 GObject *69 rgc_object_lookup_by_name (const gchar *obj_name); 68 /*GObject * 69 rgc_object_lookup_by_name (const gchar *obj_name);*/ 70 70 71 71 // private -
trunk/rgc/src/server/rgc_server.c
r283 r286 16 16 17 17 18 static gchar *_rgc_server_name = NULL; 18 gchar *_rgc_server_name = NULL; 19 gchar *_rgc_server_desc = NULL; 19 20 20 21 … … 30 31 31 32 _rgc_server_name = g_strdup (server_name); 33 _rgc_server_desc = g_strdup_printf ("%s's server", server_name); 32 34 33 35 rgc_class_init (); -
trunk/rgc/test/Makefile.am
r285 r286 7 7 perf_test \ 8 8 client_query \ 9 check_init 9 check_init \ 10 check_remote_obj \ 11 check_query 10 12 11 13 … … 47 49 48 50 49 TESTS = check_init 51 52 TESTS = check_init check_remote_obj check_query 53 50 54 51 55 check_init_SOURCES = \ 52 56 object1.c \ 53 57 object1.h \ 58 check_shared.c \ 59 check_shared.h \ 54 60 check_init.c 55 61 … … 62 68 63 69 70 check_remote_obj_SOURCES = \ 71 object1.c \ 72 object1.h \ 73 check_shared.c \ 74 check_shared.h \ 75 check_remote_obj.c 76 77 check_remote_obj_LDADD = \ 78 ../src/librgc_server.la \ 79 ../src/librgc_client.la \ 80 @RGC_TEST_LIBS@ \ 81 @CHECK_LIBS@ \ 82 @GNET_LIBS@ 83 84 check_query_SOURCES = \ 85 object1.c \ 86 object1.h \ 87 check_shared.c \ 88 check_shared.h \ 89 check_query.c 90 91 check_query_LDADD = \ 92 ../src/librgc_server.la \ 93 ../src/librgc_client.la \ 94 @RGC_TEST_LIBS@ \ 95 @CHECK_LIBS@ \ 96 @GNET_LIBS@ 97 98 99 100 64 101 EXTRA_DIST = \ 65 102 run_test.py \ -
trunk/rgc/test/Makefile.in
r285 r286 34 34 host_triplet = @host@ 35 35 noinst_PROGRAMS = new_server$(EXEEXT) new_client_async$(EXEEXT) \ 36 perf_test$(EXEEXT) client_query$(EXEEXT) check_init$(EXEEXT) 37 TESTS = check_init$(EXEEXT) 36 perf_test$(EXEEXT) client_query$(EXEEXT) check_init$(EXEEXT) \ 37 check_remote_obj$(EXEEXT) check_query$(EXEEXT) 38 TESTS = check_init$(EXEEXT) check_remote_obj$(EXEEXT) \ 39 check_query$(EXEEXT) 38 40 subdir = test 39 41 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in … … 55 57 CONFIG_CLEAN_FILES = 56 58 PROGRAMS = $(noinst_PROGRAMS) 57 am_check_init_OBJECTS = object1.$(OBJEXT) check_init.$(OBJEXT) 59 am_check_init_OBJECTS = object1.$(OBJEXT) check_shared.$(OBJEXT) \ 60 check_init.$(OBJEXT) 58 61 check_init_OBJECTS = $(am_check_init_OBJECTS) 59 62 check_init_DEPENDENCIES = ../src/librgc_server.la \ 63 ../src/librgc_client.la 64 am_check_query_OBJECTS = object1.$(OBJEXT) check_shared.$(OBJEXT) \ 65 check_query.$(OBJEXT) 66 check_query_OBJECTS = $(am_check_query_OBJECTS) 67 check_query_DEPENDENCIES = ../src/librgc_server.la \ 68 ../src/librgc_client.la 69 am_check_remote_obj_OBJECTS = object1.$(OBJEXT) check_shared.$(OBJEXT) \ 70 check_remote_obj.$(OBJEXT) 71 check_remote_obj_OBJECTS = $(am_check_remote_obj_OBJECTS) 72 check_remote_obj_DEPENDENCIES = ../src/librgc_server.la \ 60 73 ../src/librgc_client.la 61 74 am_client_query_OBJECTS = client_query.$(OBJEXT) … … 83 96 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ 84 97 $(LDFLAGS) -o $@ 85 SOURCES = $(check_init_SOURCES) $(client_query_SOURCES) \ 98 SOURCES = $(check_init_SOURCES) $(check_query_SOURCES) \ 99 $(check_remote_obj_SOURCES) $(client_query_SOURCES) \ 86 100 $(new_client_async_SOURCES) $(new_server_SOURCES) \ 87 101 $(perf_test_SOURCES) 88 DIST_SOURCES = $(check_init_SOURCES) $(client_query_SOURCES) \ 102 DIST_SOURCES = $(check_init_SOURCES) $(check_query_SOURCES) \ 103 $(check_remote_obj_SOURCES) $(client_query_SOURCES) \ 89 104 $(new_client_async_SOURCES) $(new_server_SOURCES) \ 90 105 $(perf_test_SOURCES) … … 291 306 object1.c \ 292 307 object1.h \ 308 check_shared.c \ 309 check_shared.h \ 293 310 check_init.c 294 311 295 312 check_init_LDADD = \ 313 ../src/librgc_server.la \ 314 ../src/librgc_client.la \ 315 @RGC_TEST_LIBS@ \ 316 @CHECK_LIBS@ \ 317 @GNET_LIBS@ 318 319 check_remote_obj_SOURCES = \ 320 object1.c \ 321 object1.h \ 322 check_shared.c \ 323 check_shared.h \ 324 check_remote_obj.c 325 326 check_remote_obj_LDADD = \ 327 ../src/librgc_server.la \ 328 ../src/librgc_client.la \ 329 @RGC_TEST_LIBS@ \ 330 @CHECK_LIBS@ \ 331 @GNET_LIBS@ 332 333 check_query_SOURCES = \ 334 object1.c \ 335 object1.h \ 336 check_shared.c \ 337 check_shared.h \ 338 check_query.c 339 340 check_query_LDADD = \ 296 341 ../src/librgc_server.la \ 297 342 ../src/librgc_client.la \ … … 349 394 @rm -f check_init$(EXEEXT) 350 395 $(LINK) $(check_init_OBJECTS) $(check_init_LDADD) $(LIBS) 396 check_query$(EXEEXT): $(check_query_OBJECTS) $(check_query_DEPENDENCIES) 397 @rm -f check_query$(EXEEXT) 398 $(LINK) $(check_query_OBJECTS) $(check_query_LDADD) $(LIBS) 399 check_remote_obj$(EXEEXT): $(check_remote_obj_OBJECTS) $(check_remote_obj_DEPENDENCIES) 400 @rm -f check_remote_obj$(EXEEXT) 401 $(LINK) $(check_remote_obj_OBJECTS) $(check_remote_obj_LDADD) $(LIBS) 351 402 client_query$(EXEEXT): $(client_query_OBJECTS) $(client_query_DEPENDENCIES) 352 403 @rm -f client_query$(EXEEXT) … … 369 420 370 421 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/check_init.Po@am__quote@ 422 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/check_query.Po@am__quote@ 423 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/check_remote_obj.Po@am__quote@ 424 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/check_shared.Po@am__quote@ 371 425 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client_query.Po@am__quote@ 372 426 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/new_client_async.Po@am__quote@ -
trunk/rgc/test/check_init.c
r283 r286 2 2 #include <glib-object.h> 3 3 4 #include <gnet.h> 4 #include <stdlib.h> 5 #include <check.h> 5 6 6 7 #include "../include/rgc_server.h" … … 8 9 9 10 #include "object1.h" 11 #include "check_shared.h" 10 12 11 #include <stdlib.h>12 #include <check.h>13 14 GMainLoop *server_main_loop;15 GThread *server_thread;16 17 #define N_OBJECTS 5018 guint obj_n = 0;19 20 21 gboolean22 clean_out (gpointer data)23 {24 GMainLoop *main_loop = (GMainLoop*) data;25 g_print ("exiting main loop...\n");26 g_main_loop_quit (main_loop);27 28 return FALSE;29 }30 31 32 gpointer33 server_start_thread (gpointer data)34 {35 server_main_loop = g_main_loop_new (NULL, FALSE);36 g_main_loop_run (server_main_loop);37 g_print ("Server main loop terminated\n");38 39 return NULL;40 }41 42 void43 server_init (void)44 {45 GError *err = NULL;46 47 g_print ("1\n");48 gboolean server_init = rgc_server_init ("test_server");49 g_print ("+++ %d %d +++\n", server_init, TRUE);50 g_print ("2\n");51 fail_unless (server_init != FALSE);52 53 RgcProtocolServer *prot_rbp = rgc_protocol_rbp_server_new (7784);54 fail_unless (prot_rbp != NULL);55 56 rgc_connection_server_add_protocol (prot_rbp);57 58 gboolean obj1_init = object1_class_register ();59 fail_unless (obj1_init != FALSE);60 61 server_thread = g_thread_create (server_start_thread, NULL, TRUE, &err);62 63 }64 65 66 void67 server_shutdown (void)68 {69 g_print ("g_main_loop_quit\n");70 g_main_loop_quit (server_main_loop);71 g_print ("rgc_server_shutdown\n");72 rgc_server_shutdown ();73 }74 75 76 void77 client_init (void)78 {79 gboolean client_init = rgc_client_init ();80 fail_unless (client_init != FALSE);81 82 RgcProtocolClient *prot_rbp = rgc_protocol_rbp_client_new ("localhost", 7784);83 fail_unless (prot_rbp != NULL);84 85 rgc_connection_client_set_protocol (prot_rbp);86 }87 88 89 void90 client_shutdown (void)91 {92 rgc_client_shutdown ();93 }94 95 96 void97 obj_cb (RgcRemoteObject *obj,98 gpointer data)99 {100 obj_n++;101 if (obj_n == N_OBJECTS) {102 g_print ("Got it!\n");103 server_shutdown ();104 }105 }106 107 108 void109 client_create_objs (void)110 {111 g_print("\nLet's create %d objects...\n\n", N_OBJECTS);112 guint i;113 for (i = 0; i < N_OBJECTS; i++) {114 rgc_remote_object_new_async (obj_cb, NULL, "Object1", "my_object", NULL);115 }116 }117 13 118 14 … … 128 24 129 25 130 START_TEST (test_create_objects)131 {132 g_print ("********* starting test 2 *************\n");133 134 server_init ();135 client_init ();136 137 client_create_objs ();138 139 g_thread_join (server_thread);140 141 client_shutdown ();142 //server_shutdown (); // called by obj_cb143 }144 END_TEST145 146 147 148 26 Suite * 149 27 check_init_suite (void) … … 154 32 TCase *tc_core = tcase_create ("Basic"); 155 33 tcase_add_test (tc_core, test_init); 156 tcase_add_test (tc_core, test_create_objects); 157 g_print ("%p\n", test_create_objects); 34 /*tcase_add_test (tc_core, test_create_objects);*/ 158 35 tcase_set_timeout (tc_core, 5); 159 36 suite_add_tcase (s, tc_core); … … 161 38 return s; 162 39 } 163 164 40 165 41 -
trunk/rgc/test/object1.c
r283 r286 195 195 g_assert (IS_OBJECT1 (obj)); 196 196 g_return_if_fail ((gain > 0) && (gain < 10)); 197 obj->gain = gain; 197 198 // g_print ("%s: called \"set_gain\", %f\n", G_OBJ_NAME(obj), gain); 198 199 } -
trunk/rgc/tools/rgc_genmarshal.py
r283 r286 132 132 print "" 133 133 print "#include \"../../include/server/rgc_marshal.h\"" 134 print "#include \"../../include/server/rgc_object.h\"" 134 135 print "#include \"rgc_signal.h\"" 135 136 print "#include \"rgc_object.h\""
