Commit Graph

12238 Commits

Author SHA1 Message Date
Rudolf Cornelissen
193416abaf VIA driver: block overlay hooks if mode not supported! 2016-01-28 10:04:43 +01:00
Axel Dörfler
de4b1dede1 BMailProtocol: Removed delete/append methods.
* The mail system is file based which makes these methods pretty much
  superfluous.
2016-01-26 16:01:03 +01:00
Rudolf Cornelissen
0fa7d5c4df VIA gfx driver: overlay engine on K8M800 responds now, wip. 2016-01-23 23:46:22 +01:00
Dario Casalinuovo
08a65695bb AudioMixer: Replace debug_printf with TRACE 2016-01-19 22:43:25 +01:00
Dario Casalinuovo
1fe3cb8742 AudioMixer: Notify the producer basing on latency variation
* Since the producer may take an undefined amount of buffers to
process the latency increase, possibly depending on it's queue,
the consumer will notify only the difference between the old latency
and the new. While not solving completely, this improves the situation
under virtual box (and slow systems) making the sound more stable.
2016-01-19 22:43:25 +01:00
Fredrik Holmqvist
b64e8511cd Update ACPICA to 20160108, removed common.
Changelog: https://acpica.org/sites/acpica/files/changes_29.txt

 * This is based on the upgrade waddlesplash aborted due to a bug
in ACPICA which has since been fixed.
 * Some ACPICA code is excluded until needed. (You may want to
   compare our acpica dir to ACPICA if you are missing functions.)
2016-01-17 21:55:44 +01:00
Alexander von Gluck IV
b8dd04e428 ahci: Handle FBS on soft reset (unused still)
* Report FBS cap for #9098
* Should be 0-impact for now
2016-01-16 23:22:54 -06:00
Adrien Destugues
69f2466090 IMAP: Fix exception message. 2016-01-16 18:56:40 +01:00
Rene Gollent
8028ede7db Build: Add architecture rule for libshared.a.
- As suggested by Ingo, add libshared.a to the architecture name map.
  This allows it to be linked by its short name like other frequently
  used libraries.
- Adjust all Jamfiles referencing the lib accordingly.
2016-01-15 21:12:24 -05:00
Viktor Müntzing
e280cbdb93 virtio_net: Obvious mistake in comparison for NULL
Signed-off-by: PulkoMandy <pulkomandy@pulkomandy.tk>
2016-01-14 21:17:53 +01:00
Viktor Müntzing
39002b213b radeon CP_setup: Fixed probable copy/paste mistake
- No hardware so can't verify myself.
2016-01-14 21:17:22 +01:00
Viktor Müntzing
cc9a637eb0 acpi NamespaceDump: "unsigned <= 0" comparison, better check of byte length 2016-01-14 21:16:46 +01:00
Viktor Müntzing
81b134d33c intel_extreme: Incorrect paranthesis in overlay 2016-01-14 21:16:19 +01:00
Axel Dörfler
aeaf68cf4b IMAP: Extra local messages are now deleted.
* When a message on the server is deleted, it will now be deleted
  locally, too.
2016-01-14 21:03:46 +01:00
Axel Dörfler
618cc43b64 IMAP: New folders will now adopt default mail attributes.
* Added a function CopyMailFolderAttributes() that copies the attribute
  layout from the text/x-email default query folder.
* This using the new CopyAttributes() method in libshared that is pretty
  much a copy of a similar method from copyattr. However, I did not
  replace the latter, as that one allows for more fine grained error
  reporting (and attribute filtering).
* Closes ticket #3498.
2016-01-14 21:00:38 +01:00
Axel Dörfler
4681e405ef MatchHeader: Fixed crash with action, use tooltips.
* When an action was already set, a menu item was being selected before
  the menu had been created -- must have happened on some refactoring.
* Use tooltips rather than fill the header/value text controls with some
  help texts.
2016-01-14 20:53:51 +01:00
Rudolf Cornelissen
14de50bad7 VIA gfx driver:K8M800 now works (fixed PLL), fixed info in GetDeviceInfo 2016-01-13 01:01:32 +01: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
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
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
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
RudolfC
063436816d nVidia driver: Added basic dualhead support for native Haiku ScreenPrefs app 2016-01-04 22:17:48 +00: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
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
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
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
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
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
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
RudolfC
c09a549146 nVidia driver: Doc update, no functional change 2015-12-26 12:03:14 +00:00
Axel Dörfler
29871039d7 IMAP: Use BStringList instead of STL vector. 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
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
Dario Casalinuovo
f798491a8f FFmpegPlugin: Remove forgot variable 2015-12-04 12:18:52 +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
c3b461d8a9 AVCodecEncoder should not know the format 2015-12-04 01:33:52 +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