Commit Graph

55225 Commits

Author SHA1 Message Date
Dario Casalinuovo
7b83e044e7 SoundRecorder: Fix connection and disconnection from Cortex
* SoundRecorder can now be connected and disconnected safely,
due to some unknown reason, probably format negotiation problems,
ATM we need a system mixer between.
* The normal behavior is unchanged, when the record button is pressed
it will record from the preferred audio interface and disconnect on
stop. But when the connection is made manually it will stay connected
until the user explictly disconnect it.
* To make it work, instantiate a system mixer, connect the output to
SoundRecorder, instantiate a node like the ToneProducer, and connect
it's output to the mixer input. Press the record button and check
the Mixer has started from the Cortex transport, if not, start it.
2016-02-09 13:33:38 +01:00
Dario Casalinuovo
2a2e352a4a BMediaRecorder: Rework to allow external connections
* This required to review various parts of the code, and
isn't probably still perfect. The main problem was an attributes
hell where redondance created a lot of problems, all this data
is now controlled mostly by the node.
* Header indentation changes needed too.
2016-02-09 13:33:09 +01:00
Dario Casalinuovo
801b3e3bf4 MediaEventLooper: Add more safeness on exit
* The WaitForMessage is moved at the end of the loop, and
the check for quitting the loop is moved as it's condition,
this makes us to be sure that once a Quit() request is performed
we will not handle events anymore.
* Other minor style and initialization fixes.
2016-02-07 23:16:24 +01:00
Dario Casalinuovo
730d0700f5 MultiAudioNode: Remove custom lateness code 2016-02-07 23:16:24 +01:00
Rudolf Cornelissen
2e3e1a5902 VIA gfx driver: fixed overlay on DDR166 and DDR200 memory. v0.19, updated docs. 2016-02-07 22:46:49 +01:00
autonielx
cfdffb0c14 Update translations from Pootle 2016-02-06 06:35:19 +01:00
Dario Casalinuovo
e2cf46ca0c TimedEventQueue: Fix style as suggested by axel 2016-02-03 18:41:50 +01:00
Dario Casalinuovo
138a802617 BMediaEventLooper: Use enqueue_time in a different shape
* This is the only solution that allowed to use the best
of both ways to do this calculus. I've also tested it
with a modified sound player that snoozed every time
the buffer should be handled, and found that neither
of the lateness calculus I tested (including enqueue_time)
really solve all problems. That's why I've tried to find
an average solution. There's still room for improvements
eventually.
2016-02-03 13:25:13 +01:00
Dario Casalinuovo
bb1f15aade BMediaEventLooper: Better solution for negative timestamp
* This problem happens only at the startup, so that it's
preferred that we deal with it in the BMediaEventLooper side.
* This solve some audio stability problems I had with slow systems.
2016-02-03 13:25:13 +01:00
Dario Casalinuovo
ffeb987dc4 BMediaEventLooper: Make lateness calculus in real time
* After having this patch applied locally for some time,
I'm going to be sure that we have to deal only with real_time values.
* Since RealTime() is just a system_time() wrapper, the code
will be slightly improved in performances too.
* Additionally it performs very well when the thread is
externally stopped (such as debugging it), so that the audio
recover almost immediately.
2016-02-03 13:25:13 +01:00
Alexander von Gluck IV
4e7b05cca2 platform/bios_ia32: Fix regression introduced in hrev48326
* Reverts f3e381dd
* Details in #12633
* For some unknown reason, this change breaks an Intel Core 2
  system from booting (Dell Optiplex 960, E8400)
* If anyone has any ideas on why, let me know :-)
2016-02-02 18:48:19 -06:00
Humdinger
66f815e0ba The yab package with a correct revision...
bbjimmy informed me the correct revision is "1" as otherwise it
would collide with the same package hosted on FatElk...
Thanks!
2016-02-01 19:23:30 +01:00
Humdinger
f77b8f376e yab and yab_ide needed a rebuild. 2016-02-01 18:08:40 +01:00
Humdinger
fb9a8324cf Updated youtube_dl and gutenprint packages 2016-01-31 14:37:57 +01:00
Humdinger
104f3b598c Changes some of the extra attributes of the PDF MIME type.
As discussed on the mailing list [1], I changed the name of some of the
more universally useful extra attibutes from "PDF:*" to "META:*", according
to their "Relation to Dublin Code" [2].
There are now:

	"attr:name" = "META:subject",
	"attr:name" = "META:title"		[already in use by Bookmarks],
	"attr:name" = "META:creator",
	"attr:name" = "META:author",
	"attr:name" = "META:keyw"		[already in use by Bookmarks],
	"attr:name" = "META:pages",

[1] http://www.freelists.org/post/haiku-development/Adding-more-METAattributes
[2] http://www.freedesktop.org/wiki/CommonExtendedAttributes/#relationtodublincore
2016-01-31 10:58:03 +01:00
autonielx
f67a641192 Update translations from Pootle 2016-01-30 06:33:47 +01:00
Dario Casalinuovo
f1059fbd7f BSoundPlayer: Release the node instead to delete
* It's a bad idea to delete directly a node. There are some
mechanisms behind that might break if not used correctly.
* May help with #12606.
2016-01-28 23:33:33 +01:00
Axel Dörfler
3d2853b218 app_server: Update overlay hooks after mode change.
* They are supposed to be depending on the current mode.
* This should help with #12613.
2016-01-28 19:51:23 +01:00
Humdinger
82fbf1b3b6 Add the attributes BePDF creates to the PDF MIME type
Providing these attributes by default makes sense. Other applications
are more likely to use those as well instead of creating their own.
2016-01-28 17:13:19 +01:00
Rudolf Cornelissen
d6d5874afe VIA gfx driver: bumped version to 0.18, updated docs. 2016-01-28 11:09:48 +01:00
Rudolf Cornelissen
656b3130c3 VIA gfx driver: K8M800 overlay engine is now up and running OK :-) 2016-01-28 10:34:56 +01:00
Rudolf Cornelissen
193416abaf VIA driver: block overlay hooks if mode not supported! 2016-01-28 10:04:43 +01:00
Automatic Committer
ebec82dfe6 Update pci.ids from pciids.sourceforge.net 2016-01-28 05:20:23 +01:00
Kostadin Damyanov
00bb5b5957 unitests: fix the symlink to the resources directory
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-01-27 19:44:03 -05:00
looncraz
3e08f21606 MenuField Low Color (for frame)
BMenuField's frame is drawn from the LowColor() which is adopted from its
parent.  However, we should be adopting the parent's view color for our low
color, otherwise we sometimes end up with a miscolored border (most often white).

This was not noticed earlier as most views have matching view and low colors.

Fixes ticket #12603

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-01-27 19:43:11 -05:00
looncraz
220f79d835 Deskbar TimeView Text Render Fix
Erroneous use of SetLowUIColor(ViewUIColor()) when the old API was more
appropriate resulted in the tint value being ignored which resulted in some
text rendering issues with certain color combinations and LCD subpixel aliasing.

Fixes ticket# 12596

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-01-27 19:42:13 -05:00
Pete Goodeve
7beac31fbc addattr: Fix some deficiencies.
The addattr didn't quite match its help text, wrt the kinds of values one can
use for type codes. Aside from the list of named types (which isn't actually
quite complete compared to the choices in the source) the help said one can
enter "numeric values", and gives both hex and decimal examples.

However, trying a hex value didn't work -- only decimal numbers were accepted.
This turned out to be because the sscanf format option is "%u" (actually
B_SCNu32) which only handles decimal. It has to be B_SCNi32 (which means it
would be allowed to enter a negative value -- just not very sensible...) The
other example entry given is " 'ABCD' ", which apparently is meant to indicate
that one can enter 'FourCC' direct type-code representations, but of course
that wouldn't work as shown because the shell strips off the quotes. Escaping
the quotes -- \'ABCD\' -- or adding a second layer -- "'ABCD'" -- does work
but is not obvious. (I can't think of any other command line that requires
such a convention.)

I have added another option: "-c ABCD". The current way can
still work, but the new option should be fairly evident to anyone.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Fixes #12562.
2016-01-27 19:38:09 -05:00
Augustin Cavalier
a83b9383fa Zlib license: Make it generic like the other licenses.
Fixes #12619.
2016-01-27 19:25:10 -05:00
Axel Dörfler
de4b1dede1 BMailProtocol: Removed delete/append methods.
* The mail system is file based which makes these methods pretty much
  superfluous.
2016-01-26 16:01:03 +01:00
Humdinger
522150d01a Updated DocumentViewer package
Needed a recompile after app_server changes.
2016-01-25 17:36:14 +01:00
Adrien Destugues
f9fe8e12c3 Style fixes as suggested by Axel. 2016-01-24 17:04:06 +01:00
Adrien Destugues
be1537b41a BBox: tolerate non-layouted child in layouted mode
While mixing layouted and non-layouted views is not supported, we are
doing it in some cases, including translator preferences (which uses
layout, but the views may come from a translator add-on which doesn't).

So, try to handle that case and at least avoid crashes by calling
MinSize/MaxSize and other unsupported layout code on views which won't
handle it.

Fixes #12610.
2016-01-24 13:42:11 +01:00
looncraz
37f9a29216 Improve Default BButton Appearance
Change control border color to 172, 172, 172 and use for default button
indicator drawing.

People doing an in-place upgrade will need to modify the border color from
its previous default manually or by pressing "Default" in the Appearance
preflet.  This is a one-time annoyance.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes: #12589
2016-01-24 11:22:52 +01:00
Adrien Destugues
efc430eaf3 Remove unused code. 2016-01-24 11:22:52 +01:00
Rudolf Cornelissen
0fa7d5c4df VIA gfx driver: overlay engine on K8M800 responds now, wip. 2016-01-23 23:46:22 +01:00
Hannah
8376bc1bc1 screeninfo:also print all supported bitmap overlay colorspaces 2016-01-23 22:33:01 +01:00
Humdinger
bd0b62b178 Rebuilt psqlODBC package.
Rebuilt to make it installable again with regard to the libssl
dependency.
2016-01-23 17:09:56 +01:00
autonielx
2bc48401b4 Update translations from Pootle 2016-01-23 06:37:35 +01:00
Dario Casalinuovo
9b8f9f7a2e Revert "SystemTimeSource: Exit loop when the port is closed"
This reverts commit c21a2c7fed.
2016-01-21 16:21:44 +01:00
Automatic Committer
3565a24b44 Update pci.ids from pciids.sourceforge.net 2016-01-21 05:20:24 +01:00
Augustin Cavalier
6352a1b8c3 Add the 'mail' tool to the build. 2016-01-20 13:28:46 -05:00
Augustin Cavalier
83082f2e9c mail_utils/mail: Reformat & fix a few error handling problems. 2016-01-20 13:28:46 -05:00
Augustin Cavalier
2037db1489 bin/mail: move to 'mail_utils' subdir. 2016-01-20 13:28:46 -05:00
Humdinger
1a352e46cc Updated Clipdinger to v0.5.2
Bug fix: The Auto-paste setting was ignored on startup.
2016-01-20 19:31:51 +01:00
Dario Casalinuovo
c21a2c7fed SystemTimeSource: Exit loop when the port is closed 2016-01-20 01:14:42 +01:00
Dario Casalinuovo
08a65695bb AudioMixer: Replace debug_printf with TRACE 2016-01-19 22:43:25 +01:00
Dario Casalinuovo
1fe3cb8742 AudioMixer: Notify the producer basing on latency variation
* Since the producer may take an undefined amount of buffers to
process the latency increase, possibly depending on it's queue,
the consumer will notify only the difference between the old latency
and the new. While not solving completely, this improves the situation
under virtual box (and slow systems) making the sound more stable.
2016-01-19 22:43:25 +01:00
Fredrik Holmqvist
b64e8511cd Update ACPICA to 20160108, removed common.
Changelog: https://acpica.org/sites/acpica/files/changes_29.txt

 * This is based on the upgrade waddlesplash aborted due to a bug
in ACPICA which has since been fixed.
 * Some ACPICA code is excluded until needed. (You may want to
   compare our acpica dir to ACPICA if you are missing functions.)
2016-01-17 21:55:44 +01:00
Kostadin Damyanov
bb0ca427df unittests: link libcppunit.so to the unittests directory
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #12595.
2016-01-17 09:29:37 +01:00
looncraz
9909ce416d BSlider - Don't Use Control Mark Color
This returns BSlider to its original appearance.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #12578.
2016-01-17 09:27:34 +01:00