Skip to content
Snippets Groups Projects
  1. Apr 15, 2015
  2. Apr 14, 2015
  3. Apr 13, 2015
    • David M. Lee's avatar
      Fixing extconf compile · a573b77f
      David M. Lee authored
      During the mass code deletion for clang support, a stray backslash was
      left behind that was causing utils to fail to compile.
      
      Change-Id: I60e5fa58c9a5b248bde23aaada79ff663f87a2a1
      a573b77f
    • Matt Jordan's avatar
    • Joshua Colp's avatar
    • Matt Jordan's avatar
      build_tools/make_version: Update version parsing for Git migration · 3f9aa299
      Matt Jordan authored
      External systems - such as the Asterisk Test Suite - require knowledge of the
      upstream branch. Unfortunately, after moving to Git, the Asterisk version
      currently consists of only a 'GIT" prefix followed by an object blob,
      e.g., GIT-as08d7. This makes it difficult for such systems to know what
      features are available in a particular check out of Asterisk.
      
      This patch fixes this by hardcoding the branch in a variable in the
      make_version script. Since the mainline branches are not changed often -
      typically only once a year - this is a reasonable approach to solving
      the problem, and is more reliable than parsing the output of 'git branch
      -vv'. Branches that track off of an upstream primary branch will then get the
      benefit of knowing which mainline branch they are currently based off
      of.
      
      ASTERISK-24954 #close
      
      Change-Id: I8090d5d548b6d19e917157ed530b914b7eaf9799
      3f9aa299
    • Corey Farrell's avatar
      Optional API: Fix handling of sources that are both provider and user. · fbc8ddfe
      Corey Farrell authored
      OPTIONAL_API has conditionals to define AST_OPTIONAL_API and
      AST_OPTIONAL_API_ATTR differently based on if AST_API_MODULE is defined.
      Unfortunately this is inside the include protection block, so only the
      first status of AST_API_MODULE is respected.  For example res_monitor
      is an optional API provider, but uses func_periodic_hook.  This makes
      func_periodic_hook non-optional to res_monitor.
      
      This changes optional_api.h so that AST_OPTIONAL_API and
      AST_OPTIONAL_API_ATTR is redefined every time the header is included.
      
      ASTERISK-17608 #close
      Reported by: Warren Selby
      
      Change-Id: I8fcf2a5e7b481893e17484ecde4f172c9ffb5679
      fbc8ddfe
    • 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
  4. Apr 12, 2015
    • Matt Jordan's avatar
      Merge "main/editline: Add .gitignore." · 1174ef58
      Matt Jordan authored
      1174ef58
    • Corey Farrell's avatar
      main/editline: Add .gitignore. · 5d34bce6
      Corey Farrell authored
      This patch adds a .gitignore for main/editline to ignore all build results.
      
      Change-Id: I68c7bf375ea46282689e5a706534b69fca233b5d
      5d34bce6
    • Matt Jordan's avatar
      .gitignore: Ignore tarballs (*.gz) · d6605b3c
      Matt Jordan authored
      This patch updates the root .gitignore file to ignore files with a .gz
      extension. This will cause git to ignore downloaded sound tarballs in
      the the sounds/ directory.
      
      Change-Id: Ie84f085cc0fa51262209e7bfc1b1ba8c04a1ef59
      d6605b3c
    • George Joseph's avatar
      Add .gitignore and .gitreview files · b35e184d
      George Joseph authored
      Add the .gitignore and .gitreview files to the asterisk repo.
      
      NB:  You can add local ignores to the .git/info/exclude file
      without having to do a commit.
      
      Common ignore patterns are in the top-level .gitignore file.
      Subdirectory-specific ignore patterns are in their own .gitignore
      files.
      
      Change-Id: I842a1588ff27d8a0189f12d597f0a7af033d6c69
      Tested-by: George Joseph
      b35e184d
  5. Apr 11, 2015
  6. Apr 10, 2015
  7. Apr 09, 2015
Loading