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
be5af1baf8
Added UseCppUnitObjectHeaders rule and replaced UseCppUnitHeaders by UseCppUnitObjectHeaders in unit testing rules. If more than one unit test was built, the cppunit headers were added several times. There are still flags appearing multiple times when compiling an object file that is used for more than one test. But that's not that urgent...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 16:11:42 +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
409a1aeacd
Added some comments
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 01:58:14 +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
jrand
5004ee27f8
Adding the BPropertyInfo use cases to cvs. Actual use cases to be filled in still but there
...
is significant implementation information here already.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-01 03:15:10 +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
Axel Dörfler
7220bfdf74
Added missing newlines
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 14:32:50 +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