56630 Commits

Author SHA1 Message Date
Dario Casalinuovo
f7d2fd0ba6 MediaPlugins: Make some plugins to use experimental headers. hrev50878 2017-01-17 00:44:20 +01:00
Dario Casalinuovo
7561d9ac5d Populate media/experimental with future media_kit classes
* Node implementations headers are move into src/kits/media.
hrev50877
2017-01-16 23:04:14 +01:00
Dario Casalinuovo
41acdd1d90 media_kit: Move some files and headers under docs/develop/media 2017-01-16 22:53:44 +01:00
Humdinger
edbb68258b Adding notification icons
I added 5 notification icons. They are flat icons that appear a bit bland at
larger sizes, but are nice when smaller like in the Deskbar or in lists.

Here's a PNG of them: https://lut.im/EtRvHPsMNC/T5wXFapUOkej68B9.png

Notify_Notice	- your normal info
Notify_Achtung	- slightly more interesting than a notice
Notify_Caution	- 1st level of escalation, "Odd..."
Notify_Warning	- 2nd level of escalation, "Something's not right at all..."
Notify_Danger	- 3rd level of escalation, "I smell smoke..."
hrev50876
2017-01-16 09:40:29 +01:00
Jessica Hamilton
9f4c8d3b74 desklink: set the status of fMuted in _ConnectMixer().
* This fixes the volume icon not showing as muted, despite
  media preflet saying otherwise.
hrev50875
2017-01-16 18:54:02 +00:00
Axel Dörfler
83b4b8937b bfs: Attribute creation now honors O_EXCL.
* This fixes ticket #8532.
hrev50874
2017-01-16 00:45:17 +01:00
Axel Dörfler
a2703be2fc bfs: Update old modified time if index is missing.
* This is required to avoid spurious last modified time change
  notifications on file systems without index.
* This closes ticket #9834.
2017-01-16 00:44:53 +01:00
Axel Dörfler
add77fd637 bfs: The disk clean/dirty flags were written with host endian.
* Not crucial, though, as this field is not actually used for anything.
2017-01-16 00:44:10 +01:00
Jessica Hamilton
79b9bd9f37 desklink: use media_server notifications instead of polling.
* This removes Pulse(), which would constantly reconnect to
  the mixer. With the previous changes to the
  DefaultMediaTheme, this also makes changes to the muted
  state instaneous when modified by some other app.
hrev50873
2017-01-16 12:28:49 +13:00
Jessica Hamilton
9c7d2b4668 DefaultMediaTheme: improve watching for parameter value changes.
* Addresses TODO of sub-classing controls, registering with the
  media roster for parameter changes.
* Also adds support for discrete parameter controls, which didn't
  have this functionality.
* With this change, the controls no longer need to be focused or
  modified for the parameter changes to register.
2017-01-16 12:28:49 +13:00
Jessica Hamilton
939b40d65c Media preflet: fix runtime warning about incorrect flag usage. 2017-01-16 12:28:48 +13:00
Dario Casalinuovo
fdfd8a502e General MediaClient cleanup
* Avoid setting fRunning in different places.
* Fix SimpleMediaOutput kind mismatch.
* Other minor fixes.
hrev50872
2017-01-15 19:28:14 +01:00
Dario Casalinuovo
550e05af20 MediaClient: Start/Stop force argument doesn't make sense 2017-01-15 19:28:14 +01:00
Dario Casalinuovo
728c730c45 MediaClientNode: Fix little night's mixup 2017-01-15 19:28:14 +01:00
Adrien Destugues
d63ed5844d People: revert window spacing changes
Revert changes from d0ac609964842f8cdb6d54b3c539c6c15293e172

The People window include a dark grey stripe, which must be next to the
window border with no spacing. The spacing was properly done inside the
main view.

Thanks to Diver for noticing the issue.
hrev50871
2017-01-15 14:59:54 +01:00
Dario Casalinuovo
2c9fa0f278 MediaClientNode: Schedule outgoing connections on start
* Add preliminary binding support.
hrev50870
2017-01-15 14:45:24 +01:00
Adrien Destugues
86e8c37605 usb_modeswitch: apply changes suggested by korli
Didn't notice them in the ticket comments.
hrev50869
2017-01-15 12:53:48 +01:00
Adrien Destugues
7118f1582e ScreenSaver: redraw background of "active corner" screen in more cases.
Fixes #10027
hrev50868
2017-01-15 12:48:09 +01:00
Murai Takashi
a1fdbe5bb2 usb_modeswitch.cpp: fix use after free.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #13185
2017-01-15 12:33:10 +01:00
Sean Healy
baf9ae1d47 Input_server: fix archiving of input method replicants
- Make sure the archive contains the replicant pop-up menu
- Make sure said menu is properly re-targetted when instanciating

Fixes #13138

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-01-15 12:31:13 +01:00
Brian Hill
856ecc7b19 Repository preferences: style fixes and use BUrl
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #13194
2017-01-15 12:11:05 +01:00
Adrien Destugues
fd7a786b06 qt5: update to 5.6, a package which can be installed. hrev50867 2017-01-14 17:10:19 +01:00
John Scipione
26d4164481 AbstractSpinner: Make TextView resizable
Fixes #13168
hrev50866
2017-01-12 14:16:43 -08:00
John Scipione
5973288e11 BSpinner: Fix copy-pasta bug, min=>min, max=>max
fMinValue was getting set to INT32_MAX then set to INT32_MIN
fMaxValue was not getting set

now set fMinValue to INT32_MIN, fMaxValue to INT32_MAX

also in _InitObject()
2017-01-12 14:16:42 -08:00
John Scipione
3705d40cd9 BSpinner: Set min value then max value
... reverse this to avoid confusion, you'll see why in next commit.

No functional change intended in this commit, functional change is in the
next commit.
2017-01-12 14:15:44 -08:00
Adrien Destugues
bdd02e0d9d BString: rename SetCharAt to SetByteAt
Makes it clear that it operates on bytes, not unicode codepoints.
Thanks to mmlr for remembering me of this subtlety.
hrev50865
2017-01-12 22:03:51 +01:00
Jérôme Duval
0c5219a1d6 Restore missing symbol _ZN7BStringixEi on x86 and x86_64.
* Vision and others were broken after 3eac8208dfcd6bd73a534303414784d3754de855.
* this adds BStringRef in the backward compatibility section.
* fixes #13199.
hrev50864
2017-01-12 21:23:50 +01:00
Jessica Hamilton
e3c6ca6589 gpt: add pointer to the GPT header for child partitions.
* This fixes odd behaviour in devices.cpp for the UEFI loader,
  which I had forgotten to commit at that time.
hrev50863
2017-01-13 00:53:12 +00:00
Automatic Committer
bcf11b8a24 Update pci.ids from pciids.sourceforge.net hrev50862 2017-01-12 05:20:15 +01:00
Adrien Destugues
7556ae845b Fix unit tests for BString API change. hrev50861 2017-01-11 21:54:31 +01:00
Adrien Destugues
3eac8208df Remove BStringRef and users.
As discussed in 2008
(http://www.freelists.org/post/haiku-development/BString-on-GCC4,1),
this class was not efficient because of lack of inlining. Implement the
suggested solution of a SetCharAt method instead. Also add a CompareAt
which covers a specific use case in KeyboardLayout.cpp.

Adjust all places which were using this feature to safer APIs.

Also fixes a copypaste error in FormattingConventions.cpp.
hrev50860
2017-01-11 20:50:41 +01:00
Jessica Hamilton
92b9c8649b MultibyteToWchar: correctly handle UTF-16 surrogate pairs.
* Whilst in WcharToMultibyte, we correctly convert our UTF-32
  wchar characters to multibyte, the same wasn't done in
  MultibyteToWchar. Now, if we detect a leading surrogate,
  we'll re-read the multibyte sequence with space for a UTF-16
  pair, which allows U16_GET to correctly convert the UTF-16
  byte sequence into the needed UTF-32 codepoint.

Fixes #13184.
hrev50859
2017-01-12 06:39:55 +13:00
Jessica Hamilton
d2423e4b3c ICUCtypeData.cpp: format string fixes for tracing. hrev50858 2017-01-12 03:33:11 +13:00
Jessica Hamilton
079ab7f0b1 ICU add-on: validate mbState->converter before attempting to close.
This resolves crashes in gawk with multibyte support.

Fixes #12515, #13103.
2017-01-12 03:33:04 +13:00
Kacper Kasper
4d83a710f5 makefile-engine: Fix catkey generation.
Fixes #13146.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
hrev50857
2017-01-10 17:21:39 -05:00
Murai Takashi
7cfdd9242c h2generic.cpp: fix use after free.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-01-10 17:17:41 -05:00
Dario Casalinuovo
e6004b7729 MediaClient: Move WIP min/max functions into BMediaConnection hrev50856 2017-01-10 22:54:53 +01:00
Dario Casalinuovo
e7aa210bca MediaClient: IsRunning() status is set at handle time 2017-01-10 22:44:16 +01:00
Dario Casalinuovo
3dbb4ff62d Fix SoundRecorder build hrev50855 2017-01-10 22:36:20 +01:00
Dario Casalinuovo
3ef4b20086 Make BMediaRecorder public
* Fills a functionality lack of the classic media_kit.
hrev50854
2017-01-10 21:34:20 +01:00
Humdinger
a325242d7f Fix CodyCam layout
Fixes #13174.

* Add the layout to a BView and add that to the BBox.
* Make the window correctly resize (horizontally only).
hrev50853
2017-01-10 16:22:13 +01:00
Humdinger
5e1e245be8 Updated NetPulse package hrev50852 2017-01-10 10:52:00 +01:00
Axel Dörfler
44c76b26e8 bfs: Made updating the boot block more secure.
* It now also checks the length/offset indepdently from each other,
  so that they cannot benefit from integer overflow.
* This fixes bug #12943.
hrev50851
2017-01-10 09:07:21 +01:00
John Scipione
d5b6133b93 App Server: style fixes
80 char limit
spaces => tabs
fix spelling/grammar problems in comment
hrev50850
2017-01-09 23:11:34 -08:00
John Scipione
b1967b1012 Revert "Deskbar: Scale cut-off leaf icon in horizontal mode"
This reverts commit 066137eb05fc965261d6e50f24e41b9dcf79a5a7.

Reverting while I figure out what is causing Deskbar to crash.
hrev50849
2017-01-09 02:32:56 -08:00
John Scipione
2154128845 Revert "Deskbar: Avoid leaking leaf bitmap's memory"
This reverts commit 223ea4329f3dd3282de0ba198d36a515a4b20265.
2017-01-09 02:31:38 -08:00
John Scipione
da6286856f Revert "Deskbar: Inital FetchIcon() in AttachedToWindow()"
This reverts commit 52e243a7d1c952fa3dff316cadf0b9fdde5f4c4c.
2017-01-09 02:31:32 -08:00
John Scipione
cce67d76ad Revert "Deskbar: Call parent AttachedToWindow() first"
This reverts commit bea76b8aa16061ddaa48ac90ac0a48663138ef2c.
2017-01-09 02:31:23 -08:00
Adrien Destugues
f36df2f6fc Update sdl_image and dfu_util to fix dependencies. hrev50848 2017-01-08 23:25:38 +01:00
Tsimblist
5f8edc9c51 Fix for ticket #12978 - Tracker GetInfo window layout problem
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
hrev50847
2017-01-08 23:20:57 +01:00