Commit Graph

57227 Commits

Author SHA1 Message Date
Kacper Kasper
c7fabe22b4 ControlLook: Fix redraw issues introduced in hrev50893.
* I was pretty sure that I didn't change the logic, but turns out
  I was wrong. Sorry about that.
* Adjusted copy-pasted comments.

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

Fixes #13238.
2017-01-29 21:48:40 +01:00
Rene Gollent
99dde24c86 HaikuDepot: Fix gcc5 build. 2017-01-28 22:32:12 -05:00
Dario Casalinuovo
3190c83b33 media_addon_server: Don't set the gain at each start
* Fixes the forgotten gain setting issue for startup
sounds.
2017-01-29 00:38:34 +01:00
Augustin Cavalier
92b020b5ea docs/user: Update infobox CSS to match the new colors. 2017-01-28 13:33:19 -05:00
Augustin Cavalier
44460faf4d docs/user: Make string literals in code blocks gray.
Class and function reference links are also blue, so this distinguishes
them from each other.
2017-01-28 13:26:20 -05:00
Augustin Cavalier
9dc2625de0 docs/user: Remove duplicate "ingroup interface" from layout docs.
Since the "Layout" group is a member of the "Interface" group,
Doxygen automatically adds the "Interface" group to all pages
in the "Layout" group, meaning that having an explicit "ingroup Interface"
created duplicate group tags.
2017-01-28 13:22:53 -05:00
Augustin Cavalier
3d7aa45e7a docs/user: Fix duplicate and erroneous BTabView class definition. 2017-01-28 13:19:14 -05:00
Augustin Cavalier
bd7dc5223f docs/user: Make more code blocks and the like appear in monospace fonts. 2017-01-28 13:17:41 -05:00
Augustin Cavalier
38e1208a75 docs/user: Add $projectname to the page title.
Doxygen used to add this to $title itself, but now it doesn't, so we
have to change our template.
2017-01-28 13:02:44 -05:00
Axel Dörfler
0ed0f5cb35 bfs: Handle type 'TIME' as int32 in queries.
* This fixes ticket #6734.
2017-01-27 20:03:26 +01:00
Andrew Lindesay
19c15fec85 HaikuDepot: Improve icon download handling performance
Previously each icon would launch an independent HTTP request to
pull down the HVIF icon data.  This change means that the data
will be pulled down in bulk across all packages as a .tgz and
will then be kept in a cache locally.  The client-server logic
will use standard "If-Modified-Since" headers to check for
updates each time the HaikuDepot desktop application starts up.
This arrangement will bring down the HVIF as well as bitmap
icons and use the best representation it can.

Additionally, it is possible from a command-line option to log
HTTP traffic verbosely and it is also possible to use an "-h"
flag to display help on command-line arguments.

The code-structure around this change also anticipates some
future extensions to handle other client-server improvements.

Fixes #11804
2017-01-27 21:14:13 +13:00
Humdinger
7c8d207203 Install fix for Sequitur
Needed a rebuild because of libpng16.
2017-01-26 17:49:10 +01:00
Automatic Committer
3d4e19680b Update pci.ids from pciids.sourceforge.net 2017-01-26 05:20:15 +01:00
Augustin Cavalier
8d38dd18f1 docs/user: Updates for Doxygen 1.8.
Surprisingly, after disabling the new Markdown support in the Doxyfile,
everything else pretty much worked out of the box. Only a number of CSS
changes were needed to adapt.

I wonder why nobody ever did this back in 2012 when 1.8 first came out...
2017-01-25 21:45:42 -05:00
Dario Casalinuovo
11ed4f9fa1 MediaRoster: Don't call NodeRegistered before FinishCreate
* A TimeSource need an additional hook called FinishCreate to be
able to create it's transfer area. This hook was called after the
node registration making room for potential mismatch of the transfer
buffer. Most media nodes such as an event looper call
begin to work with time related functions just once the registration
happens. It could cause shadowed timesource objects initialization
to fail too.
* Add a debugger call to prevent any node to use an unitialized
TimeSource area, that would help to identify any remaining issue.
2017-01-25 19:23:59 +01:00
Humdinger
0d47491d66 Added Brian Hill to the contributers. 2017-01-24 20:05:30 +01:00
Humdinger
9838bc644b Updated Einsteinium to v1.3.2 for x86_gcc2 2017-01-24 17:59:12 +01:00
Jérôme Duval
cdf894ce17 makefile-engine: use $(CC) and $(CXX) instead of gcc and g++.
* so that one can build with clang.
2017-01-24 17:30:36 +01:00
Humdinger
970591cb2d Change of window title in print dialog
Another change from "Page setup" to "Paper setup".
Will I (or Vidrep) find another occurance? We'll find out...
2017-01-23 19:31:26 +01:00
Augustin Cavalier
b01e48c6fb Tracker: Warn if there is < 5% of free space left on the drive.
Previously it would warn only below 20MB of free space, if this was
less than 10% of the drive's capacity. This is obviously ridiculous now.
The first suggested patch used a simple 10% as the new criteria, but that's
a little high -- 100GB out of a 1TB drive is still a bunch of space left.
5% seems like a more appropriate choice here, and preserves a behavior
closer to the original 20MB on smaller (older) drives (5% of 500MB = 25MB.)

If this turns out to be too annoying for some users, we can make the check
more refined than it is now, but I don't think that will be necessary.

Fixes #4520.
2017-01-22 15:24:26 -05:00
Gabriel Maia
80873d1bc5 Tracker: always shrink the text input when renaming
When renaming an entry at the edge of a PoseView, the input
would not resize as usual. This change ensures the input
becomes resizable again if the text becomes small enough.
Fixes #3438.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-01-22 14:45:13 -05:00
Rene Gollent
4e9f7b8efa x86: Update Pe package due to BString ABI changes. 2017-01-22 14:22:37 -05:00
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