Commit Graph

27482 Commits

Author SHA1 Message Date
Jérôme Duval
16578b340e reworked mixer controls list build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-23 20:47:57 +00:00
Jérôme Duval
e66bded196 updated libpng to 1.2.33
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-23 14:02:02 +00:00
François Revol
5b07eaa9b5 An old tool to detect bad blocks on disk. Will need that RSN :^)
Needs some spicing up.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-23 01:00:26 +00:00
Jérôme Duval
ed17f94af7 revised outputs naming
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-22 20:09:27 +00:00
Stephan Aßmus
9aed61212a The types messages when constructed from the list view contents may have a
different sorting order. Therefor store that message in the original data
info instead the types message retrieved from the node. This fixes the
FileType window from requesting a save operation on quit even if nothing
changed (probably with certain app infos only where the sorting happened to
be different. Was the case with Firefox for example). Fixes #XXXX (Trac is
broken again... sigh)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-22 18:31:16 +00:00
Jérôme Duval
b990fd9244 fixed mixer for realtek 888 codec
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-22 14:46:25 +00:00
Jérôme Duval
9dc97eddb4 check BMessage::Find*() result
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-22 13:36:07 +00:00
Oliver Ruiz Dorantes
25f31b227e - Allow the header being used from C code
- Minor Styling



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-22 10:49:40 +00:00
Oliver Ruiz Dorantes
7a3a199ad5 Add flags to handle the status of the configuration of the channel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-22 10:30:38 +00:00
Karsten Heimrich
ea3f903544 * use the right color for the knob shadow as pointed out by Clemens
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-22 00:51:11 +00:00
François Revol
645285b091 Use fabs(), also fixes gcc4 builds.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-22 00:45:56 +00:00
Stephan Aßmus
3e58fe9e70 patch by Clemens Zeidler:
* Support dragging the clock hour and minute hands to set the time.
* Improved keyboard support for the time and date controls.

Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-22 00:23:51 +00:00
Jérôme Duval
e11c40c4e2 applied patch from PieterPanman for broadcom570x network chipsets. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-21 23:43:14 +00:00
Oliver Ruiz Dorantes
94c2ae9320 size does not need to be calculated. Merge configuration parameters only if specified.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-21 20:10:36 +00:00
Karsten Heimrich
cee0c5c7b5 * use rgba32 bitmap to get rid of the anoying slider
background while using a different panel background color



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-21 19:05:14 +00:00
Karsten Heimrich
c96059e055 * build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-21 18:31:29 +00:00
Stephan Aßmus
faff99c017 Use layout management for all of the window. Can be improved by making
the listview use all the available additional size. But works far better
than before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-21 00:17:59 +00:00
Stephan Aßmus
295f3d13dc Style update.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-21 00:15:22 +00:00
Stephan Aßmus
24a0a80b05 Properly integrate the BTabView into a layout tree. Ie, the content will
now resize with the tab view. There is probably a more elegant way overriding
DoLayout(), but this should do for the time being.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-21 00:14:05 +00:00
Jérôme Duval
30ca128ee5 merge correctly while keeping Haiku specifics. Thanks Siarzhuk!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-20 23:07:41 +00:00
Stephan Aßmus
e401039efa Patch by Artur Wyszynski:
* The BTabView can now be used with layout management. In this setup, children
  views are managed by a BCardLayout and are hidden/shown instead of removed/
  added when (de)activated.

Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-20 21:51:43 +00:00
Stephan Aßmus
5ebeee561a Turned off the Synaptics driver again, as it seems to give some people
problems still.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-20 13:00:06 +00:00
Jérôme Duval
311781dfcc * uses the default output stream on all audio outputs (and all output paths)
* enable trace to debug mixer controls build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-19 23:14:54 +00:00
Jérôme Duval
0e1e3de535 correctly identify the beeper for AD1988 codecs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-19 22:48:32 +00:00
Jérôme Duval
34bda3ae2d introduced a widget inside the audio function group to extract widget node attributes and reuse functions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-19 20:24:47 +00:00
Rene Gollent
52a7c90673 Position-based binary searching can only be used if the view has been attached
to a window already. If not, we fall back to using the BList-based search.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-19 06:04:53 +00:00
Rene Gollent
4e0a1b40ad Temporarily revert that last change since it breaks the IM Kit's preflet for reasons I don't yet understand. Investigating.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-19 05:11:37 +00:00
Rene Gollent
128cb2f6f3 Minor optimization: since our list items cache their position information,
take advantage of this fact to make use of binary search in 
IndexOf(BListItem *), rather than using BList's linear search. 
Also use this mechanism to speed up HasItem(BListItem *).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-19 04:41:51 +00:00
Rene Gollent
633645bca9 Fix a potential race condition in BPopUpMenu: if Go() is called on an async
popup menu that hasn't yet been completely dismissed, it's possible to hit a
debugger call because the menu's view tries to add itself to the menu window
before the previous menu instance has removed it. This was quite easy to
hit with things like BColumnListView's column title context menu, since there
is no notification for when the menu was dismissed without invoking an item, 
and thus double right clicking quickly enough would hit the debugger. Go()
now checks if the menu's tracking thread is still up, and if it is, waits for
it to go away before trying to start another instance. Fixes ticket #3146.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-19 04:01:05 +00:00
Rene Gollent
6826c30a25 When an item is added to the list, we must immediately set its top,
otherwise if it tries to make use of any positional information in the
subsequent call to Update() (i.e. calls to ItemFrame(), or Top(), it will
get back bogus coordinates. This should correctly fix the problems seen with
Themes, possibly amongst others.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-19 03:54:59 +00:00
François Revol
d423222f0c Disable old API sound drivers and addon for now, anyone feel free to finish it :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-18 22:58:20 +00:00
Axel Dörfler
c58463ff10 * Seek() must always fail when the resulting offset would be smaller than 0
- "correcting" the offset to 0 is not what should happen.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-18 21:29:04 +00:00
Axel Dörfler
578dac0cf3 * tty_select() did not check for ICANON and therefore notified the select
listeners immediately if there was already something in the queue. Factored
  out a tty_readable() out of tty_notify_if_available() that tty_select()
  now uses.
* This fixes bug #3148.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-18 21:07:18 +00:00
François Revol
7613c6c7ca Add a boot menu option to disable using the IO APIC for IRQ handling and fallback to PIC.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-18 14:40:40 +00:00
François Revol
54cea88338 Fix m68k build. Please always have a fallback case in arch dependant code!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-17 23:49:14 +00:00
François Revol
8b8d5ae279 Add the legacy media_addon and the few drivers we have that still use the old/ API. While the legacy addon seems unfinished it doesn't prevent booting, hopefully someone will be motivated enough to finish it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-17 23:26:46 +00:00
Jérôme Duval
3fa33c82a4 * store vendor, revision, stepping, revision, minor, major in the codec struct
* check specific node ids for nodes declared as inputs which are really beepers
* when unmuting/setting amp on the input amplifier, iterate on each input instead of only the first one
* also unmute/set amp on the output and input amplifiers for the input and output paths, respectively


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-17 22:45:04 +00:00
Jérôme Duval
f12491c7f9 added Headphones and SPDIF string constants
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-17 19:44:36 +00:00
Ryan Leavengood
c12ae03c86 Missing backslash, thanks to Joseph Prostko for pointing this out.
I'm not sure how this affects the build as I still got a valid image and only
saw the MIME error after Joseph pointed it out. In fact I am quite sure the SGI
MIME type was still in the build. I assume that only the broken sniffer rule
was missing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-17 15:54:17 +00:00
Ryan Leavengood
f76ca56d6c Bug #3045: Added MIME types for SGI and PPM images, which we have translators
for. This allows snippets from ShowImage made in these formats to be opened.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-17 05:09:07 +00:00
Rene Gollent
6cf3a9ebf7 The previous commit exposed another bug: BWindow::Zoom() incorrectly calculated the max height of the window by only including the border width once. This was previously masked by the fact that the (by default 5) extra pixels were included in its hardcoded default for the height of the tab. Also add the border width to the message returned by GetDecoratorSettings() so Zoom can use the actual value instead of hardcoding it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-17 04:15:51 +00:00
Rene Gollent
ca9a61313a Resolved a small todo thanks to r28664:
We now ask the app_server for the window tab's height instead of
hardcoding it.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-17 00:47:23 +00:00
Jérôme Duval
8c3da8dd2c added a mixer interface
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-16 23:41:14 +00:00
Stephan Aßmus
63d618eebc * Fixed wrong usage of Seek(). The return type is off_t, not status_t. It only
worked because (status_t)B_OK == (off_t)0.
* The translator_id version of Translate() does a (probably unnecessary?)
  Identify(), but then forgets to seek the source BPositionIO back to 0
  before calling translator's Translate(). This was the reason for none of
  the WonderBrush Translation Kit export formats to work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-16 22:52:22 +00:00
Stephan Aßmus
133c37e41e Embed "Haiku" instead of "OpenBeOS" in created images.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-16 22:42:47 +00:00
Stephan Aßmus
0147f45ad7 Simplified the code, style improvement (brackets for multi-line if/else).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-16 22:41:54 +00:00
Stephan Aßmus
4bae262f06 This should be the correct MIME type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-16 22:40:43 +00:00
Stephan Aßmus
783d616d08 Minor style fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-16 22:36:42 +00:00
Stephan Aßmus
fa6cd8ad6a * The previous change to reorder item->Update() and _RecalcItemTops() obviously
broke everything. If the added item has no chance to calculate it's height,
  _RecalcItemTops() won't work of course. Whatever this was supposed to fix,
  there has to be a correct way.
* Override BView::SetFont() to update all the items. I remember wanting to
  implement this, that's why I refactored a _FontChanged() method, but I
  obviousy never did...
* Moved the AttachedToWindow() and FrameMoved() implementations to a more
  logical position in the file.
* Implement B_PAGE_UP/DOWN key presses. Don't know if that's what the BeOS
  implementation did, will check later.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-16 22:34:11 +00:00
Stephan Aßmus
231cbd908e Actually restore the "dragger" settings. So the system remember your "Show
Replicants" setting after reboot.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-16 22:23:15 +00:00