Commit Graph

60351 Commits

Author SHA1 Message Date
Matthew Wilber
f93607877e added testing function for making sure that BMPTranslator::Identify responds properly to various error conditions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 01:34:37 +00:00
Matthew Wilber
db661ffcc4 added code to make sure that BMPTranslator::Identify reponds properly to various error conditions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 01:33:49 +00:00
Michael Phipps
53aaaf43d8 Make mmap work, more testing, fixed some bad bugs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 01:09:45 +00:00
Ingo Weinhold
11f4a13999 Finished the remaining BNodeInfo tests ({Get,Set}AppHint() and GetTrackerIcon()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-15 21:55:03 +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
jrand
91166d65cc Add checks for property and value structures allocated on the heap.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-15 04:42:06 +00:00
Matthew Wilber
e11362e6df added some testing code to exercise the BMPTranslator::Identify function, don't know if the code actually compiles though
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-14 22:17:39 +00:00
Matthew Wilber
cea02b5806 added some convenient string constants and some other stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-14 22:16:36 +00:00
Ingo Weinhold
1b2961a310 Added tests for BNodeInfo::{Set,Get}{Icon,PreferredApp}().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-14 21:04:19 +00:00
Andrew McCall
0dae1ab157 Heh, lets get the bits I add to other peoples programs correct this time :)
Fixed Jamfile for Network Preflet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-14 19:39:38 +00:00
Andrew McCall
d2dc27e079 Added the Network Control Preflet on behalf of Olivier Milla. I have also
added a resource file and updated the Jamfile for the preflets dir.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-14 19:23:05 +00:00
Michael Phipps
4705ceeccd Using GPL'ed code is a no-no.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-14 03:54:43 +00:00
jrand
f8167c7ec4 Clean up the test implementation a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-14 03:34:54 +00:00
Axel Dörfler
9b458ca3e7 Fixed some crashing bugs in the pci code - the kernel now boots again.
Added trace methods.
Cleaned up some code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-14 02:09:45 +00:00
Axel Dörfler
6057f25bc6 Fixed a typo; dbg_init2() called dbg_init() instead of arch_dbg_init(), causing
many kernel debugger commands to be removed accidently...
Added a message if you entered an unknown command.
Some cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-14 00:04:59 +00:00
Axel Dörfler
c65ac9cbe8 Disabled debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-14 00:02:37 +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
Ingo Weinhold
d7686e939a The UnitTester does now find the platform specific unit testers also when invoked from another directory.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 22:40:35 +00:00
Ingo Weinhold
4a87ab984b Set the the application BHandler's name correctly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 22:38:24 +00:00
Ingo Weinhold
0f57d51474 First BNodeInfo tests for constructors, SetTo() and Set/GetType().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 22:36:54 +00:00
Andrew McCall
6c5d86ceac First attempt at an icon for the Appearance Preflet, altered Jamfile to
build with Appearance.rsrc.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 22:36:02 +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
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