Commit Graph

56745 Commits

Author SHA1 Message Date
Dario Casalinuovo
0563e540b0 MediaClient: Remove operator overloding from private class 2017-01-20 20:52:35 +01:00
Jérôme Duval
534a537640 Sync x86_64 packages with Haikuports 2017Q1 branch. 2017-01-19 22:47:23 +01:00
Axel Dörfler
91cdfd96f8 bfs: Never publish the index root node.
* This caused the volume to be un-unmountable when you created an index
  on a non-indexed volume.
2017-01-19 22:14:28 +01:00
Axel Dörfler
9e71fa0e21 mkfs: Added an example to the help text. 2017-01-19 22:12:59 +01:00
Axel Dörfler
3af0b8555e bfs_shell: Fixed (missing) use of the FSSH_B_PRI* macros.
* This closes ticket #12657.
2017-01-19 22:09:16 +01:00
Axel Dörfler
f79179975d bfs: Query parser needs to filter out escape char.
* When escaping operator/quote characters, the character was properly
  ignored. However, the escape char was left in the string which
  altered the query.
* This fixes bug #10976.
2017-01-19 22:07:59 +01:00
Axel Dörfler
a2eb6bbda4 bfs: Minor cleanup.
* Added helper methods for operator/equation characters.
2017-01-19 22:02:27 +01:00
Axel Dörfler
e5022f23b3 Coding style cleanup, no functional change. 2017-01-19 21:57:28 +01:00
Dario Casalinuovo
991d9dbf6d MediaConnection: Implement auto release 2017-01-18 20:19:02 +01:00
Dario Casalinuovo
0844ddf4d9 MediaClient: Polish destructors
* Make Release() the only public way to destroy a connection.
2017-01-18 20:19:02 +01:00
Dario Casalinuovo
d64dd7beea MediaClient: Fix style for private methods and other cleanup
* Cleaned up some unneeded callbacks.
2017-01-18 20:19:02 +01:00
Humdinger
28966a1456 HaikuDepot: Change text view colour in rating window
Sets B_DOCUMENT_BACKGROUND_COLOR for the comment text view.
The former B_PANEL_BACKGROUND_COLOR made it look un-editable.
Unfortunately, I'm unable to set the text colour to
B_DOCUMENT_TEXT_COLOR; it still uses B_PANEL_TEXT_COLOR.
Currently those are both black by default.

There are still a few instances left before closing #11689.
2017-01-18 10:57:05 +01:00
Andrew Aldridge
f31b1a2faf Implement scrypt-based password hashing
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2017-01-17 23:09:04 +01:00
Humdinger
108c68dc82 Added vector version of window icons in Deskbar
99% acurate recreation of the icons used in the Deskbar for hidden and
visible windows. Only the yellow tab is now a gradient. Should be invisible
at the relative sizes used in Deskbar.
2017-01-17 18:32:22 +01:00
Andrew Aldridge
8b9c75d67f Fix copying special files in Tracker
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2017-01-17 17:31:45 +01:00
Dario Casalinuovo
f7d2fd0ba6 MediaPlugins: Make some plugins to use experimental headers. 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.
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..."
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.
2017-01-16 18:54:02 +00:00
Axel Dörfler
83b4b8937b bfs: Attribute creation now honors O_EXCL.
* This fixes ticket #8532.
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.
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.
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 d0ac609964

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.
2017-01-15 14:59:54 +01:00
Dario Casalinuovo
2c9fa0f278 MediaClientNode: Schedule outgoing connections on start
* Add preliminary binding support.
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.
2017-01-15 12:53:48 +01:00
Adrien Destugues
7118f1582e ScreenSaver: redraw background of "active corner" screen in more cases.
Fixes #10027
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. 2017-01-14 17:10:19 +01:00
John Scipione
26d4164481 AbstractSpinner: Make TextView resizable
Fixes #13168
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.
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 3eac8208df.
* this adds BStringRef in the backward compatibility section.
* fixes #13199.
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.
2017-01-13 00:53:12 +00:00
Automatic Committer
bcf11b8a24 Update pci.ids from pciids.sourceforge.net 2017-01-12 05:20:15 +01:00
Adrien Destugues
7556ae845b Fix unit tests for BString API change. 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.
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.
2017-01-12 06:39:55 +13:00
Jessica Hamilton
d2423e4b3c ICUCtypeData.cpp: format string fixes for tracing. 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>
2017-01-10 17:21:39 -05:00