Commit Graph

10151 Commits

Author SHA1 Message Date
Axel Dörfler
78924f7e7b Now sets the process group of the terminal, so that signals are delivered (you can now Ctrl-C apps, at least in theory :)).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 14:05:34 +00:00
Philippe Houdoin
ccaabbeff6 Long pending little changes that were dying for checkin in my local repository...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 09:49:58 +00:00
Stephan Aßmus
1a7fc52717 added some functions with optimized implementation, optimizes most frequent usage
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-29 01:43:04 +00:00
Axel Dörfler
6e3baa44ff Fixed a bug in send_signal_etc(): when using the group-wide form (negative
process ID), it also searched for a group with a negative ID.
Some minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 22:00:36 +00:00
Axel Dörfler
29b183b12c select() doesn't care about obvious user errors: if it's called without
any chance to come back (without being signaled), it now will.
For example, this is used by the sleep command (which now actually works
as it should :)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 21:45:56 +00:00
Adi Oanca
eb6bc5d5ff Started to implement workspace support. Surprisingly, with this small change changing workspaces actualy works. An it works quite well I may add. :-) So happy the new window manager which I heavily tested actualy works inside app_server. :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 21:32:24 +00:00
Adi Oanca
256c1b1502 Insignifican change. Read uint32 instead of int32.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 21:26:35 +00:00
Stephan Aßmus
e33b90ea35 implemented cursor support in the DisplayDriverPainter
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 18:03:45 +00:00
Michael Lotz
ee897a16b0 Theoretically it should now be possible to open a MiniTerminal
with coordinates specified as arguments, but this somehow
(and why ever) does hinder /bin/sh from execution (under R5
at least). If someone could point me to the problem I'd be greatful.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 17:04:50 +00:00
Ingo Weinhold
ebc1161965 Added gdb's bfd and opcodes libraries and gdb itself to the build.
Everything compiles here, but I couldn't test it yet, since Haiku
doesn't seem to boot properly at the moment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:59:01 +00:00
Ingo Weinhold
4184510ecb Jamfile for gdb itself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:57:43 +00:00
Ingo Weinhold
f1bb97fc23 Added files generated by configure for x86.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:57:11 +00:00
Ingo Weinhold
8c9f956b79 Jamfile for gdb's opcodes library.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:55:55 +00:00
Ingo Weinhold
b33773df35 Generated by configure.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:55:28 +00:00
Ingo Weinhold
25c32f636c Jamfile for gdb's bfd library.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:54:45 +00:00
Ingo Weinhold
9231a159cf Added files generated by configure for x86.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:54:05 +00:00
Ingo Weinhold
faed617707 Implemented fork() support. We basically need to re-get the heap area
after fork()ing and recreate all semaphores we've been using. To do
the latter, we simply maintain a list of all locks.
fork()ing multithreaded teams can still be troublesome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:34:20 +00:00
Ingo Weinhold
adc9b39a23 * Added printing a stack trace in case of a page fault. Must be enabled
explicitely when needed.
* Added a ToDo item to _user_resize_area().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:24:33 +00:00
Stephan Aßmus
e0bb2421ea whoa - how did this even work?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 14:29:18 +00:00
Stephan Aßmus
181a984e2a implemented the rest of the drawing calls save for Stroke/FillShape, since I would have to ask what kind of data this function is being passed
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 13:39:35 +00:00
Stephan Aßmus
02ec6ae825 Implemented and tested the color spaces B_RGB16, B_RGB15, B_CMAP8 and B_GRAY8. The trick is this: The Painter based implementation will most likely always use a double buffered approach. I simply made the back buffer, into which Painter draws, always B_RGBA32, while the front buffer can have any other format the drawing backend is supposed to support. In CopyBackToFront, the format conversion is handled. This gets us pretty far without actually doing very much, and I am not even sure if there should/can be a better implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 13:38:11 +00:00
Stephan Aßmus
c3bfa6fec9 avoid a crash if used without attached buffer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 13:33:15 +00:00
Stephan Aßmus
9543470f44 RootLayer thread can busy loop, and with this change, its easier to shoot app_server whereever it hurts most
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 11:13:19 +00:00
Stephan Aßmus
f6939eb1e1 more correct implementation, but still exhibits problems, usage turned off in ViewHWInterface::Invalidate
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 11:11:33 +00:00
Stephan Aßmus
94b3e6bfd0 ignore the pattern passed to the drawing functions, keep using the one from SetDrawData
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 11:08:10 +00:00
Stephan Aßmus
55a56d8b0e added fake_input_server.cpp to the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 11:04:44 +00:00
Stephan Aßmus
022badfd34 extracted the fake input_server communication into an extra file used by ViewDriver and ViewHWInterface
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 11:04:00 +00:00
Stephan Aßmus
53115c9920 moved the place of implementation of locking in DisplayDriver, because the Painter version has it elsewhere. the DisplayDriver locking API is now abstract, the same locking is now in DisplayDriverImpl, Painter version uses HWInterface for locking
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 22:02:19 +00:00
Michael Lotz
3c46b74895 Remove debug leftover.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 21:29:55 +00:00
Michael Lotz
cd970020cb Implement the BWindow::task_loop again. I know that this is code duplication, but look at
the TODO item for an explanation. We could do this as a hack in Looper.cpp though.
Also implement the determine_target function (incomplete).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 21:08:38 +00:00
Ingo Weinhold
4b72d3d8a8 Renamed gawk's libintl.a target to <gawk>libintl.a and placed it in the
objects/ tree, so that it doesn't clash with others (those should be
fixed, too). gdb is (or will be, as soon as I check it in) using this
version, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 20:21:53 +00:00
Michael Lotz
1e29ee2b74 Made it possible to disable PCI module debug output.
This speeds up boottime with serial debug enabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 17:00:20 +00:00
Michael Lotz
11356b94e3 Fix Setenv to properly export TERM that commands like clear work too.
We use Setenv instead of the native setenv to stay binary compatible with
BeOS, as R5 does not have setenv.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 16:05:55 +00:00
Michael Lotz
fa78489457 Added a BMessageFilter to catch the B_TAB key (for tab completion).
This doesn't work under Haiku yet though.
Also made the thread functions into members of MiniView so that we
can have correct private members.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 15:47:40 +00:00
Adi Oanca
d9bbe07efa When the active window (the one who has both, focus and front states) changes, messages are sent to the client side. This makes BWindow::WindowActivated to be called on such am event.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 13:52:26 +00:00
Adi Oanca
80cbe2b0f3 2 new methods
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 13:48:30 +00:00
Adi Oanca
2401f93d84 Added FrontWinBorder(). Made FocusWinBorder() and a few other methods inline.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 12:58:27 +00:00
Adi Oanca
ab88eaf2ad BWindows are notified when they are moved or resized.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 12:19:37 +00:00
Adi Oanca
27e3da2fac BWindow's frame events hooks work now. Frame gets updated on window move/resize.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 12:16:31 +00:00
Adi Oanca
867b420067 get_workspace_windows() new returns true if there was a change in window hierarchy. Improved performance a bit by avoiding an invalidate call.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 10:51:28 +00:00
Adi Oanca
aa498a5f03 get_workspace_windows() now returns bool
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 10:49:42 +00:00
Adi Oanca
9e358400f5 Sending windows into background works now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 10:00:37 +00:00
Michael Lotz
2a0a0e9c0a Add the MiniTerminal to the buildsystem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 06:12:25 +00:00
Michael Lotz
160bd2ffca This is a minimalistic version of a terminal.
It can be run under R5 and Haiku (binary compatible) and should work
with the Haiku app_server and input_server.
It gives access to a /bin/sh like a normal terminal, but has no fancy features
like different text encoding support and it cannot even redraw itself when
something else overdraws it.
But it's pretty impressiv that it works so well under Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 06:11:38 +00:00
Michael Lotz
6109122c9b Implemented screen to screen blit and cleaned up header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 05:29:56 +00:00
Michael Lotz
65369afd6d Implement AS_LAYER_COPY_BITS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 05:25:59 +00:00
Michael Lotz
f43d1e849d Implement AS_LAYER_SET_PATTERN.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 04:08:33 +00:00
Michael Lotz
a2a622616f Some cleanup to make it easier to read.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 03:33:23 +00:00
Michael Lotz
ac13e18b22 The default shear is actually 90.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 03:15:34 +00:00
Michael Lotz
ed16bb7885 Fix KeyDown/KeyUp calls so that we don't always get numBytes = 0.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 02:07:02 +00:00
Michael Lotz
d5373f593a Minor cleanup and a small fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 01:57:28 +00:00
Ingo Weinhold
61b60efc91 Added gdb's libiberty to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 23:35:57 +00:00
Ingo Weinhold
f0d5a638b1 Added a config.h (generated by configure). We probably have to check this later again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 23:35:24 +00:00
Stephan Aßmus
c3314ff5eb added DPMS functions to HWInterface as well as Initatialze and Shutdown, added a couple of TODO comments
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 23:23:40 +00:00
Stephan Aßmus
4594032d1a got this added\?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 22:26:42 +00:00
Stephan Aßmus
3294d07b15 abstract base class and implementation using BView and BWindow of an interface to a graphics card, UpdateQueue doesn't work yet, it was going to be used to decouple frame buffer transfers to the front buffer from the drawing in the back buffer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 22:16:29 +00:00
Stephan Aßmus
5cdd702901 use a DisplayDriverPainter version if config says so
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 22:13:23 +00:00
Stephan Aßmus
1b52d7cf9c include my new stuff in the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 22:12:37 +00:00
Stephan Aßmus
3d07835f2a init display mode
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 22:11:52 +00:00
Stephan Aßmus
517e54d0d9 added more support functions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 22:10:54 +00:00
Stephan Aßmus
80547db1f2 added some support functions for string bounding box
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 22:09:58 +00:00
Stephan Aßmus
4157339be2 started to implement stuff, it can actually be used and renders my test app almost like the old implementation, plus clipping
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 22:09:02 +00:00
Stephan Aßmus
e56d7bd374 fixed type in RootLayer, which I found because I triggered a bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 22:05:40 +00:00
Stephan Aßmus
b1456ac915 the BViews in the test windows draw something
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 22:00:50 +00:00
Stephan Aßmus
ffc01863ba BitmapBuffer moved into app_server
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 22:00:19 +00:00
Axel Dörfler
61ad5bc2e7 Fixed various problems with the latest stdbool.h changes, including stdbool.h itself:
- SupportDefs.h only includes stdbool.h if included from C
- stdbool.h for C++ now includes a macro for "bool" as defined by that header
- stdbool.h does nothing if __bool_true_false_are_defined is already defined
- stdbool.h no longer defines a _Bool enum, but defines _Bool as unsigned char, as
  previously done by SupportDefs.h (the previous version changed the size).
- The gensyscalls Jamfile now preprocesses its headers in C++ mode so that "bool"
  stays "bool", and doesn't become _Bool.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 18:01:40 +00:00
Stephan Aßmus
e2408620c3 disable the build of agg_font_freetype.cpp for now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 16:49:40 +00:00
Stephan Aßmus
7a54109e1b moved BitmapBuffer, because it comes in handy in app_server
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 16:47:37 +00:00
Stephan Aßmus
c6d265aa15 allow access to bitmap
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 16:46:50 +00:00
Axel Dörfler
534c1cf281 As Ingo pointed out, the breakpoint exception cannot be caused "naturally",
so it's not an interrupt gate but a standard call gate.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 15:36:41 +00:00
Axel Dörfler
db32c595a2 Fixed compilation due to the stdbool.h update.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 15:33:54 +00:00
Ingo Weinhold
0185b89c0d Added gdb's readline to the build. Some day we should put a readline in
src/libs and build a shared library to be used by all programs that
need it (bash, gdb) instead of letting each have its own copy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 15:29:43 +00:00
Ingo Weinhold
bc5b3d1208 Added a config.h (generated by configure).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 15:27:28 +00:00
Axel Dörfler
e5fd0bde4a tcsetpgrp() and tcgetpgrp() are actually defined in unistd.h, not termios.h.
Implemented them and moved them to unistd/terminal.c - not yet tested, though,
but should work. As a side effect, the TTY should now send signals.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 14:41:30 +00:00
Ingo Weinhold
d6ec927ff1 We don't have <sys/file.h>. It wouldn't harm to add it, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 13:06:05 +00:00
Ingo Weinhold
652f8945c1 Include <sys/types.h>. Forgot what, but something was unknown otherwise.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 13:05:11 +00:00
Ingo Weinhold
90af425ab1 Added Haiku x86 recognition.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 13:03:43 +00:00
Ingo Weinhold
9dcad89a9b TCP_NODELAY is not defined in Haiku networking headers yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 13:02:55 +00:00
Ingo Weinhold
055b5b93a8 Added constant for the Haiku OS ABI.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 13:00:26 +00:00
Ingo Weinhold
d92911c6c3 Shared object support for Haiku. Currently only working as part of a native debugger.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 12:58:22 +00:00
Ingo Weinhold
ffe68e41fb Generic and i386 specific Haiku native and target debugger support.
The target debugger won't work though, since quite a bit of code
would need to be moved from the native support files to those for
the target support. But that's not that important at the moment, since
we're mainly want a native debugger.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 12:57:07 +00:00
Ingo Weinhold
4292001718 The include files for generic and i386 specific Haiku support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 12:50:23 +00:00
Ingo Weinhold
36a69705b5 Haiku make support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 12:47:48 +00:00
Ingo Weinhold
f4b0b0925d Haiku support for configure.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 12:46:29 +00:00
Ingo Weinhold
edbfa39b73 Copied gdb 6.3 to the main trunk.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 11:06:23 +00:00
Michael Lotz
0f1414c791 Add Jamfile for libpainter.a to fix the build of app_server.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 10:51:07 +00:00
Michael Lotz
2f45e7ed71 Update inline documentation to reflect the removal of the strlength field
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 10:40:13 +00:00
Adi Oanca
61c1519f03 Small fix to send B_MOUSE_MOVE/UP messages to the BView which acquired the mouse
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 09:18:27 +00:00
Adi Oanca
40b3f1e1ec * clicking inside the active window no longer gets you into debugger. :-P
* Updated KeyboardEventHandler to use the new focus method.
* don't read strlength on B_KEY_DOWN/UP as this gets you into debugger when using ViewDriver.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 08:55:27 +00:00
Adi Oanca
07fdbe8f67 Moved app_server window a bit to the left.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 08:41:46 +00:00
Adi Oanca
688204180d No need to send string length on B_KEY_DOWN/UP
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 08:40:33 +00:00
Stephan Aßmus
612b27513a libagg is now build as static, excluded the build of the GUI controls for the interactive examples
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 23:35:32 +00:00
Stephan Aßmus
80141c9fc5 libagg is now build as static
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 23:34:35 +00:00
Stephan Aßmus
4e9146ad6a removed agg_font_freetype.cpp from the build, as it is already included with libagg.a
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 23:33:45 +00:00
Stephan Aßmus
1fc2bd8922 the beginnings of the Painter version of DisplayDriver, I don't know what I'm doing yet, so just ignore this for now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 22:46:10 +00:00
Stephan Aßmus
a850bd1d8f added Painter to the app_server build and fixed the Jamfile to include the drawing subfolder for header search path
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 22:44:18 +00:00
Michael Lotz
b1530ab8e8 When sending native keydown/keyup events the delivery of the string was broken.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 21:51:02 +00:00
Michael Lotz
96b832ac57 No need to endless loop here.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 21:39:53 +00:00
Michael Lotz
d31e3b8e27 Use FTFace() function to get the face instead of always creating a new one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 21:11:46 +00:00
Michael Lotz
6d495dfc26 FT_New_Face is a quite heavy function and shouldn't be called for every StringWidth, StringHeight and DrawString call. We now keep it open in FontStyle and destroy it there too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 21:02:40 +00:00
Michael Lotz
c98108eee3 The monitoring thread should be called "picasso" (lower case) as in BeOS R5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 20:39:43 +00:00
Michael Lotz
b8dcc94ceb The Haiku roster has a different signature. It still does not work, but does not fail either.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 20:33:23 +00:00
Michael Lotz
af547faf03 Under Haiku we don't have _kdprintf_ but we have (currently) debug_printf.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 20:27:27 +00:00
Michael Lotz
e72fa01ce3 Update the (old) radeon driver to work with Haiku. We need to explicitly tell that the areas are B_USER_CLONEABLE_AREA's that they can be shared with the accelerant.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 20:15:46 +00:00
Michael Lotz
22cf66212c Update AccelerantDriver to the new API and implement all necessary functions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 19:59:10 +00:00
Michael Lotz
0653d45f5b Adapt to new location of display drivers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 19:46:28 +00:00
Ingo Weinhold
85001a7cc6 * Fixed checking for DR6 bits after a debug exception (we were and'ing
with the bit number, not the respective mask).
* Added a small hack to allow single stepping to work in qemu.
  Apparently the BS bit in DR6 is not set when the debug exception
  is handled. So we always assume that a single step event occurred,
  when we couldn't recognize any other event, if the hack is enabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 18:48:51 +00:00
Axel Dörfler
99dbd8b489 Added set_user_intr_gate() and made "int 3" accessible to userland (the breakpoint exception).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 18:40:27 +00:00
Ingo Weinhold
3eae1fea40 * Added support for debugging through exec*().
* Added initialization function. Currently only need to init the
  single step hack for qemu.
* Fixed a deadlock when the nub thread destroyed the debug info. It was
  waiting for itself.
* Moved the filling in the origin info of the debug messages into
  thread_hit_debug_event_internal(). No need for code duplication.
* Writing to user memory can now be partial. We also change the area
  protection, if it wasn't writable. Necessary for setting software
  breakpoints.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 18:40:07 +00:00
Axel Dörfler
99a4d67e7b setpgid(0, 0) should just return the process ID if the process is already a group leader.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 18:38:27 +00:00
Ingo Weinhold
c650ac05fd Added user debug initialization call.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 18:29:12 +00:00
Ingo Weinhold
4f43c96006 * Dealt with a race condition on team exit. The death semaphore and
the thread count need to be accessed atomically.
* Made debugging through exec*() work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 18:28:24 +00:00
Ingo Weinhold
edc2a86662 More debug output and a new ToDo item.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 18:22:27 +00:00
Stephan Aßmus
fa3717f73c updated, because Painter now lives in app_server subfolder drawing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 17:56:50 +00:00
Stephan Aßmus
c0fe8a07c9 moved Painter into drawing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 17:55:49 +00:00
Stephan Aßmus
3ddd2fc70f started to move files arround for better source structure, app_server still builds and runs fine, in case you were worried...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 17:48:49 +00:00
Stephan Aßmus
10612543aa step 3, exracted code from DisplayDriver into DisplayDriverImpl, adjusted the existing implementations to derive from the new class, got rid of some "friend" stuff along the way, essentially I made room for the new Painter based DisplayDriver implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 17:29:20 +00:00
Stephan Aßmus
cd9401a70b second step, all unused stuff is actually removed from DisplayDriver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 13:27:20 +00:00
Jérôme Duval
8575beb8d6 by Stefano Ceccherini
Ifdeffed R5 specific stuff so DirectWindow.cpp and WindowScreen.cpp compile on
haiku too. That doesnt' mean they work there though.
This introduced some warnings which I didn't fix, as they'll go away later.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 13:18:26 +00:00
Stephan Aßmus
f595ecf898 as a first step, all appearently unused calls are commented outfrom DisplayDriver and derived classes, I moved many implementations arround to match the order of the declaration in the header, makes it easier to find stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 13:14:59 +00:00
Axel Dörfler
b291a341f5 Updated license (this is actually a test commit).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 21:29:23 +00:00
Stephan Aßmus
8490b97156 I just realized I called it "windows", so now the app creates two windows...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 17:44:53 +00:00
Stephan Aßmus
1a6138742b a simple test that runs a Haiku BApplication connecting with Haiku app_server, comes with a script that launches app_server too
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 17:36:50 +00:00
Nathan Whitehorn
e3c7dbaabf Added support for both varieties of the Broadcom 4401-B0 10/100 NIC.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 17:21:51 +00:00
Stephan Aßmus
5f0b72b37b updated to app server move
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 15:51:56 +00:00
Axel Dörfler
89501e16b9 Forgot to update fonts Jamfiles - ideally, these should be moved somewhere else,
maybe into the data/ directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 14:51:25 +00:00
Axel Dörfler
33bbe22391 Moved app_server files to app/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 14:45:52 +00:00
Axel Dörfler
7abf63d292 Moved app directory out of the way to ease moving.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 14:43:40 +00:00
Axel Dörfler
13b81f062e Removed old app_server files. server/ will be moved on layer up next.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 14:31:53 +00:00
Stephan Aßmus
bdef3a8ede spotted some potetial segfault bugs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-24 12:59:13 +00:00
Stephan Aßmus
592bc7d4a3 updated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 23:13:29 +00:00
Stephan Aßmus
a0ee6395cd updated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 23:10:43 +00:00
Stephan Aßmus
6fb68b835c added missing string rendering functions, on Haiku, there should be support for drawing bitmaps in all colorspaces that BBitmap::ImportBits knows how to convert to B_RGB32
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 22:34:45 +00:00
Stephan Aßmus
8df0e71d06 support rendering strings up to a certain length, ie less then strlen
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 22:33:06 +00:00
Stephan Aßmus
5df6611a26 link with the objects needed for ServerFont
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 22:32:11 +00:00
Stephan Aßmus
2fc1fe2098 corrected code for general test
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 22:31:32 +00:00
Stephan Aßmus
a0c67cdb39 refactored DrawBitmap to support a version BBitmaps and one for ServerBitmaps, implemented InvertRect, but that was a while ago, and I didn't test it
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 20:31:33 +00:00
Axel Dörfler
ffc80308e6 Some arch functions are no longer used, but called directly (like find_thread(NULL)
instead of hoardGetThreadID()).
Removed unused arch functions.
__init_heap() now calls hoardHeap::initNumProcs(); it's no longer initialized
through a global constructor - that ensures that the heap can really be used
by libroot's constructors (although it did work before as well, somehow).
Moved the heap to 0x30000000 for now (limiting its size, but also ensuring free space
after it) - until the VM can avoid the free space after the heap.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 15:08:25 +00:00
Axel Dörfler
531cc7dc91 We now have a growing heap. hoardUnsbrk() is not yet implemented, though.
The new heap backend will probably be taken from the boot loader's heap
implementation (the free chunk stuff).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 14:15:32 +00:00
Axel Dörfler
d95383a3b9 Fixed various binary compatibility problems with R4.5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 13:22:42 +00:00
Axel Dörfler
c4472a00b1 The heap is now initialized by libroot_init.c::initialize_before(), so
that we no longer need an initialize_after().
Put the architecture dependent hoard functions into the BPrivate namespace
as well. Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 01:47:21 +00:00
Axel Dörfler
076c1b0ea4 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-23 01:15:33 +00:00
Axel Dörfler
f557016851 Applied our coding style, but all clases into the BPrivate namespace.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 22:59:41 +00:00
Axel Dörfler
28fb0f9857 Added a very simple mkindex command - can only create string indexes for now
(and added support for that function in the emulated kernel).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 03:08:32 +00:00
Axel Dörfler
dfb8cfea3f Fixed some obvious bugs: B_GET_PROPERTY shouldn't enter the debugger fow unknown
properties; it should pass on to the next handler (and only if there is none
reply with a B_MESSAGE_NOT_UNDERSTOOD).
Those B_MESSAGE_NOT_UNDERSTOOD are no longer the answer to a B_MESSAGE_NOT_UNDERSTOOD
message anymore, as this lead to an endless loop (for example when starting the
media_server).
Added some ToDo comments - someone please check what has to be done and fill it
out some more.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 02:42:19 +00:00
Axel Dörfler
0efd929e4d Now always print its name first when issuing error messages.
fclose() is now actually called.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 02:35:55 +00:00
Axel Dörfler
5680579795 Added two output options: -o redirects output to the specified file,
-S will dump over the serial line (kernel debug output).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 02:20:41 +00:00
Marcus Overhagen
3f484ea41a test checkin
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 01:01:57 +00:00
Adi Oanca
165177a105 Added support for Layers capturing the mouse (Mouse events). Changed WinBorder to use mouse events.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 20:29:24 +00:00
Adi Oanca
642d7ca95e Implemented BView::SetEventMask()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 20:26:44 +00:00
Axel Dörfler
cd6c2db413 Removed rld0.c (more or less merged its contents with rld.c).
Renamed RLD_STARTUP() runtime_loader() - the new entry point of the loader.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 19:11:12 +00:00
Axel Dörfler
f7a818f980 Has been moved to src/tests/kernel/boot_floppy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 18:02:15 +00:00
Axel Dörfler
ea0bca7cd2 The boot floppy now builds at its new location.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 17:57:45 +00:00
Axel Dörfler
57f911a437 Moved kernel/apps to tests/kernel/boot_floppy, removed boot_floppy stuff
from kernel/Jamfile. Actually kernel/apps is still there as Subversion
doesn't let me commit it -- I'll remove that later.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 17:54:13 +00:00
Axel Dörfler
6557584901 Made some kernel tests build again (that didn't work anymore since I moved
some pieces around). There might be more left, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 17:38:22 +00:00
Axel Dörfler
133841a10e Moved cache_control.cpp out of kernel/apps/ and into tests/kernel/core/cache/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 17:32:14 +00:00
Axel Dörfler
200599e9df Moved consoled out of kernel/apps and into tests/kernel/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 17:25:45 +00:00
Axel Dörfler
fe2db057d0 Moved rld/ from apps/ into it's own directory, runtime_loader.
Moved the rld.so creation from kernel/Jamfile to kernel/runtime_loader/Jamfile.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 16:15:33 +00:00
Axel Dörfler
dd8d0a9247 Renamed console_desc::arg_ptr to arg_count, gconsole to sConsole, variable "con" to "console".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 14:41:46 +00:00
Axel Dörfler
f5a0e223f4 Clear screen and clear line commands now work as expected.
The default option of "m" is now honored.
Prints out <BEEP> to the debug output instead of printing it on-screen.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-21 13:42:54 +00:00
Ingo Weinhold
f8e5453f2b Added a small program for testing unblocking on close and select support. Not quite exhaustive and tests for ECHO mode are missing, since I couldn't figure out how to turn it on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-20 22:35:05 +00:00
Ingo Weinhold
27a5523990 * Dealt with (hopefully) all open/close race conditions.
* Implemented unblocking of pending operations when closing a cookie.
  Needed to change the simple one reader semaphore, one writer
  semaphore strategy for blocking to a request queue based approach
  (otherwise unblocking would have been really hairy).
* Implemented select() support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-20 22:31:35 +00:00
Ingo Weinhold
fa062b9f09 Added SemaphorePool class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-20 22:24:05 +00:00
Ingo Weinhold
2efc846c8a * Added delete_select_sync_pool().
* A new select sync pool entry wasn't really added to the pool.
* More debug output.
* The semaphore created in common_{select,poll}() needs to be created
  with count 0, otherwise we won't block.
* A serious race condition remains in common_{select,poll)(). When a
  selected FD is closed we can't deselect select events anymore, so
  that subsequent notify_select_events() issued by the FS/driver might
  write into already free()d memory. A solution would be to get_fd()
  the involved FDs and operate directly on them instead of using the
  indices. I'm just too lazy to do that now.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-20 22:15:33 +00:00
Ingo Weinhold
362e09b124 In case of a debugger() call now also prints the debug message. Makes use of the new libdebug.so.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-20 22:06:13 +00:00
Ingo Weinhold
0a064776ae Added the beginnings of a small private API for debug support.
Entirely implemented on top of the public <debugger.h> API, but more
convenient to use. Lives in a separate library libdebug.so.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-20 22:04:04 +00:00
Andrew Bachmann
8080d00048 link to libroot.so instead of root, so uname is available
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-20 21:56:49 +00:00
Jérôme Duval
41c243b187 renamed key_map.cpp to main.cpp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-20 12:54:11 +00:00
Jérôme Duval
bbd5db1a61 relative path for header search
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-20 12:48:57 +00:00
Jérôme Duval
f28587e165 removed .cvsignore files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-20 12:31:46 +00:00
Adi Oanca
464ebc06c7 Some extra locking when adding a WinBorder
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 19:08:19 +00:00
Adi Oanca
07bde8ab89 * solved that damn bug that run me into debugger. yuppyyy.
* removed some comments
* mouse down messages go only to the view that has focus. Yeah, they didn't. :p
* solved a bug where some windows did not redraw when hiding a modal.
* another bug where a floating window would not come in front for gaining focus.
* added client's team_id into window title.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 18:58:47 +00:00
Axel Dörfler
b55be0692f Fixed a copy&paste error that prevented _user_close() from working
correctly (it would have closed kernel file descriptors instead...).
Updated/improved docs a bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 03:22:34 +00:00
Axel Dörfler
15e795e9ff Implemented vm_translation_map::protect() for x86. vm_set_area_protection()
now uses this one instead of using map() for every single page - this should
be faster in most cases, and also, more importantly, does not mess up the
map_count counter anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 03:07:33 +00:00
Axel Dörfler
1ff0923db6 Removed the old (and nowadays unused) addons directory and related headers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 02:35:40 +00:00
Axel Dörfler
b5f8ce37cc Apparently, the $(DOTDOT) stuff does work as expected; it only seems
to work when jam was executed in the local directory (as I did for testing).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 02:34:08 +00:00
Axel Dörfler
52fe8bf7a8 Minor header cleanup: moved some headers to better matching directories,
removed unused headers. Adapted sources to still compile with the new
header locations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 01:58:05 +00:00
Axel Dörfler
46c1b0d6db The bin/ directory has been moved out of apps/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 01:10:29 +00:00
Axel Dörfler
f8f9af756d KMessage.cpp has been moved but is also compiled into libbe.so.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 01:09:36 +00:00
Axel Dörfler
98cf460090 Moved bin/ out of apps/, make it build again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 00:39:42 +00:00
Axel Dörfler
17049c451a Moved bin/ directory out of apps/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 00:09:19 +00:00
Jérôme Duval
66040a8d99 keymaps have been moved
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 19:05:19 +00:00
Adi Oanca
48e72f82e6 Removing subset windows works now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 19:00:45 +00:00
Axel Dörfler
a7779c5ae0 The color quotes mechanism now also accepts the unusual '|' as quote symbol,
so that mails I get from Mr. Wilber are shown correctly, too :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 18:19:45 +00:00
Jérôme Duval
62526cc715 Moved keymaps to the common place for data files like timezones
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 17:05:46 +00:00
Axel Dörfler
f22f934cd8 Moved KMessage.cpp from util/ to messaging/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 16:31:40 +00:00
Jérôme Duval
1929784f0c Removed unused files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 10:43:58 +00:00
Jérôme Duval
a84a3aae19 Renamed hid in usb_hid
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 10:07:20 +00:00
Axel Dörfler
1000949230 Removed the drivers/ directory; it was not used anymore. All current drivers
are in src/add-ons/kernel/drivers/.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 02:53:52 +00:00
Axel Dörfler
e17c805d8f Competely outdated and not maintained; no reason to keep it around.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 02:36:43 +00:00
Axel Dörfler
9f7112f72e Moved debugger related files to debug/, moved utility files into util/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 02:13:09 +00:00
Axel Dörfler
1e5006ddc3 A bit more debugging output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 02:10:19 +00:00
Axel Dörfler
74b043d98d Removed execute property that was set accidently (since CVS days).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 01:50:45 +00:00
Axel Dörfler
afd64c82e7 Moved kernel/vm2 to tests/kernel/vm2.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 01:43:25 +00:00
Axel Dörfler
a2e1b654dd Added a test program for the advisory locking via fcntl() - covers many but not all cases.
Makes sure the test apps will also build with target=haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 01:32:17 +00:00
Axel Dörfler
7860b7bfe7 Added support for the B_CHECK_PERMISSION flag - this one should really
be private, as it serves no useful purpose outside of the kernel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 01:26:05 +00:00
Axel Dörfler
9391dd214d Fixed broken handling of the new file_descriptor::open_count across
team boundaries; if you didn't actually call close() from within the
application, the close-hook of the file system was never called.
Also, you could close files of other teams (ie. invoke close on a
shared file descriptor).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 01:24:11 +00:00
Nathan Whitehorn
6d92b10268 Upgraded the bus manager interface. It's now capable enough to start actually doing interesting things, like power management, thermal stuff, and hyperthreading.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-18 00:41:53 +00:00
Axel Dörfler
e5fb71cba9 Removed the executable property that was accidently set on these files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 23:01:11 +00:00
Axel Dörfler
4fe6ab6b05 Removed executable property these files accidently had set.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 22:58:04 +00:00
Axel Dörfler
0a99f533c2 Fixed the race condition in acquire_advisory_lock() by using the new switch_sem() function.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 22:55:20 +00:00
Axel Dörfler
34e92cad76 Added and implemented new system calls switch_sem() and switch_sem_etc(); even if
they are public now, they might become private later on.
It's almost the same as acquire_sem() but allows you to release another semaphore
atomically. This makes condvar implementations and the like very simple to do.
Added B_CHECK_PERMISSION flags to the user calls, although it's not honored yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 22:35:00 +00:00
Ingo Weinhold
63531836b9 * Added a small private API (<fs/select_sync_pool.h>) to support FSs
and drivers that need to provide special select() support with
  managing select notification information.
* Renamed vfs_select.c to *.cpp and fixed the resulting C++ compiler
  errors. Added tracing macros.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 21:27:01 +00:00
Ingo Weinhold
cbc6d404f9 Added missing select()/deselect() Hooks to the file system interface
and made sure they are called by the VFS, if existent.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 21:04:25 +00:00
Ingo Weinhold
d49f1b87a0 We were handling closing of file descriptors incorrectly. The close_*()
and free_*_cookie() hooks of the underlying FS were always called
together when the reference count of the FD dropped to zero. When
blocking operations (reading/writing) on the FD were still in progress
this would never happen, though. Now we additionally maintain an open
count and call the close_*() hook when it drops to zero.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 20:25:07 +00:00
Ingo Weinhold
92290ecd54 Added support for the ll' size qualifier. Supported was only L'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 19:45:45 +00:00
Ingo Weinhold
f9ac365bc0 Removed version number from directory names.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:51:51 +00:00
Adi Oanca
ddf57545a2 Improved locking. A bit. :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:41:00 +00:00
Adi Oanca
211de495df Keyboard and Mouse handlers went private.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:37:56 +00:00
Adi Oanca
943ba1b132 MoveToFront() returned 'invalidate' for a floating window when it shouldn't; window was already in front as possible.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:36:30 +00:00
Adi Oanca
494d1b2a5a This fixes a problem with window's contents not being redrawn after a Show(), Hide and Show() again
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:22:23 +00:00
Ingo Weinhold
f422d333a9 Removed version number from directory name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:21:52 +00:00
Ingo Weinhold
0603429c37 Removed version number from directory name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:21:38 +00:00
Ingo Weinhold
b438e86d9d Removed version number from directory name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:21:21 +00:00
Ingo Weinhold
c6733267a8 Removed version number from directory name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:20:55 +00:00
Ingo Weinhold
6029f1e42b Removed version number from directory name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:20:38 +00:00
Axel Dörfler
3e06f513d4 Added the missing clear_caches() function - thanks to Michael Lotz for his indirect report :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:09:58 +00:00
Axel Dörfler
a36a94da37 Added the missing clear_caches() function and syscall. Does not yet do anything (which
is perfectly okay on x86 anyway, but should be moved into the arch stuff).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 17:06:56 +00:00
Axel Dörfler
6d1ec1085b Implemented advisory file locking, POSIX style (ie. accessible via fcntl()).
Should work correctly, although there is a big race condition left when you're
using F_SETLKW. Will be fixed next.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 13:18:29 +00:00
Axel Dörfler
8a048cc56c Added macro for syscall with 10 arguments (yes, it's really used already).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-15 05:11:51 +00:00
Axel Dörfler
a4a54fa8ad read/write() return type was still wrong (ssize_t instead of status_t).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-15 05:09:56 +00:00
Axel Dörfler
a45de3956f misc.c is no longer used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-15 05:07:53 +00:00
Axel Dörfler
9191c9ddc8 Enabled read-only -> read/write direction for set_area_protection() for the
simple cases - it might not work properly though, since we don't know yet if
a cache has children; therefore it will print out a warning as a constant
reminder if used in that way. It will still not work if we would need to
insert a new cache inbetween (in case the cache has children or only read-only
areas (even if there is no way yet to specify how exactly the VM should behave
in this case yet).
Added a comment to vm_map_file() about what we still need to do there.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-15 02:35:32 +00:00
Axel Dörfler
2a74bc0fcb --save now has -o and -s as short forms.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-15 00:02:21 +00:00
Jérôme Duval
5c21d9ac3a removed useless dump
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 23:54:58 +00:00
François Revol
5d3df182ae Fix typo
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 23:21:28 +00:00
François Revol
92e13ebb34 these headers needed to compile in R5.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 23:06:42 +00:00
Ingo Weinhold
0f6fa84153 The beginnings of the mountvolume command, using the DiskDevice API. Interrupted work. Probably doesn't even compile yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 22:10:26 +00:00
Niels Sascha Reedijk
5a072ced75 Quick merge of my development branch with mainline (for SVN switch).
The OHCI stuff was done by Jixt (thanks)./installusb
All is still very much work in progress

Patches applied:

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--base-0
   tag of Niels.Reedijk@gmail.com--haiku-2005/usb-busses--mainline--0.1--base-0

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-1
   Set the PORT_STATUS_LOW_SPEED flag correctly (using the register bitflag for low speed devices, instead of the proper lowspeed flag)

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-2
   Clean up transfers when they're done

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-3


 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-4


 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-5


 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-6


 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-7
   Remove obsolete ehci.c

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-8


 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-9
   Completed memory allocation + initialization

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-10
   First attempt at performing control transfers - failed miserably

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-11
   Trying to read a 16bit value into a 8bit integer, stupid

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-12
   nicer way of getting the base io address

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-13
   Take over control from BIOS

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busses--development--0.1--patch-14
   Revert change for disabling USB BIOS support


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 21:02:03 +00:00
Adi Oanca
89bdde9df1 There was too much debug output for regions rebuilding
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 20:59:00 +00:00
Niels Sascha Reedijk
c81edd87b5 Update from my personal Arch tree just in time before SVN-move
Patches applied:

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busmanager--development--0.1--base-0
   tag of Niels.Reedijk@gmail.com--haiku-2005/usb-busmanager--mainline--0.1--base-0

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busmanager--development--0.1--patch-1
   Start device addition procedure when a new device is connected

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busmanager--development--0.1--patch-2


 * Niels.Reedijk@gmail.com--nielx-2005/usb-busmanager--development--0.1--patch-3
   Create transfers on the heap.

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busmanager--development--0.1--patch-4
   Transfer supports synchronous and callbacks

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busmanager--development--0.1--patch-5

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busmanager--development--0.1--patch-6
   Give Pipes a notion of what type they are

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busmanager--development--0.1--patch-7
   Improve the handling of speed within pipes

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busmanager--development--0.1--patch-8
   Add a new member to the transfer in which the hostcontroller can store private data

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busmanager--development--0.1--patch-9
   Made some changes inspired by a mail from Marcus Overhagen

 * Niels.Reedijk@gmail.com--nielx-2005/usb-busmanager--development--0.1--patch-10
   Fixed memory allocation model


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 20:50:44 +00:00
Adi Oanca
8b4cf1c373 Fixed a problem with floating subset windows not being shown when their main window became active. (Cleared visible regions for it and its children when automatically being removed from workspace)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 19:25:15 +00:00
Axel Dörfler
eec5ba5ba7 Also initialize the kernel_args::driver_settings to be on the safe side.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 17:35:46 +00:00
Jérôme Duval
376f56d265 when debug = 1, debug output goes to serial, when debug = 2, it goes to a file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 16:43:59 +00:00
Axel Dörfler
c2e9a56e33 The environ pointer is now initialized in the libroot startup code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 15:48:19 +00:00
Axel Dörfler
908e1391a3 When using keyboard input from the input_server, it will now wait until the
server accepts input (r5 method). This doesn't work yet, though, as our
input_server fires up the event loop too early.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 15:44:49 +00:00
Axel Dörfler
2727bdcfe3 Added HFS/plus partition type strings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 15:42:48 +00:00
Axel Dörfler
8270381cd9 Added work-in-progress HFS stuff to the boot loader.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 15:36:20 +00:00
Axel Dörfler
4a3b7efb91 Some unfinished work-in-progress.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 15:32:12 +00:00
Axel Dörfler
c320153fc6 Added a simple file cache module that logs to disk anything that happens.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 02:51:47 +00:00
Axel Dörfler
7fa5018c9d We always want to hold the parent's lock in Inode::Create(), even if we
just create an attribute directory.
Removed the now unnecessary UNSAFE_GET_VNODE lines.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 01:53:38 +00:00
Axel Dörfler
b7366070fa InodeAllocator now takes care of calling new_vnode() and the new publish_vnode().
bfs_inode::InitCheck() tested INODE_NOT_READY before making sure the block is
an inode at all, resulting in spurious "inode is not becoming unbusy" errors.
Since there is now publish_vnode() we don't even have to return B_BUSY at all
anymore, though - INODE_NOT_READY is no longer used at all.
bfs_inode::etc is no longer used either (and for the same reason).
Inode::Create() no longer locks the whole volume, but only the write lock
of the parent directory (if any).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 01:49:07 +00:00
Axel Dörfler
fa4244bffc Simplifications due to the solved get_vnode()/new_vnode() mess; bfs_read_vnode()
can now just do what it's supposed to do, even the bfs_inode::etc pointer is
no longer used.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 01:40:51 +00:00
Axel Dörfler
9e0a730ddf Needs to use publish_vnode() now (since the vnode can be accessed immediately).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 01:39:15 +00:00
Axel Dörfler
07646c514a The write lock of ReadWriteLock can now be held recursively; ie. you can
hold the lock and still call subsequent Lock() and LockWrite() without
the deadlock penalty.
Added another constructor to WriteLocked so that you can also pass NULL
to it (in this case, nothing happens, of course :)).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 01:37:48 +00:00
Axel Dörfler
4e08f1474d Fixed the get_vnode()/new_vnode() race condition by introducing a new
function publish_vnode(). When calling new_vnode(), the node is only
reserved, but not yet accessible for others. Only when you call
publish_vnode(), it will become available. That simplifies new node
handling/locking considerably.
Note, you don't have to call new_vnode() before publish_vnode(); ie.
publish_vnode() acts exactly like new_vnode() did before if used that
way.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 01:15:31 +00:00
Axel Dörfler
f4c3d28a1d Some minor updates; that's all what was left when merging my changes with
Ingo's... (snivel) :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 00:53:59 +00:00
Ingo Weinhold
edc47dd584 The debugger interface has changed a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-13 23:59:20 +00:00
Ingo Weinhold
b24684af25 There are now two different callbacks for break- and watchpoints.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-13 23:58:36 +00:00
Ingo Weinhold
823f4c5bf4 * Various modifications needed due to the changes in <debugger.h>.
* user_debug_break_or_watchpoint_hit() into separate functions for
  break- and watchpoints. The one for breakpoints gets another parameter
  which indicates whether the breakpoint was a soft- or hardware
  breakpoint. This info is also sent to the debugger.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-13 23:57:34 +00:00
Ingo Weinhold
4991e4c9c5 * get_debug_why_stopped_string() -> get_debug_message_string().
* Changed the index-based lookup of strings for debug message and
  exception codes to a search through entry lists. A bit slower, but more
  robust with respect to changes of the underlying enumerations.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-13 23:48:37 +00:00
Adi Oanca
c14d3fc9bd Some progress on supporting subset windows.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-13 22:54:01 +00:00
Adi Oanca
8866e7b709 RootLayer.h: introduced a method for highlighting window tab when focus
changes.
RootLayer.cpp: window tab was properly lit only when changing focus with
the mouse. Now the same happens when showing or hidding windows.
Desktop.cpp: normal windows created after floating windows did not had
B_FLOATING_APP_WINDOW_FEEL windows in their internal list, thus when such
a window was selected to become the front most it did not show floating
app windows in front of it. Fixed that now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-13 19:53:44 +00:00
Adi Oanca
9015d08261 .
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-13 17:07:40 +00:00
Adi Oanca
c9df3905a8 Improved performance when getting windows list from the active workspace. no more call malloc() every time the list was needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 23:26:05 +00:00
Ingo Weinhold
3a3b405008 Adjustions due to changes in the debugger interface
(there's a separate B_DEBUGGER_MESSAGE_EXCEPTION_OCCURRED now).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 21:56:31 +00:00
Ingo Weinhold
ebac278f8f Some simplifications. Also tried to get rid of the ostensible error
condition when the traced team exits, but this seems to be a inherent
problem. The thread that calls _kern_exit_team() apparently still manages
to send the post-syscall message, but when the debugger tries to continue
it, it is already gone. Not really harmful. We'll probably find a remedy
later.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 21:55:03 +00:00
Ingo Weinhold
d00bf1778d * user_debug_fault_occurred() -> user_debug_exception_occurred().
* No longer kill the time when a page fault occurs, but rather send a
  SIGSEGV.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 21:47:21 +00:00
Ingo Weinhold
20b656f066 * Check the thread debug signal ignore masks before notifying the debugger
of a signal.
* Added sigaction_etc(). It's just a sigaction() for which the thread
  in question can be specified.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 21:45:49 +00:00
Ingo Weinhold
293a59b0e9 * The debug_thread_info records now, which signals the debugger wishes
not to be notified.
* Added debugger commands for setting/getting of thread signal ignore
  masks and signal handlers.
* Renamed user_debug_fault_occurred() to a more correct
  user_debug_exception_occurred(). It no longer sends a `stopped' message,
  but the new one dedicated to exceptions. Additionally the number of the
  signal is supplied that will be sent, when the thread continues (without
  indicating to ignore the event).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 21:43:35 +00:00
Ingo Weinhold
03f92cacce Added new function get_debug_exception_string(). Refactored a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 21:37:01 +00:00
Adi Oanca
f79cd266f0 GetLooperList(BList* list) returns only valid loopers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 19:21:30 +00:00
Adi Oanca
c92d950958 Solved a deadlock situation which occured when quiting be_app.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 19:20:10 +00:00
Ingo Weinhold
4ef509f03b New switch '-l' which allows to debug the loading of the traced application.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 15:24:00 +00:00
Ingo Weinhold
0b5637ed3a Argh! This change should have been checked in two days ago!
* Added support for debugger handover. The current debugger need to send
  a B_DEBUG_MESSAGE_HANDED_OVER message. The rest is completely
  transparent to the new debugger. It simply calls install_team_debugger().
* Implemented _user_wait_for_debugger().
* Reworked a few bits to ensure that after a remove_team_debugger() or
  after requesting a debugger handover the debugger doesn't get any more
  messages.
* When the debugger is removed or dies, the debugged threads should now
  cleanup their debug info and continue, instead of waiting at their
  debug port forever.
All the new features are not tested. Will happen, when gdb will be
debugged.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 15:22:28 +00:00
Ingo Weinhold
4d5289b7f0 load_team_etc() now optionally waits for the new team to be loaded
(new `flags' parameter, flag B_WAIT_TILL_LOADED). This is the default
behaviour for load_image(), so it behaves like R5's implementation now,
i.e. errors while loading are reported to the caller.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 15:13:51 +00:00
Ingo Weinhold
0e83032441 * Added _user_image_relocated() and _user_loading_app_failed().
* We no longer notify the debugger about a new image when it is registered,
  but when it has been relocated.
* When the application image has been relocated, we notify the one who
  initiated its loading.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 15:09:09 +00:00
Ingo Weinhold
5935412cad load_image(): _kern_load_image() now has a flags parameter. We pass B_WAIT_TILL_LOADED.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 15:04:03 +00:00
Ingo Weinhold
b484724711 Ugh! Forgot to add ffs.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 15:02:46 +00:00
Ingo Weinhold
0a5054d17f * Renamed the RFLAG_SORTED flag to RFLAG_INITIALIZED, since that is what
it actually meant.
* Refactored the image initialization process (init_dependencies()) a bit.
  topological_sort() is now more flexible.
* The image relocation is now done by relocate_dependencies(). The order
  of relocating the images is the same as the initialization order, so
  that the app image is the last to be relocated. After having relocated
  an image the kernel is notified.
* The FATAL() macro has another parameter, an error code now, and calls
  the new syscall _kern_loading_app_failed() instead of _kern_exit_team().
  So the error can be reported to the team that called load_image().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 14:56:18 +00:00
Ingo Weinhold
54c3baf3b6 Renamed relocate_image() to arch_relocate_image() and removed the RFLAG_RELOCATED flag handling (done by the architecture independent code now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 14:47:32 +00:00
Ingo Weinhold
adc9c4c556 [un]load_library() now also supports add-ons. [un]load_addon() is no longer needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-12 00:00:04 +00:00
Ingo Weinhold
2d890ffaa2 * Introduced a new flag for preventing load_dependencies() to be run a
second time for already loaded libraries, when a library/add-on is
  loaded.
* image_t features now both, a path and a name. The name is the DT_SONAME,
  if present, the leaf name otherwise.
* Modified find_image() to compare both path and name, if necessary.
  Added a type mask parameter to specify what image types one is
  interested.
* Refactored open_container(). We now also support DT_RPATH, a dependency
  search path list that can be specified for the dependencies of a shared
  object.
* Extended [un]load_library() to support add-ons.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 23:36:32 +00:00
Ingo Weinhold
01203fdf42 Made a bit more compliant to the shell `cp':
* When the target is a symlink, it is tried to be resolved before making
  the decision what to do.
* If the (resolved) target is a file and the source is a file, we don't
  fail anymore, if `-f' wasn't specified. We truncate the target file
  instead and copy the source data into it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 17:52:29 +00:00
Ingo Weinhold
2c05bc8a8d Move to_platform_open_mode() to stat_util.cpp/h and made it available to other source files. It has little to do with stat data, but it fits with the other conversion functions at least and I found no better place.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 17:48:21 +00:00
Ingo Weinhold
6ce30cc809 Made xcp the default cp/copy command. The code for it is still there, for it is also used in other tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 17:45:59 +00:00
Jérôme Duval
cc3255267c EDESTADDRREQ is now defined
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 16:49:14 +00:00
mahlzeit
d1c4420ee5 Added preliminary support for using TiMidity++ as softsynth.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 16:48:12 +00:00
Stefano Ceccherini
5040785e7d BChannelControl::SetAllValue() didn't take limits into account. Horizontal sliders now at least are drawn correctly, even if they don't work well. Added a temporary visual hint of where's the bitmap frame. Enhanced a bit the drawing of the groove.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 13:20:01 +00:00
Axel Dörfler
6f0f950768 Now has its own implementation of getenv().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 00:51:20 +00:00
Axel Dörfler
9689bb8114 Removed env.c from rld.so - it now has to do it on its own.
Added posix_pthread.o to libroot.so.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-11 00:49:49 +00:00
Axel Dörfler
983d4534bc get_team_info() now also fill in the info about the debug nub thread.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 23:19:25 +00:00
Axel Dörfler
14ddef038a Removed setenv()/getenv() syscalls - they are no longer needed.
Also removed team::user_env_base: environment variables are now changed on the app's heap.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 23:06:51 +00:00
Axel Dörfler
1ef5fc339b __init_env() is now called.
malloc() currently cannot be used in initialize_before() in libroot.so,
and therefore a _after() call has been added for this.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 22:54:31 +00:00
Axel Dörfler
707046555e Added pthread stuff to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 22:45:15 +00:00
Axel Dörfler
0d0145515d Implemented userland env handling; it longer uses syscalls for this - I even
made it thread-safe, although this is not required by POSIX.
Implemented unsetenv(), improved putenv().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 22:41:49 +00:00
Axel Dörfler
3e998caf29 Added some optional to make the function more correct - if it's ever going
to be called that way.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 22:38:01 +00:00
Adi Oanca
a6fa470989 Window tab is highlighted/grayed when changing between windows
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 22:07:44 +00:00
Axel Dörfler
b10cca5480 mutex_unlock() did not return anything when everything went well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 21:56:28 +00:00
Adi Oanca
d3beb2a46c Window moving and resizing resumed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 21:34:04 +00:00
Jérôme Duval
a3810a32ee added modules for glibc
replaced ctype.o with glibc ones


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:51:31 +00:00
Jérôme Duval
f68db6c5e6 this conflicts with ctype-info.c from glibc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:46:48 +00:00
Jérôme Duval
8b6244a7e6 added new directories to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:45:19 +00:00
Jérôme Duval
9e359f4244 needed by include/nl_types.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:44:23 +00:00
Jérôme Duval
1e5a39d91d reversed back to 2.2.5
enabled printf_fp


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:41:37 +00:00
Jérôme Duval
55a93a6ff0 added includes files based on GLibC 2.2.5
used by printf_fp


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:37:35 +00:00
Jérôme Duval
fda682942a include file for printf_fp (based on 2.2.5)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:34:06 +00:00
Jérôme Duval
da2e1d1a96 added a wctype.h used by include/wctype.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:31:26 +00:00
Jérôme Duval
a6508c735e added includes for printf_fp (based on 2.2.5)
added macros to use our standard posix call when possible instead of prefixed versions


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:28:15 +00:00
Jérôme Duval
435b55e99e added arch includes for printf_fp (based on 2.2.5)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-10 19:25:19 +00:00