Commit Graph

728 Commits

Author SHA1 Message Date
Axel Dörfler
5ca8da7a4b Backported the new stack crawl command ("sc", not "bt" like in NewOS) from
NewOS. Untested yet, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 21:42:53 +00:00
Axel Dörfler
ef8d7092e8 Turns out that the old and unused redir_vnode was also still included here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 21:41:33 +00:00
Axel Dörfler
4c405cbdd4 The fs interface functions should now return a "status_t" rather than an "int".
Added syscalls for, and implemented sys_create_link(), sys_remove_dir().
Implemented link(), unlink(), rmdir().
Fixed the inconsistent path buffer handling in the user|sys vfs functions; the
path buffer is now exactly SYS_MAX_PATH_LEN from userland (incl. terminating
null byte).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 20:39:25 +00:00
Matthew Wilber
11e946307a made sure that when Translator add-on symbols are missing from the add-on they default to a NULL value
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 16:22:40 +00:00
matzon
1ee8035dab fixed: check for null when checking in/outputFormats
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 15:57:39 +00:00
matzon
77ff9d6038 added: obos header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 15:22:59 +00:00
beveloper
16b7eea41a Add some experimental media add-on instantiating support, more debugging and bugfixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 15:21:32 +00:00
matzon
9270876b99 fixed: now uses relative paths to find images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 15:20:48 +00:00
matzon
9de32c3ba4 added BitmapStreamTest
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 15:12:44 +00:00
matzon
90ba955b63 fixed: converted BitmapStreamTest to unittest
added BitmapStreamTest to suite


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 15:12:17 +00:00
matzon
fa883a5924 fixed: made jamfile actually build the relevant stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 14:34:26 +00:00
ejakowatz
54831cd6f1 Initial checkin for Gabe Yoder.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 14:02:00 +00:00
Axel Dörfler
854fc92a7c Implemented some more calls in unistd.h.
Replaced the unused syscall for getdtablesize() with one for access().
Implemented sys_access() and added it to the file system interface.
Removed the fs function interface from vfs.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 13:51:36 +00:00
Axel Dörfler
9c3e90a54e Removed the FS interface functions from vfs.h to a new file fs_interface.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 13:48:18 +00:00
matzon
606a8f7d9c tests converted into cppunit tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 13:35:20 +00:00
matzon
64296d1137 added translation kit test load thingy :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 13:34:04 +00:00
jrand
43cf7754a4 Add some test code for unflatten.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 05:17:55 +00:00
jrand
28543016bd Add some more tests for flattening BPropertyInfo classes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 05:02:46 +00:00
Matthew Wilber
d359a8f9ef Changed ReadAt() return codes so that when ReadAt() is called with pos >= the size of the BBitmap, it returns B_ERROR instead of B_BAD_VALUE. The BBitmapTranslator expects B_ERROR to be returned in this case and will return an error code as the result to the Translate call if B_ERROR is not returned.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 03:48:56 +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
beveloper
d6b71edf06 Updated to make media_addon_server work with the DormantNodeManager class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 00:38:09 +00:00
Michael Phipps
f85924fecf This fleshes out the HandleSetMousePosition() and the input_server now tracks the current position of the mouse cursor.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 23:32:30 +00:00
Andrew McCall
bd348b163b Added Keymap resource file with icon, and altered the Jamrules to build
with the new resource file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 23:29:03 +00:00
Andrew McCall
f34458b5ae Added ScreenSaver resource file with icon, and altered the Jam file to
add the icon.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 23:21:46 +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
beveloper
93fc5a2230 updated to use DormantNodeManager class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 20:13:29 +00:00
beveloper
9b9d18dc97 add header guards and two new functions to modify the stored data.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 20:10:24 +00:00
beveloper
16f59f6874 add header guards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 20:10:24 +00:00
beveloper
3a4bbc85c1 Start using a class for management and (perhaps later) caching of dormant media nodes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 20:08:07 +00:00
beveloper
e2c48499a6 Changed to use the DormantNodeManager class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 20:05:18 +00:00
beveloper
3ba329f7bf Start using a class for management and (perhaps later) caching of dormant media nodes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 19:38:19 +00:00
beveloper
867a12bf32 removed this file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 19:38:19 +00:00
beveloper
44213a4da5 Changed to use the DormantNodeManager class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 19:38:19 +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
Tyler Dauwalder
09d84e61b6 + Changed StorageKit namespace to BPrivate::Storage
+ Changed Sniffer namespace to BPrivate::Storage::Sniffer


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 08:42:01 +00:00
Tyler Dauwalder
82b7566525 Updated header guards to Be, Inc. style.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 07:24:02 +00:00
Tyler Dauwalder
64b563e06b Finally finished off GetSupportingApps() test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 04:20:31 +00:00
Matthew Wilber
72c21dd2d6 added some code that actually tests the BMPTranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 01:24:00 +00:00
Matthew Wilber
92c7babd9d added some test code that actually tests the BMPTranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 01:23:38 +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
Axel Dörfler
47b30e4a6a Fixed compilation of some BFS tests, caused by the move from befs/ to bfs/.
I will eventually move the tests to the bfs directory as well later.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 20:45:59 +00:00
Ingo Weinhold
36a3a8f023 Moved doxygen comments into the source file. Completed/extended/rewrote them. Changes to style and indentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 16:16:07 +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
Matthew Wilber
9956e82fbb uses OpenBeOS libtranslation.so during OpenBeOS test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 14:42:27 +00:00
Tyler Dauwalder
c5ff4aa6f5 It became apparent that in order to assure obos tests are run
with obos libs and r5 tests are run with r5 libs, two separate
unit testing programs in different directories would be needed.
Thus UnitTester is now just a shell program that calls the
appropriate unittester/UnitTester or unittester_r5/UnitTester_r5
program.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 03:45:17 +00:00
Tyler Dauwalder
d8575caf51 + Used to be UnitTester.*
+ Now gracefully handles situations where a suite and an
  individual test both have the same name.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 03:42:49 +00:00
Tyler Dauwalder
2ce9f3a6c6 Renamed UnitTesterHelper.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 03:41:15 +00:00