Permalink
Switch branches/tags
Commits on May 20, 2017
  1. Merge pull request #29 from djnym/pc-1.6.0

    update to newest port_compiler
    djnym committed on GitHub May 20, 2017
Commits on May 19, 2017
  1. update to newest port_compiler

    djnym committed May 19, 2017
Commits on May 8, 2017
  1. Add 2 clause BSD license

    committed May 8, 2017
  2. Merge pull request #28 from djnym/tagged-pc

    use tagged version of port_compiler
    committed on GitHub May 8, 2017
Commits on Apr 29, 2017
Commits on Dec 22, 2016
  1. Fix Git URL

    committed on GitHub Dec 22, 2016
  2. Merge pull request #26 from binarytemple-bet365/patch-2

    Freeze the Port Compiler to a known working commit
    committed on GitHub Dec 22, 2016
  3. use prefered dependency checksum syntax

    Bryan Hunt committed Dec 22, 2016
Commits on Dec 20, 2016
  1. Merge pull request #25 from vavaka/master

    added rebar2 backward compatibility
    committed on GitHub Dec 20, 2016
  2. Freeze the Port Compiler to a known working commit

    Not good to leave it forever pulling from PC master. Plug-in dependencies are not locked by rebar3 - erlang/rebar3#1301 
    Next best option is to explicitly state the hash.
    Bryan Hunt (binarytemple) committed on GitHub Dec 20, 2016
Commits on Dec 18, 2016
  1. added rebar2 backward compatibility

    vavaka committed Dec 18, 2016
Commits on Dec 15, 2016
  1. Merge pull request #23 from binarytemple-bet365/patch-1

    change doc rebar/rebar3
    committed on GitHub Dec 15, 2016
  2. change doc rebar/rebar3

    Also removed the 'sudo rebar install' part, not a common practice to install system-wide, more common as part of a release.
    Bryan Hunt (binarytemple) committed on GitHub Dec 15, 2016
  3. Merge pull request #22 from binarytemple-bet365/feature/upgrade-to-re…

    …bar-3
    
    make build with rebar3
    committed on GitHub Dec 15, 2016
Commits on Dec 14, 2016
  1. make build with rebar3

    Bryan Hunt committed Dec 14, 2016
Commits on May 22, 2015
  1. Roll 1.0.3

    committed May 22, 2015
Commits on Aug 15, 2014
  1. Merge pull request #16 from igaray/igaray.app_src_modules

    Added the modules entry to syslog.app.src
    committed Aug 15, 2014
Commits on Feb 13, 2014
  1. Merge pull request #15 from okeuday/master

    Simplify syslog module usage
    committed Feb 13, 2014
Commits on Feb 11, 2014
Commits on Feb 6, 2014
  1. Simplify syslog module usage

    * It seems like lager_syslog must require that either:
      1) syslog:start/0 or syslog:start_link/0 was called
      2) syslog_drv.so is in the PATH environment variable for
         erlang:open_port/2 to find as a port driver
      Both of these options have nothing to do currently with starting
      syslog as an application.  This all seems odd, so I just added a
      load/0 function and an unload/0 function to make it easier to use the
      port driver without relying on an extra Erlang process that sits idle
      or the PATH environment variable's extra entry.
    okeuday committed Feb 6, 2014
Commits on Feb 5, 2014
  1. Merge pull request #14 from okeuday/master

    Improve syslog module
    committed Feb 5, 2014
  2. Improve syslog module

    * Add typespecs
    * Add types
    * Expose priority/1, facility/1, and openlog_opt/1 for validation
    * Add guards to catch errors with priority/1, facility/1, and openlog_opt/1
    * Fix code_change/3 bug
    okeuday committed Feb 5, 2014
Commits on Nov 7, 2013
  1. Roll version 1.0.2

    committed Nov 7, 2013
Commits on Jun 17, 2013
  1. Merge pull request #11 from vinoski/sbv-r16

    move port creation to Erlang to fix issue #9
    committed Jun 17, 2013
Commits on May 16, 2013
  1. move port creation to Erlang to fix issue #9

    With R16B changes related to locking within the area of port drivers seemed
    to result in the syslog driver hanging on the driver_create_port call. To
    avoid this, move port creation and closing from C into Erlang. Rework the
    driver control interface to simplify the open call to just the setting of
    the logopt and facility on a new port. Remove the opening and closing of a
    port in the gen_server init and terminate as that port is no longer needed
    to communicate with the driver. Move the open call out of the gen_server
    and do it in the caller's process instead.
    vinoski committed May 16, 2013
Commits on Dec 14, 2012
  1. Roll version 1.0.1

    committed Dec 14, 2012
Commits on Dec 12, 2012
  1. Merge pull request #6 from hukl/master

    Fixed a compiler error on FreeBSD and corrected wrong integer type
    committed Dec 12, 2012
  2. Use uint32_t instead of int32_t

    hukl committed Dec 12, 2012
  3. Fix compile error on GCC

    Error was: 
    
    c_src/syslog_drv.c:92: error: 'int32_t' undeclared (first use in this function)
    
    on
    
    cc (GCC) 4.2.1 20070831 patched [FreeBSD]
    hukl committed Dec 12, 2012
Commits on Dec 11, 2012
  1. revise driver to use port_control, and add close/1

    Use port_control and port_call instead of just port_command to communicate
    with the port driver. The port_control and port_call functions include a
    command integer argument that makes it easy to send specific commands to
    the driver, rather than encoding the commands as atoms in external
    format. They also allow for the easy return of simple terms in their
    preallocated return buffers. They also allow simple constants to be
    returned from the driver for badarg and other general errors. The log
    function still uses port_command, but sends an iolist for priority and
    message data rather than encoding to external format.
    
    Change open to return a new port, and change the log functions to take the
    log port returned from open as its first argument.
    
    Add a new variant of the log function that takes a format string and a list
    of format arguments. Drop the timeout argument to log, since it no longer
    is meaningful.
    
    Add a close/1 function to close the log.
    
    Modify the determination of the path to the driver shared library, making
    it match idiomatic code used for NIFs and drivers in other components.
    
    Add checking of the return values from the ei encoding and decoding
    functions in the driver code.
    
    Use driver_alloc and driver_free in the driver code rather than malloc and
    free. Also add checks for memory allocation failures.
    
    Use static initialization for the ErlDrvEntry struct. Remove the creation
    of driver atom constants that were no longer used.
    
    Add a test to verify that logging on a log that's already been closed
    returns an error.
    vinoski committed Dec 7, 2012
Commits on Dec 7, 2012
  1. indentation overhaul

    vinoski committed Dec 7, 2012
Commits on Nov 24, 2012
  1. Merge pull request #4 from tcseke/log-timeout

    Add log timeout
    committed Nov 24, 2012