Age | Commit message (Collapse) | Author |
|
Since this application is now supposed to be used from within Serenity
we should make sure to warn the actual user.
|
|
When running a larger set of tests in Serenity the runner would
otherwise trigger a lot of crash reporters. This would then in turn lead
to memory starvation causes more crashes.
|
|
This makes it easier to use the runner directly.
|
|
We also protect against recursive assert failures, for example due to
being out of memory.
With this change the runner now compiles and runs on Serenity :^).
|
|
This was shadowing a name in LibC triggering warnings.
|
|
Since setitimer is not implemented in Serenity we use alarm which
triggers SIGALRM after the timeout. We also don't use a signal handler
as we are doing things that serenity doesn't like/doesn't allow.
Linux dealt with allocating and writing in a signal handler but it is
undefined, so instead we just let the process die by SIGALRM.
This means we instead of reading the output can detect timeouts by
checking how the process died.
|
|
For now this is a lagom only application as it is not compatible with
serenity in its current state.
The only change is that it is released under a different license with
permission from all the authors.
|
|
This allows other test like programs to use these without needing to
link to LibTest.
|
|
âī¸ - U+2699 GEAR
|
|
Now that each HID device node is located in /dev/input/, and Display
Connector device nodes are in /dev/gpu/, we can simply just unveil those
directories instead of the entire /dev directory.
|
|
Because HID devices are not always present in quantities of one per type
it is more elegant and correct to put the representative device nodes in
subdirectories for each HID device type.
|
|
đĩ - U+1F3B5 Musical Note
đŗ - U+1F4B3 Credit Card
đ - U+1F4C3 Page with Curl
đ - U+1F4C4 Page Facing Up
đ - U+1F4CE Paperclip
đ - U+1F4CF Straight Ruler
đ - U+1F4D1 Bookmark Tabs
đ - U+1F4D2 Ledger
đ - U+1F4D3 Notebook
đ - U+1F4D4 Notebook with Decorative Cover
đ - U+1F4D5 Closed Book
đ - U+1F4D7 Green Book
đ - U+1F4D8 Blue Book
đ - U+1F4D9 Orange Book
đ - U+1F4DD Memo
đ - U+1F4DE Telephone Receiver
đ¨ī¸ - U+1F5E8 Left Speech Bubble
đ° - U+1F430 Rabbit Face
|
|
Previously we would unveil the home directory of anon to allow showing
anything in the file picker. This patch removes direct access to the
home directory and instead makes WidgetGallery connect to
FileSystemAccessServer to open a file, making the application more user
agnostic and allowing directories outside /home/anon to be shown.
|
|
|
|
đ¨ - U+1F428 Koala
đĒ - U+1FA9F Window
âī¸ - U+23CF Eject Button
⊠- U+23E9 Fast-Forward Button
âĒ - U+23EA Fast Reverse Button
âĢ - U+23EB Fast Up Button
âĢ - U+23EC Fast Down Button
âī¸ - U+23ED Next Track Button
âŽī¸ - U+23EE Last Track Button
â¯ī¸ - U+23EF Play or Pause Button
â¸ī¸ - U+23F8 Pause Button
âšī¸ - U+23F9 Stop Button
âēī¸ - U+23FA Record Button
âļī¸ - U+25B6 Play Button
âī¸ - U+25C0 Reverse Button
âī¸ - U+26CF Pick
âĒ - U+26EA Church
âī¸ - U+2604 Comet
|
|
See https://editorconfig.org/
|
|
This adds .gitconfig to git in the file icon provider.
|
|
đĨ - U+1F4A5 COLLISION
𤸠- U+1F938 PERSON CARTWHEELING
đ - U+1F343 LEAF FLUTTERING IN WIND
đĨ - U+1F959 STUFFED FLATBREAD
đ - U+1F35D SPAGHETTI
đĨ - U+1F95F DUMPLING
đ¨ - U+1F368 ICE CREAM
đĨ - U+1F3E5 HOSPITAL
đ - U+1F6DE WHEEL
đ - U+1F681 HELICOPTER
đ
- U+1F4C5 CALENDAR
đ - U+1F4C6 TEAR-OFF CALENDAR
đ - U+1F510 LOCKED WITH KEY
đĄ - U+1F4E1 SATELLITE ANTENNA
đ - U+1F51A END ARROW
đ - U+1F51B ON! ARROW
đ - U+1F51C SOON ARROW
đ - U+1F51D TOP ARROW
đ - U+1F520 INPUT LATIN UPPERCASE
đĄ - U+1F521 INPUT LATIN LOWERCASE
đĸ - U+1F522 INPUT NUMBERS
đŖ - U+1F523 INPUT SYMBOLS
đ¤ - U+1F524 INPUT LATIN LETTERS
đ - U+1F38C CROSSED FLAGS
đĻđŋ - U+1F1E6 U+1F1FF FLAG: AZERBAIJAN
đ§đ´ - U+1F1E7 U+1F1F4 FLAG: BOLIVIA
đ§đš - U+1F1E7 U+1F1F9 FLAG: BHUTAN
đ§đŧ - U+1F1E7 U+1F1FC FLAG: BOTSWANA
đĢđ˛ - U+1F1EB U+1F1F2 FLAG: MICRONESIA
đŦđ - U+1F1EC U+1F1ED FLAG: GHANA
đŦđž - U+1F1EC U+1F1FE FLAG: GUYANA
đŽđ¨ - U+1F1EE U+1F1E8 FLAG: CANARY ISLANDS
đ°đŋ - U+1F1F0 U+1F1FF FLAG: KAZAKHSTAN
đąđ¨ - U+1F1F1 U+1F1E8 FLAG: ST. LUCIA
đ˛đģ - U+1F1F2 U+1F1FB FLAG: MALDIVES
đ˛đŧ - U+1F1F2 U+1F1FC FLAG: MALAWI
đ˛đŋ - U+1F1F2 U+1F1FF FLAG: MOZAMBIQUE
đŗđĻ - U+1F1F3 U+1F1E6 FLAG: NAMIBIA
đŗđĒ - U+1F1F3 U+1F1EA FLAG: NIGER
đ¸đ˛ - U+1F1F8 U+1F1F2 FLAG: SAN MARINO
đšđą - U+1F1F9 U+1F1F1 FLAG: TIMOR-LESTE
đēđž - U+1F1FA U+1F1FE FLAG: URUGUAY
...and from Unicode 15:
đĒŧ - U+1FABC JELLYFISH
đĢ - U+1FADB PEA POD
đĒŽ - U+1FAAE HAIR PICK
|
|
Also ensure that all a nullptr input gives null object and you don't
accidentally dereference a nullptr.
|
|
We were consuming all whitespace from the format, but not the input
lexer - that was left to the actual format parsing code. It so happened
that we did not account for whitespace with the conversion specifier
'[', causing whitespace to end up in the output variables.
Fix this by always consuming all whitespace and removing the whitespace
logic from the conversion code.
|
|
These were forgotten to be set during the GC heap conversion.
|
|
This is a very small change to improve consistency between applet
context menu item names.
|
|
This patch makes use of helpers implemented for window.length to resolve
two FIXMEs in WindowProxy previously simply assuming no child browsing
contexts :^)
|
|
|
|
This has two advantages: First the picker no longer changes the active
window state of its parent. Visually this is an additional hint that the
dialog is "fragile" and will close on loss of focus. Second, because
it contains a search box, its own input won't be preempted by global
application shortcuts when typing (pending #15129). This is a problem
in apps like PixelPaint which use shortcuts without modifiers.
|
|
|
|
Requires further user input
|
|
Instead of having to negate every focusable widget or textbox, let
windows override all their widgets. These two Dialogs now block
themselves and each other.
|
|
If the containing block has indefinite height, we can't resolve
percentage heights against it. Instead of treating it as 0 by accident,
let's treat it as "auto" on purpose.
This brings back the cheek borders on Acid2.
|
|
We have to flush any pending layout changes before getting metrics.
|
|
When querying the HTML element (in strict mode) or the BODY element
(in quirks mode), we return the viewport dimensions.
Layout doesn't change the size of the viewport, so we can actually
reorder the steps here and avoid performing layout in some cases.
This removes a bunch of synchronous layouts on pages with reCAPTCHA.
|
|
Just stack floats at their vertical margin edge instead of letting their
border boxes rub up against each other.
|
|
This ensures that style is applied consistently, even if the document
has external CSS resources that don't always arrive in the same order.
|
|
I was very confused why I was getting "no key named `foo`" errors, so
hopefully this will save someone that confusion in the future. :^)
(It'll probably be me again...)
|
|
Following what is commonly used on the internet as the game's title,
and making it consistent with Quake II.
|
|
The launcher was not created as a result of the path not being
absolute. Also set a more commonly used title for the launcher.
|
|
This patch fixes an issue for applications that contain actions without
a modifier (e.g. PixelPaint). Previously when pressing any key bound to
an action while the CommandPalette was visible the action was forwarded
to the parent instead of the CommandPalette.
|
|
|
|
Adds -d, -c, -i, -f and -s options.
It differs a little bit from other implementations,
but it does the trick and corresponds to POSIX's description
|
|
|
|
If we have a new CMake version - download the files using CMake
API, instead of external tools.
|
|
Problem: cmake cannot handle gzip files (see
https://gitlab.kitware.com/cmake/cmake/-/issues/23054 for more
details).
Instead of downloading the compressed (*.gz) USB and PCI ids,
we not download the raw uncompressed files. The sizes we "loose"
due to downloading such files are meaningless.
This are the file sizes:
```
diego@debian:~/$ ls -lh pci.ids{,.gz} usb.ids{,.gz}
-rw-r--r-- 1 diego diego 1.3M Aug 7 04:15 pci.ids
-rw-r--r-- 1 diego diego 300K Aug 7 04:15 pci.ids.gz
-rw-r--r-- 1 diego diego 700K May 20 22:34 usb.ids
-rw-r--r-- 1 diego diego 245K May 20 22:34 usb.ids.gz
```
|
|
Newer cmake's have internal functions to un-compress files. These
functions will work on pure windows - as well as linux. This
eliminates the need to search for external tools (TAR,GZIP,ZIP) - and
helps fixing #9866.
In order to finally fix #9866 we need to decide to bump the cmake
version requirements and remove the checks. If we demand a newer cmake
version, we will loose Ubuntu 20.04 as a build target - as it ships
with CMake 3.16.
For now - we keep compatibility with CMake 3.16 - and only if CMake
3.18 as been found - we use its new functionality.
|
|
Remove the Corrosion dependency, and use the now-builtin
add_jakt_executable function from the Jakt install rules to build our
example application.
By using find_package(Jakt), we now have to set ENABLE_JAKT manually on
both serenity and Lagom at the same time, so the preferred method to do
this for now is:
cmake -B Build/superbuild<arch><toolchain> \
-S Meta/CMake/Superbuild \
-DENABLE_JAKT=ON \
-DJAKT_SOURCE_DIR=/path/to/jakt
Where omitting JAKT_SOURCE_DIR will still pull from the main branch of
SerenityOS/jakt. This can be done after runing Meta/serenity.sh run.
|
|
Fixes windows not updating on active input changes after being
blocked
|
|
Both KeyEvents aren't necessary and erroneously close two
Dialogs at once.
|
|
Previously Menus set themselves as active input solely to make
sure CaptureInput modals would close, but this is a functional
half-truth. Menus don't actually use the active input role; they
preempt normal Windows during event handling instead.
Now the active input window is notified on preemption and Menus
can remain outside the active input concept. This lets us make
more granular choices about modal behavior. For now, the only
thing clients care about is menu preemption on popup.
Fixes windows which close on changes to active input closing
on their own context menus.
|
|
Used to determine Menu relationships by proxy
|
|
This allows users to filter the list of displayed emoji by the group to
which the emoji belong.
|
|
|