Commit Graph

1183 Commits

Author SHA1 Message Date
Axel Dörfler
6cf8d733aa just changed a comment in rootfs_open().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 09:51:51 +00:00
Tyler Dauwalder
e3a2f2069e + Added SetSupportedTypes() test
+ Modified BMimeType::SetSupportedTypes functionality so it keeps track of
stranded types (i.e. previously supported types that have not had the now
unsupporting app signature removed from their supporting apps list yet due
to a false fullSync parameter) over consecutive SetSupportedTypes(...,
false) calls and updates all appropriate stranded types on the next
SetSupportedTypes(..., true) call.
+ Added fullSync parameter to BMimeType::DeleteSupportedTypes
+ Made BMimeType::Delete() do a DeleteSupportedTypes(..., true) call to
properly update the supporting apps lists when a mime type is deleted.
+ Added initial BMimeType::Get/SetSnifferRule
+ Updated BMimeType::CheckSnifferRule() to return B_BAD_VALUE when passed
a NULL rule string.
+ Brought CheckSnifferRule() tests up to date
+ Added lots of Mime::Database doxygen
+ Added any missing mime monitor notifications in Mime::Database
+ Possibly made some other changes as well... :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 08:12:03 +00:00
Tyler Dauwalder
baa326e0ec Implemented Get/SetSnifferRule()
Added SetSupportedTypes() documentation
Removed a few unnecessary BMessage copies in a couple of functions


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 07:59:25 +00:00
Philippe Houdoin
60d8f409a2 Fix a possible crash in rootfs_free_cookie(). Thanks to Thierry Delhaise (befree)
for pointing this one.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 07:07:44 +00:00
Stefano Ceccherini
7c830dc497 More functions and bug fixes, and lot of code from Marc Flerackers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 06:50:28 +00:00
shatty
72e8e64eea *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 05:33:21 +00:00
shatty
9b2094065e *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 05:25:25 +00:00
shatty
9db49a7f65 *** empty log message ***
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 05:14:34 +00:00
jrand
fd9e0303b3 Add use cases and message implementation details for all "Item()" type member functions except
the AddItem() member function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 04:18:20 +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
jrand
3597a35dba Add use cases and implementation details for everything except the deskbar shelf management members.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-08 05:03:36 +00:00
ejakowatz
9a46cf2d9b BMallocIO's implementation has been moved from MallocIO.cpp (which is being
left for the time being) to DataIO.cpp.  Updated support.src to remove
MallocIO.cpp from the build list to prevent "already defined" errors.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-08 04:07:51 +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
jrand
9f9f4b0c19 Adding use cases for the BDeskbar class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-07 03:05:55 +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
Stefano Ceccherini
9a82280a11 Merged MallocIO.cpp with DataIO.cpp, some code refactoring,
and let a first, basic BString implementetation enter the game


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-06 07:14:43 +00:00
Stefano Ceccherini
6ad2c5a19c Added a first BString header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-06 07:12:06 +00:00
Axel Dörfler
911a288d35 Fixed a missing pointer initialization (found by Thierry).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-05 11:18:38 +00:00
shatty
0dd4de176e preliminary version: includes only extractor constants so far
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-05 09:21:41 +00:00
shatty
5975e64850 preliminary version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-05 09:14:09 +00:00
Michael Phipps
f89acd8e06 With this change, all memory except for the areaManager is allocated from the
one area that we allocate.
The areaManager should really be created when the process is created, so this
is something to wait for HW integration time.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-05 03:26:02 +00:00
beveloper
e4676f539b Removing the misplaced loop.c file.
The whole current/src/kernel/add-ons/ directoy should not be used.
The correct location for kernel add-ons is current/src/add-ons/kernel/


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-04 23:46:38 +00:00
shatty
b6c8a153ec discussion of various possible seek modes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-04 23:22:36 +00:00
Ingo Weinhold
5097cb0445 Documented usage of BBitmap::SetBits().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 16:59:24 +00:00
Ingo Weinhold
145ab60f00 Unfolded a function for debugging purpose.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 16:58:43 +00:00
Ingo Weinhold
76ba3434f8 Replaced applications of BBitmap::SetBits() by BBitmap::ImportBits().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 16:57:53 +00:00
Ingo Weinhold
7bb1eb8242 Fixed BLooper::UnlockFully(): It assumed benaphore style locking whereas semaphore style is used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 16:56:48 +00:00
beveloper
4b14055011 add some info about media kit notifications
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 06:52:35 +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
75c97114f7 Change int into status_t, and other changes for better BeOS type compatiblitly.
This change also introduces a lot of new warnings concerning printf format
anomalies. Please do NOT fix them. Currently, int32 (and also status_t)
is of type int, but it will be of type long (BeOS compatible) soon, and
these warnings will disasappear.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 02:09:48 +00:00
beveloper
b32c90d52b fix type mismatches
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:40: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
Ingo Weinhold
77bb876f71 libstorage.so is gone.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:14:11 +00:00
Ingo Weinhold
8093885593 Added BBitmap tests to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:13:45 +00:00
Ingo Weinhold
d821f8b21b Relative path of remote applications has changed when the actual unit tester executable has been moved into subdirectories.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:12:49 +00:00
Ingo Weinhold
435fb4275c Added documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:10:10 +00:00
Ingo Weinhold
698f7ac8ea Added BBitmap to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:09:44 +00:00
Ingo Weinhold
69b461cdbe Fixed typo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:09:20 +00:00
Ingo Weinhold
bb74cb4be5 Incorporated libstorage.so into libopenbeos.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:08:53 +00:00
Ingo Weinhold
cc3b892702 Storage Kit source files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:07:11 +00:00
beveloper
b29ceabb12 unbreak the kernel build :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 00:36:00 +00:00
beveloper
a294926ce0 more notification support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 00:05:43 +00:00
beveloper
0b5170a447 modified to support building of libnet
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 00:02:40 +00:00
Axel Dörfler
e1481ffc45 Two fixes from NewOS (change 1606 & part of 1612) that made it into the
VFS.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-02 14:57:33 +00:00
Axel Dörfler
3f8b94d3cd Incorporated the change 1619 into our tree. Cleaned up the source.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-02 14:49:20 +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
ejakowatz
3b90fe8733 This has been merged into DataIO.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-02 04:43:19 +00:00