Commit Graph

59888 Commits

Author SHA1 Message Date
Les De Ridder
e982a0b217 btrfs: make file system name consistent
Change-Id: I5276be636875809f78201cb6274d64499252de73
Reviewed-on: https://review.haiku-os.org/c/1394
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
2019-04-09 12:03:12 +00:00
François Revol
80934b8395 runtime_loader: Fix handling of #!/usr/bin/* introduced in hrev53048
Code was comparing "/usr/bin/" with "/usr/bin/env" of whatever was
passed. We now only compare the substring.

Change-Id: I0d09589fa83227d88fc8ba458eaf4293e86a041b
2019-04-08 23:50:33 +02:00
Calvin Hill
4e8ff93e77 wacom: Add Product ID for Wacom Bamboo Pen/Connect.
This enables the Wacom Bamboo Pen/Connect (CTL-470 Model) to be
recognised by the wacom driver. Pen support and pressure-sensitivity
is also working fine.

Tested on hrev53021.

Change-Id: I165a03e4a60f4cad8537122fdc2992ff291b9889
Reviewed-on: https://review.haiku-os.org/c/1392
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-04-08 15:14:11 +00:00
François Revol
5e4336f30a GLTeapot: allow multiple instances
starsseed told me it worked fine and is actually nice for demos :-)

Another option could be to add a menu entry to open a new window, but
I'm just back from JDLL so I'm quite lazy :p

Change-Id: I91e34517812f84157db7e24f2edff587deabbbe9
2019-04-07 22:00:32 +02:00
Augustin Cavalier
eb3cdd8a25 Time: Run synchronization on network up.
Also move the settings check into launch_daemon, as that way
"Time --update" can be invoked even when the setting is disabled.

Fixes #9348.
2019-04-07 15:12:39 -04:00
Augustin Cavalier
2e95cfdadd runtime_loader: Remove the user paths from the initial/"fallback" set.
This set is only used until the SetupEnvironment script has run, i.e.
for launch_daemon and its initial tasks, which does not need the user
paths. Solves a TODO.
2019-04-07 15:08:03 -04:00
Augustin Cavalier
938d81f658 runtime_loader: Rewrite all "/usr/bin/" shebangs to "/bin/".
Previously we only rewrote ones pointing to "env" with that.

Change-Id: I775fedc4a3b8e0e590c76f50f4c3fb259c5df32c
Reviewed-on: https://review.haiku-os.org/c/1389
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-04-07 17:50:31 +00:00
Che Vu Gia Hy
a0710a23d2 btrfs: Fix get object id from disk in wrong order
Change-Id: I15ab04ec55dd4e9318eff9eef65a5030bf5241b3
Reviewed-on: https://review.haiku-os.org/c/1390
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2019-04-06 21:47:33 +00:00
Augustin Cavalier
7a15c1cbc5 kernel: Add interrupts checks for switch_lock functions. 2019-04-06 13:55:45 -04:00
PulkoMandy
0788d17ae2 Fix missing absolute dir.
The variable is used after a "cd" so it must be absolute.

Change-Id: I8d591b8642179603249ac56a1fcac082f29c870c
Reviewed-on: https://review.haiku-os.org/c/1387
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-04-06 17:37:25 +00:00
Alexander von Gluck IV
162279b680 kernel/arm: Fix a few build regressions around types
Change-Id: I577e64397610bc48e4b7646c533de95d0024dd63
2019-04-06 08:55:00 -05:00
Alexander von Gluck IV
40fcf16358 kernel/riscv64: Add missing kernel_arg ranges to get build going.
Change-Id: Idf549a5e4d01e6dc8949ec1252296337e5ef970c
Reviewed-on: https://review.haiku-os.org/c/1380
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-04-05 14:29:23 +00:00
Alexander von Gluck IV
e0ec8de753 kernel/riscv64: ATOMIC64 FUNCS are not syscalls
Change-Id: I8696939ec2fab6f3960a9a41f0b5c9fcd6949760
Reviewed-on: https://review.haiku-os.org/c/1379
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-04-05 14:29:23 +00:00
Alexander von Gluck IV
45ebdd4217 kernel/riscv64: Fix assembly to disable/enable interrupts
Change-Id: Id4dc7360650e78a9bcadec634be97b279da2d77c
Reviewed-on: https://review.haiku-os.org/c/1378
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-04-05 14:29:23 +00:00
Alexander von Gluck IV
e21b752f13 libroot/posix: Add missing riscv64 knowledge
Change-Id: I49682d79f5e4b2dd981480636e7a55d25f11c9d1
Reviewed-on: https://review.haiku-os.org/c/1377
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-04-05 14:29:23 +00:00
Alexander von Gluck IV
d5ee175d98 libroot/riscv64: Add missing sigjmp's.
Change-Id: Id353f86571ddf5bc106af7c77f0bd3d22b5b7cbd
Reviewed-on: https://review.haiku-os.org/c/1381
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-04-05 14:29:23 +00:00
Augustin Cavalier
dd0667da66 kernel/locks: Don't panic on interrupts disabled in unlock().
We don't reschedule or block in here, so checking for interrupts
is needlessly strict. Sorry for the noise, forgot to remove this
before the previous commit.
2019-04-04 21:11:29 -04:00
Augustin Cavalier
93cf12432f kernel: Add checks for interrupts in rwlocks.
recursive_locks, mutexes, and semaphores already have them.
2019-04-04 20:56:33 -04:00
SuperPrower
fe3375770e intel_extreme.accelerant: create display modes list from VBT using create_display_modes()
For cases when EDID is not available but VBT information was retrieved,
previous code generated display mode list manually, potentially
incorrectly, causing the black screen during boot. This commit
fixes this by using a dedicated function, used for the
case where EDID is available (or VBT is not available).

Fixes #14280.

Change-Id: I95cfc5313260f0b9a01a98ba78e300b4383b6e32
Reviewed-on: https://review.haiku-os.org/c/1370
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-04-05 00:36:04 +00:00
Augustin Cavalier
26723de267 runtime_loader: Remove mistakenly added "sparc" from loop.
Should fix the build.
2019-04-04 19:29:20 -04:00
Augustin Cavalier
936e89e19d libroot/os: Reshuffle stack_trace.cpp a little more.
* Add missing "generic" inclusion on x86; fixes the build there.
 * Name the file the same way as the other files in its directory.
2019-04-04 19:26:01 -04:00
Jakob L. Kreuze
0f856497bd mediaplayer: Implement AppendM3uToPlaylist
Change-Id: I60a5146cae85ab7abb92a28ad142e5510c0a940e
Reviewed-on: https://review.haiku-os.org/c/1337
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-04-04 20:39:50 +00:00
Humdinger
a9b8a220a4 Magnify: Change cursor move shortcut
As OPT + cursor keys clashes with switching between open windows
(probably since the addition of Stack & Tile), let's use ALT + cursor instead.

Fixes #14975

Change-Id: I3e039e6afaa031453fb256cf642fc29633bd12e3
Reviewed-on: https://review.haiku-os.org/c/1345
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-04-04 20:35:21 +00:00
Jakob L. Kreuze
354e11bf3c Add mime_db entry for application/vnd.apple.mpegurl (M3U)
Change-Id: I80657fd815450003c0ae116bc16137375ee06837
Reviewed-on: https://review.haiku-os.org/c/1351
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-04-04 20:34:39 +00:00
PulkoMandy
b1ec65fcfe sparc: link the runtime_loader
Change-Id: Id30476480f4e4141935d6735209ecc0872dd6696
Reviewed-on: https://review.haiku-os.org/c/1367
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-04-04 20:31:25 +00:00
PulkoMandy
1cba023e0a sparc: fix support for elf in boot mode
Change-Id: I901a4e494dd5273a0aa433f08b94363b486c58e1
Reviewed-on: https://review.haiku-os.org/c/1366
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-04-04 20:31:25 +00:00
PulkoMandy
815a1596a6 openfirmware: support a.out bootloader
Apparently each architecture and manufacturer uses a different binary
format (I heard current POWER hardware uses elf).

Change-Id: I4f1b9977d0a9d5a700c2d50b36844d6e4640b68b
Reviewed-on: https://review.haiku-os.org/c/1365
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-04-04 20:31:25 +00:00
PulkoMandy
fea91fdc77 sparc: pci bus manager
Copied from PPC with the hooks for Apple hardware removed.
To be completed with the actual PCI bus implementation for Sun machines.
This is where we start doing machine specific stuff, apparently.

Change-Id: I06af4de9621e9d40593d153642478d928083e49a
Reviewed-on: https://review.haiku-os.org/c/1364
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-04-04 20:31:25 +00:00
PulkoMandy
d0ff1a1f2f openfirmware: fix mismatched prototype
Change-Id: I294608aa739bedef47c6c1f34fba0241444a8901
Reviewed-on: https://review.haiku-os.org/c/1363
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-04-04 20:31:25 +00:00
PulkoMandy
2f2d56e2e3 Move stack_trace.cpp to generic directory.
4 architectures are using it, so it is generic enough.
Make it error out for platforms where the stack grows in the other
direction. Another implementation can be added for them.

Change-Id: Ia52b5dd34da7b5ebcca0782af079c43d72ba3a8e
Reviewed-on: https://review.haiku-os.org/c/1340
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-04-04 20:31:25 +00:00
PulkoMandy
e8f58ba4be sparc: fix bootloader build
- Add various missing jamfiles
- Add required implementation stubs
- Update openfirmware jamfiles for multiboot support
- Update linker rules for sparc loader

Change-Id: I2d06c7a4d33827f58d82946687003f9a0dcb1b7d
Reviewed-on: https://review.haiku-os.org/c/1329
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-04-04 20:31:25 +00:00
waddlesplash
834a613e53 AboutSystem: Move Dario from the Current to the Past maintainers list. 2019-04-04 14:16:17 -04:00
Augustin Cavalier
b934184a12 packagefs: Remove some more HPKGv1-related classes.
These were now unreferenced following the removal of GlobalFactory
and the other v1-related code, so this commit should not be any
functional change.
2019-04-04 14:07:02 -04:00
Alexander von Gluck IV
d7c7d50e8f kernel/debug: Add riscv64 to core_dump 2019-04-04 09:09:54 -05:00
Alexander von Gluck IV
566e253f24 kernel: Fill remaining riscv64 architecture headers 2019-04-04 09:09:49 -05:00
Alexander von Gluck IV
04fbff9fdd build: Add 64-bit host detection for riscv64 hosts 2019-04-04 09:09:45 -05:00
Alexander von Gluck IV
117af7ca90 build: Fix BOOT_PLATFORM to KERNEL_PLATFORM on rv64/arm64 2019-04-04 09:09:41 -05:00
Alexander von Gluck IV
5e06ebe141 kernel/arch/riscv64: Correct some architecture headers 2019-04-04 09:09:38 -05:00
Alexander von Gluck IV
45b21f00ce riscv64: Drop duplicate KERNEL_LOAD_BASE 2019-04-04 09:09:34 -05:00
Alexander von Gluck IV
c0bb51001f HaikuPortsCross: Bump riscv64 bootstrap package version 2019-04-04 09:09:29 -05:00
Alexander von Gluck IV
c59cde3d69 riscv32: Drop any remaining mentions
* I added this early on, but to be honest, any interesting
  workstation class hardware would be riscv64.
* Since riscv32 is mostly embedded or low power, just drop.

Change-Id: Id36274c882c46e766268f2ab53eb1bd5f95227be
Reviewed-on: https://review.haiku-os.org/c/1352
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2019-04-04 13:23:32 +00:00
Alexander von Gluck IV
7a180033de docker/bootstrap: Fix sysroot stage variable
Change-Id: Icb7d83fd60d85a107601012f906ed7bf63f0eb61
2019-04-03 20:47:12 -05:00
Alexander von Gluck IV
e8b4366330 docker/bootstrap: Add sysroot stage flag to chroot tool
Change-Id: I7a6303cb11756b66d6d3379063f2402b3b38b7c6
2019-04-03 20:43:45 -05:00
Augustin Cavalier
95587710d1 Debugger: Call the GCC2 get_next_argument directly.
This codepath is only hit when we are using the GCC2 demangler,
so we should not use get_next_argument which tries to autodetect
what kind of symbol this is.
2019-04-03 10:42:35 -04:00
François Revol
eae1e95256 Add a proper (but ugly) icon for ThemeManager
Feel free to propose a better one ;-)

Change-Id: I481b730d8d715415dfdfc07c16aaa302b5724a7b
2019-04-02 21:55:17 +02:00
Alexander von Gluck IV
382c3f6e0c headers/config: Fix RISCV64 define typoed to 32
Change-Id: I20890218f5edd279ab1080432a4d91f5a7f64dee
2019-04-02 14:46:28 -05:00
Augustin Cavalier
9061e43c7d packagefs: Remove another reference to GlobalFactory.h.
Missed in previous push.
2019-04-01 19:23:31 -04:00
Augustin Cavalier
11e3c6dd26 packagefs: Open HPKG files as O_NOCACHE.
We have not one but two internal caches in packagefs for *uncompressed* data;
we do not need the underlying filesystem to cache the *compressed* data
needlessly.

This seems to be a negligible memory and boot speed improvement at best,
although it will likely help in low-memory situations in reducing
the pressure on the file cache (... actually it doesn't look like
the file cache responds to low resource notifications at all, which
may be relevant here.)
2019-04-01 19:02:00 -04:00
Augustin Cavalier
d1a0bc4fb5 packagefs: Remove support for HPKGv1.
The current version is "v2", and it has been since the final PM branch
was merged back in 2013, so it's unclear if anyone actually uses this
file format. The "package" command can still of course read these
files, it's just that packagefs will now not be able to.

It's very unlikely anyone is impacted by this change.
2019-04-01 13:58:30 -04:00
brjhaiku
f10ebdb1f7 btrfs
* Fixed coding style for all files under /src/add-ons/kernel/file_systems/btrfs
* rewrote crc_table.cpp to generate CRCTable.cpp that conforms to coding style.

Change-Id: I90fcc143320c7a7e9a6dc174f0ad82f40bb8a9b6
Reviewed-on: https://review.haiku-os.org/c/1194
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2019-04-01 09:30:08 +00:00