summaryrefslogtreecommitdiff
path: root/usr/src/tools
AgeCommit message (Collapse)AuthorFilesLines
2011-12-20Merge branch 'master' into gcc4John Sonnenschein9-123/+588
2011-12-19Merge branch 'git-tools' of git://github.com/richlowe/illumos-gateJohn Sonnenschein9-123/+588
2011-12-15Merge branch 'gcc/upgrade' of https://github.com/richlowe/illumos-gate into gcc4John Sonnenschein5-9/+202
2011-12-15Merge branch 'master' into gcc4John Sonnenschein2-5/+6
2011-12-15[OS-714] Illumos mergeJohn Sonnenschein2-5/+6
2011-12-15Merge branch 'master' of http://github.com/illumos/illumos-gate into gcc/upgradeRichard Lowe2-5/+6
Conflicts: usr/src/uts/common/inet/ipf/netinet/ip_compat.h usr/src/uts/i86pc/os/cpr_impl.c
2011-12-13Merge branch 'master' into gcc4John Sonnenschein1-0/+3
2011-12-07ctfstrip: Add a tool to strip CTF info and use itJason King3-2/+201
The closed-bins contain CTF information long since uniquified against a genunix no longer available to us. Add a simple tool to strip this info (made complicated only by the necessity to preserve file permissions) and use it during 'make closedbins'
2011-12-07webrev: Detect and handle renamesRichard Lowe1-10/+25
While gathering the list of _really_ changed files, record the name they used to have such that we can deal with renames. Git does not really support renames, and calculates this at runtime also providing a 'score' indicating the likelyhood of being a rename. We currently only treat as renames those situations with a score > 75 (out of 100).
2011-12-07webrev: Don't care about ephemerally changed filesRichard Lowe1-16/+29
If files are added then removed, or changed and then reset, don't show them in the webrev. We do this by moving the call to whatchanged into the perl itself, and then effectively doing a join on filename between the 'diff' file list, and the whatchanged file list.
2011-12-07webrev: Display full checkin comments (again)Richard Lowe1-14/+16
As with mercurial, display the full set of checkin comments, rudely concatenated, rather than just the first 'subject' comment line that normal people would use, but Illumos steadfastly refuses to.
2011-12-06webrev: Document how git determines parenthood, and what it acceptsRichard Lowe1-1/+8
We made git function fundamentally differently, in terms of the webrev "parent". Document (to the best degree I can). - That the parent is the branch this branch is tracking, or origin/master - That a specified parent is anything at all that git accepts as a tree, including reflog entries, etc, etc.
2011-12-05git-pbchk: Add a simple script to run putback checks over gitRichard Lowe3-2/+400
2011-12-05Merge branch 'master' of http://github.com/illumos/illumos-gate into tools/gitRichard Lowe2-1/+4
2011-12-01dwarf: Actually allow relocation processing to happenRichard Lowe1-1/+1
Well, this is embarrassing... Due to differences (apparently) between our libelf and what libdwarf expects, we don't actually define the R_* relocation types for a platform unless asked to, because the include of sys/elf_foo.h is guarded. Because of poor error reporting, this error is not actually reported by this version of libdwarf, even though attempting to view the .debug_info section fails, as it contains relocations of "unknown" or non-absolute offset (because we don't actually understand _any_). Luckily (read: annoyingly), since we use -fno-dwarf2-indirect-strings to prevent the old, non-relocatey libdwarf seeing relocations it dislikes, we seem to have largely gotten away with (read: irritatingly masked) this.
2011-11-27Merge branch 'master' of http://github.com/illumos/illumos-gate into gcc/upgradeRichard Lowe1-0/+3
Conflicts: usr/src/cmd/abi/appcert/static_prof/static_prof.c usr/src/cmd/hal/hald/hald_dbus.c
2011-11-23fps: Remove more bits missed in the EOFRichard Lowe1-6/+0
2011-11-22[OS-714] illumos mergeJohn Sonnenschein1-0/+3
Merge git://github.com/illumos/illumos-gate Conflicts: usr/src/cmd/lp/filter/postscript/dpost/ps_include.c usr/src/cmd/zfs/zfs_main.c usr/src/lib/libdtrace/common/dt_program.c usr/src/lib/libzfs/common/libzfs.h usr/src/lib/libzfs/common/libzfs_pool.c usr/src/man/man1m/zfs.1m usr/src/man/man1m/zpool.1m usr/src/uts/common/fs/zfs/zfs_ioctl.c usr/src/uts/common/inet/tcp/tcp_input.c
2011-11-191751 usr/src/pkg/Makefile should define PKGFMT_OUTPUT=v1 when checking manifestsYuri Pankov1-0/+3
1752 Add PKGFMT_OUTPUT=v1 to usr/src/tools/env/illumos.sh to prevent footshooting Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-11-11webrev: chomp not chop when parsing git file list.Richard Lowe1-1/+1
All these years, and still making that mistake...
2011-11-03ws: Support git in the most rudimentary wayRichard Lowe1-2/+14
In keeping with the rest of our support, there's no concept of "parent workspace" so this is really just a matter of choosing where to put the protodefs. In passing fix the classic bug where GNU dirname of no arguments is an error, and the rest of the script cries.
2011-11-03Merge branch 'master' of http://github.com/illumos/illumos-gate into tools/gitRichard Lowe97-112/+25870
2011-11-03flg.flp: Support git file-list generation (and thus xref)Richard Lowe1-3/+5
Similar to Mercurial support, list all files in the repository (which is fast), then pair it down.
2011-11-02richlowe GCC4 mergeJohn Sonnenschein105-14088/+25092
2011-10-03[OS-663] Post-6.5 Illumos syncJohn Sonnenschein1-2/+5
Merge https://github.com/illumos/illumos-gate Conflicts: exception_lists/packaging usr/src/cmd/dtrace/test/cmd/scripts/dtest.pl usr/src/cmd/dtrace/test/tst/common/usdt/tst.badguess.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.enabled2.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.guess32.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.guess64.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.include.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.nodtrace.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.noreap.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.noreapring.ksh usr/src/cmd/dtrace/test/tst/common/usdt/tst.reap.ksh usr/src/cmd/lp/Makefile usr/src/cmd/lp/cmd/lpadmin/options.c usr/src/cmd/lp/cmd/lpfilter.c usr/src/cmd/lp/cmd/lpforms.c usr/src/cmd/lp/cmd/lpusers.c usr/src/cmd/lp/lib/lp/isterminfo.c usr/src/cmd/lp/lib/lp/tidbit.c usr/src/cmd/terminfo/att.ti usr/src/cmd/zpool/zpool_main.c usr/src/common/dis/i386/dis_tables.c usr/src/lib/libdtrace/common/dt_options.c usr/src/lib/libzfs/common/libzfs_dataset.c usr/src/man/man1m/dladm.1m usr/src/man/man1m/flowadm.1m usr/src/man/man1m/zoneadm.1m usr/src/man/man1m/zonecfg.1m usr/src/pkg/manifests/print-lp-print-client-commands.mf usr/src/pkg/manifests/print-lp.mf usr/src/uts/common/fs/zfs/sys/zio.h usr/src/uts/common/fs/zfs/zio.c usr/src/uts/i86pc/ml/mach_offsets.in usr/src/uts/intel/amd64/ml/mach_offsets.in usr/src/uts/intel/sys/tss.h
2011-09-25Merge remote-tracking branch 'illumos/master' into gcc/upgradeRichard Lowe1-2/+5
Conflicts: usr/src/common/dis/i386/dis_tables.c
2011-09-201007 env files should define MULTI_PROTORichard Lowe1-2/+5
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-07-02cw.1: Update to mention GCC_ROOTRichard Lowe1-1/+1
2011-07-02cw: Use GCC_ROOT, not GNU_ROOTRichard Lowe2-7/+5
2011-07-01[HACK] ctf: Temporarily workaround GCC 4 stdarg changeRichard Lowe3-6/+23
CTF tools include /usr/include first by necessity since they run on the build machine, but we need a hack to bootstrap builds on systems without a fixed va_impl.h.
2011-06-29dwarf: Upgrade to libdwarf-20110113Richard Lowe99-14074/+25063
2011-06-131057 should correctly integrate libdwarf sourcesRichard Lowe96-110/+25865
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Eric Schrock <eric.schrock@delphix.com> --HG-- rename : usr/src/tools/ctf/dwarf/dwarf.h => usr/src/tools/ctf/dwarf/common/dwarf.h rename : usr/src/tools/ctf/dwarf/libdwarf.h => usr/src/tools/ctf/dwarf/common/libdwarf.h
2011-06-081057 should correctly integrate libdwarf sourcesRichard Lowe96-110/+25865
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Eric Schrock <eric.schrock@delphix.com> --HG-- rename : usr/src/tools/ctf/dwarf/dwarf.h => usr/src/tools/ctf/dwarf/common/dwarf.h rename : usr/src/tools/ctf/dwarf/libdwarf.h => usr/src/tools/ctf/dwarf/common/libdwarf.h
2011-11-291816 hgsetup should use anonymous ssh clone, not httpJoshua M. Clulow1-1/+1
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-12-101877 ctfconvert should give more detail on DWARF errorsRichard Lowe1-4/+5
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Eric Schrock <eric.schrock@delphix.com>
2011-05-13[OS-411] Guava Illumos syncJohn Sonnenschein12-245/+25
2011-05-10findunref: Remove git exception list made unnecessary by #224Richard Lowe1-39/+0
2011-05-10Merge remote-tracking branch 'illumos/master' into tools/gitRichard Lowe17-754/+1162
2011-04-30webrev: Store absolute paths to parent webrevRichard Lowe1-2/+2
Since the git build_old_new changes directory, we need to store absolute paths for the parent webrev support to function correctly.
2011-04-30webrev: Add support for parent webrevs to the git supportRichard Lowe1-11/+16
build_old_new_* sadly need to be aware if the parent "workspace" is actually a webrev, so they can get the old version of the file with cp rather than whatever native means.
2011-04-30webrev: Don't choke on file-less revisionsRichard Lowe1-8/+9
Adjust the way we build the file list, so that we don't trip over revisions containing no files. We now build a list of revision --> message mappings, and then get the file lists for each revision, which is inefficient but otherwise does the right things.
2011-04-30webrev: Quote arguments to dirnameRichard Lowe1-3/+3
2011-04-30webrev: Get the git 'new' version of files from the workspaceRichard Lowe1-12/+4
Make the git webrev act like the others, and get the 'new' side of the diff from the working copy, not the most recent commit.
2011-04-29webrev: Sort the git file listRichard Lowe1-16/+14
We previously processed files in whichever order the nawk associative array stored its keys, which is hard to read. Instead, do so sorted by file name.
2011-04-29webrev: use $GIT not 'git'Richard Lowe1-2/+2
A couple of places lost their use of $GIT, restore it
2011-03-11OS-264 Merge from upstream (illumos)John Sonnenschein7-507/+1136
2011-02-21webrev: Default parent to branch we're trackingRichard Lowe1-3/+13
It seems most logical for webrev to default to comparing against the branch from which 'git pull' would pull, only falling back to 'origin/master' if we can't figure that out.
2011-02-21webrev: build_old_new_git needs to run from workspace rootRichard Lowe1-0/+4
It seems git ls-tree uses somewhat CWD-relative paths, and doesn't work at all when in a directory not under git control)
2011-02-17689 nightly.sh doesn't do fresh bringoversRoland Mainz1-2/+12
Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Olga Kryzhanoska <olga.kryzhanovska@gmail.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-02-11700 mercurial based tools could be fasterRichard Lowe3-449/+992
Reviewed by: trisk@nexenta.com Reviewed by: jason.brian.king@gmail.com Approved by: garrett@nexenta.com