Commit graph

245 commits

Author SHA1 Message Date
inxi-svn
05b4010e28 (Big Version Change)
This fixes weak spots, bugs, and adds new features.

1. Fixed single core output for -C option, now correctly puts speed on same line
2. Fixed bug with some possible values for network card that makes line color trigger blue: Added space between values.
3. Fixed bug that makes livecds with aufs file system show all partition  information
4. Removed -F output of -f to avoid pointless irc spam
5. New option, -i - triggers when used alone -N, networking line, plus Wan IP address of system, and if ifconfig is 
installed, prints out all interfaces+ip addresses
6. Updated -h menu to reflect these changes.
7. Added 'driver' output for network cards, and fixed driver output for audio cards, so now only uses asound/cards data 
if single card detected. 
8. Moved 'ports' data to -x option, the geek only output that is.

This is the next major version release, 0.6.x
2008-11-21 22:32:27 +00:00
inxi-svn
5847140383 (no version change)
Made help menu slightly more readable by adding linebreak between categories
2008-11-19 20:35:09 +00:00
inxi-svn
ef6a1c8c17 (No Version Change)
Help menu tweak, don't worry about this one.
2008-11-19 20:32:11 +00:00
inxi-svn
9b6b627cbb Removed -H in normal output, my experience has shown me that exposing advanced testing options just leads users to do
things they shouldn't do. -H is only for devs, that is.
2008-11-19 20:10:52 +00:00
inxi-svn
fed12d9b2c bug fix, this is the real one 2008-11-19 19:59:05 +00:00
inxi-svn
d14b99d7dd (Change version)
Added more useful -H option, now triggers advanced testing option display as well as regular help
2008-11-19 19:57:14 +00:00
inxi-svn
6e30c9de1c Fixed small gawk bug, needed == rather than =. Nice to see gawk actually is clear, logical, and consistent. Unlike Bash. 2008-11-18 21:05:21 +00:00
inxi-svn
82ae968eda (No Version Change)
Added coding convention item
2008-11-15 23:33:03 +00:00
inxi-svn
3c6c270e68 Added towol fix for removing second line in alsa version output if compiled by second user 2008-11-14 20:26:15 +00:00
inxi-svn
4249f6980c (Change Version)
Found bug with audio, /proc/asound/cards can have modem which creates via space a new array
item.

Added filters for /modem/ in those spots.
2008-11-14 09:22:25 +00:00
inxi-svn
88452ba0c9 (Change Version)
Got a good rough working alsa driver going. This only works for one card, dual or more cards will simply
not show the driver field, but everyone with just one card will be able to see their running driver.

This is an ok compromise for now, but it wasn't super elegant.
2008-11-14 07:20:52 +00:00
inxi-svn
39e2c44af1 (no version change)
removed debugging echo
2008-11-14 03:37:36 +00:00
inxi-svn
1b3b91afb0 (change version)
This is as close as I can get to getting the alsa driver to show, but it only works if
lspci for audio comes up blank, that way we can use /proc/asound/cards for all the data
and extract the card and driver from that into an array.

But I can't see any way to match the full output of lspci if present with the card data
from /proc/asound/cards, because sometimes there is nothing in common between the two.

Maybe someone else can solve this one...
2008-11-14 03:32:47 +00:00
inxi-svn
4c5717cf81 (No Version Change)
Just changed Sound System: back to Sound Driver: - alsa on their webpage calls it a driver
2008-11-14 02:12:30 +00:00
inxi-svn
143a732b49 (Change Version)
Fixed extra data issue on alsa output, now etch on old laptop is also showing sound card by the way.

Removing (...date build...) string from alsa output if present, and removing trailing dot.
2008-11-14 01:49:58 +00:00
inxi-svn
3ea5671668 (change version)
Removed 'driver ' string and changed to gawk for smoother handling and consistency
2008-11-14 00:54:31 +00:00
inxi-svn
6cf526e231 (Change Version)
Added alsa sound output as well if the /proc file is found
2008-11-14 00:42:13 +00:00
inxi-svn
cc83b9eed4 (Change version)
Added new distro maintainer flag: B_ALLOW_UPDATE='true' as default. If set to false, it will shut off
the inxi script updating feature, and also turn off the display in -h of the -U option.

This seems a lot easier than having to remove code each release, which would get fairly tiresome.
2008-11-13 19:27:48 +00:00
inxi-svn
784d850121 (no version change)
removed some old debugging echo
2008-11-13 03:27:36 +00:00
inxi-svn
1a6888578b (Change Version)
Refactored script self updater error handling, removed duplicates and created single test cases.

Ok, enough is enough... heh, signing off now... enjoy, thanks to Cathbard for his patience, and 
and all the other people supporting this with their time.
2008-11-13 03:13:07 +00:00
inxi-svn
c247bde8dd (Change Version)
More future proofing, updated -! conditions to use more reasonable numbers:
1,2,3 -! are now setting testing booleans
10,11,12,http://.... now set alt downloads
2008-11-13 02:45:35 +00:00
inxi-svn
fbffdcd27d (No Version Change)
Changed B_TESTING_FLAG to B_TESTING_1 to cover future cases where we run multiple testing option
flags. These last changes are all for future development, none are related to currently active stuff.
2008-11-13 02:40:01 +00:00
inxi-svn
0b75156ce9 (No Version Change)
Added -! comments in header to explain two new -! options for branch downloads.
2008-11-13 02:36:26 +00:00
inxi-svn
9fa3ab4edb (no version change)
fixed typo
2008-11-13 02:28:42 +00:00
inxi-svn
3aa1ebfee1 (no version change)
Fixed redundant error inxi word, added error number to output, this should have been done long ago.
2008-11-13 02:20:20 +00:00
inxi-svn
30f749bc6d (Change Version)
Cleaned up and refactored download error handling, put it all in download function, out
of get_params, which should only set params, not execute special case code blocks. Sorry cathbard ;-)
2008-11-13 02:18:33 +00:00
inxi-svn
c848609967 (change version)
Fine tuned the branch download option error messages to better reflect the actual error.
2008-11-13 02:12:08 +00:00
inxi-svn
ccd62be018 (Change Version)
Improved bad download error handler message and options.
2008-11-13 02:03:04 +00:00
inxi-svn
6960738965 (change version)
Added two new testing options, svn branch one and branch two download run from urls.

Both are triggered by -!, -! 3 for testing branch/one and -! 4 for testing branch/two
2008-11-13 01:57:45 +00:00
inxi-svn
cc5fb242c4 (No Version Change)
Just some comment cleanups and small code cleanups.
2008-11-12 19:21:24 +00:00
inxi-svn
8978b3e48b (No version change)
Changed order in help menu, made D alphabetical, I missed that one...
2008-11-12 03:59:16 +00:00
inxi-svn
3688020946 (Change Version)
Fixed a fairly major bug with both short output handling and debugging output
in get_parameters.

Prevented proper handling of non line/F/d/v type options and short output.

Update scripts to this version, and hopefully that will be it for now.
2008-11-12 01:39:27 +00:00
inxi-svn
be6d736498 (no version change)
comments tweak
2008-11-11 23:45:59 +00:00
inxi-svn
1404ceca7d (No version change)
and added -q to testing wget as well...
2008-11-11 23:42:51 +00:00
inxi-svn
0ad0f3197b (No version change)
Added item to -v5 help menu.
2008-11-11 23:41:46 +00:00
inxi-svn
88ca162533 (No version change)
More cleanup of comments
2008-11-11 23:38:07 +00:00
inxi-svn
4b540d3c9b (no Version Change)
typo.
2008-11-11 23:37:20 +00:00
inxi-svn
3061f80d1a (change version)
Some last code cleanup, comment cleanup, tweaked a few small things.
2008-11-11 23:36:25 +00:00
inxi-svn
83a50c790a (Change Version)
For some reason, wget suddenly decided to show output, so added -q to script_self_updater function wgets
2008-11-11 20:04:33 +00:00
inxi-svn
a761abbda7 (Change Version)
This should be about it, some fine tuning of variables, distro id handling, and lsb file handling
2008-11-11 20:01:36 +00:00
inxi-svn
e158276f5e (Change Version)
Tiny change, removed 'Error data:' string from bad cpu core count to make output neater.
2008-11-11 19:42:01 +00:00
inxi-svn
241dc099b4 (Change Version)
Final step: moved the error output switch to end of get_parameters. This lets you trigger 
the debugger -@ <debug number> flag without having to actually alter the code of inxi 
manually.

This might occasionally create undesired error output, but that's a good thing, since
that error output should be seen so we can know what the error is.
2008-11-11 19:34:25 +00:00
inxi-svn
5c754f182b (Change Version)
Added -! unsupported argument error condition.
2008-11-11 19:12:24 +00:00
inxi-svn
a7d160d02d (No Version Change)
Fixed top comments a bit
2008-11-11 18:57:47 +00:00
inxi-svn
1fdc16d584 (Change Version)
Bug fix, removed scriptname from download path
2008-11-11 18:47:00 +00:00
inxi-svn
df2d91cb37 (Change Version)
This is now launching inxi as an official script. Changed the default download url
to get it directly from google svn. This means that users can always reference the
official svn copy to ensure that the code is what it claims to be.

Added for development purposes new advanced testing options:
-! 1 triggers the boolean testing flag
-! 2 triggers an alternative development download
-! http://<any website>/path_to_download_directory/ (note: must end in /, and not include 
  inxi file name
  
Updated the script_self_updater function to handle variable download urls, and added an
update message that lets the person know where the update source was.

Added error handler for user provided testing download urls, if not existing, exit.

And with this, I'm handing over control to the inxi project itself.
2008-11-11 18:37:09 +00:00
inxi-svn
6003c8a002 (Change Version)
Trying out defaulting to /etc/lsb-release unless it's mint in /etc/issue, that gives more accurate readouts
2008-11-11 07:01:29 +00:00
inxi-svn
881628d7f0 (Change Version)
Added fail option for sound card test, also check /proc/asound/cards for something too
2008-11-11 05:58:15 +00:00
inxi-svn
17031b8f10 (No Version Change)
Tweaked get distro lsb data a bit to avoid confusion in the future, but no change to handling.
2008-11-11 03:15:27 +00:00
inxi-svn
11e38953c4 (Change Version Number)
Small tweak to partition printout section to make things line up better.
2008-11-11 02:51:27 +00:00