Commit Graph

16918 Commits

Author SHA1 Message Date
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
Axel Dörfler
dc052c4305 The alert window position code now also takes an eventual screen offset into account.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 16:49:24 +00:00
Axel Dörfler
517dfdf48b The cache did not correctly retrieve the file map when the file was fragmented
into more than MAX_FILE_IO_VECS pieces. This could have very weird consequences
like overwriting data outside the file (but on that same partition only).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 16:36:20 +00:00
Jérôme Duval
c003d47a54 added some more tests
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 16:14:00 +00:00
Jérôme Duval
b82aa52811 avoids analog clock flickering (ie on VPC): AnalogClock view is now of the bitmap size
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 16:12:50 +00:00
Marcus Overhagen
453f642e2e Rewrote audio decoding to provide timing information
that is used to sync with video.
Separated audio decoding and playing into two threads, 
the same applies to video decoding and playback.
This was inspired from code written by Stephan.
Added video decoding and display, added play/pause/stop.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 15:56:10 +00:00
Philippe Houdoin
d6b1b60ed4 Try to be smarter regarding $(TARGET_ARCH) dependent symbols when building libGL.so.
Untested for non x86 architecture. Axel, could you check if it now build fine under PPC?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 15:48:12 +00:00
Jérôme Duval
568e0bdbf4 write errors to stderr
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 10:36:00 +00:00
Jérôme Duval
0e726a5684 fixed message delivering
record control in media preferences for auich is now working correctly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 10:35:01 +00:00
Jérôme Duval
52427a4b3a fixed build on dano
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 10:31:30 +00:00
Jérôme Duval
f506eea587 NULL signal should be handled as others, except it has no effect
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 10:30:32 +00:00