Stephan Unverwerth
09f850728a
LibGfx: Add some missing operators to Vector3 Vector4 and Matrix4x4
2021-05-08 10:13:22 +02:00
Stephan Unverwerth
0c5d61ae88
LibGfx: Add Vector4 class
2021-05-08 10:13:22 +02:00
Stephan Unverwerth
b0e5e78a01
LibGfx: Mark Vector3 class final
2021-05-08 10:13:22 +02:00
Stephan Unverwerth
0a557d65a0
AK: Add epsilon() to NumericLimits for float, double, long double
2021-05-08 10:13:22 +02:00
Gunnar Beutner
605848787b
Utilities: Specify mode argument when creating files with dd
...
When using open() with the O_CREAT flag we must specify the mode
argument. Otherwise we'll incorrectly set the new file's mode
to whatever is left on the stack:
courage:~ $ dd if=/dev/zero of=test count=1
1+0 blocks in
1+0 blocks out
512 bytes copied.
courage:~ $ ls -l test
--w-r-x--- 1 anon users 512 2021-05-08 01:29:52 test
courage:~ $
This also specifies the mode argument when opening files for
reading. This however is harmless because in those cases the argument
is ignored.
fixes #6923
2021-05-08 09:56:00 +02:00
Gunnar Beutner
eed6ce8b8b
Profiler: Fix scrolling behavior
...
When resizing the timeline view the timelines should scroll to the
bottom when the resize operation reveals space that is beyond the
view.
2021-05-08 09:55:24 +02:00
ry755
9cec9fb1e8
Base: Update TextEditor man page to include line and column arguments
...
This documents the feature in c2872766f2322aa38490160b571059f05e7dcb2d
2021-05-08 09:54:53 +02:00
Gunnar Beutner
210d2d270d
Profiler: Let the user select more than one process
2021-05-08 09:53:53 +02:00
Carlos César Neves Enumo
325d9445fd
Profiler: Migrate mouse events to TimelineView
...
This change allows for continuous mouse events when hovering the
layout spaces between tracks.
2021-05-08 09:53:06 +02:00
Carlos César Neves Enumo
99f141522a
Profiler: Fix timeline wrong initial horizontal position
...
Just after launching the app, when hovering the timeline, it would
start at Time: 2000ms. It fixes itself after scrolling.
2021-05-08 09:53:06 +02:00
Andreas Kling
295cc123c7
LibGUI: Rename UndoStack internals
...
Since we keep a stack of command combos, let's call entries on the
stack "Combo" instead of "UndoCommandsContainer".
And since it has a vector of commands, let's call it "commands"
instead of "m_undo_vector".
2021-05-08 08:53:37 +02:00
Gunnar Beutner
b25eba10d2
Profiler: Make the timeline resizable
...
This just moves the timeline and the tab widget into
a horizontal splitter to make them resizable.
2021-05-08 00:30:38 +01:00
Gunnar Beutner
a2f919c760
Ports: SDL2-GNUBoy shouldn't try to link against host libs
...
Without this patch I'm unable to build this port because it tries
to link against my host's libgcc_s.so.
2021-05-08 00:30:30 +01:00
Rafał Babiarz
7004fab643
Ports: Add SDL2-GNUBoy Gameboy emulator
2021-05-08 00:05:04 +01:00
Brian Gianforcaro
4b8b8b91c2
LibTest: Convert Crash test runner to outln(..)
2021-05-08 00:04:10 +01:00
Brian Gianforcaro
7f51754780
LibTest: Expose new EXPECT_CRASH(..) macro for unit test assertions
...
Utilize the Crash type we imported into LibTest to support testing
of crash scenarios when testing all other components.
2021-05-08 00:04:10 +01:00
Brian Gianforcaro
7e28ecc305
Meta + Lagom: Fix paths after movement of tests to Tests/
...
Not sure how this didn't cause a build break when I originally
moved them in #6891 . Better fix them now.
2021-05-08 00:04:10 +01:00
Brian Gianforcaro
1162e71a5c
Meta: Remove AK/Tests from check-newlines-at-eof.py
...
The json file was removed a while back, and now AK/Tests has been
moved to Tests/AK. So this is wrong and out of date in every way.
2021-05-08 00:04:10 +01:00
Brian Gianforcaro
4c0d3f47e1
LibTest: Move Crash testing facility from crash.cpp to LibTest
2021-05-08 00:04:10 +01:00
Brian Gianforcaro
9720ad3901
Tests: Move Userland/Utilities/test-js to Tests/LibJS
2021-05-08 00:04:10 +01:00
Brian Gianforcaro
b390554ad8
Tests: Move Userland/Utilities/test-web to Tests/LibWeb
2021-05-08 00:04:10 +01:00
Idan Horowitz
284730c002
Utilities: Use GzipDecompressor::describe_header for gzip descriptions
2021-05-07 23:22:07 +02:00
Idan Horowitz
2119e0fb3f
LibCompress: Add a method that describes a Gzip Header
...
This can be used to display information about a gzip file that is
stored in it's header.
2021-05-07 23:22:07 +02:00
Tobias Christiansen
1b6824d296
LibWeb: Make frames nesting-aware and disallow deep nesting
...
A Frame now knows about its nesting-level.
The FrameLoader checks whether the recursion level of the current
frame allows it to be displayed and if not doesn't even load the
requested resource.
The nesting-check is done on a per-URL-basis, so there can be many many
nested Frames as long as they have different URLs.
If there are however Frames with the same URL nested inside each other
we only allow this to happen 3 times.
This mitigates infinetely recursing <iframe>s in an HTML-document
crashing the browser with an OOM.
2021-05-07 22:34:34 +02:00
Valtteri Koskivuori
9e49895bbf
Userland: Fix some weird syntax in find
...
Spotted this while trying to fix a bug. clang-format approved.
2021-05-07 22:29:19 +02:00
Linus Groh
867072c7d8
Meta: Improve man.serenityos.org titles and link names
...
Index page:
- Change links from "Man 1" to "Section 1"
Section index pages:
- Change title from "1" to "Section 1 - SerenityOS man pages"
- Change links from "foo" to "foo(1)"
Man pages:
- Change title from "foo" to "foo(1) - SerenityOS man pages"
2021-05-07 22:28:33 +02:00
Egor Ananyin
d2b6148787
LibWeb: Make painting order more spec-compliant
...
Now our painting order inside stacking contexts is closer to the
algorithm specified by CSS 2.1 (see section 9.9 and Appendix E)
2021-05-07 22:27:48 +02:00
Valtteri Koskivuori
33af7075e7
Userland: Remove extra slashes from find
output
...
I noticed while testing `find` that the output of `find` contains extra
forward slashes if the root path has a trailing slash. This patch fixes
that issue by passing the root path through LexicalPath before
proceeding.
2021-05-07 22:25:39 +02:00
Andreas Kling
406c876fce
LibCore: Remove Core::IODevice::printf()
2021-05-07 22:11:50 +02:00
Andreas Kling
c7e5ef3057
strace: Stop using Core::IODevice::printf()
...
There are no other clients of this weird API, so let's get rid of it.
Now that we call IODevice::write() instead, we can also handle errors.
2021-05-07 22:06:58 +02:00
Andreas Kling
05dbf3891a
LibCrypto: Fix a mistake in appendff() conversion
2021-05-07 21:57:29 +02:00
Linus Groh
c989550c09
Help: Add "Help" menu and move the about action there
2021-05-07 20:37:28 +01:00
Linus Groh
83d980ab9e
Chess+Help: Remove erroneous ampersand from app name
...
This is not applicable here, the alt shortcut is set elsewhere.
2021-05-07 20:37:28 +01:00
Andreas Kling
834b6508d7
AK: Remove StringBuilder::appendf()
...
All users have been converted to using AK::Format via appendff().
2021-05-07 21:12:09 +02:00
Andreas Kling
730ed465fe
LibMarkdown: Convert StringBuilder::appendf() => AK::Format
...
These are the last ones in the codebase. :^)
2021-05-07 21:12:09 +02:00
Andreas Kling
32080452e3
LibX86: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Andreas Kling
977fa4df81
Utilities: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Andreas Kling
e2ffd14e4e
WidgetGallery: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Andreas Kling
c1967fca0d
LibLine: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Andreas Kling
c7e9b6d00f
LibWeb: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Andreas Kling
eb05931ab5
LibGfx: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Andreas Kling
f0687dbbb7
Services: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Andreas Kling
8c3b603da3
Shell: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Andreas Kling
ea027834df
LibELF: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Andreas Kling
79ff1902aa
LibRegex: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Andreas Kling
840b908c0b
Applications: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Andreas Kling
8d5eb075d8
LibGUI: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Andreas Kling
5b87276841
LibDiff: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Andreas Kling
f1c6288803
LibC: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Andreas Kling
72259d5cee
LibJS: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00