Skip to content
Snippets Groups Projects
  1. Oct 27, 2016
    • Corey Farrell's avatar
      Remove ASTERISK_REGISTER_FILE. · a6e5bae3
      Corey Farrell authored
      ASTERISK_REGISTER_FILE no longer has any purpose so this commit removes
      all traces of it.
      
      Previously exported symbols removed:
      * __ast_register_file
      * __ast_unregister_file
      * ast_complete_source_filename
      
      This also removes the mtx_prof static variable that was declared when
      MTX_PROFILE was enabled.  This variable was only used in lock.c so it
      is now initialized in that file only.
      
      ASTERISK-26480 #close
      
      Change-Id: I1074af07d71f9e159c48ef36631aa432c86f9966
      a6e5bae3
  2. Apr 13, 2015
    • Matt Jordan's avatar
      git migration: Refactor the ASTERISK_FILE_VERSION macro · 4a582616
      Matt Jordan authored
      Git does not support the ability to replace a token with a version
      string during check-in. While it does have support for replacing a
      token on clone, this is somewhat sub-optimal: the token is replaced
      with the object hash, which is not particularly easy for human
      consumption. What's more, in practice, the source file version was often
      not terribly useful. Generally, when triaging bugs, the overall version
      of Asterisk is far more useful than an individual SVN version of a file. As a
      result, this patch removes Asterisk's support for showing source file
      versions.
      
      Specifically, it does the following:
      
      * Rename ASTERISK_FILE_VERSION macro to ASTERISK_REGISTER_FILE, and
        remove passing the version in with the macro. Other facilities
        than 'core show file version' make use of the file names, such as
        setting a debug level only on a specific file. As such, the act of
        registering source files with the Asterisk core still has use. The
        macro rename now reflects the new macro purpose.
      
      * main/asterisk:
        - Refactor the file_version structure to reflect that it no longer
          tracks a version field.
        - Remove the "core show file version" CLI command. Without the file
          version, it is no longer useful.
        - Remove the ast_file_version_find function. The file version is no
          longer tracked.
        - Rename ast_register_file_version/ast_unregister_file_version to
          ast_register_file/ast_unregister_file, respectively.
      
      * main/manager: Remove value from the Version key of the ModuleCheck
        Action. The actual key itself has not been removed, as doing so would
        absolutely constitute a backwards incompatible change. However, since
        the file version is no longer tracked, there is no need to attempt to
        include it in the Version key.
      
      * UPGRADE: Add notes for:
        - Modification to the ModuleCheck AMI Action
        - Removal of the "core show file version" CLI command
      
      Change-Id: I6cf0ff280e1668bf4957dc21f32a5ff43444a40e
      4a582616
  3. Dec 02, 2014
  4. Aug 06, 2013
  5. Apr 04, 2012
  6. Jul 14, 2011
  7. Feb 04, 2011
  8. Sep 02, 2010
  9. Aug 10, 2009
  10. Jun 03, 2008
  11. Dec 26, 2007
    • Jason Parker's avatar
      Use defined return values in load_module in more places. · eea428cf
      Jason Parker authored
      (closes issue #11096)
      Patches:
            pbx_config.c.patch uploaded by moy (license 222)
            pbx_dundi.c.patch uploaded by moy (license 222)
            pbx_gtkconsole.c.patch uploaded by moy (license 222)
            pbx_loopback.c.patch uploaded by moy (license 222)
            pbx_realtime.c.patch uploaded by moy (license 222)
            pbx_spool.c.patch uploaded by moy (license 222)
            app_adsiprog.c.patch uploaded by moy (license 222)
            app_alarmreceiver.c.patch uploaded by moy (license 222)
            app_amd.c.patch uploaded by moy (license 222)
            app_authenticate.c.patch uploaded by moy (license 222)
            app_cdr.c.patch uploaded by moy (license 222)
            app_zapateller.c.patch uploaded by moy (license 222)
            app_zapbarge.c.patch uploaded by moy (license 222)
            app_zapras.c.patch uploaded by moy (license 222)
            app_zapscan.c.patch uploaded by moy (license 222)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      eea428cf
  12. Nov 21, 2007
  13. Nov 19, 2007
  14. Nov 16, 2007
  15. Nov 01, 2007
    • Steve Murphy's avatar
      This commits the performance mods that give the priority processing engine in... · 63f2f04c
      Steve Murphy authored
      This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      63f2f04c
  16. Aug 21, 2006
  17. Jun 07, 2006
  18. Apr 14, 2006
    • Luigi Rizzo's avatar
      This rather large commit changes the way modules are loaded. · e43bc663
      Luigi Rizzo authored
       
      As partly documented in loader.c and include/asterisk/module.h,
      modules are now expected to return all of their methods and flags
      into a structure 'mod_data', and are normally loaded with RTLD_NOW
      | RTLD_LOCAL, so symbols are resolved immediately and conflicts
      should be less likely.  Only in a small number of cases (res_*,
      typically) modules are loaded RTLD_GLOBAL, so they can export
      symbols.
       
      The core of the change is only the two files loader.c and
      include/asterisk/module.h, all the rest is simply adaptation of the
      existing modules to the new API, a rather mechanical (but believe
      me, time and finger-consuming!) process whose detail you can figure
      out by svn diff'ing any single module.
      
      Expect some minor compilation issue after this change, please
      report it on mantis http://bugs.digium.com/view.php?id=6968
      so we collect all the feedback in one place.
      
      I am just sorry that this change missed SVN version number 20000!
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      e43bc663
  19. Apr 08, 2006
  20. Mar 31, 2006
  21. Mar 30, 2006
  22. Nov 29, 2005
  23. Nov 08, 2005
  24. Oct 31, 2005
  25. Oct 24, 2005
  26. Sep 14, 2005
  27. Jun 06, 2005
  28. Apr 29, 2005
  29. Apr 21, 2005
  30. Jan 21, 2005
  31. Jan 01, 2005
  32. Dec 23, 2004
  33. Oct 24, 2004
Loading