DarkWyrm
5b49ad98d0
Tweaks to make synchronous replies less work
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 01:51:00 +00:00
DarkWyrm
c26e0fe214
Added codes to go along with the client-side BFont functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 23:29:13 +00:00
DarkWyrm
5fbd2c2ff7
Implemented a lot of the client side functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 23:28:02 +00:00
DarkWyrm
d9bb1ef486
Implemented _font_control()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 22:12:05 +00:00
DarkWyrm
cd6f0b7869
Added codes to allow for initialization of system fonts
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 22:09:42 +00:00
DarkWyrm
04ab15f96d
Gave _font_control() friend status so we can init the system fonts
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 22:07:32 +00:00
Ingo Weinhold
54dd704038
Added support for the DEBUG_PRINTF macro.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:49:59 +00:00
Ingo Weinhold
2d36bfd683
* Added support for the DEBUG_PRINTF macro.
...
* More debugging output in error cases.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:49:12 +00:00
Ingo Weinhold
26afdd622e
* Added more debug output.
...
* In handle_reply(), in case the port message code is not as expected,
don't return B_OK and let the caller proceed with an uninitialized
BMessage, but return an error.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:47:41 +00:00
Ingo Weinhold
7e3ac9f35f
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.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:45:13 +00:00
Ingo Weinhold
2751025516
Temporarily added debug_[v]printf() functions for userland usage, equivalent to dprintf() in kernel.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:44:16 +00:00
Ingo Weinhold
6fef29ae45
* 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.
* Fixed _user_read_port_etc(): It didn't copy the message code back to
userland, if the message had a size > 0.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:43:07 +00:00
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