Commit Graph

56655 Commits

Author SHA1 Message Date
Kacper Kasper
2332ebfd52 ControlLook: Add side parameter to tab drawing functions.
* This allows drawing tabs on any side of the view.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-01-22 09:36:38 +01:00
Kacper Kasper
88510bc040 ControlLook: Fix drawing of right bottom tab corner.`
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-01-22 09:36:33 +01:00
Gabriel Maia
b285b436e7 Screenshot: better error handling on save
Show error messages when saving fails, to enmake sure the user is not
confused by thinking the file saved when the window doesn't close.

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

Fixes #12945
2017-01-22 09:29:18 +01:00
Andrew Aldridge
a735975461 Sync atheros813x with FreeBSD
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #12328.
Fixed a style error (2 lines between functions).
2017-01-22 09:20:01 +01:00
Andrew Lindesay
b6c8f81bf8 build: add support for build paths for 'homebrew' package system on macOS 2017-01-22 20:50:02 +13:00
Axel Dörfler
3ef97f9a63 hmulti_audio.media_addon: Removed superfluous semaphore.
* The semaphore wasn't really needed to do what it did; using
  atomic_{get|set}() as suggested by jua is much faster, anyway.
* Thanks to Dario for the initial work on this.
2017-01-21 20:45:51 +01:00
Axel Dörfler
b9f09f030e Coding style cleanup. 2017-01-21 20:45:44 +01:00
Humdinger
785b8d68b3 Change of window title in print dialog
Missed that one with hrev50827 and hrev50825 recently.
Hope that's all...
2017-01-21 19:27:50 +01:00
Dario Casalinuovo
a8e8f7ba43 Revert "MultiAudioNode: Fix and polish output locking issues"
This reverts commit 19da5e15c3.
2017-01-20 22:23:55 +01:00
Dario Casalinuovo
19da5e15c3 MultiAudioNode: Fix and polish output locking issues
* For people involved please review, too much confusion seems
to have been done in past.
* The fBufferFreeSem is removed as it didn't make sense. It was
used to detected when the output thread should be stopped, a
boolean flag is used instead.
* Avoid to allocate a BAutolocker at begin of the _OutputThread,
plain Lock/Unlock is used instead.
* The fBufferLock is now locked when a buffer is handled.
2017-01-20 20:52:35 +01:00
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