Commit Graph

17028 Commits

Author SHA1 Message Date
Axel Dörfler
6d27f962bd * Allowed Go() to also work if it was not called from within a window - this
prevented ProcessController from showing its menus.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-25 13:20:15 +00:00
Axel Dörfler
20914efdcf Made _user_open_entry_ref() a bit more relaxed and return B_BAD_VALUE on some
obvious errors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-25 13:03:13 +00:00
Axel Dörfler
3df4580e9a Made the registrar communication more robust (would have cured the symptoms of
bug #513 as well).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-25 12:30:30 +00:00
Axel Dörfler
8780db592a * Forwarding message that had someone waiting for a reply did not work correctly;
both messages wanted to reply then, which could get the wrong reply (B_NO_REPLY)
  into the reply port. This fixes bug #513, took me some hours to figure that out...
* _SendMessage() no longer allows to forward a message and asking for a synchronous
  reply that already has a source waiting for a reply.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-25 12:21:38 +00:00
Stephan Aßmus
b30e90211e added a way for BWindow to store and restore arbitrary decor settings,
currently those include only the tab location


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-25 12:01:28 +00:00
François Revol
11893e477d Add the poke driver to the image, someone will have to write the poke app :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-24 23:41:20 +00:00
Axel Dörfler
69c86c993d A stupid typo that caused Haiku to crash when there was no CPU module.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-24 23:30:30 +00:00
Stefano Ceccherini
a7dc54697c The drawstate is now synched when the recording of a BPicture starts. Some reordering of the function calls, implemented B_PIC_SET_BLENDING_MODE, some other cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-24 19:10:15 +00:00
Philippe Houdoin
e0da42a8fa Ooops, some GL calls were exported mangled, some not. While I dunno why this split, OpenGL is a C API!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-24 13:33:13 +00:00
Philippe Houdoin
6e23537d47 Removed main/dispatch.c from libmesa.a: the GL API dispatching is added in libGL.so by GLDispather.cpp (and eventually some assembly code like glapi_x86.S for x86 architecture).
On PPC, both dispatch.c and GLDispatcher.cpp were exporting gl* OpenGL API. Twice is not better, even when "none" was the previous state for PPC port ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-24 13:08:15 +00:00
Stephan Aßmus
46fb2d73be sorry, I couldn't resist...
* added a few very small changes to make the tab sliding work perfectly
* added a comment on the purpose of WindowLayer::fLastMousePosition and
  how it is supposed to be used to have the mouse cursor stick to what
  is being dragged
* TODO: the tab offset doesn't necessarily have to be on [0..1], as long
  as we update it during window resizing to keep the relative position


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-24 11:05:25 +00:00
DarkWyrm
2af6c95389 More work on chapter 3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-24 10:40:35 +00:00
Axel Dörfler
1faf767bbd Made the memory mapped registers temporarily accessible from userland for testing
purposes (a.k.a. poke).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-24 10:37:34 +00:00
Axel Dörfler
1283fc6e42 No longer call init_mtrrs() if there are no MTRRs, also made generic_init_mtrrs()
no longer try to access any MSRs when there are no MTRRs. Got it? :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-24 10:18:49 +00:00
Jérôme Duval
373e124fd8 changes from Greg Crain on his mpu401 module, Thanks!
style fixes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-24 10:05:24 +00:00
Axel Dörfler
cdffef9f01 MTRR is no longer set on anything below AMD K6-2 model 9. This should fix bug #624.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-24 09:51:56 +00:00
François Revol
382084bd0a The return of the long awaited for Sliding Tabs, that even Linux users envy!
Needs some cleanup, passed values should be inside [0:1].
Need to make sure changing the title doesn't reset the tab to left.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-24 00:42:34 +00:00
Axel Dörfler
ce2beb27aa Now we have a resource file as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 20:22:51 +00:00
Axel Dörfler
1d13cc310e It does now compile - turns out the utterly broken MemorySpyWindow.cpp is not
needed at all (and so I removed it).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 20:15:17 +00:00
Axel Dörfler
ed7a35012e Imported ProcessController from BeUnited's CVS into our repository.
Doesn't compile yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 20:01:09 +00:00
Axel Dörfler
48f09a2bd2 Removed the BeOS specific perfmon_kernel.h header - Haiku's kernel doesn't
export those functions. The log_coll stuff now uses system_time() instead
if enabled - that should be good enough.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 19:04:55 +00:00
Axel Dörfler
c5f5d8347e * B_MOVE_DISPLAY and B_SET_INDEXED_COLORS should now work for the digital
output as well.
* Obviously got the register for INTEL_DISPLAY_B_DIGITAL_PORT wrong - it's
  not 0x61000 but 0x61140, maybe that can explain the fun we had at BeGeistert :)
* Renamed the analog display registers to better fit the digital ones, ie.
  replaced DISPLAY with DISPLAY_A - although this might be not really correct
  as it seems that the pipes can be selected arbitrarily.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 16:51:40 +00:00
Axel Dörfler
a0902420ff Some work to support output on the digital interface like laptop panels.
Need to clean this up, though. It even sort of worked on tic's IBM X40
on BeGeistert - if you weren't irritated by the fact some parts of the
screen were just black, that is :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 16:16:16 +00:00
Axel Dörfler
06bf290c26 Fixed indentation, still doesn't build correctly on PPC, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 12:41:35 +00:00
Jérôme Duval
ab61875fe6 TMDescView is now resized to preferred before computing other views positions
fixed bug #599


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 10:52:44 +00:00
François Revol
f146dc9614 allow compiling of things using find_directory on ZETA, so I can test Terminal
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 09:41:43 +00:00
Axel Dörfler
e3946fee88 * The window resizing is now limited to some useful bounds - this fixes
bug #617.
* The two buttons weren't aligned correctly (called MakeDefault() too
  early).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 02:17:31 +00:00
Axel Dörfler
f7769aa482 Some more PPC big endian fixes, mostly array handling (b+tree duplicates and
log). Still doesn't seem to work correctly, though (but it's definitely
getting closer :-)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 01:24:38 +00:00
Axel Dörfler
669b14d756 Fixed GCC 4 warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 01:22:49 +00:00
Axel Dörfler
2594778c84 * Imported PPC big endian fixes into Haiku's BFS.
* Fixed another issue in BPlusTree::RemoveKey().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 23:44:00 +00:00
Axel Dörfler
f0280afd93 Adopted the PPC big endian fixes for disk_super_block::Initialize() and made them
a bit nicer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 23:21:45 +00:00
Marcus Overhagen
ab9afde305 removed debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 22:23:01 +00:00
François Revol
0a36b17ec0 Use B_ENTER instead of hardcoded \n
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 21:44:25 +00:00
François Revol
289ca930ab Added a Fullscreen shortcut (ALT-ENTER).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 21:43:02 +00:00
Marcus Overhagen
57735c4048 fixed BChannelControl::SetLimits()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:55:16 +00:00
Marcus Overhagen
687e925395 Removed private functions _long_to_color_() and _color_to_long_(), there
shouldnt be any application that uses them, as they were not in headers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:43:39 +00:00
Marcus Overhagen
bb15b0769b increased thread priorities
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:37:43 +00:00
Axel Dörfler
032674909f Some more PPC fixes - initialization still doesn't run through, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:22:48 +00:00
Marcus Overhagen
30d242965d fixed strange usage of rgb_color
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:20:17 +00:00
Marcus Overhagen
4cf88b82c3 set alpha value of default low/view color to 255
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:17:35 +00:00
Marcus Overhagen
df230cb528 replaced get_uint32_color() by casting into a reference (const uint32 &)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:14:26 +00:00
François Revol
548cead6a1 - Handle args in the form /pathto/file[:line[:column]][:] so you can double-click
on a gcc error in the terminal, type open and right-click to edit at the buggy line. 
Discard last : form gcc errors to avoid having to type backspace. 
Works with Pe for the line at least, BeIDE doesn't seem to handle it though the 
documentations says it should. Others apps welcome to handle the be:line and be:column 
int32s on B_REFS_RECEIVED :)
- Updated copyright.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:10:41 +00:00
François Revol
c2be814ab5 added an Haiku-specific RLIMIT (NumOpenVnodeMONitors) (UNIMPLEMENTED yet) (we might want to renumber it),
and used that one and NOFILE to implement R5 private calls _kset_[fd|mon]_limit_()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 19:37:40 +00:00
Axel Dörfler
239974d018 The super block is now written correctly when compiled under PPC.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 19:30:32 +00:00
Axel Dörfler
aad602196a Also check the device class and subclass IDs - this prevents the driver to recognize
an USB controller with the same ID pair as the graphics controller (Intel seems to
be running out of device IDs :-)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 19:16:33 +00:00
Axel Dörfler
4e65a2073d The shutdown window now uses the same placement method like BAlerts.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 18:21:33 +00:00
Axel Dörfler
42c1d42429 * GCC 4 build fixes
* Some minor cleanup towards our style guide, but this could need
  much more work.
* Better error reporting in GetNextChunk() in case of an read error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 18:08:13 +00:00
François Revol
3ad603ace4 implement sbrk() by calling hoard's version, through sbrk_hook (fct pointer was named this way in R5).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 18:04:20 +00:00
Axel Dörfler
712c1e8c39 Fixed the BMenuBar not spanning over the whole window width for MediaPlayer
and VLC (what a coincidence :)).
Would be nice if there is a better solution, though...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 16:54:32 +00:00
Axel Dörfler
c8e7fbbfa6 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 16:50:06 +00:00