Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

FreeBSD compatibility + int64/uint64 type support #4

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Commits on Dec 3, 2015

  1. FreeBSD compatibility

    Add cgo items for FreeBSD clang compiler.
    
    Since FreeBSD already has a libucl pkg there is no need to extract
    libucl sources. And to avoid having gnumake installed add a
    BSDmakefile that just checks that lib ucl was installed by:
    
      sudo pkg install libucl
    
    Minor item: add cast to fix warning.
    
    Signed-off-by: Christopher Hall <[email protected]>
    hxw committed Dec 3, 2015
    Configuration menu
    Copy the full SHA
    9c1a054 View commit details
    Browse the repository at this point in the history
  2. Support for signed/unsigned 64 bit integer types

    Add a couple of simple int64/uint64 tests.
    
    Signed-off-by: Christopher Hall <[email protected]>
    hxw committed Dec 3, 2015
    Configuration menu
    Copy the full SHA
    3ac2803 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2015

  1. fix the cmake command

    Signed-off-by: Christopher Hall <[email protected]>
    hxw committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    6e53e8a View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2016

  1. Switch to pkg-config for CFLAGS and LDFLAGS

    This allows for a more portable version of the wrapper, as it doesn't
    require libucl to sit in vendor/libucl, and instead sit elsewhere on
    the filesystem, which is a more realistic approach for an OS with a
    package manager.
    draringi committed Feb 8, 2016
    Configuration menu
    Copy the full SHA
    01271ff View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2016

  1. Configuration menu
    Copy the full SHA
    7e3476a View commit details
    Browse the repository at this point in the history
  2. Removed Makefiles for building libucl

    This is part of a move away from building libucl just for use in go,
    and using the OS's version instead.
    draringi committed Feb 9, 2016
    Configuration menu
    Copy the full SHA
    84cdc89 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2016

  1. Configuration menu
    Copy the full SHA
    a3dbaf4 View commit details
    Browse the repository at this point in the history
  2. Modernize gitignore and travis tests

    Changed gitignore to github's default golang gitignore, to better fit the project.
    Changed travis config to pull in libucl and install it before running tests.
    Changed travis config to use most recent version of go.
    draringi committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    3e04cbb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    269fd58 View commit details
    Browse the repository at this point in the history
  4. Fix typo in travit-ucl script

    In addition, remove build folder when done.
    draringi committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    007a2de View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    59fe18d View commit details
    Browse the repository at this point in the history
  6. Updates to documentation

    draringi committed Feb 11, 2016
    Configuration menu
    Copy the full SHA
    9fead9e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    917379e View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2016

  1. Added missing parser flag UCL_PARSER_NO_IMPLICIT_ARRAYS and missing s…

    …tring flags
    
    The corresponding go ParserFlag for C's UCL_PARSER_NO_IMPLICIT_ARRAYS is ParserNoImplicitArrays
    
    The string flags are for a function in the C code for creating objects from strings. A wrapper
    function in go is coming soon.
    
    TODO:
    * Add go wrapper for ucl_object_fromstring_common and related functions
    * Add tests for new wrappers
    * Further checks for missing functionality
    draringi committed Feb 14, 2016
    Configuration menu
    Copy the full SHA
    39dbadb View commit details
    Browse the repository at this point in the history
  2. Added UCL Object construction functions

    These functions wrap around libucl's ucl_object_from* functions.
    Additional tests were added to the test suite in object_test.go to test
    that these new functions operate correctly.
    draringi committed Feb 14, 2016
    Configuration menu
    Copy the full SHA
    a2a3fc4 View commit details
    Browse the repository at this point in the history
  3. Added validation funtionality

    Validation functionality is provided via libucl's ucl_object_validate.
    A test has been written for a helper function, but no test has been written
    yet for the Validate method, as I have yet to get around to learning the json-schema
    format.
    draringi committed Feb 14, 2016
    Configuration menu
    Copy the full SHA
    60350a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1b751f9 View commit details
    Browse the repository at this point in the history
  5. Added initial variable support

    This adds 3 methods to the Parser object: `RegisterVariable`, `SetFileVariables`
    and `AddFileAndSetVariables` (which combines `AddFile` with `SetFileVariables`)
    
    Unknown Variable Handler support to come
    
    This gets us part way towards resolving issue mitchellh#5
    draringi committed Feb 14, 2016
    Configuration menu
    Copy the full SHA
    95eb8f1 View commit details
    Browse the repository at this point in the history
  6. Various fixes

    Change to .travis-ucl.sh is to build support for signatures into the test machine's copy of libucl.
    Change to decoder_test.go is to show what is expected in random failing test (see issue mitchellh#6).
    Change to object.go is to remove memory leak, and make sure created C strings are freed.
    draringi committed Feb 14, 2016
    Configuration menu
    Copy the full SHA
    e2cc02d View commit details
    Browse the repository at this point in the history
  7. Added simple sorter to fix random ordering issue in test TestObjectDe…

    …code_structKeys
    
    The sorter lists strings in decreasing alphabetical ordering (z->a) so Foo comes before Bar.
    This should fix the random ordering issue, fixing issue mitchellh#6.
    draringi committed Feb 14, 2016
    Configuration menu
    Copy the full SHA
    28c472f View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2016

  1. Add ability to use native go file implementation to with libucl

    In addition, added libucl's error messages to some methods.
    draringi committed Feb 18, 2016
    Configuration menu
    Copy the full SHA
    3253cb9 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2017

  1. convert to pkg-config

    Signed-off-by: Christopher Hall <[email protected]>
    hxw committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    ab81987 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2017

  1. Configuration menu
    Copy the full SHA
    ec4935c View commit details
    Browse the repository at this point in the history
  2. Merge branch 'draringi-master'

    hxw committed Aug 10, 2017
    Configuration menu
    Copy the full SHA
    2734a5f View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2017

  1. fix the macro call

    * original code always called the first macro
      as call back parameters list was incorrect
    * add support for macro arguments
      e.g.
        .macro(param=value) "body-text"
      the parameters are passed as ucl object so
      complex macros are possible
    
    Signed-off-by: Christopher Hall <[email protected]>
    hxw committed Aug 11, 2017
    Configuration menu
    Copy the full SHA
    4489d45 View commit details
    Browse the repository at this point in the history
  2. change URLs, add note about macro fixes

    Signed-off-by: Christopher Hall <[email protected]>
    hxw committed Aug 11, 2017
    Configuration menu
    Copy the full SHA
    9b16c12 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2019

  1. make into go module

    Signed-off-by: Christopher Hall <[email protected]>
    hxw committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    700172f View commit details
    Browse the repository at this point in the history