Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 1, 2015
  1. libc/locale: Replace ascii.c, it was removed too soon

    John Marino authored
    I am not sure what happened, I limited the commit commit but somehow
    this deleted file got included in a recent commit.  It will be removed
    again shortly.
  2. Add share/ctypedef directory (it will replace mklocale)

    John Marino authored
    This directory will generate new LC_CTYPE files.  They require a
    significant update to libc/locale so it is not hooked into the
    build yet.  This the the produce of the clr2def tool upgrade
    and the generated codeset maps at tools/tools/locale/etc/final-maps.
  3. Pregenerate maps for LC_CTYPE generation

    John Marino authored
    These are the products of the new convert_map.pl which localedef
    will use to generate LC_CTYPE.  To avoid duplication, these maps
    will be used where they are (in tools/tools/locale/etc/final-maps)
    
    It turns out that the widths.txt file is only used for LC_CTYPE,
    so it's being moved as well as being removed from share/colldef.
  4. Fix three clr2def2 character maps

    John Marino authored
    The localedef(1) tool does not allow two symbols to be mapped to
    the same unicode character.  I actually don't know if this is really
    "wrong", but I had to adjust a couple of character sets that
    violated this rule: ARMSCII-8 and Big5HKSCS.  Neither are present
    on Illumos so that may explain why localedef(1) wasn't prepared
    to do anything except throw an error.
    
    The CP866 charset had a trailing garbage at the end of the file that
    localedef didn't like, so I removed it.
  5. clr2def: Add LC_CTYPE source file generation support

    John Marino authored
    I added the capability to generate LC_CTYPE source files (really this is
    basically extracting a section from the POSIX files) but there was some
    logic to figure out how to use the least amount of files because some of
    them are large.
    
    I compromised on a scheme that makes two reductions.  The first eliminates
    true duplicates and uses the SAME+= mechanism to create symlinks.  However,
    this leaves still some duplicates because while the output is distinct,
    the source files are the same (e.g. en_US.ISO8859* uses the same input file
    as en_US.UTF-8 locale, but the LC_CTYPE products differ.  The script
    identifies those are replaces them with symlinks.  So it looks like a lot
    of files but really it's only about 12 or so.
    
    During the actual LC_CTYPE generating, character maps are needed.  I added
    a Illumos tool to do this, which I had to modify.  Unlike Illumos, we will
    pregenerate the maps that the tool (convert_map.pl) produces.  I had to
    spend hours troubleshooting various "invalid" inputs so this is definitely
    something that should not be repeated in the build.
  6. Fix zh_Hans_CN.GB2312 locale

    John Marino authored
    It turns out that using a commented source file for LC_* file generation
    really isn't a good idea.  In the cldr2def tool's charmap.xls, the
    low ASCII is transformed to the "Full width" versions, but the first
    byte just happens to be "#".  Yes, that's right, the comment character.
    
    Since all comments are either "#" or or followed by a space, I can fix
    the resulting broken zh_Hans_CN.GB2312 by alterning the grep instruction.
    However, if we ever have a legitimate single "#" character as input, then
    this won't work anymore.
    
    The Armenian changes are a result to a tool correction that will be
    commited shortly.
  7. kernel/vfs_quota: Remove unneeded <inttypes.h> inclusion.

    Sascha Wildner authored
  8. kernel/iscsi: Remove unneeded <signal.h> inclusion.

    Sascha Wildner authored
  9. kernel: Use <sys/bitstring.h> instead of <bitstring.h>.

    Sascha Wildner authored
  10. <bitstring.h>: Move it to /usr/src/sys/sys so kernel files can use it…

    Sascha Wildner authored
    … too.
    
    To avoid using userspace headers in the kernel.
  11. agp: Remove some debugging printfs

    François Tigeot authored
  12. drm: Add linux/hashtable.h

    François Tigeot authored
  13. kernel/usb4bsd: Install gadget example drivers and fix usbtest.

    Sascha Wildner authored
    Taken-from: FreeBSD
  14. inet6: Simplify nd6_dad_ns_output() interface

    Sepherosa Ziehau authored
  15. inet6: Make DAD lockless MPSAFE

    Sepherosa Ziehau authored
  16. net: Factor out ASSERT_IN_NETISR and ASSERT_IS_NETISR

    Sepherosa Ziehau authored
Commits on Jul 31, 2015
  1. i386 removal, part 27/x: Remove i386 specific stuff from the RAID dri…

    Sascha Wildner authored
    …vers.
    
    pst(4) goes completely.
  2. kernel: Uncomment VINUMDEBUG in LINT64. It compiles now.

    Sascha Wildner authored
  3. kernel: Add prototypes for setjmp()/longjmp() to <sys/systm.h>.

    Sascha Wildner authored
    Used by ddb and vinum. Remove the inclusion of the <setjmp.h> userspace
    header.
  4. regcomp: limit comparison to C locale only

    John Marino authored
    The regex code does not work with multibyte codesets like UTF-8.  In fact,
    it doesn't even work with single-byte codesets like ISO-8859-1.  The
    comparison blows up at index 128 (the range is 0 to UCHAR_MAX (255).
    
    As a temporary workaround, all comparisons will be done in C locale
    regardless of the environment setting.  The regex library needs to be
    updated to handle all codesets.
  5. libc/collcmp: Fix initialization of s2

    John Marino authored
  6. libc/regex: Sync with FreeBSD

    John Marino authored
Commits on Jul 30, 2015
  1. libc/xdr: Sync xdr_sizeof.c with FreeBSD and add it to the build.

    Sascha Wildner authored
    FreeBSD did so too after our last upgrade. Shouldn't hurt.
  2. gcc50: Adjust makefiles for new file locations

    John Marino authored
  3. gcc50: Remove generic versions of added files

    John Marino authored
    These files can probably stay in place with .PATH and -I order giving
    preference to "dragonfly" over "generic", but let's go ahead and just
    remove them from contrib to avoid any possible confusion.
  4. gcc50: Add proper locale support to libstdc++ (local mod)

    John Marino authored
    These patches will be sent upstream soon.  DragonFly is the only BSD
    with c++ local support.  The exception is "messages".  The glibc has
    gettext functions incorporated to support it, but we can't used libintl
    because that would require linking it to every c++ executable.
  5. libc/calloc: Remove calloc.c, which has been unbuilt since 8294982.

    Sascha Wildner authored
    calloc() is part of nmalloc.c as well as of dmalloc.c
  6. make upgrade: Stop removing hi_IN.UTF-8 and la_LN.UTF-8

    John Marino authored
    These old upgrade entries were removing newly installed locales.
    
    Reported-by: swildner
  7. i386 removal, part 26/x: Remove i386 specific lib/libc/quad.

    Sascha Wildner authored
    None of the platforms which lead to it being compiled into FreeBSD's
    libc look too interesting, so remove it.
    
    Also remove copies of a number of those functions residing in libkern
    and stop compiling one of these files into libstand. Libstand also
    has a quad.h header. Shrink it together to what is actually needed
    (not much), while here.
  8. socket: Close the soreference() race against socket owner netisr sofr…

    Sepherosa Ziehau authored
    …ee()
    
    The race is kinda like this:
    
        Other thread/netisrN         netisrM (so->so_pcb owner)
                 :                              :
          getpooltoken(head);                   :
          so->so_head = NULL;                   :
                 :                          sofree(so); (*)
          soreference(so);                      :
          relpooltoken(head);                   :
    
    (*)
    sofree(so) frees the socket, since so->so_head is NULL and
    getpooltoken(head) is not called.
    
    Reported-by: dillon@
  9. socket: Group accept queue operations together

    Sepherosa Ziehau authored
  10. socket: Nuke unused so_pru_abort()

    Sepherosa Ziehau authored
Something went wrong with that request. Please try again.