Skip to content
Snippets Groups Projects
  1. Feb 16, 2010
  2. Feb 15, 2010
  3. Feb 12, 2010
  4. Feb 11, 2010
  5. Feb 10, 2010
  6. Feb 09, 2010
    • Russell Bryant's avatar
      Various updates to the unit test API. · bbed34f7
      Russell Bryant authored
      1) It occurred to me that the difference in usage between the error ast_str and
      the ast_test_update_status() usage has turned out to be a bit ambiguous in
      practice.  In a lot of cases, the same message was being sent to both.
      In other cases, it was only sent to one or the other.  My opinion now is that
      in every case, I think it makes sense to do both; we should output it to the
      CLI as well as save it off for logging purposes.
      
      This change results in most of the changes in this diff, since it required
      changes to all existing unit tests.  It also allowed for some simplifications
      of unit test API implementation code.
      
      2) Update ast_test_status_update() to include the file, function, and line
      number for the code providing the update.
      
      3) There are some formatting tweaks here and there.  Hopefully they aren't too
      distracting for code review purposes.  Reviewboard's diff viewer seems to do a
      pretty good job of pointing out when something is a whitespace change.
      
      4) I moved the md5_test and sha1_test into the test_utils module.  It seemed
      like a better approach since these tests are so tiny.
      
      5) I changed the number of nodes used in heap_test_2 from 1 million to
      100 thousand.  The only reason for this was to reduce the time it took
      for this test to run.
      
      6) Remove an unused function prototype that was at the bottom of utils.h.
      
      7) Simplify test_insert() using the LIST_INSERT_SORTALPHA() macro.  The one
      minor difference in behavior is that it no longer checks for a test registered
      with the same name.
      
      8) Expand the code in test_alloc() to provide specific error messages for each
      failure case, to clearly inform developers if they forget to set the name,
      summary, description, etc.
      
      9) Tweak the output of the "test show registered" CLI command.  I swapped the
      name and category to have the category first.  It seemed more natural since
      that is the sort key.
      
      10) Don't output the status ast_str in the "test show results" CLI command.
      This is going to tend to be pretty verbose, so just leave that for the
      detailed test logs (test generate results).
      
      Review: https://reviewboard.asterisk.org/r/493/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      bbed34f7
    • David Vossel's avatar
      fixes a merging error for the iaxs and iaxsl off by one fix · dd48c7eb
      David Vossel authored
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      dd48c7eb
    • David Vossel's avatar
      Merged revisions 245792 via svnmerge from · 5be3d14c
      David Vossel authored
      https://origsvn.digium.com/svn/asterisk/branches/1.4
      
      ........
        r245792 | dvossel | 2010-02-09 16:55:38 -0600 (Tue, 09 Feb 2010) | 12 lines
        
        Fixes iaxs and iaxsl size off by one issue.
        
        2^15 = 32768 which is the maximum allowed iax2 callnumber.
        Creating the iaxs and iaxsl array of size 32768 means the maximum
        callnumber is actually out of bounds.  This causes a nasty crash.
        
        (closes issue #15997)
        Reported by: exarv
        Patches:
              iax_fix.diff uploaded by dvossel (license 671)
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245793 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      5be3d14c
    • Tilghman Lesher's avatar
      Ensure frames are only freed once. · 2d6f0c46
      Tilghman Lesher authored
      (closes issue #16361)
       Reported by: vlad
       Patches: 
             20100208__issue16361.diff.txt uploaded by tilghman (license 14)
       Tested by: kenny, bloodoff, misaksen
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245729 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      2d6f0c46
    • Matthew Nicholson's avatar
      This commit removes an extra newline in T.38 generated SDP packets. This bug... · f935799e
      Matthew Nicholson authored
      This commit removes an extra newline in T.38 generated SDP packets. This bug was caused by the fix introduced in r243860.
      
      (closes issue #16766)
      Reported by: raivisr
      Patches:
            t38-sdp-newline-fix1.diff uploaded by mnicholson (license 96)
      Tested by: raivisr
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      f935799e
    • Kevin P. Fleming's avatar
      Don't offer MMR or JBIG transcoding during T.38 negotiation. · 3760672f
      Kevin P. Fleming authored
      After further discussion with Steve Underwood, we should not (yet) be offering
      to receive MMR or JBIG transcoded streams from T.38 endpoints. A future spandsp
      release will support those features, and then they can be enabled during
      negotiation
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      3760672f
  7. Feb 08, 2010
Loading