1. 19 Jun, 2017 2 commits
    • Slava Monich's avatar
    • Slava Monich's avatar
      [mms-lib] Workaround for broken MMS proxy IP address. JB#38990 · d0bf187e
      Slava Monich authored
      Some operators provide IP address of the MMS proxy
      prepending zeros to each number shorter then 3 digits,
      e.g. "192.168.094.023" instead of "192.168.94.23".
      That may look nicer but it's actually wrong because
      the numbers starting with zeros are interpreted as
      octal numbers. In the example above 023 actually means
      16 and 094 is not a valid number at all.
      
      In addition to publishing these broken settings on their
      web sites, some of the operators send them over the air,
      in which case we can't even blame the user for entering
      an invalid IP address. We better be prepared to deal with
      those.
      
      Since nobody in the world seems to be actually using the
      octal notation to write an IP address, let's remove the
      leading zeros if we find them in the host part of the MMS
      proxy URL.
      d0bf187e
  2. 30 Jan, 2017 3 commits
  3. 27 Jan, 2017 1 commit
  4. 26 Jan, 2017 2 commits
  5. 10 Jan, 2017 2 commits
  6. 18 Oct, 2016 2 commits
  7. 17 Oct, 2016 4 commits
  8. 30 Sep, 2016 2 commits
    • Slava Monich's avatar
      Version 1.0.53 · 2d9cc759
      Slava Monich authored
      2d9cc759
    • Slava Monich's avatar
      Merge branch 'config' into 'master' · d12b9a57
      Slava Monich authored
      Make default settings configurable
      
      Defaults for things like user agent and UAProfile should be modifiable
      with /etc/mms-engine.conf file installed by the hardware adaptation
      package. Config file name can also be specified from the command line.
      
      See merge request !12
      d12b9a57
  9. 29 Sep, 2016 3 commits
  10. 31 Jul, 2016 1 commit
  11. 21 Jul, 2016 2 commits
  12. 13 Jul, 2016 2 commits
  13. 07 Jul, 2016 2 commits
  14. 06 Jul, 2016 1 commit
  15. 01 May, 2016 2 commits
  16. 14 Apr, 2016 3 commits
  17. 04 Apr, 2016 1 commit
  18. 02 Apr, 2016 1 commit
  19. 16 Mar, 2016 1 commit
  20. 15 Mar, 2016 2 commits
    • Slava Monich's avatar
      Version 1.0.47 · abbcb550
      Slava Monich authored
      abbcb550
    • Slava Monich's avatar
      Merge branch 'progress' into 'master' · 884da772
      Slava Monich authored
      Transfer progress API
      
      Intended for the Messages app, so that it can show MMS
      send/receive progress.
      
      D-Bus interface for the list of transfers goes like this:
      
      <interface name="org.nemomobile.MmsEngine.TransferList">
          <method name="Get">
              <arg name="list" type="ao" direction="out"/>
          </method>
          <signal name="TransferStarted">
              <arg name="path" type="o"/>
          </signal>
          <signal name="TransferFinished">
              <arg name="path" type="o"/>
          </signal>
      </interface>
      
      D-Bus interface for individual transfers (identified by path):
      
      <interface name="org.nemomobile.MmsEngine.Transfer">
          <method name="GetAll">
              <arg name="version" type="u" direction="out"/>
              <arg name="bytes_sent" type="u" direction="out"/>
              <arg name="bytes_to_send" type="u" direction="out"/>
              <arg name="bytes_received" type="u" direction="out"/>
              <arg name="bytes_to_receive" type="u" direction="out"/>
          </method>
          <method name="EnableUpdates">
              <!-- 1 - send, 2 - receive, 3 - both -->
              <arg name="flags" type="u" direction="in"/>
              <arg name="cookie" type="u" direction="out"/>
          </method>
          <method name="DisableUpdates">
              <arg name="cookie" type="u" direction="in"/>
          </method>
          <method name="GetInterfaceVersion">
              <arg name="version" type="u" direction="out"/>
          </method>
          <method name="GetSendProgress">
              <arg name="bytes_sent" type="u" direction="out"/>
              <arg name="bytes_to_send" type="u" direction="out"/>
          </method>
          <method name="GetReceiveProgress">
              <arg name="bytes_received" type="u" direction="out"/>
              <arg name="bytes_to_receive" type="u" direction="out"/>
          </method>
          <signal name="SendProgressChanged">
              <arg name="bytes_sent" type="u"/>
              <arg name="bytes_to_send" type="u"/>
          </signal>
          <signal name="ReceiveProgressChanged">
              <arg name="bytes_received" type="u"/>
              <arg name="bytes_to_receive" type="u"/>
          </signal>
          <signal name="Finished"/>
      </interface>
      
      Progress signals are not emitted unless there's at least one
      D-Bus client expressed an interest by calling EnableUpdates
      with appropriate flags. Request for updates can be revoked
      with DisableUpdates. This complicates things a bit but I think
      it's worth the trouble.
      
      See merge request !9
      884da772
  21. 13 Mar, 2016 1 commit