shatty
5bc7143bb9
fixed some casting bugs
...
fixed newline at end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 09:26:42 +00:00
shatty
de52c54764
fixed casting bugs (builds now)
...
also fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 09:20:04 +00:00
shatty
ce832bb128
fixed newline at end of file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 08:50:32 +00:00
shatty
4e2492b438
fixed newline at the end of file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 08:46:37 +00:00
shatty
76b04a8655
fixed newline at end of file
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 02:15:06 +00:00
shatty
648b25f2e1
added linkage line for be shared lib, building by jam works now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 02:13:34 +00:00
beveloper
106c88e9d2
some fixes to get it working on Gateway Profile 4 (ICH 4 chipset)
...
also experimental code for AD1886 (doesn't work)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 11:20:08 +00:00
Matthew Wilber
6092a116e9
moved the pixel conversion logic out of translate_from_bits_to_tgatc and into a new function (pix_bits_to_tga) in order to make the code easier to read and easier to add the option for saving as RLE compressed TGAs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 00:59:39 +00:00
Matthew Wilber
2ac3396c5d
change the names of the member variables to use the OpenTracker guidelines rather than the MFC-ish m_ notation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 00:56:25 +00:00
Matthew Wilber
ba97a8bdec
changed the names of the member variables to use the OpenTracker guidlines instead of using the MFC-ish m_ notation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 00:55:45 +00:00
shatty
232527b282
corrected nit in AbstractFileInterfaceAddOn.h
...
added demultiplexer to Jamfile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 02:33:27 +00:00
shatty
0216fe7112
util functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 02:28:49 +00:00
shatty
a1eca89c99
broke out util-style functions into separate misc files.
...
also corrected some comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 02:28:12 +00:00
shatty
30747068b4
broke out util-style functions into separate misc file
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 02:27:01 +00:00
shatty
728a8c7497
it compiles
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 02:25:35 +00:00
shatty
d5525d8c93
initial (non-working) commit
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-20 05:53:23 +00:00
Philippe Houdoin
f5826b35dc
Stick with net_stack_driver name, not simply "stack"!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-19 23:25:58 +00:00
Philippe Houdoin
45077455b7
Ooops, missing #endif at end of file
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-19 23:24:28 +00:00
shatty
4895a3a9e0
added some format re-negotiation code for SetRef, moved lib functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-19 20:19:55 +00:00
shatty
981e41277b
fixed debug fprintfs, comments, and a type cast.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-19 07:13:37 +00:00
shatty
dc44d571b3
fixed debug fprintfs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-19 07:11:43 +00:00
shatty
d25a7b31f6
implemented preliminary format re-negotiation for SetRef. re-ordered
...
library functions. fixed some debug fprintfs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-19 07:11:21 +00:00
Matthew Wilber
a2ad856f52
added extra buffering to improve RLE image load times
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-19 03:01:37 +00:00
Matthew Wilber
38bf7c3d50
added extra buffering to RLE image processing to improve performance
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-19 03:01:05 +00:00
Matthew Wilber
6ecc367b9f
initial check in
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-19 02:59:59 +00:00
Matthew Wilber
1f10fa18ae
initial checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-19 02:59:26 +00:00
shatty
378762da1d
fixed crashing bug by computing and setting internal latency properly
...
and checking buffer validity when a buffer is received. removed the
downstream latency variable because there is no downstream from this
node. also added helpful comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-18 07:37:15 +00:00
shatty
39a0622e4b
fixed buffer period calculation bug.
...
changed start_time to be TimeSource()->Now().
added some helpful comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-18 06:26:44 +00:00
Matthew Wilber
6085f1efd6
removed a few areas of redundancy and attempted to improve performance
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-18 02:44:24 +00:00
Matthew Wilber
6b1d82e29e
Added support for opening RLE compressed TGA images
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-18 00:15:03 +00:00
Matthew Wilber
1538999d55
added support for opening RLE compressed TGA images
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-18 00:14:38 +00:00
shatty
7229ad13fc
removed unnessary status_t variable
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-17 07:37:40 +00:00
Axel Dörfler
2b5451f164
Added private non-implemented copy constructor and assignment operators
...
for many classes for the sake of completeness.
Added a Transaction::IsStarted() method to not let it look like as if the
transaction is started more than once.
Changes made after suggestions from Mike Nordell, again :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-17 01:26:18 +00:00
shatty
45ed7b19fd
changed allocation scheme
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 22:01:44 +00:00
Philippe Houdoin
59e1220c9b
Now building, sorry, will build the net stack driver addon as "net_stack_driver"
...
instead of the too shorter "stack", which incidently fix a target dependency issue
with the STL stack header.
Wait. No. It's the reverse! :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 19:55:54 +00:00
Axel Dörfler
6829a19b3f
Now bfs_write() also don't trigger any notifications during write access
...
on uncached files (might be needed for the VM file).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 16:09:36 +00:00
Axel Dörfler
a00ac4bc29
bfs_write() called Volume::WriteCachedBlocksIfNecessary() also on uncached
...
files which might cause troubles with the VM file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 16:06:22 +00:00
Axel Dörfler
d801dfdd1c
Added CachedBlock::BlockSize(), and CachedBlock::BlockShift() methods as
...
suggested by Mike Nordell.
Some code cleanups, added a comment in Inode::SetFileSize() to point out
that Stream<Cache>::WriteAt() denies growing the file size its own.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 16:03:05 +00:00
Axel Dörfler
850b731e4d
Some small cleanups.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 15:13:54 +00:00
Axel Dörfler
fb34ad79d7
Added a missing check of the return value of a cached write in
...
Inode::FillGapWithZeros(), pointed out by Mike Nordell.
Note, that function is currently not used.
Some smaller cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 15:13:23 +00:00
Axel Dörfler
502d10e3ff
Mike Nordell pointed me to the fact that BufferPool::ReleaseBuffers() didn't
...
free anything if it couldn't acquire the semaphore.
That allowed me to get aware of a possible bug in the destructor :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 15:07:36 +00:00
shatty
e49967f361
missed comment now entered
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 05:46:51 +00:00
shatty
8811eeb6aa
fixed for connecting and crashing bugs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 05:45:42 +00:00
shatty
2a6deaf6c4
Fixed allocation problem.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 05:17:06 +00:00
shatty
ca6f35b121
Fixed allocation problem and removed out-of-date parameter lines.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 05:16:24 +00:00
Matthew Wilber
a34a6d9c9f
added capability to open 15, 16, 24 and 32 bit "true color" TGA images and 8-bit color mapped TGA images
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 03:33:58 +00:00
Matthew Wilber
343a35cc2d
added capability to open 15, 16, 24, and 32-bit "true color" TGA images and 8-bit color mapped TGA images
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 03:33:15 +00:00
shatty
794887f87f
uses abstract file interface node now
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 03:31:02 +00:00
shatty
242094db6d
abstract file interface node used for reader and writer
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 03:29:54 +00:00
Ingo Weinhold
35c2a0d5f7
Commented out subdir stack, as it currently doesn't build anyway.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-15 20:58:51 +00:00
Matthew Wilber
f124f0a2a1
initial program check in
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-15 04:11:43 +00:00
Matthew Wilber
9d1ceba3bd
initial Jamfile check in
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-15 04:07:24 +00:00
Matthew Wilber
dff79725e4
Fixed conversion from B_RGB16_BIG to BMP, I had a 1 where I was supposed to have a 0
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-15 02:48:41 +00:00
shatty
7eb88330cf
repaired damage done by cvs commit of writer into this dir.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-14 13:57:39 +00:00
shatty
9262d3ec4f
accidently committed to wrong dir. now in "writer" dir.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-14 13:54:29 +00:00
shatty
389207789b
initial commit. can be instantiated in cortex and can connected to the reader node.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-14 13:51:27 +00:00
shatty
8cd0aa93ba
first building node that can be instantiated in cortex with connector
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-14 13:33:30 +00:00
shatty
912d7a22e2
Added writer to jamfile.
...
Made some robustness improvements to mediareader based on things
that I noticed while doing mediawriter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-14 13:32:18 +00:00
shatty
6836f3623e
fileproducer -> reader
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-14 10:48:17 +00:00
shatty
820c41b91e
Renamed from fileproducer to reader, both classes and directories
...
Don't bother looking at fileproducer since there are no versions there
beyond the initial commit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-14 10:47:24 +00:00
shatty
9b0a15bb06
changed fileproducer to reader
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-14 10:42:01 +00:00
shatty
38fb7dfa99
renamed class and directory to "reader" and MediaReader
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-14 10:40:42 +00:00
shatty
8c5a53fbe5
initial commit
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-14 10:01:19 +00:00
shatty
abbf22f13e
include fileproducer when building
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-14 10:00:14 +00:00
Axel Dörfler
b8cb2cade8
B_CUR_FS_API_VERSION must be 2 on R5; so you need to build it on Dano if
...
you want to use it for booting Dano.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-14 01:10:33 +00:00
Axel Dörfler
ccc09203a5
Added power management functions to support Dano (needed to boot Dano using
...
our file system):
- added bfs_wake_vnode(), and bfs_suspend_vnode()
- bumped B_CUR_FS_API_VERSION to 3 as needed for Dano
It should now be able to boot Dano with our BFS, although I haven't tested
it. The information was gained using some degree of reverse engineering...
It won't be part of the BFS implementation for OpenBeOS (that won't run on R5
anymore) :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-11 01:03:35 +00:00
Axel Dörfler
f1e38490eb
If debugging is disabled and the "release build" of BFS is done, optimization
...
is no only "-O1", since gcc obviously produces bad code if compiled with more.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-08 17:08:45 +00:00
Axel Dörfler
a130fd5520
Inode::SetFileSize() now doesn't allow changing the file size of uncached
...
files anymore (only Inode::WriteAt() denied it before).
Introduced a BFS_NAME define to be able to switch easier between "obfs",
and "bfs".
bfs_write_stat() didn't return the error code if Inode::SetFileSize() failed;
instead, it always reported success.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-08 15:25:23 +00:00
Philippe Houdoin
085d0da283
Remove the misplaced current/src/add-ons/net/Jamfile and add the missing
...
current/src/add-ons/kernel/drivers/net/Jamfile so the network stack driver
will access to build party.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-07 23:21:28 +00:00
DarkWyrm
9cf7b05e49
Removed SRect and SPoint as per Erik
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-07 11:29:02 +00:00
Axel Dörfler
b98d9a335a
Fixed two bugs in the block allocator:
...
- the maximum number of blocks a block_run can cover is 65535 not 65536
- allocations over a block boundary in the block bitmap always failed due
to a incorrectly handled status
Both bugs could prevent BFS to create the VM swap file which led BeOS to
stop booting under certain circumstances.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-07 02:44:42 +00:00
beveloper
90abd04b34
Change int into status_t, and other changes for better BeOS type compatiblitly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 02:19:22 +00:00
Axel Dörfler
35931182a2
Finally implemented growing in the double indirect range.
...
Tested, and works - we are now feature complete (and now for the bugs... :-)).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 02:10:34 +00:00
beveloper
f817f7d9ac
convert int into status_t
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:28:31 +00:00
beveloper
5813c3dff5
correct a few names.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-02 14:37:38 +00:00
beveloper
0170038a31
better codec detection and allow codec specific functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-01 21:23:57 +00:00
Philippe Houdoin
0e29915606
Ooops, forgot these initial network kernel stack protocoles modules Jamfiles...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-29 08:08:58 +00:00
Philippe Houdoin
5de6083d95
Network stack kernel modules moved to /current tree.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-29 08:07:10 +00:00
Philippe Houdoin
c374d17e22
Changes in the network kernel modules source tree: removing misnamed and/or misplaced
...
old one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-29 07:36:01 +00:00
Philippe Houdoin
c5b60ec4fd
The network stack "kernel" modules was previously misplaced under the
...
misnamed /current/src/add-ons/net directory.
Should be into /current/src/add-ons/kernel/network, as they are *kernel* modules add-ons
and as they all share the "network/" prefix in their respective module names.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-29 07:23:59 +00:00
ejakowatz
25523b6213
Jamfiles for the decorators.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-29 05:00:47 +00:00
Matthew Wilber
ff994c86da
changed the BMP -> Be Bitmap translation to always store 0xFF (opaque) as the alpha value for each pixel in the image. this value should be ignored, so it shouldn't matter, but I did this so that the alpha value would not vary (which would make Unit Testing harder)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 02:53:53 +00:00
Philippe Houdoin
0fce772df1
Moving the network stack driver (/dev/net/stack) from old /net_kit/source/driver/
...
to /current repository
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-27 07:34:55 +00:00
beveloper
fd93cc35b3
reverted the latest change
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-26 14:49:16 +00:00
beveloper
32ffa52615
This solve some problems where the driver seemed to work, but you couldn't
...
hear any sound. Looks like certain chipsets use the optional aux output,
instead of line out
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-26 14:48:24 +00:00
DarkWyrm
c4139be9fd
Added support for decorator builds
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 21:28:38 +00:00
DarkWyrm
30e06bbf03
Initial checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 21:27:50 +00:00
Axel Dörfler
2d38e3f603
The beginning of letting a stream grow into the double indirect range.
...
Not yet finished, nor tested, but almost complete :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 15:52:21 +00:00
Axel Dörfler
bc62229fce
Volume::Free(), and BlockAllocator::Free() now pass the block_run by value
...
rather than by reference.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 15:51:03 +00:00
Axel Dörfler
ba04be1db0
Fixed the dirent.d_reclen calculation - define KEEP_WRONG_DIRENT_RECLEN to
...
enable the old and compatible behaviour (on BeOS R5, all available file
systems seem to do that wrong).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 13:31:04 +00:00
beveloper
ea83877f0b
David Shipman provides this update to the audio mixer add-on
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 12:43:06 +00:00
beveloper
33d6854bee
changed codec detection and special ICH4 handling
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-17 19:59:33 +00:00
beveloper
15ea765d53
Change debugging routines, add more ICH4 support, add tertiary codec support.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-15 21:33:17 +00:00
beveloper
6c3c3848cc
This should fix problems with ICH4 chipsets.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-15 13:54:21 +00:00
Axel Dörfler
ba5530fdc9
Now only "jam install" triggers the installation of bfs (in this directory only).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 22:50:45 +00:00
Axel Dörfler
8a1faae799
Fixed the build process of bfs; -g and -O2 don't mix well together...
...
To enable debug output, type:
$ DEBUG=1 jam
Also, it's now automatically installed in /boot/home/config/add-ons/kernel/file_systems
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 22:10:06 +00:00
Matthew Wilber
8678adcbd9
Marcus Overhagen pointed out that I had no idea how memset worked, so I fixed that problem by not using memset at all and used memcpy instead
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 02:16:20 +00:00
Matthew Wilber
4f3f050465
added some code that allowed buggy images from Photoshop 6.0.1 to work, fixed RLE pixel skipping code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 21:54:31 +00:00
Axel Dörfler
ae38c6e93d
Fixed a bug that could lead to the wrong last_modified time in an inode;
...
bfs_close() updated the last_modified time & index, but it didn't write
the inode back to disk.
Furthermore, bfs_write() should have already updated the last_modified
time, not bfs_close.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 21:49:03 +00:00
Axel Dörfler
e238bce6f5
BufferPool::ReleaseBuffers() didn't set fFirstFree correctly.
...
Setting uncached access to a file no longer returns an error (if it succeeds).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 16:55:12 +00:00
Axel Dörfler
ee77e6d68f
Implemented uncached access for files (untested though).
...
Uses a template class to provide generic access to the file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 16:29:46 +00:00
Axel Dörfler
6a2e071075
Fixed compilation (stupid me :-).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 21:41:12 +00:00
Matthew Wilber
c25a647b79
added SubInclude ... translators so that Translators would be built when building from the root of the tree
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 14:51:28 +00:00
Matthew Wilber
94b76b85a6
Initial check in, allows translators to be found when doing a build from the current directory
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 14:46:34 +00:00
beveloper
294ad0679f
include the mixer when building
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 00:01:09 +00:00
beveloper
00cffa1ce7
David Shipman started implementing the BeOS system audio mixer.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:55:28 +00:00
Axel Dörfler
beddff0f56
Replaced opendir.c with directory.c, implemented chdir(), fchdir(), and
...
getcwd().
Introduced new xyz(int fd, char *path, ...) style of functions for
sys_setcwd(), and sys_write_stat().
Added missing sys_fstat(). Removed duplicated prototypes in syscalls.h
Fixed some minor bugs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 20:20:28 +00:00
Axel Dörfler
533bfa8744
Updated Jamfile to compile "bfs" rather than "befs"
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 01:34:27 +00:00
Axel Dörfler
40f7fd6cf3
Implemented the basics to allow uncached file access under BeOS.
...
This is needed for the VM swap file and if you want to mount disk images
located on the BFS volume.
There is now a BufferPool class that manages a pool of buffers, so that
Inode::ReadAt()/Inode::WriteAt() can access a file without having to use
the cache or malloc()/free().
The real uncached file access is not yet implemented, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 01:23:04 +00:00
Axel Dörfler
e57d105cfe
Moved the befs/ directory and contents to bfs/ (hey, this is not linux :-).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 23:25:01 +00:00
Axel Dörfler
c42ee13401
Initial revision
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 23:14:13 +00:00
Matthew Wilber
cb8100931b
removed the Translator rule because it is now in the Jamrules
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 00:51:22 +00:00
Axel Dörfler
f7bfd5f065
The '|' character didn't work (fixed by geist).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 07:09:37 +00:00
Matthew Wilber
abcf3e8a75
changed translator quality and capabilities to more reasonable levels
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-01 21:23:04 +00:00
Matthew Wilber
9c95784eb3
change translator quality and capabilities to more reasonable levels
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-01 21:22:27 +00:00
Matthew Wilber
430ea6f8f2
now this Jamfile actually builds the BMPTranslator and stores it in its proper location
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-01 16:15:35 +00:00
Matthew Wilber
32babc5581
added more error checking to prevent corrupt BMPs from crashing the translator, change the RLE decoder to allocate one row of dynamic memory for the bits output rather than allocating memory for the entire bits file, hopefully improved the performance of the RLE decoder
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 16:26:08 +00:00
Matthew Wilber
d4bad2fdb8
changed many of the variable names to more descriptive ones, made the code better match the OpenTracker guidelines
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 16:24:12 +00:00
Matthew Wilber
5c4b18219f
Initial program check in, doesn't quite work yet
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 01:30:54 +00:00
beveloper
08d3f7d47c
Add user friendly debugging, and enable an external amplifier.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 22:16:23 +00:00
Matthew Wilber
72cb92ebd0
added some comments
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 20:44:31 +00:00
Matthew Wilber
349850dcd1
added some comments and improved loading performance for uncompressed BMPs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 20:42:17 +00:00
Michael Pfeiffer
91673bab4a
Set printer driver name to "PDF Writer".
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:29:29 +00:00
Michael Pfeiffer
7669b41566
Renamed pattern to pattern0 because of name clash.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:24:18 +00:00
Michael Pfeiffer
cdc8e14b40
Add resources to driver.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:21:52 +00:00
Matthew Wilber
88c56012c8
attempted to improve the performance of opening 24-bit BMPs and prevent locking up the system when opening 100 MB BMP files.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 02:22:37 +00:00
Matthew Wilber
0e69d33592
removed unused functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 01:49:54 +00:00
Matthew Wilber
09225bd67e
changed text message
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 01:49:19 +00:00
Matthew Wilber
19b1280331
removed unused structs, added MakeConfigurationView, added some headers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 01:48:40 +00:00
Matthew Wilber
e842e0f369
added support for OS/2 BMPs, changed 8-bit Be Bitmap files to be converted to 8-bit BMPs instead of 24-bit BMPs, added MakeConfigurationView, cleaned up some code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 01:47:54 +00:00
Matthew Wilber
5cd9d8ef83
change the size of the view
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 01:45:57 +00:00
Matthew Wilber
ee10eff360
initial check in
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 00:15:04 +00:00
Matthew Wilber
7d661d1611
added support for converting 1-bit Be Bitmap files to 1-bit BMP files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 04:29:47 +00:00
David Reid
786e627791
Install the drivers into /boot/drivers instead of /boot/addons and
...
which allows better seperation and stops the module code trying to
load device drivers. This should speed up the boot a little and reduce
the debug messages that Marcus loves so much :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 02:00:16 +00:00
Matthew Wilber
67843ba9b0
added support for 8-bit Be bitmap images
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 01:53:22 +00:00
Matthew Wilber
6385fcb9ef
added #include <InterfaceDefs.h>
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 01:50:06 +00:00
Matthew Wilber
817a47b050
Added support for more Be Bitmap types and cleaned up code in general
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 03:09:13 +00:00
David Reid
96a445359a
remove digit from the build. Poor digit.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:29:20 +00:00
beveloper
01f8c701b9
removed volatile statements that should not be used with functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 10:56:08 +00:00
Matthew Wilber
ea91930473
Improved performance for converting non-compressed BMPs to the Be Bitmap format, reorganized the code and cleaned it up a bit.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 04:57:49 +00:00
beveloper
2d3138349f
Installing an interrupt handler in init_hardware() without
...
removing it is bad. Other small changes, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 00:41:56 +00:00
David Reid
bcfd132286
Change to the way that interrupts are called. These now are the correct
...
calls for the recent changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 18:36:14 +00:00
David Reid
161de6e63c
Add the ps2mouse.h header next to the code it deals with. It's not used
...
anywhere else...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 18:27:48 +00:00
David Reid
fd2ee3a598
Change to the interrupt handler return values.
...
Also, the style police have visited ps2mouse.c
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 16:02:58 +00:00
Matthew Wilber
ef6b469637
initial program check in
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 04:02:49 +00:00
Matthew Wilber
69c1e34fd7
initial program checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 04:02:24 +00:00
Tyler Dauwalder
2de17bd3e8
Ooops :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 01:09:06 +00:00
Tyler Dauwalder
aad997bd6c
Finished migrating Storage Kit tests to new framework.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 01:03:19 +00:00
David Reid
1a615d2c90
Some tidy up for the drivers we now include and load.
...
- add api_version to keyboard and ps2mouse
- remove some excessive debugging comments from random
- add back the last 2 NULL's for the device_hooks structure now we
actaully define them (iovec's are now available)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 12:13:24 +00:00
Ingo Weinhold
921de64350
Use R5KernelAddon instead of Addon.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 17:13:41 +00:00