Phil Greenway
48667b835c
Updated to include tput and clear (hope ive done it right)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 15:59:44 +00:00
Phil Greenway
cca694c746
Coded by Jan-Rixt Van Hoye
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 14:05:48 +00:00
Niels Sascha Reedijk
bce0d4191a
Fix various warnings
...
(trivial)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-20 13:20:34 +00:00
Tyler Dauwalder
74e4cc72e5
Missed a couple of renames...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-18 09:44:14 +00:00
Tyler Dauwalder
199f8661c1
- Started on child processing in _ProcessDirectory()
...
- OutputFile => FileStream
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-18 09:33:26 +00:00
Tyler Dauwalder
c35e033a76
- OutputFile.cpp => FileStream.cpp
...
- Added {Embedded,Extent,Simulated}Stream.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-18 09:32:12 +00:00
Tyler Dauwalder
5bdf9f4f7d
Initial checkin. SimulatedStream implementation that takes a list
...
of Udf::extent_address structs. Will be used for standard data
streams. Mostly complete, completely untested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-18 09:31:10 +00:00
Tyler Dauwalder
2019a4454a
Initial checkin. SimulatedStream implementation that takes a single
...
offset and length. Will be used for data streams embedded in icbs.
Mostly complete, completely untested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-18 09:29:28 +00:00
Tyler Dauwalder
0ab79adc28
Initial checkin. Partially abstract base class for a DataStream object
...
that simulates a contiguous stream out of one or more not-necessarily-
contiguous extents in another stream. Fully implemented, completely
untested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-18 09:27:54 +00:00
Tyler Dauwalder
36f786dc8f
Initial checkin. Abstract BPositionIO subclass with handy new output methods
...
previously introduced by OutputFile class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-18 09:19:09 +00:00
Tyler Dauwalder
400ac2abb4
Made FileStream a subclass of new DataStream class instead of BFile.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-18 09:17:46 +00:00
Tyler Dauwalder
dad4d2580c
Renamed OutputFile to FileStream
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-18 09:16:15 +00:00
Tyler Dauwalder
0259b78dca
- Added _NextUniqueId() and friends
...
- _ProcessDirectory() now allocates directory data and builds
and write directory icb.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-17 10:08:52 +00:00
Tyler Dauwalder
5c9556535e
- Reworked argument processing code
...
- Output filename must now be specified as command line argument
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-17 10:07:16 +00:00
Tyler Dauwalder
8ddc63e480
Added GetNextExtents()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-17 10:06:00 +00:00
Tyler Dauwalder
d0e9b5ac1b
- Added node_data struct
...
- Added root directory members
- Started on directory processing code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-16 10:07:28 +00:00
Tyler Dauwalder
e1a983a6ff
Added root directory parameter to UdfBuilder constructor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-16 10:06:24 +00:00
Tyler Dauwalder
23685249d7
Updated OnCompletion()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-16 10:05:51 +00:00
Tyler Dauwalder
25c2f3eb74
Added Statistics.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-16 10:05:08 +00:00
Tyler Dauwalder
251ce36f28
Initial checkin. Build statstics class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-16 10:04:43 +00:00
François Revol
0380884167
new command 'driveinfo' to dump block device information from ioctl, to help debugging drivers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-12 21:12:58 +00:00
François Revol
1a1ac7a563
fgets() coz Axel wants it :p
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-12 14:39:26 +00:00
François Revol
4cba418c34
fix buffer overflow on prompt, conditionalized floppy support.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-12 12:47:33 +00:00
Tyler Dauwalder
c9fec498f8
Spruced up program output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-12 07:09:24 +00:00
Tyler Dauwalder
fe387f7131
- Added file set descriptor output to Build().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-12 06:38:36 +00:00
Tyler Dauwalder
8d48c8cffe
Added missing definition for dummyExtent constant.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-12 06:37:58 +00:00
Tyler Dauwalder
bf757e6cca
- Added physical partition allocator.
...
- Build() now writes logical volume descriptor and updates
the partition descriptor to have the proper partition length.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-11 06:11:39 +00:00
Tyler Dauwalder
aff8ada4dd
Added PhysicalPartitionAllocator.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-11 06:10:20 +00:00
Tyler Dauwalder
52368aac43
Added minimum block support needed by the physical partition allocator.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-11 06:10:03 +00:00
Tyler Dauwalder
afb8314a0e
Initial checkin. Handles allocation for data chunks in a Udf physical partition.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-11 06:06:21 +00:00
Tyler Dauwalder
92572bc3ae
Added udf partition descriptor output to Build().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-09 00:46:38 +00:00
Tyler Dauwalder
35947f6f39
- Added Tail()
...
- Turned on some debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-09 00:45:36 +00:00
Tyler Dauwalder
1710b16f9b
- Added build time variables
...
- Finished building and writing of udf primary volume descriptors.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-07 08:24:59 +00:00
Tyler Dauwalder
a7c7b46282
Changed default unnamed volume name for shits and giggles.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-07 08:24:07 +00:00
Tyler Dauwalder
4c8484c911
- Added volume name members.
...
- Reformatted constructor to be more linear.
- Added majority of primary volume descriptor setup to Build().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 08:32:51 +00:00
Tyler Dauwalder
bc5d496f81
Added volume name parameters passed to UdfBuilder constructor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 08:31:43 +00:00
Tyler Dauwalder
dce2dc5cab
CS0String -> UdfString
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 08:29:13 +00:00
Tyler Dauwalder
37e1ff91ea
Moved allocation location of reserve vds from immediately following
...
primary vds to immediately preceding the anchor at block 256, since
this puts more distance between the two vdses.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 06:28:33 +00:00
Tyler Dauwalder
076a53fcd3
Build() now gets as far as reserving volume descriptor sequence space
...
and writing the anchor at block 256.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 05:41:59 +00:00
Tyler Dauwalder
c8e155bd68
- Added VERBOSITY_MEDIUM support.
...
- Turned on iso9660 output by default for the time being (i.e. while still developing).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 05:41:05 +00:00
Tyler Dauwalder
d53c774c1d
Added VERBOSITY_MEDIUM.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 05:40:07 +00:00
Tyler Dauwalder
424632eb6d
Added identing for MEDIUM and HIGH verbosities.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-05 05:39:34 +00:00
Niels Sascha Reedijk
b9a05f7f4c
Summary: Fix a lot of warnings in apps (merge from fixes-branch)
...
Keywords:
Patches applied:
* [email protected] /bin-applications--fixes--0.1--base-0
tag of [email protected] /bin-applications--mainline--0.1--base-0
* [email protected] /bin-applications--fixes--0.1--patch-1
Fix warning
* [email protected] /bin-applications--fixes--0.1--patch-2
Fix warning in roster.cpp
* [email protected] /bin-applications--fixes--0.1--patch-3
Fix warning in clipboard.cpp
* [email protected] /bin-applications--fixes--0.1--patch-4
Fix warning in shutdown.cpp (trivial)
* [email protected] /bin-applications--fixes--0.1--patch-5
Fix warnings in chop.c (trivial)
* [email protected] /bin-applications--fixes--0.1--patch-6
Trivial warning fix in eject.c
* [email protected] /bin-applications--fixes--0.1--patch-7
Trivial warning fix in hd.c
* [email protected] /bin-applications--fixes--0.1--patch-8
Trivial warning fixes in listarea.c
* [email protected] /bin-applications--fixes--0.1--patch-9
TRIVIAL: Fix warning in listimage.c
* [email protected] /bin-applications--fixes--0.1--patch-10
TRIVIAL warning fix in listport.c
* [email protected] /bin-applications--fixes--0.1--patch-11
TRIVIAL fix in listsem.c
* [email protected] /bin-applications--fixes--0.1--patch-12
TRIVIAL fix in mount.c
* [email protected] /bin-applications--fixes--0.1--patch-13
Trivial fix in prio.c
* [email protected] /bin-applications--fixes--0.1--patch-14
TRIVIAL changes in ps.c
* [email protected] /bin-applications--fixes--0.1--patch-15
TRIVIAL fix in renice.c
* [email protected] /bin-applications--fixes--0.1--patch-16
TRIVIAL fix for rescan
* [email protected] /bin-applications--fixes--0.1--patch-17
TRIVIAL fix in sysinfo.c
* [email protected] /bin-applications--fixes--0.1--patch-18
TRIVIAL fix in unchop.c
* [email protected] /bin-applications--fixes--0.1--patch-19
TRIVIAL fix in chkbfs
* [email protected] /bin-applications--fixes--0.1--patch-20
TRIVIAL fixes for listdev
* [email protected] /bin-applications--fixes--0.1--patch-21
TRIVIAL fixes in pc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-03 20:02:15 +00:00
Tyler Dauwalder
6d6064cebf
Added doxygen for new methods.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-03 08:58:49 +00:00
Tyler Dauwalder
20baf39617
- Added blocksize, blockshift, doudf, doiso, outputfile, outputfilename,
...
and initstatus member vars and supporting init code.
- Started work on Build(). Reserved area and udf vrs are now properly
created.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-03 08:46:57 +00:00
Tyler Dauwalder
a9919c4e03
Added blocksize, doudf, and doiso flags.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-03 08:44:26 +00:00
Tyler Dauwalder
02dc4e1e82
- Added Attribute.cpp and OutputFile.cpp to the build
...
- Added libbe.so to list of libaries to be linked to makeudfimage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-03 08:43:49 +00:00
Tyler Dauwalder
5de135b92e
Initial checkin. BDataIO wrapper around a single attribute in a file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-03 08:38:12 +00:00
Tyler Dauwalder
d33dc9d01f
Initial checkin. BFile subclass with some extra output functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-03 08:37:47 +00:00
Tyler Dauwalder
21ea9aea0c
Removed category stuff from UdfDebug.h since it ended
...
up not being as useful as I'd hoped, and I need to use the
same debugging macros for makeudfimage as for udf.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-03 05:14:44 +00:00