Ingo Weinhold
8dbd1340a3
Added resattr, a small tool that converts resources into attributes and vice versa.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 01:24:09 +00:00
Ingo Weinhold
60027f7eac
Use the standard MIME DB path when running under Haiku, but a different one when running under BeOS (so BeOS' MIME DB is not affected when running tests).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 01:22:11 +00:00
Ingo Weinhold
9171d496e2
Added function is_running_on_haiku(), which returns at runtime whether we're running under Haiku.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 01:20:22 +00:00
Ingo Weinhold
523144419b
* utsname::sysname is the name of the OS while system_info::kernel_name is
...
the name of the kernel file. Now return "Haiku" as operating system.
* Even if we can't fill in utsname::nodename with something useful yet,
fill in at least something.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 01:18:56 +00:00
DarkWyrm
08d9a7e92d
Prevent build of BSlider::SetLimits if not building specifically for Haiku
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 22:33:14 +00:00
Adi Oanca
f4687e882c
* moved input handling code from Desktop class to RootLayer
...
* PollerThread was replaced by WorkingThread(RootLayerX) thread which is created every time a RootLayer object is created and destroyed when deleted.
* ViewDriver now initializes the "inputServer" port because it is one of the first objects instantiated by the server.
* changed the way a RootLayer(ex Poller) quits. The thread is not killed anymore, it is been asked to quit nicely. This prevents (future) deadlocks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 21:35:02 +00:00
Michael Pfeiffer
cc4218ac28
Added Page Selection. Proper layouting of the controls in the page and setup dialogs is left open for a newbe to do :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 16:22:06 +00:00
Michael Pfeiffer
c7e1cfc1d4
Build PCL6 again as we have a replacement for jetlib
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 16:16:30 +00:00
Michael Pfeiffer
af6520e96c
Implemented Page Selection.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 16:12:41 +00:00
Michael Pfeiffer
b1a3ccb885
Replaced jetlib.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 12:02:10 +00:00
Michael Pfeiffer
d647d0afe9
Implemented Delta Row Compression.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 12:01:25 +00:00
Michael Pfeiffer
a6d74a56c6
Increased window size to fit all controls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 11:50:52 +00:00
Michael Pfeiffer
e5ac55c714
Fixed bug that occured when duplex mode is selected.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 11:50:00 +00:00
Rudolf Cornelissen
4bf2b3cccd
added 2D_surface command defines (for DMA use at first).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 10:17:20 +00:00
Rudolf Cornelissen
fcc9f0ab48
added 2D_surface command engine defines and FIFO channel assignment: used for setting buffer colorspace, location and pitch later on.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 10:15:15 +00:00
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