Commit Graph

13766 Commits

Author SHA1 Message Date
Marcus Overhagen
cf4878971b added keyboard controller buffer flush
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 18:49:25 +00:00
Marcus Overhagen
4730cb7663 improved debug output
remove some warnings


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 18:47:01 +00:00
Marcus Overhagen
e87d23b1a7 added a panic into a loop that often causes a deadlock here
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 17:52:35 +00:00
Marcus Overhagen
fbe9b0b6eb This fixes bug #149.
Input server now saves keyboard typematic settings whenever they are modified,
instead of wating until it is shutdown (which never happens, either the
system will crash, or the input_server will stay active after a normal shut down)
Same problems might apply to mouse and keymap settings.
Input server shutdown handling should be reviewed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 17:35:05 +00:00
Jérôme Duval
058070254d update code in #ifdef USER, should be needed when we want to use Volume::Initialize()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 17:28:21 +00:00
Jérôme Duval
3cd9828763 fix the build for R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 14:29:03 +00:00
Axel Dörfler
966fbea627 A work-around for the Tracker desktop redraw problem of the previous change.
Should probably be cleaned up a little. This fixes bug #146.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 13:43:30 +00:00
Axel Dörfler
3dcbe9fc88 Implemented redrawing the desktop after color changes. Right now, it only works
correctly when Tracker is not running; obviously, the background is cleared in
Tracker before it had the chance of changing the view color.
Maybe the app_server needs to detect the background view of the desktop and
change the view color manually :-/


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 13:12:10 +00:00
Axel Dörfler
aae7000d63 The previous fix also didn't work correctly; we can't use the text color used
in the BTextView as a base.
Instead we're now using the correct UI default colors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 00:55:00 +00:00
Axel Dörfler
12aefeb42a This fixes the text color when disabled; B_DISABLED_LABEL_TINT is darkening the
color, not lightening it, it's supposed to be used with the background color,
not the text color.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 00:34:10 +00:00
Marcus Overhagen
2381701493 cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-13 00:30:48 +00:00
Jérôme Duval
c4d9fc29b5 fix bug #151
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 23:19:12 +00:00
Jérôme Duval
a8df1e6494 hopefully fixed build and warnings for bug #142
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 22:51:55 +00:00
Jérôme Duval
7be5a254fa it is dumb to open and close devices before starting them
hopefully fixed bug #150


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 22:37:39 +00:00
Axel Dörfler
e060f46982 Font rendering under Haiku directly still looks different from the font rendering
in the test environment; the visual glitches should now be fixed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 19:38:16 +00:00
Marcus Overhagen
3d6c711604 added shutdown_media_server and start_media_server into libmedia.so, based on an older implementation from svn history, but modified and bugfixed
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 18:56:00 +00:00
Axel Dörfler
9a7fabb66c The IconView now also shows an icon for a MIME type if it got it from the
super type's preferred application.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 17:50:22 +00:00
Axel Dörfler
1d268b8f9f The IconView now correctly invalidates its view on updates again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 17:44:42 +00:00
Axel Dörfler
06c21b14fe * Only those controls are updated now, that were actually changed, including
references from other types.
* Since the MimeTypeListView now listens to changes automatically, it's no longer
  necessary to update the MimeTypeListView manually anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 17:28:49 +00:00
Axel Dörfler
6ebc02eae4 The MimeTypeListView now listens to changes to the MIME type database as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 17:11:58 +00:00
Axel Dörfler
9432e2e65a * The controls now listen to BMimeType changes - the MIME list doesn't do this
yet, though.
* Noticed that the "Description" text control in the original FileTypes app is
  actually for the long description, not the short one - added another text
  control for those descriptions.
* The IconView will now also show an icon when it comes from a super type or
  an application - additionally, it will tell you from where the icon actually
  comes from.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 16:21:41 +00:00
Marcus Overhagen
21af4fdbff Implemented keyboard probing using reset and self test.
Implemented setting of typematic rate and delay support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 16:05:50 +00:00
Axel Dörfler
61ed8caf39 The "Extra Attributes" list is now properly updated on resize.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 14:33:24 +00:00
Axel Dörfler
3069c9573a * You can now change a MIME type's name as well as its preferred application.
* The menu field will now show the app's signature initially as well, if it's
  part of the item's label (wasn't picked up before, because BMenuItem::SetMarked()
  was called before the signature was added to the label).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 14:27:22 +00:00
Marcus Overhagen
d940ea1189 removed space
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 14:12:11 +00:00
Axel Dörfler
2602f6e9c2 Some more work in progress, still far from finished:
* The extra attributes of a MIME type are now shown as well.
* The preferred applications are now not only grouped by level of support,
  but are also sorted alphabetically, and get the app signature as part
  of the label in case two (or more) apps have the same name.
* And more :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 12:59:21 +00:00
Marcus Overhagen
ca228cbfcb use the definitions from driver header file, instead of defining a second set of constants
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 12:08:51 +00:00
Axel Dörfler
79c35b3912 SetEnabled() didn't set the text view's colors correctly anymore; _UpdateTextViewColors()
asked for IsEnabled() before it was set.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 01:23:30 +00:00
Ingo Weinhold
2d0e3b12b1 Added support for "ln" switch "-n" (no dereference).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-11 19:37:00 +00:00
Ingo Weinhold
468009f830 Replaced all "bool"s by "int"s. Apparently passing a bool as function
parameter from a C++ to a C context doesn't work as expected (on x86).
The caller reserves 4 bytes on the stack, but initializes only the
less significant 2 of them, while the callee reads all four bytes.
A symptom was, that one couldn't remove a symlink pointing to a directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-11 19:35:41 +00:00
Axel Dörfler
9941e6c9ea Some more work on the FileTypes preferences application; it still doesn't do anything,
but it will now show you the installed MIME types, and their properties (though the
"Extra Attributes" group is still not maintained at all).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-11 18:46:49 +00:00
Stefano Ceccherini
1afee82631 Even more BPicture support. We should have the basic to draw every picture used in our tree (for example, Tracker's navigator's buttons)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-11 17:48:19 +00:00
Axel Dörfler
7c74b12b2a * Implemented BOutlineListView::FullListSortItems() and SortItemsUnder() - dunno
what Be's implementation did wrong but instead of taking almost 30 seconds to
  sort the MIME type database (roughly 1100 entries, and yes, that's why the
  original FileTypes is that slow when it has to show the internal types), this
  one needs only 4 ms for the same task (that's an amply 7500x speedup).
* Implemented some more missing functions - it's by no means complete yet, though.
* Rewrote OutlineListView.h, ListItem.h, and StringItem.h.
* Fixed some minor bugs, but there are probably a lot more.
* Major cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-11 15:23:23 +00:00
Stefano Ceccherini
3da4d36c6a Added support for bitmaps in BPictures.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-11 15:21:29 +00:00
Jérôme Duval
36077365d1 also copy modifiers and state in SanitizeEvents as we need them there
change MethodizeEvents to actually handle the method queue


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-11 15:11:28 +00:00
Jérôme Duval
7d0b5dc160 fix debug build
avoid allocating a BMessage in InitKeyboardMouse, as reported in bug #140


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-11 12:30:36 +00:00
Stefano Ceccherini
f06f67c546 Implemented more BPicture related stuff. With this change, at least buttons can be drawn in pictures almost perfectly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 22:20:32 +00:00
Jérôme Duval
2879eb37ec hopefully fixed ChannelSlider (size, drawing)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 22:12:06 +00:00
Stefano Ceccherini
38690d41b0 Renamed TPicture class to PicturePlayer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 21:38:53 +00:00
Stefano Ceccherini
2c2773c4c3 Fixed a bug which prevented BPictures to be drawn. Small cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 21:18:53 +00:00
Jérôme Duval
d14dde17c4 minor cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 20:28:04 +00:00
Jérôme Duval
500f710bca fix the build on Dano
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 20:25:57 +00:00
Stefano Ceccherini
10b26c62df Added some check for B_INTERRUPTED in semaphores acquisitions. Could fix bug #89, although I can't reproduce it in Qemu
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 19:13:08 +00:00
Jérôme Duval
43f7b92977 made a slider vertical, reduced initial rects, and applied ResizeToPreferred()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 17:12:06 +00:00
Axel Dörfler
405bf9da6e InnerFrame() used fLabelBox, but it has to take the font's descent into account.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 17:10:42 +00:00
Axel Dörfler
ef4aa90f49 Added public InnerFrame() and TopBorderOffset() methods. If you don't like the
naming, please shout :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 17:07:38 +00:00
Axel Dörfler
d2dcb851e6 Now it even looks like the original, at least a bit :-)
Still doesn't do anything, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 15:32:54 +00:00
Axel Dörfler
3a3f6c1ee9 BTextControl::AttachedToWindow() set wrong colors in case the control was
disabled (unlike SetEnabled()). They are now both using the correctly working
_UpdateTextViewColors() method.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 15:28:49 +00:00
Axel Dörfler
f3eeafa8b9 The label height now only takes the ascent into account, likewise, the label
is now drawn at the correct baseline offset (the ascent), without this strange
computation (ascent - descent + 1).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 14:29:49 +00:00
Axel Dörfler
ffe72abd85 * Fixed BTextControl resizing (did not invalidate the border area before).
* Rewrote TextControl.h
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 14:22:33 +00:00
Jérôme Duval
039132ab1d pulse is beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 14:11:21 +00:00
DarkWyrm
532d1ccd43 Main window is font sensitive now.
More style cleanups - still not finished, though
More code cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 12:43:13 +00:00
Axel Dörfler
cf45491bc8 Unlike what shatty wrote in his commit messages, convert_from_utf8() does return
B_OK here when called with an empty string.
Since this is the natural thing to expect anyway, I changed our version to return
a sane value here as well - if this causes an error within our StyledEdit, as
shatty writes, we should just fix our StyledEdit.
Cleanup to match our style guides a bit better, added license.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 12:00:38 +00:00
Axel Dörfler
a544829365 _PrepareUnicodeBuffer() no longer processes empty strings which should hide the
often seen error message.
I'll investigate if convert_from_utf8() is supposed to return an error for empty
strings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 11:37:06 +00:00
Jérôme Duval
48a3e0875c a synchronous popup menu should be deleted, fixed bug #139
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 10:57:32 +00:00
Jérôme Duval
10214ec48f hopefully taken B_INPUT_METHOD_STOPPED into account
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 10:45:08 +00:00
Jérôme Duval
a71a4d8199 fix bug #140
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 10:26:40 +00:00
Jérôme Duval
2dd13cc8fe fix some memory leaks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 10:16:52 +00:00
Jérôme Duval
718a665ba9 fix some memory leaks (part of bug #140
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 10:13:43 +00:00
Rudolf Cornelissen
0dd48593ea updated 3D related colorspace settings to be optimal speed wise. Also removed redundant stuff not having any effect with the current engine setup. 3D rendering speed stays same on RGB15 and 16, but RGB32 space just gained about 11% gain :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 09:37:05 +00:00
Ingo Weinhold
b1970bb8d8 When only the app version_info was contained in the resources/attribute we
read from (and the system version_info missing) GetVersionInfo() always
failed. Given that rc only writes the app version_info, mimeset never
created a BEOS:APP_VERSION attribute (nor ones for supported types icons).
The version attribute was usually created nevertheless, as a side effect
of the subsequent setversion invocation.

Under Linux the attribute emulation can accidentially pick up the
attributes of an earlier deleted node that had the the same node ID as the
file in question, which in this case could cause an invalid
BEOS:APP_VERSION attribute (the app version_info part at least).

Now GetVersionInfo() doesn't fail anymore, when only one info could be
read (the other one is zeroed). Not sure, if that is what BeOS does, but
it shouldn't harm. This fixes bug #100.

Also made SetVersionInfo() zero out what couldn't be read before writing it
back.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 02:24:34 +00:00
Stefano Ceccherini
15b4cc6ea6 reduced the histeresis, now it's a fixed value
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 22:07:48 +00:00
Michael Pfeiffer
ee47c06033 Set protocol class in PCL6 header correctly (untested; hopefully this does not break anything).
Rewrote description of protocol classes.
Set 300 DPI as default resolution.
Uncommented protocol class 3.0 as driver does not support any new features of it.
Removed second enumeration ProtocolClass from PCL6Cap.h; it is already declared in PCL6Writer.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 21:22:15 +00:00
Michael Pfeiffer
2e84c057c0 Made window resizable and increased min. window size.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 21:00:14 +00:00
Stefano Ceccherini
2a5bad1541 Avoid menus in menufields going out of the screen in the upper part
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 20:58:15 +00:00
Axel Dörfler
f877af82fe * Implemented private functions do_minimize_team(), and do_bring_to_front_team()
used by the Deskbar (for "Hide All" and "Show All"). The latter doesn't work
  correctly yet, though, it just maximizes all windows of that application.
* Added a TODO to ServerWindow AS_MINIMIZE_WINDOW on how to make it work correctly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 18:53:36 +00:00
Axel Dörfler
995ab7b3c6 The server now differentiates between hidden and minimized - that concept somehow
got lost, before.
It might not work 100% correctly yet, but it works good enough to hide the Tracker
status window from the Deskbar, and thus, fixing bug #133.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 18:28:29 +00:00
Axel Dörfler
0748857300 * Added a "listres" command (also to the image).
* Fixed building "stdbins that need libbe.so" for R5/Dano target.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 17:01:23 +00:00
Stephan Aßmus
c81d2e7a59 * fixed window zooming/unzooming behaviour
* fixed FrameResized() and FrameMoved() not
  being called anymore in response to ResizeTo()
  and MoveTo() since I introduced a check in
  DispatchMessage() (fixes bug #123)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 16:39:46 +00:00
Stephan Aßmus
ebae3c7d61 this fixes Chart leaving dirty stars in BDirectWindow mode... at least on my machine. Looks like BDirectWindow resizing is notably smoother on Haiku btw. :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 15:07:56 +00:00
Stephan Aßmus
d365e2039e small cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 15:05:33 +00:00
Stephan Aßmus
76cf2ec33f turn off the blitting based MoveBy version, until it works better. The problem is that resizing views with children can invalidate parts which could still be copied by blitting when the child is moved because of FOLLOW modes. Or the problem is only with views that are moved and resized at the same time. I will find out later...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 12:42:08 +00:00
Stephan Aßmus
b5182fe099 don't blit stuff arround on screen when moving or resizing invisible windows, this bug was most visibly triggered when navigating menus, since the menu window was reused and moved and resized when it was invisible, weird things could happen on the screen...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 12:38:46 +00:00
Axel Dörfler
a92dff57f2 Stupid me - thanks to Michael Lotz for pointing that out :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 11:27:06 +00:00
Jérôme Duval
7a1fce2101 add a zero at the end of the name string
fix bug #127


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 11:10:40 +00:00
Axel Dörfler
2a47269907 SetWindowFocus() could reset the focus of a window that already had focus.
This fixes bug #128.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 10:44:02 +00:00
Stefano Ceccherini
8aad1bff7c Fixed another off-by-one bug which caused replicants to be shifted in a weird way if deskbar was moved around.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 07:55:55 +00:00
Jérôme Duval
b5d904cbf3 added B_BACKGROUND_APP app flag
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 00:10:29 +00:00
Axel Dörfler
f1486a980f Started new FileTypes preferences application, so that you can at least see
it's supposed to do nothing at the moment :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 20:10:47 +00:00
Axel Dörfler
00e0ed9f74 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 20:07:16 +00:00
Jérôme Duval
5e99b7dfe4 use the current screen
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 17:54:16 +00:00
Jérôme Duval
09362b0d5c use the current screen
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 17:50:36 +00:00
Jérôme Duval
cd64165bac use the current screen
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 17:49:49 +00:00
Jérôme Duval
b3c980ab0e use the current screen
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 17:48:43 +00:00
Axel Dörfler
9ff44370c8 Fixed centering of the window in case of multiple screens.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 16:59:07 +00:00
Axel Dörfler
b8a7e035ff Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 16:42:05 +00:00
Jérôme Duval
9fe8bb2d91 as on R5, return an error when *srcLen == 0 and set dstLen to 0
fix bug #120


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 13:47:33 +00:00
Ingo Weinhold
340a36b304 Fixed gcc 4 compilation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 00:13:30 +00:00
Ingo Weinhold
2b89d38a63 Fixed gcc 4 compilation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 00:05:31 +00:00
Ingo Weinhold
c8a9444b63 After cancelling the shutdown process applications couldn't be started
anymore. Fixes bug #119.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 23:59:55 +00:00
Axel Dörfler
3cd6e76965 /dev/dprintf and _kern_debug_output() weren't dumped to the syslog before, even
if "syslog_debug_output" was set to "true". Reported by Jerome!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 23:45:44 +00:00
Stefano Ceccherini
9aaabf116c Fixed a couple problems like off-by-one errors, wrong error checks. Implemented Save() method, not tested
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 22:16:58 +00:00
Axel Dörfler
d31d9974ba Slightly improved debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 16:55:06 +00:00
Axel Dörfler
9837f25ec6 Forgot to commit a simple test application for node monitoring.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 16:54:21 +00:00
Rudolf Cornelissen
bdb0f06705 updated new INT handling code to not try to determine INT coming from secondary head on singlehead cards. This could potentially lead to int sharing trouble.. Note, still a bit hackish. Better fix would probably be moving a large part from detailed card type recognition code from accelerant to kerneldriver. As I think it's safe enough this way, I'll leave it as it is for now. (trouble that could arise is a nvidia gfx card not working now, though chances are very slim that would happen. Best moment for fix is probably rewriting the driver for seperate instances on a 'per head' basis, when haiku supports multiple heads )
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 16:20:06 +00:00
Rudolf Cornelissen
fcde2e523a rewrote kerneldriver and accelerant's retrace INT handling. This fixes the 'driver hanging' bug exhibiting sometimes when CRTC2 is being used as primary CRTC (driver internal feature). INT handling now exists for both CRTC1 and CRTC2: enabling only the INTs for the head currently being used as primary. (limitation can be removed once we use a driver instance 'per head' instead of 'per card'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 14:59:55 +00:00
Rudolf Cornelissen
155a2ad0a5 rewrote kerneldriver and accelerant's retrace INT handling. This fixes the 'driver hanging' bug exhibiting sometimes when CRTC2 is being used as primary CRTC (driver internal feature). INT handling now exists for both CRTC1 and CRTC2: enabling only the INTs for the head currently being used as primary. (limitation can be removed once we use a driver instance 'per head' instead of 'per card'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 14:58:28 +00:00
Axel Dörfler
a932a97b52 * Mabye I should do better testing of what I "fix"; absolute paths didn't work
anymore from the command line all of a sudden...
* Made the caption background slightly less translucent to allow the text to
  be read even with very checkered images.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 13:14:19 +00:00
Axel Dörfler
c70cd57756 Made the caption in full screen mode a bit easier to look at (boring yes, but some
people out there just aren't colour blind :-)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 12:23:26 +00:00
Axel Dörfler
71a34702d3 Fixed the resizing bug I accidently introduced with r16260.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 12:11:00 +00:00
Axel Dörfler
009cd1060a * No longer hides the mouse cursor when the pop up menu is shown.
* Removed the superfluous "Cancel" item from the pop up menu.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 12:05:23 +00:00
Rudolf Cornelissen
f83eeab28a updated the VGA BIOS not found after first driverstart fix: now it actually works.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 12:04:49 +00:00
Rudolf Cornelissen
f495fd595b fixed error regarding ROM mapping. Only unmap on succeeded map, and shutoff ROM shadowing before fetching ROM, restoring orig setting afterwards so all cards will init OK later on. This should fix driver not finding it's cards BIOS ROM on second and later full starts during system uptime.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 11:28:13 +00:00
Axel Dörfler
5921f4e2f1 Followed Jeromes suggestion and moved the desktop directory lookup to the
BackgroundImage::SetDesktopImage() method - if you need more control, you
can still easily make _SetImage() public.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 11:26:39 +00:00
Axel Dörfler
a60adbf9b4 * Added a "Set as desktop background" option with an easy to use engine based
on the OpenTracker's BackgroundImage implementation.
* It's currently placed in the "View" menu, even though it doesn't fit that
  good, I think it should definitely be part of the right click menu.
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 10:28:27 +00:00
Jérôme Duval
240b1766ff added echo.settings to indigo 24 and gals packages
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 08:59:20 +00:00
Ingo Weinhold
f4b0f67cf6 Added [arch_]int_post_device_manager() which is invoked after
the device manager is initialized. For x86 it does nothing, but
for PPC it searches for a supported interrupt controller and
remembers it for later use.
arch_int_{enable,disable}_io_interrupt() are implemented as
well as handling of external exceptions (aka as I/O interrupts).
We'll see later how well that works.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 02:50:32 +00:00
Ingo Weinhold
a8193053ec Added driver for Open PIC compatible interrupt controllers (ported
from FreeBSD). At the moment it only recognizes Apple's Intrepid
Mac I/O Controller.
Not sure how well it works yet. Enabling all I/O interrupts
definitely triggers one, but I don't seem to get rid of it
afterwards.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 02:42:38 +00:00
Ingo Weinhold
3277aade49 * Added get_root() to device_manager_info. Surprisingly enough, it
returns the root device node. Now its actually possible to
  traverse the device node tree without a node to start with.
* Fixed execution order problem in dm_get_next_child_node(). The
  supplied node was put first (which could cause its immediate
  deletion), but was still accessed thereafter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 02:29:14 +00:00
Ingo Weinhold
41f7459c23 Added a get_pci_info() to pci_device_module_info. It was a bit too
complicated to get a pci_info for a given pci_device before. The
function is not very efficiently implemented, but I didn't see how to
do that without more intrusive changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 02:15:53 +00:00
Ingo Weinhold
0636c5df8b Actually implementing a function often makes it work significantly
better. ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 02:12:39 +00:00
DarkWyrm
9bf86676ad Serious refactoring of app code.
Updating files to style guidelines
Separated classes into their own files
Lots of other things, but still nowhere near finished


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 01:38:02 +00:00
Ingo Weinhold
5f9550c0b5 Add echo.settings to package file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 23:04:34 +00:00
Stefano Ceccherini
f6e671ccdc Fixed popup menu, and some other stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 20:01:25 +00:00
Axel Dörfler
efa8b4f392 Fixed various issues:
* ArgvReceived() did not work with relative paths.
* Simplified quitting (no more CanQuit() and overriding BWindow::Quit()).
* Updated signature.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 19:54:01 +00:00
Stephan Aßmus
6697289d80 some changes supposed to speed up VESA mode on real hardware, based on my experience with optimizations in other parts
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 19:36:30 +00:00
Stephan Aßmus
95e29889f4 This fixes the update problems that I could observe. The client might have been not in sync with the server regarding window position and size, which in turn messed up the ConvertFromScreen() functions and also the view Bounds(). Therefor the current window geometry is also added to the information the client gets when starting an update session. I think the problem was there before my previous changes, just maybe less likely to be observed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 19:34:36 +00:00
Stephan Aßmus
6134fcc936 * update the visible status of new children
* speed up from/to screen conversion of BRects and BRegions
* invisible views don't need updating


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 19:31:02 +00:00
Stephan Aßmus
4167cbe823 speed up from/to screen conversion of BRects
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 19:28:30 +00:00
Jérôme Duval
6db8ca1c92 beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 18:03:45 +00:00
Jérôme Duval
f616df6a18 multi media addon builds on beos, fixed include missing
added B_AUDIO_INT support and valid_bits use


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 17:59:50 +00:00
Jérôme Duval
ff14d2457a * mixer media addon builds on beos, fixed includes missing
* added 24 bits B_AUDIO_INT support (20 bits still missing)
Marcus please review and fix if needed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 17:56:48 +00:00
Michael Lotz
9e7948f45e * Fixed locking of the FT_Face by moving it into Get/PutTransformedFace()
* Removed the FaceGetter as it was only needed for locking
* Cleaned up TruncateString()
* Fixed a typo in moreUTF8.h

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 17:42:18 +00:00
Jérôme Duval
bed39219c1 added a commented Package rule call for adding a settings file to the echo3g package: doesn't work as is
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 16:27:55 +00:00
Axel Dörfler
fa3685cf13 * Now prints "Revision X" instead of "rX"
* I think we may have 2006 already
* Now makes sure the revision resource is null terminated (at least it returned an
  unterminated string under BeOS, it worked already fine under Haiku).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 14:47:06 +00:00
Axel Dörfler
8527f8ffbe The display resolution is now saved and restored. Probably doesn't handle non-default
modes right yet.
The settings are stored in B_USER_SETTINGS_DIRECTORY/system/app_server/workspaces.
They are currently saved as a flattened BMessage - we might want to switch to the
driver_settings format, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 13:36:46 +00:00
Axel Dörfler
d5ffccabb7 * Removed unused MakeBlendColor().
* At least 15 bit mode is broken, and should probably be removed.
* Cleanup - do we really need this class?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 11:47:13 +00:00
Jérôme Duval
0098d20af2 we only expose first two digital channels when card is echo3g and rate is more than 50000, it's a restriction noticed in C3g::Start()
it should enable playback/record at 88/92kHz


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 11:25:06 +00:00
Stephan Aßmus
bb160ab5f6 change the way the _UPDATE_ message is used: it is now a mere notification that some views need updating. The BWindow will then pull data from the server which views exactly and the update rect. Therefor, the server can append regions to the current update session even if an _UPDATE_ message has already been sent to the client. If multiple views are invalidated in the client, only one update session will be triggered instead of two with the old implementation. Some drawing defects can be observed, but I know how to reproduce them so I hope to fix them soon.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 10:28:30 +00:00
Stephan Aßmus
585c5a0042 call debugger when encountering nested BeginLineArray calls like in R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 10:24:12 +00:00
Stephan Aßmus
b2f9d1906b using alpha is actually correct
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 10:23:26 +00:00
Stephan Aßmus
a7250011e8 more or less cosmetical fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 10:15:48 +00:00
Michael Lotz
db5734a452 More work on the BFont special functions.
* Reworked functions like GetEscapements(), GetBoundingBoxesAsString() and GetGlyphShapes() completely
* Made the ServerFont functions uniform in their prototypes and cleaned out unnecessary arguments
* Added new UTF8 handling functions to moreUTF8.h that are now used by ServerFont
* Put the common transformations of the FT_Face into an own GetTransformedFace() to lessen code duplication

In other words, ServerFont is now cleaned and handles UTF8 pretty efficiently. Some ToDo's are still left though.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-05 23:36:59 +00:00
Axel Dörfler
2bdbc03a1d Oh surprise, I broke the build with fake_app_server again...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-05 22:10:01 +00:00
Axel Dörfler
ab093a2ce4 Removed TODO item, it's already resolved.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-05 19:44:26 +00:00
Axel Dörfler
195e980ef1 * Cursors are now reference counted, so it shouldn't be possible anymore
to delete them accidently :)
* You should no longer call HWInterface::SetCursor(), but the new Desktop::SetCursor()
  if you need to change the cursor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-05 19:43:44 +00:00
Axel Dörfler
aa1f543799 Some work on cursors:
* Fixed a myriad of bugs all over the place, ranging from locking errors to
  deleting objects that don't belong to the one deleting them (hello HWInterface!)
* Almost all ServerWindow cursor stuff was broken; I've replaced all commands
  to set a cursor with a single one AS_SET_CURSOR.
* Renamed some cursor commands.
* Changed the (broken) way ServerApp::fAppCursor was maintained - the application
  cursor is now NULL as long as possible.
* Removed superfluous ServerCursor app signature stuff.
* The BApplication will no longer duplicate the default/I-beam cursors, it will
  just reuse the default ones which now have fixed tokens.
* As a result, changing the cursor is now working as expected, closing bug #102.
* Rewrote Cursor.h, renamed private members to match our style guide.
* Minor cleanup.

What's still left to be done is reference counting the cursor objects to make them
work right and reliable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-05 18:14:14 +00:00
Axel Dörfler
73b3ea3cd7 Fixed a few more uninitialized variables.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-05 18:03:09 +00:00
Axel Dörfler
47f1b81ce2 * fCurrentWorkspace wasn't properly initialized.
* Removed AS_SET_SYSCURSOR_DEFAULTS handling for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-05 15:58:29 +00:00
Axel Dörfler
a5eeb74ac0 Let's play SetToken() and NewToken() play nice together.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-05 15:47:57 +00:00
Michael Lotz
739ccb9b2f Changed the way the pen location is applied to shapes according to Stephan, removing the slower matrix calculation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-05 11:51:13 +00:00
Michael Lotz
7213cb626c * Changed DrawShape() to take the current pen location into account (Stephan please review that AGG part)
* Fixed GetEscapements() to return the correct values
* Corrected and enabled the rotate / shear transform for GetGlyphShapes() and GetEscapements()

The Iterview sample code demo is now working. If you play with it a bit you can also rotate the text.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-05 02:03:09 +00:00
Michael Lotz
bb96bd0a70 * Fixed GetGlyphShapes(). The BShapes that are outputted are correct now but the app_server still cannot draw them correctly.
* Changed the allocation to new for GetGlyphShapes() and GetEscapements() as the data is deleted in ServerApp.cpp
* Minor cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-04 22:20:00 +00:00
Michael Lotz
ec56c2c1dc Fixed and cleaned up BShape and BShapeIterator. They should now work and behave like the R5 version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-04 22:11:57 +00:00
Axel Dörfler
57a6c095d5 Work-around to make broken apps like 3dmix work - patch submitted by genki-at-bredband.net:
* we no longer drop into the debugger if BScreen is used without an app_server link.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-04 20:19:13 +00:00
Ingo Weinhold
1621d9945f Tried to improve the attribute support under non-BeOS compatible
build platforms a bit. Generally extended attributes seem to be
supported up to a very limited size per node, thus a one-to-one
mapping isn't a good idea, but I figured, they could at least
help to recognize when and attribute directory doesn't belong to
a node (in case the original node had been removed and the a new
one created with the same node ID).
The implementation should ensure that, but I can't really test
it, since ReiserFS 3.6 under my SuSE Linux 9.2 installation
apparently doesn't support extended attributes. So it's disabled
for the time being.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-04 01:55:49 +00:00
Ingo Weinhold
129cc3cbe1 Don't display the revision, if it is "unknown".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 22:57:23 +00:00
Ingo Weinhold
b95ed5682c Fixed problems with generating the new revision resource. Now we
create a file that only contains the revision number and use the
AddFileDataResource rule for adding it as a resource. We also
handle the case that "svn info" fails (e.g. for source trees not
containing svn information anymore), setting the resource to
"unknown".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 22:53:09 +00:00
Axel Dörfler
a4f6a81235 Forgot to commit the updated "rc" to make AddRevisionToResources work:
* "rc" now accepts stdin as input file when "-" is used as a file name.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 22:29:54 +00:00
Stefano Ceccherini
e333843348 Added Alloc/Copy/FreeRunArray() as Axel's suggestion, and used it internally in TextView. Also fixed small memory leak
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 21:22:00 +00:00
Stefano Ceccherini
fbca7b0cfd fixed menubars behaviour, and also crashing bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 21:20:46 +00:00
Rudolf Cornelissen
a343f33cf7 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 20:40:36 +00:00
Rudolf Cornelissen
c0634c0222 completely removed concurrent 3D/overlay workaround number 2 (executing a 3D command in engine init). Overlay and fifo-assignment-switching on-the-fly / 3D are working OK indeed. The dangerous-RAM-area patch completely solves that problem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 20:39:01 +00:00
Axel Dörfler
69149327b4 This may fix Rudolf's MTRR problem - could you please try?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 20:19:32 +00:00
Axel Dörfler
45de8176a5 * Added the Subversion revision at build time to AboutHaiku - the revision is
automatically updated everytime AboutHaiku is built (ie. also if nothing
  changed).
* Added Oliver Tappe as contributor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 18:48:26 +00:00
Axel Dörfler
811ada6cae Fixed wait_for_resources() locking, reported by Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 17:12:34 +00:00
Jérôme Duval
375cec2c5e added error checks around, hope it can help
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 15:22:06 +00:00
Axel Dörfler
9f8734ebea FreeBSD doesn't have strnlen(), and therefore couldn't compile our strlcat.c.
Sorry, that was the problem actually reported by Alexander Deynichenko...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 12:24:15 +00:00
Jérôme Duval
90058ff6af improved version
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 09:10:43 +00:00
Jérôme Duval
24ab95eee1 fixes ChannelSlider::Draw when Label() is NULL
fixes a bit preferred size, still needs work


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 20:49:40 +00:00
Axel Dörfler
ff3abf4d6f * Started a naive implementation of BView::SetViewCursor() server-side - doesn't
work though, as HWInterface can only draw B_RGB32 cursors...
* More build fixes for libbe_test target - it defines __HAIKU__ as well, now


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 20:19:29 +00:00
Axel Dörfler
f7969f54fb Fixed build in the test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 20:08:16 +00:00
Axel Dörfler
ce3f3b5af2 Slightly improved font sensitivity of the top bar.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 18:32:22 +00:00
Axel Dörfler
662dc0bdc8 This fixes the appearance when the slider is directly added to the window, ie.
like it's done in Chart - didn't set the background correctly before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 18:16:57 +00:00
Axel Dörfler
7d34abc3e8 No longer tries to create a "" label. An empty label is now NULL.
Probably among other, this fixes the BSlider appearance without a label.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 18:15:52 +00:00
Axel Dörfler
f2c54a03a6 * Made it look better when running under Haiku. Restricts the maximal font size to
12 points to make sure it'll look acceptable.
* Fixed direct window rendering by disabling moving the animation area around
  (would have to be changed in DirectConnected() as well).
* Refresh and density sliders now ResizeToPreferred().
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 18:14:38 +00:00
Marcus Overhagen
eefde19a76 trigger rebuild of pci_arch_busmanager
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 18:08:47 +00:00
Axel Dörfler
da9fb33109 Now only resizes the width if it's too small or B_ALIGN_LEFT is used - it now
resizes a bit more logically.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 17:07:36 +00:00
Rudolf Cornelissen
71c43a7a1e disabled 3D/overlay patch number two: looks like I nailed this one good. Looks to be confirmed on TNT1, will test more before final delete of this patch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 16:47:26 +00:00
Rudolf Cornelissen
c5c8844557 Bumped version to 0.71. Updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 15:52:44 +00:00
Rudolf Cornelissen
f67620f956 fixed overlay playback and accelerantion engine crashes if all is right: it turns out the last piece of cardRAM may not be accessed by software. This looks to be a hardware bug, size of dangerous RAM depends on pre/post NV40 architecture, bug exists for both FIFO channel assignment on the fly, and DMA command buffer existing in cardRAM. If there are still users outthere using PIO acceleration and 3D they have a good chance of having working concurrent overlay as well, as the fifo-assignment bug turns up with PIO acc as well. Note: the bugfix is still in test: confirmed on TNT1 only for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 15:52:05 +00:00
Jérôme Duval
1f955d54d8 John Drinkwater provided a new version which could avoid problem met with some R5 awk
this one doesn't require pipe usage


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 13:22:19 +00:00
Jérôme Duval
01c93c363a added a test installer app
source directory is currently hardcoded in InstallerWindow.cpp, it could be changed in a macro


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 10:41:44 +00:00
Jérôme Duval
8b357f8a21 if a already selected item is selected, don't do anything
Installer isn't beos compatible is this directory, will add a test directory for it
fixed link libs and debug message


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 10:40:05 +00:00
Stefano Ceccherini
d81069bfad Waldemar made me notice this leak.
Adding a comment as I can't test the changes now.

I'd like some comments on this problem as it isn't
a minor one, especially if we add a BFont destructor in the future.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 08:52:07 +00:00
Stefano Ceccherini
f4a0e8303d offset wasn't taken into account in BTextView::UnflattenRunArray(). Loading styled text didn't work correctly for that reason
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 21:02:16 +00:00
Axel Dörfler
d14aab0dca Changed the way how CPU activity is monitored: instead of taking the active
time of the idle thread as a measure, we now compute the CPU activity on
each thread switch - the time the CPU worked is the total of user and kernel
time a thread spent during its quantum.
Unlike before, this mechanism works correctly on SMP machines. I hope this
works as expected :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 20:03:55 +00:00
Jérôme Duval
a5fa64b505 some changes : alert if free space isn't enough, set status when mouse is over packages (doesn't work for some reason ...)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 17:45:20 +00:00
Jérôme Duval
d6b6f8bfe1 made codycam beos compatible
fixed net libs link


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 17:42:31 +00:00
Jérôme Duval
b2dde401e5 made Magnify beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:22:00 +00:00
Jérôme Duval
a5050b61fd made SoundRecorder beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:19:35 +00:00
Jérôme Duval
1013215e2d made GLTeapot beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:14:47 +00:00
Jérôme Duval
26a6b3bedc made Clock beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:09:16 +00:00
Axel Dörfler
df213cedbc * CPUs can now be disabled - that is, they will keep idling.
* Added syscalls _kern_set_cpu_enabled() and _kern_cpu_enabled().
* scheduler.c::sRunQueue::tail was not maintained at all; changed sRunQueue to
  be a simple thread pointer instead of a struct thread_queue.
* Turns out we're monitoring CPU activity incorrectly when we've got more
  than one CPU.
* Renamed the global CPU array from "cpu" to gCPU.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:09:05 +00:00
Jérôme Duval
0f11a95a97 fixed build on R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:06:36 +00:00
Axel Dörfler
4ccfb08661 * Fixed memory leak in CPUButton: the message runner was only deleted in the
destructor, but created everytime AttachedToWindow() was called.
* Minor cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 15:57:45 +00:00
Axel Dörfler
a71c960755 * BControl::SetValue() now calls Invalidate() again - not doing so would
break compatibility a bit too much (as this is a public class).
* Instead, we're now using the same mechanism as in Dano/Zeta, that is,
  we use BControl::SetValueNoUpdate() in the inherited classes.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 15:55:46 +00:00
Jérôme Duval
5376b695a4 made r5 compatible
added virtual on destructors


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 15:47:46 +00:00
Axel Dörfler
2457c453c5 * Now calls get_current_cpuid() instead of get_cpuid() - that doesn't work on
SMP machines since we're already in a call_all_cpus() function (that also
  needs to run synchronously). MTRR does now work on SMP machines again; ie.
  SMP machines should boot fine again now.
* Fixed warning when compiled with tracing turned on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 12:39:20 +00:00
Axel Dörfler
99085d6771 Added an extra debug function that dumps all iframes in case the stack crawl
doesn't work correctly for some reason.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 12:35:10 +00:00
Axel Dörfler
562c5a27d9 Make sure the compiler knows what we want.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 12:34:03 +00:00
Ingo Weinhold
00113ff97b Couldn't resist using one of the nice new BResources::SetToImage()
methods. Currently guarded by an "#ifdef __HAIKU__", as long as we
want to be able to build a BeOS compatible Clock.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 00:17:47 +00:00
Ingo Weinhold
1cac47bfa9 Added a few more constructors and initialization methods. Among them two
SetToImage() variants for initializing the object to the resources of
the shared object file belonging to a loaded image. Should be handy for
libraries and add-ons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 00:15:01 +00:00
Stefano Ceccherini
55b35fb4d5 Empty menus now display an '<empty>' label
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 23:28:19 +00:00
Stefano Ceccherini
667fa89b02 BDirectwindow is notified when workspace changes. Fixes bug #99
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 23:12:29 +00:00
Axel Dörfler
f1d806fe5d Fixed call_all_cpus(): it shouldn't call the function synchronously; inter-CPU
synchronization as done in init_mtrrs() failed because of that (let the system
hang).
Unfortunately, MTRR still doesn't work on my dual PIII with SMP enabled; that
was just one reason it didn't work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 18:30:34 +00:00
Rudolf Cornelissen
d06a632f24 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 14:20:24 +00:00
Rudolf Cornelissen
8a72136d5f now blocking SCALED_BLIT hook export on modes with space B_CMAP8. We won't support this space, at least for now. It's not yet testable for me, and this space is partial supported only (at best), on some cards outthere.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 14:17:20 +00:00
Ingo Weinhold
1a3348d9c2 Replaced TODO by explanatory comment, why the resources are retrieved this
way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 12:41:58 +00:00
Rudolf Cornelissen
d24c6abf98 comment update: pitch granularity now confirmed for 15, 16 and 32bit RGB depths (SCALED_BLIT).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 11:06:59 +00:00
Rudolf Cornelissen
9f6aebed5f updated SCALED_BLIT to do 15-bit space correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 10:32:15 +00:00
Axel Dörfler
fd1528f275 Accidently broke selecting sub menus with the last commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 03:31:23 +00:00
Axel Dörfler
204131dc97 Added a real yield function to the kernel (using the next_priority approach).
The test application lets run a thread at the highest priority that calls
yield all the time - the system stays responsible when it runs, so it seems
to work fine :)
Changed the malloc implementation to use _kern_thread_yield() instead of
snoozing.
We should think about making this call public, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 02:29:02 +00:00
Axel Dörfler
d14af9fde6 Introduced a next_priority field to struct thread that will be used when
enqueueing a thread to the run queue.
This mechanism is now used for the thread priority boost on semaphore
release. Also, those threads are no longer made real time threads, they
now get a temporary priority of B_FIRST_REAL_TIME_PRIORITY - 1.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 01:58:49 +00:00
Ingo Weinhold
a324efcfdc Added TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 01:46:43 +00:00
Ingo Weinhold
29d7e9cdd6 Our FS is case sensitive, and the create_app_meta_mime() implementation
didn't bring the app signature into its canonical lower-case form when
using it as path to the MIME DB file. Thus an application signature
MIME type didn't get any attributes, not even the path to the app's
executable, which led to all kinds of problems when finding or starting
applications by signature. Among them, Clock not finding its resources
(bug #74).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 01:09:02 +00:00
Ingo Weinhold
1ba1f4be4a If the "if" block is more than one line long, braces should be used, even
if it doesn't make a semantical difference. I can't believe I've written
that code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 01:01:21 +00:00
Axel Dörfler
7e46f8319e snooze(5) works more or less fine for standard threads, but is a very bad
idea for real-time threads. They could completely hog the CPU in this
case. Thanks to Marcus for investigating!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 00:11:51 +00:00
Axel Dörfler
ec549309c9 The menus work a bit less good now I think, but they no longer have 100% CPU usage
when the menu item under the mouse cursor has a sub-menu.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 23:40:05 +00:00
Marcus Overhagen
badb1d4be6 optimized debug output, and enabled PCI bus (re-)enumeration
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 23:09:28 +00:00
Marcus Overhagen
9797f71b23 Added PCI bus (re-)enumeration for all domains, but disabled by default.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 22:26:51 +00:00
Marcus Overhagen
84f007fba9 made access to keyboard controller and dev->flags thread save
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 20:14:51 +00:00
Jérôme Duval
bd9d5861cb added driver settings, untested
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 17:07:11 +00:00
Axel Dörfler
5d16441307 Now usually ignores the length of the data segment as well.
It now works fine on my P4 system as well :-)
But since the BIOS area is not identity mapped, it might work on fewer systems
than it does in BeOS R5.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 16:32:47 +00:00
Axel Dörfler
afef4f3fff The syslog_daemon now ignores zero length messages, and the kernel's syslog
mechanism doesn't send them out any longer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 16:09:24 +00:00
Axel Dörfler
bd610d2fcd * Added kernel settings for APM - defaults to disabled (since it doesn't work
on at least one of my systems, it only works on 3 of them...).
* Added APM safemode setting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 14:43:38 +00:00
Jérôme Duval
7f40667cbc Installer scripts are not executable, we launch them with sh
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 14:05:40 +00:00
Axel Dörfler
c7023acdc6 * Fixed B_AVOID_FRONT support in the app_server.
* Menu windows now use the kMenuWindowFeel feel (but still need the B_AVOID_FOCUS
  flag set, as that's currently independent from the feel).
* Minor cleanup in MenuWindow.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 13:40:22 +00:00
Axel Dörfler
304636cc5e Implemented kMenuWindowFeel, not that much tested, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 11:50:02 +00:00
Ingo Weinhold
04fcc147ca * Small fixes.
* Added --dry-run option for paranoid ones like me.
* Added support for making partition devices bootable under Linux (x86, BIOS).
  
When specifying respective values for HAIKU_IMAGE_{DIR,NAME} ("/dev" and
e.g. "sda7") a "jam haiku-image" will now replace the contents of your
favorite partition with a fresh Haiku installation. BE WARNED: This is nothing
for the faint of heart and I don't guarantee that my implementation is bug-free
and won't mangle the contents of your hard disk even if you use it correctly.

That being said, note that you'll probably have to run the "jam haiku-image"
as root, if you want to access the partition devices, which is a bit annoying.
Furthermore, if the build_haiku_image script fails for any reason, jam tends
to remove the image file, which in this case would be a partition device node.
The mknod command will be your friend in this case.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 01:50:50 +00:00
Ingo Weinhold
deeb2f399a A bit of #ifdef'ing to make the stuff edible for userland compilation
with gcc 4.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 01:22:11 +00:00
Ingo Weinhold
4b0e1b9bda * We map ioctl() to the build platform manually now. For Linux we
implement the B_GET_GEOMETRY command in a usable way. The bfs_shell is
  able to play with partition devices under Linux, now.
* Fixed two warnings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 01:19:11 +00:00
Ingo Weinhold
51855db4b0 Added cleanup for the external command stuff, so that the UNIX flavored
implementation can unlink the named pipe.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 01:13:48 +00:00
Marcus Overhagen
64faaed88a cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 00:00:52 +00:00
Jérôme Duval
acf395bb4b added rdef for mimeset
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 23:01:09 +00:00
Stefano Ceccherini
61ba5a32c1 Added some code to draw "empty" in empty menus. Not working for the
moment, but committing since it's too late to continue working, and at 
least the window is resized correctly...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 22:27:46 +00:00
Axel Dörfler
8a1f6775b9 * You can now specify a thread when using the "unreal" debugger command.
* Added a thread priority column to the thread list.
* Added "realtime" command that lists all real-time threads.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 19:50:00 +00:00
Axel Dörfler
1ee28f024a Too more FreeBSD build fixes by Alexander Deynichenko.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 17:45:52 +00:00
Axel Dörfler
c08ce938f3 Added way to enter the kernel debugger in case keyboard is disabled - couldn't
test it, though, as I couldn't reproduce the problem since then.
Fixed indentation in ps2_keyboard.c.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 15:53:37 +00:00
Axel Dörfler
5da68569d0 The APM now successfully shuts down my IBM ThinkPad T40. It's still disabled
for more testing on other machines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 15:51:33 +00:00
Axel Dörfler
fd9772def6 Fixed build on BeOS: MimeType.h doesn't exist; we need to use Mime.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 14:25:27 +00:00
Ingo Weinhold
1ae42108ec Improved the window_quit_loop() situation:
* We no longer try to dynamic_cast<>() a BLooper* into a BWindow* in
  an unsafe context (i.e. without the looper or the looper list being
  locked).
* We no longer try to quit windows that haven't been run yet (e.g.
  bitmap's offscreen windows). Those windows conceptually still belong
  to their creator. In the best case trying to lock such a window
  simply failed (e.g. when the creator was another window that had been
  told to quit earlier and deleted the window in question just not too
  early). In worse cases we would dead-lock (when the owner has not
  been told to quit (or refuses to do so)), cause "locker must be
  locked" debugger calls or die painfully when accessing an already
  deleted object.

BTW, I doubt, that the whole window quitting procedure is as it should
be. There's still a huge race condition: When a window is created after
we capture the window list at the beginning of window_quit_loop() that
completely escapes us.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 01:54:33 +00:00
Ingo Weinhold
7baddcf950 Added TODOs regarding gdb blocking in some situations (e.g. on
"info threads" when one of the team's threads is waiting
uninterruptably on a semaphore).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 00:58:09 +00:00
Ingo Weinhold
9ff556c32a Even better use the type guaranteed to be the correct one for the platform.
Thanks to John Drinkwater for pointing that out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 22:51:09 +00:00
Ingo Weinhold
b4598d95e6 Fixed nasty bug in BAppFileInfo::_ReadData(). When an attribute
or resource to be read did not exist and the method was told to
allocate a buffer, it would try to allocate the buffer with an
uninitialized size value. This basically concerned SetSupportedTypes()
and methods using that one (IsSupportedType(), Supports()).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 22:34:36 +00:00
Ingo Weinhold
7aa7880955 Build mimeset for the build platform and use it for the apps we build.
This fixes bug #74.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 22:02:48 +00:00
Ingo Weinhold
15285cb04d Good deal of hackery to get update_mime_info() to work on the host
platform to the extend we need it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 22:00:16 +00:00
Ingo Weinhold
58b53fd940 Added BApplication dummy class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 21:57:02 +00:00
Ingo Weinhold
e9bd9044fd Dummy BApplication class. So we don't have to #ifdef it out in tools we
to build for the build platform.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 21:56:38 +00:00
Ingo Weinhold
9c2d48f374 Fixed bug already fixed in the Haiku version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 21:55:29 +00:00
Ingo Weinhold
de3b6032e7 There's even a constant for the ELF executable type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 21:05:54 +00:00
Ingo Weinhold
0b537029e3 Synchronized the MIME stuff in the build platform support libbe with
the current Haiku libbe.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 20:20:27 +00:00
Ingo Weinhold
15424f3d37 Finally fixed update_mime_info(). As Be's version it understands two
different "force" levels now and updates the app file info attributes
for shared object files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 19:41:07 +00:00
Ingo Weinhold
1ee5d15ef8 MIME DB entry for ELF executable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 19:28:58 +00:00
Axel Dörfler
036b999b54 Unbroke the build (ps2.h was suddenly missing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 18:48:50 +00:00
Axel Dörfler
afd6dfc8b4 Implemented first basic APM driver. Only tested with QEMU so far, that's why
it's currently disabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 18:11:20 +00:00
Marcus Overhagen
bfb4078864 unbreak build and image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 14:05:43 +00:00
Marcus Overhagen
769346f0a3 finishing integration of ps2_hid into ps2 bus manager, delete old files, add new ps2_hid driver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 13:54:21 +00:00
Marcus Overhagen
59d1757d4d added ps2 busmanager to build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 13:46:02 +00:00
Marcus Overhagen
44eb1c732e improved debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 13:41:58 +00:00
Rudolf Cornelissen
7933070063 volatile pointers where possibly needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 21:09:19 +00:00
Rudolf Cornelissen
12676c3a1d volatile pointers where possibly needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 21:06:26 +00:00
Rudolf Cornelissen
eab3aa0c2d same for cursor clear and define functions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 21:02:49 +00:00
Rudolf Cornelissen
716c61f301 updated all framebuffer accesses to use volatile pointers. This potentially fixes even more coldstarting problems. Thanks Marcus Overhagen for pointing this out again - sorry for forgetting :-/
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 20:56:36 +00:00
Rudolf Cornelissen
e2b583a0e4 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 08:13:20 +00:00
Rudolf Cornelissen
5af5d0c6ef fixed coldstart RAM test exec failures on high-voltage AGP1.0 slots (confirmed a NV11 now working OK there). Bumped version to 0.70.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 08:12:51 +00:00
Axel Dörfler
1bb74eb185 This fixes the work-around made in r16105, and some more:
* cached_block::parent_data can be NULL in a sub transaction in case the
  block wasn't part of the parent transaction (but not in low memory
  situations). cache_abort_sub_transaction() and cache_detach_sub_transaction()
  didn't account for this, though, ie. the block data could end up
  corrupted.
* Renamed cached_block::original in original_data.
* Renamed cached_block::data in current_data.
* Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 21:02:53 +00:00
Jérôme Duval
2e7cc04b06 gawk build is beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 17:13:09 +00:00
Jérôme Duval
e26778ae3d useless Invalidate()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 16:45:51 +00:00
Jérôme Duval
2e5ac35292 fixed some traces
cache_abort_sub_transaction now doesn't crash if parent_cache is NULL (happens in low memory situations)
Axel, please review and fix if needed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 16:42:12 +00:00
Rudolf Cornelissen
421b932509 moved check for TVout adaptor cable from Setmode to Proposemode where it belongs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:53:57 +00:00
Rudolf Cornelissen
032c5ae268 updated docs: the G550 PCIe x1 is supported fully, without any modification :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:31:12 +00:00
Ingo Weinhold
906b28a9ac Added some PPC support to the PCI bus manager. We scan the Open Firmware
device tree for PCI controllers and make them known to the bus manager,
if we know how to talk with them. ATM we support only the UniNorth chip,
which can be found in G4 Macs (code ported from FreeBSD).
As far as I can judge it, all attached devices are identified correctly
on all three host bridges of my Mac mini.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:21:31 +00:00
Ingo Weinhold
f602da2b72 * Turned the kernel platform support from a library into an object.
* Moved the Open Firmware function platform_get_next_device() from
  the boot loader into the kernel (renamed to of_get_next_device()).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:06:59 +00:00
Ingo Weinhold
6cdd45a94b Added enum to PPCPlatform to identify the platform.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 14:59:16 +00:00
Rudolf Cornelissen
5ef2e83614 reverting to version 16074, removing the partly setup coldstart panel hack 'solution' which isn't going to work this way: I took a wrong turn here. Turns out this should be done via temporary files containing the hack info. Don't know yet if I'll do that though (real panel coldstart is the best solution anyway).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 14:56:40 +00:00
Ingo Weinhold
22a572905c pci_controller.c -> pci_controller.cpp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 00:27:09 +00:00
Axel Dörfler
c43a6c505a Moved _kern_shutdown() to the registrar's R5Compatiblity.cpp where it belongs.
(but maybe that file should be moved into libhaikucompat.a?)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 00:14:03 +00:00
Axel Dörfler
5da7839924 * _kern_remove_dir() didn't even compile... (test environment (of which
LibBeAdapter is a part of) isn't part of the build.
* Added _kern_shutdown() function, so that the registrar still compiles
  even though __HAIKU__ is now defined for the target libbe_test.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 00:04:44 +00:00
Jérôme Duval
79ea00d63e added checks for null pointers in pcihdr.h structs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 21:29:26 +00:00
Axel Dörfler
a268fbfe48 Added some hacks to get the boot loader to work on the Pegasos.
Doesn't come far yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 20:05:11 +00:00
Axel Dörfler
818feababe Fixed fputc() for the PPC platform (would only write null bytes due to
big endian).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 19:45:10 +00:00
Marcus Overhagen
6b076b3556 added header file that was not included in r16086 commit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:56:54 +00:00
Marcus Overhagen
0827e900cd removed unused spinlock
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:55:23 +00:00
Marcus Overhagen
43eb3f4715 removed deleted sourcefile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:53:44 +00:00
Marcus Overhagen
8d366c9e00 Added support for multiple PCI host controllers and allow multiple PCI domains (needed for PPC).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:51:35 +00:00
Jérôme Duval
1571b4c958 added Chip and VendorShort fields to fix the build
They should be checked to see if they're useful at all.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:09:12 +00:00
Jérôme Duval
6f896d56e2 updated header search
oops we removed useful fields in pcihdr.h ... sorry for breaking the build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:03:33 +00:00
Axel Dörfler
01e69aca05 Now shows the "Reboot" button after the actual shutdown attempt.
The invalidate work-around is no longer needed for the app_server.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 16:24:17 +00:00
Axel Dörfler
76c7d59103 Updated copyright message in the boot loader menu.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 16:12:48 +00:00
Axel Dörfler
924479179b Implemented on screen debug output during boot - to be enabled in the boot loader
safemode menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 16:12:10 +00:00
Jérôme Duval
ab88c5f939 Now use pci.ids from http://pciids.sourceforge.net, a cleaner and updated database
Awk script provided by John Drinkwater (john@nextraweb.com), thanks for this hard work!
This closes bug #94


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 15:38:20 +00:00
Axel Dörfler
46252218c3 Now adds the header to every line of the message received.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 14:49:03 +00:00
Axel Dörfler
979aeaf71c Fixed bug #97:
* BEntry::Remove() now uses _kern_remove_dir() for directories.
* Added fd parameter to _kern_remove_dir().
* Fixed LibBeAdapter's _kern_unlink() to only work on files, and
  added _kern_remove_dir() for directories.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 11:12:21 +00:00
Axel Dörfler
7f370a1f89 * Fixed settings evaluation.
* exchanged sBlueScreenEnabled and sBlueScreenOutput (so that they better
  match the sSerialDebugEnabled and sSyslogDebugEnabled variables).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 21:52:53 +00:00
Axel Dörfler
ad4afa7409 Added unused ring_buffer_write_to_port() implementation - we might never use it,
but it shouldn't hurt to have it in SVN.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 21:50:41 +00:00
Rudolf Cornelissen
17ca256d6f added hack to save registerprogramming for a few registers that has been done by the cardBIOS: things that we don't have coldstart support for yet. This is nessesary if the driver is started/stopped more than once per 'system boot': programming done by the VGA BIOS has a tendency to get overwritten by driver-use. In progress: accelerant doesn't use it yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 20:37:05 +00:00
Axel Dörfler
eb2fc29abd Implemented syslog support for the kernel debug output. Not fancy at all yet, but
it seems to be working fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 20:28:52 +00:00
Axel Dörfler
91845703f8 * "<TRUNC>" was added one byte too late, causing the stack to be overwritten.
* now makes sure the message string received is null terminated.
* made buffer size depending on the syslog defines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 20:25:38 +00:00
Axel Dörfler
d97476d155 The userland stack trace no longer accesses the stack of the crashed application unsafe.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 17:22:50 +00:00
Axel Dörfler
3a0a764d47 Added the "logger" command line tool to send messages to syslog.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 16:28:45 +00:00
Jérôme Duval
bc1301d336 * added checks for installing on source volume, or boot volume
* added alert for file error: lots of errors happening when updating a volume:
* it seems BEntry::IsDirectory() returns false whereas it should return true for some directories
this is to be checked with a test app
* boot volume is now marked automatically as the source volume (a rule is yet to be found for the target volume)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 16:16:26 +00:00
Stefano Ceccherini
19de443e9a removed useless stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 15:31:52 +00:00
Rudolf Cornelissen
ac9ce71ce8 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:56:26 +00:00
Rudolf Cornelissen
6074481cfa bumped version to 0.28
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:52:20 +00:00
Rudolf Cornelissen
831d98de27 updated Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:48:40 +00:00
Rudolf Cornelissen
13fca088b4 removed nolonger used file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:47:46 +00:00
Rudolf Cornelissen
aadc40b8e2 completed acc engine funtion move for acc speedup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:46:23 +00:00
Rudolf Cornelissen
19fb0957a2 moved acc function FILL_RECTANGLE into engine directly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 11:56:36 +00:00
Rudolf Cornelissen
f3c5d76035 moved acc function SCREEN_TO_SCREEN_TRANSPARENT_BLIT into engine directly. Also executing now if requested, although this function is completely untested.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 11:37:11 +00:00