Commit Graph

60827 Commits

Author SHA1 Message Date
Alexander von Gluck IV
e4c933c93f build-packages/x86_64: Bump HaikuPorts to latest packages
* Includes an updated gnu-efi package which addresses some
  header collisions we encountered.

Change-Id: I6a16814136607224d3019069aa642ce4331ff969
2019-10-15 09:28:39 -05:00
Pascal Abresch
89cc64ae2b fix detection of video/mp4 files via sniffer rule
Fixes #15297
2019-10-12 18:26:40 +02:00
Autocomitter
9fb709d683 Update translations from Pootle 2019-10-12 08:50:26 +00:00
Humdinger
5ad67ec1e7 FileType panel: use correct label for signature
We used the wrong c'tor for the signature BTextControl, ending up
with the internal widget name as label ("signature" <-> "Signature:").
2019-10-12 08:33:46 +02:00
waddlesplash
fb8915c671 freebsd_iflib: Also NULL-check ctx. 2019-10-10 20:32:57 -04:00
Adrien Destugues
acc0180aac intel_extreme: enable global interrupt bit also for Haswell.
Fixes #13802.
2019-10-10 20:23:39 +02:00
Augustin Cavalier
8af29cccf5 freebsd_iflib: Add NULL check to irq_free.
Should fix #15402.
2019-10-09 20:57:00 -04:00
Andrew Lindesay
976cadf181 HaikuDepot: Resolve Hpkg File Opening Issue
Fixes #15389

Change-Id: Ie1a509ca3c696d5155bb8ceb3f2974254e57b5b2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1916
Reviewed-by: Rene Gollent <rene@gollent.com>
2019-10-09 13:17:18 +00:00
Jaroslaw Pelczar
3e08219154 glue: Add code for ARM64
This allows ARM64 to bootstrap for building of GCC.

Signed-off-by: Jaroslaw Pelczar <jarek@jpelczar.com>
Change-Id: Ia2ea34d1fc1a8e4d3c77a7ef05a32a8603a4fb51
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1851
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-10-09 01:01:51 +00:00
brjhaiku
9a84f57b3f btrfs: implemented btrfs_unlink
Change-Id: I3ccb6be54ba3e42136fa7093f35e16aaecc5a540
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1589
Reviewed-by: Chế Vũ Gia Hy <cvghy116@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-10-08 18:47:06 +00:00
Adrien Destugues
4ffbc73faf btrfs: fix some warnings 2019-10-08 20:37:10 +02:00
Adrien Destugues
4337c7582c btrfs: do not create Journal and ExtentAllocator for read-only
They are not needed, and the ExtentAllocator seems to currently fail on
an empty volume I created for testing.
2019-10-08 19:56:39 +02:00
brjhaiku
5bfbdf0dc8 btrfs: documented Attribute and AttributeIterator classes (no functional change)
Change-Id: I3bbd36132824df49339ceb98e811e36942714447
2019-10-08 19:47:13 +02:00
brjhaiku
9d2ab65187 btrfs: documented Inode class 2019-10-08 19:10:54 +02:00
brjhaiku
b951cbd355 btrfs: documented BTree class (no functional change)
Change-Id: Ib3d6247bf99fc520ba063c361a7b465224805610
2019-10-08 19:07:12 +02:00
Adrien Destugues
ae24179211 Start documentation for filesystems
We have quite a few GSoC projects around this, it would make sense to
have some documentation for people attempting them.

Add some generic overview of filesystems and how to test them.
2019-10-08 18:57:28 +02:00
brjhaiku
7868a011b8 fixed btrfs_shell
Change-Id: I792661b62d896f105690500403650b174a649de6
2019-10-08 18:57:27 +02:00
Jérôme Duval
bc6dc61fb9 USB_hid: VR Controls definitions. 2019-10-08 16:56:51 +02:00
Jérôme Duval
c84296d0ad USB_hid: fix include guard. 2019-10-07 21:58:17 +02:00
Jérôme Duval
cf0498cbc6 icon-o-matic: fix include guard. 2019-10-07 21:58:17 +02:00
Adrien Destugues
478b920700 intel_extreme: disable 15-bit support for modern devices
It is not supported for all newer generations, and why would one use it
when 16bit mode is available anyway?

Fixes #15395
2019-10-06 10:11:07 +02:00
Adrien Destugues
083314c2cb Create the port pool in MediaRosterUndertaker
Follow up to #15135, which created a regression, apps would crash if
using the port pool before creating a BMediaRoster instance. Now the
port pool is entirely managed by the MediaRosterUndertaker, which is
less confusing.

Fixes the media_addon_server crash on shutdown for me as well, but I
don't remember why (I had studied the code and came to the conclusion
that this should fix it, but I don't remember the reasoning).

Fixes #15263, and regressions for apps using the port pool before they
instanciate the BMediaRoster.

Change-Id: I887dbc590d8ee9de391b6eae0206944bfe99325f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1897
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
2019-10-05 21:09:43 +00:00
Axel Dörfler
9ecbb6ada1 HaikuRemoteDesktop: Added font face/monospace support
* It still doesn't care about font families, but at least monospace
  is now properly rendered in the Terminal.
2019-10-05 18:36:09 +02:00
Autocomitter
0bbd5bb161 Update translations from Pootle 2019-10-05 08:40:45 +00:00
Alexander von Gluck IV
7c32619c7f boot/platform: Break x86 code away from core EFI code
Change-Id: I88afad6d071e8b577c23da9c60392c60b3726514
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1895
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-10-03 14:05:49 +00:00
Alexander von Gluck IV
f17664c8b1 arm/u-boot: Load dtb if specified, else fall back to u-boot built-in fdt
Change-Id: Icda4ac4c382770a1adcf593b6cf70f7575880f83
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1894
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2019-10-02 20:16:28 +00:00
Andrew Lindesay
1187e80647 HaikuDepot: Fix Selection in Featured Package List
Fixes #15386

Change-Id: Id9e198b85d02dccf7d71aeb1c85b29639ef15059
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1893
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
2019-10-02 10:59:33 +00:00
Kacper Kasper
9268c3d7e5 x86: Reorder ifs in page fault handler
* If interrupts were disabled, SMAP and SMEP violation message was
  shadowed by confusing "page fault but interrupts disabled" panic.

Change-Id: I7470329984e55330f35fdca9b7c253fc4684e0c8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1891
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-10-01 02:50:14 +00:00
Alexander von Gluck IV
d19c9471b1 build/BuildSetup: Make MMC image name more aligned to others
* ex: haiku-((profile)).* works now.

Change-Id: Ib1d24920de6be6ae72c841ace3e57d7b0858f4ef
2019-09-29 19:16:18 -05:00
Autocomitter
7f634d790b Update translations from Pootle 2019-09-28 08:46:19 +00:00
Kacper Kasper
14c3e38739 Discard column info in Debugger
* With them Debugger doesn't allow setting breakpoints inside functions.
* Workaround for #15159. Further explanation by anevilyak is also there.

Change-Id: I661b7dcb28a4c02f671b85cb5c26fa0bd5a53078
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1892
Reviewed-by: Rene Gollent <rene@gollent.com>
2019-09-28 01:27:42 +00:00
Adrien Destugues
07838f4cd3 BTextView: preserve ViewUIColor when unarchiving
When unarchiving, we can rely on BView to properly restore the colors,
and we should not alter them. So move the code doing that outside of
_InitObject, and into all non-unarchiving constructors instead.

Change-Id: I98050c69bb3b8edf6e77ad0498e2dade5eaadb1d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1887
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-09-27 22:53:42 +00:00
Kacper Kasper
2d85a5644b Fix SMAP violation when running profile
* Fixes #15379.

Change-Id: I3d5672ec0ffd4c09a35535f641e433d3d714412a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1890
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2019-09-27 22:52:49 +00:00
Humdinger
db6fcb750a People: fix aspect ratio for square images
If you dropped a square image onto the image well, it was
squashed horizontally.

Change-Id: Ie5637fc242a1c5b7313234a87822bc43556cbe4d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1886
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-09-25 23:44:04 +00:00
Andrew Lindesay
d2d4866dd4 HaikuDepot: Display User's Usage Conditions
A HaikuDepotServer may have previously agreed to
user usage conditions.  If this is the case then
they are now able to view those conditions.  There
were some problems with date formatting in this
change and so the date formatting logic has moved
into the HaikuDepot source code temporarily until
issues with the BDateTime class can be resolved;
most likely as a separate piece of work.

Relates to 15209

Change-Id: Ic3e5413d9139f410d7f7e8b566d4c56352dd2778
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1870
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
2019-09-24 10:33:43 +00:00
Adrien Destugues
23d6916acd Tracker InfoWindow: cleanup of size string invalidation code
Should fix #15351.
2019-09-23 20:25:33 +02:00
Adrien Destugues
79e2e1b971 Fix accidental code removal in tracker infowindow refactoring
Should fix #15322 and #15352
2019-09-23 20:08:46 +02:00
Autocomitter
aa597cd40c Update translations from Pootle 2019-09-22 12:05:34 +00:00
Augustin Cavalier
e89efea747 ipro1000: Synchronize with FreeBSD trunk.
Up through Sep. 20th (yesterday.) Includes changes around IGB
device initialization.
2019-09-21 18:45:06 -04:00
Augustin Cavalier
6ad99cdddf freebsd_iflib: Synchronize with FreeBSD trunk.
Up through Sep. 20th (yesterday.) Includes some pretty substantial
fixes around MSI interrupts, among other things.
2019-09-21 18:38:35 -04:00
Augustin Cavalier
453027c1c3 kernel/scheduler: Add missing initializations to ThreadData::_InitBase().
fQuantumStart and fLastInterruptTime were not set to 0 here, so they
would default to the "malloc-cleared" data and then always overflow
the first time the interrupt time was tracked. I can't find any
reason that was supposed to be the behavior, so just set them to 0.

Also reorder the field initializations to be the same as the class
definition, which should allow some store merging optimizations.

Spotted by KUBSAN.
2019-09-21 16:30:43 -04:00
Augustin Cavalier
e6ee730269 kernel/disk_device_manager: Use addr_t in UserDataWriter.
This code was not touched since 2005, and even then, that was just
a file rename. So it seems it simply predates addr_t.
2019-09-21 16:13:51 -04:00
Augustin Cavalier
0af21102ef kernel: Fix compiling the debug heap on x86_64. 2019-09-21 14:59:52 -04:00
Murai Takashi
863eb82bca preferences/sounds: Fix mismatching malloc/delete
fType is allocated by strdup() in SetType(), buf freed by delete.
Pointed out by LGTM.

Change-Id: Id9e900863bf6921fd29f2c8abbd21da182f9055c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1884
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
2019-09-21 16:11:10 +00:00
Murai Takashi
04a1ee9750 libnetapi: Fix 'new[]' array freed with 'delete'
sMutexBuf is allocated by new[] in SSL::SSL(), but freed by delete.
Pointed by LGTM.

Change-Id: Ic16501883be4e3b7ca5fe24e1585b6e14ae3ff36
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1883
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
2019-09-21 16:09:51 +00:00
Murai Takashi
7ddb9624b2 Terminal: Fix mismatching malloc/delete
fAlternateScreen is allocated by malloc() in
BasicTerminalBuffer::_AllocateLines(), but freed by delete.
Pointed out by LGTM.

Change-Id: I526ecd7e570caf7d5ed90c715bbbfaf40e7e4be6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1882
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
2019-09-21 16:09:27 +00:00
Murai Takashi
36bf86d2b6 Pulse: Fix 'new[]' array freed with 'delete'
cpu_menu_items is allocated by new[] in Init(), but freed by delete.
Pointed out by LGTM.

Change-Id: I4cc669c519cc4ea3e170cb9f421d6b4ff77df8a2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1881
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
2019-09-21 16:06:08 +00:00
Murai Takashi
931aec2b6c Mandelbrot: Fix 'new[]' array freed with 'delete'
fRenderBuffer is allocated by new[] in MessageReceived(),
buf freed by delete.
Pointed out by LGTM.

Change-Id: I06efc1c8075a421e7f2983e8a0d817a1bf43b026
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1880
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
2019-09-21 16:04:57 +00:00
Murai Takashi
dfb3c928f8 Deskcalc: Fix 'new[]' array freed with 'delete'
fKeypad is allocated by new[] in _ParseCalcDesc(), but freed by delete.
Pointed out by LGTM.

Change-Id: Iac81d3cc6bfcf003ddf9146415a4400c34a1b7f2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1879
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
2019-09-21 16:03:09 +00:00
Murai Takashi
7abf1b6fba media-add-ons/mixer: Fix 'new[]' array freed with 'delete'
fMixBufferChannelTypes is allocated by new[] in _ApplyOutputFormat(),
but freed by delete.
Pointed out by LGTM.

Change-Id: I07b85801e0103094c5751306ea2c50ca9354ddb9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1877
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
2019-09-21 16:01:37 +00:00