gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-27


From: Pawel Kot
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-274-g9ba3038
Date: Sun, 10 Jul 2011 12:27:20 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".

The branch, master has been updated
       via  9ba30383f7c8d66dd24d3a1593a36c2f25df3606 (commit)
       via  45e32aee1a4a3521dffa5944c5e7589c31e57f43 (commit)
       via  116a12a98f00000b257ca3ac8d2ecd7aecaa56b8 (commit)
      from  dba2bd21c5bde1578cc713f759bb20271ca2fa4f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=9ba30383f7c8d66dd24d3a1593a36c2f25df3606


commit 9ba30383f7c8d66dd24d3a1593a36c2f25df3606
Author: Pawel Kot <address@hidden>
Date:   Sun Jul 10 14:23:10 2011 +0200

    Support for compressed messages is not implemented yet.

diff --git a/ChangeLog b/ChangeLog
index cd758a9..8501aad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -24,6 +24,8 @@
       X-SIP;POC and X-WV-ID                         (Daniele Forsi)
     o make the vcard reader handle also empty fields in N and in
       ADR (like in addresses without a PO Box)      (Daniele Forsi)
+    o support for compressed messages is not implemented yet
+                                                        (Paweł Kot)
  * nk6510 driver updates
     o fix calendar handling issues (few off-by-ones)    (Paweł Kot)
     o implement deletecalendarnote for series40 3rd+ Ed (Paweł Kot)
diff --git a/common/gsm-sms.c b/common/gsm-sms.c
index 03f210e..9905435 100644
--- a/common/gsm-sms.c
+++ b/common/gsm-sms.c
@@ -432,9 +432,14 @@ static gn_error sms_data_decode(unsigned char *message, 
unsigned char *output, u
                                 unsigned int size, unsigned int udhlen, 
gn_sms_dcs dcs)
 {
        /* Unicode */
+       if (dcs.type & 0x20) {
+               dprintf("Compressed message\n");
+               return GN_ERR_NOTIMPLEMENTED;
+       }
+       dprintf("%02x %02x %02x %02x %02x %02x %02x %02x\n", message[0], 
message[1], message[2], message[3], message[4], message[5], message[6], 
message[7]);
        if ((dcs.type & 0x08) == 0x08) {
                dprintf("Unicode message\n");
-               char_unicode_decode(output, message, length);
+               char_unicode_decode(output, message, 2 * length);
        } else {
                /* 8bit SMS */
                if ((dcs.type & 0xf4) == 0xf4) {

http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=45e32aee1a4a3521dffa5944c5e7589c31e57f43


commit 9ba30383f7c8d66dd24d3a1593a36c2f25df3606
Author: Pawel Kot <address@hidden>
Date:   Sun Jul 10 14:23:10 2011 +0200

    Support for compressed messages is not implemented yet.

diff --git a/ChangeLog b/ChangeLog
index cd758a9..8501aad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -24,6 +24,8 @@
       X-SIP;POC and X-WV-ID                         (Daniele Forsi)
     o make the vcard reader handle also empty fields in N and in
       ADR (like in addresses without a PO Box)      (Daniele Forsi)
+    o support for compressed messages is not implemented yet
+                                                        (Paweł Kot)
  * nk6510 driver updates
     o fix calendar handling issues (few off-by-ones)    (Paweł Kot)
     o implement deletecalendarnote for series40 3rd+ Ed (Paweł Kot)
diff --git a/common/gsm-sms.c b/common/gsm-sms.c
index 03f210e..9905435 100644
--- a/common/gsm-sms.c
+++ b/common/gsm-sms.c
@@ -432,9 +432,14 @@ static gn_error sms_data_decode(unsigned char *message, 
unsigned char *output, u
                                 unsigned int size, unsigned int udhlen, 
gn_sms_dcs dcs)
 {
        /* Unicode */
+       if (dcs.type & 0x20) {
+               dprintf("Compressed message\n");
+               return GN_ERR_NOTIMPLEMENTED;
+       }
+       dprintf("%02x %02x %02x %02x %02x %02x %02x %02x\n", message[0], 
message[1], message[2], message[3], message[4], message[5], message[6], 
message[7]);
        if ((dcs.type & 0x08) == 0x08) {
                dprintf("Unicode message\n");
-               char_unicode_decode(output, message, length);
+               char_unicode_decode(output, message, 2 * length);
        } else {
                /* 8bit SMS */
                if ((dcs.type & 0xf4) == 0xf4) {

http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=116a12a98f00000b257ca3ac8d2ecd7aecaa56b8


commit 9ba30383f7c8d66dd24d3a1593a36c2f25df3606
Author: Pawel Kot <address@hidden>
Date:   Sun Jul 10 14:23:10 2011 +0200

    Support for compressed messages is not implemented yet.

diff --git a/ChangeLog b/ChangeLog
index cd758a9..8501aad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -24,6 +24,8 @@
       X-SIP;POC and X-WV-ID                         (Daniele Forsi)
     o make the vcard reader handle also empty fields in N and in
       ADR (like in addresses without a PO Box)      (Daniele Forsi)
+    o support for compressed messages is not implemented yet
+                                                        (Paweł Kot)
  * nk6510 driver updates
     o fix calendar handling issues (few off-by-ones)    (Paweł Kot)
     o implement deletecalendarnote for series40 3rd+ Ed (Paweł Kot)
diff --git a/common/gsm-sms.c b/common/gsm-sms.c
index 03f210e..9905435 100644
--- a/common/gsm-sms.c
+++ b/common/gsm-sms.c
@@ -432,9 +432,14 @@ static gn_error sms_data_decode(unsigned char *message, 
unsigned char *output, u
                                 unsigned int size, unsigned int udhlen, 
gn_sms_dcs dcs)
 {
        /* Unicode */
+       if (dcs.type & 0x20) {
+               dprintf("Compressed message\n");
+               return GN_ERR_NOTIMPLEMENTED;
+       }
+       dprintf("%02x %02x %02x %02x %02x %02x %02x %02x\n", message[0], 
message[1], message[2], message[3], message[4], message[5], message[6], 
message[7]);
        if ((dcs.type & 0x08) == 0x08) {
                dprintf("Unicode message\n");
-               char_unicode_decode(output, message, length);
+               char_unicode_decode(output, message, 2 * length);
        } else {
                /* 8bit SMS */
                if ((dcs.type & 0xf4) == 0xf4) {

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    7 ++++++-
 common/gsm-sms.c      |    7 ++++++-
 common/phones/atgen.c |    4 ++--
 common/phones/atsam.c |   13 +++++--------
 4 files changed, 19 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]