jrand
25a9178631
Adding BPropertyInfo tests to CVS
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 03:45:43 +00:00
jrand
d081dee68d
Adding BPropertyInfo tests to CVS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 03:44:21 +00:00
Ingo Weinhold
216921555f
First BAppFileInfo tests. Complete constructor tests and the beginning of SetInfoLocation()/IsUsing{Attributes,Resources}() tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 00:01:26 +00:00
Ingo Weinhold
d6b205f306
Added BAppFileInfo header, empty implementation with doxygen comments.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-17 23:59:41 +00:00
Ingo Weinhold
f8b7638264
Fixed some comments.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-17 23:58:22 +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
jrand
1ddfa2f84e
Added tests for the FindMatch() member function
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-17 05:55:18 +00:00
Tyler Dauwalder
75120765af
Modified MimeTypeTestSuite slightly so as to not remove the copied
...
mime database directory if it already existed in the first place.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 23:21:48 +00:00
Tyler Dauwalder
dda17c0010
Updated OBOS tests to use look in the same directory as the MimeDatabase
...
class does for the mime database. Also, if said directory is different than the
system directory, a copy is first made when necessary, and then removed
when the tests are done.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:10:38 +00:00
Tyler Dauwalder
f978bce0b0
+ Added fMimeDatabase member
...
+ Updated MessageReceived to handle:
- B_REG_MIME_SET_PARAM.B_REG_MIME_DESCRIPTION
- B_REG_MIME_{START,STOP}_WATCHING
- B_REG_MIME_{INSTALL,DELETE}
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:08:49 +00:00
Tyler Dauwalder
f231d0901c
+ Added fMimeDatabase member
...
Implemented:
+ {Get,Set}{Long,Short}Description()
+ {Start,Stop}Watching()
+ Install(), Delete(), IsInstalled()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:06:51 +00:00
Tyler Dauwalder
fc7d3358e6
+ Added MimeDatabase
...
+ OBOS app kit headers are now used
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:03:26 +00:00
Tyler Dauwalder
533a64a210
Registrar now links to libstorage for MimeDatabase class
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:02:55 +00:00
Tyler Dauwalder
9f3d4851ac
Initial checkin; MimeDatabase class used to handle all actual mime
...
database access.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:00:37 +00:00
Tyler Dauwalder
ef753322a8
Updated BQuery's BMessenger hack to be more legit (and
...
to allow libstorage to compile using public app kit headers)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 21:58:44 +00:00
Matthew Wilber
c904c6cdf1
one of the tests is actually supposed to fail, but it doesn't, so I'm going to have to fix that
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 20:38:29 +00:00
Ingo Weinhold
5f514448e1
Adjusted some tests to make the OBOS version of BNodeInfo pass them.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 17:47:54 +00:00
Ingo Weinhold
7835957412
The implementation is now complete and passes the tests. Reimplement almost all methods.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 17:47:12 +00:00
Matthew Wilber
d1fbd1255f
it was a mistake to add all of these large files to CVS
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 14:15:36 +00:00
Matthew Wilber
1ce23284a9
mistake
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 14:10:55 +00:00
Matthew Wilber
9d7aa35847
too big
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 14:07:39 +00:00
lillo
e196b7bbc5
added single-queue scheduler; the old scheduler is compiled by default - to enable the new one uncomment the #define at the beginning of thread.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 13:14:29 +00:00
Matthew Wilber
c3b1fb12fe
Be Bitmap Images to be used to test the BMPTranslator with
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 01:38:03 +00:00
Matthew Wilber
fdb30a3b98
initial checking, BMP test files to test the BMPTranslator with
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 01:37:07 +00:00
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
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
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
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
Tyler Dauwalder
1f6ca7567b
Removed failing "quotes in unquoted string" tests, as quotes are now allowed in unquoted strings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 03:31:23 +00:00
Matthew Wilber
f6c5c63d63
Changed the name of the Suite so that it was not the same name as the test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 02:10:11 +00:00
Matthew Wilber
ec3ff25fee
changed the indenting
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 02:09:35 +00:00
Matthew Wilber
ab95d761d8
fixed it so that it actually builds the code, but its still not entirely right
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 02:08:24 +00:00
beveloper
d2ea858781
add set_mouse_position() that was missing
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 00:55:10 +00:00
beveloper
0b4a36abc9
start with libgame.so
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 00:34:01 +00:00
beveloper
2e54c16421
start with libdevice.so
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 00:32:58 +00:00
beveloper
b61245f74e
add game kit and device kit
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 00:30:53 +00:00
Ingo Weinhold
bee021cf93
Include bmptranslator.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 20:46:37 +00:00
Ingo Weinhold
7d371dc7da
Added translators subdir.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 20:45:49 +00:00
Tyler Dauwalder
3035279e84
Added case-insensitivity tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 09:36:41 +00:00
Tyler Dauwalder
06d1abcdc8
Added DisjList.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 09:36:19 +00:00
Tyler Dauwalder
93d145bb01
+ Added support for "-i" flags and case insensitive matching
...
+ Renamed Expr class to DisjList, which is more descriptive
as to its function
+ Added ' and " to the list of allowed characters in an
unquoted string.
+ Added updated sniffer rule grammar to doxygen for the
Parser class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 09:36:00 +00:00
beveloper
b4ba7954aa
Added a small copyright notice.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 00:14:36 +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
Ingo Weinhold
bbab11ba30
Changed BRoster::GetRunningAppInfo() return value back to B_BAD_TEAM_ID in case the team ID is < 0. I thought R5 returns B_ERROR, but it does only for -1, otherwise it also returns B_BAD_TEAM_ID. We don't mimic this slightly insane behavior.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:50:19 +00:00
Ingo Weinhold
7c884e9a55
Added a small subtest for GetRunningAppInfo() and verified strange return behavior for team IDs < 0.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:50:04 +00:00
beveloper
3055ce2f77
David McPaul started working on this class and made this changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:39:16 +00:00
Ingo Weinhold
ca3e9dba80
Fixed the return value in case of team ID < 0. R5 returns B_ERROR instead of B_BAD_TEAM_ID and so do we now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:34:04 +00:00
Ingo Weinhold
9e9f5a1ad3
Improved BMessenger::InitData() a bit: Now only one roster call is done, when a signature but no team ID is given.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:31:40 +00:00
Ingo Weinhold
e840a8d122
Uncommented accidentially commented out tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:30:03 +00:00
Ingo Weinhold
a46169b509
Added methods that return the entry_ref to the application and the port of its app looper.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:29:24 +00:00
Ingo Weinhold
0f4210a2a3
Some correction.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:28:20 +00:00
Ingo Weinhold
235efd8700
Added BRoster::TeamFor()/GetAppInfo()/GetRunningAppInfo()/GetAppList() tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:27:48 +00:00
Ingo Weinhold
1007bf167d
Added B_BAD_TEAM_ID to known error codes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:25:02 +00:00
Axel Dörfler
e867ec51af
Added mount.c, implementation of mount() and unmount().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 20:48:30 +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
63f16f88e2
Removed the getdtablesize() syscall hack.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 17:53:02 +00:00
Axel Dörfler
2f5118ccdc
Changed the argument order of sys_read/write() to be more intuitive.
...
Fixed a bug in module.c that I caused due to changes in the VFS.
Added the sys_write_link() call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 17:03:03 +00:00
Tyler Dauwalder
b657eab3cf
+ Fixed the uber scanner test yet again (this time wrt
...
NULL characters embedded in the token strings).
+ Added a number of sniffing tests. The rules returned
by the parser appear to sniff properly now.
Incidentally, our sniffer supports conjunctions, i.e the rule
1.0 ('abc') [9] ('xyz')
is equivalent to the rule
1.0 ('abc______xyz' & 0xFFF000000FFF)
This is different than the R5 sniffer, which doesn't reject
rules like the former, but appears to ignore all expressions
in the rule except for the first, i.e. it would treat the first
rule as
1.0 ('abc')
The only problem I can see with this is if someone for
some reason wrote such a rule with multiple expressions
for use with the R5 sniffer. It would likely work differently
with ours. I'm going to search my MIME database and see
if any such rules exist. If so, it'll be easy to switch to the
R5 way of doing things.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 10:38:30 +00:00
Tyler Dauwalder
fe70cd16af
+ Updated all the parsing code to use std::strings everywhere
...
instead of const char*'s to allow for rules with NULL characters
embedded in them.
+ Updated Rule::Sniff() to actually return a useful value
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 10:30:38 +00:00
Michael Phipps
10cde11f08
No GPL code allowed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 00:39:45 +00:00
Ingo Weinhold
09c9c0c147
Added BRoster::IsRunning() test cases.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 22:06:19 +00:00
Ingo Weinhold
28d519fe4e
Added BRoster test cases, for today only for IsRunning().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 22:05:09 +00:00
Ingo Weinhold
c2e8b5572c
Added find_test_app() functions that return the path/an entry_ref for a given test app.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 22:03:06 +00:00
DarkWyrm
614fabb05b
Added Decorator tab
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 21:37:02 +00:00
DarkWyrm
d1941a2765
Added Decorator tab and functionality
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 21:33:55 +00:00
Michael Pfeiffer
ed7c14bac2
Use rule AddResources instead of XRes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 16:41:06 +00:00
Michael Pfeiffer
bc96256164
Minor changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 16:21:00 +00:00
Michael Pfeiffer
f221d365d8
SynthFile
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 16:19:57 +00:00
Michael Pfeiffer
0723a9ac98
Template list class. Duplicates the one in current/src/add-ons/print/drivers/pdf/source
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 16:13:29 +00:00
Tyler Dauwalder
be1cf3b1be
+ Added a number of tests
...
+ Learned the concept of base 8 again and fixed an octal literal. I hate octal.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 07:54:04 +00:00
Tyler Dauwalder
60ee71d302
+ Added some documentation
...
+ Fixed a bug with 0eXXX floats being handled improperly
+ Updated a few error messages to give proper character
stream positions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 07:23:24 +00:00
Tyler Dauwalder
0bc621d53b
+ Added some documentation
...
+ Now verifies the given priority is valid
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 07:21:31 +00:00
Tyler Dauwalder
10db8711a8
Added some documentation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 07:20:47 +00:00
jrand
8795d3cfc9
Add some asserts for checking the simple methods from the archivable interface inherited by BPropertyInfo.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 04:31:43 +00:00
Michael Phipps
148c5492ba
Added another test thread and varied the timing. Still seems to work right.
...
Updated the TODO list.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 04:06:41 +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
Axel Dörfler
2de6c0e035
Initial driver settings - don't worry there is nothing implemented at all,
...
it just exports the API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 22:25:03 +00:00
Ingo Weinhold
70c87ab1f9
Merged in changes for fixes to PPC support from vanilla branch.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 20:55:39 +00:00
Tyler Dauwalder
0b6140dc37
+ Added a mean test to the scanner tests
...
+ Patched up the parser tests so they actually test something
now, and accounted for the variations between the R5 error
messages and our error messages where applicable.
+ Added a few extended notation floating point tests to the
parser tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 07:51:26 +00:00
Tyler Dauwalder
ef88abd1be
+ Added priority verification (0.0 <= valid priority <= 1.0)
...
+ Fixed a stupid bug in my hexToChar() function
+ Added code to actually return the parsed in priority to ParsePriority()...
+ Added code to actually SetTo() the result in ParseRule()...
+ Changed most "Sniffer scanner error" messages to "Sniffer
pattern error" messages.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 07:48:30 +00:00
jrand
cc3a5fd2c2
Adding BPropertyInfo tests to the app kit test suite.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 05:14:09 +00:00
jrand
3208425015
Add the first testcases for BPropertyInfo.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 05:12:53 +00:00
Michael Phipps
7bebb1dec3
Just to make Daniel happy... ;-)
...
swapfile blocks are now put on a free list and properly reused, so it
no longer grows out of control.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 03:21:02 +00:00
Michael Phipps
5b87d86af3
Added some necessary files.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 02:51:06 +00:00
Michael Phipps
f8faba8667
Doesn't build without PortLink in the Jamfile
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 02:40:57 +00:00
Ingo Weinhold
672c1ea9ba
Fixed return codes in InitData().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 22:19:37 +00:00
Ingo Weinhold
9231d6b096
Added be_roster check in InitData().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 22:18:23 +00:00
Ingo Weinhold
f801a32755
Added tests for the BMessenger(const char*, team_id, status_t*) constructor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 22:16:39 +00:00
Ingo Weinhold
022d003cb5
Added testapps subdirectory.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 22:15:31 +00:00
Ingo Weinhold
434af8f8b7
Added common subdirectory.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 22:14:44 +00:00
Ingo Weinhold
bf2c044d56
Added test app for BMessenger tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 22:13:59 +00:00
Ingo Weinhold
e3d41cfac6
CommonTestApp has been moved. Adjusted the Jamfile accordingly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 22:08:49 +00:00
Ingo Weinhold
cb19e5d278
Moved AppRunner.*, PipedAppRunner.* and CommonTestApp.* to src/tests/kits/app/common, since they are not longer only used by the BApplication tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 22:07:59 +00:00
Matthew Wilber
98044aa821
initial checkin, doesn't seem to work yet
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 20:10:47 +00:00
Matthew Wilber
cf51e393c6
initial program check in
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 20:10:15 +00:00
Matthew Wilber
c523ad7c3e
inital program check in
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 20:09:55 +00:00
matzon
157a1c84d2
fixed: apparently GetInputFormats may return 0 too :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 14:45:39 +00:00
matzon
ae90960e33
fixed: apparently GetOutputFormats may return 0.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 14:42:20 +00:00
Tyler Dauwalder
2129049b13
Accounted for ParserTest -> MimeSnifferTest name change
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:41:55 +00:00
Tyler Dauwalder
390dce8da6
Parser is finished (or very nearly so)!!! :-)
...
+ Added support for extended notation floating point numbers,
as well as signed (+ and -) floats.
+ Finished up parsing code
+ Moved Err class into it's own header/source pair, since I
started using it all over the place in the sniffer code.
+ Did my darndest to make sure I wasn't leaking memory
anywhere.
+ Matched up error messages as best as possible with R5's
error message. Some couldn't be matched, some were improved.
There *are* a few things left to do. I don't think priorities are
verified to be valid (0.0 <= x <= 1.0). More tests also need to
be written. Things have solidified enough now that documentation
is a reasonable thing to start considering as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:37:14 +00:00
Tyler Dauwalder
01293d6ed7
+ Added InitCheck()
...
+ Added Priority()
+ Added Sniff()
+ Replaced ExprList typedef with plain old std::vector<Expr*>
so I wouldn't forget what the hell kind of list I was working with.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:32:27 +00:00
Tyler Dauwalder
9d97f52d8d
Added InitCheck() and GetErr()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:30:44 +00:00
Tyler Dauwalder
c4dc6c7c5a
Accounted for ParsetTest -> MimeSnifferTest name change
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:29:42 +00:00
Tyler Dauwalder
e3c631d629
Added new sniffer files to libstorage.so
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:29:20 +00:00
Tyler Dauwalder
a06e9158c7
Used to be ParserTest.*
...
+ Added some scanner tests
+ Parser tests still do very little testing
+ The "1e-25 ('ABCD')" test, which apparently fails with
R5's CheckSnifferRule(), has been commented out, as our
version accepts it and I can't currently figure out why it
would be an invalid sniffer rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:27:50 +00:00
Tyler Dauwalder
74cd43ec44
New mime sniffer support classes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:25:41 +00:00
Tyler Dauwalder
b7b28d766e
Renamed to MimeSnifferTest.*
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:25:02 +00:00
ejakowatz
2e2e159adc
Work on ResolveSpecifier().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 03:58:59 +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
Axel Dörfler
c2f9230c91
For some strange reason, elf_relocate_rel() crashed and reported a high
...
rel type (111) when it tried to load the PCI bus manager - I've only removed
the crash, but I didn't dig any deeper yet.
Note, this only happens using bochs - on a real computer, the kernel runs
obviously without any problems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 06:41:57 +00:00
Axel Dörfler
1e3eaf3b95
Added the write_link() call (currently only local to the VFS).
...
Added a mode parameter to sys_create_symlink().
Added an open_mode field to struct file_descriptor.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 05:37:17 +00:00
Axel Dörfler
fbc9a56c28
Added a missing return value.
...
Some code cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 05:26:52 +00:00
Phil Greenway
48d741f719
Initial Checkin. Coded by Oliver Ruiz Dorantes (urnen@users.sf.net)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 05:26:43 +00:00
Axel Dörfler
267cf83fb3
Added a missing return value in port_init().
...
Cleaned up the code a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 05:25:26 +00:00
Axel Dörfler
7f88f899f4
Added a missing return value.
...
Cleaned up the code a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 05:23:23 +00:00
Axel Dörfler
75faf9fda3
Added a missing return value in vm_resize_region().
...
Cleaned the code a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 05:22:27 +00:00
Axel Dörfler
c931f4823d
Added a missing return value.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 05:20:40 +00:00
Michael Phipps
c70c326c96
Fixed a serious bug in list.h. :-(
...
Improved tests to be multi-threaded. Still needs a lot more testing.
Removed the nasty global variable in test.C.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 03:41:16 +00:00
Phil Greenway
6c657a0ed5
Added rbTone and rbPulse - Radio Buttons
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 02:27:50 +00:00
Ingo Weinhold
6a75716301
Added TODO items in the destructor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 00:55:13 +00:00
Ingo Weinhold
dc7dfa74f4
Now the quit command prints the error code, when constructing the messenger to the app failed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 00:50:36 +00:00
Ingo Weinhold
c9f4f5e164
Fixed InitData(): It must not be possible to construct a messenger targeting a B_ARGV_ONLY app.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 00:48:58 +00:00
Ingo Weinhold
c26a5cea91
* The destructor doesn't kill the looper thread any more, as this doesn't
...
work very well with BApplication and has some issue with plain loopers
too.
* DispatchMessage(): _QUIT_ doesn't delete the object any longer. The
looper thread simply falls through the dispatching loop and deletes
the object.
* Caused by not killing the looper thread in the destructor, Quit() had
to be adjusted. When called from the looper thread the thread exists.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 00:47:31 +00:00
Ingo Weinhold
98207f6f77
Fixed Quit():
...
* Error message, if not locked.
* Lock(), quit, Unlock(), if not locked.
* Don't call BLooper:Quit() any more. We post a _QUIT_ message when being
called from another than the looper thread.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 00:41:08 +00:00
Ingo Weinhold
ff952bade4
Added tests for BApplication::Quit()/QuitRequested().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 00:37:55 +00:00
lillo
91363a4278
Converted thread states to BeOS equivalents (excluding THREAD_STATE_FREE_ON_RESCHED, which will probably go away once the slab allocator is in). Converted priorities to BeOS equivalents; we now have 60 priority queues to map the 120 BeOS priority levels (which have a granularity of 2, thanks Axel) plus the idle queue. Fixed PS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-04 20:10:06 +00:00
ejakowatz
752c497115
The last remnants of the Old Repub ... er, static looper list data has been
...
removed. The old static BLooper functions for managing the looper list are
still there, but they are officially deprecated. The approved interface
for this information is BPrivate::BLooperList, accessible via the global
BPrivate::gLooperList variable. Being as it lives in BPrivate, it is for
API-internal use *ONLY*. User apps use it to their own risk.
Also added a small test to make sure that the size of BLooper stays the
same. I will probably add this to other classes as well; doesn't hurt to
be safe. =)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-04 17:16:56 +00:00
gendusoa
8025357ffd
Made preview window work better. Still jerky; still issues with unpreviewable savers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-04 15:26:15 +00:00
lillo
854c31f835
finished implementing get_thread_info, get_next_thread_info, get_team_info, get_next_team_info. New ps command behaving like the BeOS one is here, but doesn't work as libroot seems to crash when loaded at process startup... :/
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-04 02:04:37 +00:00
lillo
aded06e0aa
Second round of changes. Splitted thread.c into thread.c, team.c and scheduler.c. First kernel-only get_team_info and get_next_team_info implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 23:39:50 +00:00
ejakowatz
ebbcbbca01
Implemented count_loopers()/windows() and looper/window_at(). Minor
...
changes to BLooperList to accomodate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 23:18:14 +00:00
Ingo Weinhold
79f45f7f8f
The RosterShell is now built as a CommonUnitTest, which also gives us a R5 version for the time being. In case we will add (OBOS) registrar internals, it might go away again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 16:24:11 +00:00
Ingo Weinhold
f65749a18c
Fixed a typo.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 16:21:47 +00:00
Ingo Weinhold
5ca9f21f13
More debugging output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 16:20:42 +00:00
Ingo Weinhold
9986313c0c
Fixed some bugs/behavioral differences to the R5 implementation.
...
* Run() was returning fTaskID, which was invalidated by Quit().
* assert_app_signature() -> check_app_signature(). InitData() now quits
when an error occured and no error variable has been supplied. That seems
to be what R5 does.
* When args are present B_ARGV_RECEIVED is always sent to the own team,
even if the app flags include B_ARGV_ONLY. But it is sent to a remote
application (already running instance), only if that app has NOT
B_ARGV_ONLY set.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 16:19:31 +00:00
Ingo Weinhold
c9640d94a3
BApplication tests:
...
* Added constructor tests.
* Added Run() tests.
* AppRunner -> PipedAppRunner + some improvements
* New AppRunner using ports for data transfer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 16:07:02 +00:00
Axel Dörfler
28cdc245d3
Added a "symlink" command that can create symlinks from the shell (like "ln -s").
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 02:04:50 +00:00
Axel Dörfler
ae372703ce
Big commit: Added symlink support to the kernel.
...
- added needed syscalls to access symlink support from userland
- implemented lstat(), symlink(), and readlink()
- added dev_t to ktypes.h (for now - should be in a public header anyway)
- added symlink support to the "ls" command (now calls lstat() and shows the
link target with the -l option)
- changed the sys_read_stat() call to support symlinks, and updated files
using that function (it gets an extra argument: bool traverseLink)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 02:03:27 +00:00
Axel Dörfler
7d141659a6
Fixed some crucial bugs in the elf_load_uspace() function:
...
- if the path name exceeded about 56 bytes, the function would have seg-faulted
- the calculation to decide if there is an extra region for the bss needed was wrong -
that caused the kernel to be not able to load certain executables
Also, fixed a warning, and cleaned up the above mentioned function a bit, added
some more comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 01:10:06 +00:00
lillo
3cfbecf1a6
First round of big changes: the term team has replaced proc all over the kernel, the few kern_* syscalls have been renamed to sys_* for consistency, and other small changes. The ps app is temporarily disabled until get_next_team_info is implemented.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 00:41:27 +00:00
Matthew Wilber
ec80db22cf
added more/better error checking/handling
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-02 16:52:27 +00:00
Phil Greenway
352abde210
Added rbTone and rbPulse - RadioButtons
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-02 12:07:45 +00:00
Michael Phipps
74407d8836
Some clean up, prep work to make more tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-02 03:09:41 +00:00
Matthew Wilber
cbb8752877
added more/better error checking/handling, changed variables to more appropriate types, updated comments, changed some return codes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-02 02:52:36 +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
lillo
c0f8c7be80
little scheduler fixes and made team death synchronized by a semaphore
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 20:08:27 +00:00
lillo
8f4dae6773
applied small patch to boost priority on sem block
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 20:05:24 +00:00
Ingo Weinhold
37eae7179d
Added some more BApplication constructor tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 19:59:05 +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
Michael Phipps
e03166f0e2
Added tests for and fixed freeArea. Note that this generated some more work to do.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 02:20:33 +00:00
Ingo Weinhold
8909e4ba29
Added first BApplication test.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 00:36:22 +00:00
Michael Phipps
1314ca6a7f
Enabled saver thread.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-30 02:02:40 +00:00
Michael Phipps
fbafb4de2b
Added more tests and we now start the thread for the page cleaner.
...
Verified (manually) that cleaned pages are used where possible.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-30 01:39:50 +00:00
Michael Phipps
8985112ee5
Fixing list.h (doh!) and some smaller changes.
...
Improved all of the printf's to have their method name, for easier tracking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-30 00:29:00 +00:00
Phil Greenway
dc6d65badb
Originally missed out of Initial Checkin.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 22:17:47 +00:00
Tyler Dauwalder
47daa6c0a7
Ooops...doesn't compile with R5 tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:58:59 +00:00
Tyler Dauwalder
21791a4472
Added my favoritest error code ever to DecodeResult()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:06:38 +00:00
Tyler Dauwalder
395d31a081
Started on parser tests, which so far are shaping up
...
to be very similar to the BMimeType::Sniffer tests... :-)
These tests have the added bonus of not need full
BMimeType/Registrar functionality, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:05:49 +00:00
Tyler Dauwalder
0d2978ea27
Added Range.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:03:44 +00:00
Tyler Dauwalder
68faee1082
+ Switched to std::vector in favor of BList
...
+ Added a few minor tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:03:23 +00:00
Tyler Dauwalder
4574a75fc5
+ Got rid of global TokenStream object
...
+ Started on Parser class
+ Moved parsing functions into Parser class
+ Added Pos() member to Err class to allow for
snazzy BMimeType::CheckSnifferRule() error strings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:01:56 +00:00
Tyler Dauwalder
51156f1f46
Way too many builds later, I finally realized I put these #includes in the wrong place.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 06:58:52 +00:00
Tyler Dauwalder
0be1fe8a1f
New MIME Sniffer files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 06:57:11 +00:00
ejakowatz
0b55d6648f
More tests, more fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 04:09:50 +00:00
ejakowatz
7bf6c06936
More tests with fixes to BLooper so it will pass those tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 03:08:43 +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
ejakowatz
b1698c8e74
Mostly fixes for silly compile error, plus an additional test.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 21:49:42 +00:00
Ingo Weinhold
7e24e06e2c
Fixed synchronous SendMessage() versions. They need to add be_app_messenger as reply target, if the supplied reply target is invalid.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 21:23:52 +00:00
Ingo Weinhold
822cdddb68
Fixed bug in AddHandler(): SetNextHandler() must not be invoked on the looper itself.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 21:22: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
ejakowatz
2284462ccf
Scripting-related changes. Also indulged in some unwarrented formatting
...
anality. =P
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 20:28:00 +00:00
Axel Dörfler
847248db20
path_to_vnode() should now be able to resolve symbolic links (not tested
...
yet) - up to 16 symlinks are allowed in one path (following BeOS' restriction).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:39:49 +00:00
Ingo Weinhold
5e949b7dfc
Added method Init(), which adds the registrar to the roster.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:37:24 +00:00
Axel Dörfler
b98a89a763
Forgot to set the stream type for the root directory...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:36:43 +00:00
Ingo Weinhold
60aa4feab5
* Lock() the looper in application destructor. Otherwise RemoveHandler()
...
complains.
* Call the TRoster::Init() to add the registrar itself to the roster.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:36:05 +00:00
Ingo Weinhold
1e298dbb58
Added AppMisc.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:33:26 +00:00
Ingo Weinhold
8a526591a0
* Moved some reusable code into AppMisc.cpp/h.
...
* Init be_app in InitData().
* Uninit be_app and be_app_messenger in BApplication destructor.^
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:33:00 +00:00
Ingo Weinhold
8cd292013b
Added _send_to_roster_() and _is_valid_roster_mess_().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:30:27 +00:00
Ingo Weinhold
4455f219ee
Added a "shell" for the roster. It can list, activate and quit application.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:28:09 +00:00
Ingo Weinhold
4d7538b180
Moved some reusable code from BApplication to this shiny new place.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:26:21 +00:00
Axel Dörfler
7be577a363
Beginnings of symbolic link support.
...
Cleanup of the code in many places.
Fixed bad bugs in dir_vnode_to_path(), and entry_ref_to_vnode().
Fixed some other bugs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 18:41:07 +00:00
Michael Pfeiffer
839e5ecb24
Updated window title and application signature.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 18:02:38 +00:00
Michael Pfeiffer
e6b7649c0f
Renamed View.* to BBView.* and Application.* to BBApp.*.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:58:30 +00:00
Michael Pfeiffer
8002202d9d
Renamed View.* to PathView.* and Application.* to LPBApp.*.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:53:03 +00:00
ejakowatz
80a604c999
All things BMessage; initial check in.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:45:25 +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
Michael Pfeiffer
2c0d45d7c1
Async. start Page/Printer Config Dialog.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:05:03 +00:00
Michael Pfeiffer
247c4fa55f
Started implementation of Add Printer Dialog.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:01:50 +00:00
Ingo Weinhold
d744dd13ab
* Changed the return value in HandleCompleteRegistration() in case of
...
not found or already completely registered applications from
B_REG_APP_NOT_REGISTERED to B_REG_APP_NOT_PRE_REGISTERED.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:42:03 +00:00
Ingo Weinhold
2ad75c74f9
Added doxygen comments and moved the initialization of child objects from
...
the constructor into ReadyToRun().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:39:26 +00:00
Ingo Weinhold
c09fb4b971
Added doxygen comments.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:37:26 +00:00
Ingo Weinhold
e56ea20210
* Added doxygen comments.
...
* Moved the index returning/expecting methods into a private section and
implemented a Iterator class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:36:28 +00:00
Ingo Weinhold
d958d04793
Added doxygen comments for the implemented methods and fixed some smaller issues.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:34:44 +00:00
Ingo Weinhold
3057c103f5
Init be_app_messenger in InitData().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 13:32:52 +00:00
Tyler Dauwalder
224e92720e
Added "position in original character stream" marker to Token class
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 04:13:30 +00:00
Tyler Dauwalder
dc685e9ad8
Finished scanner:
...
+ Octals are now handled properly in both quoted and
unquoted strings
+ Added support for \xXX style hex escapes in both
quoted and unquoted strings
+ Finished up the tests, so I think pretty much everything
should be working
NOTE: signed floating point numbers are no longer supported,
as they have no usefulness to sniffer rules
NOTE: extended format floating point numbers (i.e. 2.4e23) are
no longer supported, as they have no usefulness to sniffer rules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 03:21:21 +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
Ingo Weinhold
a12aef2bee
* Added handling of running app querying requests.
...
* Added methods Add/Remove/ActivateApp().
* Added hook methods _AppAdded/Removed/Activated/Deactivated().
* Turned fActivateApp into a RosterAppInfo* which is more useful.
* Added doxygen comments for the class and all methods.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:33:36 +00:00
Ingo Weinhold
bf41b2a2ef
Replace APP_STATE_INVALID by APP_STATE_UNREGISTERED which makes more sense.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:28:14 +00:00
Ingo Weinhold
2e042baa93
Added dispatching of the running app querying requests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:26:39 +00:00
Ingo Weinhold
ab2e0d7d3f
Removed the optional index parameter from AddInfo(). It wasn't used and would avoid to replace the list implementation by one that e.g. maintains a sorted list or a hash table or whatever. Think about changing the other methods operating on indices to use iterators.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:25:33 +00:00
Ingo Weinhold
92cf4c7532
Implemented IsRunning(), TeamFor(), GetAppList(),
...
Get{Running,Active,}AppInfo() and ActivateApp().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:20:37 +00:00
Ingo Weinhold
47924e2bed
A comment to remind me to call create_app_meta_mime() in InitData() once it is available.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:18:29 +00:00
beveloper
3fe5330ccb
While Intel documentation lists PCI capability as 32 bit entities,
...
the PCI specifications lists it as two 8 bit entities, followed by
a unknown number of vendor specific data. It should be better to do
two 8 bit reads, instead of one 16 or 32 bit access.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 20:24:45 +00:00
Tyler Dauwalder
ef831f3638
Updated to include MIME Sniffer Parser tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 19:24:31 +00:00
Tyler Dauwalder
5da549240a
+ Moved internally used classes into header to allow for testing.
...
+ Added EmptyToken, Integer, and FloatingPoint TokenTypes.
+ Added IntToken and IntegerToken classes.
+ Updated scanner, which now handles numbers as well. I believe
it's nearly complete, although I'm almost positive it doesn't
handle octals correctly yet...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 19:24:05 +00:00
Tyler Dauwalder
6c6ea7dac5
Tests for the MIME sniffer parser.
...
Added a few scanner tests. More to come...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 19:20:59 +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
beveloper
a4c97c95ce
Fix the problem that resulted in a invisible shell on my system.
...
We were disabling the PCI to PCI bridge which is the connection
to the AGP port on my system, and made an error when trying to
enable it again. Fixed now!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 00:38:12 +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
beveloper
b055a362cb
PCI configuration space read/write of 32bit never worked. Fixed.
...
PCI configuration space read/write of 16bit at offset 1 never worked. Fixed.
Added warnings for unsupported PCI configuration space read/write offsets.
Fixed numerous bugs in PCI Capabilites detection code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 23:27:40 +00:00
Ingo Weinhold
448187a8c3
Added some now working hooks and some more output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:06:21 +00:00
Ingo Weinhold
48f01b6d20
We need to link against libbe now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:05:25 +00:00
Ingo Weinhold
1d32138d6f
Implemented processing of the app registration requests and Get{Running,Active}AppInfo().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:04:52 +00:00
Ingo Weinhold
3a5e755532
Added token and registration_time fields and Init() method.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:03:14 +00:00
Ingo Weinhold
c39e453222
Added dispatching of some now implemented roster requests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:02:10 +00:00
Ingo Weinhold
71ba5e917b
We use STL now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:01:21 +00:00
Ingo Weinhold
96fd394e57
Added SET_ERROR macro.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:00:40 +00:00
Ingo Weinhold
679ac7ab0d
Added a couple of methods for app_info finding.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:00:15 +00:00
Ingo Weinhold
2a2585c598
Fixed an unchecked error in get_app_path().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:59:08 +00:00
Ingo Weinhold
b194af1035
Added message and codes, a flat_app_info structure and the name of roster side created app looper ports.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:57:58 +00:00
Ingo Weinhold
73a2b29f2e
* Implemented InitData(), which should now be complete with respect to
...
what we need for the roster.
* B_{ARGV,REFS}_RECEIVED and B_READY_TO_RUN messages are dispatched now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:55:10 +00:00
Ingo Weinhold
92180c47a3
Get the current team not using fTaskID, the looper thread, but find_thread(NULL) instead. In InitData() the thread has not been spawned yet.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:51:49 +00:00
Ingo Weinhold
3b04471572
Implemented InitData(). BMessenger is complete.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:48:49 +00:00
Ingo Weinhold
496ffb0aa7
* Changed return type of some private methods from void to status_t.
...
AddApplication() returns the token via reference parameter and
additionally returns the team ID of the already running app (if any).
* Implemented AddApplication(), SetThreadAndTeam(), CompleteRegistration(),
IsAppPreRegistered(), RemovePreRegApp(), RemoveApp(), or to to say it
briefly the complete set of app registration helper functions.
* Implemented GetRunningAppInfo() and GetActiveAppInfo().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:47:21 +00:00
Tyler Dauwalder
674e18fb18
Initial MIME sniffer rule parser checkin. The first draft of the
...
scanner portion of the parser is done, but completely untested
and unused. More to come...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 07:47:07 +00:00
David Reid
f3b40ada80
This is a 5 minute attempted fix for Marcus's AGP card not working
...
for VGA accesses.
Marcus: can you try this and see if it makes any difference? There should
be a debug message if it detects your agp bridge and applies the fix.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 05:32:00 +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
e805f0e904
Better debugging and final fix to the bus numbering, though that's
...
style not function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 23:32:59 +00:00
beveloper
8d5863f44b
ups, now it's correct.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 22:51:27 +00:00
beveloper
2b48bdcef9
Correct the bus number that is assigned to pci-pci bridges.
...
Now finds PCI cards connected to second pci-pci bridge on my motherboard.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 22:43:36 +00:00
David Reid
a0bc23f288
I've been trying to figure out how the division of work between
...
config_manager and busses works, and this is a large correction based on
my current working thoughts.
I also think we need to have a new interface between the bus modules and
the config_manager to allow them to work together. I have some ideas
on it and will start fleshing it out next week.
This update basically moves all PCI stuff back to the PCI module and
cleans up config_manager.c. We now print a small amount of info for
devices and more for bridges. My system only has a single bridge, but if
anyone has a more exotic system and tries this can they let me know
what sort of results they see?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 18:11:45 +00:00
notion
66554a4c98
Fixed the overflow bug in heap.c that would occur on allocation of all the memory of the heap.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 14:49:29 +00:00
David Reid
a537d866cf
Another support function. This time we add the ability to change
...
power management states for cards that support it.
ISTR that Be forced all devices to full power, so we do the same
for the moment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 14:16:57 +00:00
David Reid
75532124ed
Remove some unused and unloved files...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 13:32:22 +00:00
David Reid
d45a868bb2
Remove the apps mount and unmount from the kernel build as they
...
don't do anything and Axel has started replacing them anyway.
At some point we need to remove the files, but I'll wait until
things have had a few days first.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 13:30:59 +00:00
David Reid
67162b7430
remove a warning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 13:28:54 +00:00
David Reid
037c83e3e6
Move PCI on a little more.
...
- add finding the PCI IRQ Routing table
- add pci_get_capability and some simple uses to test it
Thanks to Michael N for his help on getting the region working as
I expected it to :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 13:28:23 +00:00
ejakowatz
e75560e6cb
Initial checkin.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 04:56:14 +00:00
Axel Dörfler
cd157d41a9
Implemented the "mount" command.
...
Added a missing newline at the end of alert.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 02:56:47 +00:00
David Reid
ac943f57f9
Change the path we look for drivers in.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 02:01:01 +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
Michael Phipps
e5a94ba1fd
Update to reflect that there is some locking in place now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 01:28:45 +00:00
Michael Phipps
72515139f7
Updates to make creating areas and accessing bytes work. Lots of debugging
...
printfs, etc in here. But some bug fixes and better code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 01:27:00 +00:00
David Reid
d10f93e702
Remove the int_ from the interrupt enable/disable functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 01:05:51 +00:00
David Reid
7438a7b7d0
The multi-threaded police raided and of course we didn't have locks
...
for accessing the config space! So, become a good citizen and add locking
to ensure we only have one dabbler at a time in config space.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 01:04:12 +00:00
notion
fde77afb37
Ported my NewOS changes to OpenBeOS.
...
A couple of changes in various interrupt and thread functions and structures.
These make it now possible to change the stack at any time without making the kernel crash. This is needed for calling VESA 3.0 VBE functions through the protected mode interface.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 20:59:25 +00:00
Ingo Weinhold
f683b788d0
Excluded console.c from being compiled here. It is compiled for the drivers static library anyway.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 17:47:28 +00:00
notion
719e338bae
Refined cv_factor calculation.
...
Also set TIMER_CLKNUM_HZ to its correct value.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 12:39:31 +00:00
Tyler Dauwalder
4177635e24
Added initialization and MIME string functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 09:29:16 +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
Tyler Dauwalder
3f6453cd59
Added v4 verbosity level
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 00:12:02 +00:00
Ingo Weinhold
caf7e04f7f
Implemented missing app_info constructor and destructor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 23:41:15 +00:00
Ingo Weinhold
51d6b22ec1
Added TRoster instance to the registrar application and dispatching of the application registration messages.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 23:40:12 +00:00
Ingo Weinhold
f9fd58cc75
Added classes TRoster, RosterAppInfo and AppInfoList. TRoster will be the *The Roster*, but has currently only unimplemented hooks for the app registration functionality. More to come.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 23:38:57 +00:00
Tyler Dauwalder
762a48a083
+ Finished BMimeType doxygen
...
+ Finally checked in my remaining BMimeType tests... :-)
NOTE -- The BMimeType::GetSupportingApps() test is
not yet finished. For some reason GetSupportingApps()
is returning a few strange signatures that don't appear
to be in the database. I'm still figuring out where they're
coming from.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 22:29:25 +00:00
Tyler Dauwalder
242a6db230
Changed TestApp to BTestApp for sake of consitency with
...
the rest of the test classes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 22:27:43 +00:00
Tyler Dauwalder
5ebee1cf0a
BVolume and BVolumeRoster updates, courtesty of Vincent Dominguez
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:39:49 +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
David Reid
f8e2c34c67
Update the config_manager and pci modules.
...
This now reports better and starts configuring the busses we find.
There is still a long way to go but this another step on the way.
NB the information comes from 2 different methods and presently doesn't
agree This is known and will be fixed, so please don't start yelling
that it's broken! If people have strange debug information please
let me have a copy so I can try to debug further :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:28:35 +00:00
ejakowatz
459de0d777
Fixed stupid syntax errors generated by my property_info dump tool. Now to
...
fix the tool ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:25:54 +00:00
David Reid
c8ca4b8cae
Having an identity crisis!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:25:39 +00:00
Ingo Weinhold
20476a6b71
Don't run the application for the time being.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:23:01 +00:00
Ingo Weinhold
17c00872bb
Implemented _init_roster_() and added _delete_roster_() which are now responsible for be_roster.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:21:55 +00:00
Ingo Weinhold
a3a31e261e
Added library initialization/termination functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:20:39 +00:00
Axel Dörfler
b9f8590233
Added sys/user calls for the open/create entry_ref/node_ref functions.
...
Added functions to retrieve set the fs_info structure (i.e. used to get the
partition's name); not implemented yet in the internal file systems.
Implemented the dir_create_entry_ref() function.
Re-ordered some parameters for the fs calls to be more consistent.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 14:10:12 +00:00
Axel Dörfler
c9d3e51155
Added syscalls for sys_open_entry_ref(), sys_create_entry_ref(),
...
sys_open_dir_(entry|node)_ref(), sys_create_dir_entry_ref().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 14:07:18 +00:00
Phil Greenway
7ad86addf9
Initial Checkin to "current". Coded by Matt McMinn.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 06:56:49 +00:00
Phil Greenway
f9f79740a6
Docs for DriveSetup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 06:55:37 +00:00
ejakowatz
ec9673bf48
Added/tweaked tests for BLooper; fixes to BLooper stemming from those tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 05:09:43 +00:00
Phil Greenway
13afa64231
Initial Checkin. Coded by Fernando Francisco de Oliveira.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 23:59:33 +00:00
Michael Phipps
e9a5e3f5cc
Change per Jason Vandermark.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 23:39:03 +00:00
Ingo Weinhold
c158e8008b
We actually build something in bmessenger/.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 09:48:07 +00:00
Tyler Dauwalder
e61306cb63
Obsolete
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 09:31:57 +00:00
Tyler Dauwalder
b706324201
Renamed to HandlerLooperTest.{h,cpp}
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 09:30:05 +00:00
Tyler Dauwalder
be2939cab7
Moved the rest of the App Kit tests over to the new framework.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 09:28:00 +00:00
Ingo Weinhold
23ce7baa24
Added a very basic test to see, if BRoster cooperates smoothly with the registrar to init its messengers. And yes, it does. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:54:15 +00:00
Ingo Weinhold
70da77794e
The build team apparently forgot to add the servers tests to the build. Lazy bastards! ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:51:13 +00:00
Ingo Weinhold
64c088d0d8
Added BRoster and BApplication to libopenbeos.so.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:48:40 +00:00
Ingo Weinhold
30304f2da4
Fixed warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:48:00 +00:00
Ingo Weinhold
c7f20c708d
Added minimal implementation to be able to Run() the application and to have MessageReceived() served. BApplication is aware of the registrar signature and names the looper port respectively.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:46:58 +00:00
Ingo Weinhold
cef079abd9
Added a minimal BRoster implementation, i.e. constructor + InitMessengers().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:43:52 +00:00
Ingo Weinhold
f58f2774db
Added the registrar.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:41:42 +00:00
Ingo Weinhold
4b8a71155a
Added a registrar skeleton.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:40:07 +00:00
Ingo Weinhold
e0cc8c68a4
The beginning of the registrar - API classes interface.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:37:39 +00:00
Tyler Dauwalder
6b3c7cc36d
Fixed dynamic loading problems for remote object tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 19:50:15 +00:00
beveloper
3ff18ff146
this adds address to symbol lookups to the kernel debugger. try the "ls <someaddr>" command.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 17:50:56 +00:00
Ingo Weinhold
a0ea8d5fd3
Added tests for the missing SendMessage() version and also use remote targets.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:54:19 +00:00
Ingo Weinhold
037c2e4631
Invoker for the 5th SendMessage() version added.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:52:28 +00:00
Ingo Weinhold
15df6f8a0c
Made use of the shiny new RemoteSMTarget to implement test cases operating on remote targets.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:51:23 +00:00
Ingo Weinhold
7e2c6197d8
Added SMRemoteTargetApp to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:49:49 +00:00
Ingo Weinhold
6d24e9d8c8
Some cleanup concerning the SendMessage() cases.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:49:04 +00:00
Ingo Weinhold
40c28b75d4
Added class RemoteSMTarget that starts application SMRemoteTargetApp and communicates with it via ports. The remote app runs a looper with an optional handler.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:48:09 +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
Ingo Weinhold
014ff00176
Added test framework for BMessenger::SendMessage() and tests for four of the five versions. Testing sending messages to remote targets isn't implemented either.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 01:02:17 +00:00
Ingo Weinhold
63cf9844c1
Added tests for < operator, which also test == and !=.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 00:58:08 +00:00
Ingo Weinhold
8f1dc17d91
* Assignment operator didn't return *this.
...
* Fixed comparisson operators: The team ID is ignored.
* Fixed second synchronous SendMessage(). The reply argument is checked for
NULL now, `if (error)' -> `if (error == B_OK)', and map B_BAD_TEAM_ID to
B_BAD_PORT_ID, which is what the R5 implementation returns.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 00:55:55 +00:00
Ingo Weinhold
b4793125a8
Fixed warnings (method shadowing).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 00:51:08 +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
beveloper
279d2a69e9
Because of the two cascaded PICs, we can't allow to ever diable IRQ 2.
...
arch_int_init has already enabled it, and enabling it again is never a problem.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-20 23:49:24 +00:00
lillo
2cf15ffd36
removed a warning
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-20 23:19:48 +00:00
lillo
01fb96c4c3
beos compatible timer routines and style cleanups in timer and sem code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-20 22:52:04 +00:00
lillo
4918394f73
fixed little infamous bug that caused the thread_test not to work properly - this scared me as I thought the problem was in the kernel; luckly it wasn't there...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-20 22:10:12 +00:00
Axel Dörfler
071f62bc36
Major code cleanup and reorganisation.
...
Fixed many bugs.
Now, the vfs_ prefix is for functions that are called by other parts of the
kernel. file_ is for file related stuff, dir_ for directory related, and
common_ for both, fs_ for general file system stuff.
Put all prefixed functions together in the source.
Implemented (currently without a user/sys call) opening/creating of entry_refs,
and node_refs (the latter for opening directories only).
Moved vfs_dup(), and vfs_dup2() to fd.c, fd_dup(), and fd_dup2().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-20 00:16:12 +00:00
David Reid
6ec6552ee4
Small change to remove a bug in removal.
...
This in association with Michael N in IRC.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 19:25:37 +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
b1dba4cbd5
Fix the interrupt handling...
...
we now differntiate between an I/O interrupt (ie one that is likely
to be triggered by a device on the system using an IRQ between
0 and 15) and one that we're creating to allow us to have functions
called for events, ie a software interrupt. Behaviour is all
commented in the file int.c, but you need to make sure that you call the
correct version.
install_io_interrupt_handler now needs an IRQ value between 0 and 15 and
will treat the irq as one it needs to enable/disable
install_interrupt_handler is for software interrupts and is essentially
the function we had.
For mroe read the comments in the file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 18:33:41 +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
Ingo Weinhold
76858a334d
BLooper::LockWithTimeout() was always using B_INFINITE_TIMEOUT.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 17:08:50 +00:00
Ingo Weinhold
45962ab457
Fixed the test output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 17:08:06 +00:00
Ingo Weinhold
7ce28c0458
Added tests for BMessenger::LockTargetWithTimeout(), the assignment operator and the comparisson operators == and !=. < has still to be done.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 17:07:36 +00:00
David Reid
48377a24b0
Few changes...
...
- catch up with the changes to the interrupt functions
- change the way we handle the list of handlers to use a standard
function rather than a home spun one :)
- don't add every function on a pci device as a seperate device
- add more info to the pci_info structure
- when FULL_MONTY turned on show more information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 16:07:36 +00:00
David Reid
9adc7af78a
Change to the interrupt handler return values.
...
Also reflect the change of function name and number of
parameters.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 16:04:12 +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
David Reid
5186a4c76b
Change to the interrupt handler return values.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 16:01:15 +00:00
Ingo Weinhold
68e46d4eb4
Made the lib directory in the directory of the tester executable the default search dir for test add-ons. It was ./lib before, which didn't allow you to run the tester from another directory.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 14:14:18 +00:00
Ingo Weinhold
bb653c6459
Migrated the BMessenger tests to the new test framework.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 14:08:36 +00:00
Tyler Dauwalder
a6b33ea3de
+ Moved BAutolock and BArchivable over to new testing framework.
...
+ Added ability to specify entire suites to the UnitTester program.
+ BAutolock and BArchivable tests now use CPPUNIT_ASSERT, but BLocker
tests crash for some unknown reason with said assertion, so plain old vanilla
assert() is still used. I'll look into this later.
+ BArchivable tests that try to load a RemoteTestObject are failing
because the resource file doesn't appear to be linked into
libsupporttest_RemoteTestObject.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 06:45:28 +00:00
Tyler Dauwalder
da21df9f97
No longer used
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 06:27:49 +00:00
Axel Dörfler
8480ee0c2c
We now have a completely working "pwd" command; dir_vnode_to_path() is
...
fully implemented.
I removed all those insane INSANE() debug output and found what made
the difference between a working and a crashing kernel - will have
to investigate this later, because those two lines a) really belong
there, and b) even if they are there, the kernel shouldn't crash just
because of that.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 04:20:07 +00:00
Michael Phipps
f913779a80
Initial check in. Very preliminary and not really part of the kernel right now...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 03:55:07 +00:00
Axel Dörfler
16326dafb6
Added a missing newline.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 02:48:27 +00:00
David Reid
e76a020d33
Begone ERR_NO_MEMORY!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 01:36:28 +00:00
David Reid
c099d735dd
Add pools.c to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 01:35:54 +00:00
David Reid
eab8081ffd
Change the modules code to use the new hash code.
...
This fixed a lot of ongoing segfaults which were both intermittent
and unpredicatble.
Also improve some logic so we take a shorter path in simple_module_info
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 01:32:42 +00:00
David Reid
6ecc5c9950
The new hash code.
...
Essentially the code that the net stack used. the code is based on the
hash impl. in APR, that was itself based on a large number of different
people's efforts and various papers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 01:27:22 +00:00
David Reid
0c1eef852d
Add pools to the build
...
Remove some duplicated build options
Comment out the beos section as it's not really of interest to people
not working on the modules/device code :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 01:23:24 +00:00
David Reid
90bc2d5f53
Big change to the way that PCI works.
...
- make pci into a true module now.
- the pci module builds and keeps a linked list of devices it finds, with
a filled in pci_info structure
- pci module detects (at runtime) whcih config mech to use, though to date
only mech 1 is implemented
- pci module does sanity check and warns if it fails
- config manager loads pci module and calls get_nth_pci_info to iterate
through the list printing details
- pci is no longer called directly from the bus init function
there is still lots to do and I've tried to make sure that there are plenty
of comments in the pci.c file. I've also left the previous code in
place until we move on a little further when it will be removed.
This has been working with no problems on my system and doesn't change
any functionality as we don't have any devices that need PCI in our build
yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 01:20:15 +00:00
David Reid
9843673aa8
Add the random_test app
...
Move the building of the test apps into this dir's Jamfile as it seems
to make more sense that way. I'll be removing them from the one in
kernel shortly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 01:12:36 +00:00
Ingo Weinhold
9f2313755f
Added BMessenger::IsTargetLocal/Target() tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 22:20:10 +00:00
Ingo Weinhold
c128929474
Added BMessenger::LockTarget() tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 22:19:16 +00:00
Axel Dörfler
63c5cc0aa1
Removed the big hack called vnode_to_path(), and replaced it with the real
...
thing dir_vnode_to_path().
But beware, it's not yet working correctly - will fix it later, I have no
time anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 21:06:02 +00:00
Axel Dörfler
5213b70b42
Fixed a warning I introduced earlier.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 20:42:52 +00:00
Axel Dörfler
4bb2d8915b
Implemented geist's recent change to mutexes - they are now no longer
...
benaphores; benaphores aren't that beneficial in kernel land, the benaphores
are a way to reduce the number of kernel calls.
They can now only be released by the same thread who originally acquired it.
Included other changes geist (change 1499) did to a) fix some bugs, and
b) reflect the changes made to the mutexes.
Cleaned the files a bit up, all the commented dprintf()s in elf.c are now
deactivated through a macro.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 19:21:40 +00:00
Axel Dörfler
de8acfc621
Fixed the messed up indentation (8 spaces instead of tabs)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 15:03:13 +00:00
Axel Dörfler
eb0471173e
The kernel will now call arch_cpu_idle() in its main loop.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 14:19:53 +00:00
Axel Dörfler
3d4008e5e4
Added the arch_cpu_idle() call to all platforms, though only x86 really
...
implements it yet (from freston).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 14:19:14 +00:00
lillo
92622c9c58
adding environmental variables support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 14:07:56 +00:00
lillo
0ba337c0a4
adding environmental variables support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 13:59:03 +00:00
Axel Dörfler
a4f9f99fb0
Incorporated freston's changes to the stage 2 boot process which mainly
...
"fixes" (at least changes :-)) the calculation of the processor speed.
Also included some of geist's earlier changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 13:53:46 +00:00
Axel Dörfler
8bcee3b317
Added another subtle change from geist.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 13:31:55 +00:00
Tyler Dauwalder
9285de5124
+ Started migrating Support Kit to new testing framework
...
+ Migrated BLocker tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 05:32:00 +00:00
Tyler Dauwalder
24b5aaa2fe
Obsolete
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 05:25:59 +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
Michael Phipps
2296a4d62e
Here is the modified InputServer.cpp file which includes the casting
...
change for the DispatchEvent() function. This will allow the input_server
to work with the current proto6 code in the cvs tree. It may even work
with the existing proto5.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:18:32 +00:00
Michael Phipps
a17c6b5131
Checkin per Jason Vandermark.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:16:28 +00:00
Michael Phipps
eac95b9746
Commit per Jason Vandermark.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:15:19 +00:00
Michael Phipps
7c8b733d03
Checkin, per Jason Vandermark.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 02:12: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
Tyler Dauwalder
feae69d2c9
No longer needed, thus removed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 00:58:54 +00:00
Philippe Houdoin
2c24125957
dbg_add_command() changed into BeOS compatible add_debugger_command().
...
remove_debugger_command() added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 22:07:37 +00:00
ejakowatz
19ba51b74d
More BLooper tests and minor tweaks.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 20:19:53 +00:00
ejakowatz
da94386c62
Added DEBUGGER_ESCAPE to the final test, which will launch the debugger
...
otherwise (in order to test the debugger message).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 19:54:08 +00:00
ejakowatz
04de1897ed
More tests for BLooper.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 19:50:28 +00:00
Axel Dörfler
16ba498087
Applied change 1505 of the NewOS repository: added the -p option to makeflop
...
to be able to pad to the floppy block size.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 19:42:44 +00:00
David Reid
19111f404e
Use the defined values from bootdir.h. This was part of an experiment to
...
increase the length of names we can use for adding things to the floopy,
but it didn't work. Still, these changes seem to make sense.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 19:37:28 +00:00
beveloper
08b993b215
remove use of unterminated strings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 18:29:41 +00:00
Ingo Weinhold
16b9077c10
Stupid me. Forgot to check in the generated file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 17:35:00 +00:00
Ingo Weinhold
a610fc7459
Merged vanilla branch into main trunk.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 17:18:28 +00:00
Ingo Weinhold
25fc975af4
Minor tweaks for sake of correctness and aesthetics. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 16:30:17 +00:00
David Reid
333119344a
Another attempt to fix the module loading problem. I've also added
...
a load of comments explaining why it does the things it does.
In the get_module code we now correctly
call the init function, which was being missed before if we got
the module via search_module.
If people can test and confirm this works. It works here and has solved
all the issues I was trying to fix.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 16:08:53 +00:00
Ingo Weinhold
c551f3cdad
Added alias floppy for $(OBOS_FLOPPY).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 13:29:58 +00:00
David Reid
b0bdff5216
Small fix to prevent a segfault.
...
Provide more info when a duplicate module name is detected during a scan.
Remove some code we no longer use.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 12:51:48 +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
David Reid
d2c1ff9a7d
Few changes...
...
- add a lot of comments
- only lookup symbols as needed to keep the paths thru the function
as small as possible
- add comments about the problems we have and give some idea about what
needs fixing and what then needs removal from this file
- show the hooks pointer being passed to detect NULL pointers more
quickly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 12:10:38 +00:00
David Reid
fa10e022b1
Add some more comments.
...
Remove some debugging dprintf's we shouldn't need
The style police have paid a visit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 12:06:58 +00:00
Tyler Dauwalder
d1f6c38f0d
Unit testing update:
...
- Verbosity is now honored globally
- Added BTestCase::Outputf()
- Migrated BNode, BStatable, BDirectory, and BPath tests
- Added CommonTestLib, TestLib, and R5TestLib rules to Jamrules
- Updated Jamfiles for unit testing stuff
- Probably a few other things I've forgotten
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 10:50:55 +00:00
Axel Dörfler
cbe085bc5a
Forgot some debug stuff...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 08:12:41 +00:00
Axel Dörfler
243d156e21
sys_seek() now returns the stream position as an off_t.
...
Minor bug fixes.
fd_close() now doesn't have to call remove_fd() anymore - it's now called
in user|sys_close(), fd_close() is now only called in the last put_fd().
Cleanup, improved debug output (without any warnings).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 07:55:51 +00:00
Axel Dörfler
b46f99148e
sys_rstat() -> sys_read_stat()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 07:52:08 +00:00
ejakowatz
38f5ceca01
Some more BLooper unit tests, with some minor resulting tweaks to BLooper.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 06:18:27 +00:00
Ingo Weinhold
4f139d7754
Added BMessenger::IsTargetLocal() test cases.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 23:34:40 +00:00
Ingo Weinhold
8e4f7c25a8
Link against /boot/home/config/lib/libopenbeos.so rather than the one in distr/... This adds the necessary dependency, so that you can be sure that when running the test, it will use a version that is up to date.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 23:33:22 +00:00
Ingo Weinhold
e1f41e5d53
BMessenger::Target() uses BLooperList now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 23:28:07 +00:00
Ingo Weinhold
0e1fa9f1ad
LOCATE is now set for the /boot/home/config/lib copy of libopenbeos.so.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 23:27:01 +00:00
Ingo Weinhold
12aa5123e4
Changes in generated files due to modification in Jambase and jamgram.yy.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:53:12 +00:00
Ingo Weinhold
e96d98165c
Added jumptoeof to grammar.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:50:11 +00:00
Ingo Weinhold
fe9731da66
* Added parse_jumptoeof() to set the jumptoeof flag and parse_shall_skip() to
...
get it.
* Adjusted parse_file() to terminate when jumptoeof was invoked and reset the
jumptoeof flag.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:49:03 +00:00
Ingo Weinhold
5f2a792b63
* Added compile_jumptoeof() as parsing hook for jumptoeof.
...
* Adjusted compile_rules() to terminate once jumptoeof was run.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:44:36 +00:00
Ingo Weinhold
e73bb7c88e
Added support for always reading the whole Jamfile tree, even when invoking
...
jam in a subdirectory:
* Adjusted SubDir to include the root Jamfile, if invoked from a subdir.
* Added LocalClean and LocalDepends, which work similar to Clean and Depends,
but have no effect, when called from a Jamfile that is not in the tree of
the current subdirectory. Replaced the Clean/Depends invocations with
LocalClean/LocalDepends where necessery.
* Added FIsPrefix which is a support rule for LocalClean and LocalDepends.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:42:02 +00:00
Philippe Houdoin
32ef543544
Run-time loaded versions of these keyboard and ps2mouse drivers are now
...
in 'keyboard' and 'ps2mouse' subdirectories of src/add-ons/kernel/drivers/arch/x86/,
making these old ones obsoletes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 19:28:20 +00:00
lillo
2b94bc7ba9
hopefully fixed the bochs debug issue
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 12:39:57 +00:00
Philippe Houdoin
a5da066045
We now don't forget to call drivers's init_driver() to init them completly.
...
Drivers who publish nothing are not keep loaded, too.
These are *hacks* until we have a real devfs dynamicly loading drivers...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 07:54:56 +00:00
ejakowatz
e3684651de
Finally figured out why the first assert in IsMessageWaiting5() always
...
worked under R5 but only sometimes for OBOS. Answer: the OBOS
implementation of BLooper was attempting to lock itself prior to fetching
the message from the queue. I moved the lock attempt after the fetch and
it worked the same. I realized that if the system was loaded heavily
enough, the assert might still fail simply because the looper would not had
enough time to get to the fetch (thereby emptying the queue), making the
assert pretty useless. Given that it was originally there as a probing
test (rather than as an integral part of the unit test), there is no real
need for it anyway, so it is no longer used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 07:51:51 +00:00
lillo
c4786ea6c4
Made bochs e9 hack switchable by configure
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 23:42:06 +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
Ingo Weinhold
4b8c4e675c
Added definition of B_BAD_DATA.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 17:13:15 +00:00
Ingo Weinhold
0505163bc5
To be able to build from other directories we need to add the subdir path to the included headers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 16:24:53 +00:00
ejakowatz
df226cd7b3
A new class to manage the list of loopers in a team. Provides the
...
functionality of the existing static BLooper functions (which now call
through to it) in a nicer package. New code should use the global instance
of this (BPrivate::gLooperList) instead of the old BLooper functions (which
are officially deprecated).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 16:04:06 +00:00
Axel Dörfler
296e9ce964
Fixed building of the btreeTest in the new tree.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 15:57:02 +00:00
ejakowatz
abb579331f
Tweaks to deal with new repository hierarchy and use of unified CppUnit;
...
some bug fixes and a couple of new tests for BLooper.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 15:51:31 +00:00
Tyler Dauwalder
4b9ebdb7e6
Initial checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:59:19 +00:00
Tyler Dauwalder
8d86fe19f9
Added dynamic test suite loading
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:58:52 +00:00
Tyler Dauwalder
3401b538ed
Added TestSuite
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:51:17 +00:00
Tyler Dauwalder
c577d5b5f4
Rewritten completely; designed to work with new framework
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:50:53 +00:00
Tyler Dauwalder
6c3b4a051f
Added code to honor BTestShell::Verbosity() levels when outputting
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:50:13 +00:00
Tyler Dauwalder
20a45908ba
Added dynamic test loading, plus a hack to allow global access to a BTestShell var
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:49:34 +00:00
beveloper
7d3a98264a
I felt I had to do *something*
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 00:33:52 +00:00
Ingo Weinhold
4573543ca8
Removed third argument for SystemMain. Not longer needed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 22:11:47 +00:00
Ingo Weinhold
58efc9d865
Renamed KernelAddon to R5KernelAddon to avoid confusion.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 17:31:49 +00:00
Ingo Weinhold
ca7ccc86cd
Added compiling defines and debug flag. Now KernelAddon is used instead of Addon.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 16:40:01 +00:00
lillo
8367bc2f55
small fix to make threads to return meaningful values on exit
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 13:34:00 +00:00
David Reid
82610abc62
Make some changes o the ISA nad PCI modules and add the start of a config
...
manager module. As time goes on we can start fleshing these out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 10:36:32 +00:00
David Reid
7cf327ff5e
ERR_NO_MEMORY -> ENOMEM
...
ERR_INVALID_ARGS -> EINVAL
CVSR_NOMEMO----------------------------------------------------------------
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 10:22:17 +00:00
David Reid
4b6ac4574c
Remove the isa test case as it now works and maintaiing it was a waste of
...
time as we will have lots more cases to test with :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 10:17:26 +00:00
David Reid
f2c397eac9
ERR_NO_MEMORY -> ENOMEM
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 10:15:14 +00:00
David Reid
faf1362d13
Continue removing ERR_INVALID_ARGS in favour of EINVAL
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 10:14:29 +00:00
David Reid
dfc6d0bbbd
Tidy up some error values we're passing. Essentially remove the ERR_SEM
...
errors, though these will need to be checked.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 10:10:22 +00:00
Axel Dörfler
16237a1692
The kernel will now be build again in the Jamfile (or was there a pressing
...
reason to disable it?)
Updated much code to reflect the changes in the VFS, including libc's open()
(you can now also create files using this function), and opendir().
Added the syscalls for sys_open_dir(), and sys_create_dir().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 05:18:21 +00:00
Axel Dörfler
3b120ea240
Updated the code to reflect the changes in the VFS.
...
Fixed some bugs in fd.c (how many more bugs can be in a small file like this? :-).
Added the syscalls for sys_open_dir(), and sys_create_dir().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 05:15:34 +00:00
Axel Dörfler
ea536d2ba4
Updated VFS, more POSIX like open/create, has now extra open_dir/create_dir
...
functions. sys_create() now returns an fd of the open file (some code in the
kernel shell already depend on this).
Moved the seek functions to fd.c.
Updated all internal file systems to a new and updated API.
vfs.c is not cleaned up well, but also has some bug fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 05:13:20 +00:00
beveloper
07d1d1fff1
Taking the address of a temporary is a bug, even if it seems to work fine.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 01:58:07 +00:00
beveloper
4aec725457
Taking the address of a temporary is a bug, even if it seems to work fine.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 01:31:18 +00:00
Ingo Weinhold
0186b32eac
Build hey.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:47:31 +00:00
Ingo Weinhold
d7caef315e
hey.c -> hey.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:47:10 +00:00
Ingo Weinhold
1ab5344ac7
Removed jam from the build. It doesn't make sense to build the build tool regularly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:45:31 +00:00
Ingo Weinhold
0702d16ff6
That's the price to pay for having generated files in the CVS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:43:37 +00:00
Ingo Weinhold
ab8f576120
In case '.' isn't in PATH...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:42:11 +00:00
Ingo Weinhold
7b26da89fc
Set sane variable values for BeOS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:41:22 +00:00
Ingo Weinhold
47e9aba348
Merge from the vendor branch. Now we've got the real version.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:37:57 +00:00
Ingo Weinhold
8e5bbc1f49
It wasn't a good idea to remove Jamfile...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:36:08 +00:00
Ingo Weinhold
aa398c8e2c
Initial revision
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:29:12 +00:00
Ingo Weinhold
0bb69689e4
Removed in preparation for jam import.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 00:28:33 +00:00
Ingo Weinhold
13076722ef
Unsuccessful attempts to get the BArchivable tests building.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 22:45:21 +00:00
Ingo Weinhold
285a7bf086
Tried to get the remaining tests added to the build.
...
* The support kit tests are commented out as they badly fail to compile.
* I tried the net kit tests, but had to stop very early as I didn't get it
compiled. David?
* Some BFS tests don't compile due to a missing header and the undefined
B_BAD_DATA. Axel?
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 22:43:55 +00:00
Ingo Weinhold
b3727040a0
Added add-ons test to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 20:43:24 +00:00
Ingo Weinhold
9effd71975
Added missing prefs applications to the build and fixed some smaller problems.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 20:40:26 +00:00
Ingo Weinhold
7561e939f5
Added libtranslation.so to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 20:38:56 +00:00
Ingo Weinhold
a385106e06
Added the remaining print drivers/add-ons to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 16:53:02 +00:00
Ingo Weinhold
f1bc586206
Fixed the target location for the add-on.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 16:52:39 +00:00
Ingo Weinhold
97558ac202
Obviously needed for building but missing in the new tree.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 16:44:13 +00:00
David Reid
cdbcdb71d9
Marcus pointed this out! Thanks.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 00:55:02 +00:00
Ingo Weinhold
7b65656e74
Added virtually empty Jamfiles to get rid of the warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 00:18:25 +00:00
David Reid
d2ececb63c
Modify the way that the drivers dir works. We now only build dev.c and
...
do everything from there. I'd liek to move this into the main kernel
once we figure out how to make the rest of our devices load at
run time without needing to have small headers to include their init
routines.
This is a step along the way, but at present the console modules
can't be loaded that way.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 23:52:01 +00:00
David Reid
fdb1688888
OK, add the new files this time! CVS is behaving strangely for me at the
...
moment :(
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 23:49:47 +00:00
David Reid
2bf4a34fc2
Add the keyboard and ps2mouse driver here as dveice drivers instead of having
...
them statically linked.
Adjust some of the headers for the Drivers change.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 23:49:04 +00:00
David Reid
2dcaf9a76a
This may not be liked by some, but we do have archictecture dependancies on
...
some of our device drivers, and this should help keep them nicely
isolated from each other.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 23:46:20 +00:00
David Reid
1255f4f403
drivers.h is now Drivers.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 23:27:32 +00:00
Ingo Weinhold
d2c5bcbc5f
Added listdev, mkdos and pc to the build. The gnu subdirectory is still missing, but it doesn't compile as a lot of files are missing and I wonder anyway, if we want to pollute the tree with GPL.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 22:11:53 +00:00
David Reid
dcda4e36eb
We no longer have any common drivers - they're now device drivers and found
...
in add-ons/kernel/drivers/common
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:50:49 +00:00
David Reid
fa81d8fc65
Digit isn't here anymore!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:47:47 +00:00
Ingo Weinhold
0b0485aa13
Exclude the storage kit tests from the build until they will compile again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:40:28 +00:00
Tyler Dauwalder
edcba68313
Added SemaphoreSyncObject, remove SafetyLock
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:31:23 +00:00
Tyler Dauwalder
0a99bdf489
Fixed multithreaded NextSubTest() output problems
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:30:45 +00:00
Tyler Dauwalder
b7ac06cfaa
Semaphore base SyncObject
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:28:41 +00:00
Tyler Dauwalder
4dd5a911be
Rhymes with BAutolock... :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:27:54 +00:00
David Reid
b1c8e50995
Renmove net stuff from the kernel.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:25:24 +00:00
David Reid
4ab9bc87a6
Add snooze!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:24:28 +00:00
David Reid
100b0f973d
Fix a couple of errors we no longer have (ain't regression wonderful)
...
Change to using device drivers for null, zero and digit
Small changes to the way we init devices.
NB the random driver has shown that devices are not being handled correctly,
so this is something we'll ahve to live with until the vfs person fixes it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 19:24:26 +00:00
David Reid
fb8aa06112
Add a random/urandom driver (NB not yet working)
...
Add ibuild rules for Marcus's AC97 driver to the openbeos build, ithat
will allow it to be built for OpenBeOS. At present they don't work
due to missing headers, but aftre a succesful build this can be
uncommented and it will build and OpenBeOS will try to laod it.
This will provide a nice test case
as Marcus has provided the source! Thanks.
Added the null, zero & digit drivers here and they will be removed from
kernel/drivers
NB this has shown that drivers are not being handled correctly by
devfs. I would have tried to look at it but as it falls under the remit
of vfs I won't touch it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 19:19:30 +00:00
David Reid
03d86a851e
Build the kernel first. This cures the earlier problem with
...
add-ons being in the wrong place in our floppy!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 19:07:26 +00:00
Ingo Weinhold
f203c28641
Use RelSymLink instead of SymLink.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 18:49:07 +00:00
Ingo Weinhold
673398074f
Added creation of a symlink from the driver bin dir to the "real" dir.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 18:48:28 +00:00
beveloper
5667d23a37
fixed a bug
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 17:47:38 +00:00
beveloper
9bd6befeb5
the publish_devices export in Drivers.h needs to be fixed, too.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 16:06:43 +00:00
beveloper
dc03e28f18
removed warnigs, spelling errors, added prototypes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 15:48:55 +00:00
beveloper
b6de9d11ff
removed compiler warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 15:16:31 +00:00
beveloper
8b721c0728
removed warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 15:07:40 +00:00
David Reid
49dc88277f
Remove sockettest as we're not doing sockets at the moment.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 14:55:28 +00:00
David Reid
4828a5e712
Comment out the socket syscall as we don't have any socket code in
...
the build at the moment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 14:54:25 +00:00
David Reid
4cb55da05c
Remove the networking code until it's ready.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 14:53:25 +00:00
David Reid
46f728924e
Include errno.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 14:49:02 +00:00
beveloper
48ff964fe7
removed warnigs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 14:01:44 +00:00
beveloper
79de8cf953
get the legacy.media_addon compiling, even though it wont work
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 12:33:57 +00:00
David Reid
9ca7451251
Swap the order of the headers so we have everything defined and so avoid
...
the warnings about sem_info and port_info (defined in kernel/OS.h)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 10:15:18 +00:00
Michael Pfeiffer
54d6b9d6a9
Created Jamfile(s) to build PDF Writer.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 04:38:44 +00:00
beveloper
a967837dbf
adding the ICH AC97 audio driver into the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 00:42:06 +00:00
beveloper
7e38b69c49
fix compiler warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 00:39:37 +00:00
beveloper
e020762819
finally get libmedia.so building :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 00:25:55 +00:00
David Reid
d2de8b3867
Include kerrors.h where it's required.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:21:56 +00:00
David Reid
f6327bfa2e
ERR -> E
...
Change header includes if reqd.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:21:16 +00:00
David Reid
c90a447062
ERR -> E
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:19:52 +00:00
David Reid
394b2aa25b
ERR -> E
...
CVSR -> E------------------------------------------------------------------
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:18:07 +00:00
Ingo Weinhold
93e99fcd57
Added commands in the top level dir to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:10:58 +00:00
David Reid
082fc2ba6d
If Axel doesn't want to maintain this then why are we still building it?
...
Remove the iso9660 stuff from the build as it's no longer being
maintained and never did anything anyways :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@98 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:49:34 +00:00
David Reid
66da50355a
We shoulnd't be using ERR_ codes here, so change it to a posix one.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@97 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:47:09 +00:00
David Reid
47cfcef2aa
Change a couple of codes to be POSIX ones.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@96 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:42:50 +00:00
David Reid
62f1aef129
More posix codes...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@95 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:41:20 +00:00
David Reid
058d10cc83
Change to use EIO
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@94 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:40:03 +00:00
David Reid
0141c92400
Ctahc up with more posix codes instead of ERR_
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@93 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:38:58 +00:00
David Reid
d700c5a3cf
More adjustments to deal with POSIX codes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@92 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:25:29 +00:00
David Reid
d71118c74f
Change to using POSIX error codes and adjust the includes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@91 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:24:54 +00:00
Ingo Weinhold
35d696eaba
Added the midi and screensaver kits to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@90 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:05:38 +00:00
Ingo Weinhold
b72a95e61b
Tried to add the currently only media add-on to the build, but commented out the lines in the Jamfile, for it fails to compile -- not finding headers I can't find either. Whoever is responsible may uncomment them and get it compiling.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@89 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 21:03:26 +00:00
Ingo Weinhold
25f901aec9
Link against the OBOS version on libmedia.so.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@87 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 19:55:52 +00:00
Ingo Weinhold
0a483e7221
Fixed includes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@86 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 19:54:41 +00:00
Ingo Weinhold
19f0c92e2f
Added the media kit to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@85 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 19:54:20 +00:00
ejakowatz
865f9d8e38
Fixes in BLooper and its tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@84 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 15:49:01 +00:00
Tyler Dauwalder
e832976e05
Updated to match changes to src/tools/cppunit/
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@79 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:39:36 +00:00
Tyler Dauwalder
bc85a65ae3
Initial checking of unified unit testing app and example test.
...
+ Currently, only statically linked tests are supported.
+ None of the existing tests have been integrated into it yet; that will come after I add dynamic linking.
+ The example test has multithreaded and singlethreaded examples
+ The name of the unit testing app is open for negotiation if UnitTester is unacceptable for some reason. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@78 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:34:41 +00:00
Tyler Dauwalder
03aa30ce94
Big CppUnit Update
...
+ Initial threaded test support
+ Integrated CppUnitShell code into TestShell
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@77 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:31:07 +00:00
Tyler Dauwalder
e5c292c0c9
Not currently used or integrated into other files, thus removed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@76 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:30:03 +00:00
beveloper
24509b3b8e
Stop these files breaking the build, needs to be fixed later
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@72 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 01:09:21 +00:00
beveloper
440b3fb4ba
/boot/home/config/add-ons/media/legacy.media_addon
...
Adding the legacy (BeOS R3) sound driver interface BMediaAddOn.
Written by Jens Winkler, snapshot from 2002-06-02.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@71 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 00:42:58 +00:00
beveloper
af9bf37038
BeOS Sound Driver for Intel ICH AC'97 Link interface
...
Inital checkin of version 1.0, as published on BeBits.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@70 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 00:12:08 +00:00
ejakowatz
e24ab46c4e
Changes to BLooper tests so that they will work again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@69 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 00:04:38 +00:00
ejakowatz
c07b7f382d
A couple of minor tweaks to get things building again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@65 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 22:17:00 +00:00
Axel Dörfler
07fefdf493
Implemented the read_dir(), and rewind_dir() functions for all internal
...
file systems.
Removed the read() functionality for directories.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@63 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:55:33 +00:00
Axel Dörfler
b18756ad83
Updated dev.c to use sys_read_dir() instead of sys_read().
...
Is this file even needed anymore? If so, we may move its functionality elsewhere.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@62 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:54:34 +00:00
Axel Dörfler
be28e9bd97
Added the syscalls for sys_read_dir(), and sys_rewind_dir(), and moved the
...
use of the IOCPARM_LEN() macro to the ioctl() function in libc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@61 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:49:37 +00:00
Axel Dörfler
65dc706027
Converted module.c to use sys_read_dir() instead of sys_read(). But it really
...
should use opendir(), and readdir().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@60 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:48:27 +00:00
Axel Dörfler
c1f7f96bbf
Added a parameter for the maximum number of dirents for sys_read_dir().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@59 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:47:38 +00:00
ejakowatz
48894e06d7
New jamfiles for several prefs apps and modifications to the top prefs
...
jamfile to use them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@57 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:23:57 +00:00
Ingo Weinhold
1c2a7bcee4
Regardless of whether or not the dir is renamed to bfs, here is a Jamfile. It doesn't compile on my machine, but I remember having heard something about a Be header file missing a declaration.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@55 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 20:31:53 +00:00
Ingo Weinhold
5147813236
Added print server and screen saver to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@54 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 20:14:22 +00:00
Ingo Weinhold
77763004e0
Fixed include.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@53 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:59:20 +00:00
Ingo Weinhold
a63dade9fe
Added the media addon server to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@52 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:58:30 +00:00
Ingo Weinhold
ac01d3440b
The media server rolls in. Well, it doesn't compile, but it doesn't in the old tree either.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@51 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:48:09 +00:00
Ingo Weinhold
b8c8c78099
Here goes the input server.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@50 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:33:56 +00:00
Ingo Weinhold
b01bedd574
This brings the app server proto6 into the game. It doesn't compile completely though and I don't even know, if all the stuff in the subdirs is really needed. DarkWyrm?
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@48 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:24:36 +00:00
Ingo Weinhold
d820b0ec87
Adjusted some Jamfiles to reflect the new tree structure and moved AddResources before the respective building rules.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@47 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 17:58:20 +00:00
Ingo Weinhold
0971030020
Moved AddResources up. It needs to be called before the building rule.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@46 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 17:55:17 +00:00
ejakowatz
05cce1aecd
Initial checkin.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@44 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 16:48:03 +00:00
Ingo Weinhold
70c31e5157
Reflect the latest change to the UsePublicHeaders rule.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@43 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 16:36:50 +00:00
Axel Dörfler
f2e60e56e0
Added missing a newline.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@39 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 15:48:19 +00:00
Ingo Weinhold
8bac7924c0
Fixed the path to the input server.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@38 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 15:20:25 +00:00
David Reid
434d5d1923
As this seemed to be going round and round with no-one fixing it, here
...
is a fix.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@34 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 13:08:47 +00:00
Ingo Weinhold
25d7f21603
Typo: key -> hey.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@33 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:07:35 +00:00
Ingo Weinhold
28fd2c3c85
The included Test.StorageKit.h has been renamed to StorageKitTester.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@32 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:06:51 +00:00
Ingo Weinhold
690f2d09ff
Adjusted the SK tests Jamfile to work in the new tree.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@31 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:05:10 +00:00
Ingo Weinhold
97a2517bdc
The public OBOS include dirs were invalid.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@30 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:04:14 +00:00
Ingo Weinhold
fc5a434b2c
Include the Storage Kit tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@29 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:03:00 +00:00
Ingo Weinhold
32bc7795b0
Adjusted the original SK Jamfile to work in its new friendly neighborhood.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@28 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:02:00 +00:00
Ingo Weinhold
736994efc9
Uncommented Storage Kit include.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@27 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:00:19 +00:00
Ingo Weinhold
7e4c96cf79
SymLink.h included kernel_interface.h, which is a private header. Doh!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@24 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:56:30 +00:00
Ingo Weinhold
5527b575c3
Renamed Test.StorageKit.cpp/h to StorageKitTester.cpp/h. Just to avoid problems with Jam's suffix handling.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@22 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:50:25 +00:00
Ingo Weinhold
533dbf2142
Adjusted to the new tree structure.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@20 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:43:03 +00:00
Ingo Weinhold
98602e0409
Adjusted to the new tree structure, though currently (?) not needed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@19 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:41:59 +00:00
Ingo Weinhold
88a28d9072
Added newline at eof.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@18 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:40:28 +00:00
Ingo Weinhold
66f77d7bfd
This one obviously got lost. Adjusted to the new tree.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@16 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:38:17 +00:00
Ingo Weinhold
54f76689cb
Adjusted the SubDir and SubInclude parameters.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@15 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 20:15:44 +00:00
Ingo Weinhold
8b3bd88c41
I don't know why the path to this header is hard-coded. However, adjusted to the new structure.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@14 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 20:14:09 +00:00
ejakowatz
5f281ed502
Well, I couldn't go to bed without making *something* build ... ;)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 13:40:32 +00:00
ejakowatz
52a3801208
It is accomplished ...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00