summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-11-13Support -man -Omdoc to format man(7) manuals in mdoc(7) output style;Ingo Schwarze
so far, this is only accepting the option, i will commit the (few) formatting tweaks separately. This is intentionally undocumented for two reasons: (1) We dream of making it the default at some point, so the option will hopefully go away again. (2) It is not needed for production, but mostly for automated man(7) to mdoc(7) output comparisons, to help -Tman development.
2011-11-13Make the default left text margin configurable from the command line,Ingo Schwarze
just like the default right margin already is. This may be useful for people with expensive screen real estate. Besides, it helps automated man(7) to mdoc(7) output comparisons to validate -Tman output. ok kristaps@ on an earlier version
2011-11-13/etc/rc.conf -> rc.conf(8)Antoine Jacoutot
ok jmc@
2011-11-13Rewrite the expression parser for a more concise syntax:Ingo Schwarze
apropos [search_type[,...]=]substring apropos search_type[,...][,i]~regex ... and expression evaluation must take the search type into account. This allows to: * drop the global -I option and * drop the enum match, just using a boolean int. "go ahead" kristaps@
2011-11-13Inventing new keywords for mostly the same thing when a well-establishedIngo Schwarze
set of keywords already exists is a bad idea, so reuse the mdoc(7) macro names as apropos(1) search types. This is a gain in brevity as well. Some time ago, kristaps@ agreed in principle. The search type bit field constants are used by both mandocdb(8) and apropos(1) and should better stay in sync, so give them their own header file.
2011-11-13Split the common code to be reused by other mandocdb clients,Ingo Schwarze
for example the future man.cgi, out of apropos.c (which still contains the apropos(1) main program, command line handling, and the terminal output formatter) into apropos_db.{h,c} (which now contains the database searching backend code). ... and actually commit the two new files. Oops.
2011-11-13Split the common code to be reused by other mandocdb clients,Ingo Schwarze
for example the future man.cgi, out of apropos.c (which still contains the apropos(1) main program, command line handling, and the terminal output formatter) into apropos_db.{h,c} (which now contains the database searching backend code). While here, * Drop the -e option; to search for exact strings, use REs. * Drop the -r option (more changes related to this coming soon). * Use the traditional -s and -S instead of inventing our own options. * Drop the sort option (at least for now), it got in the way. Written by kristaps@.
2011-11-13provide a specific section reference; from Lawrence TeoJason McIntyre
2011-11-13Fix two crashes that occur when walking very large (i.e. real-world) trees:Ingo Schwarze
1) Avoid excessive, needless recursion lest you overflow the stack; 2) Close dir file descriptors, lest you run out of descriptors. ok kristaps@
2011-11-12mark some arguments "const" that will not be changed; from kristaps@Ingo Schwarze
2011-11-12Parse and ignore the C font family in \f escapes.Ingo Schwarze
Helps with some real-world manuals that (incorrectly) assume that the C font family means "constant width". Suggested by Andreas Vogele, patch by kristaps@.
2011-11-12fix function names in fatalx() messagesCamiel Dobbelaar
ok mikeb
2011-11-12Unbreak tree after kettenis's sanitization in pcidevsPhilip Guenthe
ok krw@
2011-11-12- add avr32 which'll use gcc4/binutils-2.17Jasper Lievisse Adriaanse
- remove BINUTILS217_ARCH from Makefile.cross as bsd.own.mk is included there (requested by drahn@) ok drahn@ deraadt@
2011-11-12Satisfy -Wbounded.Paul Irofti
Patch gyped from nicm@'s and jasper@'s work on the gdb port.
2011-11-12Unscrew the cross-gcc build after the bounds warning addition.Paul Irofti
Pointed out by sthen@, LGTM jsing@.
2011-11-12Zero option processing stack storage to prevent stack garbage thatKenneth R Westerback
happens to look like options from being processed as options when truncated packets received. Potential problem pointed out by mikeb@, from a couple of NIST reports (CVE-2011-2748 and CVE-2011-2749).
2011-11-12Fix a commentClaudio Jeker
From Abel Abraham Camarillo Ojeda, reminded by Brad.
2011-11-12regenMark Kettenis
2011-11-12Sanitize NVIDIA SATA/AHCI/RAID IDs. Not all of these have been seen in theMark Kettenis
wild, but there is an obvious pattern. Fix a typo in one of the NVIDIA USB Ids while there. ok mikeb@ (a while ago)
2011-11-12sync to pcre 8.20Robert Nagy
2011-11-12update to 1.0.9Robert Nagy
2011-11-12update currency exchange rates;Jason McIntyre
2011-11-11A zero-length partition is a non-partition, so reject a partitionKenneth R Westerback
length of 0. And anyway PRT_fix_CHS() writes garbage when length is zero. Refresh the in-memory copy to reflect any data that was written out, so you can see that your changes have taken effect. Surprise behaviours noted by matthew@ at c2k11.
2011-11-11Remove a bogus check which dereferences an uninitialised pointer.Joel Sing
From Pedro Martelletto. ok krw@ mikeb@
2011-11-11When rebuilding check the size of the replacement chunk against theJoel Sing
coerced size rather than the physical size of another chunk.
2011-11-11hppa64 uses binutils 2.17.Joel Sing
ok kettenis@
2011-11-11Remove unused sv_sensor_valid variable.Joel Sing
2011-11-11When setting up a bootable softraid volume, do not try to save the bootJoel Sing
blocks or boot loader to chunks that are not online. ok mikeb@
2011-11-11Allow 64bit -> arm cross compilation as it appears safe (amd64 -> arm at least)Dale Rahn
include bsd.own.mk to get the correct compiler architectures (if only Makefile.cross is used)
2011-11-11Re-add overro board support. ok drahn@Matthieu Herrb
2011-11-11regenGleydson Soares
2011-11-11add support for HUAWEI Mobile E173sGleydson Soares
tested by me ok jsg@ sthen@ jmc@
2011-11-10Assert copyright; spotted by drahn@Uwe Stuehler
2011-11-10Missing UART irqs.Dale Rahn
2011-11-10Eliminate more useless differences between hppa and hppa64Theo de Raadt
2011-11-10setting COM_FREQ here is very wrongTheo de Raadt
2011-11-10Missing interrupts on gpio.Dale Rahn
2011-11-10mindless unification with hppa64; remove meaningless differences beforeTheo de Raadt
attacking the complicated stuff
2011-11-10Reduce autoconf(4) overuse on beagleUwe Stuehler
Renamed `ahb' to `omap' and extended it to configure the on-chip devices directly, based a board-specific table instead of trying to maintain addresses, interrupt numbers and such for two OMAP variants in the same config file. This may be an intermediate step, but should provide us some relief already. :) Suggestions from deraadt and drahn; ok drahn@
2011-11-10Recognize a few more v6 and v7 instructions.Miod Vallat
2011-11-10Use STDIN_FILENO instead of magic constant 0Charles Longeau
ok gilles@
2011-11-10Remove unused %s from a printf(), properly cast const void* to constKenneth R Westerback
int*. From Marco Trillo via tech@ long ago.
2011-11-10Fix bug where 'now' recomputation was incorrect,Dale Rahn
do not bother subtracting the old 'now' from the 64bit counters to determine which was sooner, add event counters for the clock/stat Do not have timers unless debugging the driver. Switch statclock to multiple of hz;
2011-11-10Fixed config_pending calls in sdmmc(4)Uwe Stuehler
Root on SD/MMC card did not work reliably because the config_pending state was cleared too early. This change will clear config_pending only after the card discovery has actually completed once. ok deraadt@ drahn@
2011-11-10Death to inappropriate whitespace. First one pointed out by Brad.Kenneth R Westerback
2011-11-10Deal with the register offset on omap4430 where the registers moved by 0x100.Dale Rahn
2011-11-10Add gumstix overo support. It's very similar to be beagleboard at thisMatthieu Herrb
point. So add it's card id and handle it like the beagleboard. ok drahn@, miod@
2011-11-09List some devices now supported by cdce(4).Stuart Henderson
2011-11-09Add support for UISUBCLASS_MOBILE_DIRECT_LINE_MODEL to cdce(4).Stuart Henderson
This is available with at least Ericsson-derived HSPA cards (e.g. Dell 5530/5540) and provides a nice alternative to using them in ppp mode. From Rivo Nurges (rix at estpak ee), ok jsg@