Ingo Weinhold
57b6c3bcad
* Changed return value of read_port[_etc] from status_t to ssize_t. That's
...
not how it is declared in R5, but it is what actually is returned.
* Temporarily added debug_[v]printf() functions for userland usage,
equivalent to dprintf() in kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:41:14 +00:00
Ingo Weinhold
60a463c673
Added /dev/dprintf driver. It's probably quite different from R5's, but nevertheless useful for debugging.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:36:50 +00:00
Ingo Weinhold
11446bc638
Start the registrar.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:34:20 +00:00
Ingo Weinhold
ee0f30c1ce
Added dprintf driver.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:33:33 +00:00
Ingo Weinhold
d5807053ee
* Now the DEBUG_PRINTF variable can be set to cause the macro
...
DEBUG_PRINTF to be defined.
* Fixed KernelAddon rule: Now not the file but the target kernel.so is
specified for linking the add-on against, which results in proper
dependencies. Axel: Want to clarify the ToDo comment?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:32:51 +00:00
Axel Dörfler
cafa4dd931
Removed next_dev() again - it's implemented in libroot/os/fs_info.c and
...
now used from there, sorry Ingo (I forgot to commit the Jamfile that
included fs_info.c).
Minor comment cleanup to make their appearance consistent throughout
the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 14:41:00 +00:00
Axel Dörfler
40174b5c1b
Added fs_info.c functions to the kernel (next_dev, fs_stat_dev, ...).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 14:36:31 +00:00
Ingo Weinhold
40be269010
Added missing next_dev(). Axel?
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 13:46:04 +00:00
Axel Dörfler
8f92119289
Added commands "quit", "open", "setvolume", and "translate".
...
Added some more libraries.
Added "syslog_daemon" server.
Now creates the /tmp directory on the target volume.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 04:42:22 +00:00
Axel Dörfler
625c061ad5
Added empty implementation of missing class BChannelSlider.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 04:38:32 +00:00
Axel Dörfler
7f34794009
Reserved private virtuals don't really have to return a status code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 04:36:47 +00:00
Axel Dörfler
08c97b50b9
Added empty implementation of missing BChannelControl class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 04:29:19 +00:00
Axel Dörfler
a4023b87c1
Reserved private virtuals don't really need to return a value.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 04:27:57 +00:00
Axel Dörfler
db2ce5ffc5
Added missing BSlider and BTabView/BTab classes to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 04:13:30 +00:00
Axel Dörfler
f17df0a3b5
Cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 04:12:09 +00:00
Axel Dörfler
e9e39349b0
Big cleanup, many parts now fulfill our style guide.
...
Made instantiation from BMessage more robust.
Fixed some crashing bugs (in ResolveSpecifier() (don't delete a string
that you don't own, in the BView iteration code in deleteView(), ...).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 04:10:16 +00:00
Axel Dörfler
9551dd1cd3
Added rgb_color == and != operators - inline only.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 02:38:52 +00:00
Axel Dörfler
d7e274c031
The "/tmp" symlink targeted the wrong location.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 01:27:04 +00:00
Axel Dörfler
e3954f5a94
acquire_sem_etc() really didn't like the combination of B_RELATIVE_TIMEOUT
...
and B_INFINITE_TIMEOUT -- it now does and won't start a timer anymore in
this situation. Reported by Ingo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 01:07:23 +00:00
Axel Dörfler
849647ec72
sync() now also syncs the vnode caches (file data).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 00:38:16 +00:00
Ingo Weinhold
bcab07add0
* More sophisticated debug output macro.
...
* Fixed BLooper::ReadMessageFromPort(). If ReadRawFromPort() failed,
there was nevertheless a message created and dispatched.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 00:28:58 +00:00
Axel Dörfler
c98d79095b
Fixed compilation, applied our style guide, simplified the sources, removed
...
some cruft and too extensive help text.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 00:13:58 +00:00
Ingo Weinhold
8359274f30
Added mkindex to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 23:34:23 +00:00
Rudolf Cornelissen
98a4e5c787
removed a few DMA define errors which lets DMA now place the commands in actual acceleration engine registers (via the FIFO), instead of sending them into oblivian. Because the engine does not process them OK yet (no visible confirmation onscreen of any activity even) it will hang DMA fetching after about 100 fed blit-commands....
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 21:36:57 +00:00
Rudolf Cornelissen
3c85aa4f00
more DMA related programming. Still acceleration this way is disabled. DMA command fetching now actually works on GeForce 6600/NV43 (verified). The acceleration engine still refuses to process the fed commands (correctly) though. OTOH: programming not yet coplete ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 21:30:22 +00:00
Axel Dörfler
8b74caaae0
Brought dump_port_info() into shape, added output of port_entry::total_count.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 20:45:18 +00:00
Axel Dörfler
6158f7d53a
Fixed a crashing bug in port_buffer_size_etc() - it had a special error
...
check for B_TIMED_OUT and B_WOULD_BLOCK, but it got through with other
errors.
Removed special error check for "known" error codes from port_buffer_size_etc(),
read_port_etc() and write_port_etc() - they no longer print out a warning in
that case.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 20:21:58 +00:00
Axel Dörfler
4d00c5e1ea
We introduced the new constant B_CURRENT_TEAM for this.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 19:50:12 +00:00
Axel Dörfler
efc497d596
Added catattr, query, lsindex, and mkindex commands to the image.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 19:44:21 +00:00
Ingo Weinhold
807ea2fa80
More informative debug output. The MIME manager keeps on getting spurious what == 0xffffffff messages under Haiku. Needs to be investigated.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 15:36:22 +00:00
Ingo Weinhold
dca399f444
Use the BApplication constructor that returns an error code instead of the one that just exit()s on error, so that we can at least print the error.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 15:33:57 +00:00
Ingo Weinhold
2397da28a0
Added support for get_next_image_info() with team ID == 0, which means the current team.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 15:32:14 +00:00
Ingo Weinhold
8afbcade1f
RUN_WITHOUT_APP_SERVER needs to be exported to be visible for jam. Added listimage to the image.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 15:31:02 +00:00
Jérôme Duval
e332769a38
added flag to work on R5
...
added flag work with gcc 20041202
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 12:47:56 +00:00
Jérôme Duval
5c889cacf2
replaced ... by B_UTF8_ELLIPSIS
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 10:42:54 +00:00
Jérôme Duval
d66aed044c
change to B_MULTIPLE_LAUNCH
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 10:39:19 +00:00
Stephan Aßmus
9f3445e1bf
added tests for using the pen location version of DrawString
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 02:22:26 +00:00
Stephan Aßmus
6303609fca
added support for retrieving the position of the virtual next char, for some reason the kerning is handled correctly across multiple calls to RenderString, it must somehow make sense from looking at the code, but I don't follow it this late in the night...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 02:19:23 +00:00
Stephan Aßmus
8837f9f78d
DrawString now modifies the pen position
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 02:16:44 +00:00
DarkWyrm
d9558e8396
Sync with stippi's version of PatternHandler with integration tweaks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 01:34:20 +00:00
DarkWyrm
8a4cda2a9b
Update to stippi's version of PatternHandler with integration tweaks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 01:33:11 +00:00
Ingo Weinhold
0e7e729939
* Added the registrar server and the roster command (wasn't able to test
...
yet, due to problems with our system).
* The config driver lives actually in misc/config. Also added the missing
symlink.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 23:52:59 +00:00
Nathan Whitehorn
d864e822ca
Bumped MDR version number to 3.0.2
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 23:09:44 +00:00
Ingo Weinhold
b06942c604
All internally used FDs are now set to O_CLOEXEC.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 22:06:51 +00:00
Rudolf Cornelissen
49057561f5
added DMA cmd defines, added more DMA info to shared info.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 14:28:41 +00:00
Rudolf Cornelissen
a3587d4de6
modified cmd handles, added DMA blit partly. Still untested.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 14:27:02 +00:00
Jérôme Duval
b1c75e39b3
Fixed EnqueueMethodMessage() so that Eventloop port is released
...
WatchPort process adapted to this behavior :
we go through message processing without messages. in fact method messages musn't be processed as device messages.
Even if buggy, Canna method is now working with StyledEdit (with Input Method aware views typically).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 13:13:14 +00:00
Rudolf Cornelissen
0bfacfc2a9
added DMA cmd related info
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 12:11:36 +00:00
Rudolf Cornelissen
02f2dfb7cf
added DMA cmd buffer info to shared_info
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 09:57:01 +00:00
Rudolf Cornelissen
f180c737d7
more DMA stuff
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 09:56:00 +00:00