Merge branch 'tizen_9.0 version 2.3.6' into tizen_8.0 96/324996/2 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20250602.170543
authorjusung son <jusung07.son@samsung.com>
Fri, 30 May 2025 02:06:55 +0000 (11:06 +0900)
committerjusung son <jusung07.son@samsung.com>
Fri, 30 May 2025 07:50:46 +0000 (16:50 +0900)
Change-Id: I674b7c4643c72b7ed3a2df89963fd665b5ec15fa
Signed-off-by: jusung son <jusung07.son@samsung.com>
21 files changed:
1  2 
README.md
idlc/gen/version2/c_stub_body_generator_cb.hh
package/pkginfo.manifest
packaging/tidl.spec
release/windows-32/tidlc.exe
release/windows-64/tidlc.exe
tests/build_tests/CMakeLists.txt
tests/build_tests/main.cc
tests/build_tests/tidl/Buffer.tidl
tests/build_tests/tidl/Buffer_v2.tidl
tests/build_tests/tidl/DataPort.tidl
tests/build_tests/tidl/DataPort_v2.tidl
tests/build_tests/tidl/Ex.tidl
tests/build_tests/tidl/ExCion.tidl
tests/build_tests/tidl/Ex_v2.tidl
tests/build_tests/tidl/Foo.tidl
tests/build_tests/tidl/Foo_v2.tidl
tests/build_tests/tidl/Message.tidl
tests/build_tests/tidl/Message_v2.tidl
tests/build_tests/tidl/Message_v2test.tidl
tests/build_tests/tidl/Struct_v2.tidl

diff --cc README.md
index 7ec13aa2bd48560e7fe684a3d5a2ac46050601d7,a61eeb7fe81fb1ed7110c172a60affdf3212fcc1..4185f77db36339d27e995a15581b8ce631d0a148
+++ b/README.md
@@@ -1141,7 -1144,125 +1141,6 @@@ namespace Prox
  }
  ```
  
 -**Rust**
 -```Rust
 -pub struct RemoteException {
 -    pub cause: i32,
 -    pub message: String,
 -}
 -
 -impl RemoteException {
 -    pub fn new() -> Self;
 -    pub fn with_message(message: &str) -> Self;
 -    pub fn with_cause_and_message(cause: i32, message: &str) -> Self;
 -    pub fn get_cause(&self) -> i32;
 -    pub fn get_message(&self) -> &String;
 -}
 -
 -pub mod message_base {
 -    pub struct MessageBase {
 -        pub id: i32,
 -        pub name: String,
 -        pub msg: String,
 -    }
 -}
 -
 -pub mod message_derived {
 -    pub struct MessageDerived {
 -        pub id: i32,
 -        pub name: String,
 -        pub msg: String,
 -        pub address: String,
 -    }
 -}
 -
 -pub mod message {
 -    pub struct OnReceived<'a> {
 -        base: DelegateBase,
 -        callback: Box<dyn Fn(String, message_base::MessageBase) + Send + 'a>
 -    }
 -
 -    impl<'b> OnReceived<'b> {
 -        pub fn new(once: bool) -> OnReceived<'b>;
 -        pub fn on_received<F>(&mut self, handler: F) where F: Fn(String, message_base::MessageBase) + Send + 'b;
 -    }
 -
 -    pub struct Message<'a> {
 -        proxy: Arc<Mutex<Proxy<'a>>>,
 -        delegate_list: Vec<Box<dyn Delegate + Send + 'a>>,
 -    }
 -
 -    impl<'b> Message<'b> {
 -        /// <summary>
 -        /// Constructor for this struct
 -        /// </summary>
 -        pub fn new() -> Arc<Mutex<Message<'b>>>;
 -
 -        /// <summary>
 -        /// Connects to the service app.
 -        /// </summary>
 -        /// <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
 -        /// <privilege>http://tizen.org/privilege/datasharing</privilege>
 -        /// <param name="appid">The service app ID to connect</param>
 -        /// <exception cref="InvalidParameter">
 -        /// Returns when the appid to connect is invalid.
 -        /// </exception>
 -        /// <exception cref="IoError">
 -        /// Returns when internal I/O error happen.
 -        /// </exception>
 -        /// <exception cref="PermissionDenied">
 -        /// Returns when the permission is denied.
 -        /// </exception>
 -        /// <remark> If you want to use this method, you must add privileges.</remark>
 -        pub fn try_connect(&self, appid: &str) -> Result<(), ErrorId>;
 -
 -
 -        /// <summary>
 -        /// Connects to the service app synchornously.
 -        /// </summary>
 -        /// <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
 -        /// <privilege>http://tizen.org/privilege/datasharing</privilege>
 -        /// <param name="appid">The service app ID to connect</param>
 -        /// <exception cref="InvalidParameter">
 -        /// Returns when the appid to connect is invalid.
 -        /// </exception>
 -        /// <exception cref="IoError">
 -        /// Returns when internal I/O error happen.
 -        /// </exception>
 -        /// <exception cref="PermissionDenied">
 -        /// Returns when the permission is denied.
 -        /// </exception>
 -        /// <remark> If you want to use this method, you must add privileges.</remark>
 -        pub fn try_connect_sync(&self, appid: &str) -> Result<(), ErrorId>;
 -
 -
 -        /// <summary>
 -        /// This method will be invoked when the client app is connected to the service app.
 -        /// </summary>
 -        /// <param name="handler">The handler to be invoked when the client app is connected</param>
 -        pub fn on_connected<F>(&mut self, handler: F) where F: Fn(&str, &str, Port) + 'b;
 -
 -        /// <summary>
 -        /// This method will be invoked after the client app was disconnected from the service app.
 -        /// </summary>
 -        /// <param name="handler">The handler to be invoked when the client app is disconnected</param>
 -        pub fn on_disconnected<F>(&mut self, handler: F) where F: Fn(&str, &str) + 'b;
 -
 -        /// <summary>
 -        /// This method will be invoked when the service app rejects the client app.
 -        /// </summary>
 -        /// <param name="handler">The handler to be invoked when the service app rejects the client app</param>
 -        pub fn on_rejected<F>(&mut self, handler: F) where F: Fn(&str, &str) + 'b;
 -
 -        pub fn register(&mut self, sender: String, callback: OnReceived<'b>) -> Result<i32, Exception>;
 -
 -        pub fn unregister(&mut self, ) -> Result<(), Exception>;
 -
 -        pub fn send(&mut self, message: message_base::MessageBase) -> Result<i32, Exception>;
 -    }
 -}
 -```
--
  <a name="stub-interface-1"></a>
  #### Stub interface
  
index 86a6631407566615a7d44686d9f5b890f69d499b,66039fe68fbb90c1dac4ddcd4e369fba52d02d03..ecdb1c86260ae2725f6755ebcb4ffc870250f548
@@@ -1447,6 -1448,6 +1448,9 @@@ static int __<PREFIX>_<NAME>_received_e
    rpc_port_parcel_destroy(parcel);
  #endif /* TIDL_THREAD_ENABLE */
  
++  if (ret == RPC_PORT_ERROR_PERMISSION_DENIED)
++    return RPC_PORT_ERROR_NONE;
++
    return ret;
  }
  
index fa436cbd79317b9059ec2a2eb40380cc011e7913,e26f0cc6a069a261855adf67de0d4bef393a62bc..8700e12d47102a56f2fd7de778357e3693d413d0
@@@ -1,4 -1,4 +1,4 @@@
- Version:2.0.13
 -Version:2.3.5
++Version:2.3.6
  Source:tidlc
  Maintainer:JungHoon Park <jh9216.park@samsung.com>, Hwankyu Jhun <h.jhun@samsung.com>, Inkyun Kil <inkyun.kil@samsung.com>, Ju-Sung Son <jusung07.son@samsung.com>, Hyunho Kang <hhstark.kang@samsung.com>
  
index 608cb9bb3ff4ed35396de57d3ea20c9912008115,6740039dd20d20a06c867b3fbc022e6a2ccc3f1d..2d31ab10f09ae2815cbdb205a12eada88fa481a4
@@@ -1,6 -1,6 +1,6 @@@
  Name:       tidl
  Summary:    Tizen Interface Definition Language
- Version:    2.0.13
 -Version:    2.3.5
++Version:    2.3.6
  Release:    1
  Group:      Application Framework/Building
  License:    Apache-2.0
index 5e67339496322a708b8b8e05c4928d7fcff9c1fa,1b605f208c8d99036f956aebb73658c537e1fd74..23113ee1cb48932360dd0beed3b2595135586be0
Binary files differ
index 3e59b64548543da1cff2ace2c9d38f6a6e88bdd9,d6b8f2f656aafcdc4a2c263ab3c331cd68811c2a..fae8ec27611c15c4c44b27257f6738c9db54c56e
Binary files differ
index 8d9fe6a71649fe7448e8fa0e7a59be064528bf4d,0000000000000000000000000000000000000000..8d9fe6a71649fe7448e8fa0e7a59be064528bf4d
mode 100644,000000..100755
--- /dev/null
index f24580cf88914f7aca181d499917f85873532519,0000000000000000000000000000000000000000..f24580cf88914f7aca181d499917f85873532519
mode 100644,000000..100755
--- /dev/null
index c1525baa823c183b3c705e06784a0ec10ada96c4,0000000000000000000000000000000000000000..c1525baa823c183b3c705e06784a0ec10ada96c4
mode 100644,000000..100755
--- /dev/null
index 0bb313821f652278f16ee6235b3b43c2193e0b06,0000000000000000000000000000000000000000..0bb313821f652278f16ee6235b3b43c2193e0b06
mode 100644,000000..100755
--- /dev/null
index 643d66d34c4ad9663ca181d5133fafad148a65dc,0000000000000000000000000000000000000000..643d66d34c4ad9663ca181d5133fafad148a65dc
mode 100644,000000..100755
--- /dev/null
index 7d7116291a3c27783309f70b421f14e49783c088,0000000000000000000000000000000000000000..7d7116291a3c27783309f70b421f14e49783c088
mode 100644,000000..100755
--- /dev/null
index 6ef073338ae7f0f0c46c92eae893751089f2b6fc,0000000000000000000000000000000000000000..6ef073338ae7f0f0c46c92eae893751089f2b6fc
mode 100644,000000..100755
--- /dev/null
index d3401db64085220677261b2cfc8122f1da5d76af,0000000000000000000000000000000000000000..d3401db64085220677261b2cfc8122f1da5d76af
mode 100644,000000..100755
--- /dev/null
index a05e9a0e04e08e65990dafb7474a78c84741142c,0000000000000000000000000000000000000000..a05e9a0e04e08e65990dafb7474a78c84741142c
mode 100644,000000..100755
--- /dev/null
index 03ac041e5508d5dc71ceee54049559dc3715775f,0000000000000000000000000000000000000000..03ac041e5508d5dc71ceee54049559dc3715775f
mode 100644,000000..100755
--- /dev/null
index 145f2a56c1f03b09a538c26f8d40b419c6604814,0000000000000000000000000000000000000000..145f2a56c1f03b09a538c26f8d40b419c6604814
mode 100644,000000..100755
--- /dev/null
index 28f45adcbbb21532c87e206fdbc70b5984fe1c35,0000000000000000000000000000000000000000..28f45adcbbb21532c87e206fdbc70b5984fe1c35
mode 100644,000000..100755
--- /dev/null
index 1db26ca86a40967a7fcb0c47a49e17f692abc7fd,0000000000000000000000000000000000000000..5026a2bb19f4835a18a527056d84f2612e5a6ab7
mode 100644,000000..100755
--- /dev/null
@@@ -1,38 -1,0 +1,38 @@@
-   set<double> double_set;
 +protocol 2
 +
 +struct Envelope {
 +  enum peer {
 +    client,
 +    server
 +  }
 +
 +  map<string, int> string_map;
++  set<int> int_set;
 +  list<string> string_list;
 +  array<bundle> bundle_array;
 +}
 +
 +struct BeginEnvelope : Envelope {
 +  Envelope.peer peer_info;
 +  string message;
 +}
 +
 +struct EndEnvelope : Envelope {
 +  Envelope.peer peer_info;
 +  string message;
 +}
 +
 +struct DerivedEnvelope : BeginEnvelope {
 +  int id;
 +}
 +
 +interface Message {
 +  void NotifyCB(string sender, string msg) delegate;
 +
 +  int Register(string name, NotifyCB cb);
 +  void Unregister() async;
 +  int Send(string msg);
 +  [privilege = "http://tizen.org/privilege/alarm.set"]
 +  int SendEnvelope(string name, map<string, Envelope> envelope_map);
 +  int SendEnvelopeType(string name, Envelope envelope);
 +}
index c313632966b078b04c877c8aab942d621cc3c4f4,0000000000000000000000000000000000000000..c313632966b078b04c877c8aab942d621cc3c4f4
mode 100644,000000..100755
--- /dev/null
index 3aacc54e96c03babf57d69dab3267058d740af42,0000000000000000000000000000000000000000..e0d66a6f7ebf1e0df0a90919b9460db3b8feb7b8
mode 100755,000000..100755
--- /dev/null
@@@ -1,9 -1,0 +1,9 @@@
-   set<double> double_set;
 +protocol 2
 +
 +struct Envelope {
 +  map<string, int> string_map;
++  set<int> int_set;
 +  list<string> string_list;
 +  array<bundle> bundle_array;
 +}
 +