60891 Commits

Author SHA1 Message Date
Autocommitter
dbf202a17a Update userguide translations
Includes the first version of the Welcome Quick Tour
hrev53556
2019-10-19 17:22:44 -04:00
Augustin Cavalier
e29b7dd85a intel_extreme: Fix TRACE macro format. hrev53555 2019-10-19 13:26:39 -04:00
Augustin Cavalier
a26a21a5a7 usb_hid: Use user_memcpy in JoystickProtocolHandler::Read().
Also use a MutexLocker object, and fix a potential race around
fCurrentValues.data_size.

Fixes #15404.
hrev53554
2019-10-19 13:12:47 -04:00
Jaroslaw Pelczar
016cc66803 Remove arch_get_caller
Use the gcc builtin instead, which generates more efficient code (it
saves a function call) and means less platform specific code to write
for us.

Change-Id: I1d55b5703027b2ea4ecde2438ea306bd4850eb32
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1859
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev53553
2019-10-19 17:03:05 +00:00
Augustin Cavalier
09fafe4c95 ipro1000: Add a missing NULL check.
May help with #15402.
hrev53552
2019-10-19 12:57:27 -04:00
Adrien Destugues
b1c582baf3 intel_extreme: disable FDI training for now.
It just deadlocks, so let's try to go without it and hope for the best?

Should fix #14301

Change-Id: I3cbd6e800a64da31f1fb1f1fb66b088e0298596e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1899
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev53551
2019-10-19 16:50:00 +00:00
Adrien Destugues
ce8f386d86 intel_extreme: extra tracing around overlay memory block init
To help understand the problem in #14276

Change-Id: I334a5cdfa149d335068f2135d13ed729b53fe6ab
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1900
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev53550
2019-10-19 16:48:18 +00:00
Adrien Destugues
b8f6e4813d intel_extreme: fix PLL limits for G4x
As for other devices, N=1 makes no sense because N-2 is eventually
written to the hardware register, so wherever these values come from,
they can't be correct. Replace with the values from the Intel manual.

Also fix confusion as to when the + 2 or - 2 is applied to M1 and M2
values. The documentation says M1+2 and M2+2 are used in frequency
computations, but we instead write M1-2 and M2-2 to the registers, so
the M1 and M2 in our limit structs has an offset of 2 from the docs.

Should fix #13694.

Change-Id: I87157154d22a5e6caf622d71a2f0e0b9ff21a2fa
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1902
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
hrev53549
2019-10-19 16:45:44 +00:00
Augustin Cavalier
91cc452e90 kernel/fs: Add missing IS_USER_ADDRESS check in user_vector_io.
This reinstates commit 2b5ebfcfd578f177968c5b923e5ccd6eb0195674.

According to the POSIX specification, a NULL iov_base means
"do nothing." So we should treat that as such properly,
and not consider it an invalid address.

Fixes #15356.
hrev53548
2019-10-19 12:42:32 -04:00
Autocomitter
200cb331ef Update translations from Pootle hrev53547 2019-10-19 08:47:49 +00:00
Alexander von Gluck IV
d29a6dcf96 README: Drop dead OpenGrok link, add our cgit.
Change-Id: Ia0f7c992f39a8d80f42e78f4428bbd372f7c4005
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1921
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
hrev53546
2019-10-18 18:08:25 +00:00
Alexander von Gluck IV
761ddb2c4f EFI: Break smp into arch subpath
Change-Id: Ia9438777f1da8ca32f93e0d85229230c809e6711
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1918
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
hrev53545
2019-10-16 21:21:15 +00:00
Lukasz Towarek
e3c74f400e Terminal: Add support for extended mouse coordinates
Fixes #11949

Change-Id: I779d1a9af2e3208ba3c055692de5e62b6a7b72fc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1919
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
hrev53544
2019-10-16 07:27:31 +00:00
Kyle Ambroff-Kao
d8779e44ee Drop requirement for specifying firmware map size
The HAIKU_FIRMWARE_NAME_MAP macro takes a size parameter to define the
firmware map array type, and then a multi-dimensional array literal is
assigned to the array defined by that macro.

This is error-prone. The idualwifi7260 driver, before this patch, had
the size incorrectly set to 6 when the number of entries was 7, which
sliced the last entry off of the map, making it unavailable to the
driver. After fixing this size, the driver properly loads the
iwm-8265-22.ucode firmware on my computer.

This patch changes that macro to take a const char[][2] literal as its
only parameter, making it less likely for this sort of bug to be
re-introduced.

Fixes #15413.

Change-Id: I78a75e692a8637af0f13d1eb16180ce8d95d0852
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1917
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
hrev53543
2019-10-16 00:23:55 +00:00
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
hrev53542
2019-10-15 09:28:39 -05:00
Pascal Abresch
89cc64ae2b fix detection of video/mp4 files via sniffer rule
Fixes #15297
hrev53541
2019-10-12 18:26:40 +02:00
Autocomitter
9fb709d683 Update translations from Pootle hrev53540 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:").
hrev53539
2019-10-12 08:33:46 +02:00
waddlesplash
fb8915c671 freebsd_iflib: Also NULL-check ctx. hrev53538 2019-10-10 20:32:57 -04:00
Adrien Destugues
acc0180aac intel_extreme: enable global interrupt bit also for Haswell.
Fixes #13802.
hrev53537
2019-10-10 20:23:39 +02:00
Augustin Cavalier
8af29cccf5 freebsd_iflib: Add NULL check to irq_free.
Should fix #15402.
hrev53536
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>
hrev53535
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>
hrev53534
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>
hrev53533
2019-10-08 18:47:06 +00:00
Adrien Destugues
4ffbc73faf btrfs: fix some warnings hrev53532 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. hrev53531 2019-10-08 16:56:51 +02:00
Jérôme Duval
c84296d0ad USB_hid: fix include guard. hrev53530 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
hrev53529
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>
hrev53528
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.
hrev53527
2019-10-05 18:36:09 +02:00
Autocomitter
0bbd5bb161 Update translations from Pootle hrev53526 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>
hrev53525
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>
hrev53524
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>
hrev53523
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>
hrev53522
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
hrev53521
2019-09-29 19:16:18 -05:00
Autocomitter
7f634d790b Update translations from Pootle hrev53520 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>
hrev53519
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>
hrev53518
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>
hrev53517
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>
hrev53516
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>
hrev53515
2019-09-24 10:33:43 +00:00
Adrien Destugues
23d6916acd Tracker InfoWindow: cleanup of size string invalidation code
Should fix #15351.
hrev53514
2019-09-23 20:25:33 +02:00