Skip to content
Snippets Groups Projects
  1. Apr 29, 2015
  2. Apr 17, 2012
  3. Feb 08, 2012
  4. Mar 07, 2011
  5. Feb 28, 2011
  6. Feb 02, 2011
  7. Feb 08, 2010
  8. Jan 13, 2010
  9. Jun 25, 2009
  10. May 21, 2009
    • Kevin P. Fleming's avatar
      Const-ify the world (or at least a good part of it) · e6b2e9a7
      Kevin P. Fleming authored
      This patch adds 'const' tags to a number of Asterisk APIs where they are appropriate (where the API already demanded that the function argument not be modified, but the compiler was not informed of that fact). The list includes:
      
      - CLI command handlers
      - CLI command handler arguments
      - AGI command handlers
      - AGI command handler arguments
      - Dialplan application handler arguments
      - Speech engine API function arguments
      
      In addition, various file-scope and function-scope constant arrays got 'const' and/or 'static' qualifiers where they were missing.
      
      Review: https://reviewboard.asterisk.org/r/251/
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      e6b2e9a7
  11. Mar 03, 2009
    • Steve Murphy's avatar
      Merged revisions 179807 via svnmerge from · f47b0387
      Steve Murphy authored
      https://origsvn.digium.com/svn/asterisk/branches/1.4
      
      I had some work to do to port these changes to trunk; the 
      check_expr stuff hasn't been updated here for quite some
      time, it appears. I added some more tests to the check_expr2
      suite. I had to play around with the makefile a bit, etc.
      
      I added STANDALONE2 #ifdefs to ast_expr2.y so as not to
      conflict structure with aelparse.
      
      ........
        r179807 | murf | 2009-03-03 11:11:34 -0700 (Tue, 03 Mar 2009) | 19 lines
        
        These changes allow AEL to better check ${} constructs within $[...], that are concatenated with text.
        
        I modified and added rules in ast_expr2.fl to better handle
        the concatenations.
        
        I added some default routines to ast_expr2.y so the standalone would
        compile. It also looks like I haven't run this thru bison since 2.1, so
        it's good to get this updated.
        
        The Makefile has comments added now for check_expr2 and check_expr to
        explain what they are for, and how to run them. 
        
        The testexpr2s stuff has been removed, in favor of check_expr2.
        
        expr2.testinput has been updated to include the two expressions
        that inspired these changes (from mcnobody on #asterisk this morning)
        The regression has been run and all looks well.
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@179973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      f47b0387
  12. Sep 27, 2008
    • Kevin P. Fleming's avatar
      Merged revisions 144924-144925 via svnmerge from · 629861a7
      Kevin P. Fleming authored
      https://origsvn.digium.com/svn/asterisk/branches/1.4
      
      ........
        r144924 | kpfleming | 2008-09-27 10:00:48 -0500 (Sat, 27 Sep 2008) | 6 lines
        
        improve header inclusion process in a few small ways:
        
          - it is no longer necessary to forcibly include asterisk/autoconfig.h; every module already includes asterisk.h as its first header (even before system headers), which serves the same purpose
          - astmm.h is now included by asterisk.h when needed, instead of being forced by the Makefile; this means external modules will build properly against installed headers with MALLOC_DEBUG enabled
          - simplify the usage of some of these headers in the AEL-related stuff in the utils directory
      ........
        r144925 | kpfleming | 2008-09-27 10:13:30 -0500 (Sat, 27 Sep 2008) | 2 lines
        
        fix some minor issues with rev 144924
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@144949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      629861a7
  13. Jun 20, 2008
  14. Apr 21, 2008
    • Steve Murphy's avatar
      (closes issue #12467) · c0b8f57b
      Steve Murphy authored
      Reported by: atis
      Tested by: murf
      
      This upgrade adds the ~~ (concatenation) string operator to expr2.
      While not needed in normal runtime pbx operation, it is needed when
      raw exprs are being syntax checked. This plays into future syntax-
      unification plans. By permission of atis, this addition in trunk 
      and the reason of why things are as they are will suffice to close
      this bug.
      
      I also added a short note about the previous addition of "sip show sched"
      to the CLI in CHANGES, which I discovered I forgot in a previous commit.
      
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      c0b8f57b
  15. Jan 10, 2008
    • Steve Murphy's avatar
      Merged revisions 97849 via svnmerge from · 33fadcc6
      Steve Murphy authored
      https://origsvn.digium.com/svn/asterisk/branches/1.4
      
      ........
      r97849 | murf | 2008-01-10 13:21:27 -0700 (Thu, 10 Jan 2008) | 1 line
      
      This is a fix for 2 things: a problem Terry was having in OSX with null pointers, which was my fault, as I probably forgot to run the sed script last time I made mods. So, I moved the fix into the flex input itself. Then, I found when I used flex 2.5.33, that it was using __STDC_VERSION__, and that's not real good; so I added back in a DIFFERENT sed script to fix that little mess. Tested everything, a couple different ways. Hope I did no harm, at the least.
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      33fadcc6
  16. Nov 28, 2007
  17. Nov 06, 2007
  18. Sep 21, 2007
  19. Jul 05, 2007
    • Steve Murphy's avatar
      In regards to changes for 9508, expr2 system choking on floating point... · 6a4efe5d
      Steve Murphy authored
      In regards to changes for 9508, expr2 system choking on floating point numbers, I'm adding this update to round out (no pun intended) and make this FP-capable version of the Expr2 stuff interoperate better with previous integer-only usage, by providing Functions syntax, with 20 builtin functions for floating pt to integer conversions, and some general floating point math routines that might commonly be used also. Along with this, I made it so if a function was not a builtin, it will try and find it in the ast_custom_function list, and if found, execute it and collect the results. Thus, you can call system functions like CDR(), CHANNEL(), etc, from within $\[..\] exprs, without having to wrap them in $\{...\} (curly brace) notation. Did a valgrind on the standalone and made sure there's no mem leaks. Looks good. Updated the docs, too.
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      6a4efe5d
  20. Jul 02, 2007
  21. Mar 26, 2007
  22. Jan 02, 2007
  23. Dec 28, 2006
  24. Aug 21, 2006
  25. Jun 20, 2006
    • Russell Bryant's avatar
      - use $(CC) instead of gcc when building testexpr2 · c2603014
      Russell Bryant authored
      - modify ast_expr2.fl and ast_expr2.y to not try to register the file version
        in a STANDALONE build
      - add config.status as a dependency on testexpr2 to ensure configure is
        executed before building it
      - add include/asterisk/buildopts.h as a dependency for testexpr2 as well
      - add -Iinclude to the gcc commands for building the testexpr2 objects so that
        it can find the local asterisk headers
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      c2603014
  26. Jun 07, 2006
  27. Apr 28, 2006
  28. Apr 24, 2006
  29. Mar 12, 2006
  30. Jan 19, 2006
  31. Jan 03, 2006
  32. Nov 29, 2005
  33. Nov 01, 2005
  34. Aug 29, 2005
  35. Jun 24, 2005
Loading