Displaying 1 50 of 4,554,652 commits (0.244s)

FreeBSD — head/sys/amd64/vmm/io vatpic.c

Various 8259 device model improvements:

- implement 8259 "polled" mode.
- set 'atpic->sfn' if bit 4 in ICW4 is set during master initialization.
- report error if guest tries to enable the "special mask" mode.

Differential Revision:        https://reviews.freebsd.org/D1328
Reviewed by:                tychon
Reported by:                grehan
Tested by:                grehan
MFC after:                1 week
Delta File
+37 -4 head/sys/amd64/vmm/io/vatpic.c
+37 -4 1 file

LLVM — llvm/trunk/test/Transforms/InstCombine select.ll

This should have been part of r224676.

LLVM — llvm/trunk/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/trunk/test/Transforms/InstCombine select.ll

InstCombine: Squash an icmp+select into bitwise arithmetic

(X & INT_MIN) == 0 ? X ^ INT_MIN : X  into  X | INT_MIN
(X & INT_MIN) != 0 ? X ^ INT_MIN : X  into  X & INT_MAX

This fixes PR21993.

LLVM — llvm/trunk/lib/Analysis InstructionSimplify.cpp

InstSimplify: Don't bother if getScalarSizeInBits returns zero

getScalarSizeInBits returns zero when the comparison operands are not
integral.  No functionality change intended.

FreeBSD — head/sys/dev/mmc mmc.c

Log mmc and sd command failures.  Reporting of routine expected errors,
such as timeouts while probing a bus or testing for a feature, is
squelched.  Also, error reporting is limited to 5 events per second,
because when an sdcard goes bad on a low-end embedded board, flooding
the console at high speed isn't helpful.

Original logging code contributed by Michal Meloun, but then I fancied
it up with squelching and ppsratecheck.
Delta File
+31 -0 head/sys/dev/mmc/mmc.c
+31 -0 1 file

LLVM — libcxx/trunk/test lit.cfg

Move unconditional test compile and link flags into their configuration functions.
Delta File
+4 -2 libcxx/trunk/test/lit.cfg
+4 -2 1 file

FreeBSD Ports — head/www/mediawiki124 distinfo Makefile

- Update to 1.24.1

NAS4Free — trunk/build CHANGES, trunk/build/ports/php56 distinfo Makefile

Upgrade php to 5.6.4.

LLVM — llvm/trunk/lib/Analysis InstructionSimplify.cpp

Simplify the code

No functionality change intended.

LLVM — llvm/trunk/utils/lit/lit TestRunner.py

Split executeShTest into two parts so that it can be better leveraged by libc++
Delta File
+18 -13 llvm/trunk/utils/lit/lit/TestRunner.py
+18 -13 1 file

LLVM — libcxx/trunk CMakeLists.txt, libcxx/trunk/test lit.cfg CMakeLists.txt

[libcxx] Teach libcxx's lit configuration new ways to find lit.site.cfg

Summary:
Currently to run tests in tree you need to symlink the lit.site.cfg file generated by the 
cmake build into the source tree, and teach your VCS to ignore it.

This allows the user to specify where to find the lit.site.cfg file two different ways:
* lit_site_config lit parameter
* LIT_SITE_CONFIG enviroment variable. 

example usage:
```
lit -sv --param=libcxx_site_config=path/to/libcxx-build/test/lit.site.cfg path/to/tests
```
Or
```
export LIBCXX_SITE_CONFIG=path/to/libcxx-build/test/lit.site.cfg
lit -sv path/to/tests
```
The command line parameter will override the environment variable. 
If neither options are present a warning is issued and the `lit.cfg` file is loaded 
directly. 


Reviewers: mclow.lists, jroelofs, danalbert

    [6 lines not shown]

LLVM — lldb/trunk/include/lldb/Symbol CompactUnwindInfo.h, lldb/trunk/source/Symbol CompactUnwindInfo.cpp

Re-enable compact unwind use on Mac platforms.
When lldb has a binary with protected section contents,
don't use the on-disk representation of that compact 
uwnind -- read it only out of live memory where it has
been decrypted.

LLVM — llvm/trunk/include/llvm/IR PatternMatch.h, llvm/trunk/lib/Analysis InstructionSimplify.cpp

InstSimplify: Optimize away pointless comparisons

(X & INT_MIN) ? X & INT_MAX : X  into  X & INT_MAX
(X & INT_MIN) ? X : X & INT_MAX  into  X
(X & INT_MIN) ? X | INT_MIN : X  into  X
(X & INT_MIN) ? X : X | INT_MIN  into  X | INT_MIN

LLVM — cfe/trunk/lib/AST ASTDiagnostic.cpp

Fix a bunch of integer template argument problems in template type diffing.

Reverts most of the changes from r168005.  Since template arguments have proper
conversions now, no extending of integers is needed.  Further, since the
integers are the correct size now, use APSInt::operator== instead of
APSInt::hasSameValue since operator== will check the size and signness match.

Prior to one comparison of APSInt's, check that both are valid.  Previous, one
could be uninitialized.  Also changed APInt to APSInt in GetInt.  This
occassionally produced a sign flip, which will now be caught by operator==.
Delta File
+10 -20 cfe/trunk/lib/AST/ASTDiagnostic.cpp
+10 -20 1 file

LLVM — cfe/trunk/lib/AST ASTDiagnostic.cpp, cfe/trunk/lib/Sema SemaTemplate.cpp

Fix for PR21758

When a non-type template argument expression needs a conversion to change it
into the argument type, preserve that information by remaking the
TemplateArgument with an expression that has those conversions.  Also a small
fix to template type diffing to handle the extra conversions in some cases.

LLVM — llvm/trunk/lib/Transforms/Scalar SROA.cpp

[SROA] Run clang-format over the entire SROA pass as I wrote it before
much of the glory of clang-format, and now any time I touch it I risk
introducing formatting changes as part of a functional commit.

Also, clang-format is *way* better at formatting my code than I am.
Most of this is a huge improvement although I reverted a couple of
places where I hit a clang-format bug with lambdas that has been filed
but not (fully) fixed.
Delta File
+138 -157 llvm/trunk/lib/Transforms/Scalar/SROA.cpp
+138 -157 1 file

OpenBSD — regress/usr.bin/mandoc/mdoc/Bl breakingIt.in breakingIt.out_ascii, usr.bin/mandoc mdoc_macro.c

Fix two issues causing a class of assertion failures found by jsg@ with afl.
1) rew_sub(): Make sure REWIND_MORE is acted upon even when followed by
REWIND_NONE.  This prevents .It from ending up inside other children of .Bl.
2) blk_exp_close(): Only allow extension of .Bl when it has at least
one .It.  Otherwise, a broken child block could be moved in front of
the .Bl, effectively resulting in a .Bl that ended before it began.

LLVM — llvm/trunk/test/CodeGen/X86 cpus.ll

[x86] Change the test added in r223774 to first check the spelling of
the error message for a bogus processor, and then look specifically for
that error message using FileCheck.

I actually tried to write the test this way at first, but drew a blank
on how to ensure the error message stayed in sync (oops). Now that I've
recalled how to do that, this is clearly better.

It also fixes an issue with a malloc implementation that actually prints
to stderr in all cases, which was causing problems for some builders it
seems.
Delta File
+33 -26 llvm/trunk/test/CodeGen/X86/cpus.ll
+33 -26 1 file

FreeBSD Ports — head/security/tsshbatch Makefile pkg-descr

- Update to version 1.212 and thus unbreak (unfortunately, upstream does not
  keep old versions on their site, at least not for long enough)
- Sanitize -COMMENT, simplify installation of documentation files
- Consistently reformat first two paragraphs of pkg-descr so it produces less
  ragged right edge

NAS4Free — trunk/build CHANGES, trunk/build/ports/fusefs-ntfs Makefile

fix install path

pfSense — usr/local/www services_captiveportal.php

Use correct port for viewing portal page contents. Ticket #4125

pfSense — usr/local/www services_captiveportal.php

Use correct port for viewing portal page contents. Ticket #4125

LLVM — llvm/trunk/lib/CodeGen LiveIntervalAnalysis.cpp

LiveIntervalAnalysis: No kill flags for partially undefined uses.

We must not add kill flags when reading a vreg with some undefined
subregisters, if subreg liveness tracking is enabled.  This is because
the register allocator may reuse these undefined subregisters for other
values which are not killed.

LLVM — llvm/trunk/lib/CodeGen LiveIntervalAnalysis.cpp

LiveIntervalAnalysis: cleanup addKills(), NFC

- Use more const modifiers
- Use references for things that can't be nullptr
- Improve some variable names

LLVM — cfe/trunk/lib/Parse ParseStmt.cpp

Removing an outdated FIXME; try block attributes are parsed with the rest of the statement 
attributes (as per the standard), and function-try-blocks may not have attributes. NFC.
Delta File
+0 -1 cfe/trunk/lib/Parse/ParseStmt.cpp
+0 -1 1 file

OpenBSD Ports — textproc/hs-heist Makefile distinfo, textproc/hs-heist/pkg PLIST

Update to hs-heist-0.13.1.2.

LLVM — llvm/trunk/tools/lto CMakeLists.txt

Unbreak cmake build with shared libraries enabled.

OpenBSD Ports — security/hs-tls Makefile, security/hs-tls/pkg PLIST

Fix plist and bump

LLVM — lldb/trunk/source/Core ValueObject.cpp

Cleanup some redundant code

OpenBSD Ports — security/hs-pwstore-fast Makefile, security/hs-pwstore-fast/pkg PLIST

Fix plist and bump

OpenBSD Ports — devel/hs-uuid Makefile distinfo, devel/hs-uuid/pkg PLIST

Update to hs-uuid-1.3.6.

NAS4Free — trunk/build CHANGES, trunk/build/scripts hastswitch carp-hast-switch

fix wrong variable in HAST script

FreeBSD — head/sys/arm/ti ti_sdhci.c, head/sys/dev/sdhci sdhci.c sdhci.h

Add a new sdhci quirk, SDHCI_QUIRK_WAITFOR_RESET_ASSERTED, to work around
TI OMAP controllers which will return the reset-in-progress bit as zero if
you read the status register too fast after setting the reset bit.

The zero is apparently from a stale snapshot of the internal state presented
in the interface register, and leads to a false indication that the reset
is complete when it either hasn't started yet or is in-progress.  The
workaround is to first loop until the bit is seen as asserted, then do the
normal loop waiting to see it de-asserted.

Submitted by:        Michal Meloun <meloun at miracle.cz>

FreeBSD Ports — head/net/ntp-devel Makefile

Forbid due to http://www.kb.cert.org/vuls/id/852879.

Security:        VUXML: 4033d826-87dd-11e4-9079-3c970e169bc2
Security:        http://www.kb.cert.org/vuls/id/852879
Security:        CVE-2014-9293
Security        CVE-2014-9294
Security        CVE-2014-9295
Security        CVE-2014-9296
Delta File
+2 -0 head/net/ntp-devel/Makefile
+2 -0 1 file

FreeBSD Ports — head/net/ntp pkg-plist Makefile, head/net/ntp/files patch-include__ntp_net.h patch-ntpd-ntp_io.c

Update 4.2.6p5 --> 4.2.8

Security:        VUXML: 4033d826-87dd-11e4-9079-3c970e169bc2
Security:        http://www.kb.cert.org/vuls/id/852879
Security:        CVE-2014-9293
Security        CVE-2014-9294
Security        CVE-2014-9295
Security        CVE-2014-9296

FreeBSD — head/sys/dev/sdhci sdhci.c sdhci.h

When command and data interrupts have been aggregated together, don't do
the data-completed processing if a command-error interrupt is also asserted.

Reviewed by:        Michal Meloun <meloun at miracle.cz>

NAS4Free — trunk/build/scripts carp-hast-switch

decrease wait time

FreeBSD Ports — head/security/vuxml vuln.xml

Document ntp multiple vulnerabilities.
Delta File
+45 -0 head/security/vuxml/vuln.xml
+45 -0 1 file

OpenBSD — usr.bin/mandoc html.c

resolve some code duplication; no functional change
Delta File
+19 -27 usr.bin/mandoc/html.c
+19 -27 1 file

Bitrig — sys/arch/arm/mainbus mainbus.c, sys/arch/armv7/armv7 clock.c

arm: simple implementation to attach fixed clocks from fdt

Bitrig — sys/arch/arm/arm fdt.c, sys/arch/arm/include fdt.h

fdt: Implement a simple way to find a node by phandle.

FreeBSD Ports — head/devel Makefile sdl2pp, head/devel/sdl2pp Makefile pkg-plist

This library provides C++11 bindings/wrapper over a subset of SDL2
functions with extra features proided with modern C++ such as:

* RAII-style initialization and destruction
* Full error checking: exception is thrown if any SDL function
  fails. Exception itself allows to retrieve SDL error string
* C++11 move semantics support, which allow you to store SDL objects
  in containers and pass/return them by value with no overhead

WWW: https://github.com/AMDmi3/libSDL2pp

FreeBSD — head/sys/modules/geom/geom_sched/gsched_rr Makefile

Remove comments relevant to 6.x only.

Bitrig — sys/arch/arm/arm fdt.c

fdt: don't crash if we didn't find a node

If we're looking for a node by name and have not found it,
make sure we don't crash when the node's name ptr is null.
Delta File
+3 -0 sys/arch/arm/arm/fdt.c
+3 -0 1 file

LLVM — llvm/trunk/lib/Target/Mips MipsFastISel.cpp

Remove unused variable and initialization.

FreeBSD — head/sys/geom/sched subr_disk.c g_sched.c, head/sys/modules/geom/geom_sched/gs_sched Makefile

Remove support for FreeBSD 7 and really old FreeBSD 8. The classifiers
have been in the base for a while, so the gymnastics here aren't
needed. In addition, the bugs in subr_disk.c have been fixed since
2009, so there's no need for an identical copy of it in the tree
anymore. There's really no need to binary patch g_io_request, so let's
get rid of the code (not compiled in anymore) lest others think it is
a good idea.

LLVM — cfe/trunk/lib/Driver Tools.cpp

Driver: hoist an assertion

Remove an unnecessary conditional, hoisting the assertion.  Minor style
tweaks/reflowing.  NFC.
Delta File
+4 -10 cfe/trunk/lib/Driver/Tools.cpp
+4 -10 1 file

LLVM — cfe/trunk/lib/Driver Tools.cpp

Driver: refactor a local variable

Pull out a getToolChain() into a local variable to share the call across to all
the uses.  NFC.
Delta File
+10 -10 cfe/trunk/lib/Driver/Tools.cpp
+10 -10 1 file

LLVM — lldb/trunk/source/Host/posix PipePosix.cpp

No need to call SetErrorToErrno when pipe2 succeeds.

http://reviews.llvm.org/D6743