Commit Graph

46816 Commits

Author SHA1 Message Date
looncraz
5bc6713473 DiskProbe DataView Color
Previously the DataView relied on the default colors, which layout now
overrides more uniformly.  The document colors are more appropriate.

After the addition of the layout changes, the DataView would adopt
system panel colors.

Fixes #12572.

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2016-01-10 18:50:59 +13:00
Jessica Hamilton
5d7e699ade package_daemon: fix regressions from Set*UIColor merge.
Also use Set*UIColor where appropriate.
2016-01-10 17:51:43 +13:00
Jessica Hamilton
ed749c6221 BView::AdoptViewColors: handle not yet attached to a Window.
As per API documentation, a BView caches the configured view
colours when not yet attached to the app_server via its
window. So check if we're attached to a window, and if we are,
then and only then do we attempt to lock/unlock our looper.

This fixes uses of AdoptViewColors and AdoptParentColors when
the view isn't yet attached to a window.
2016-01-10 17:51:43 +13:00
François Revol
1150f8cbd4 screeninfo: fix warning 2016-01-10 00:18:59 +01:00
François Revol
0e15d112ea screeninfo: iterate using BScreen::SetToNext()
Note it leaves the current object valid on error, so you can't use
IsValid() as the for loop test.
2016-01-10 00:18:59 +01:00
looncraz
054c81664a MediaPlayer PositionToolTip Color
Previously the layout would crush the default colors of BStringView preventing
BStringView from calling AdoptParentColors() on its own, so we must call it
manually.

In addition, the default tooltip view should fully adopt tooltip colors so
that any colors will default to the desired foreground color (which is the
same as the tooltip text color).

Fixes #12573.

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2016-01-10 11:39:35 +13:00
Viktor Muntzing
fd5d0900da index_server: Fix obvious memory leak in CLuceneDataBase
Signed-off-by: Alexander von Gluck IV <kallisti5@unixzen.com>
2016-01-08 16:26:44 -06:00
Axel Dörfler
59b0036e71 Printers: Workaround for broken print server connection.
* The actual problem is that the launch_daemon does not notice the
  manual launch of system services (because of the missing registrar
  that provides that service).
* So not checking if the print server is running actually solves the
  issue; otherwise the launch_daemon starts its own server, that will
  then get shut down, as there already is a print server (the one
  launched by the Printers preferences).
* Closes ticket #12531.
2016-01-08 21:40:19 +01:00
Humdinger
2a390953d3 Fixing WonderBrush MIME type.
...and the build. Sorry about that.
2016-01-08 17:16:44 +01:00
Humdinger
316ac9de9f Added MIME tpe for WonderBrush images
The MIME type that's created by WonderBrush contains an out-of-date
sniffer rule. Archived BMessages used to start with '1BOF', now it's
'HMF1'. That's why newer WonderBrush images aren't identified as such.

The new sniffer rule should detect both old and new files.
2016-01-08 16:46:46 +01:00
François Revol
5692356be2 usb_disk: add the Zip icon
not used yet, my USB Zip drive seems to have gone to the mechanical valhalla.
2016-01-07 21:38:19 +01:00
François Revol
dc422da1a5 WindowShade: fix build 2016-01-07 21:10:50 +01:00
Markus Himmel
ecec5d0e7c MediaPlayer: Playlist window visual fixes
Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
2016-01-07 20:33:20 +01:00
Markus Himmel
b5387eff2b MediaPlayer: Show individual track length in playlist window
Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
2016-01-07 20:33:19 +01:00
Automatic Committer
8c63feccbb Update pci.ids from pciids.sourceforge.net 2016-01-07 05:20:25 +01:00
looncraz
c9bd4d84b9 Interface Kit: Correct button colors.
What appeared to be multiple issues was just one issue: BButton was drawing the
control background color for its border, whereas the previous system drew the
control low color, which was the parent's view color.

Neither is correct, no border should be drawn at all.

This made it appear that the default button was larger than it was and also
made it appear that some apps had a "white" border around the buttons.

In addition, BButton can now use the default BControl color behavior and
BButton exclusively adopt either parental or system colors without worrying
about the case in which another view has set the button's view color manually.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-01-06 16:55:14 -05:00
Dario Casalinuovo
8487f27d5b PlaylistWindow: Add missing NULL check 2016-01-07 02:59:48 +01:00
François Revol
5dc097412d dragger: use EXIT_SUCCESS/EXIT_FAILURE macros for clarity 2016-01-07 02:13:41 +01:00
François Revol
82af81ac2e draggers: fix header 2016-01-07 02:13:41 +01:00
François Revol
be1b88453c draggers: print usage on unknown arguments
also handle on/off as arguments.
2016-01-07 02:13:41 +01:00
Dario Casalinuovo
ec02769a58 media_server: Replace ping/pong with notifications 2016-01-06 22:40:28 +01:00
Augustin Cavalier
1d11475790 BAboutWindow: Put the AboutView and StripeView into BPrivate.
To avoid name clashes. Possibly fixes the HaikuDepot crashes.
2016-01-06 15:08:34 -05:00
looncraz
cef0a7b262 Deskbar: Correct StatusView colors following Set*UIColor merge.
Previous colors matched the menu background color, but should have been
darkened.

The tint value was not being updated for the SetViewUIColor call construction,
therefore the tint parameter was still B_NO_TINT.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-01-06 14:55:46 -05:00
looncraz
678f8a7b5d Tracker: Fix column title colors following Set*UIColor merge.
Repair regression where low color for text drawing was not set properly.
Do not use tinted color for default color state.

Prior to this, the hinting font would not respond to being pressed and the
column title background was the wrong color initially, but correct after
resizing (but then wrong again after a redraw on exposure).

In addition, the initial tint values used for the view color were unused,
so I removed them.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-01-06 14:54:33 -05:00
Dario Casalinuovo
135a195875 InterfaceAddress: The real fix. 2016-01-06 14:35:12 +01:00
Dario Casalinuovo
ab1adabf14 Revert "Follow-up fix for #12152 from axeld suggestions"
This reverts commit 6f5971cf52.

* Sorry there was a misunderstanding in the Ticket and IRC.
2016-01-06 14:35:12 +01:00
Dario Casalinuovo
6f5971cf52 Follow-up fix for #12152 from axeld suggestions 2016-01-06 13:17:40 +01:00
Phil Costin
466081d08a When realloc(address, size) returns NULL, address must be freed manually.
Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
2016-01-06 13:17:40 +01:00
Markus Himmel
1c68b67a36 MediaPlayer: Show total playlist length
Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
2016-01-06 13:17:40 +01:00
Markus Himmel
beddc8eefa MediaPlayer: Add missing null check
Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
2016-01-06 13:17:39 +01:00
Rudolf Cornelissen
b0c69e8490 nVidia driver: added option to block EDID resolution restrictions (check_edid) 2016-01-05 23:49:00 +01:00
Rudolf Cornelissen
32276e7762 via driver: fixed kerneldriver crashing system because of failing area mapping 2016-01-05 21:21:55 +01:00
Axel Dörfler
8180539313 IMAP: setting flags, and body fetching works now.
* The direct methods in BMailProtocol now forward the request to the
  looper; it's no longer the mail_daemon's responsibility to know
  anything about that protocol.
* It's in desperate need of refactoring, but it doesn't hurt to add
  it to the repository as is.
2016-01-05 20:12:26 +01:00
Augustin Cavalier
3592932936 BApplication: Remove added PrintToStream().
Another missed debugging snippet from the merge.
2016-01-04 18:52:41 -05:00
RudolfC
063436816d nVidia driver: Added basic dualhead support for native Haiku ScreenPrefs app 2016-01-04 22:17:48 +00:00
Augustin Cavalier
153b2eeace APRWindow: Delete another missed <stdio.h> include. 2016-01-04 13:56:51 -05:00
Augustin Cavalier
36cbd68b37 Various Jamfiles: Remove added "UsePrivateHeaders interface".
Added by looncraz in previous commits, and not needed.
2016-01-04 13:45:44 -05:00
looncraz
2567fac21d app_server: Fix for LinkReciever.
LinkReceiver would spin endlessly when given a timeout value which prevented
DelayedMessageSender from being operational.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patch 0002 from looncraz, unmodified.
2016-01-04 13:37:33 -05:00
looncraz
16c1051785 Deskbar: Convert to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0076 from looncraz, unmodified.
2016-01-04 13:35:12 -05:00
Augustin Cavalier
e8a15cb354 Mail preferences: Delete added code to resize the window.
Breaks the build, and shouldn't be needed anyway.
2016-01-04 13:32:22 -05:00
Augustin Cavalier
673b9591b2 app_server: Remove include looncraz forgot to remove. 2016-01-04 12:42:59 -05:00
looncraz
fa19dd4470 apps: Convert to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0045-0075, 0077-0087 from looncraz, unmodified.
2016-01-04 07:33:09 -05:00
looncraz
f696e88a2c Convert various more things to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0038, 0040, 0042-0044 from looncraz, unmodified.
2016-01-04 07:29:14 -05:00
looncraz
f56d45ced4 BToolBar: Convert to using Set*UIColor.
This was a bigger change than many others as BButton now defaults to using
control background colors, and we can not do that here without the buttons
not appearing as we desire (blending in with the toolbar).

Using the control background color for the toolbar would be unacceptable.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patch 0041 from looncraz, unmodified.
2016-01-04 07:27:25 -05:00
looncraz
c5b4dc4007 Tracker: Use Set*UIColor, improved font awareness.
InfoWindow now uses the font size to determine the window size and
placement of elements. Also uses system colors, including link
colors. Permissions view not font sensitive yet.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patch 0039 from looncraz, unmodified.
2016-01-04 07:24:41 -05:00
looncraz
f0650dc98f preferences: Convert to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0023-0037 from looncraz, unmodified.
2016-01-04 07:21:14 -05:00
looncraz
1a8c00c14b servers: Convert to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0020-0022 from looncraz, unmodified.
2016-01-04 07:18:48 -05:00
looncraz
d231c2a7a5 tests: Convert to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0018-0019 from looncraz.
2016-01-04 07:15:57 -05:00
Augustin Cavalier
d8ca833a35 SliderTest: dos2unix. 2016-01-04 07:10:54 -05:00
Augustin Cavalier
3199cff322 kits/interface: Convert the new BCardView over as well. 2016-01-04 07:08:24 -05:00
Augustin Cavalier
a4f254fa49 Remove printf() definition added in previous commit. 2016-01-04 07:06:55 -05:00
looncraz
7a96554cb3 kits/interface: Convert to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0003-0017 from looncraz, unmodified.
2016-01-04 07:04:45 -05:00
looncraz
7f9368cae5 Set*UIColor, etc.
The inseparable changes necessary to support live color updating across the
system in a sane, safe, and performant manner.

BView gains:

HasSystemColors()
HasDefaultColors()
AdoptSystemColors()
AdoptParentColors()
AdoptViewColor(BView*)
SetViewUIColor(color_which, float tint)
SetHighUIColor(...
SetLowUIColor(...
ViewUIColor(float* tint)
HighUIColor(...
LowUIColor(...
DelayedInvalidate()

BWindow gains a simple helper method:
IsOffscreenWindow()

BMessage gains:

AddColor()
FindColor()
GetColor()
HasColor()            * allegedly this API is deprecated, but I implemented it anyway
ReplaceColor()
SetColor()

Previous private ColorTools methods are made public and moved into GraphicsDefs:

mix_color, blend_color, disable_color

These are fully compatible with BeOS dan0 R5.1 methods and are just code cleanup
of BeOS example code under the OpenTracker license.

In addition, four new colors are created:
B_LINK_TEXT_COLOR
B_LINK_HOVER_COLOR
B_LINK_ACTIVE_COLOR
B_LINK_VISITED_COLOR

These changes are documented in their proper user documentation files.

In addition, due to a history rewrite, B_FOLLOW_LEFT_TOP has been defined and
used in lieu of B_FOLLOW_TOP | B_FOLLOW_LEFT and is included in this commit.

On the app_server side, the following has changed:

Add DelayedMessage - a system by which messages can be sent at a scheduled time,
and can also be merged according to set rules.  A single thread is used to service the
message queue and multiple recipients can be set for each message.
Desktop gains the ability to add message ports to a DelayedMessage so that
said messages can target either all applications or all windows, as needed.

Desktop maintains a BMessage which is used to queue up all pending color changes
and the delayed messaging system is used to enact these changes after a short
period of time has passed.  This prevents abuse and allows the system to merge
repeated set_ui_color events into one event for client applications, improving
performance drastically.

In addition, B_COLORS_UPDATED is sent to the BApplication, which forwards the message
to each BWindow.  This is done to improve performance over having the app_server
independently informing each window.

Decorator changes are live now, which required some reworking.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2016-01-04 06:48:22 -05:00
DarkmatterVale
e1474dd440 BSnow: Remove from tree.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
It now lives at HaikuArchives.
2016-01-03 08:33:25 -05:00
Julian Harnath
85e034e479 app_server: lock previous alpha mask when generating mask
* Also, regenerate masks from bottom to top to make sure all
  of the lower mask is generated before masks higher in the
  stack are rendered.
2016-01-03 16:42:48 +01:00
Julian Harnath
e532264bcb app_server: attach correct rendering buffer to cloned mask
* When cloning a cached mask, we have to attach the
  AGG rendering buffer of the new instance to the AGG clipped
  mask object. Before, it was using the buffer description from
  the clone source.. which can later disappear at any time.

* Fixes bug #12478
2016-01-03 16:42:40 +01:00
Dario Casalinuovo
6f5c753d12 MediaPlayer: Show tip with current time when seeking.
* Rework of the patch from dburkart, Thanks!
* Fixes #8567.
2016-01-02 19:26:33 +01:00
Augustin Cavalier
4dfbf1d04c network/stack: #if 0 out ppp_frame datalink protocol.
Forgot to do this in previous push.
2016-01-02 12:28:00 -05:00
mshlyn
e3724c38cb PPP: Port to the new stack.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>

This is a squash of the 42 commits by @mshlyn, as I couldn't find a
way to break them into logical chunks. I did not include these in the build,
as it appears that they only partially work anyway, and much more cleanup is
still needed. However, this is a huge improvement on what was in the tree
before, which looked horrendous and didn't even compile (as it was designed
for the old stack).

Mostly fixes #812.
2016-01-02 07:22:13 -05:00
DarkmatterVale
6511a06111 Add help option to RemoteDesktop 2016-01-01 21:03:33 +01:00
DarkmatterVale
8de8a927ee Fix white screen of death in remotedesktop
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2016-01-01 21:03:30 +01:00
Augustin Cavalier
599289f2f3 ACPI: Revert the upgrade.
I don't have any hardware that reproduces the KDLs, and the developers
that do don't seem to have time to test / debug it, so I'm just reverting.
2016-01-01 07:51:56 -05:00
Augustin Cavalier
3c85734188 BTextView: Don't crash if the file supplied is zero-length.
Fixes #12551.
2015-12-31 20:54:27 -05:00
Augustin Cavalier
aa89e2de03 ACPI: Use AcpiGbl_OverrideDefaultRegionHandlers and do the init ourselves.
May help with the recent boot failures, according to a post on the ACPICA-dev
mailing list.
2015-12-31 16:36:38 -05:00
Adrien Destugues
2c49943980 Use the existing ffmpeg function to decide if a format is planar. 2015-12-31 16:19:59 +01:00
Jessica Hamilton
8113bbfe40 ffmpeg addon: only use swresample for planar audio.
Fixes #12547.
2015-12-31 16:19:57 +01:00
Automatic Committer
ccb3f7e7a0 Update pci.ids from pciids.sourceforge.net 2015-12-31 05:20:29 +01:00
François Revol
57346752bb listfont: remove (broken) check for R5 bug 2015-12-30 19:56:01 +01:00
Augustin Cavalier
2839ab9cda ACPICA: Exclude from build & delete utclib.c.
ACPI_USE_SYSTEM_CLIBRARY is/has been defined, so it isn't used.
2015-12-30 08:06:52 -05:00
Akshay Jaggi
f91361e0db XHCI: Even more fixes.
* Fix Endpoint Context Initialisation (Refer xHCI v1.1 - 6.2.3)
 * Fix Interval Calculation (Refer xHCI v1.1 - 6.2.3.6 , USB 2.0 - 9.6.6 page 271)
 * Fix MaxBurst, MaxPacketSize Calculation (Refer xHCI v1.1 - 6.2.3.5, USB 2.0 - 9.6.6 page 271)
 * Fix MaxESITPayload Calculation (Refer xHCI v1.1 - 4.14.2)
 * Remove Link TRBs as they were never being used
 * Increase Number of TRBs per endpoint (to utilise the whole area allocated for Device TRBs)
 * Fix usage of XHCI_MAX_ENDPOINTS (most of the checks were failing at corner cases)
 * Some coding style fixes.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Before this patch, writes to USB disks on XHCI in VirtualBox (which emulates
an Intel C210) stalled or failed. After this patch, they apparently work,
although I got mixed results - a BFS disk seemed to work perfectly, a FAT32
one also seemed to work OK but after a reboot there was data corruption. USB
mouse is still as busted as ever.
2015-12-29 13:06:33 -05:00
Augustin Cavalier
3cc632615c busses/usb: Trim trailing whitespace. 2015-12-29 12:09:56 -05:00
Augustin Cavalier
d4fb4ebd67 ACPI: Remove manual address space handler initialization.
These are now done in AcpiInitializeSubsystem(), as part of the
early init so they can be present when the tables are loaded.

Should fix ACPI not working since the merge.
2015-12-29 11:29:52 -05:00
Adrien Destugues
9ec8a1e4d9 Kernel POSIX: add stpcpy.
- Required by new GCC versions, which are able to optimize string
  appends using it.
- Fixes build of ACPICA for x86/gcc4.
2015-12-29 10:24:06 +01:00
Augustin Cavalier
4dffc0abb9 ACPICA: Update to 20151218 from 20150818.
Requested by RudolfC. Apparently there was a regression which prevented
ACPI battery/power from working on his system, which was fixed by
https://github.com/acpica/acpica/commit/a3267967c.

The only testing I did with this was confirm it compiles and boots
in a VM, so apologies if this breaks something else.
2015-12-28 23:05:46 -05:00
Michael Lotz
28d3c8ca50 runtime_loader: Resync heap impl with the one of the bootloader.
The heap implementation of the runtime_loader was switched to the one
of the bootloader in 6f0994d but was since updated independently.

To keep the diff between the two implementations as small as possible,
the bootloader implementation was first copied to the runtime_loader
and then some features not relevant in the runtime_loader (like the
special large allocation handling) have been removed and the
runtime_loader specific features (grow_heap, add_area) have been
reintegrated. But basically this applies 96689a5..HEAD of
src/system/boot/loader/heap.cpp to the runtime_loader heap.

This brings in the switch from a linked list to a splay tree based
free chunk management. Since the allocation counts in the runtime_loader
are rather small, this does not perceptibly affect performance in either
direction though.
2015-12-27 13:54:48 +01:00
Michael Lotz
8bbfae7b05 runtime_loader: Fix endless rld heap grow loop in edge case.
The needed storage space for tracking the allocation size was not
accounted for when growing the heap. Since the growth size is always
rounded up to a multiple of 32KiB, this did almost never matter as the
new allocation wouldn't need the full size. If the allocation did
happen to need the full size however, the newly added area would always
be too small. As the allocation attempt was simply restarted after each
successful growth, this lead to an endless loop creating small new
areas, which would then quickly starve the system for memory.
2015-12-27 13:54:47 +01:00
Markus Himmel
5f2db70ffb Interface Kit: Add BCardView
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2015-12-26 20:13:22 -05:00
RudolfC
c09a549146 nVidia driver: Doc update, no functional change 2015-12-26 12:03:14 +00:00
Automatic Committer
3ac1bac8e3 Update usb.ids from www.linux-usb.org 2015-12-24 05:20:25 +01:00
Automatic Committer
7d9bcf3e7e Update pci.ids from pciids.sourceforge.net 2015-12-24 05:20:23 +01:00
Axel Dörfler
29871039d7 IMAP: Use BStringList instead of STL vector. 2015-12-22 19:35:09 +01:00
Axel Dörfler
e69a3a86fc strace: Added option to dump syscall stats.
* Use -c/-C (same as in Linux's strace) to enable the stat output.
* Former -c to turn of colored output is now --no-color.
2015-12-22 19:35:09 +01:00
Axel Dörfler
30ac5550f1 mail_daemon: Only show new message count for new messages.
* Ie. do not show it always when the new message count changes,
  only show it when it increases.
2015-12-22 19:35:09 +01:00
Axel Dörfler
184619e625 IMAP: removed superfluous files from the old implementation. 2015-12-22 19:35:08 +01:00
Adrien Destugues
3c5c6990bb Really fix swr_convert usage for gcc2. 2015-12-21 22:48:23 +01:00
Augustin Cavalier
6984b8554c Revert "libroot: Undefine constants for unsupported POSIX features"
This reverts commit 7aebec8db1.
As per the discussion on the mailing list.
2015-12-21 12:16:33 -05:00
Simon South
7aebec8db1 libroot: Undefine constants for unsupported POSIX features
Haiku does not yet support certain features related to POSIX threads.
Constants used to test for the presence of these features should
therefore be left undefined, according to the POSIX spec, but are
currently set to -1. This can cause software built on Haiku to
incorrectly detect the presence of these features.

* unistd.h: Undefine _POSIX_THREAD_ATTR_STACKADDR,
  _POSIX_THREAD_PRIORITY_SCHEDULING feature constants.
* conf.cpp: __sysconf: Return -1 for unsupported features.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2015-12-21 11:09:34 -05:00
Adrien Destugues
9dd9b45436 Use swresample to rematrix audio channels, try 2
This code is closer to what we used before for gcc2, and should not
crash there anymore. I could not get exactly the same code to work, but
reduced the difference to a single statement (which makes gcc2 work and
breaks gcc4). This is protected under a guard with appropriate ffmpeg
version test.

This code works for both gcc2 and gcc4 (tested with mp3 and aac files as
well as youtube videos). It still gets the timestamps wrong with ffmpeg
2.4, but I'll try to solve that another time.
2015-12-19 21:55:10 +01:00
Augustin Cavalier
8a822b7c85 Revert "AVCodecDecoder: use swresample to interleave audio channels."
Commit 856cc59e58 didn't really "fix"
anything; it just broke audio pretty much everywhere but YouTube,
and there videos play at 2x speed so it wasn't really worth it.

Stopgap solution for #12509.
2015-12-18 20:42:29 -05:00
Humdinger
128efd5eae Added application/xhtml+xml as supported type for TextSearch 2015-12-18 18:17:56 +01:00
Guillermo Bonvehi
937aabf5a1 MediaPlayer: Added simple shortcuts to playlist.
Fixes #6562.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
I tweaked some coding style and added back the missing
B_BACKSPACE shortcut.
2015-12-17 16:52:38 -05:00
Markus Himmel
a89ac5a653 Tracker: Add dragged poses to the drag message in the correct order
The function EachPoseAndModel iterates through poses in reverse order.
This fixes #12333.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2015-12-17 16:25:16 -05:00
Jérôme Duval
33840df504 app_server: declare jam dependency for BitmapPainter to freetype 2015-12-17 21:51:08 +01:00
Automatic Committer
381c562bc4 Update usb.ids from www.linux-usb.org 2015-12-17 05:20:33 +01:00
Augustin Cavalier
928081790f WebPositive: Fix typo in SettingsWindow.
Thanks Anarchos!
2015-12-16 16:16:35 -05:00
Dariusz Knociński
c0349163fd Preferences/VirtualMemory: fixed crash when exiting from not fully initialized application.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2015-12-15 21:21:23 -05:00
Augustin Cavalier
485f533935 RWLocker: Move to kits/shared.
As requested by looncraz. A lot of stuff in IOM/MediaPlayer's
'support' directories probably should be moved to 'shared' anyway.
2015-12-15 21:15:06 -05:00
Automatic Committer
58cc0108e9 Update pci.ids from pciids.sourceforge.net 2015-12-10 05:20:24 +01:00
Dario Casalinuovo
ec7d3b4053 Move old launch_media_server to deprecated file 2015-12-06 15:09:12 +01:00
Dario Casalinuovo
1acc73c437 Deprecate media_realtime_init_* functions 2015-12-06 15:03:49 +01:00
Dario Casalinuovo
aad4b937be media_kit: Add Deprecated.cpp file 2015-12-05 19:04:52 +01:00
Dario Casalinuovo
226be01113 media_kit: General maintainance
* Move !missing_symbols.cpp in the legacy directory.
* Move useless methods in a Deprecated.cpp file.
* SetRealtimeFlags / GetRealtimeFlags are useless, they
don't make sense nowadays.
* The symbols are anyway preserved.
2015-12-05 18:59:38 +01:00
Dario Casalinuovo
2b480e44f3 AddOnManager: Fix logic inversion 2015-12-05 13:16:00 +01:00
Dario Casalinuovo
f798491a8f FFmpegPlugin: Remove forgot variable 2015-12-04 12:18:52 +01:00
Dario Casalinuovo
8cd14ac0cd BMediaEncoder: Style fixes 2015-12-04 01:33:53 +01:00
Dario Casalinuovo
7f3ca22e46 AVCodecEncoder: Solve a crash at personalStudio startup
* This makes the app to start, but it's not enough
to have it show the window.
2015-12-04 01:33:53 +01:00
Dario Casalinuovo
2d50879085 BMediaEncoder: Proper handling of i/o formats 2015-12-04 01:33:52 +01:00
Dario Casalinuovo
3bc039b9f1 media_kit: Add encoding support facilities 2015-12-04 01:33:52 +01:00
Dario Casalinuovo
c3b461d8a9 AVCodecEncoder should not know the format 2015-12-04 01:33:52 +01:00
Dario Casalinuovo
537ea80adf BMediaEncoder: Style fixes 2015-12-04 01:33:51 +01:00
Automatic Committer
504fda3f51 Update pci.ids from pciids.sourceforge.net 2015-12-03 05:20:21 +01:00
Dario Casalinuovo
9bc60a8bc0 BMediaEncoder: Init/Release code cleanup. 2015-12-02 16:08:07 +01:00
Dario Casalinuovo
106539c239 Implement BMediaEncoder::write_chunk 2015-12-02 16:08:07 +01:00
Dario Casalinuovo
2b51499295 Initial implementation of BMediaEncoder
* People interested, please review!
* This is based on the patch from Fredrik Moden which was based on
the Oleg Krysenkov one.
* The original patch has been reworked by myself.
* Adapted the code to work with the new PluginManager API which
differently than before doesn't need to contact the media_server.
2015-12-02 16:08:06 +01:00
Jérôme Duval
0df4a177d7 app_server: declare jam dependecy for AlphaMaskCache to freetype 2015-12-01 02:57:42 +01:00
Dario Casalinuovo
6423f87f9e BMediaRoster: Reference count polishment
* BMediaNode is registering it's presence to the roster.
* Only addons needs their configuration to be saved.
2015-11-28 16:35:06 +01:00
Dario Casalinuovo
d98b8c7c59 BufferCache: More strict validity checks
* This add a debugger call if the BBuffer id is
mismatched at object creation.
2015-11-28 16:35:05 +01:00
Dario Casalinuovo
67060664c9 Allow BMediaRoster to log local nodes
* BMediaRoster is now capable to know which nodes are
instantiated in this team. This is also a first step to make
them survive after media_server crashes.
* A control at BMediaRoster::Quit can notify if all nodes
were correctly released. Ideally at this point the local nodes
list should be empty.
2015-11-28 16:35:04 +01:00
Dario Casalinuovo
05962bb1e1 Add a way to register loopers for quit
* BApplication can now take the job to quit a BLooper at
the application quit. It's rejecting requests from windows too.
* BMediaRoster is using now this service in conjunction with the
MediaRosterUndertaker.
* The BeBook specify that we should have a valid BApplication
before to instantiate the BMediaRoster. While in theory we should
add a debugger call when this situation happens, in pratice this
might lead to more problems. For example libraries might use the
media_kit and create a BApplication object, but they aren't
applications, this is a design problem. So I decided to replace it
with a TRACE call for the moment.
2015-11-28 16:35:03 +01:00
Axel Dörfler
893e3de866 mail_daemon: Converted to BServer. 2015-11-28 14:18:18 +01:00
Axel Dörfler
59e6d9d2e2 launch_daemon: Maintain pending jobs for requirements.
* If a requirement cannot be launched, a job is now added to the
  requirement as pending job.
* If the requirement enters the launch queue at a later time, the
  pending job will be put there, too.
2015-11-28 14:00:36 +01:00
Axel Dörfler
236e68efdc launch_daemon: Check requirements before launching a job.
* They were only launched, but we didn't check if we can actually
  launch them.
2015-11-28 14:00:01 +01:00
Axel Dörfler
ea3e5d43d5 passwd: Fixed copy&paste error in error message. 2015-11-28 13:59:19 +01:00
Jérôme Duval
f9422dc81d x86_gcc2: add dependency on ssl libs on haiku.hpkg. 2015-11-28 10:06:46 +01:00
Jérôme Duval
e7e318fc73 haiku-x86: add a dependency on libssl and libcrypt 2015-11-26 18:58:14 +01:00
Automatic Committer
087cbdf98d Update pci.ids from pciids.sourceforge.net 2015-11-26 05:20:22 +01:00
Jessica Hamilton
d5449f12d4 app_server: add another missing dependency on freetype 2015-11-26 14:44:51 +13:00
François Revol
e3c95b5aa1 usb_disk: add icon for mobile phones
Add a match for my Kazam dumb phone, which is not very descriptive...
2015-11-26 01:17:24 +01:00
Jérôme Duval
c5c31f4118 haiku-x86/haiku-x86_gcc2: make some dependencies feature dependent. 2015-11-24 20:20:52 +01:00
François Revol
eff74a3387 usb_disk: use SD card and Memory Stick icons when found
Check for partial matches on the product_name string.

Tested with a USB card reader and an SD card.

Feel free to add icons for Compact Flash and Secure Media and more matches.
2015-11-24 14:30:48 +01:00
François Revol
6c51d2639b usb_disk: use CD icon for optical media
Tested with a CD drive and a USB adapter.
2015-11-24 14:28:30 +01:00
François Revol
ce27a0cc0a usb_disk: add some icons
- CD
- SD
- MemoryStick
2015-11-24 12:26:10 +01:00
Rene Gollent
a9aa59ef7c Debugger: Fix #12499.
DebugReportGenerator/UiUtils:
- When traversing the value node graph, detection of the case of
  an address type with a compound child wasn't taking type modifiers
  into account, leading to it sometimes not traversing down to members
  when it should, and consequently not reporting those members in a debug
  report.
2015-11-23 22:31:01 -05:00
Axel Dörfler
9b9e7ec808 E-mail: Converted auto config window to layout API.
* It still doesn't work correctly yet again, though; the servers cannot
  be configured there.
* I'm leaning towards removing the server configuration there, as they
  can easily changed in the add-on preferences from the same preferences
  application; the way it was done was pretty much a hack. Any hard
  feelings about this?
2015-11-23 21:50:42 +01:00
Jérôme Duval
69a973e2f7 screen_blanker: fix warning. 2015-11-23 20:48:15 +01:00
Jérôme Duval
2bc202c430 XHCI USB: Add port routing for Intel WildcatPoint LP USB.
* from FreeBSD.
2015-11-23 20:47:15 +01:00
Jérôme Duval
95c8163a16 Add Hangul and Hangul_Hanja keycodes for korean keyboards.
* map both keys on USB keyboards. Untested.
2015-11-23 20:04:22 +01:00
Jérôme Duval
3dd0c8198e PackageRules: use valid macro names in defines. 2015-11-23 18:16:08 +01:00
Simon South
dbf060a3f7 libroot: Add brk() and sbrk().
This commit replaces the placeholder implementation of sbrk(), which
operated on a process' heap, with real implementations of brk() and
sbrk() that adjust a process' program break.

* unistd.h: Add standard definitions of brk() and sbrk(); include
  stdint.h for intptr_t.
* thread.cpp: Recognize RLIMIT_AS and RLIMIT_DATA resource limits
  (both currently unlimited); order limit identifiers alphabetically.
* arch-specific.cpp: Remove sbrk_hook().
* malloc_debug_api.cpp: Remove sbrk_hook().
* unistd/Jamfile: Build brk.c instead of sbrk.c.
* unistd/brk.c: Add.
* unistd/sbrk.c: Delete (placeholder implementation).
* libroot_stubs.c: Remove sbrk_hook().
* libroot_stubs_legacy.c: Remove sbrk_hook().
* src/tests/.../posix/Jamfile: Build brk_test.c.
* brk_test.c: Add (simple unit test that demonstrates behaviour of
  sbrk()).

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2015-11-22 17:59:22 +01:00
Jérôme Duval
d8e8078b3f net_server: warning on delete of address of a reference.
* fixes #12244.
2015-11-22 11:51:56 +01:00
Jérôme Duval
b8c67b27cc haiku-x86_64: make some dependencies feature dependent. 2015-11-22 11:47:29 +01:00
Axel Dörfler
62eec60079 SMTP works again.
* The message to send the mails never made it to the add-on looper.
* Mail protocol threads now have names.
* Added a "public" BOutboundMailProtocol::SendMessages() call that sends
  itself a message (even the correct one this time).
2015-11-22 11:35:17 +01:00
Axel Dörfler
0295da8893 Mail: Set min size in prefs instead of some random number.
* Since min/max size of the menu had contradicting values at larger font
  sizes, the layout was confused.
2015-11-22 11:34:45 +01:00
Axel Dörfler
04f969a596 BWindow::MoveOnScreen(): Need to use inner frame for resize.
* This caused the window to grow each time.
* This was especially noticeable at applications that store their
  size on quit, and restore it on start.
* This fixes bug #12456.
2015-11-22 11:33:49 +01:00
Jérôme Duval
56a0f2b3be haiku-x86_64: add a dependency on libssl and libcrypto
* this should be feature dependent though.
2015-11-21 12:22:16 +01:00
Jérôme Duval
946163e318 ffmpeg: fix x86_64 build. 2015-11-21 12:01:01 +01:00
Jérôme Duval
af585d0361 pkgman search: Add --requirements option 2015-11-20 20:55:12 +01:00
Jessica Hamilton
08006f7c8f efi_gpt: properly fix block offset calculations for partition entries
In 2346363b, had corrected the offset writing to the disk, but missed
correcting the offset for reading from the entries struct.

Instead of writing a block, just write the single entry, simplifying
the offset logic considerably.
2015-11-20 20:26:45 +13:00
Adrien Destugues
856cc59e58 AVCodecDecoder: use swresample to interleave audio channels.
Some codecs will always output audio in planar mode no matter what we
request. This is the case for example with AAC used for youtube. We now
use swresample to convert from planar to packed format.

Note that since swresample does its own buffering, we could probably do
away with some of the code that handled buffering before, making the
audio pipeline simpler and faster.

Fixes audio in youtube, but now the video plays at 2x speed. It seems
something is wrong with the timestamps. Possible things to investigate:
* why do we use the packet dts instead of the pts from the frames anyway?
* the pts and pkt_dts are in "stream time_base units". We seem to assume
  microseconds for audio but this is probably not the case. Or did I
  miss where the conversion is done?
2015-11-19 22:53:22 +01:00
Automatic Committer
235725ef91 Update pci.ids from pciids.sourceforge.net 2015-11-19 05:20:23 +01:00