| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>
Notes:
svn path=/head/; revision=267773
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Obtained From: DragonflyBSD
Notes:
svn path=/head/; revision=266117
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add missing el_end() call
Notes:
svn path=/head/; revision=265907
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Unbreak the -f option: it was missing a ':'
- gunits -V spits out more information than just its version: attempt to do so
as well.
Notes:
svn path=/head/; revision=265904
|
| |/
|/|
| |
| |
| |
| |
| | |
No need to replicate strdup
Notes:
svn path=/head/; revision=265903
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For better readability, don't compare pointers with 0 or assign 0
to them. Use NULL instead.
Inspired by: DragonflyBSD
Notes:
svn path=/head/; revision=264475
|
| |
| |
| |
| |
| |
| |
| | |
Inspired by: DragonflyBSD
Notes:
svn path=/head/; revision=264474
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For increased compatibility with GNU units: support a -v option which
produces more verbose output when spitting out the answer.
GNU -v does additional work in the version, information, and check output which
we do not (yet?) replicate.
Notes:
svn path=/head/; revision=264470
|
| |
| |
| |
| |
| |
| |
| |
| | |
For increased compatibility with GNU units: support a -U option which tests for the
existence of the default units file and prints it to the screen.
Notes:
svn path=/head/; revision=264463
|
| |
| |
| |
| |
| |
| |
| |
| | |
GNU units(1) supports reading up to 25 -f options. We support an arbitrary
number.
Notes:
svn path=/head/; revision=264462
|
| |
| |
| |
| |
| |
| |
| |
| | |
Parse the config file after setting the defaults to permit the user to change
things (e.g., editing mode)
Notes:
svn path=/head/; revision=264459
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add line editing and history support to units(1) via libedit.
Reviewed by: bdrewery
Notes:
svn path=/head/; revision=264458
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The units program is likely little used. It is even less likely that a script
will want the units program to print out its version number by passing -v.
GNU units uses -V for version and -v for verbosity.
Increase compatibility between these two versions (written by the same author)
by switching our flag as well.
Take this opportunity to remove bogus information about the version number and
just call it 'FreeBSD units'.
Discussed with: cperciva, rwatson
Notes:
svn path=/head/; revision=264216
|
| |
| |
| |
| |
| |
| |
| | |
Pointyhat to: me
Notes:
svn path=/head/; revision=264211
|
| |
| |
| |
| |
| |
| |
| | |
Most of these are also recognized by GNU units
Notes:
svn path=/head/; revision=264209
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=263940
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=263930
|
| |
| |
| |
| | |
Notes:
svn path=/head/; revision=263929
|
|/
|
|
| |
Notes:
svn path=/head/; revision=261555
|
|
|
|
|
|
|
| |
Reviewed by: brueffer
Notes:
svn path=/head/; revision=233510
|
|
|
|
| |
Notes:
svn path=/head/; revision=227194
|
|
|
|
|
|
|
|
|
|
| |
forgot to tell the man page we could now convert Celsius to Fahrenheit.
Approved by: re (kib)
MFC after: 1 month
Notes:
svn path=/head/; revision=225596
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
than linear relations. We can now convert degC to degF.
586 units, 56 prefixes
You have: 24 degC
You want: degF
75.2
You have: degC
You want: K
(-> x*1 +273.15)
(<- y*1 -273.15)
Notes:
svn path=/head/; revision=181786
|
|
|
|
|
|
|
|
|
| |
- Add comments about the pegged currencies.
Submitted by: GeJ on #bsdports
Notes:
svn path=/head/; revision=181357
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Merge changes from NetBSD and OpenBSD.
- Add the Euro as a primitive unit, add old converted currency and
pegged currency (Obtained from Wikipedia)
- Rename "dollar" to "usdollar" as primitive unit, remove non-pegged
currency and add pegged currency (Obtained from Wikipedia)
- Updated the accuracy of a lot of constants (Obtained from Wikipedia)
PR: bin/106545 bin/88252
Submitted by: trasz<trasz@pin.if.uz.zgora.pl>, J Vinopal <banshee@abattoir.com>
Approved by: bde@ (mentor)
MFC after: 1 week
Notes:
svn path=/head/; revision=181352
|
|
|
|
| |
Notes:
svn path=/head/; revision=141846
|
|
|
|
| |
Notes:
svn path=/head/; revision=140420
|
|
|
|
| |
Notes:
svn path=/head/; revision=131491
|
|
|
|
| |
Notes:
svn path=/head/; revision=131475
|
|
|
|
|
|
|
|
| |
PR: 61451
Submitted by: Tony Monroe <tmonroe+freebsd@nog.net>
Notes:
svn path=/head/; revision=129873
|
|
|
|
|
|
|
|
|
|
| |
solar radii. The corresponding masses (m_earth, etc.) were already
present.
Source: "An Introduction to Modern Astrophysics," Carroll & Ostlie.
Notes:
svn path=/head/; revision=122143
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://london.pm.org/pipermail/london.pm/Week-of-Mon-20030630/019926.html
For a definition, see:
http://www.bartleby.com/61/55/H0325500.html
Also add some more computing terms described at:
http://www.wikipedia.org/wiki/Integral_data_type
Reviewed by: dwmalone
MFC after: 2 weeks
Notes:
svn path=/head/; revision=117103
|
|
|
|
| |
Notes:
svn path=/head/; revision=100826
|
|
|
|
|
|
|
|
|
|
|
| |
(1.12) since the introductions as a common EU currency. Anyway, since
the rate now seems to stabilize just around 1.00, fix up our value
here.
MFC after: 1 day
Notes:
svn path=/head/; revision=99644
|
|
|
|
|
|
|
|
| |
Submitted by: banshee <banshee@pork.abattoir.com>
MFC after: 7 days
Notes:
svn path=/head/; revision=88125
|
|
|
|
| |
Notes:
svn path=/head/; revision=88064
|
|
|
|
| |
Notes:
svn path=/head/; revision=87700
|
|
|
|
| |
Notes:
svn path=/head/; revision=79755
|
|
|
|
| |
Notes:
svn path=/head/; revision=78698
|
|
|
|
|
|
|
|
| |
PR: 22885
Submitted by: Rene de Vries <rene@tunix.nl>
Notes:
svn path=/head/; revision=77566
|
|
|
|
|
|
|
| |
Approved by: murray
Notes:
svn path=/head/; revision=76524
|
|
|
|
|
|
|
|
| |
PR: 26631
Submitted by: Glenn Johnson, glennpj@charter.net
Notes:
svn path=/head/; revision=75941
|
|
|
|
| |
Notes:
svn path=/head/; revision=73259
|
|
|
|
|
|
|
|
|
|
| |
prefix recusrion bug. Remove units which can be derived using prefixes
and other units.
Add new prefixes for 2^10, 2^20, etc...
Notes:
svn path=/head/; revision=73230
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Fix a bug where the recursion on prefixes where if recusrion failed
then the next attempt started too far along the string.
2) Up some internal limits that we were about to hit off.
3) Change the constness and signedness of some things and complete missing
prototypes.
4) Remove the readerror function 'cos it could print out the wrong
wrong file name. Replace it with more useful error messages.
5) Use sizeof when passing buffers to fgets.
6) Warn about empty prefix definitions.
Reviewed by: iedowse
Notes:
svn path=/head/; revision=73229
|
|
|
|
|
|
|
|
| |
PR: 24369
Submitted by: Tony Finch <dot@dotat.at>
Notes:
svn path=/head/; revision=71104
|
|
|
|
|
|
|
| |
name if 'a' and 'b' are unit names. You can use 'a b' though.
Notes:
svn path=/head/; revision=70338
|
|
|
|
| |
Notes:
svn path=/head/; revision=70197
|
|
|
|
| |
Notes:
svn path=/head/; revision=68854
|
|
|
|
| |
Notes:
svn path=/head/; revision=65138
|