Skip to content
Snippets Groups Projects
  1. Apr 09, 2015
    • Matthew Jordan's avatar
      clang compiler warnings: Fix autological comparisons · ea009872
      Matthew Jordan authored
      This fixes autological comparison warnings in the following:
       * chan_skinny: letohl may return a signed or unsigned value, depending on the
         macro chosen
       * func_curl: Provide a specific cast to CURLoption to prevent mismatch
       * cel: Fix enum comparisons where the enum can never be negative
       * enum: Fix comparison of return result of dn_expand, which returns a signed
         int value
       * event: Fix enum comparisons where the enum can never be negative
       * indications: tone_data.freq1 and freq2 are unsigned, and hence can never be
         negative
       * presencestate: Use the actual enum value for INVALID state
       * security_events: Fix enum comparisons where the enum can never be negative
       * udptl: Don't bother to check if the return value from encode_length is less
         than 0, as it returns an unsigned int
       * translate: Since the parameters are unsigned int, don't bother checking
         to see if they are negative. The cast to unsigned int would already blow
         past the matrix bounds.
       * res_pjsip_exten_state: Use a temporary value to cache the return of
         ast_hint_presence_state
       * res_stasis_playback: Fix enum comparisons where the enum can never be
         negative
       * res_stasis_recording: Add an enum value for the case where the recording
         operation is in error; fix enum comparisons
       * resource_bridges: Use enum value as opposed to -1
       * resource_channels: Use enum value as opposed to -1
      
      Review: https://reviewboard.asterisk.org/r/4533
      ASTERISK-24917
      Reported by: dkdegroot
      patches:
        rb4533.patch submitted by dkdegroot (License 6600)
      ........
      
      Merged revisions 434469 from http://svn.asterisk.org/svn/asterisk/branches/11
      ........
      
      Merged revisions 434470 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      ea009872
  2. Apr 07, 2015
  3. Mar 28, 2015
  4. Mar 23, 2015
  5. Mar 19, 2015
    • Matthew Jordan's avatar
      funcs/func_env: Fix regression caused in FILE read operation · 627cc16a
      Matthew Jordan authored
      When r432935 was merged, it did correctly fix a situation where a FILE read
      operation on the middle of a file buffer would not read the requested length
      in the parameters passed to the FILE function. Unfortunately, it would also
      allow the FILE function to append more bytes than what was available in the
      buffer if the length exceeded the end of the buffer length.
      
      This patch takes the minimum of the remaining bytes in the buffer along with
      the calculated length to append provided by the original patch, and uses
      that as the length to append in the return result. This patch also updates
      the unit tests with the scenarios that were originally pointed out in
      ASTERISK-21765 that the original implementation treated incorrectly.
      
      ASTERISK-21765
      ........
      
      Merged revisions 433173 from http://svn.asterisk.org/svn/asterisk/branches/11
      ........
      
      Merged revisions 433174 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@433175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      627cc16a
  6. Mar 14, 2015
  7. Jan 28, 2015
  8. Jan 26, 2015
    • David M. Lee's avatar
      Various fixes for OS X · 965777cc
      David M. Lee authored
      This patch addresses compilation errors on OS X. It's been a while, so
      there's quite a few things.
      
       * Fixed __attribute__ decls in route.h to be portable.
       * Fixed htonll and ntohll to work when they are defined as macros.
       * Replaced sem_t usage with our ast_sem wrapper.
       * Added ast_sem_timedwait to our ast_sem wrapper.
       * Fixed some GCC 4.9 warnings using sig*set() functions.
       * Fixed some format strings for portability.
       * Fixed compilation issues with res_timing_kqueue (although tests still fail
         on OS X).
       * Fixed menuconfig /sbin/launchd detection, which disables res_timing_kqueue
         on OS X).
      
      ASTERISK-24539 #close
      Reported by: George Joseph
      
      ASTERISK-24544 #close
      Reported by: George Joseph
      
      Review: https://reviewboard.asterisk.org/r/4327/
      ........
      
      Merged revisions 431092 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@431093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      965777cc
  9. Jan 23, 2015
  10. Jan 20, 2015
  11. Jan 12, 2015
  12. Jan 07, 2015
  13. Jan 05, 2015
  14. Nov 20, 2014
  15. Nov 04, 2014
  16. Oct 28, 2014
  17. Oct 03, 2014
  18. Sep 26, 2014
  19. Sep 09, 2014
  20. Sep 05, 2014
    • Richard Mudgett's avatar
      func_channel.c: Add missing locking to some CHANNEL() requests. · 025bd1bf
      Richard Mudgett authored
      * The CHANNEL() audionativeformat, videonativeformat, audioreadformat, and
      audiowriteformat now need locking since the media format rework when
      accessing the channel's format pointers.
      
      * Increased the buffer size for CHANNEL() audionativeformat and
      videonativeformat output strings since the allow=all can be a lengthy
      list.
      
      * Tweaked the CHANNEL() XML documentation for secure_bridge_signaling,
      secure_bridge_media, and state.
      
      * Ensured the output buffer is initialized for secure_bridge_signaling and
      secure_bridge_media.
      
      * Made use the locked_copy_string() macro instead of inlining it for trace
      and checkhangup.
      ........
      
      Merged revisions 422700 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@422701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      025bd1bf
  21. Aug 18, 2014
  22. Aug 11, 2014
  23. Aug 06, 2014
  24. Jul 31, 2014
  25. Jul 28, 2014
  26. Jul 25, 2014
  27. Jul 20, 2014
  28. Jul 18, 2014
  29. Jul 15, 2014
  30. Jun 17, 2014
  31. Jun 03, 2014
  32. May 30, 2014
  33. May 28, 2014
  34. May 21, 2014
  35. May 09, 2014
  36. May 07, 2014
Loading