Commit Graph

32086 Commits

Author SHA1 Message Date
Axel Dörfler
9d3ca457dc * Restored forcing the post2 PLL divisor for display B. This should fix all
remaining problems introduced with r33633.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 22:34:08 +00:00
François Revol
cad8f65d22 m_getcl() can return NULL, so check for it. This would have spared me a KDL. :p
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 21:44:44 +00:00
François Revol
7c595f3353 ARM920T specific definitions (not done yet).
Board config file for the FreeRunner.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 21:13:46 +00:00
Stephan Aßmus
0161825261 Fixed an annoying problem with the scroll bar repeat feature. If you clicked
a button or within the bar background within the timeout for the repeat-thread,
the thread would exit and there would be no repeating. I think there is still
a race condition somewhere since I managed to see it stall once again, probably
because it locks the looper twice in the loop...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 20:40:15 +00:00
François Revol
e19e3efd0d A test app showing that at least on R1/alpha1 there is a deadlock when quitting an BApplication started from another thread.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 20:37:45 +00:00
François Revol
449b4c4192 Board definition file for the Openmoko Neo FreeRunner I just got given by a generous donator. ;)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 20:34:55 +00:00
Clemens Zeidler
7f6d3afb1d Add ns_handle_to_pathname acpi function to the acpi module.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 19:00:26 +00:00
Stephan Aßmus
52a90fe6be Solved a few problems at program exit. The window needs to lock the playback
manager and inform it that the video target, ie the view will be gone. The
Controller needs to use the SetTo() method in order to actually close down
the nodes properly in the destructor. Otherwise asynchronous threads will use
the BMediaFile and tracks after it has been deleted (until the NodeManager
destructor is executed).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 18:27:48 +00:00
Stephan Aßmus
9e43353ce5 The media_server signature is actually defined.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 18:24:51 +00:00
Stephan Aßmus
169bcbe7c0 Most simplistic support for 5 channels. Not actually tested. Uses the first
two channels of five and ignores the rest.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 18:24:11 +00:00
Stephan Aßmus
15477ca556 Small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 18:23:10 +00:00
Oliver Tappe
3287ee32c2 * trying to understand and recover a svn:kweyord problem that might have corrupted this file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 18:13:20 +00:00
Clemens Zeidler
cb6cd182c4 Remove type variable from reference, it is already defined as object_type before of the union.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 17:42:18 +00:00
Stephan Aßmus
e445909631 Fixed a few problems with extracting the output audio buffer size and setting
it in the media_format (encoded versus raw).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 16:31:14 +00:00
Scott McCreary
0869aa838f Second try, this time with the right define in the second case.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 15:25:44 +00:00
Scott McCreary
f70f0cf049 Missed the Haiku specific changes in ftoption, putting them back in.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 15:13:32 +00:00
Rudolf Cornelissen
b793b9cbd0 added dithering support for DAC1. Dithering is enabled for digitally connected panels on DAC1 on laptops. This should remove the 'colorbands' displayed previously on gradients. Bumped version to 1.06.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 10:33:01 +00:00
Michael Lotz
b5addd82d7 axeld:
Restore ignoring the BIOS provided width and height in case the timings
suggest a bigger dimension. Also re-add the corresponding comment. Should
fix #4810 and might affect #4807 as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 09:06:10 +00:00
Axel Dörfler
86860a0c07 * debug_printf() from userland actually only worked if serial debug output was
turned on. That should explain Bruno's problems to get debug output from an
  accelerant. Thanks to Michael for the hint!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 08:32:38 +00:00
Scott McCreary
f1b1e2fc9a updated freetype to 2.3.11
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 07:03:46 +00:00
Scott McCreary
3221645ea1 fixed pathname in freetype-config
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 06:03:55 +00:00
Scott McCreary
1f57d0422c updated libxml2 2.7.6
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 05:48:20 +00:00
Axel Dörfler
39e3058e5b * Reverted r33643 - while it doubled the performance for my test case (with
high contention of the read lock (I experimented with the VM page mapping
  lock)), it actually hurt the compile performance pretty obviously.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 00:16:54 +00:00
Stephan Aßmus
7d05cf36fc Revert my additions to the patch from #4733, Core 2, Core 2 Duo and Core 2
Quad are all reported as "Core 2", because the CPU count is already reported
separately.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 00:07:59 +00:00
Jérôme Duval
095a7d8415 using chroot with a mount point wrongly exposed the mount point name: we now avoid resolving the volume root in case we hit the IO context root.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 22:58:29 +00:00
François Revol
58bcc3862a Fix the build (missing headers).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 20:16:38 +00:00
Axel Dörfler
22ea088498 * The rw_lock is now using a mutex to protect its reader/writer counts. This
makes the reader case a lot less expensive, and should relieve the thread
  spinlock contention a bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 19:52:09 +00:00
Axel Dörfler
b2a7fcb404 * Added an arch_debug_stack_trace() function that is called from the KDL loop
in case there aren't any KDL commands available yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 19:50:13 +00:00
Stephan Aßmus
16e2755608 I didn't realize the generated headers are re-used elsewhere and located like
that. But I didn't think of any better solution either... Hopefully these are
all, but I will find out once I built a complete image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 19:20:10 +00:00
Stephan Aßmus
55b42c2b4d Patch by Pieter Panman:
* Rewrote Devices application. -> Thanks a bunch!! Nice work!
* Put Devices onto the image.

Changes by myself:
* Merge some code from the old "preflet" which the new app still relied on.
* Fixed some coding style issues. I didn't review all of the code yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 17:59:07 +00:00
Stephan Aßmus
cb42b864b9 Moved Devices from preferences into apps. (Trying to maintain history
on some files when applying the new Devices patch...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 15:40:39 +00:00
Michael Lotz
b501a0387d anevilyak+korli+mmlr:
* Check for overflows in memory allocation. If someone happened to (erroneously)
  try to allocate a negative amount of memory we could overflow and crash
  because of the sizes getting messed up.
* Review and update the alignment logic which was a bit broken for the huge
  allocation case (reaching the area threshold). Also assert the results so
  next time this will be easier to spot.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 12:35:49 +00:00
Adrien Destugues
599586baa6 Synced all the catalogs for locale with the current state of the preflet. Removal of the aboutbox text, and added 12-Hour and 24-Hour to swedish.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 12:33:59 +00:00
Adrien Destugues
afa09c2103 Added hungarian catalog made by miqlas for fonts and locale. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 12:21:23 +00:00
Clemens Zeidler
c0e2df641b Disable tap click when sensibility is 0. otherwise very hard taps could still cause a click. This should fix #4669.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 10:40:19 +00:00
Scott McCreary
978c92db2f Updated apr to 1.3.9
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 10:28:45 +00:00
Axel Dörfler
795bd7a697 * The save_lvds_mode() function did not correctly support the i965 chipset -
I've now removed that code, and factored out a retrieve_current_mode()
  function that can work on head A and B.
* This fixes Adrien's flickering problem on his laptop - I can't find the
  bug ticket, though. Hopefully it does not break other laptop chips. Testing
  would be welcome, as I don't have any other machine here.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 10:03:01 +00:00
Clemens Zeidler
4740a17020 Some small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 09:31:57 +00:00
Stephan Aßmus
b24366c6d8 Implemented focusing the Name property on pressing Command-E. (Ticket #2742)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 23:27:02 +00:00
Stephan Aßmus
df01744a4f Fixed missing return...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 23:25:32 +00:00
Stephan Aßmus
2a5ee87029 Implemented enhencement ticket #4799.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 22:46:27 +00:00
Rudolf Cornelissen
0ccd8732ac preventing DDC/EDID use if monitor reports native mode below VGA mode. This prevents the driver exporting a modelist with zero modes, resulting in black screen. Seen this at BG on Mark's old Neovo screen. Seems a DDC firmware bug inside the screen.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 21:31:55 +00:00
Adrien Destugues
67bcc8cb69 Removed accidental debug. Thanks Stephan !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 21:20:04 +00:00
Marcus Overhagen
2ca5f51b08 Fix for ticket #4543. This fixes the ATA
timeout waiting for interrupt / device busy / status 0x58


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 20:19:02 +00:00
Adrien Destugues
6886b5bf6a Language names are now written in their own language, making it easier to find your own even if you mistakenly set your preference to something very strange.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 19:28:00 +00:00
Adrien Destugues
e983ba85e9 Move the Locale Kit catalogs in a common place in data/catalogs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 19:04:55 +00:00
Michael Lotz
8da446a982 The fModel member wasn't initialized.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 17:25:47 +00:00
Michael Lotz
b7204bd774 Make the swap hash lock into a rw_lock to reduce lock contention a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 17:24:59 +00:00
Axel Dörfler
20a11271d0 * Added a (to be virtual) DefaultItemSpacing() method to control look. This is
what you should use in for example BGroupLayout as spacing/inset.
* Changed the label spacing to be dependent on the font size, too (and enlarged
  it a bit as well).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 17:01:22 +00:00
Axel Dörfler
1c9ae94636 * The panel display_mode::flags field was not correctly set, preventing direct
windows from working, for example.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 16:55:18 +00:00