Commit Graph

1238 Commits

Author SHA1 Message Date
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
Michael Phipps
8aabdd2043 More improvements. Does not run all tests, though - still have some locking issues
around clone area, I think. Still, much improved...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-16 03:14:44 +00:00
Ingo Weinhold
142126d657 Commented out BString, for it is buggy.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-15 21:00:04 +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
Michael Phipps
5fb6c38b6e Another checkpoint. Big one, this time.
Changed the whole way locking was done. What was I thinking?
Many changes and cleanup ideas from Ingo (thanks!).
Not perfect yet, but much better. Still a few things left to implement
in the COW arena - mmap doesn't use it. Also need to finish the vpageManager
which will cause mmap and cacheManager to use the same vnodes where possible.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-14 17:03:16 +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
François Revol
1f459f1f6a Added a nice animation. Ok, back to serious things now !
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-14 00:14:28 +00:00
Marc Flerackers
6f3c97ca49 Initial Checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-13 12:51:10 +00:00
François Revol
93bbc66aa2 Removed ShutdownWindow::Quit()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-13 11:44:25 +00:00
jrand
7f3de5c362 Add tests for Location(), SetLocation(), Frame() etc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-13 03:51:09 +00:00
François Revol
2f77eca4d8 Added catattr
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 23:09:36 +00:00
François Revol
3b3ca10775 Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 23:08:25 +00:00
François Revol
f59fb680cc better code for -f option
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 22:51:58 +00:00
François Revol
f6dda8fac6 fixed credit, typo
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 22:27:34 +00:00
François Revol
4453c0caef Added shutdown
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 21:55:27 +00:00
François Revol
7988a44fbb cleanup, licence, notes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 21:53:32 +00:00
François Revol
86cd46f680 Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 21:38:19 +00:00
Stefano Ceccherini
070e067332 Some new methods (Removing), some bug fixes, some optimisations.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 12:27:22 +00:00
jrand
46231bee2b Adding first test for BDeskbar.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 05:14:36 +00:00
jrand
30f7ca4eab Fixing some errors in the message descriptions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 04:47:16 +00:00
Matthew Wilber
76bfea45a3 Fixed bug that caused programs to crash when the default BTranslatorRoster is deleted, then the default BTranslatorRoster is used again
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 00:10:23 +00:00
beveloper
2be429a65d add extended pointer check to kfree
also initialize newly allocated memory with non zero (0xCC)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-11 12:44:48 +00:00
beveloper
e6d02b3a8b fixed a few bugs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-11 12:25:47 +00:00
beveloper
ea736e689e moved strlen out of min macro to avoid calling it twice
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-11 12:23:56 +00:00
Marc Flerackers
8f3e155417 Archive was overwritten with an older version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-11 06:44:19 +00:00