Permalink
Commits on Aug 15, 2012
  1. Merge branch 'gustav/asn1/enumerated_n2n/OTP-10144' into maint

    Gustav Simonsson committed Aug 15, 2012
    * gustav/asn1/enumerated_n2n/OTP-10144:
      Add support for extensible enumeration types in n2n generated functions.
      Make n2n option work for enumerated types without extension markers.
      Add test enumeration types for testing n2n option when using the name2num
      and num2name functions on an enumeration value not in the extension root
      of an enumeration type with extension marker.
  2. Merge branch 'gustav/asn1/integer_single_value_predefined/OTP-10139' …

    Gustav Simonsson committed Aug 15, 2012
    …into maint
    
    * gustav/asn1/integer_single_value_predefined/OTP-10139:
      In generation of encoding functions for enumeration types,
      the values used for generating the range check in case of
      a value range should be sorted and have duplicates removed.
      Add sorting in constraint checking on single values.
    
    Conflicts:
    	lib/asn1/test/testConstraints.erl
  3. Merge branch 'gustav/asn1/per_integer_ranges/OTP-10128' into maint

    Gustav Simonsson committed Aug 15, 2012
    * gustav/asn1/per_integer_ranges/OTP-10128:
      Keep encoded octets of constrained whole number value and range as binaries and use erlang:byte_size to get length of octets and range. For speed.
      Add support for larger integer ranges in per encode/decode
  4. Merge branch 'gustav/kernel/packages-docs-empty-func' into maint

    Gustav Simonsson committed Aug 15, 2012
    * gustav/kernel/packages-docs-empty-func:
      Remove empty function in packages docs
  5. Update primary bootstrap

    bjorng committed Aug 15, 2012
  6. Fix broken building of bootstrap compiler

    bjorng committed Aug 15, 2012
    Commit df8e67e broke
    "./otp_build update_primary" because epp:parse_file/4 was
    added and used from the compiler, but the epp module is not part
    of the primary compiler that is used to compile the bootstrap
    compiler. Fix the problem by including the epp module in the
    primary compiler.
  7. Merge branch 'bjorn/compiler/minor-fixes/OTP-10185' into maint

    bjorng committed Aug 15, 2012
    * bjorn/compiler/minor-fixes/OTP-10185:
      erl_lint: Add a deprecated warning for literal tuple funs
      beam_utils:live_opt/1: Correct handling of try_case_end/1
      Correct guard_SUITE_tuple_size.S
      beam_type: Print the offending function if this pass crashes
      beam_validator: Validate the size operand in bs_init_bits and bs_init2
  8. erl_lint: Add a deprecated warning for literal tuple funs

    bjorng committed Aug 13, 2012
    The run-time warning for use of tuple funs will not catch the use
    of literal tuple funs, such as:
    
        if
    	{erlang,'+'}(3,X) =:= 0 -> true;
    	true -> false
        end.
    
    Therefore, add a compile-time warning to give users some warning
    before they stop working in R16.
  9. beam_utils:live_opt/1: Correct handling of try_case_end/1

    bjorng committed Aug 9, 2012
    Liveness for the try_case_end/1 instruction should be calculated
    in the same way as for the case_end/1 instruction.
  10. Correct guard_SUITE_tuple_size.S

    bjorng committed Aug 9, 2012
    The number of live registers in the gc_bif instructions was wrong.
    It was not noticed because the beam_type pass silently corrected it.
Commits on Aug 14, 2012
  1. Remove empty function in packages docs

    Gustav Simonsson committed Aug 14, 2012
  2. Merge branch 'nox/compile-column-numbers' into maint

    gustehn committed Aug 14, 2012
    * nox/compile-column-numbers:
      Fix messages ordering with column numbers
      Fix type compile:err_info/0
      Test column number reporting in error_SUITE
      Fix printing of errors with column numbers
      Create a new "column" option in compile
      Allow setting of initial position in epp
      Export type erl_scan:location/0
Commits on Aug 13, 2012
  1. Merge branch 'mh/doc-now-vs-timestamp/OTP-10180' into maint

    gustehn committed Aug 13, 2012
    * mh/doc-now-vs-timestamp/OTP-10180:
      Doc fix: link from erlang:now/0 to os:timestamp/0
  2. Merge branch 'mh/emacs-mode/atom-dollar/OTP-10178' into maint

    gustehn committed Aug 13, 2012
    * mh/emacs-mode/atom-dollar/OTP-10178:
      Fix highlighting of atoms ending with a dollar sign
Commits on Aug 10, 2012
  1. Merge branch 'rc/eunit-2.2.3/OTP-10173' into maint

    gustehn committed Aug 10, 2012
    * rc/eunit-2.2.3/OTP-10173:
      Include fixture setup and cleanup errors in Eunit Surefire report
      documentation fixes
      add {test,M,F} as a better variant of {M,F} and make the latter obsolete
      minor cleanup
      Write chars as UTF-8 to file
      detect and report bad return values from generators and instantiators
      eunit_tests should not be listed in eunit.app
      improved layout of error messages - stack trace before error term
      bumped revision
      make stack trace pruning know about the new format
      Make EUnit print stacktraces with location information
      Add option 'no_tty' to silent the default tty report
  2. Include fixture setup and cleanup errors in Eunit Surefire report

    legoscia committed with gustehn Mar 10, 2011
    An error during fixture setup means that some tests could not be run,
    and therefore needs to be highlighted in the test report.  Likewise, a
    cleanup failure is often a problem that needs to be looked into.
    
    Since setup and cleanup are not part of any single test in Eunit's
    view, I include them as phantom test cases in the report whenever they
    fail.
  3. documentation fixes

    Richard Carlsson committed with gustehn Jul 17, 2012
  4. minor cleanup

    Richard Carlsson committed with gustehn Jul 5, 2012
  5. Write chars as UTF-8 to file

    garazdawi committed with gustehn May 30, 2012
  6. eunit_tests should not be listed in eunit.app

    Richard Carlsson committed with gustehn Apr 17, 2012
  7. improved layout of error messages - stack trace before error term

    Richard Carlsson committed with gustehn Feb 15, 2012
  8. bumped revision

    Richard Carlsson committed with gustehn Feb 13, 2012
  9. make stack trace pruning know about the new format

    Richard Carlsson committed with gustehn Feb 13, 2012
  10. Make EUnit print stacktraces with location information

    klajo committed with gustehn Feb 12, 2012
    The format of stacktraces was changed in Erlang/OTP R15, adding location
    information. This had the effect that EUnit did not recognize stack traces
    as such and only printed the exception term. This patch makes Eunit
    recognize and print the new stacktrace format as well as the old.
  11. Add option 'no_tty' to silent the default tty report

    Richard Carlsson committed with gustehn Dec 11, 2011
  12. Merge branch 'rc/edoc-0.7.10/OTP-10174' into maint

    gustehn committed Aug 10, 2012
    * rc/edoc-0.7.10/OTP-10174:
      bumped revision
      List behaviour callbacks in Edoc when using -callback attribute
      added special case for file names under Windows, thanks to Beads Land-Trujillo
Commits on Aug 8, 2012
  1. Merge branch 'siri/erl_prim_loader/archive-scripts/OTP-10071' into maint

    sirihansen committed Aug 8, 2012
    * siri/erl_prim_loader/archive-scripts/OTP-10071:
      Bugfix escript_SUITE:archive_script_file_access
      Update preloaded
      Fix flattening of paths in erl_prim_loader
  2. Bugfix escript_SUITE:archive_script_file_access

    sirihansen committed Aug 8, 2012
    Used internal function do_run/3 instead of run/3 for executing
    escript. This will always fail on windows.
  3. bumped revision

    Richard Carlsson committed with gustehn Aug 7, 2012
  4. List behaviour callbacks in Edoc when using -callback attribute

    legoscia committed with gustehn Jul 25, 2012
    Defining a behaviour_info/1 function is no longer the only way to
    define a behaviour; you can use -callback attributes as well.  This
    change makes edoc aware of the latter, such that the module
    documentation page for a behaviour module will list the name and arity
    of the required callback functions.
    
    Ideally, edoc should use the type information present in the callback
    attributes, but with this change, the documentation is at least no
    worse than when using an explicit behaviour_info function.